Re: Printing and background colors/images

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 UTC