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

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

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 22 Nov 2013 11:57:31 -0800
Cc: Jonathan Kew <jfkthame@googlemail.com>, www-style list <www-style@w3.org>
Message-id: <202F455B-496B-4091-99B0-B533C4BCDEDE@apple.com>
To: Rik Cabanier <cabanier@gmail.com>

On Nov 22, 2013, at 11:43 AM, Rik Cabanier <cabanier@gmail.com> wrote:

> I realize there's arguments either way, but if a value with the page zoom factored in is useful, then surely it could have another name instead of conflicting.
> (Though for the record, what are the reasons to include the page zoom? If they are documented elsewhere, a pointer would be sufficient.)
> For instance, if zoom is 110%, devicepixelratio becomes 1.1.
> If you have a canvas of 1000x1000 css pixels, you will need to set a backing store of 1100x1100 pixels and apply a scale of (1.1, 1.1)

I'm pretty sure canvas authors do not actually want that. They'd often prefer to have the backing store be an integer ratio of their preferred size.


Received on Friday, 22 November 2013 19:58:01 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:34 UTC