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

On Wed, 09 Jun 2010 02:38:35 +0200, Daniel Holbert <dholbert@mozilla.com>  
wrote:

...
>   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:

   http://dev.w3.org/SVG/profiles/1.1F2/test/svg/animate-elem-85-t.svg

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

Cheers
/Erik

-- 
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