W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: Printing and background colors/images

From: Brad Kemper <brad.kemper@gmail.com>
Date: Wed, 23 Feb 2011 07:09:53 -0800
Cc: www-style list <www-style@w3.org>
Message-Id: <F86E76F8-7F7F-4982-A3A3-0CAD0CD73151@gmail.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Feb 23, 2011, at 5:05 AM, Boris Zbarsky wrote:

> Actually, browsers are more or less conforming to CSS 2.1 here as far as I can see.  They just have preferences that act like a user rule along the lines of
> 
> @media print {
>  * { background: none ! important; }
> }
> 
> and some variations for printing background colors but not background images, all of which is perfectly per the spec.

Webkit, at least, does more than that. It changes white and very light text to be a lightish gray when backgrounds are suppressed and the background would have been black or very dark.
Received on Wednesday, 23 February 2011 15:10:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT