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

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:32 UTC