diff --git a/source b/source
index dce024a305f..aee32f7adb0 100644
--- a/source
+++ b/source
@@ -12975,6 +12975,55 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
+
Select element inner content elements
+
+ Select element inner content elements are the elements which are allowed as
+ descendants of select
elements.
+
+ The following are select element inner content elements:
+
+
+ option
+
+ optgroup
+
+ hr
+
+ - script-supporting elements
+
+ noscript
+
+ div
+
+
+ Optgroup element inner content elements
+
+ Optgroup element inner content elements are the elements which are allowed as
+ descendants of optgroup
elements.
+
+ The following are optgroup element inner content elements:
+
+
+ option
+
+ - script-supporting elements
+
+ noscript
+
+ div
+
+
+ Option element inner content elements
+
+
+
+ Option element inner content elements are div
and phrasing
+ content, but there must be no descendants which are datalist
,
+ object
, or interactive content, and no descendants may have the tabindex
attribute specified.
+
+
Transparent content models
@@ -19978,6 +20027,7 @@ and is further discussed below.</div>
- Categories:
- Flow content.
+ - Select element inner content elements.
- Contexts in which this element can be used:
- Where flow content is expected.
- As a child of a
select
element.
@@ -21712,12 +21762,18 @@ included with Exhibit B.
- Categories:
- Flow content.
- Palpable content.
+ - Select element inner content elements.
+ - Optgroup element inner content elements.
+ - Option element inner content elements.
- Contexts in which this element can be used:
- Where flow content is expected.
- As a child of a
dl
element.
- Content model:
- If the element is a child of a
dl
element: one or more dt
elements followed by one or more dd
elements, optionally intermixed with script-supporting elements.
- - If the element is not a child of a
dl
element: flow content.
+ - Otherwise, if the element is a descendant of an
option
element: Zero or more option element inner content elements.
+ - Otherwise, if the element is a descendant of an
optgroup
element: Zero or more optgroup element inner content elements.
+ - Otherwise, if the element is a descendant of a
select
element: Zero or more select element inner content elements.
+ - Otherwise: flow content.
- Content attributes:
- Global attributes
- </p>
- Flow content.
- Phrasing content.
- Palpable content.
+ - Select element inner content elements.
+ - Optgroup element inner content elements.
+ - Option element inner content elements.
- Contexts in which this element can be used:
- Where phrasing content is expected.
- Content model:
- - Phrasing content.
+ - If the element is a descendant of an
option
element: Zero or more option element inner content elements.
+ - Otherwise: Phrasing content.
- Content attributes:
- Global attributes
- HTMLSourceElement : HTMLElement {
- Form-associated element.
- If the element has a
usemap
attribute: Interactive content.
- Palpable content.
+ - Option element inner content elements.
- Contexts in which this element can be used:
- Where embedded content is expected.
- As a child of a
picture
element, after all source
elements.
@@ -42520,8 +42581,9 @@ interface HTMLAreaElement : HTMLElement {
SVG
The SVG svg
element falls into the embedded content,
- phrasing content, flow content, and palpable content
- categories for the purposes of the content models in this specification.
+ phrasing content, flow content, palpable content, and
+ option element inner content elements categories for the purposes of the content
+ models in this specification.
When the SVG foreignObject
element contains elements from the
HTML namespace, such elements must all be flow content.
@@ -53194,6 +53256,7 @@ You cannot submit this form when the field is incorrect.
- Palpable content.
- Contexts in which this element can be used:
- Where phrasing content is expected.
+ - As the first child of a
select
element.
- Content model:
- Phrasing content, but there must be no interactive content
descendant and no descendant with the
tabindex
attribute
@@ -53410,7 +53473,7 @@ interface HTMLButtonElement : HTMLElement {
- Contexts in which this element can be used:
- Where phrasing content is expected.
- Content model:
- - Zero or more
option
, optgroup
, hr
, and script-supporting elements.
+ - Zero or one
button
element if the select
is a drop-down box followed by zero or more select element inner content elements.
- Content attributes:
- Global attributes
autocomplete
@@ -54137,11 +54200,11 @@ interface HTMLDataListElement : HTMLElement {
- Categories:
- - None.
+ - Select element inner content elements.
- Contexts in which this element can be used:
- - As a child of a
select
element.
+ - As a descendant of a
select
element.
- Content model:
- - Zero or more
option
and script-supporting elements.
+ - Zero or one
legend
element followed by zero or more optgroup element inner content elements.
- Content attributes:
- Global attributes
disabled
@@ -54234,17 +54297,18 @@ interface HTMLOptGroupElement : HTMLElement {
- Categories:
- - None.
+ - Select element inner content elements.
+ - Optgroup element inner content elements.
- Contexts in which this element can be used:
- - As a child of a
select
element.
+ - As a descendant of a
select
element.
- As a child of a
datalist
element.
- - As a child of an
optgroup
element.
+ - As a descendant of an
optgroup
element.
- Content model:
- If the element has a
label
attribute and a value
attribute: Nothing.
- If the element has a
label
attribute but no value
attribute: Text.
- If the element has no
label
attribute and is not a
- child of a datalist
element: Text that is not
- inter-element whitespace.
+ child of a datalist
element: Zero or more option element inner content
+ elements.
- If the element has no
label
attribute and is a child
of a datalist
element: Text.
- Content attributes:
@@ -55980,8 +56044,9 @@ interface HTMLFieldSetElement : HTMLElement {
- None.
- Contexts in which this element can be used:
- As the first child of a
fieldset
element.
+ - As the first child of an
optgroup
element.
- Content model:
- - Phrasing content, optionally intermixed with heading content.
+ - Phrasing content, optionally intermixed with heading content if this is not the first child of an
optgroup
element.
- Content attributes:
- Global attributes
- Metadata content.
- Flow content.
- Phrasing content.
+ - Select element inner content elements.
+ - Option element inner content elements.
+ - Optgroup element inner content elements.
- Contexts in which this element can be used:
- In a
head
element of an HTML document, if there are no ancestor noscript
elements.
- Where phrasing content is expected in HTML documents, if there are no ancestor
noscript
elements.
@@ -140460,6 +140528,8 @@ interface External {
HTMLElement |
+
select |
List box control |