Closed Bug 1746002 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 32046 - [selectmenu] Support closed-listbox arrow keys, update input/change firing

Categories

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

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Dan Clark <daniec@microsoft.com> wrote:

[selectmenu] Support closed-listbox arrow keys, update input/change firing

Allow the user to use up/down arrow keys on the \<selectmenu> button to
cycle through options when the listbox is closed.

Support firing input/change when the user changes selection in this way,
and update input/change firing behavior when listbox is open to match
the new OpenUI resolution at [1].

[1] https://github.com/openui/open-ui/issues/429

Bug: 1121840
Change-Id: I8686ad245f8d2623dec62c95dc79772519304ae7

Reviewed-on: https://chromium-review.googlesource.com/3336485
WPT-Export-Revision: 934295638d29b6ad287b40ebe9ab4dcd0f2cca9a

PR 32046 applied with additional changes from upstream: 81f9e818005784368e592ebd4b99b631ceee90c9, 75412ce2723fb90197e0f71b44bde04c6f60a8b8
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
FAIL : 5

Chrome

TIMEOUT: 1
ERROR : 1
NOTRUN : 4

Safari

ERROR : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/forms/the-selectmenu-element/selectmenu-events.tentative.html
Button controller code should not run if the click event is preventDefaulted.: FAIL (Chrome: TIMEOUT)
Listbox controller code should not run if the click event is preventDefaulted.: FAIL (Chrome: NOTRUN)
<selectmenu> should fire input and change events when new option is selected: FAIL (Chrome: NOTRUN)
<selectmenu> should fire input and change events even when new selected option has the same value as the old: FAIL (Chrome: NOTRUN)
<selectmenu> should fire input and change events when option in listbox is clicked: FAIL (Chrome: NOTRUN)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/585b4c672894 [wpt PR 32046] - [selectmenu] Update input/change firing, a=testonly https://hg.mozilla.org/integration/autoland/rev/81a5fa6e39fb [wpt PR 32046] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.