Bug 230636 - border-radius clipping stops working when using mix-blend-mode with composted children
Summary: border-radius clipping stops working when using mix-blend-mode with composted...
Status: RESOLVED DUPLICATE of bug 68196
Alias: None
Product: WebKit
Classification: Unclassified
Component: Compositing (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-22 13:19 PDT by Simon Fraser (smfr)
Modified: 2022-08-31 14:40 PDT (History)
3 users (show)

See Also:


Attachments
Test case (704 bytes, text/html)
2021-09-22 13:19 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2021-09-22 13:19:54 PDT
Created attachment 438969 [details]
Test case

Bug 140535 can be triggered even when the element with border-radius is a stacking context, if one of the children has mix-blend-mode.
Comment 1 Simon Fraser (smfr) 2021-09-22 13:20:16 PDT
<rdar://83414168>
Comment 2 Simon Fraser (smfr) 2021-09-22 13:22:21 PDT
This happens because isolatesCompositedBlending() changes the behavior of composited clipping from using a single clipping layer for descendants (which knows how to do border-radius clipping) to using an "ancestor clip layer" on each descendant, which does not. See RenderLayerCompositor::clipsCompositingDescendants().
Comment 3 Simon Fraser (smfr) 2022-08-31 14:40:28 PDT

*** This bug has been marked as a duplicate of bug 68196 ***