W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: Filter Templates

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 11 Jan 2011 11:52:57 -0800
Message-ID: <AANLkTin-6GnZSTGixVdYwpKr-o99WVsXTmaj53s9JUmP@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: Sylvain Galineau <sylvaing@microsoft.com>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On Tue, Jan 11, 2011 at 11:34 AM, Simon Fraser <smfr@me.com> wrote:
> On Jan 11, 2011, at 11:27 AM, Sylvain Galineau wrote:
>> Like Tab, +1 on concept. My first thought was to apply SVG Parameters to
>> Filters. (See http://www.w3.org/TR/2009/WD-SVGParamPrimer-20090616/ for SVG
>> Parameters).
>
> That seems like the right approach, but how do you name the parameters from
> CSS?
> You'd have to do something like:
> filter: url(#myCoolFilter, param1=10px, param2=20px);

I'd recommend a separate function in that case, like svg() or something.

~TJ
Received on Tuesday, 11 January 2011 19:53:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT