W3C home > Mailing lists > Public > www-svg@w3.org > September 2011

Re: [whatwg] Web Forms 2 Repetition Model-please reinstate on specification

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 22 Sep 2011 14:05:03 +0200
To: www-svg@w3.org
Message-Id: <201109221405.03417.Dr.O.Hoffmann@gmx.de>
 Jeremie Patonnier:

>Yes, HTML attributes are not animatable through SVG where CSS properties
>applied on HTML elements are, try this little test with Firefox :
...

Works with correct namespaces as well for XHTML+SVG, but with some
interesting surprises for HTML+SVG and XHTML+SVG:
a) Even if img gets a width property with CSS and attributeType is set to CSS, 
this is not animated.
b) The image seems to move a little bit to the right within the animation of 
the width.

Other things seem to be understandable/consistent:
a) opacity as XML attribute is ok to animate for SVG, but not for (X)HTML.
b) animation of a width property for the image is not ok to have a visible 
effect. 

Therefore the rules, what is animatable or not and what is the resulting 
animation effect with firefox is not completely predictable for authors - and 
to add an SVG container to be able to animate some properties applicable 
for (X)HTML is surprising as well - does it work with a SMIL container 
too? ;o)

Olaf
Received on Thursday, 22 September 2011 12:05:32 GMT

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