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

[css3-animations] `alternate-reverse` vs `alternate reverse`

From: Lea Verou <leaverou@gmail.com>
Date: Mon, 30 Apr 2012 03:14:20 +0300
Message-ID: <4F9DD95C.30002@gmail.com>
To: www-style list <www-style@w3.org>
Glad to see these new values added in animation-direction (reverse and 
alternate-reverse)!

I think it would be a bit easier for authors if they were two whitespace 
separated words, rather than one hyphenated word. i.e. if the property 
accepted `alternate reverse` and `reverse alternate`, rather than just 
`alternate-reverse`.

Reasons:
- No need to remember their order
- Authors can refer to the simpler mental model of 2 toggles (reverse 
direction? yes/no, alternate even states? yes/no) rather than 4 
different states.
- It would be much easier to convert to a shorthand in the future, if 
such a need surfaces.


Thoughts?

-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Monday, 30 April 2012 00:14:51 GMT

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