W3C home > Mailing lists > Public > www-svg@w3.org > June 2010

Re: Inheritance during SVG Animation of CSS properties -- should "base value" incorporate ancestors' animation effects?

From: Erik Dahlstrom <ed@opera.com>
Date: Wed, 09 Jun 2010 10:07:36 +0200
To: www-svg@w3.org
Message-ID: <op.vd0wuwyygeuyw5@localhost>
On Wed, 09 Jun 2010 02:38:35 +0200, Daniel Holbert <dholbert@mozilla.com>  

>   MY QUESTION: What should be used as the "base value" for this  
> animation on the child node?  The actual underlying value is "inherit",  
> but what should that evaluate to, when we place it at the base of the  
> animation sandwich to compose the child's "by-animation"?  Should we use  
> the parent's animated value, or the parent's underlying non-animated  
> value?
> This problem is (slightly) more general than this, though -- in  
> particular, we hit the same basic question with the "currentColor"  
> value, with no inheritance at all.  The situation for this is as  
> follows: if we animate the "color" attribute on an element that has e.g.  
> style="fill: currentColor", and then we begin a "by" animation on the  
> "fill" property, should the "color" animation feed into the base value  
> of the "fill" animation?  (I'd say "yes".)

That sounds quite similar to this testcase:


I'd like to hear your thoughts on that one.


Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Wednesday, 9 June 2010 08:08:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:26 UTC