>I've drafted language describing color serialization rules at [1][2]. Please review and comment. >[1] https://dvcs.w3.org/hg/csswg/rev/0d2a6c814dd1 >[2] http://dvcs.w3.org/hg/csswg/raw-file/tip/cssom/Overview.html#serializing-css-values If the goal of defining a common serialization is to enable authors to write cross-browser OM parsing code reliably, wouldn't it easier for them if the value was always returned as rgba(), even when the alpha is 1? From an 'aesthetic' standpoint - e.g. what I want to see in browser dev tools - the behavior you specified makes sense. It also saves a few bytes in the common case. But for anyone consuming the value for parsing it's yet another step.Received on Tuesday, 2 October 2012 00:52:06 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT