Description[CSS Grid Layout] Columns set in percentages collapse to auto width
Based on a patch by svillar@igalia.com.
RenderGrid::gridTrackSize() was not checking properly if the grid has or
not an indefinite size.
The condition was including auto which is not indefinite per se. For
example, auto is definite if the containing block is definite.
This patch adds 2 new new methods in RenderBox to determine if the grid
is definite or not.
BUG=407089
TEST=fast/css-grid-layout/percent-track-breadths-regarding-container-size.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189895
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|