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

Re: background-print

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 11 Aug 2011 11:41:06 +0200
Message-ID: <20035.41906.209117.236594@gargle.gargle.HOWL>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
Also sprach L. David Baron:

 > > If you do it hackily, so that 'background' is only honored if it
 > > appears in a stylesheet specifically linked with media="print", you're
 > > introducing novel and imo really ugly behavior into the platform.
 > > This is akin to Opera's behavior in fullscreen being based off the
 > > presence or absence of a stylesheet with media=projection in the page,
 > > which is really nasty.
 > 
 > Agreed.  I think this sort of behavior makes some sense for an
 > implementation that assumes content authors never consider its
 > behavior when developing their content, but is a bad idea as a
 > standardized behavior or as a behavior to be used by an
 > implementation that authors are likely to care about, because of the
 > confusion (about expected results and about the model underlying
 > them) that such testing would lead to.

When the user presses F11 in Opera, @media projection is honored. If
no such style sheet exists, @media screen is honored. As such, Opera
either goes into projection mode or screen mode. I don't see why this
is so bad -- certainly no worse than not supporting @media projection
at all?

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 11 August 2011 09:42:00 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:03 UTC