Move selection to end when textarea value is assigned

Issue #19171
This commit is contained in:
Jon Leighton 2017-11-23 19:21:44 +01:00
parent ac576910d2
commit a7a5babb3a
5 changed files with 44 additions and 56 deletions

View file

@ -3,33 +3,3 @@
[Setting selectionStart to a value larger than selectionEnd should increase selectionEnd]
expected: FAIL
[Setting selectionEnd to a value smaller than selectionStart should decrease selectionStart]
expected: FAIL
[selectionStart edge-case values]
expected: FAIL
[Initial .value set on textarea-appended should set selectionStart to end of value]
expected: FAIL
[Initial .value set on textarea-not-appended should set selectionStart to end of value]
expected: FAIL
[Initial .value set on textarea-appended-prefocused should set selectionStart to end of value]
expected: FAIL
[Initial .value set on textarea-not-appended-prefocused should set selectionStart to end of value]
expected: FAIL
[Initial .value set on textarea-appended should set selectionEnd to end of value]
expected: FAIL
[Initial .value set on textarea-not-appended should set selectionEnd to end of value]
expected: FAIL
[Initial .value set on textarea-appended-prefocused should set selectionEnd to end of value]
expected: FAIL
[Initial .value set on textarea-not-appended-prefocused should set selectionEnd to end of value]
expected: FAIL

View file

@ -36,15 +36,9 @@
[test SelectionStart offset for textarea that is appended]
expected: FAIL
[test SelectionStart offset for textarea that is not appended]
expected: FAIL
[test SelectionEnd offset for input that is appended]
expected: FAIL
[test SelectionEnd offset for textarea that is appended]
expected: FAIL
[test SelectionEnd offset for textarea that is not appended]
expected: FAIL