On Fri, 30 Mar 2007, Nick Fitzsimons wrote:

>>> browsers nowadays support both "lightgrey" and "lightgray"
>>> for backwards compatibility... although none of those extended colour
>>> names appear in any formal spec relating to CSS, so that's OT.
>>
>> http://www.w3.org/TR/css3-color/#svg-color
>
> Ah, there they are :-)

Yes, _there_, in the _draft_ CSS 3 Color Module ("W3C Candidate 
Recommendation 14 May 2003"). It has not progressed to Proposed 
Recommendation status, and neither has anything else happened to it; it's 
status is perhaps best described as obscure, but it surely isn't a formal 
specification!

It also says:
"The Working Group doesn't expect that all implementations of CSS3 will 
implement all properties or values. Instead, there will probably be a 
small number of variants of CSS3, so-called "profiles". For example, it 
may be that only the profile for 32-bit color user agents will include all 
of the proposed color related properties and values."

Hence, although the extended repertoire of color names (except those using 
"grey") is well supported by browsers in general, it would be unwise to 
rely on them.

As you can see e.g. by viewing the cited draft on Internet Explorer, IE 
does _not_ recognize "grey" (or any name containing "grey") as a color 
name. This is correct behavior according to CSS 1 and CSS 2 
_specifications_.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to