W3C home > Mailing lists > Public > www-style@w3.org > November 2013

Re: [mediaqueries] resolution and device-pixel-ratio

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Nov 2013 20:05:32 -0800
Message-ID: <CAAWBYDDJTMvTP56Rnbdk0SbjLGChkyR7iTyoqBYGbaQjxCXRZA@mail.gmail.com>
To: Dean Jackson <dino@apple.com>
Cc: John Mellor <johnme@google.com>, Florian Rivoal <florian@rivoal.net>, "www-style@w3.org" <www-style@w3.org>
On Wed, Nov 13, 2013 at 5:54 PM, Dean Jackson <dino@apple.com> wrote:
> Related: the CSS WG resolved at its meeting two days ago that Apple will
> make a proposal for something that covers the following issues:
> - a definition for all the types of zooms
> - the fixed number of device pixels to a CSS px at 1:1 zoom
> - the value of zoom that maps how large a CSS px is now relative to the
> natural scale (the one browsers do without changing the width of the
> viewport)
> - the "user" zoom factor (sometimes called pinch zoom), where everything
> including the width of the viewport is scaled.

The zoom types (page and pinch) are already defined in CSSOM View.

The definition of .devicePixelRatio and the 'resolution' media feature
are both defined to be the screen's resolution * the page zoom.

I support exposing the pinch zoom directly and/or through an MQ.

Received on Thursday, 14 November 2013 04:06:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:36 UTC