DescriptionAdd support for 'order' on grid items
The property is used to modify painting order and the order in which
we consider grid items for the auto-flow algorithm.
The code is build on the existing OrderIterator and matches what
flexbox does. Also to avoid adding an extra child walk, refactored
the explicit grid initialization so that we do also initialize the
OrderIterator's Vector. This refactoring saves a child walk as we
now compute both explicit grid's sizes in a single child walk.
BUG=257078
TESTS=fast/css-grid-layout/grid-item-order-auto-flow-resolution.html
fast/css-grid-layout/grid-item-order-paint-order-expected.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153536
Patch Set 1 #
Total comments: 2
Patch Set 2 : Squashed the 2 constructors per Ojan's review comment #
Messages
Total messages: 5 (0 generated)
|