W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2010

Re: Unsupported background/border colors such as LightGray, or DarkOrange

From: David Dorward <david@dorward.me.uk>
Date: Fri, 5 Mar 2010 09:35:37 +0000
Cc: <www-validator-css@w3.org>
Message-Id: <03A6337E-A691-495B-9818-6E23DAA868D9@dorward.me.uk>
To: C. Fr <newsgroups.fr@gmail.com>

On 4 Mar 2010, at 11:36, C. Fr wrote:
> It seems that colors such as LightGray, or DarkOragne, are not supported by the W3C CSS validator (see for example the validation results ofhttp://www.w3schools.com/tags/ref_color_tryit.asp?color=LightGray). How come?

Because they aren't valid values.

> It seems to be a valid value for the color property, isnít it?

No. http://www.w3.org/TR/CSS21/syndata.html#value-def-color

David Dorward

Received on Friday, 5 March 2010 09:36:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:08 UTC