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.
select
element's user interacted to true.select
element's user validity to true.Fire an event named input
at the select
element, with the HTMLSelectElement : HTMLElement {
element selectElement is:
Set selectElement's user interacted to false.
Set selectElement's user validity to false.
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.
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
Set form's firing submission events to true.
For each element field in the list of + submittable elements whose form owner is + form, set field's user validity to true. +
If the submitter element's no-validate state is false, then interactively validate the constraints of @@ -59263,7 +59268,7 @@ fur form.
Let entry list be the result of constructing the entry list with - form, submitter, encoding, and true.
Assert: entry list is not null.
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):
If form's constructing entry list is true, then return @@ -59662,9 +59667,6 @@ fur
For each element field in controls, in tree order:
If setUserInteracted is true, then set field's user - interacted to true.
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.
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.
input
, textarea
, and select
elements whose
+ user validity is true, are
+ candidates for constraint validation
+ but do not satisfy their constraints.
:in-range
Set entry's user interacted to true.
Set entry's user validity to true.
Fire an
event named change
at the element, with the