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

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 UTC