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

Re: [css3-animations] interaction between animation-timing-function on keyframes and reverse animations?

From: Chris Marrin <cmarrin@apple.com>
Date: Thu, 31 Mar 2011 13:22:21 -0700
Cc: www-style@w3.org
Message-id: <0A054307-8993-4464-8C4C-830DB27AC35F@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>

On Mar 31, 2011, at 1:08 PM, L. David Baron wrote:

> http://dev.w3.org/csswg/css3-animations/#timing-functions-for-keyframes-
> describes the use of animation timing functions on keyframes, but
> isn't clear how this applies to animations when running in reverse
> due to 'animation-direction: alternate'.
> 
> Is it the intent of the spec that the animation between keyframe N
> and keyframe N+1, no matter what direction, be controlled by the
> animation-timing-function on keyframe N?  That seems like the most
> logical interpretation of the existing prose (though not the most
> literal).

That is what WebKit does and I agree that it makes the most sense. The spec should be clear on this. Can you open a spec bug?

-----
~Chris
cmarrin@apple.com
Received on Thursday, 31 March 2011 20:22:53 GMT

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