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

Re: CSS validator bugs

From: David Woolley <forums@david-woolley.me.uk>
Date: Fri, 04 Sep 2009 22:05:57 +0100
Message-ID: <4AA18135.6070608@david-woolley.me.uk>
To: Keryx Web <webmaster@keryx.se>
CC: www-style list <www-style@w3.org>
Keryx Web wrote:

> foo {
>    color: pink;
> }
> 
> And many other legitimate color names.

"pink" is not a valid colour name in CSS.

<http://www.w3.org/TR/CSS21/syndata.html#color-units>
<http://www.w3.org/TR/2008/WD-css3-color-20080721/#html4>

Nor is it valid in HTML 4.01:

<http://www.w3.org/TR/html401/types.html#h-6.5>

The validator is correctly rejecting it.

-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Friday, 4 September 2009 21:06:35 GMT

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