DescriptionFix scroll origin, overflow rects, and coordinate flipping for flexbox.
PaintLayerScrollableArea uses a scroll origin to offset its scroll
position for RTL blocks, to ensure that a zero scroll position
always represents being scrolled all the way to the logical beginning
of the block. This patch fixes scroll origin calculations for
writing-mode:vertical-rl and for row-reverse and column-reverse flex
directions.
It also fixes how overflow rects are calculated for flex containers,
by adding hasTopOverflow and hasLeftOverflow virtual methods on
LayoutBox, with appropriate overrides on LayoutFlexibleBox.
Finally, it has a couple of miscellaneous fixes for coordinate-flipping
for reverse flow.
BUG=webkit:76129
Committed: https://crrev.com/e8eed9fe26988a96498c92029b98dc980e5d15e1
Cr-Commit-Position: refs/heads/master@{#392981}
Patch Set 1 #Patch Set 2 : Split flexbox refactor into separate CL #
Total comments: 3
Patch Set 3 : Bunches of fixes and the mother of all tests #Patch Set 4 : Fix vertical-rl coordinate flipping #Patch Set 5 : rebaseline #
Total comments: 2
Patch Set 6 : Add docs to Source/core/layout/README.md #
Total comments: 4
Messages
Total messages: 29 (11 generated)
|