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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Mon, 22 Nov 2010 13:12:12 +1300
Message-ID: <AANLkTinaVhpmbWR7dFBMM6iDPwBtx25nRTjO7BfG_egQ@mail.gmail.com>
On Sun, Nov 21, 2010 at 9:59 AM, Charles Pritchard <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.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101122/fe4b1b2c/attachment.htm>
Received on Sunday, 21 November 2010 16:12:12 UTC

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