Re: [css3-animations][css3-transitions] animation versus transition

On Apr 4, 2009, at 6:09 AM, Dr. Olaf Hoffmann wrote:

> Hello,
>
> this comment is about
> http://www.w3.org/TR/2009/WD-css3-transitions-20090320
> and
> http://www.w3.org/TR/2009/WD-css3-animations-20090320
>
> If both a transition and an animation is applicable for a property
> within the same time interval - which one has higher priority.
> The one with the later begin time? The one later in the source
> code? Or is the animation used as begin respectively end value
> of the transition or does the animation always overwrite the
> transition?

Animations values override transition values. But transitions behave  
as though they were running while the animation is running, so if, for  
instance, the transition has not completed by the time the animation  
finished, the value would just to that of the in-progress transition.  
and complete from there.

-----
~Chris
cmarrin@apple.com

Received on Tuesday, 7 April 2009 00:05:33 UTC