Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Test selectionStart() method support in input type email. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
| 4 | |
| 5 | |
| 6 Checking input type email support for selectionStart: | |
| 7 PASS document.getElementById("email").selectionStart = 0 threw exception Invalid StateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': T he input element's type ('email') does not support selection.. | |
| 8 Checking input type email support for selectionEnd: | |
| 9 PASS document.getElementById("email").selectionEnd threw exception InvalidStateE rror: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The in put element's type ('email') does not support selection.. | |
| 10 PASS successfullyParsed is true | |
| 11 | |
| 12 TEST COMPLETE | |
| 13 | |
| OLD | NEW |