Content model for filters

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 UTC