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

Re: [css3-animations] multiple 'animation-name' and cascading

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 12 Apr 2011 10:29:28 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Dean Jackson <dino@apple.com>, www-style@w3.org
Message-ID: <20110412172928.GA5081@pickering.dbaron.org>
On Tuesday 2011-04-12 08:56 -0700, Tab Atkins Jr. wrote:
> On Mon, Apr 11, 2011 at 9:09 PM, L. David Baron <dbaron@dbaron.org> wrote:
> > (Alternatively, I suppose one could check for whether the property
> > is specified in any keyframe -- though that's a bit more work.)
> 
> You need to check all the keyframes.  Given a keyframe like this:
> 
> @keyframes wobble {
>    0% { left: 0; top: 0; }
>   33% { top: 100px; }
>   67% { top: -100px; }
>  100% { left: 100px; top: 0; }
> }
> 
> In the middle third of the animation, the nearest keyframe blocks
> don't have any mention of 'left', but 'left' is still being animated.

The spec should perhaps mention that somewhere.

Additionally, it should say how that behavior interacts with timing
functions specified in keyframes.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 12 April 2011 17:32:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT