Open Bug 2097374 Opened 5 days ago Updated 3 days ago

Support for selectedcontent element in select multiple

Categories

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

task

Tracking

()

UNCONFIRMED

People

(Reporter: jarhar, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/159.0.0.0 Safari/537.36

Steps to reproduce

Use a selectedcontent element inside of a multi-select like this:

<select multiple size=1>
  <button>
    <selectedcontent></selectedcontent>
  </button>
  <option>one</option>
  <option>two</option>
  <option>three</option>
</select>

Actual results

The selectedcontent element does not get any options cloned into it.

Expected results

The selectedcontent element should contain each cloned option element with its selectedness kept in sync.

Spec PR: https://github.com/whatwg/html/pull/12430
Standards position: https://github.com/mozilla/standards-positions/issues/1420

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

This seems like something you know about maybe :jjaschke

Flags: needinfo?(jjaschke)

Yep, that'll be a new feature we'll implement soon.

Type: defect → task
Flags: needinfo?(jjaschke)
You need to log in before you can comment on or make changes to this bug.