Re: background-print

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 UTC