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

[css3-animations] what does a list of 'animation-timing-function's on a keyframe do?

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 11 Apr 2011 22:30:23 -0700
To: www-style@w3.org
Message-ID: <20110412053023.GA15940@pickering.dbaron.org>
http://dev.w3.org/csswg/css3-animations/#timing-functions-for-keyframes-
describes the use of the animation-timing-function inside keyframe
rules, but doesn't say what to do if the property is given more than
one value (as it can be).

Two reasonable options seem to be:
 * A declaration of 'animation-timing-function' (and the
   'animation' shorthand) with more than one comma-separated value
   inside a keyframe rule is dropped as a parse error.
 * The first value is used and the rest are ignored.

In Gecko, I implemented the latter.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 12 April 2011 05:30:47 GMT

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