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

Issue 2280243002: Don't apply overflow clips in paint invalidation. (Closed)

Created:
4 years, 3 months ago by chrishtr
Modified:
4 years, 3 months ago
Reviewers:
Xianzhu, wkorman
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't apply overflow clips in paint invalidation. Previously, such clips were applied if the paint invalidation container did not scroll overflow, but this is problematic, because overflow:hidden elements can be scrolled via script. BUG=597902, 640565 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/537724421c0f5d046e56fb0eba001da3bcea0613 Cr-Commit-Position: refs/heads/master@{#414951}

Patch Set 1 #

Patch Set 2 : none #

Total comments: 3

Patch Set 3 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-yet-scrolled-expected.txt View 1 chunk +63 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
chrishtr
This essentially reverts https://codereview.chromium.org/1856993004.
4 years, 3 months ago (2016-08-26 22:37:15 UTC) #5
wkorman
lgtm The BUG= has the same bug in there 2x, maybe you meant to paste ...
4 years, 3 months ago (2016-08-26 22:58:03 UTC) #8
chrishtr
https://codereview.chromium.org/2280243002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2280243002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1028 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1028: if (applyOverflowClip == ApplyNonScrollOverflowClip) On 2016/08/26 at 22:58:03, wkorman ...
4 years, 3 months ago (2016-08-26 23:05:18 UTC) #10
chrishtr
Also, added the correct bug.
4 years, 3 months ago (2016-08-26 23:05:34 UTC) #11
wkorman
https://codereview.chromium.org/2280243002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2280243002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode1028 third_party/WebKit/Source/core/layout/LayoutBox.cpp:1028: if (applyOverflowClip == ApplyNonScrollOverflowClip) On 2016/08/26 23:05:18, chrishtr wrote: ...
4 years, 3 months ago (2016-08-27 00:32:02 UTC) #14
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/2280243002/40001
4 years, 3 months ago (2016-08-27 23:53:58 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-28 02:16:07 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-08-28 02:17:38 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/537724421c0f5d046e56fb0eba001da3bcea0613
Cr-Commit-Position: refs/heads/master@{#414951}

Powered by Google App Engine
This is Rietveld 408576698