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

Re: [css3-color] currentColor?

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 17 Aug 2009 09:30:14 -0700
To: www-style <www-style@w3.org>
Message-ID: <20090817163014.GA16193@pickering.dbaron.org>
On Monday 2009-08-17 09:18 -0700, David Perrell wrote:
> Re: 'currentColor' color keyword.
> 
> Is this capitalization style used anywhere else in CSS? Seems odd. Color
> keywords are all lower case. The deprecated system colors have initial caps.

No, it's not, except in the other properties and values that were
introduced by the SVG specification, of which this is one.

(And SVG takes CSS and then uses its values as SVG attribute values,
case *sensitively*, so changing it to match the style of the rest of
CSS sort of "breaks" SVG.)

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Monday, 17 August 2009 16:31:02 GMT

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