Bug Report: "No Color Set"

View: New views
2 Messages — Rating Filter:   Alert me  

Bug Report: "No Color Set"

by Alex Ross-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Thank you for your time and contribution to the world.

Re: Bug Report: "No Color Set"

by Yves Lafon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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