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

Re: Printing and background colors/images

From: Mark Kenny <beingmrkenny@gmail.com>
Date: Tue, 22 Feb 2011 17:37:02 +0000
Message-ID: <AANLkTincDFj+YYQNVuSVXCYd8epfz7MxUagzhAtMTCGu@mail.gmail.com>
To: www-style@w3.org
Option 2, specifying colours in @media print{}, seems to be the best to me.

In the given use case of highlighting, the author might want to make the
text bold, underline it etc instead of using a background colour. This would
certainly be relevant where the user has disabled ALL background colours,
even those specifically set in a @media print{} block. It's generally
accepted as best practice not to use just colour to convey meaning.

Personally, as an author, I don't mind declaring the same rule twice, since
frequently I treat print media as completely separate styles. I.e. the
printer never sees the screen CSS.

In favour of 3, the new property, there are already properties which exist
solely for print media, just like there are properties for audio-only. I
don't see a problem with it from that point of view. However, it seems
redundant, unless it is explicitly meant to override user choice -- which
I'm sure isn't the aim.

Perhaps the meaning of print-background is more "background color carries
significance" in which case we're talking semantics which is obviously
outside the scope of CSS.

--
Mark Kenny
Twitter: @beingmrkenny
Received on Tuesday, 22 February 2011 17:37:55 GMT

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