W3C home > Mailing lists > Public > www-svg@w3.org > March 2010

Re: Some thoughts on css transforms in svg

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Fri, 12 Mar 2010 13:35:06 +0100
To: www-svg@w3.org
Message-Id: <201003121335.06218.Dr.O.Hoffmann@gmx.de>
Especially for animation the CSS-draft is 
pretty incompatible to SVG/SMIL due to this
decomposition.
And a SMIL animation is always performed on
the provides values. This does not fit to the idea
of the CSS-draft to decompose for example a
matrix in a larger set of transformations and 
to animate these. To have this, one needs maybe
another calcMode 'complex' to cover such a complex 
animation behaviour. And of course, for such
a complex behaviour, the animation function
should be explicitly and understandable defined
to be understandable for an average author.

A good approach would be of course just to leave
the old attribute transform as it is and to
introduce a new attribute transform2D to avoid
most incompatibilities and to allow authors in the
future to get access to this not only as a decorative
issue with CSS. Of course this would be a big advantage
of millions of existing SVG documents too, because there is
no risk of backwards incompatibilities in the drafts or 
implementation problems for the old documents.
The separation could work similary to animateMotion
(and its attribute rotate) as additional transformations, one
just has to define a proper order of all these independent
transformations - well it is just one more with transform2D.

Olaf
Received on Friday, 12 March 2010 12:49:40 GMT

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