W3C home > Mailing lists > Public > www-style@w3.org > February 2010

Re: [cssom] serializing <color>

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 15 Feb 2010 15:10:22 -0500
Message-ID: <4B79AA2E.308@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: CSS WG <www-style@w3.org>
On 2/15/10 11:45 AM, Anne van Kesteren wrote:
>> Since CSS is case-insensitive, there is no "case specified by the
>> specification", actually.
> Sure there is. The specification says WindowText, not windowtext.

Yes, but all of "windowtext", "windowText", "WiNdOwTeXt", etc, etc are 
the same as far as any correct CSS implementation is concerned. 
Presumably the specification uses camel-case for readability.

> A CSS editor cannot use the CSSOM. There are so many other things that
> are lost that a CSS editor needs that I do not think it is worth it to
> consider that as an argument for retaining this information (at least
> not when serializing). I thought we already came to that conclusion.

If so, then I have a related question.  What _is_ the point of this part 
of the CSSOM?  Editors can't use it, per above.  Debuggers can't use it 
(certainly not if it's going to be that lossy).  What _can_ use it?  I'm 
not sure I see any use cases, offhand, and I'd like to understand our 
goals before trying to decide what the behavior should be.  Maybe this 
functionality is just not needed at all.

Received on Monday, 15 February 2010 20:10:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:32 UTC