Closed Bug 1850038 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41622 - selectlist: add copydom attribute to <selectedvalue>

Categories

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

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

selectlist: add copydom attribute to <selectedvalue>

The copydom attribute on \<selectedvalue> will make the parent
\<selectlist> start using cloneNode() on the selected \<option>, rather
than textContent, to populate the selectedvalue. This use case has been
discussed here: https://github.com/openui/open-ui/issues/571

We aren't sure yet if this will be the path forward, but prototyping it
and getting feedback will help move this issue forward.

Bug: 1121840
Change-Id: Ia7c007b2193a8a0777295e299b57704d72832056

Reviewed-on: https://chromium-review.googlesource.com/4810996
WPT-Export-Revision: ce266b6aa36323b81fbadac13181e2d953a9e951

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5e16c06a7362 [wpt PR 41622] - selectlist: Make <selectedoption> cloneNode all contents, a=testonly https://hg.mozilla.org/integration/autoland/rev/1719187e5883 [wpt PR 41622] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.