selection-start-end.html

PASSExpected45 of 45 subtests pass374 ms

Details

Test
/html/semantics/forms/textfieldselection/selection-start-end.html
Harness
OK

Subtests

StatusSubtestMessage
PASSSanity check for testValue length; if this fails, variou absolute offsets in the test below need to be adjusted to be less than testValue.length
PASSInitial .value set on input-appended should set selectionStart to end of value
PASSInitial .value set on input-not-appended should set selectionStart to end of value
PASSInitial .value set on input-appended-prefocused should set selectionStart to end of value
PASSInitial .value set on input-not-appended-prefocused should set selectionStart to end of value
PASSInitial .value set on textarea-appended should set selectionStart to end of value
PASSInitial .value set on textarea-not-appended should set selectionStart to end of value
PASSInitial .value set on textarea-appended-prefocused should set selectionStart to end of value
PASSInitial .value set on textarea-not-appended-prefocused should set selectionStart to end of value
PASSInitial .value set on input-appended should set selectionEnd to end of value
PASSInitial .value set on input-not-appended should set selectionEnd to end of value
PASSInitial .value set on input-appended-prefocused should set selectionEnd to end of value
PASSInitial .value set on input-not-appended-prefocused should set selectionEnd to end of value
PASSInitial .value set on textarea-appended should set selectionEnd to end of value
PASSInitial .value set on textarea-not-appended should set selectionEnd to end of value
PASSInitial .value set on textarea-appended-prefocused should set selectionEnd to end of value
PASSInitial .value set on textarea-not-appended-prefocused should set selectionEnd to end of value
PASSonselect should fire when selectionStart is changed
PASSonselect should fire when selectionStart is changed on input-appended
PASSonselect should fire when selectionStart is changed on input-not-appended
PASSonselect should fire when selectionStart is changed on input-appended-prefocused
PASSonselect should fire when selectionStart is changed on input-not-appended-prefocused
PASSonselect should fire when selectionStart is changed on textarea-appended
PASSonselect should fire when selectionStart is changed on textarea-not-appended
PASSonselect should fire when selectionStart is changed on textarea-appended-prefocused
PASSonselect should fire when selectionStart is changed on textarea-not-appended-prefocused
PASSonselect should fire when selectionStart is changed on
PASSonselect should fire when selectionEnd is changed
PASSonselect should fire when selectionEnd is changed on input-appended
PASSonselect should fire when selectionEnd is changed on input-not-appended
PASSonselect should fire when selectionEnd is changed on input-appended-prefocused
PASSonselect should fire when selectionEnd is changed on input-not-appended-prefocused
PASSonselect should fire when selectionEnd is changed on textarea-appended
PASSonselect should fire when selectionEnd is changed on textarea-not-appended
PASSonselect should fire when selectionEnd is changed on textarea-appended-prefocused
PASSonselect should fire when selectionEnd is changed on textarea-not-appended-prefocused
PASSonselect should fire when selectionEnd is changed on
PASSSetting selectionStart to a value larger than selectionEnd should increase selectionEnd
PASSSetting selectionEnd to a value smaller than selectionStart should decrease selectionStart
PASSselectionStart edge-case values
PASSselectionEnd edge-case values
PASSselectionStart should be clamped by the current value length
PASSselectionEnd should be clamped by the current value length
PASSsetSelectionRange should be clamped by the current value length
PASSselectionStart and selectionEnd should remain the same when selectionDirection is changed