W3C home > Mailing lists > Public > www-svg@w3.org > December 2003

Animating properties

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Tue, 9 Dec 2003 16:25:29 +1100
To: www-svg@w3.org
Message-ID: <20031209052529.GC21555@blue.lan>

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

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:

         circle { fill: yellow !important; }
       <circle cx="100" cy="100" r="50">
         <animateColor attributeName="fill" attributeType="CSS"
	   begin="0s" dur="4s" from="red" to="blue"/>

   Should the important property override the animation?  I notice that
   in ASV6pr1 the "!important" doesn't make any difference in this case.



Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Tuesday, 9 December 2003 00:25:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:57 UTC