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

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

From: Kevin Marks <kevinmarks@gmail.com>
Date: Tue, 23 Nov 2010 16:24:44 -0800
Message-ID: <AANLkTi=1vesFLhQ62Hae65JhyjwLs+82aSu4P4Sbynr-@mail.gmail.com>
Most video displays have non-square pixels. Standard definition video
processing resolutions are 720 by 480 for NTSC and 720 by 576 for PAL though
both are 4 by 3 aspect ratio.
You can argue whether tv standards count as modern, but there are a lot out
there.

On 21 Nov 2010 16:56, "Robert O&apos;Callahan" <robert at ocallahan.org> wrote:

On Mon, Nov 22, 2010 at 1:40 PM, Charles Pritchard <chuck at jumis.com> wrote:

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

Does anyone know of any modern displays which have different X and Y
resolution?



>
> I believe that dpi ratio is simply set to "2" (or .5... sorry a bit rusty)
on the iOS 4 retina ...
There will be cases where zooming doesn't change device-pixel-ratio. Mobile
browsers tend to have a "fast" zoom out which doesn't change the layout
(mostly), and that might not change device-pixel-ratio. I think that's OK
for your use cases as long as device-pixel-ratio reports the ratio as if the
page is "zoomed in".



Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received th...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101123/6b58dd30/attachment.htm>
Received on Tuesday, 23 November 2010 16:24:44 UTC

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