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

[css4-images] Comments on cross-fade

From: Lea Verou <lea@w3.org>
Date: Thu, 30 Aug 2012 04:58:39 -0700
Message-Id: <1E97CB21-5CDB-4057-A759-D33CAA3BF3D7@w3.org>
To: www-style list <www-style@w3.org>
- I think it would make sense to make the <percentage> in cross-fade() [1] optional, with a default value of 50%. Otherwise, I anticipate it will break many author expectations.
- Why not allow any order? There doesn’t seem to be a disambiguation reason to mandate that the percentage goes first, but I might be missing something.
- Not sure about this, but why not allow multiple arguments? Sure, one can nest multiple cross-fade() calls, but it starts looking like Lisp :-) Not sure how frequently that is needed, but it doesn’t seem much extra effort for editors or implementors, so why not?

[1]: http://dev.w3.org/csswg/css4-images/#cross-fade-function


Lea Verou
W3C developer relations
http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou
Received on Thursday, 30 August 2012 11:58:41 GMT

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