diff --git a/source b/source index 1fe9accf30b..723b7ee0c88 100644 --- a/source +++ b/source @@ -48644,6 +48644,9 @@ You cannot submit this form when the field is incorrect.
On setting:
Let oldValue be the element's value.
Set the element's value to the new value.
Invoke the value sanitization algorithm, if the element's type
attribute's current state defines one.
If the element has a text entry cursor position, move the text entry cursor position to
- the end of the text control, unselecting any selected text and resetting the selection direction to "none
".
If the new value is different from oldValue and the element has a text entry
+ cursor position, move the text entry cursor position to the end of the text control,
+ unselecting any selected text and resetting the
+ selection direction to "none
".
Let oldAPIValue be this element's API value.
Set this element's raw value to the new value.
Set this element's dirty value flag to true.
Move the text entry cursor position to the end of the text control, unselecting any
- selected text and resetting the selection
- direction to "none
".
If the new API value is different from
+ oldAPIValue, then move the text entry cursor position to the end of the text control,
+ unselecting any selected text and resetting the
+ selection direction to "none
".
The textLength
IDL attribute must