Closed Bug 1703121 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28377 - [SelectMenu] Allow <option> to render arbitrary content when it is a descendant of <selectmenu>.

Categories

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

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Ionel Popescu <iopopesc@microsoft.com>' wrote:

[SelectMenu] Allow <option> to render arbitrary content when it is a descendant of <selectmenu>.

This CL enables the \<option> element to render arbitrary content when it
is a descendant of \<selectmenu> by adding a default slot that gets
all the \<option>'s children.

We may refine the content allowed under the \<option> as some element
types may not make sense1.

Bug: 1121840, 1196022
Change-Id: I4200d4653e3d1fbebb082c351e0d2374cd1f7312

Reviewed-on: https://chromium-review.googlesource.com/2806116
WPT-Export-Revision: 224f0920bf4b1b01b5467a62f92ac677729e4611

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

CI Results

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

Total 2 tests

Status Summary

Firefox

FAIL : 1
TIMEOUT: 1

Chrome

PASS : 1
TIMEOUT: 1

Safari

PASS : 1
TIMEOUT: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-not-displayed.tentative.html: FAIL

New Tests That Don't Pass

/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-displayed.tentative.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-not-displayed.tentative.html: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2473e85b15a4 [wpt PR 28377] - [SelectMenu] Allow <option> to render arbitrary content when it is a descendant of <selectmenu>., a=testonly https://hg.mozilla.org/integration/autoland/rev/c6ed5ed30733 [wpt PR 28377] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.