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

RE: [cssom] draft of color serialization rules

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 2 Oct 2012 19:31:05 +0000
To: Glenn Adams <glenn@skynav.com>
CC: W3C Style <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178291BE4C764@TK5EX14MBXC227.redmond.corp.microsoft.com>
>The question is how much to we want to break working pages/content? For example, if I thought that were feasible, I would >specify that no space followed commas, e.g., rgb(0,0,0) instead of rgb(0, 0, 0).

>However, my understanding of the goals of CSSOM is that, all things considered, it should try to capture current practice >when it appears there is significant consensus towards a common behavior. At present, that common behavior seems use rgb() >rather than rgba() for opaque colors.

Code that handles both correctly wouldn't be affected by choosing one result over the other. And new code would be simpler.

You're of course right about code that assumes rgb() strings: that could suddenly start breaking.
Received on Tuesday, 2 October 2012 19:31:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT