W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2005

Why does the validator NOT complain You have no background-color with your color?

From: Strautin, Benjamin <benjamin_strautin@csgsystems.com>
Date: Tue, 8 Feb 2005 17:44:13 -0500
Message-ID: <67C0A7BD9AAF714C8A33B986DF5738C401033751@cmaexch01.csg.csgsystems.com>
To: <www-validator-css@w3.org>
The validator does not appear to be behaving as the FAQ would indicate
it should.  When I submit a style sheet that specifies only
background-colors but not colors, or vice versa, the validator does not
generate any warnings.  For instance, this simple sheet:

body { background-color: #000000; }

should generate the error mentioned in the FAQ, "You have no
background-color with your color", but it does not.

I recall getting this error in the past, and I think it is a useful
error to provide.  Could it be re-enabled?


Benjamin Strautin
Received on Wednesday, 9 February 2005 00:26:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:53 UTC