From 40f7a4a6260e6624c489c5afd3cb8c4f508d5070 Mon Sep 17 00:00:00 2001
From: Domenic Denicola 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 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 " 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 "
+
@@ -50625,15 +50629,19 @@ interface HTMLTextAreaElement : HTMLElement {
perform the following steps:type
attribute's current state defines one.none
".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