Description[css-grid] Use order-modified document order for m_gridItemsIndexesMap
We were storing the index in the DOM for the grid items
in m_gridItemsIndexesMap. However, we can already store the index
following the order-modified document order.
This allows us to simplify the sorter in painting,
as we don't need to check the order property now,
just simply use the stored index.
No new tests, as it's already covered by current tests.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/bb7071018e1fd8bf223b8ffff660883b7d17278d
Cr-Commit-Position: refs/heads/master@{#426989}
Patch Set 1 #
Messages
Total messages: 15 (8 generated)
|