Closed Bug 2086924 Opened 1 month ago Closed 19 days ago

[wpt-sync] Sync PR 64011 - Open select picker when clicking associated label

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Open select picker when clicking associated label

When a \<label> associated with a \<select> is clicked,
HTMLLabelElement::DefaultEventHandlerInternal dispatches a simulated
click event on the \<select> with an UnderlyingEvent. Handle trusted
simulated click events in MenuListSelectType::DefaultEventHandler by
opening the select popup.

Fixed: 565410880
Change-Id: I63438356f2a7cc87d0e174b779517d6188b01e54
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8495348
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1726145}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 276 tests

Status Summary

Firefox

OK : 3[GitHub] 153[Gecko-android-em-14-x86_64-debug-geckoview] 154[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]
PASS: 2[GitHub] 20[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 456[Gecko-windows11-32-25h2-opt] 457[Gecko-windows11-32-25h2-debug] 468[Gecko-android-em-14-x86_64-debug-geckoview] 476[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 499[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 500[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 16[GitHub] 157[Gecko-windows11-32-25h2-debug] 158[Gecko-windows11-32-25h2-opt] 187[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] 216[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 217[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]

Chrome

OK : 3
PASS: 9
FAIL: 9

Safari

OK : 3
PASS: 5
FAIL: 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 19 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: