Closed Bug 2077513 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63198 - Ignore arrow key selection cycling in <select multiple size=1> picker

Categories

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

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63198 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63198
Details from upstream follow.

Joey Arhar <jarhar@chromium.org> wrote:

Ignore arrow key selection cycling in <select multiple size=1> picker

When pressing ArrowLeft or ArrowRight on a focused option in a
\<select multiple size=1> popover picker with appearance:auto,
HTMLOptionElement::DefaultEventHandlerInternal does not handle the event
in horizontal writing modes, allowing it to bubble up to
MenuListSelectType::DefaultEventHandler. Previously,
MenuListSelectType::DefaultEventHandler only skipped keydown option
cycling when IsAppearanceBase() was true, causing ArrowLeft and
ArrowRight to cycle the selected option in \<select multiple size=1>.

This patch also checks PickerIsPopover() before handling keydown arrow
events in MenuListSelectType::DefaultEventHandler.

Fixed: 565496822
Change-Id: I89253bddf9b1ff6047ec3d1207e77900b8742e50

Reviewed-on: https://chromium-review.googlesource.com/8487592
WPT-Export-Revision: 9e3414ac18902f0bcad481439426cdbe324e1d4a

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 6 tests

Status Summary

Firefox

OK : 1[GitHub] 5[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1[GitHub] 6[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-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 7[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3f57519984ca https://hg.mozilla.org/integration/autoland/rev/4896704b6c0b [wpt PR 63198] - Ignore arrow key selection cycling in <select multiple size=1> picker, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.