[css-transitions] Animation of paint servers

Hi,

CSS3 Transitions defines animations of paint servers [1]:

""
	• paint server (SVG): interpolation is only supported between: gradient to gradient and color to color. They then work as above.
""

This seems to be incompatible with the current model of SVG resources and SVG animation. Currently elements themselves can have triggered animations. It is not possible in SVG at the moment to make a style change on one element affect the content (DOM or SVGDOM) of another one.  From the author perspective it might seems quite plausible. However, it needs more discussion and specification work in the SVG WG and SVG specification. Since animations are from one url to another url, it is unclear how it could be specified at all and how the intermediate results affect the two resources.

I would suggest that CSS Transitions treats paint server references the same as keywords. Note that paint servers are just <linearGradient>, <radialGradient>, <pattern> and possibly <color> elements. The animation of CSS colors on 'fill' and 'stroke' won't be affected and still work as described in the spec.

The feature can be added to a future version of the spec when we outlined this concept.

Greetings,
Dirk

[1] http://www.w3.org/TR/css3-transitions/#animatable-types

Received on Thursday, 18 April 2013 17:33:10 UTC