W3C home > Mailing lists > Public > www-validator-css@w3.org > November 2006

Re: background-color not validating when it should

From: David Dorward <david@dorward.me.uk>
Date: Sat, 18 Nov 2006 00:14:57 +0000
To: Robert Mullaney <robert@easybusinessservices.com>
Cc: www-validator-css@w3.org
Message-ID: <20061118001457.GD8186@us-lot.org>

On Fri, Nov 17, 2006 at 10:32:48AM -0500, Robert Mullaney wrote:
>    We have tried using many variants to alleviate this warning but nothing
>    gets by it. The "background-color: transparent" specification should be
>    valid according to
>    http://www.w3.org/TR/REC-CSS2/colors.html#background-properties

It is valid, you are getting a warning, not an error.

(The warning is because, under some circumstances that are not under
your control, a transparent background can result in the text in the
element being displayed against an unexpected background colour (which
may cause the text to be unreadable due to contrast issues).

-- 
David Dorward                                      http://dorward.me.uk
Received on Saturday, 18 November 2006 00:15:05 GMT

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