On Wed, Oct 28, 2009 at 10:30 PM, Jonathan Watt <jwatt@jwatt.org> wrote:
> I think that's a good idea, but there's the issue of canned filters -
> filters
> that don't use url() to reference an SVG filter. I think we should probably
> have
> canned filters to make common cases easy for authors, but then if you have
> no
> SVG filter your idea doesn't help those cases. Perhaps a 'filter-input'
> property
> could be added, and in the case of an SVG filter that property could be
> ignored.
> Better yet, we could have another keyword for SVG filters saying to use the
> value of that property (SpecifiedInput?). That way SVG filters could be
> made
> more target agnostic, allowing the consumer to selectively applied them to
> the
> part of the element that they want. That would seem desirable, especially
> for
> libraries of filters.
>
We should add support for passing parameters to filters from the CSS
'filter' property (see thread on www-style), then input image names could be
passed as parameters.
Rob
--
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]