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

Re: background-print

From: Håkon Wium Lie <howcome@opera.com>
Date: Fri, 12 Aug 2011 17:37:12 +0200
Message-ID: <20037.18600.317153.344921@gargle.gargle.HOWL>
To: "Florian Rivoal" <florianr@opera.com>
Cc: www-style@w3.org
Also sprach Florian Rivoal:

 > > The start of the thread, in the above URL reads:
 > >  Want authors to be able to specify whether backgrounds should be printed
 > > And this code turns off printing of backgrounds:
 > 
 > Authors don't want to turn off printing of backgrounds, they want to turn  
 > it on, as various browsers automatically turn them off by default to save  
 > ink or improve readability. A way to override that is what we are looking  
 > for.

We could do this by defining where in the cascade the user setting is
defined.

For example, this could could be overridden by the user setting:

  html { background: red }

while this would be printed:

  html { background: red !important }

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Friday, 12 August 2011 15:38:05 GMT

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