Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 2643123004: Don't cancel out scroll offset when calculating the clip rectangle for multicol. (Closed)

Created:
3 years, 11 months ago by mstensho (USE GERRIT)
Modified:
3 years, 11 months ago
Reviewers:
Xianzhu
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don'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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/scrollable-basic.html View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/scrollable-basic-expected.html View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (18 generated)
mstensho (USE GERRIT)
I have problems with the linux_layout_tests_slimming_paint_v2 trybot. My new test fails there. Then I tested ...
3 years, 11 months ago (2017-01-23 10:13:47 UTC) #15
Xianzhu
lgtm. On 2017/01/23 10:13:47, mstensho wrote: > I have problems with the linux_layout_tests_slimming_paint_v2 trybot. My ...
3 years, 11 months ago (2017-01-23 17:10:23 UTC) #16
mstensho (USE GERRIT)
On 2017/01/23 17:10:23, Xianzhu wrote: > You can add the failure expectations into > LayoutTests/FlagExpectations/enable-slimming-paint-v2 ...
3 years, 11 months ago (2017-01-23 18:30:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2643123004/60001
3 years, 11 months ago (2017-01-23 18:30:35 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:52:59 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ccde605b5967c796069c4208227f...

Powered by Google App Engine
This is Rietveld 408576698