W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2009

Re: Bug Report: "No Color Set"

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 15 Oct 2009 05:52:40 -0400 (EDT)
To: Alex Ross <aross.nathan@gmail.com>
cc: www-validator-css@w3.org
Message-ID: <alpine.DEB.1.10.0910150551200.15569@wnl.j3.bet>
On Wed, 14 Oct 2009, Alex Ross wrote:

> http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fomghabbo.ath.cx%2Fcss%2Fglobals.css&profile=css3&usermedium=all&warning=2&lang=en
>
> I am receiving the WARNING message "You have no color set (or color is set
> to transparent) but you have set a background-color. Make sure that
> cascading of colors keeps the text reasonably legible." when I have set a
> color.
>
> CSS body content:
> body
> {   background-color : #c0c0c0;
>  text-align : center;
>  color : #000000;
>  font-family : "Times New Roman", Serif;
>  font-size : 16px;
>  font-style : normal;
> }
>
> As the provided CSS content shows, I do have the property "color" present
> and is set to "#000000".
>
> Please fix this validator bug as I would like to have my documents report as
> perfect when they are in fact perfect.

This is because you selected the CSS3 profile, which is known to have some 
shortcomings. Using CSS21, this snippet will not exhibit any warning. Also 
the development version has this fixed (see 
http://qa-dev.w3.org:8001/css-validator/ )
Cheers,

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Thursday, 15 October 2009 09:52:44 GMT

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