Test that min-height and max-height are accounted for when computing the grid element's height.