[css3-animations] Aligning the lengths of the animation-* lists

http://dev.w3.org/csswg/css3-animations/#the-animation-name-property-

"In the case where the other properties do not have lists of the correct  
length, their values are repeated to form a list with the same number of  
entries as ‘animation-name’."

Loose language aside, this needs to clarify how the repeating is done.  
Presumably it should keep looping through the list until the required  
number of items has been reached. I think this would bring it in line with  
what Transitions tries to say by "the list is repeated as a whole".

Also, this needs to cover the case where the value of another animation-*  
property is a list of greater length than the value of 'animation-name'.  
To me the least surprising behavior would be to chop off the end of the  
list. (What WebKit and Gecko are doing wouldn't make much sense; the  
simplest description of their behavior is that they repeat to match the  
longest list instead of the 'animation-name' list.)

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Tuesday, 27 September 2011 16:26:46 UTC