mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
117 lines
2.5 KiB
INI
117 lines
2.5 KiB
INI
[textfieldselection-setSelectionRange.html]
|
|
type: testharness
|
|
[input typeof(input.setSelectionRange)']
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange return void]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(0,1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(0,input.value.length+1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(2,2)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(2,1)]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1,"backward")]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1,"forward")]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1,"none")]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1,"hoge")]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1,"BACKWARD")]
|
|
expected: FAIL
|
|
|
|
[input direction of setSelectionRange(0,1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange("string",1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(true,1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange([\],1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange({},1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(NaN,1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(null,1)]
|
|
expected: FAIL
|
|
|
|
[input setSelectionRange(undefined,1)]
|
|
expected: FAIL
|
|
|
|
[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
|
|
|