W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2007

Re: CSS Validator: many warnings for "Same colors for color and background-color in two contexts"

From: olivier Thereaux <ot@w3.org>
Date: Tue, 6 Feb 2007 14:15:32 +0100
Message-Id: <2E4DA1E9-2AFB-435F-8813-2D931BBFBCF4@w3.org>
Cc: www-validator-css@w3.org
To: Mark Lowery <Mark@markalowery.net>

Dear Mark,

[Note that your initial e-mail subject was not useful - I have  
changed the subject in my reply]

On Feb 6, 2007, at 02:51 , Mark Lowery wrote:
> I had previously validated my CSS stylesheets with the old  
> validator.  Things that came up as "warnings" did not prevent it  
> from validating.

And neither does it now.

>   Now, with this new validator, my stylesheets are getting a huge  
> amount of "warnings" for the following:
> "Same colors for color and background-color in two contexts..."

The validator is issuing warnings for a situation that, in a general  
case, would not be desirable. If you are sure it is OK, just ignore  
the warnings.

>   How come and is there any way to validate a stylesheet with this  
> new valdiator when it uses the same color in two different contexts?

Use the options to switch off the warnings, or fix the situation, or  
ignore the warnings yourself. In either case, it will *not* change  
whether the validator will consider the stylesheet to pass or fail  
validation - only the presence of errors would.

-- 
olivier
Received on Tuesday, 6 February 2007 13:15:40 GMT

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