textfieldselection-setRangeText.html

PASSExpected88 of 88 subtests pass356 ms

Details

Test
/html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html
Harness
OK

Subtests

StatusSubtestMessage
PASStext setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASStext selectionMode missing
PASStext selectionMode 'select'
PASStext selectionMode 'start'
PASStext selectionMode 'end'
PASStext selectionMode 'preserve'
PASStext setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASStext setRangeText without argument throws a type error
PASStext setRangeText fires a select event
PASStext setRangeText fires a select event when fully selected
PASStext setRangeText fires a select event after select()
PASSsearch setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASSsearch selectionMode missing
PASSsearch selectionMode 'select'
PASSsearch selectionMode 'start'
PASSsearch selectionMode 'end'
PASSsearch selectionMode 'preserve'
PASSsearch setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASSsearch setRangeText without argument throws a type error
PASSsearch setRangeText fires a select event
PASSsearch setRangeText fires a select event when fully selected
PASSsearch setRangeText fires a select event after select()
PASStel setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASStel selectionMode missing
PASStel selectionMode 'select'
PASStel selectionMode 'start'
PASStel selectionMode 'end'
PASStel selectionMode 'preserve'
PASStel setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASStel setRangeText without argument throws a type error
PASStel setRangeText fires a select event
PASStel setRangeText fires a select event when fully selected
PASStel setRangeText fires a select event after select()
PASSurl setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASSurl selectionMode missing
PASSurl selectionMode 'select'
PASSurl selectionMode 'start'
PASSurl selectionMode 'end'
PASSurl selectionMode 'preserve'
PASSurl setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASSurl setRangeText without argument throws a type error
PASSurl setRangeText fires a select event
PASSurl setRangeText fires a select event when fully selected
PASSurl setRangeText fires a select event after select()
PASSpassword setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASSpassword selectionMode missing
PASSpassword selectionMode 'select'
PASSpassword selectionMode 'start'
PASSpassword selectionMode 'end'
PASSpassword selectionMode 'preserve'
PASSpassword setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASSpassword setRangeText without argument throws a type error
PASSpassword setRangeText fires a select event
PASSpassword setRangeText fires a select event when fully selected
PASSpassword setRangeText fires a select event after select()
PASSdisplay_none setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASSdisplay_none selectionMode missing
PASSdisplay_none selectionMode 'select'
PASSdisplay_none selectionMode 'start'
PASSdisplay_none selectionMode 'end'
PASSdisplay_none selectionMode 'preserve'
PASSdisplay_none setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASSdisplay_none setRangeText without argument throws a type error
PASSdisplay_none setRangeText fires a select event
PASSdisplay_none setRangeText fires a select event when fully selected
PASSdisplay_none setRangeText fires a select event after select()
PASStextarea setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASStextarea selectionMode missing
PASStextarea selectionMode 'select'
PASStextarea selectionMode 'start'
PASStextarea selectionMode 'end'
PASStextarea selectionMode 'preserve'
PASStextarea setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASStextarea setRangeText without argument throws a type error
PASStextarea setRangeText fires a select event
PASStextarea setRangeText fires a select event when fully selected
PASStextarea setRangeText fires a select event after select()
PASSinput_not_in_doc setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
PASSinput_not_in_doc selectionMode missing
PASSinput_not_in_doc selectionMode 'select'
PASSinput_not_in_doc selectionMode 'start'
PASSinput_not_in_doc selectionMode 'end'
PASSinput_not_in_doc selectionMode 'preserve'
PASSinput_not_in_doc setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
PASSinput_not_in_doc setRangeText without argument throws a type error
PASSinput_not_in_doc setRangeText fires a select event
PASSinput_not_in_doc setRangeText fires a select event when fully selected
PASSinput_not_in_doc setRangeText fires a select event after select()