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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 11 Feb 2013 16:31:31 -0800
To: Cameron McCormack <cam@mcc.id.au>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <D450206F-719B-4E8F-80DB-75B627437FE9@adobe.com>

On Feb 11, 2013, at 4:20 PM, "Cameron McCormack" <cam@mcc.id.au> wrote:

> 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.

Thanks, that is right. Sorry for the confusion.

Greetings
Dirk
Received on Tuesday, 12 February 2013 00:32:06 GMT

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