W3C home > Mailing lists > Public > www-style@w3.org > April 2009

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

From: Chris Marrin <cmarrin@apple.com>
Date: Mon, 06 Apr 2009 17:04:41 -0700
Cc: www-style@w3.org
Message-id: <828856EC-C14A-4816-B95A-7DA21FFEDAC0@apple.com>
To: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>

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.

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:35 UTC