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

Robert O'Callahan robert at ocallahan.org
Fri Nov 19 21:21:25 PST 2010

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.

"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-0001.htm>

More information about the whatwg mailing list