diff --git a/source b/source index 877761a9424..f6904cb08c8 100644 --- a/source +++ b/source @@ -56161,13 +56161,19 @@ interface HTMLSelectElement : HTMLElement {
To get the list of options given a
- select
element select:
The list of options for a
+ select
element select is the result of running descendant
+ option
elements given select.
To get the descendant option
elements of an HTML element element:
Let options be « ».
Let node be the first child of select in tree
+ Let node be the first child of element in tree
order. node is an node is an option
element;optgroup
element and node has an
- ancestor optgroup
in between itself and select,optgroup
in between itself and
+ element,
then set node to the next descendant of select in +
then set node to the next descendant of element in tree order, excluding node's descendants, if any such node exists; otherwise null.
-Otherwise, set node to the next descendant of select in +
Otherwise, set node to the next descendant of element in tree order, if any such node exists; otherwise null.
HTMLOptGroupElement
.The optgroup
element represents a group of option
- elements with a common label.
The optgroup
element represents a group of option
elements with a common label.
The element's group of option
elements consists of the option
- elements that are children of the optgroup
element.
An optgroup
's group of option
elements, given an
+ optgroup
element optgroup, is the result of running descendant
+ option
elements given optgroup.
The disabled
attribute is a boolean
- attribute and can be used to disable a group
- of option
elements together.
optgroup
's group of option
elements together.
The label
attribute must be specified if the optgroup
has no child legend