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

Re: [css4-mediaqueries] Bandwidth Media Queries

From: Tomomi Imura <tomomi.i@gmail.com>
Date: Fri, 30 Mar 2012 17:33:21 -0700
Message-ID: <CAF_=75G3H2H9+Es7eqgzBdkJgkmmfCjYK4e=7uLCyhStoW4tdg@mail.gmail.com>
To: Lea Verou <leaverou@gmail.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
yep, it is pretty bad that users on slow network still have to download all
the css files from every media-queries.
I want it only loads a selected files.
I believe the @viewport rule proposed by Opera works in that way?

Also, I would like the bandwidth media-queries to match the network
connection API, so rather than specifying in Mbps, just use the value. e.g.
3 for cell 2g, 4 for cell 3g.

thanks,
tomomi imura
@girlie_mac



On Fri, Mar 30, 2012 at 3:38 PM, Lea Verou <leaverou@gmail.com> wrote:

> Oops, yeah, very good point! Even after that, *any* HTTP request it sends
> could be timed, including XHR requests after page load, so that it updates
> its number.
>
>
> Lea Verou (http://lea.verou.me | @LeaVerou)
>
>
> On 30/3/12 09:17, Brad Kemper wrote:
>
>> On Mar 30, 2012, at 2:14 AM, Lea Verou<leaverou@gmail.com>  wrote:
>>
>>  - I doubt UAs or even the OS has access to this sort of information (at
>>> least without running some sort of speedtest).
>>>
>> The UA has to download the HTML file in order to even see what style
>> sheets it includes or links to. So it could time that, and extrapolate the
>> speed from it.
>>
>
>
Received on Sunday, 1 April 2012 12:23:40 GMT

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