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

Bug with "background-color: transparent".

From: Alessandro Lo-Presti <agilo3@gmail.com>
Date: Sun, 18 Dec 2005 16:38:37 +0100
Message-ID: <9b9840de0512180738k63aabf5aqde4fea12045941ab@mail.gmail.com>
To: www-validator-css@w3.org


I would like to report some odd behavior in how the CSS validator
validates my/a stylesheet.

For instance, I am using this in my stylesheet:
body #main #body .signed {
 background-color: transparent;

The validator says nothing about the (missing) acompanying "color:
#000" (which it normally does give a warning about).
However, when I do add a "color: #000", the validator gives a warning saying:
Line : 399 (Level : 1) You have no background-color with your color :
body #main #body .signed

Is this a bug or is this because a transparent background color
doesn't count as a valid color?

I just thought I'd report this.

Kind regards,
Alessandro Lo-Presti
Received on Monday, 19 December 2005 09:20:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:41 UTC