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

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 UTC