<?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>302900</bug_id>
          
          <creation_ts>2025-11-20 15:18:37 -0800</creation_ts>
          <short_desc>When cascading CSS drop-shadow filters with the same color, the first filter is only drawn</short_desc>
          <delta_ts>2026-03-16 10:36:07 -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>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=303430</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=310021</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="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Matt Woodrow">mattwoodrow</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2160387</commentid>
    <comment_count>0</comment_count>
      <attachid>477457</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-11-20 15:18:37 -0800</bug_when>
    <thetext>Created attachment 477457
test case

Open the attached test case which includes two &lt;div&gt; elements with cascading drop-shadow filters

Result: The filter of the first element is drawn incorrectly. The filter of the second element is drawn correctly.
Expected: The filters of the two &lt;div&gt; elements are cascaded correctly even if the colors of the drop-shadow filters are the same.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2160388</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-11-20 15:19:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/165163823&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2160398</commentid>
    <comment_count>2</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2025-11-20 15:41:42 -0800</bug_when>
    <thetext>This bugs happens only on Apple platforms. It does not happen also if software filters are used instead of using CoreGraphics. This is an issue below WebKit, tracked by Apple internally as rdar://165163823.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2164227</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2025-12-08 15:01:54 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/55061</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2164353</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-12-09 00:10:43 -0800</bug_when>
    <thetext>Committed 304143@main (c887d10d6123): &lt;https://commits.webkit.org/304143@main&gt;

Reviewed commits have been landed. Closing PR #55061 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>477457</attachid>
            <date>2025-11-20 15:18:37 -0800</date>
            <delta_ts>2025-11-20 15:18:37 -0800</delta_ts>
            <desc>test case</desc>
            <filename>repeated-drop-shadow.html</filename>
            <type>text/html</type>
            <size>628</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PHN0eWxlPgoJLmJveCB7CgkJd2lkdGg6IDIwMHB4OwoJCWhlaWdodDogMjAwcHg7CgkJYmFja2dy
b3VuZC1jb2xvcjogZ3JlZW47CgkJcG9zaXRpb246IGFic29sdXRlOwoJfQoJLnNoYWRvdy1ib3R0
b20tbGVmdC1yZWQgewoJCWZpbHRlcjogZHJvcC1zaGFkb3coLTEwcHggMTBweCAwcHggcmVkKSBk
cm9wLXNoYWRvdygtMTBweCAxMHB4IDBweCByZWQpIGRyb3Atc2hhZG93KC0xMHB4IDEwcHggMHB4
IHJlZCkgZHJvcC1zaGFkb3coLTEwcHggMTBweCAwcHggcmVkKTsKCX0KCS5zaGFkb3ctYm90dG9t
LWxlZnQtY29sb3JzIHsKCQlmaWx0ZXI6IGRyb3Atc2hhZG93KC0xMHB4IDEwcHggMHB4IHJlZCkg
ZHJvcC1zaGFkb3coLTEwcHggMTBweCAwcHggYmx1ZSkgZHJvcC1zaGFkb3coLTEwcHggMTBweCAw
cHggY3lhbikgZHJvcC1zaGFkb3coLTEwcHggMTBweCAwcHggZ3JheSk7Cjwvc3R5bGU+Cjxib2R5
PgoJPGRpdiBjbGFzcz0ic2hhZG93LWJvdHRvbS1sZWZ0LXJlZCBib3giIHN0eWxlPSJ0b3A6IDEw
cHg7IGxlZnQ6IDUwcHg7Ij48L2Rpdj4KCTxkaXYgY2xhc3M9InNoYWRvdy1ib3R0b20tbGVmdC1j
b2xvcnMgYm94IiBzdHlsZT0idG9wOiAxMHB4OyBsZWZ0OiAzNTBweDsiPjwvZGl2Pgo8L2JvZHk+
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>