OLD | NEW |
| (Empty) |
1 This tests the selection of the text field after setSelectionRange is called | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS successfullyParsed is true | |
7 | |
8 TEST COMPLETE | |
9 focus test : | |
10 PASS textfield.selectionStart is 0 | |
11 PASS textfield.selectionEnd is 5 | |
12 the selection should be cleared | |
13 PASS textfield.selectionStart is 0 | |
14 PASS textfield.selectionEnd is 0 | |
15 mousedown test : | |
16 PASS textfield.selectionStart is 0 | |
17 PASS textfield.selectionEnd is 0 | |
18 the selection should be cleared | |
19 PASS textfield.selectionStart is 0 | |
20 PASS textfield.selectionEnd is 0 | |
21 mouseup test : | |
22 PASS textfield.selectionStart is 0 | |
23 PASS textfield.selectionEnd is 5 | |
24 the selection should be cleared | |
25 PASS textfield.selectionStart is 0 | |
26 PASS textfield.selectionEnd is 0 | |
27 click test : | |
28 PASS textfield.selectionStart is 0 | |
29 PASS textfield.selectionEnd is 5 | |
30 the selection should be cleared | |
31 PASS textfield.selectionStart is 0 | |
32 PASS textfield.selectionEnd is 0 | |
33 | |
OLD | NEW |