Description[css-grid] Fix positioned items with content alignment
Like for the case of gaps we need to take into account
the content alignment in order to properly place and size
the positioned items.
Regarding content alignment we need to care about 2 values:
the position offset and the distribution offset.
The position offset can be extracted from m_column|rowPositions,
but the distribution offset is stored in 2 new variables called
m_offsetBetweenColumns|Rows.
Added new tests checking the right behavior.
BUG=566265
TEST=fast/css-grid-layout/grid-positioned-items-content-alignment.html
TEST=fast/css-grid-layout/grid-positioned-items-content-alignment-rtl.html
Committed: https://crrev.com/506951c7c67fda272ac85ed9f195c79f1c691ae9
Cr-Commit-Position: refs/heads/master@{#386952}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Patch for landing #
Messages
Total messages: 10 (4 generated)
|