W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2012

[whatwg] RWD Heaven: if browsers reported device capabilities in a request header

From: Matthew Wilcox <mail@matthewwilcox.com>
Date: Mon, 6 Feb 2012 20:16:33 +0000
Message-ID: <CAMCRKiLzvabU4OxGi3uMxU7TW_1XxyFAstEQOjEfLao5ifQM9Q@mail.gmail.com>
> On 2/6/12 1:55 PM, Irakli Nadareishvili wrote:
>> Many thanks to everybody who has responded and for a lively and a
productive discussion!
>>
>> Quick clarification: the proposal is to include *device* capabilities in
the HTTP headers, so when we say "screen width and height" we mean device
screen width and height which is constant
>
> Again, it's not constant in the terms that the page sees, which are CSS
pixels, not device pixels.

Media queries and explicit widths make this statement false, in a practical
way. We adjust for physical pixels quite happily by specifying a width on
the image. This is done routinely in all responsive designs simply by virtu
of the images having a width of 100%. They're then down sampled into
physical pixels even though CSS is using CSS pixels.
Received on Monday, 6 February 2012 12:16:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:39 UTC