W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: Fwd:[css4-mediaqueries] Bandwidth Media Queries

From: Lea Verou <leaverou@gmail.com>
Date: Fri, 30 Mar 2012 02:14:22 -0700
Message-ID: <4F75796E.5040501@gmail.com>
To: Lea Verou <leaverou@gmail.com>
CC: www-style list <www-style@w3.org>
Looks like I forgot to comment on it. I think it's useful but hard or 
even downright impossible to implement:

- I doubt UAs or even the OS has access to this sort of information (at 
least without running some sort of speedtest).
- Bandwidth is not static, it can fluctuate even on the same network. So 
to find out, the browser would have to run a speedtest at a specified 
interval. This would slow down performance or even be unacceptable in 
certain cases (e.g. data roaming)

Since there is an API for this [1], it could be done using a little bit 
of JS and classes, so that the author can control how often to query the 
result themselves.

[1]: 
http://dvcs.w3.org/hg/dap/raw-file/tip/network-api/index.html#introduction

Lea Verou (http://lea.verou.me | @LeaVerou)


On 30/3/12 01:09, Lea Verou wrote:
> Proposal by Chris Coyier: http://css-tricks.com/bandwidth-media-queries/
>
Received on Friday, 30 March 2012 09:14:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT