selection-not-application.html
Details
- Test
/html/semantics/forms/textfieldselection/selection-not-application.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | selectionStart on an input[type=] returns null assert_equals: expected (object) null but got (number) 0 |
| FAIL | selectionEnd on an input[type=] returns null assert_equals: expected (object) null but got (number) 0 |
| FAIL | selectionDirection on an input[type=] returns null assert_equals: expected (object) null but got (string) "none" |
| FAIL | assigning selectionStart on an input[type=] throws InvalidStateError assert_throws_dom: function "function(){
el.selectionStart = 0;
}" did not throw |
| FAIL | assigning selectionEnd on an input[type=] throws InvalidStateError assert_throws_dom: function "function(){
el.selectionEnd = 0;
}" did not throw |
| FAIL | assigning selectionDirection on an input[type=] throws InvalidStateError assert_throws_dom: function "function(){
el.selectionDirection = 'none';
}" did not throw |
| FAIL | setRangeText on an input[type=] throws InvalidStateError assert_throws_dom: function "function(){
el.setRangeText("foobar");
}" did not throw |
| FAIL | setSelectionRange on an input[type=] throws InvalidStateError assert_throws_dom: function "function(){
el.setSelectionRange(0, 1);
}" did not throw |
| PASS | selectionStart on an input[type=text] returns a value |
| PASS | selectionEnd on an input[type=text] returns a value |
| PASS | selectionDirection on an input[type=text] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=text] should give the initial direction |
| PASS | assigning selectionStart on an input[type=text] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=text] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=text] doesn't throw an exception |
| PASS | setRangeText on an input[type=text] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=text] doesn't throw an exception |
| PASS | selectionStart on an input[type=search] returns a value |
| PASS | selectionEnd on an input[type=search] returns a value |
| PASS | selectionDirection on an input[type=search] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=search] should give the initial direction |
| PASS | assigning selectionStart on an input[type=search] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=search] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=search] doesn't throw an exception |
| PASS | setRangeText on an input[type=search] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=search] doesn't throw an exception |
| PASS | selectionStart on an input[type=tel] returns a value |
| PASS | selectionEnd on an input[type=tel] returns a value |
| PASS | selectionDirection on an input[type=tel] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=tel] should give the initial direction |
| PASS | assigning selectionStart on an input[type=tel] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=tel] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=tel] doesn't throw an exception |
| PASS | setRangeText on an input[type=tel] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=tel] doesn't throw an exception |
| PASS | selectionStart on an input[type=url] returns a value |
| PASS | selectionEnd on an input[type=url] returns a value |
| PASS | selectionDirection on an input[type=url] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=url] should give the initial direction |
| PASS | assigning selectionStart on an input[type=url] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=url] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=url] doesn't throw an exception |
| PASS | setRangeText on an input[type=url] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=url] doesn't throw an exception |
| PASS | selectionStart on an input[type=password] returns a value |
| PASS | selectionEnd on an input[type=password] returns a value |
| PASS | selectionDirection on an input[type=password] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=password] should give the initial direction |
| PASS | assigning selectionStart on an input[type=password] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=password] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=password] doesn't throw an exception |
| PASS | setRangeText on an input[type=password] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=password] doesn't throw an exception |
| PASS | selectionStart on an input[type=aninvalidtype] returns a value |
| PASS | selectionEnd on an input[type=aninvalidtype] returns a value |
| PASS | selectionDirection on an input[type=aninvalidtype] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=aninvalidtype] should give the initial direction |
| PASS | assigning selectionStart on an input[type=aninvalidtype] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=aninvalidtype] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=aninvalidtype] doesn't throw an exception |
| PASS | setRangeText on an input[type=aninvalidtype] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=aninvalidtype] doesn't throw an exception |
| PASS | selectionStart on an input[type=null] returns a value |
| PASS | selectionEnd on an input[type=null] returns a value |
| PASS | selectionDirection on an input[type=null] returns a value |
| PASS | assigning selectionDirection "none" on an input[type=null] should give the initial direction |
| PASS | assigning selectionStart on an input[type=null] doesn't throw an exception |
| PASS | assigning selectionEnd on an input[type=null] doesn't throw an exception |
| PASS | assigning selectionDirection on an input[type=null] doesn't throw an exception |
| PASS | setRangeText on an input[type=null] doesn't throw an exception |
| PASS | setSelectionRange on an input[type=null] doesn't throw an exception |