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

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 15 Feb 2012 19:17:24 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F01782903428ABE@TK5EX14MBXC295.redmond.corp.microsoft.com>

[Boris Zbarsky:]
> 
> On 2/15/12 12:00 PM, Sylvain Galineau wrote:
> > OK, sorry for being slow. If the DPI causes the UA to get its inches
> > completely wrong, how does it get it right with MQs?
> 
> CSS.1 requires that UAs ignore the real DPI to some extent and set inches
> to exactly 96 CSS px.
> 
Yes, I recall that fun discussion. A CSS pixel is 1/96 of an inch. But if
the UA can't get its CSS pixels right, how can you assume dpi/dpcm works? 
Received on Wednesday, 15 February 2012 19:18:24 GMT

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