W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2013

[filter-effects] url() as pass-through on invalid reference?

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 12 Jul 2013 05:28:34 -0700
To: "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
Message-ID: <367CB22F-82EA-476F-8861-8A3AA2BEC899@adobe.com>
Hi,

The 'filter' property can have a list of filter functions including a url() for referencing <filter> elements. What happens if the <filter> element does not exist or is invalid because of other reasons?

Example: filter: blur(4px) url(#invalid) contrast(0.5);

1) Refuse the whole filter chain (as if 'none' was specified)?
2) The url() is just a pass-through and the filter chain continues as if url() was not specified?

Chrome/Safari seem to do the later. I am not sure if that is correct but maybe it is. How does the computed style look like for this property if the url is invalid?

Greetings,
Dirk
Received on Friday, 12 July 2013 12:29:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC