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

 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 UTC