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

Issue 2821733002: Fix clipping of squashed sibling layers with border radius masks (Closed)

Created:
3 years, 8 months ago by Stephen Chennney
Modified:
3 years, 8 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix clipping of squashed sibling layers with border radius masks When a composited element with a border-radius overflow parent has border radius and overflows itself, the element's clip rect is included on the mask layer for the parent, which causes incorrect clipping of sibling content. Unfortunately a ref test fails due to a single pixel different on the border radius. R=chrishtr@chromium.org BUG=709533 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2821733002 Cr-Commit-Position: refs/heads/master@{#465028} Committed: https://chromium.googlesource.com/chromium/src/+/e50892ab6838d9359efbf309035f792c3e68b25b

Patch Set 1 #

Patch Set 2 : Test will fail in SPv2 #

Total comments: 2

Patch Set 3 : Distinguish Child and Ancestor mask layers when painting #

Patch Set 4 : Fix test spelling #

Patch Set 5 : Test fails everywhere #

Patch Set 6 : Test results. #

Patch Set 7 : Fix comments #

Messages

Total messages: 19 (11 generated)
Stephen Chennney
Dumb mistake when I implemented border-radius for composited children. This is an M-58 release blocker ...
3 years, 8 months ago (2017-04-14 21:08:31 UTC) #2
chrishtr
On my mac, B and C only composite and disappear if the window is narrow ...
3 years, 8 months ago (2017-04-14 21:43:40 UTC) #7
Stephen Chennney
On 2017/04/14 21:43:40, chrishtr wrote: > On my mac, B and C only composite and ...
3 years, 8 months ago (2017-04-14 22:08:57 UTC) #8
Stephen Chennney
This is not the right fix. The issue is with the client pointers on the ...
3 years, 8 months ago (2017-04-15 17:26:37 UTC) #9
chrishtr
https://codereview.chromium.org/2821733002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp File third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp (right): https://codereview.chromium.org/2821733002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp#newcode965 third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp:965: case kPaintPhaseClippingMask: Your fix is generally correct, just a ...
3 years, 8 months ago (2017-04-17 17:25:00 UTC) #10
chrishtr
lgtm
3 years, 8 months ago (2017-04-17 19:06:09 UTC) #13
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/2821733002/120001
3 years, 8 months ago (2017-04-17 19:41:05 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 21:33:43 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/e50892ab6838d9359efbf309035f...

Powered by Google App Engine
This is Rietveld 408576698