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

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:
	  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:

Am I missing something obvious here?


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
Received on Monday, 26 March 2001 18:28:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 18:09:41 UTC