[whatwg] Processing the zoom level - MS extensions to window.screen
Robert O'Callahan
robert at ocallahan.org
Sun Nov 21 16:12:12 PST 2010
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.
Rob
--
"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-0002.htm>
More information about the whatwg
mailing list