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