| Index: LayoutTests/imported/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
|
| diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt b/LayoutTests/imported/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..142bd318914277f320d25e69945223c0452596fd
|
| --- /dev/null
|
| +++ b/LayoutTests/imported/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
|
| @@ -0,0 +1,43 @@
|
| +This is a testharness.js-based test.
|
| +PASS test of input.setSelectionRange
|
| +PASS input typeof(input.setSelectionRange)'
|
| +PASS input setSelectionRange return void
|
| +PASS input setSelectionRange(0,1)
|
| +PASS input setSelectionRange(0,input.value.length+1)
|
| +PASS input setSelectionRange(2,2)
|
| +PASS input setSelectionRange(2,1)
|
| +PASS input direction of setSelectionRange(0,1,"backward")
|
| +PASS input direction of setSelectionRange(0,1,"forward")
|
| +PASS input direction of setSelectionRange(0,1,"none")
|
| +PASS input direction of setSelectionRange(0,1,"hoge")
|
| +PASS input direction of setSelectionRange(0,1,"BACKWARD")
|
| +PASS input direction of setSelectionRange(0,1)
|
| +PASS input setSelectionRange("string",1)
|
| +PASS input setSelectionRange(true,1)
|
| +PASS input setSelectionRange([],1)
|
| +PASS input setSelectionRange({},1)
|
| +PASS input setSelectionRange(NaN,1)
|
| +PASS input setSelectionRange(null,1)
|
| +PASS input setSelectionRange(undefined,1)
|
| +PASS test of textarea.setSelectionRange
|
| +PASS textarea typeof(input.setSelectionRange)'
|
| +PASS textarea setSelectionRange return void
|
| +PASS textarea setSelectionRange(0,1)
|
| +PASS textarea setSelectionRange(0,textarea.value.length+1)
|
| +PASS textarea setSelectionRange(2,2)
|
| +PASS textarea setSelectionRange(2,1)
|
| +PASS textarea direction of setSelectionRange(0,1,"backward")
|
| +PASS textarea direction of setSelectionRange(0,1,"forward")
|
| +PASS textarea direction of setSelectionRange(0,1,"none")
|
| +PASS textarea direction of setSelectionRange(0,1,"hoge")
|
| +PASS textarea direction of setSelectionRange(0,1,"BACKWARD")
|
| +PASS textarea direction of setSelectionRange(0,1)
|
| +FAIL textarea setSelectionRange("string",1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +PASS textarea setSelectionRange(true,1)
|
| +FAIL textarea setSelectionRange([],1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +FAIL textarea setSelectionRange({},1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +FAIL textarea setSelectionRange(NaN,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +FAIL textarea setSelectionRange(null,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +FAIL textarea setSelectionRange(undefined,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
|
| +Harness: the test ran to completion.
|
| +
|
|
|