W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] Processing the zoom level - MS extensions to window.screen

From: Charles Pritchard <chuck@jumis.com>
Date: Sun, 21 Nov 2010 16:40:27 -0800
Message-ID: <4CE9BBFB.7040300@jumis.com>
On 11/21/10 4:12 PM, Robert O'Callahan wrote:
> On Sun, Nov 21, 2010 at 9:59 AM, Charles Pritchard <chuck at jumis.com 
> <mailto:chuck at jumis.com>> wrote:
>
>     Rob: Mobile deployments using dpiPixelRatio (as has been adopted
>     by Moz and Webkit) and target-DpiDensity work well on the mobile,
>     they are not hooked to zoom on the desktop,
>
>
> It is in Firefox.
>
>     and they were not designed for desktop-style zoom. Trying to
>     overload these variables leads to difficulties between the various
>     mobile style zooms and desktop zoom.
>
>
> I'm not sure why. Device-pixel-ratio should give you the ratio of 
> device pixels to CSS pixels, full stop. You can use matchMedium to use 
> it from JS.
>
I'll give it a run. I'm not up on the 4.x branch.

I would point out that the MS proposal has an independent X and Y 
scaling mechanism.

I believe that dpi ratio is simply set to "2" (or .5... sorry a bit 
rusty) on the iOS 4 retina display.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101121/e9e3ed9e/attachment.htm>
Received on Sunday, 21 November 2010 16:40:27 UTC

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