<?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>219520</bug_id>
          
          <creation_ts>2020-12-03 17:44:22 -0800</creation_ts>
          <short_desc>overflow:hidden should not clip filter: drop-shadow()</short_desc>
          <delta_ts>2026-05-14 17:20: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>Layout and Rendering</component>
          <version>Safari Technology Preview</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=305032</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=312584</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=313665</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="Matt Woodrow">mattwoodrow</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bramus</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>stearns</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
    
    <cc>znaykaznaykovich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1711914</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-12-03 17:44:22 -0800</bug_when>
    <thetext>Overflow:hidden is clipping the drop-shadow filter, and should not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1711915</commentid>
    <comment_count>1</comment_count>
      <attachid>415369</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2020-12-03 17:44:45 -0800</bug_when>
    <thetext>Created attachment 415369
Testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1713787</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-12-10 17:45:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/72205047&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987854</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2023-10-26 15:43:31 -0700</bug_when>
    <thetext>*** Bug 263741 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122038</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-06-05 16:37:57 -0700</bug_when>
    <thetext>*** Bug 285872 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122040</commentid>
    <comment_count>5</comment_count>
      <attachid>475491</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-06-05 16:40:52 -0700</bug_when>
    <thetext>Created attachment 475491
Another test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122044</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-06-05 16:48:14 -0700</bug_when>
    <thetext>Actually I&apos;m not sure we&apos;re wrong here. https://drafts.fxtf.org/filter-effects/#FilterProperty says:

&quot;The compositing model follows the SVG compositing model [SVG11]: first any filter effect is applied, then any clipping, masking and opacity. As per SVG, the application of filter has no effect on hit-testing.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122047</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-06-05 17:09:41 -0700</bug_when>
    <thetext>I filed https://github.com/w3c/csswg-drafts/issues/12291</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2122077</commentid>
    <comment_count>8</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2025-06-05 20:34:39 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/46344</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2126889</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-06-30 18:02:18 -0700</bug_when>
    <thetext>Committed 296844@main (c9651d6e97ae): &lt;https://commits.webkit.org/296844@main&gt;

Reviewed commits have been landed. Closing PR #46344 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134612</commentid>
    <comment_count>10</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2025-08-05 18:33:21 -0700</bug_when>
    <thetext>*** Bug 296800 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>415369</attachid>
            <date>2020-12-03 17:44:45 -0800</date>
            <delta_ts>2020-12-03 17:44:45 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>composited-drop-shadow-radius.html</filename>
            <type>text/html</type>
            <size>856</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxzdHlsZT4KICAgICAgICAuYm94IHsK
ICAgICAgICAgICAgbWFyZ2luOiAxMDBweCAxMjBweDsKICAgICAgICAgICAgd2lkdGg6IDEwMHB4
OwogICAgICAgICAgICBoZWlnaHQ6IDEwMHB4OwogICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9y
OiBibHVlOwogICAgICAgICAgICBwYWRkaW5nOiAxMHB4OwogICAgICAgICAgICBjb2xvcjogd2hp
dGU7CiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDFweDsKICAgICAgICAgICAgb3ZlcmZsb3c6
IGhpZGRlbjsKICAgICAgICB9CiAgICAgICAgCiAgICAgICAgLnNoYWRvdyB7CiAgICAgICAgICAg
IGJveC1zaGFkb3c6IDAgMCAxMDBweCBibGFjazsKICAgICAgICB9CiAgICAgICAgLmZpbHRlciB7
CiAgICAgICAgICAgIGZpbHRlcjogZHJvcC1zaGFkb3coMCAwIDUwcHggYmxhY2spOwogICAgICAg
IH0KCiAgICAgICAgLmNvbXBvc2l0ZWQgewogICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0
ZVooMCk7CiAgICAgICAgfQogICAgPC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KICAgIDxwPnNoYWRv
d3Mgc2hvdWxkIG1hdGNoPC9wPgogICAgPGRpdiBjbGFzcz0ic2hhZG93IGJveCI+PGNvZGU+Q0dD
b250ZXh0U2V0U2hhZG93V2l0aENvbG9yKC4uLiwgLi4uLCAxMDAsIC4uLik8L2NvZGU+PC9kaXY+
CiAgICA8ZGl2IGNsYXNzPSJmaWx0ZXIgYm94Ij48Y29kZT5XZWJLaXQgZHJvcC1zaGFkb3cgZmls
dGVyPC9jb2RlPjwvZGl2PgogICAgPGRpdiBjbGFzcz0iY29tcG9zaXRlZCBmaWx0ZXIgYm94Ij48
Y29kZT5DQUxheWVyLnNoYWRvd1JhZGl1cz01MDwvY29kZT48L2Rpdj4KPC9ib2R5Pgo8L2h0bWw+
Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>475491</attachid>
            <date>2025-06-05 16:40:52 -0700</date>
            <delta_ts>2025-06-05 16:40:52 -0700</delta_ts>
            <desc>Another test</desc>
            <filename>overflow-hidden-and-filter.html</filename>
            <type>text/html</type>
            <size>491</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBj
b250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MSwgc2hyaW5rLXRvLWZp
dD1ubyI+CiAgICA8c3R5bGU+CiAgICAgICAgLmJveCB7CiAgICAgICAgICAgIHdpZHRoOiAxMDBw
eDsKICAgICAgICAgICAgaGVpZ2h0OiAxMDBweDsKICAgICAgICAgICAgYm9yZGVyOiA1cHggc29s
aWQgYmxhY2s7CiAgICAgICAgICAgIG1hcmdpbjogNTBweDsKICAgICAgICAgICAgb3ZlcmZsb3c6
IGNsaXA7CiAgICAgICAgICAgIGZpbHRlcjogZHJvcC1zaGFkb3coMCAwIDEwcHggYmx1ZSk7CiAg
ICAgICAgfQogICAgICAgIAogICAgPC9zdHlsZT4KICAgIAo8L2hlYWQ+Cjxib2R5PgogICAgPGRp
diBjbGFzcz0iYm94Ij4KICAgICAgICBUaGUgZmlsdGVyIHNob3VsZCBleHRlbmQgb3V0c2lkZSB0
aGUgYm94LgogICAgPC9kaXY+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>