[Webkit-unassigned] [Bug 246106] [Filters] CSS filters are not applied to SVG elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 11 21:27:50 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=246106

--- Comment #4 from azin+webkit at live.dk ---
I ran into this bug when looking for a workaround for bug 275304.

After testing, it looks like presentation attribute (CSS) filters are only applied to the root SVG element. For context, the specification requires the filter attribute to apply to all graphics elements, <use>, and all containers except for <defs>.

The extent of this bug means there's no known workaround for bug 275304, rendering a large amount of SVG filter applications impossible to achieve in WebKit.

I've included a test case that demonstrates (A) that the filter presentation attribute fails when applied directly to a shape; (B) that it succeeds when applied to a root <svg> element; and (D) that there is no apparent workaround for applying a filter to external symbols (<use> referencing an external <symbol>).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240612/bc1720f4/attachment.htm>


More information about the webkit-unassigned mailing list