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

Issue 662483002: Ensure positioned descendants are invalidated if needed (Closed)

Created:
6 years, 2 months ago by Xianzhu
Modified:
6 years, 2 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, rune+blink
Project:
blink
Visibility:
Public.

Description

Ensure positioned descendants are invalidated if needed When a render object changes location, we should force paint invalidation checking for all descendants on the same backing, including positioned ones. However, previously we only force invalidation checking for non-positioned descendants. Now let RenderBlock override RenderObject::invalidatePaintOfSubtreesIfNeeded() so that it can use the childPaintInvalidationState, which has been forced checking of invaldation, for the positioned descendants. BUG=422812 TEST=fast/repaint/positioned-great-grandparent-change-location.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183910

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -15 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html View 1 1 chunk +18 lines, -0 lines 0 comments Download
A + LayoutTests/fast/repaint/positioned-great-grandparent-change-location-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/platform/linux/fast/repaint/crbug-371640-4-expected.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 chunks +3 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Xianzhu
6 years, 2 months ago (2014-10-15 21:59:06 UTC) #2
dsinclair
https://codereview.chromium.org/662483002/diff/1/LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html File LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html (right): https://codereview.chromium.org/662483002/diff/1/LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html#newcode9 LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html:9: Tests repaint of the target when the great-grandparent changes ...
6 years, 2 months ago (2014-10-16 13:32:37 UTC) #3
Xianzhu
https://codereview.chromium.org/662483002/diff/1/LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html File LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html (right): https://codereview.chromium.org/662483002/diff/1/LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html#newcode9 LayoutTests/fast/repaint/positioned-great-grandparent-change-location.html:9: Tests repaint of the target when the great-grandparent changes ...
6 years, 2 months ago (2014-10-16 17:37:14 UTC) #4
dsinclair
LGTM. Is the failure of mac_blink_rel editing/selection/deleteFromDocument-crash.html a flake or something to do with this ...
6 years, 2 months ago (2014-10-17 14:18:49 UTC) #5
Xianzhu
On 2014/10/17 14:18:49, dsinclair wrote: > LGTM. Is the failure of mac_blink_rel > editing/selection/deleteFromDocument-crash.html a ...
6 years, 2 months ago (2014-10-17 17:20:25 UTC) #6
Xianzhu
On 2014/10/17 17:20:25, Xianzhu wrote: > On 2014/10/17 14:18:49, dsinclair wrote: > > LGTM. Is ...
6 years, 2 months ago (2014-10-17 17:29:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/662483002/20001
6 years, 2 months ago (2014-10-17 17:30:19 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 18:15:47 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183910

Powered by Google App Engine
This is Rietveld 408576698