Description[CSS Grid Layout] Support "sparse" in auto-placed items locked to a row/column
The first step of grid item placement algorithm has been updated in
order to support both "sparse" and "dense" modes. Current code is always
doing a "dense" packing in this case.
Modified RenderGrid::placeSpecifiedMajorAxisItemsOnGrid() in order to
add a cursor for each row/column and use it to place items in the right
position.
See: http://dev.w3.org/csswg/css-grid/#auto-placement-algo
BUG=384099
TEST=fast/css-grid-layout/grid-item-auto-placement-fixed-row-column.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190759
Patch Set 1 #
Total comments: 5
Patch Set 2 : Patch for landing using a map instead of a vector #Patch Set 3 : Fixing issues in the bots due to 0 key (using WTF::UnsignedWithZeroKeyHashTraits) #
Messages
Total messages: 15 (6 generated)
|