diff --git a/source b/source index c674496762c..4c67344ea69 100644 --- a/source +++ b/source @@ -56317,14 +56317,34 @@ interface HTMLSelectElement : HTMLElement { tree order that is not disabled, if any, to true, and return.

-
  • If element's multiple attribute is - absent, and two or more option elements in element's list of options have their selectedness set to true, then set the selectedness of all but the last option - element with its selectedness set to true in - the list of options in tree order - to false.

  • +
  • +

    If element has the multiple attribute, + then return.

    + +
  • Let lastSeen be false.

  • + +
  • +

    For each option in element's list of options in reverse order:

    + +
      +
    1. +

      If option's selectedness + is true:

      + +
        +
      1. If option's cached nearest ancestor select + element is null, then continue.

      2. + +
      3. If lastSeen is false, then set lastSeen to true and + continue.

      4. + +
      5. Set option's selectedness to false.

      6. +
      +
    2. +
    +