DescriptionDon't cancel out scroll offset when calculating the clip rectangle for multicol.
We still want the clip rect to be relative to the multicol container, but we
cannot get there by using the location() of the flow thread's PaintLayer,
because then we'll then cancel out the scroll offset that's also baked into
offsetOfPaginationLayerFromRoot.
This CL will cause paint/invalidation/paged-with-overflowing-block-rl.html to
regress, but it turned out that it just passed by accident anyway. Having that
test broken is way less serious than barely being able to scroll at all in a
regular multicol container.
BUG=674640
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2643123004
Cr-Commit-Position: refs/heads/master@{#445478}
Committed: https://chromium.googlesource.com/chromium/src/+/ccde605b5967c796069c4208227f088b62bc7483
Patch Set 1 #Patch Set 2 : Add known regression to LayoutTests/TestExpectations #Patch Set 3 : Trying to get it to pass with linux_layout_tests_slimming_paint_v2 #Patch Set 4 : The new test is expected to fail with SlimmingPaintV2 #
Messages
Total messages: 23 (18 generated)
|