Closed Bug 1876181 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44154 - Render <button> and <datalist> in <select>

Categories

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

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Render <button> and <datalist> in <select>

Now that the HTML parser allows \<button> and \<datalist> in \<select>,
this patch modifies the UA shadowroot of \<select> to slot the \<button>
and \<datalist> and render them. If a \<button> is provided with no
\<datalist>, then the native popup is used. If a \<datalist> is provided
with no \<button>, then the native button is used.

Bug: 1511354
Change-Id: I36f88f73949aa2cba502231ed2d68c1738e47946

Reviewed-on: https://chromium-review.googlesource.com/5230929
WPT-Export-Revision: a1f57ecfda2694184f8ded0e4bb81dbf1612ca13

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/36e918aa7f29 [wpt PR 44154] - Render <button> and <datalist> in <select>, a=testonly https://hg.mozilla.org/integration/autoland/rev/70e8f0a754db [wpt PR 44154] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.