- From: L. David Baron <dbaron@dbaron.org>
- Date: Sun, 21 Oct 2012 12:12:03 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On Sunday 2012-10-21 12:00 -0700, Tab Atkins Jr. wrote: > On Sun, Oct 21, 2012 at 8:22 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > > 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>. > > That sounds silly. No other dimension has an intrinsic "non-zero" > requirement, and there's no reason for <resolution> in particular to > be different. It might well be useful to not have to worry about the reciprocal being infinite (considering that, under some ways of thinking about what DPI is, it's already a reciprocal). -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla http://www.mozilla.org/ 𝄂
Received on Sunday, 21 October 2012 19:12:28 UTC