commit | 09a1f53e39973f72e0e71c5080c78f70141934d6 | [log] [tgz] |
---|---|---|
author | Jihwan Marc Kim <bluewhale.marc@gmail.com> | Fri May 24 12:40:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 24 12:40:48 2019 |
tree | 4d2ec6874790e56199445beb5c2079c2d65aebb9 | |
parent | e8b0b899d62acf4721c1c1e70aa855ea4e445e12 [diff] |
Keep scroll by keyboard after child focused node is removed So far, scroll stops if focused child node is removed while scrolling parent node. This is because the event handler passes the |MousePressNode|. If focused child node(|MousePressNode|) is removed, it will be null and scrollable area changed to document. |LogicalScroll| finds scrollable area from |MousePressNode|. If we save this scrollable area node, we can get one more chance to find proper node to scroll. Bug: 493078 Change-Id: I6e81ca0a0d15e0def66c8457840ca9e1343e8dba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611620 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by: Lan Wei <lanwei@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#663040}
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 .