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

Re: [css3-mediaqueries] (min-resolution: 0dpi) is false in several browsers.

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 21 Oct 2012 11:22:35 -0400
Message-ID: <5084133B.8050404@mit.edu>
To: www-style@w3.org
On 10/21/12 7:32 AM, Simon Sapin wrote:
> Apparently Firefox, Opera, and IE10 all agree that the media query
> (min-resolution: 0dpi) is false, but (min-resolution: 0.1dpi) is true:

http://dev.w3.org/csswg/css3-mediaqueries/#values says:

   The <resolution> value is a positive <number> immediately followed
   by a unit identifier (‘dpi’ or ‘dpcm’).

So "0dpi" is not a valid value for <resolution>.

Received on Sunday, 21 October 2012 15:23:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:22 UTC