|Summary:||[iOS] Adjust initial scale zooming heuristics when changing view scale|
|Product:||WebKit||Reporter:||Wenson Hsieh <wenson_hsieh>|
|Component:||WebKit2||Assignee:||Wenson Hsieh <wenson_hsieh>|
|Severity:||Normal||CC:||bdakin, commit-queue, thorton, webkit-bug-importer, yongjun_zhang|
Description Wenson Hsieh 2019-02-24 16:54:31 PST
Currently, we only zoom to the new initial scale iff we're exactly at initial scale before changing the view scale. This was done so that if a user zoomed in really far and then increased the view scale, we wouldn't end up zooming out as a result. Per conversation with Tim and Yongjun, we should consider changing the heuristics here, such that: • If the view scale is increasing and the new initial scale is greater than the current scale, zoom to initial scale. • Likewise, if the view scale is decreasing and the new initial scale is less than the current scale, zoom to initial scale.
Comment 2 WebKit Commit Bot 2019-02-25 16:19:56 PST
Comment on attachment 362869 [details] Patch Clearing flags on attachment: 362869 Committed r242059: <https://trac.webkit.org/changeset/242059>
Comment 3 WebKit Commit Bot 2019-02-25 16:19:57 PST
All reviewed patches have been landed. Closing bug.