[whatwg] High-density canvases

Ian Hickson ian at hixie.ch
Tue Sep 10 12:32:10 PDT 2013


On Wed, 11 Sep 2013, Dean Jackson wrote:
> On 11 Sep 2013, at 12:14 am, Stephen White <senorblanco at chromium.org> 
> wrote:
> > 
> > now that some browsers are including browser zoom (page zoom) in 
> > window.devicePixelRatio
> 
> Ouch. Who is doing this and why?

Why ouch?

Actually what I really think we should do is also change the 
window.devicePixelRatio for pinch zoom. Combined with the suggestions for 
canvas, that would allow (as Rik pointed out on IRC) for high-quality 
canvas all the way zoomed in, and for cheap canvases when zoomed out.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list