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

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

From: Rune Lillesveen <rune@opera.com>
Date: Fri, 29 Oct 2010 09:45:18 +0200
To: www-style@w3.org
Message-ID: <op.vlbuhsyb8isf1p@id-c1005.oslo.osa>
On Fri, 29 Oct 2010 09:14:31 +0200, fantasai  
<fantasai.lists@inkedblade.net> wrote:

> On 10/28/2010 05:41 AM, Rune Lillesveen wrote:
>> On Thu, 28 Oct 2010 14:20:18 +0200, David Storey <dstorey@opera.com>  
>> wrote:
>>> The Nintendo Wii browser uses the TV media type if it is there
>>> otherwise uses the Screen media type. It works better than handheld as
>>> there is no, or less legacy content out there using TV which would
>>> break modern browsers.
>>> I believe the TV media type is quite useful as modern TVs have pretty
>>> big resolution now (so you can;t do the trick like with mobile for
>>> applying style when the resolution is lower), but you want a somewhat
>>> different experience on TV. You generally sit close to a desktop or
>>> laptop so can have regular size text, while on TV you are usually
>>> sitting back on the couch, so want to pump up the text size for
>>> example. Using a TV media type makes it much easier to detect the user
>>> is on a TV, providing browser vendors support it. TVs also come in a
>>> standard set of resolutions (1080p/i 720, SD etc) so the TV media type
>>> in combination with media queries for those resolutions can be quite
>>> powerful if supported.
>> Pumping up the pixel size of a font based on physical DPI is only needed
>> for broken UAs, right? See [1]
>> [1] http://www.w3.org/TR/CSS21/syndata.html#pixel-units
> Note that definition of the pixel has been superseded.
> http://fantasai.inkedblade.net/style/specs/css2.1/px-unit
> http://csswg.inkedblade.net/spec/css2.1#issue-149

Yes, and with that definition, for tv, the physical units would be  
anchored to the reference pixel, making it even less interesting to change  
font-sizes based on the resolution media feature.

Rune Lillesveen
Senior Core Developer / Architect
Opera Software ASA
Received on Friday, 29 October 2010 07:45:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC