diff --git a/source b/source index 09dd30cf401..32b9fa5afbb 100644 --- a/source +++ b/source @@ -47657,8 +47657,9 @@ interface HTMLInputElement : HTMLElement {

The reset algorithm for input - elements is to set the user interacted, dirty value - flag, and dirty checkedness flag + elements is to set its user validity, + dirty value flag, and + dirty checkedness flag back to false, set the value of the element to the value of the value content attribute, if there is one, or the empty string otherwise, set the checkedness of the @@ -52602,7 +52603,7 @@ You cannot submit this form when the field is incorrect. data-x="dom-Event-bubbles">bubbles and composed attributes initialized to true, and any time the user commits the change, the user agent must queue an element task on the user interaction task source given the - input element to set its user interacted to true and input element to set its user validity to true and fire an event named change at the input element, with the bubbles attribute initialized to true.

@@ -53171,7 +53172,7 @@ interface HTMLSelectElement : HTMLElement { element to run these steps:

    -
  1. Set the select element's user interacted to true.
  2. +
  3. Set the select element's user validity to true.
  4. Fire an event named input at the select element, with the HTMLSelectElement : HTMLElement { element selectElement is:

      -
    1. Set selectElement's user interacted to false.

    2. +
    3. Set selectElement's user validity to false.

    4. For each optionElement of @@ -54161,7 +54162,7 @@ interface HTMLTextAreaElement : HTMLElement { content.

      The reset algorithm for textarea - elements is to set the user interacted to false, user validity to false, dirty value flag back to false, and set the raw value of element to its child text content.

      @@ -55562,8 +55563,8 @@ interface HTMLLegendElement : HTMLElement { default value. If it is false, value mirrors the default value. If it is true, the default value is ignored.

      -

      input, textarea and select elements have a user - interacted boolean. It is initially set to false.

      +

      input, textarea and select elements have a + user validity boolean. It is initially set to false.

      To define the behavior of constraint validation in the face of the input element's multiple attribute, input elements @@ -59222,6 +59223,10 @@ fur

    5. Set form's firing submission events to true.

    6. +
    7. For each element field in the list of + submittable elements whose form owner is + form, set field's user validity to true. +

    8. If the submitter element's no-validate state is false, then interactively validate the constraints of @@ -59263,7 +59268,7 @@ fur form.

    9. Let entry list be the result of constructing the entry list with - form, submitter, encoding, and true.

    10. + form, submitter, and encoding.

    11. Assert: entry list is not null.

    12. @@ -59644,8 +59649,8 @@ fur

      To construct the entry list given a form, an - optional submitter (default null), an optional encoding (default - UTF-8), and an optional setUserInteracted (default false): + optional submitter (default null), and an optional encoding (default + UTF-8):

      1. If form's constructing entry list is true, then return @@ -59662,9 +59667,6 @@ fur

        For each element field in controls, in tree order:

          -
        1. If setUserInteracted is true, then set field's user - interacted to true.

        2. -
        3. If any of the following are true:

          @@ -74039,19 +74041,19 @@ Demos:
          :user-valid

          The :user-valid pseudo-class must - match input, textarea, and select elements that have - their user interacted set to true, are candidates for constraint validation, and that satisfy their constraints.

          + match input, textarea, and select elements whose + user validity is true, are + candidates for constraint validation, + and that satisfy their constraints.

          :user-invalid

          The :user-invalid pseudo-class must - match input, textarea, and select elements that have - their user interacted set to true, are candidates for constraint validation but do not satisfy their constraints.

          + match input, textarea, and select elements whose + user validity is true, are + candidates for constraint validation + but do not satisfy their constraints.

          :in-range
          @@ -79619,7 +79621,7 @@ dictionary ToggleEventInit : EventInit { control was first focused), then:

            -
          1. Set entry's user interacted to true.

          2. +
          3. Set entry's user validity to true.

          4. Fire an event named change at the element, with the