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

Issue 2787203002: Fix GraphicsLayerUpdater::UpdateContext::compositingContainer() for corner cases (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 8 months ago
Reviewers:
chrishtr
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, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix GraphicsLayerUpdater::UpdateContext::compositingContainer() for corner cases For the following corner cases: - parent layer is not a LayoutBlock (in case the layer or an ancestor LayoutObject is a floating object under the parent layer), - the current layer is a column spanner, the current layer's compositingContainer may escape the normal layer hierarchy. Fallback to slow path in the cases. Also cleanup PaintLayer::containingLayer(), and added tests. BUG=705073 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2787203002 Cr-Commit-Position: refs/heads/master@{#461221} Committed: https://chromium.googlesource.com/chromium/src/+/7cd12d58b84042724fb696ba4980884cbad30e31

Patch Set 1 #

Total comments: 4

Patch Set 2 : - #

Patch Set 3 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -165 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp View 1 2 2 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 2 chunks +3 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerTest.cpp View 1 2 31 chunks +247 lines, -131 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Xianzhu
https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (left): https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#oldcode65 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:65: return layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf); The test (PaintLayerTest.CompositingContainerUnderFloat[UnderInline]) for the above code ...
3 years, 8 months ago (2017-03-30 22:23:12 UTC) #3
chrishtr
https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (left): https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#oldcode65 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:65: return layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf); On 2017/03/30 at 22:23:12, Xianzhu wrote: > ...
3 years, 8 months ago (2017-03-31 00:12:28 UTC) #4
Xianzhu
https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (left): https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#oldcode65 third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp:65: return layer.enclosingLayerWithCompositedLayerMapping(ExcludeSelf); On 2017/03/31 00:12:28, chrishtr wrote: > On ...
3 years, 8 months ago (2017-03-31 04:14:43 UTC) #7
chrishtr
On 2017/03/31 at 04:14:43, wangxianzhu wrote: > https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp > File third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp (left): > > https://codereview.chromium.org/2787203002/diff/1/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerUpdater.cpp#oldcode65 ...
3 years, 8 months ago (2017-03-31 16:06:17 UTC) #11
Xianzhu
On 2017/03/31 16:06:17, chrishtr wrote: > On 2017/03/31 at 04:14:43, wangxianzhu wrote: > > > ...
3 years, 8 months ago (2017-03-31 18:24:45 UTC) #13
chrishtr
lgtm
3 years, 8 months ago (2017-03-31 19:21:33 UTC) #15
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/2787203002/40001
3 years, 8 months ago (2017-03-31 19:22:14 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 20:55:46 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7cd12d58b84042724fb696ba4980...

Powered by Google App Engine
This is Rietveld 408576698