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

Issue 2570463004: [SPInvalidation] Update paint properties on css clip change (Closed)

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

Description

[SPInvalidation] Update paint properties on css clip change Add StyleDifference::needsPaintPropertyUpdate() to indicate a style change directly needs paint property update, and set the flag on changes of css clip, transform, etc. Move two tests from their original directory into paint/invalidation. BUG=645667 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/1ea99b023ae5c0d7a421b2e308fa910aa6bd107c Cr-Commit-Position: refs/heads/master@{#438068}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix #

Total comments: 1

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -177 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/clip-change.html View 1 chunk +0 lines, -48 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/clip-change-expected.png View Binary file 0 comments Download
D third_party/WebKit/LayoutTests/compositing/clip-change-expected.txt View 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed.html View 1 chunk +0 lines, -45 lines 0 comments Download
D third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html View 1 chunk +0 lines, -32 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/absolute-to-static-with-clip.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/absolute-to-static-with-clip-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/clip-change.html View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/clip-change-expected.png View Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/clip-change-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed.html View 1 chunk +9 lines, -7 lines 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed-expected.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip.html View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 3 chunks +19 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 4 chunks +23 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleDifference.h View 1 5 chunks +22 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (22 generated)
Xianzhu
https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h File third_party/WebKit/Source/core/layout/LayoutObject.h (right): https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.h#newcode805 third_party/WebKit/Source/core/layout/LayoutObject.h:805: DCHECK(!result || isOutOfFlowPositioned()); During style recalc, inapplicable clip properties ...
4 years ago (2016-12-12 20:59:48 UTC) #4
pdr.
https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1726 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1726: setNeedsPaintPropertyUpdate(); This seems like over-invalidation. Previously we only did ...
4 years ago (2016-12-12 21:13:25 UTC) #5
Xianzhu
https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1726 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1726: setNeedsPaintPropertyUpdate(); On 2016/12/12 21:13:25, pdr. wrote: > This seems ...
4 years ago (2016-12-12 21:42:05 UTC) #6
Xianzhu
https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp File third_party/WebKit/Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/2570463004/diff/1/third_party/WebKit/Source/core/layout/LayoutObject.cpp#newcode1726 third_party/WebKit/Source/core/layout/LayoutObject.cpp:1726: setNeedsPaintPropertyUpdate(); On 2016/12/12 21:42:05, Xianzhu wrote: > On 2016/12/12 ...
4 years ago (2016-12-12 23:09:56 UTC) #8
pdr.
LGTM https://codereview.chromium.org/2570463004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp (right): https://codereview.chromium.org/2570463004/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp#newcode3141 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp:3141: // A basic sanity check for over-invalidation of ...
4 years ago (2016-12-12 23:44:22 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/2570463004/40001
4 years ago (2016-12-12 23:47:44 UTC) #18
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/2570463004/40001
4 years ago (2016-12-12 23:51:04 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/331704)
4 years ago (2016-12-13 01:47:52 UTC) #23
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/2570463004/40001
4 years ago (2016-12-13 01:51:13 UTC) #25
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/LayoutTests/TestExpectations: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-13 03:29:46 UTC) #27
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/2570463004/60001
4 years ago (2016-12-13 03:51:33 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-13 05:44:39 UTC) #33
commit-bot: I haz the power
4 years ago (2016-12-13 05:46:40 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1ea99b023ae5c0d7a421b2e308fa910aa6bd107c
Cr-Commit-Position: refs/heads/master@{#438068}

Powered by Google App Engine
This is Rietveld 408576698