Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2012-01-31 Thread Ian Hickson
On Thu, 8 Dec 2011, Ashley Sheridan wrote: I couldn't find anything about this specifically, and I'm not sure if this is the best place to ask this, but here we go. I've been trying to optimise my site (as a test case) for mobile usage and one area where I found issues was with the media

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-19 Thread Henri Sivonen
On Fri, Dec 9, 2011 at 12:10 AM, James Graham jgra...@opera.com wrote: It's not clear that device-width and device-height should be encouraged since they don't tell you anything about how much content area is *actually* visible to the user. Why do media queries support querying the device

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-19 Thread Anne van Kesteren
On Mon, 19 Dec 2011 16:47:50 +0100, Henri Sivonen hsivo...@iki.fi wrote: On Fri, Dec 9, 2011 at 12:10 AM, James Graham jgra...@opera.com wrote: It's not clear that device-width and device-height should be encouraged since they don't tell you anything about how much content area is *actually*

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-19 Thread HÃ¥kon Wium Lie
Also sprach Anne van Kesteren: It's not clear that device-width and device-height should be encouraged since they don't tell you anything about how much content area is *actually* visible to the user. Knowing the device width/height could potentially be be used to decide if users

[whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread Ashley Sheridan
I couldn't find anything about this specifically, and I'm not sure if this is the best place to ask this, but here we go. I've been trying to optimise my site (as a test case) for mobile usage and one area where I found issues was with the media queries used to link CSS files. I noticed that

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread Tab Atkins Jr.
On Thu, Dec 8, 2011 at 11:39 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I couldn't find anything about this specifically, and I'm not sure if this is the best place to ask this, but here we go. I've been trying to optimise my site (as a test case) for mobile usage and one area where

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread Boris Zbarsky
On 12/8/11 2:39 PM, Ashley Sheridan wrote: I've been trying to optimise my site (as a test case) for mobile usage and one area where I found issues was with the media queries used to link CSS files. I noticed that despite eachlink tag including the maximum and minimum screen widths (which is

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread Boris Zbarsky
On 12/8/11 3:56 PM, Tab Atkins Jr. wrote: Remember that widths refer to the browser window, not the monitor For the 'width' and 'height' media queries, yes. For the 'device-width' and 'device-height' media queries, no. -Boris

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread James Graham
On Thu, 8 Dec 2011, Boris Zbarsky wrote: On 12/8/11 3:56 PM, Tab Atkins Jr. wrote: Remember that widths refer to the browser window, not the monitor For the 'width' and 'height' media queries, yes. For the 'device-width' and 'device-height' media queries, no. It's not clear that

Re: [whatwg] Use of media queries to limit bandwidth/data transfer

2011-12-08 Thread Boris Zbarsky
On 12/8/11 5:10 PM, James Graham wrote: It's not clear that device-width and device-height should be encouraged since they don't tell you anything about how much content area is *actually* visible to the user. Well, sure. I'm not saying using them is a good idea, just that people are doing