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

Re: [filter-effects] @support condition for custom filters

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 12 Feb 2013 11:20:34 +1100
Message-ID: <51198AD2.5070704@mcc.id.au>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Dirk Schulze <dschulze@adobe.com>, www-style list <www-style@w3.org>
On 12/02/13 10:14 AM, Tab Atkins Jr. wrote:
> Ah, this is why we allowed ourselves an extension point.
>
> You can't do it with the syntax you've provided.  That asks if the
> implementation supports a "filter: webgl" interface.  However, you can
> define a function that asks for that particular support.  For example,
> a filter-type() property could work:
>
> @support (filter-type(webgl)) {
>    @filter curl { ... }
> }

I think that might have been what Dirk meant to type.  What we wrote on 
the whiteboard last week at the SVG F2F was

   @support filter(webgl) { ... }

i.e. using the functional syntax extension point.
Received on Tuesday, 12 February 2013 00:20:56 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT