- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 11 Sep 2013 02:04:56 -0700
- To: "Robert O'Callahan" <robert@ocallahan.org>
- Cc: Stephen White <senorblanco@chromium.org>, Ian Hickson <ian@hixie.ch>, Dean Jackson <dino@apple.com>, Rik Cabanier <cabanier@gmail.com>, WHAT Working Group <whatwg@whatwg.org>
On Wed, Sep 11, 2013 at 1:20 AM, Robert O'Callahan <robert@ocallahan.org> wrote: >> > > 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 >> >> I believe pinch zoom should not change devicePixelRatio. It would be nice >> if there was a standard way to determine pinch zoom though and if the >> canvas could automatically resize. >> > > 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. Yes. Somewhere (HTML? CSSOM? CSSOM-View?) needs to define "layout-affecting zoom" and "visual zoom", define what goes where, and then we can just hook things to "layout-affecting zoom" and be done with it. (I think dbaron had some name suggestions, or at least some name *objections*, related to this stuff.) ~TJ
Received on Wednesday, 11 September 2013 09:05:42 UTC