Closed Bug 1731289 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 30704 - [selectmenu] Update option controller code when listbox changes

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Dan Clark <daniec@microsoft.com>' wrote:

[selectmenu] Update option controller code when listbox changes

When a \<selectmenu>'s listbox changes, apply controller code to the
options under the new listbox, and remove it from options under
the old listbox.

Bug: 1121840
Change-Id: Ie3b9569ba3dca8cba63106b9250882d598ba4f57
Reviewed-on: https://chromium-review.googlesource.com/3158952
WPT-Export-Revision: ae9ab3e435da6067b71bf3183b0c665059705ad2

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 7 subtests

Status Summary

Firefox

OK : 1
FAIL: 7

Chrome

OK : 1
PASS: 6
FAIL: 1

Safari

OK : 1
FAIL: 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/semantics/forms/the-selectmenu-element/selectmenu-parts-structure.tentative.html
To receive option part controller code, an element labeled as an option must be a descendant of the listbox part in a flat tree traversal: FAIL (Chrome: PASS, Safari: FAIL)
To receive button part controller code, an element labeled as a button must not be a descendant of the listbox part in a flat tree traversal: FAIL (Chrome: PASS, Safari: FAIL)
To receive listbox part controller code, an element labeled as a listbox must not be a descendant of the button part in a flat tree traversal: FAIL (Chrome: PASS, Safari: FAIL)
Button controller code should be applied in flat tree traversal order regardless of dynamic insertion order: FAIL (Chrome: PASS, Safari: FAIL)
Listbox controller code should be applied in flat tree traversal order regardless of dynamic insertion order: FAIL (Chrome: PASS, Safari: FAIL)
selected-value controller code should be applied in flat tree traversal order regardless of dynamic insertion order: FAIL (Chrome: PASS, Safari: FAIL)
Ensure that option controller code is updated when listbox changes: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59548a1f1ed8
[wpt PR 30704] - [selectmenu] Update option controller code when listbox changes, a=testonly
https://hg.mozilla.org/integration/autoland/rev/96df47b72e33
[wpt PR 30704] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1fdc659255d
[wpt PR 30704] - [selectmenu] Update option controller code when listbox changes, a=testonly
https://hg.mozilla.org/integration/autoland/rev/4d23f556b50c
[wpt PR 30704] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.