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

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

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Tue, 27 Sep 2011 18:26:16 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.v2g6l2ribunlto@oyvinds-desktop>

"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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:04 UTC