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: Sat, 20 Nov 2010 18:21:25 +1300
Message-ID: <AANLkTi=pxh2b_XYVAS7fYqWp8b6U=m=dsGfk9jWsqF08@mail.gmail.com>
On Sat, Nov 20, 2010 at 10:42 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> We (Mozilla) have no plans to expose screen pixels to untrusted content at
> the moment, more or less as a policy decision.
>

We actually do support the -moz-device-pixel-ratio CSS media query. There
are legitimate use cases for that.

Most of the use cases for script access to the exact device pixel ratio that
I've heard boil down to "interfere with the user's ability to zoom", which
is why I haven't been eager to make it easier.

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/20101120/4aa046dc/attachment.htm>
Received on Friday, 19 November 2010 21:21:25 UTC

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