On Wed, Sep 11, 2013 at 1:20 AM, Robert O'Callahan <rob...@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

Reply via email to