[wpt-sync] Sync PR 58930 - [focusgroup] Handle Home and End keys.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
69.81 KB,
text/plain
|
Details |
Sync web-platform-tests PR 58930 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58930
Details from upstream follow.
Jacques Newman <janewman@microsoft.com> wrote:
[focusgroup] Handle Home and End keys.
Home moves focus to the first focusgroup item; End moves to the last.
Both work for all behavior tokens regardless of axis restriction. Key
conflict elements (text inputs, textareas) consume Home/End normally;
modifier keys (Ctrl, Alt) pass through for platform defaults.Adds HandleHomeEndKeyboardEvent to FocusgroupController, hooked into
DefaultArrowEventHandler before the scroll fallback.Related Open UI resolution on
https://github.com/openui/open-ui/issues/543 and
https://github.com/openui/open-ui/issues/1397.Bug: 40210717
Change-Id: I2943d5a6fed6caec35134d41538f4ecd341c6676
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7681874
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Jacques Newman \<janewman@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1608939}
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
https://hg.mozilla.org/mozilla-central/rev/94ad207a2354
https://hg.mozilla.org/mozilla-central/rev/87f8de99b845
Description
•