W3C home > Mailing lists > Public > www-svg@w3.org > October 2009

Content model for filters

From: KUROSAWA, Takeshi <taken.spc@gmail.com>
Date: Thu, 22 Oct 2009 00:12:54 +0900
Message-ID: <646543300910210812h3340a95dw3a9dfef9b72223a6@mail.gmail.com>
To: www-svg@w3.org
Dear SVGWG,

In SVG 1.1 Specification, some filter primitive elements are not able
to have animation elements as children.
However all filter primitive elements have common attributes which are
all animatable.
http://dev.w3.org/SVG/profiles/1.1F2/publish/filters.html#CommonAttributes

I noticed following elements:

<feComponentTransfer>
http://dev.w3.org/SVG/profiles/1.1F2/publish/filters.html#feComponentTransferElement

Current:
> Content model:
>     Any number of the following elements, in any order:
>     ‘feFuncA’
>     ‘feFuncB’
>     ‘feFuncG’
>     ‘feFuncR’

Proposed:
> Content model:
>     Any number of the following elements, in any order:
>     ‘animate’
>     ‘set’
>     ‘feFuncA’
>     ‘feFuncB’
>     ‘feFuncG’
>     ‘feFuncR’

# This is also in SVG Filters 1.2 Working Draft
# http://dev.w3.org/SVG/modules/filters/publish/SVGFilter.html#feComponentTransferElement


<feMerge>
http://dev.w3.org/SVG/profiles/1.1F2/publish/filters.html#feMergeElement

Current:
> Content model:
>     Any number of the following elements, in any order:
>     ‘feMergeNode’

Proposed:
> Content model:
>     Any number of the following elements, in any order:
>     ‘animate’
>     ‘set’
>     ‘feMergeNode’

# This is also in SVG Filters 1.2 Working Draft
# http://dev.w3.org/SVG/modules/filters/publish/SVGFilter.html#feMergeElement


<feDiffUseLighting> and <feSpecularLighting>
http://dev.w3.org/SVG/profiles/1.1F2/publish/filters.html#feDiffuseLightingElement
http://dev.w3.org/SVG/profiles/1.1F2/publish/filters.html#feSpecularLightingElement

Current:
> Content model:
>     Any number of descriptive elements and exactly one light source element, in any order.

proposed:
> Content model:
>     Any number of the following elements and exactly one light source element, in any order.
>     ‘animate’
>     ‘animateColor’
>     ‘set’


# SVG Filters 1.2 allows multiple light source and not descriptive elements.
# http://dev.w3.org/SVG/modules/filters/publish/SVGFilter.html#feDiffuseLightingElement

regards

-- 
KUROSAWA, Takeshi
Received on Wednesday, 21 October 2009 15:13:27 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:43 GMT