diff --git a/source b/source index 5a676ad0c23..ed25380f942 100644 --- a/source +++ b/source @@ -59147,9 +59147,8 @@ interface HTMLSelectedContentElement : HTMLElementselect's selected option element.

-

Every selectedcontent element has a disabled state, which is a boolean, initially set to - false.

+

Every selectedcontent element has a boolean disabled, which is initially false.

To update a select's selectedcontent given a @@ -59187,8 +59186,8 @@ interface HTMLSelectedContentElement : HTMLElementdescendant of select in tree order if any such element exists; otherwise return null.

-
  • If selectedcontent is disabled, - then return null.

  • +
  • If selectedcontent's disabled is + true, then return null.

  • Return selectedcontent.

  • @@ -59262,10 +59261,8 @@ interface HTMLSelectedContentElement : HTMLElement
  • Let nearestSelectAncestor be null.

  • -
  • Let ancestor be selectedcontent's parent.

  • -
  • Set selectedcontent's disabled - state to false.

  • + to false.

  • For each ancestor of selectedcontent's HTMLSelectedContentElement : HTMLElement

  • If nearestSelectAncestor is null, then set nearestSelectAncestor - to select.

  • + to select and continue.

    -
  • Otherwise, set selectedcontent's disabled state to true.

  • +
  • Set selectedcontent's disabled to true and break.

  • If ancestor is an option element or a selectedcontent element, then set selectedcontent's disabled state to true.

  • + data-x="selectedcontent-disabled">disabled
    to true and break.

    -
  • If nearestSelectAncestor is null or nearestSelectAncestor has the +

  • If selectedcontent's disabled is + true, nearestSelectAncestor is null, or nearestSelectAncestor has the multiple attribute, then return.

  • Run update a select's selectedcontent given @@ -59306,6 +59304,9 @@ interface HTMLSelectedContentElement : HTMLElementselectedcontent and oldParent, are:

      +
    1. If selectedcontent's disabled is + true, then return.

    2. +
    3. For each ancestor of selectedcontent's ancestors, in reverse tree order: