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

Re: [css3-background] Initial value 'currentcolor" not defined

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 5 Oct 2010 07:57:30 -0700
To: Christian Roth <roth@visualclick.de>
Cc: www-style Mailing List <www-style@w3.org>
Message-ID: <20101005145730.GB19270@pickering.dbaron.org>
On Tuesday 2010-10-05 16:28 +0200, Christian Roth wrote:
> <http://dev.w3.org/csswg/css3-background/#the-border-color>
> 
> defines the initial value of border-*-color to be "currentcolor". Where
> is defined what that means? It should either be defined or a link to its
> definition should be given.
> 
> If it is "currentColor" (the only thing I found that *is* defined, from
> <http://www.w3.org/TR/2008/WD-css3-color-20080721/>), then it needs to
> be specified in exactly that capitalization as "currentColor" is not
> defined to be case-insensitive.

'currentColor' is case-insensitive in CSS.  See
http://www.w3.org/TR/CSS21/syndata.html#characters , which says "All
CSS syntax is case-insensitive within the ASCII range (i.e., [a-z]
and [A-Z] are equivalent), except for parts that are not under the
control of CSS."

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 5 October 2010 14:58:04 GMT

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