[wpt-sync] Sync PR 16950 - Keep scroll by keyboard after child focused node is removed
Categories
(Core :: DOM: Core & HTML, defect, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 16950 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/16950
Details from upstream follow.
Jihwan Marc Kim <bluewhale.marc@gmail.com> wrote:
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: I6e81ca0a0d15e0def66c8457840ca9e1343e8dbaReviewed-on: https://chromium-review.googlesource.com/1611620
WPT-Export-Revision: c91dbb486821727b1e40c6251f9725737a4d8e26
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Description
•