[filter-effects] Support for child | child-selector

Hi,

I've just checked in some changes to SVG2 as part of SVG WG ACTION-3322 
to add support for the 'child' keyword and <child-selector> values (e.g. 
'select(linearGradient)') for paint values and marker values. CSS 
Masking already supports these values for the 'mask' and 'clip-path' 
properties.

If we're going to support them there, then I think it makes sense to 
support them for the 'filter' property too.

Also, we discussed allowing <feImage> to just contain SVG elements 
directly rather than having to point to an element elsewhere. I'm less 
concerned about that part however.

Are any of the editors of the Filters spec interested in making this change?

Background: We discussed providing a way to refer to resources like 
paints and masks without relying solely on ID references since these can 
be inconvenient when generating content from script and problematic when 
mashing up content. See [1] and [2].

Best regards,

Brian

[1] http://www.w3.org/2012/07/23-svg-minutes.html#item05
[2] http://people.mozilla.org/~bbirtles/pres/referencing-proposal/

Received on Friday, 1 March 2013 07:04:59 UTC