diff --git a/index b/index index 8dd7d178661..43a02568c36 100644 --- a/index +++ b/index @@ -27436,6 +27436,23 @@ function AddCloud(data, x, y) { ... }

Each input element has a value. +

Each input element has a boolean mutability flag. When + it is true, the element is said to be mutable, and when it is false the + element is immutable. Unless otherwise + specified, an input element is always + mutable. + +

When an input element is disabled, it is immutable. + +

The readonly attribute + can also make an input element immutable. +

Each input element has a boolean dirty flag, which must be initially set to false when the element is created, and which must be set to true whenever the user @@ -27520,13 +27537,14 @@ function AddCloud(data, x, y) { ... }

When an input element's type attribute is in - the Text state, it - represents a text edit control for a single line of plain text. + the Text state, the + element represents a text edit control for a single line of plain text.

The Text state's control initialization algorithm is as follows: Run the line feed stripper - algorithm. + algorithm.

+

The Text state's default value change algorithm is as @@ -27541,14 +27559,14 @@ function AddCloud(data, x, y) { ... } removing any U+000A LINE FEED (LF) characters from value. -

User agents must not allow users to insert U+000A LINE FEED (LF) - characters into the value of - an input element whose If an input element whose type attribute is in - the Text state.

- - -

... + the Text state is mutable, its value should be editable by the + user. User agents must not allow users to insert U+000A LINE FEED (LF) + characters into the value of + such input elements.

When an input element's type attribute is in @@ -27562,16 +27580,15 @@ function AddCloud(data, x, y) { ... } title=attr-input-maxlength>maxlength, pattern, readonly, required, size, and value. + title=attr-input-required>required, and size.

When an input element's type attribute is in the Text state, the - following attributes must not be specified: accept, alt, accept, alt, checked, max, min,

Each input element has a value.

+

Each input element has a boolean mutability flag. When it is + true, the element is said to be mutable, and when it is + false the element is immutable. Unless + otherwise specified, an input element is always mutable.

+ +

When an input element is disabled, it is immutable.

+ +

The readonly attribute can also make + an input element immutable.

+

Each input element has a boolean dirty flag, which must be initially set to false when the element is created, and which must be set to true whenever the user interacts @@ -24573,14 +24591,16 @@ function AddCloud(data, x, y) { ... }

When an input element's type attribute is in the Text state, it represents a text - edit control for a single line of plain text.

+ title="attr-input-type-text">Text state, the element + represents a text edit control for a single line of plain text.

The Text state's control initialization algorithm is as follows: Run the line feed stripper algorithm.

+ +

The Text state's default value change algorithm is as follows: If the input element is not @@ -24593,15 +24613,14 @@ function AddCloud(data, x, y) { ... } any U+000A LINE FEED (LF) characters from value.

-

User agents must not allow users to insert U+000A LINE FEED (LF) - characters into the value of - an input element whose If an input element whose type attribute is in the Text state.

- - - -

...

+ title="attr-input-type-text">Text state is mutable, its value should be editable by the + user. User agents must not allow users to insert U+000A LINE FEED + (LF) characters into the value + of such input elements.

When an input element's type attribute is in the maxlength, pattern, readonly, - required, - size, and - value.

+ required, and + size.

When an input element's type attribute is in the Text state, the following - attributes must not be specified: + attributes must not be specified and do not apply: accept, alt, checked,