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:45:14 -0700
Cc: "www-style@w3.org list" <www-style@w3.org>
Message-id: <CC8570F1-2D00-44D9-A563-6B27FD8077A7@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>

On Mar 31, 2011, at 1:22 PM, Chris Marrin wrote:

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

Sorry, I mistakenly thought we were putting spec bugs into the w3c bug system. Since not, we should just propose some words here. I've tried to write a sentence or two to clarify the case, but what I've come up with just makes it more confusing. Any suggestions on how to make it more clear?

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

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