Description[css-grid] Fix bug with positioned items in vertical writing mode
In LayoutGrid::offsetAndBreadthForPositionedChild() we were using directly
borderLeft(), which is wrong in vertical writing modes.
To fix it we just need to use borderLogicalLeft() which is aware of
the current writing mode.
Modified current test to add borders and cases for positioned items
with offsets.
BUG=273898
TEST=fast/css-grid-layout/grid-positioned-children-writing-modes.html
Committed: https://crrev.com/e070cb32423f6603b23a62e3b879f363f79bff69
Cr-Commit-Position: refs/heads/master@{#389068}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Patch for landing #Patch Set 3 : Increase size of grids in the tests to avoid weird visual results #
Messages
Total messages: 15 (7 generated)
|