W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2012

Re: [Filter Effects] 'filter' property, SVG and filter functions

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 20 Apr 2012 22:03:04 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <3676366E-4E72-4301-B579-A5F84463ABAB@adobe.com>

On Apr 20, 2012, at 3:29 PM, Tab Atkins Jr. wrote:

> On Fri, Apr 20, 2012 at 2:53 PM, Dirk Schulze <dschulze@adobe.com> wrote:
>> Hi,
>> 
>> Just some comments to the current filter specification.
>> 
>> * The current version of the specification says:
>> 
>> 5. The ‘filter’ property
>> 
>> The description of the ‘filter’ property is as follows:
>> 
>> ‘filter’
>> Value:          none | <filter-function> [ <filter-function> ]*
>> Initial:        none
>> Applies to:     All elements In SVG 1.1 it applies only to "container elements (except ‘mask’) and graphics elements"
>> Inherited:      no
>> Percentages:    N/A
>> Media:          visual
>> Animatable:     yes
>> 
>> The value <funciri> is missing that references an SVG 'filter' element (That is currently defined that way by SVG[1]). At the moment is listed as a <filter-function>. Does it mean that it is possible to combine shorthands and filter elements?
>> 
>> filter: blur(20px) url(#filter-element);
>> 
>> Don't we want to have backward compatibility and therefore list it separately, even if you want to combine them?
> 
> Yes, mixing them is possible.
> 
> Why would we want to list them separately?  More to the point, *how*
> would we list them separately?  I guess I'm just unsure what you mean
> by "separately", or how you think that would help with back-compat.

It was more a question if we have to take care about this. This is the definition of the 'filter' property in SVG 1.1:

Value: <funciri> | none | inherit

in comparison to Filter Effects 1.0:

Value:          none | <filter-function> [ <filter-function> ]*

I thought about:

Value: none | inherit | [<filter-function> | <funciri>]+

Note that 'inherit' is currently missing.

Greetings,
Dirk


> 
> ~TJ
Received on Saturday, 21 April 2012 05:03:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 21 April 2012 05:03:35 GMT