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

Re: background-print

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 10 Aug 2011 17:55:22 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
Message-ID: <20110811005522.GA31130@pickering.dbaron.org>
On Wednesday 2011-08-10 17:42 -0700, Tab Atkins Jr. wrote:
> 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.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂
Received on Thursday, 11 August 2011 00:56:01 GMT

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