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

Issue 2000763003: Check subtree paint invalidation when overflow clip status changes (Closed)

Created:
4 years, 7 months ago by Xianzhu
Modified:
4 years, 7 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check subtree paint invalidation when overflow clip status changes Before https://crrev.com/392652 because we included descendant overflow into container overflow and the paint invalidation rect covered the changed part of descendants. Call setNeedsPaintInvalidationSubtree() to force checking of paint invalidation of descendants when overflow clip status changes. The other changes are needed because we need to move clearPaintInvalidationFlags() after newPaintInvalidationState.updateForChildren(). Several overriding invalidateTreeIfNeeded() methods in subclasses are removed because they have been the same as inherited ones after we changed the paint invalidation tree walk order. BUG=613475 TEST=paint/invalidation/overflow-hidden-to-visible.html TEST=paint/invalidation/overflow-visible-to-hidden.html Committed: https://crrev.com/d35533844c94bece904fa16ca47acf43e659cb14 Cr-Commit-Position: refs/heads/master@{#395491}

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -44 lines) Patch
M third_party/WebKit/LayoutTests/fast/repaint/erase-overflow-expected.txt View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-to-visible.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-hidden-to-visible-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-visible-to-hidden.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/overflow-visible-to-hidden-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 4 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp View 1 2 1 chunk +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp View 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp View 1 2 1 chunk +3 lines, -11 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Xianzhu
4 years, 7 months ago (2016-05-20 23:42:01 UTC) #2
chrishtr
https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (left): https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#oldcode248 third_party/WebKit/Source/core/layout/LayoutBlock.cpp:248: for (LayoutObject* child = firstChild(); child; child = child->nextSibling()) ...
4 years, 7 months ago (2016-05-23 20:10:32 UTC) #3
Xianzhu
https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (left): https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#oldcode248 third_party/WebKit/Source/core/layout/LayoutBlock.cpp:248: for (LayoutObject* child = firstChild(); child; child = child->nextSibling()) ...
4 years, 7 months ago (2016-05-23 21:35:50 UTC) #4
chrishtr
On 2016/05/23 at 21:35:50, wangxianzhu wrote: > https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp > File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (left): > > https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#oldcode248 ...
4 years, 7 months ago (2016-05-23 21:44:00 UTC) #5
chrishtr
On 2016/05/23 at 21:35:50, wangxianzhu wrote: > https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp > File third_party/WebKit/Source/core/layout/LayoutBlock.cpp (left): > > https://codereview.chromium.org/2000763003/diff/1/third_party/WebKit/Source/core/layout/LayoutBlock.cpp#oldcode248 ...
4 years, 7 months ago (2016-05-23 21:44:00 UTC) #6
Xianzhu
On 2016/05/23 21:44:00, chrishtr wrote: > On 2016/05/23 at 21:35:50, wangxianzhu wrote: > > > ...
4 years, 7 months ago (2016-05-23 22:35:54 UTC) #7
Xianzhu
On 2016/05/23 22:35:54, Xianzhu wrote: > On 2016/05/23 21:44:00, chrishtr wrote: > > On 2016/05/23 ...
4 years, 7 months ago (2016-05-23 22:36:50 UTC) #8
Xianzhu
On 2016/05/23 22:36:50, Xianzhu wrote: > On 2016/05/23 22:35:54, Xianzhu wrote: > > On 2016/05/23 ...
4 years, 7 months ago (2016-05-23 22:41:08 UTC) #9
chrishtr
lgtm
4 years, 7 months ago (2016-05-23 22:46:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000763003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000763003/60001
4 years, 7 months ago (2016-05-23 22:50:17 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-24 00:50:17 UTC) #13
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 00:51:48 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d35533844c94bece904fa16ca47acf43e659cb14
Cr-Commit-Position: refs/heads/master@{#395491}

Powered by Google App Engine
This is Rietveld 408576698