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

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.

~TJ

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