diff --git a/source b/source index 877761a9424..4e56a07dffd 100644 --- a/source +++ b/source @@ -56987,11 +56987,29 @@ interface HTMLOptionElement : HTMLElement {
The disabled
- attribute is a boolean attribute. An option
element is disabled if its disabled
attribute is present or if it is a child of an
- optgroup
element whose disabled
- attribute is present.
option
element option is
+ disabled if the following steps return true:
+
+ If option's disabled
attribute is
+ present, then return true.
For each ancestor of insertedOption's ancestors in reverse tree order:
+ +If ancestor is a select
, hr
, or option
+ element, then return false.
If ancestor is an optgroup
element, then return true if
+ ancestor's disabled
attribute is
+ present, otherwise return false.
Return false.