RE: [cssom] draft of color serialization rules

>I've drafted language describing color serialization rules at [1][2]. Please review and comment.



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 UTC