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

Issue 2738303002: Eagerly invalidate when a layer becomes stacking context (Closed)

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

Description

Eagerly invalidate when a layer becomes stacking context When an object begin or cease to be a stacking context, the paint invalidation container of the object and/or descendants may change. We need to invalidate paint eagerly for all such children. PaintLayerCompositor::paintInvalidationOnCompositingChange() doesn't work for the case because it can only see the new paintInvalidationContainer. Previously we handled the case of ceasing to be stacking context only. BUG=688647 TEST=paint/invalidation/compositing/new-stacking-context.html Review-Url: https://codereview.chromium.org/2738303002 Cr-Commit-Position: refs/heads/master@{#456277} Committed: https://chromium.googlesource.com/chromium/src/+/0c449aad3898922b599d8a32c2380cc8c962040e

Patch Set 1 #

Patch Set 2 : - #

Total comments: 3

Patch Set 3 : Rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+889 lines, -53 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/change-transform-expected.txt View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/compositing/containing-block-added-expected.txt View 2 chunks +22 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/compositing/invalidate-when-leaving-squashed-layer-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html View 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context-expected.png View Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context-expected.txt View 1 2 2 chunks +35 lines, -31 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/css-grid-layout/grid-item-z-index-change-repaint-expected.txt View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/fixed-after-scroll-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/fixed-position-transparency-with-overflow-expected.txt View 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/flexbox/repaint-opacity-change-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-layer-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/mix-blend-mode-separate-stacking-context-expected.txt View 1 2 3 chunks +27 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/paint-invalidation-with-opacity-expected.txt View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/scroll-fixed-reflected-layer-expected.txt View 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/scroll-in-transformed-layer-expected.txt View 2 chunks +22 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-foreign-object-expected.txt View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-text-element-expected.txt View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/create-layer-repaint-expected.txt View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/scroll-descendant-with-cached-cliprects-expected.txt View 1 2 2 chunks +21 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/tabgroup-expected.txt View 1 2 2 chunks +160 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/svg/text-repaint-including-stroke-expected.txt View 1 2 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/transform-inline-layered-child-expected.txt View 2 chunks +94 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/scroll-descendant-with-cached-cliprects-expected.txt View 1 2 2 chunks +20 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/svg/tabgroup-expected.txt View 1 2 2 chunks +160 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/svg/text-repaint-including-stroke-expected.txt View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/transform-inline-layered-child-expected.txt View 1 2 2 chunks +97 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/scroll-in-transformed-layer-expected.txt View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/svg/transform-foreign-object-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/svg/transform-text-element-expected.txt View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 1 chunk +8 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Xianzhu
https://codereview.chromium.org/2738303002/diff/20001/third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html File third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html (right): https://codereview.chromium.org/2738303002/diff/20001/third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html#newcode16 third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html:16: </div> This test is not created as a ref ...
3 years, 9 months ago (2017-03-09 21:36:54 UTC) #4
wkorman
lgtm https://codereview.chromium.org/2738303002/diff/20001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2738303002/diff/20001/third_party/WebKit/LayoutTests/TestExpectations#newcode110 third_party/WebKit/LayoutTests/TestExpectations:110: crbug.com/688647 paint/invalidation/transform-inline-layered-child.html [ NeedsRebaseline ] Can you try ...
3 years, 9 months ago (2017-03-10 23:38:09 UTC) #5
Xianzhu
On 2017/03/10 23:38:09, wkorman wrote: > lgtm > > https://codereview.chromium.org/2738303002/diff/20001/third_party/WebKit/LayoutTests/TestExpectations > File third_party/WebKit/LayoutTests/TestExpectations (right): > ...
3 years, 9 months ago (2017-03-11 00:28:02 UTC) #6
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/2738303002/20001
3 years, 9 months ago (2017-03-11 00:28:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/399052)
3 years, 9 months ago (2017-03-11 01:52:00 UTC) #11
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/2738303002/60001
3 years, 9 months ago (2017-03-11 02:37:34 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-11 04:11:18 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0c449aad3898922b599d8a32c238...

Powered by Google App Engine
This is Rietveld 408576698