mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Implement HTMLTextArea.setSelectionRange
This commit is contained in:
parent
db4481b450
commit
5e863f2eb8
7 changed files with 150 additions and 178 deletions
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue