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

CSS level 1 invalidator

From: Tim Christian <Tim@TimChristian.com>
Date: Mon, 26 Mar 2001 17:28:22 -0600
Message-ID: <3ABFD096.1397B418@TimChristian.com>
To: www-validator-css@w3.org
Howdy,

I ran one of my cascading style sheets (level 1) through the validator
some years ago, but now a recent run-through causes many errors.  I'm
wondering if there isn't something wrong with the validator (I bet you
get this query a lot ;).  After reviewing it with a couple of in-house
folks, the validator balks at something as simple as:
	BODY {
	  color: black;
	  background-color: white;
	}
The error returned is:
	URI : file://localhost/TextArea 
	     Line: 2 Context : BODY 
	          Property   color doesn't exist : black 
	     Line: 3 Context : BODY 
	          Property   background-color doesn't exist : white

However, clearly in the CSS level 1 documentation
(http://www.w3.org/TR/REC-CSS1#units), it states:
	The suggested list of keyword color names is: aqua, black, blue,
	fuchsia, gray, green, lime, maroon, navy, olive, purple, red, 
	silver, teal, white, and yellow.

There are numerous other examples.  Just processing a simple level 1
style sheet yields a lot of false positives.  For example:
http://www.cascss.unt.edu/procedures.css

Am I missing something obvious here?

Thanks,
Tim.

P.S.: There is a broken link on the
http://jigsaw.w3.org/css-validator/README.html page.  The "email" link
currently reads "mailto:www-validator-css" instead of
"mailto:www-validator-css@w3.org".
Received on Monday, 26 March 2001 18:28:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:13:57 GMT