Update content model for customizable select
Closed
JO
1y ago+274+274+012345678901234567890123456789-55-55-01234567890123456789
This PR updates the content model for the <select>, <option>, and <optgroup> elements in support of customizable <select>.
The major additions are:
<select>and<optgroup>can contain<div>elements.<option>elements can contain<div>and non-interactive phrasing content.<optgroup>can have a child<legend>to represent its label.
Fixes https://github.com/whatwg/html/issues/10317
- At least two implementers are interested (and none opposed):
- Tests are written and can be reviewed and commented upon at:
- Implementation bugs are filed:
- MDN issue is filed: https://github.com/mdn/content/issues/37857
- The top of this comment includes a clear commit message to use.
(See WHATWG Working Mode: Changes for more details.)
/dom.html ( diff )
/form-elements.html ( diff )
/grouping-content.html ( diff )
/index.html ( diff )
/indices.html ( diff )
/rendering.html ( diff )
/scripting.html ( diff )
/text-level-semantics.html ( diff )