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

Re: [css3-color] currentColor?

From: Chris Lilley <chris@w3.org>
Date: Wed, 19 Aug 2009 17:58:47 +0200
Message-ID: <1039235648.20090819175847@w3.org>
To: "David Perrell" <davidp@hpaa.com>
CC: www-style@w3.org
On Tuesday, August 18, 2009, 7:58:36 PM, David wrote:

DP> Since SVG has no hyphenated keywords, is it not trivial for SVG
DP> to translate from hyphenated into lowerCamelCase?

SVG does have hyphenated keywords. Originally, it was full of them. Then, following a last call comment from the DOM working group about the undesirability of hyphens in keywords due to an interaction with scripting languages, they were all changed to camelCase. And afer that, following a last call comment from the CSS WG, the properties originally in CSS2 were changed back to hyphenated.

Thats the nice thing about consistency, there are so many choices of what to be consistent with.

DP> Whatever, it should be spelled the same wherever it appears in CSS.

Yes, certainly. And for consistency with SVG, where the keyword was first standardized, it should be spelled currentColor.

 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Wednesday, 19 August 2009 15:59:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC