W3C home > Mailing lists > Public > www-style@w3.org > October 2010

Re: [css3-mediaqueries] tv and screen media types

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 26 Oct 2010 14:39:02 -0700
Message-ID: <AANLkTikCUtshPj=QY=VYxBtT4F+wc6EbVhJVo7-+z+2V@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
On Tue, Oct 26, 2010 at 2:28 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 10/26/2010 11:45 AM, Tab Atkins Jr. wrote:
>>
>> According to an internal bug report that I cant' figure out how to
>> access, Google TV's browser will not respond to the TV media type,
>> because there are enough 'screen' stylesheets on the web that doing so
>> would produce too much breakage for Gtv users.
>>
>> The same applies to media types like 'handheld' and 'projection' -
>> Opera, I know, has to go through some ridiculous contortions to try
>> and respect them when they exist without breaking the web otherwise.
>>
>> I suggest that the 'tv', 'handheld', and 'projection' media types be
>> allowed to match at the same time as a 'screen' media type.  That way
>> Google TV could use both 'screen' and 'tv' media types.  As well,
>> Opera could use both 'screen' and 'projection' when the browser was
>> fullscreened, and both 'screen' and 'handheld' on phone browsers.
>> (Other browsers could as well, of course.)
>
> That would break anyone using these media types properly, i.e.
> expecting 'screen' not to apply when their 'handheld' sheet is
> enabled.

Yes, it would.  The current state, though, means that you either have
to do silly contortions like Opera does, or just flat-out lie and just
masquerade as a screen, like Google TV's browser is doing.

Do we have any information on how many sites actually use 'handheld'
and 'projection' in a way that would break if this were to change?
~TJ
Received on Tuesday, 26 October 2010 21:39:54 GMT

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