<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>230636</bug_id>
          
          <creation_ts>2021-09-22 13:19:54 -0700</creation_ts>
          <short_desc>border-radius clipping stops working when using mix-blend-mode with composted children</short_desc>
          <delta_ts>2022-08-31 14:40:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Compositing</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>68196</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=140535</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=67950</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1796178</commentid>
    <comment_count>0</comment_count>
      <attachid>438969</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-09-22 13:19:54 -0700</bug_when>
    <thetext>Created attachment 438969
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1796179</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-09-22 13:20:16 -0700</bug_when>
    <thetext>&lt;rdar://83414168&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1796180</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-09-22 13:22:21 -0700</bug_when>
    <thetext>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 &quot;ancestor clip layer&quot; on each descendant, which does not. See RenderLayerCompositor::clipsCompositingDescendants().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895284</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-08-31 14:40:28 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 68196 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>438969</attachid>
            <date>2021-09-22 13:19:54 -0700</date>
            <delta_ts>2021-09-22 13:19:54 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>border-radius-backdrop-blend-mode.html</filename>
            <type>text/html</type>
            <size>704</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PHN0eWxlPgoKZGl2IHsKICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTsKfQoKLmJhY2tncm91bmQtdGlu
dCB7CiAgICB3aWR0aDogMTAwcHg7CiAgICBoZWlnaHQ6IDEwMHB4OwoKICAgIC8qIFRoaXMgc2hv
dWxkIGNsaXAgYWxsIGNoaWxkcmVuLCBidXQgZG9lc24ndC4gKi8KICAgIGJvcmRlci1yYWRpdXM6
IDIwcHg7CiAgICBvdmVyZmxvdzogaGlkZGVuOwogICAgCiAgICB3aWxsLWNoYW5nZTogei1pbmRl
eDsKfQoKLmJhY2tncm91bmQtdGludCA+IGRpdiB7CiAgICBwb3NpdGlvbjogYWJzb2x1dGU7CiAg
ICB3aWR0aDogMTAwJTsKICAgIGhlaWdodDogMTAwJTsKfQoKLmJhY2tncm91bmQtdGludCA+IC5i
bHVyIHsKICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMC41NSk7CiAgICAtd2Vi
a2l0LWJhY2tkcm9wLWZpbHRlcjogc2F0dXJhdGUoMTgwJSkgYmx1cigxNy41cHgpOwp9CgouYmFj
a2dyb3VuZC10aW50ID4gLnRpbnQgewogICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgyNTUsIDI1
NSwgMjU1LCAwLjUpOwogICAgLyogUmVtb3ZpbmcgdGhpcyBmaXhlcyB0aGUgaXNzdWUuICovCiAg
ICBtaXgtYmxlbmQtbW9kZTogbGlnaHRlbjsKfQoKPC9zdHlsZT4KCjxkaXYgY2xhc3M9ImJhY2tn
cm91bmQtdGludCI+CiAgICA8ZGl2IGNsYXNzPSJibHVyIj48L2Rpdj4KICAgIDxkaXYgY2xhc3M9
InRpbnQiPjwvZGl2Pgo8L2Rpdj4=
</data>

          </attachment>
      

    </bug>

</bugzilla>