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

Re: Defining safe areas for media devices and set top boxes

From: Joćo Eiras <joao-c-eiras@telecom.pt>
Date: Thu, 9 Dec 2010 15:05:41 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <201012091505.41880.joao-c-eiras@telecom.pt>
On Thursday 09 December 2010 15:00:11 you wrote:
> 
> On Dec 9, 2010, at 5:55 , Joćo Eiras wrote:
> 
> > 
> > Because not having a CSS media query would require browser sniffing to decide whether to apply the safe area or not. I did mention that the safe area might exist or not, depeding on cable used, type of TV, where the user agent runs and other unpredicted conditions. It could run on an external device or on the TV itself. But I'm repeating myself.
> 
> I am sorry if I am being dense;  how do you 'browser sniff' what kind of cable or display are connected?  And why do you need to sniff at all if the pages are specifically designed for this environment?
> 

You don't sniff for a cable, you sniff for the user agent of the browser that runs on the media device, which might or might not need a safe area and so on, which as you understand is *extremely* error prone and just an outright broken heuristic.
Received on Thursday, 9 December 2010 15:06:18 GMT

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