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

Issue 2350363004: Reset clip parent in CompositedLayerMapping::updateClipParent (Closed)

Created:
4 years, 3 months ago by trchen
Modified:
4 years, 2 months ago
Reviewers:
Ian Vollick
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

Reset clip parent in CompositedLayerMapping::updateClipParent Reset clip parent instead of skipping update clip parent when owningLayerClippedByLayerNotAboveCompositedAncestor(scrollParent) returns true. This avoids having stale clip parent when the above-mentioned value switched from false to true. Having stale clip parent result in inconsistent rendering comparing to a static page that has a true value since beginning. Technically it is still incorrect but fixing every case of clip escaping is out of the scope of this CL. BUG=647508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/1de92f8c7df73309f3f192c14cb6755ddea380b5 Cr-Commit-Position: refs/heads/master@{#421395}

Patch Set 1 #

Patch Set 2 : minimal repro added #

Patch Set 3 : spv2 expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -6 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset.html View 1 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-reset-expected.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
trchen
4 years, 3 months ago (2016-09-21 00:43:04 UTC) #5
Ian Vollick
On 2016/09/21 00:43:04, trchen wrote: This makes tons of sense. Is it possible to reduce ...
4 years, 3 months ago (2016-09-21 04:12:14 UTC) #8
trchen
Done!
4 years, 2 months ago (2016-09-26 23:57:48 UTC) #10
Ian Vollick
On 2016/09/26 23:57:48, trchen wrote: > Done! lgtm if the bots are happy (is the ...
4 years, 2 months ago (2016-09-27 02:15:46 UTC) #14
trchen
SPv2 doesn't group opacity properly yet. I believe ajuma is working on delaying render surface ...
4 years, 2 months ago (2016-09-27 22:48:44 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/2350363004/40001
4 years, 2 months ago (2016-09-27 22:49:21 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-28 00:14:58 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 00:18:29 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1de92f8c7df73309f3f192c14cb6755ddea380b5
Cr-Commit-Position: refs/heads/master@{#421395}

Powered by Google App Engine
This is Rietveld 408576698