- From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
- Date: Tue, 9 Dec 2003 16:25:29 +1100
- To: www-svg@w3.org
I have a few questions about animation.
1. Is it every necessary to specify whether you want to animate an XML
attribute or a CSS property, or will "auto" always be able to choose
the right one? (That is, is there ever an XML attribute with the
same name as a CSS property which has a different meaning?)
2. If you want to animate a property (not an attribute like x, y, etc.)
what is the difference between attributeType="XML" and
attributeType="CSS"?
3. With XML attributes the appropriate interface will have member
variables of type SVGAnimated*. How do you get the base and animated
values for CSS properties?
4. Should animation take precedence over any author specified values for
CSS properties? What if a property is marked important, as in:
<svg>
<style>
circle { fill: yellow !important; }
</style>
<circle cx="100" cy="100" r="50">
<animateColor attributeName="fill" attributeType="CSS"
begin="0s" dur="4s" from="red" to="blue"/>
</circle>
</svg>
Should the important property override the animation? I notice that
in ASV6pr1 the "!important" doesn't make any difference in this case.
Thanks,
Cameron
--
Cameron McCormack
| Web: http://mcc.id.au/
| ICQ: 26955922
Received on Tuesday, 9 December 2003 00:25:43 UTC