selection-not-application.html

FAILExpected63 of 71 subtests pass346 ms

Details

Test
/html/semantics/forms/textfieldselection/selection-not-application.html
Harness
OK

Subtests

StatusSubtestMessage
FAILselectionStart on an input[type=] returns null
assert_equals: expected (object) null but got (number) 0
assert_equals: expected (object) null but got (number) 0
FAILselectionEnd on an input[type=] returns null
assert_equals: expected (object) null but got (number) 0
assert_equals: expected (object) null but got (number) 0
FAILselectionDirection on an input[type=] returns null
assert_equals: expected (object) null but got (string) "none"
assert_equals: expected (object) null but got (string) "none"
FAILassigning selectionStart on an input[type=] throws InvalidStateError
assert_throws_dom: function "function(){ el.selectionStart = 0; }" did not throw
assert_throws_dom: function "function(){ el.selectionStart = 0; }" did not throw
FAILassigning selectionEnd on an input[type=] throws InvalidStateError
assert_throws_dom: function "function(){ el.selectionEnd = 0; }" did not throw
assert_throws_dom: function "function(){ el.selectionEnd = 0; }" did not throw
FAILassigning selectionDirection on an input[type=] throws InvalidStateError
assert_throws_dom: function "function(){ el.selectionDirection = 'none'; }" did not throw
assert_throws_dom: function "function(){ el.selectionDirection = 'none'; }" did not throw
FAILsetRangeText on an input[type=] throws InvalidStateError
assert_throws_dom: function "function(){ el.setRangeText("foobar"); }" did not throw
assert_throws_dom: function "function(){ el.setRangeText("foobar"); }" did not throw
FAILsetSelectionRange on an input[type=] throws InvalidStateError
assert_throws_dom: function "function(){ el.setSelectionRange(0, 1); }" did not throw
assert_throws_dom: function "function(){ el.setSelectionRange(0, 1); }" did not throw
PASSselectionStart on an input[type=text] returns a value
PASSselectionEnd on an input[type=text] returns a value
PASSselectionDirection on an input[type=text] returns a value
PASSassigning selectionDirection "none" on an input[type=text] should give the initial direction
PASSassigning selectionStart on an input[type=text] doesn't throw an exception
PASSassigning selectionEnd on an input[type=text] doesn't throw an exception
PASSassigning selectionDirection on an input[type=text] doesn't throw an exception
PASSsetRangeText on an input[type=text] doesn't throw an exception
PASSsetSelectionRange on an input[type=text] doesn't throw an exception
PASSselectionStart on an input[type=search] returns a value
PASSselectionEnd on an input[type=search] returns a value
PASSselectionDirection on an input[type=search] returns a value
PASSassigning selectionDirection "none" on an input[type=search] should give the initial direction
PASSassigning selectionStart on an input[type=search] doesn't throw an exception
PASSassigning selectionEnd on an input[type=search] doesn't throw an exception
PASSassigning selectionDirection on an input[type=search] doesn't throw an exception
PASSsetRangeText on an input[type=search] doesn't throw an exception
PASSsetSelectionRange on an input[type=search] doesn't throw an exception
PASSselectionStart on an input[type=tel] returns a value
PASSselectionEnd on an input[type=tel] returns a value
PASSselectionDirection on an input[type=tel] returns a value
PASSassigning selectionDirection "none" on an input[type=tel] should give the initial direction
PASSassigning selectionStart on an input[type=tel] doesn't throw an exception
PASSassigning selectionEnd on an input[type=tel] doesn't throw an exception
PASSassigning selectionDirection on an input[type=tel] doesn't throw an exception
PASSsetRangeText on an input[type=tel] doesn't throw an exception
PASSsetSelectionRange on an input[type=tel] doesn't throw an exception
PASSselectionStart on an input[type=url] returns a value
PASSselectionEnd on an input[type=url] returns a value
PASSselectionDirection on an input[type=url] returns a value
PASSassigning selectionDirection "none" on an input[type=url] should give the initial direction
PASSassigning selectionStart on an input[type=url] doesn't throw an exception
PASSassigning selectionEnd on an input[type=url] doesn't throw an exception
PASSassigning selectionDirection on an input[type=url] doesn't throw an exception
PASSsetRangeText on an input[type=url] doesn't throw an exception
PASSsetSelectionRange on an input[type=url] doesn't throw an exception
PASSselectionStart on an input[type=password] returns a value
PASSselectionEnd on an input[type=password] returns a value
PASSselectionDirection on an input[type=password] returns a value
PASSassigning selectionDirection "none" on an input[type=password] should give the initial direction
PASSassigning selectionStart on an input[type=password] doesn't throw an exception
PASSassigning selectionEnd on an input[type=password] doesn't throw an exception
PASSassigning selectionDirection on an input[type=password] doesn't throw an exception
PASSsetRangeText on an input[type=password] doesn't throw an exception
PASSsetSelectionRange on an input[type=password] doesn't throw an exception
PASSselectionStart on an input[type=aninvalidtype] returns a value
PASSselectionEnd on an input[type=aninvalidtype] returns a value
PASSselectionDirection on an input[type=aninvalidtype] returns a value
PASSassigning selectionDirection "none" on an input[type=aninvalidtype] should give the initial direction
PASSassigning selectionStart on an input[type=aninvalidtype] doesn't throw an exception
PASSassigning selectionEnd on an input[type=aninvalidtype] doesn't throw an exception
PASSassigning selectionDirection on an input[type=aninvalidtype] doesn't throw an exception
PASSsetRangeText on an input[type=aninvalidtype] doesn't throw an exception
PASSsetSelectionRange on an input[type=aninvalidtype] doesn't throw an exception
PASSselectionStart on an input[type=null] returns a value
PASSselectionEnd on an input[type=null] returns a value
PASSselectionDirection on an input[type=null] returns a value
PASSassigning selectionDirection "none" on an input[type=null] should give the initial direction
PASSassigning selectionStart on an input[type=null] doesn't throw an exception
PASSassigning selectionEnd on an input[type=null] doesn't throw an exception
PASSassigning selectionDirection on an input[type=null] doesn't throw an exception
PASSsetRangeText on an input[type=null] doesn't throw an exception
PASSsetSelectionRange on an input[type=null] doesn't throw an exception