Closed Bug 2028828 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 58930 - [focusgroup] Handle Home and End keys.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 253 tests and 4 subtests ## Status Summary ### Firefox `OK` : 149[GitHub] 225[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS`: 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 139[GitHub] 3959[Gecko-windows11-32-24h2-debug] 3960[Gecko-windows11-32-24h2-opt] 3977[Gecko-linux2404-64-debug, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 3978[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt] `FAIL`: 245[GitHub] 274[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-opt] 275[Gecko-linux2404-64-debug, Gecko-windows11-32-24h2-debug, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] ### Chrome `OK` : 149 `PASS`: 362 `FAIL`: 22 ### Safari `OK` : 149 `PASS`: 120 `FAIL`: 264 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=c0aed8470739303573c51acc35a8955e767e90d4) [GitHub PR Head](https://wpt.fyi/results/?sha=b4960e943c564566790ab3f452f2490c338c5d56&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=b4960e943c564566790ab3f452f2490c338c5d56&label=pr_base) ## Details ### Firefox-only Failures * [/shadow-dom/focus-navigation/focus-with-negative-index.html](https://wpt.live/shadow-dom/focus-navigation/focus-with-negative-index.html) [[wpt.fyi](https://wpt.fyi/results/shadow-dom/focus-navigation/focus-with-negative-index.html)] * This is a regression test: After focusing negative tabindex-ed elements, focus moves in tree order.: `FAIL` linked bug:Bug 1785036 (See attachment for full changes)
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: