commit | 993a75eb17a9d12315482af77bd41431f2f83c25 | [log] [tgz] |
---|---|---|
author | David Bokan <bokan@chromium.org> | Fri Jun 28 15:55:30 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 28 15:55:30 2019 |
tree | cb95ff27969c2017ea20ec35c9c2c62eb0512c27 | |
parent | 7d6c5be25f7537a738823ecec71d3fe9d30ef572 [diff] |
Fix fallback cursor while zoomed The fallback cursor determines scroll modes based on the location within the current scroller. The location and size of the scroller are compared in root frame coordinates (i.e. the page's coordinate system). However, for the root scroller, we need to account for zooming. When the page is zoomed, the scroller's (visual viewport's) bounds shrink within the root frame. This means we need to convert the root-frame-relative point into the visual viewport so that we're computing locking relative to the visual viewport. Bug: 978214 Change-Id: Ib995aa9171ae818dd43a5b6208dd061ec6892eb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681271 Reviewed-by: Michael Thiessen <mthiesse@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#673349}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .