1 This test checks if setSelectionRange(), selectionStart, and selectionEnd on a textarea and input work as expected. This includes checking edge cases such as out-of-bound values.
3 If this test passed you'll see a bunch of correct selection ranges below. Check the expected file for the correct ranges.
49 button.selectionStart threw exception
50 button.selectionStart = 0 threw exception
51 button.selectionEnd threw exception
52 button.selectionEnd = 0 threw exception
53 button.setSelectionRange defined
54 button.setSelectionRange(0,0) threw exception