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

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.

Regards,
Maciej

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