diff --git a/source b/source index 9155017c896..caac6650d84 100644 --- a/source +++ b/source @@ -57891,13 +57891,15 @@ interface HTMLOptionElement : HTMLElement {
  • option's selectedness is true; and

  • -
  • select's enabled - selectedcontent is not null,

  • +
  • select's selectedcontent in valid tree + position is not null,

  • then run clone an option into a selectedcontent given - option and select's enabled - selectedcontent.

    + option and select's selectedcontent in valid tree + position.

    @@ -59740,7 +59742,9 @@ interface HTMLSelectedContentElement : HTMLElementoption element.

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

    + data-x="selectedcontent-in-valid-tree-position">in valid tree position, which is initially + true.

    To update a select's selectedcontent given a @@ -59748,8 +59752,8 @@ interface HTMLSelectedContentElement : HTMLElement

  • Let selectedcontent be the result of get a select's enabled - selectedcontent given select.

  • + data-x="select-enabled-selectedcontent">get a select's selectedcontent + in valid tree position given select.

  • If selectedcontent is null, then return.

  • @@ -59767,8 +59771,9 @@ interface HTMLSelectedContentElement : HTMLElement
    -

    To get a select's enabled - selectedcontent given a select element select:

    +

    To get a select's + selectedcontent in valid tree position given a select element + select:

    1. If select has the multiple @@ -59778,8 +59783,8 @@ interface HTMLSelectedContentElement : HTMLElementdescendant of select in tree order if any such element exists; otherwise return null.

    2. -
    3. If selectedcontent's disabled is - true, then return null.

    4. +
    5. If selectedcontent's in valid tree + position is false, then return null.

    6. Return selectedcontent.

    @@ -59853,8 +59858,8 @@ interface HTMLSelectedContentElement : HTMLElement
  • Let nearestSelectAncestor be null.

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

  • +
  • Set selectedcontent's in valid tree + position to true.

  • For each ancestor of selectedcontent's HTMLSelectedContentElement : HTMLElementselect and continue.

  • Set selectedcontent's disabled to true and break.

  • + data-x="selectedcontent-in-valid-tree-position">in valid tree position
    to false and + break.

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

  • + data-x="selectedcontent-in-valid-tree-position">in valid tree position to false and + break.

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

  • +
  • If selectedcontent's in valid tree + position is false, nearestSelectAncestor is null, or + nearestSelectAncestor has the multiple + attribute, then return.

  • Run update a select's selectedcontent given nearestSelectAncestor.

  • @@ -59896,8 +59904,8 @@ interface HTMLSelectedContentElement : HTMLElementremovedNode, isSubtreeRoot, and oldAncestor are:

      -
    1. If removedNode's disabled is - true, then return.

    2. +
    3. If removedNode's in valid + tree position is false, then return.

    4. For each ancestor of removedNode's