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

Re: Animating properties

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Sat, 13 Dec 2003 12:42:13 +1100
To: www-svg@w3.org
Message-ID: <20031213014213.GA12756@blue.lan>

I found answers to a couple of my questions.

I wrote:
> 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?

It seems that you use getComputedStyle and getOverrideStyle to get the base
and animated CSS values, respectively.

> 4. Should animation take precedence over any author specified values for
>    CSS properties?  What if a property is marked important, as in:

According to SMIL !important properties should override animations.

-- 
Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Friday, 12 December 2003 20:42:20 GMT

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