- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Wed, 20 May 2026 07:12:32 +0000
- To: public-svg-issues@w3.org
karlcow has just created a new issue for https://github.com/w3c/svgwg:
== chained filter support, aka href on the filter element ==
On https://bugs.webkit.org/show_bug.cgi?id=201992, I discovered chained filters.
This is not implemented in WebKit and Chrome
This is implemented in Firefox.
```
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="filter">
<feFlood flood-color="green"/>
<feComposite in2="SourceAlpha" operator="atop"/>
</filter>
<filter id="chained" href="#filter"/>
<rect x="10" y="10" width="100" height="100" filter="url(#filter)"/>
<rect x="120" y="10" width="100" height="100" filter="url(#chained)"/>
</svg>
```
The filter spec is now at
https://drafts.csswg.org/filter-effects-1/
As mentioned in https://w3c.github.io/svgwg/svg2-draft/single-page.html#changes-filters
The filter element
https://drafts.csswg.org/filter-effects-1/#FilterElement
href is not defined as an attribute on this element.
Ha but the DOM interface indicates
https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFilterElement
```
SVGFilterElement includes SVGURIReference;
```
which is itself:
```
interface mixin SVGURIReference {
[SameObject] readonly attribute SVGAnimatedString href;
};
```
https://w3c.github.io/svgwg/svg2-draft/types.html#InterfaceSVGURIReference
There is an issue on https://github.com/w3c/fxtf-drafts/issues/383
looking for the input of the SVG WG.
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1111 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 May 2026 07:12:33 UTC