W3C home > Mailing lists > Public > www-style@w3.org > July 2013

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 12 Jul 2013 09:21:42 -0700
Message-ID: <CAAWBYDC8f-gLwZm9D47VG5hfTO0-DdgOZaJO2uDO5iphj=TZ8A@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>, www-style list <www-style@w3.org>
On Fri, Jul 12, 2013 at 5:28 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> 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?

I'm with Boris in that doing whatever SVG does is likely the best
idea.  This is helpful, because I'm not sure what behavior I'd prefer
otherwise.  ^_^

~TJ
Received on Friday, 12 July 2013 16:22:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC