W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2013

Re: [whatwg] High-density canvases

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 11 Sep 2013 20:04:40 +0000 (UTC)
To: Rik Cabanier <cabanier@gmail.com>
Message-ID: <alpine.DEB.2.00.1309112004080.12199@ps20323.dreamhostps.com>
Cc: WHAT Working Group <whatwg@whatwg.org>, Dean Jackson <dino@apple.com>, Stephen White <senorblanco@chromium.org>, Robert O'Callahan <robert@ocallahan.org>
On Wed, 11 Sep 2013, Rik Cabanier wrote:
> On Wed, Sep 11, 2013 at 11:24 AM, Ian Hickson <ian@hixie.ch> wrote:
> > On Wed, 11 Sep 2013, Robert O'Callahan wrote:
> > >
> > > Pinch-zoom is hard because we don't want to trigger reflows or other 
> > > expensive behavior on pinch-zoom. I'd leave pinch-zoom out of it for 
> > > now.
> >
> > Unless I'm missing something fundamental, changing the pixel density 
> > doesn't cause a layout, it's changing the width that causes a layout.
> 
> It will do a layout if the width is directly or indirectly dependent on 
> the CSS pixelratio. For instance, notice how the text boxes reflow if 
> you change the page zoom: http://jsfiddle.net/BtAK7/1/

Sure. But pinch-zoom doesn't change the width. (Page zoom does.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 11 September 2013 20:05:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:09 UTC