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

Bug: doesn't warn when background or text color is set without setting both

From: Gavin Stokes <gavin@AmbitiousProductions.com>
Date: Fri, 02 Dec 2005 18:31:22 -0800
Message-Id: <>
To: www-validator-css@w3.org

The validator needs to warn when a page or style sets either the text 
or background color without setting both.  The most common result of 
this error is invisible text, which occurs when a page forces a white 
background on the browser but neglects to set the text color.  On any 
system where the OS's default text color is white, the result will be 
white text on the white background.

To reproduce on Windows, go into the Display/Appearance settings and 
pick the "high contrast black" color scheme.  Then visit 
http://developers.videolan.org/svn.html, a page that features the 
"W3C check" logo at the bottom.  Most of the page's text is 
invisible, so it definitely shouldn't have passed validation.
Received on Sunday, 4 December 2005 02:12:56 UTC

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