This tests that pressing Command + A selects all the text even when there is an existing range selction. To run this test by hand, press Command + A. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS document.getElementById("test").selectionStart is 0 | |
PASS document.getElementById("test").selectionEnd is document.getElementById("test").value.length | |
PASS successfullyParsed is true | |
TEST COMPLETE | |