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

Re: [css3-mediaqueries] DPI in resolution media queries

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 16 Feb 2012 22:36:18 -0500
Message-ID: <4F3DCB32.3090709@mit.edu>
To: www-style@w3.org
On 2/16/12 10:21 PM, Simon Fraser wrote:
> I think there is a legitimate use case for a media query which is
> able to discern the true dimensions of the screen.
>
> Imagine a desktop screen which is 1024x768, and a tablet screen
> that has the same pixel dimensions, but is physically much smaller.

Is that resolution in device pixels, or CSS pixels?

If the former, and the tablet is a lot smaller, then each CSS px will 
end up being two device pixels in size, right?

-Boris
Received on Friday, 17 February 2012 03:36:46 GMT

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