On Nov 20, 2010, at 7:46 AM, Ojan Vafai wrote:

> On Fri, Nov 19, 2010 at 9:21 PM, Robert O'Callahan <rob...@ocallahan.org> 
> wrote:
> Most of the use cases for script access to the exact device pixel ratio that 
> I've heard boil down to "interfere with the user's ability to zoom", which is 
> why I haven't been eager to make it easier.
> 
> To be clear, chrome.tabs.getZoomPercentage is a Chrome extension API. Having 
> extensions that can mess with zoom seems like a legit use-case. But I agree, 
> I can't think of good use-cases for the general web being able to.

The only one I can think of is sizing the canvas backing store to get a sharp 
image on high-resolution displays, and possibly swapping in different image 
assets from JS.

Simon

Reply via email to