commit | 2a96df7c3a68dd9c0ac1cf1263a609bf4824f7f3 | [log] [tgz] |
---|---|---|
author | David Bokan <bokan@chromium.org> | Mon Nov 27 23:50:25 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Nov 27 23:50:25 2017 |
tree | b85eb9d3b3ca6265bd6a1e996af96f71d8b49b1e | |
parent | fe04b007cb2bd834900c8d37e9292f690b6c7a17 [diff] |
Compensate for page scale in animated scrolls When the user zooms into the page, scrolling should be proportionally reduced so the page appears to move at the same rate. This is currently done for various kinds of scrolling. An animated scroll that updates an existing scroll animation simply adjusts the animation curve's target delta. However, this path forgot to adjust by the page scale factor like the "new animation" and "non- animated" paths. This CL simply adds that in. Bug: 610021 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: Ic1a6421131915ad739d39ad3ef36792dd3be53aa Reviewed-on: https://chromium-review.googlesource.com/788134 Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#519456}
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 .