[csswg-drafts] [css-filters] What is the behavior of a <url> reference to a display:none SVG filter? (#4213)

smfr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-filters] What is the behavior of a <url> reference to a display:none SVG filter? ==
https://drafts.fxtf.org/filter-effects/#typedef-filter-url describes `<url>` as referencing a `<filter>` element, implying that the filter should work whether or not the `<filter>` is actually rendered.

In practice, user agents do seem to care whether the `<filter>` is rendered; Blink and Safari ignore the filter() if the `<svg>` is display:none, and in Gecko this causes the filtered element to be blank. What is the correct behavior?

Testcase:  https://codepen.io/smfr/pen/vYBKWOK

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4213 using your GitHub account

Received on Saturday, 17 August 2019 17:33:22 UTC