Implement HTMLTextArea.setSelectionRange

This commit is contained in:
Alberto Corona 2016-03-15 09:03:05 -05:00 committed by Adrian Utrilla
parent db4481b450
commit 5e863f2eb8
No known key found for this signature in database
GPG key ID: 0B30B0FE149E7525
7 changed files with 150 additions and 178 deletions

View file

@ -1,59 +0,0 @@
[textfieldselection-setSelectionRange.html]
type: testharness
[textarea typeof(input.setSelectionRange)']
expected: FAIL
[textarea setSelectionRange return void]
expected: FAIL
[textarea setSelectionRange(0,1)]
expected: FAIL
[textarea setSelectionRange(0,textarea.value.length+1)]
expected: FAIL
[textarea setSelectionRange(2,2)]
expected: FAIL
[textarea setSelectionRange(2,1)]
expected: FAIL
[textarea direction of setSelectionRange(0,1,"backward")]
expected: FAIL
[textarea direction of setSelectionRange(0,1,"forward")]
expected: FAIL
[textarea direction of setSelectionRange(0,1,"none")]
expected: FAIL
[textarea direction of setSelectionRange(0,1,"hoge")]
expected: FAIL
[textarea direction of setSelectionRange(0,1,"BACKWARD")]
expected: FAIL
[textarea direction of setSelectionRange(0,1)]
expected: FAIL
[textarea setSelectionRange("string",1)]
expected: FAIL
[textarea setSelectionRange(true,1)]
expected: FAIL
[textarea setSelectionRange([\],1)]
expected: FAIL
[textarea setSelectionRange({},1)]
expected: FAIL
[textarea setSelectionRange(NaN,1)]
expected: FAIL
[textarea setSelectionRange(null,1)]
expected: FAIL
[textarea setSelectionRange(undefined,1)]
expected: FAIL