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

Hi,

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
agilo3@gmail.com
http://agilo.acjs.net/
Received on Monday, 19 December 2005 09:20:26 GMT

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