1 Tests for selectionStart and selectionEnd on read-only INPUT and TEXTAREA.
2 bug 25444: SelectionStart, selectionEnd properties return wrong values when the selection is in a form input.
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
9 PASS element.selectionStart is 0
10 PASS element.selectionEnd is 10
11 PASS element.selectionStart is 0
12 PASS element.selectionEnd is 9
13 PASS element.selectionStart is 1
14 PASS element.selectionEnd is 10
15 PASS element.selectionStart is 5
16 PASS element.selectionEnd is 5
17 PASS element.selectionStart is 5
18 PASS element.selectionEnd is 5
19 PASS element.selectionStart is 0
20 PASS element.selectionEnd is 0
21 PASS element.selectionStart is 0
22 PASS element.selectionEnd is 10
23 PASS element.selectionStart is 0
24 PASS element.selectionEnd is 10
25 PASS element.selectionStart is 0
26 PASS element.selectionEnd is 9
27 PASS element.selectionStart is 1
28 PASS element.selectionEnd is 10
29 PASS element.selectionStart is 5
30 PASS element.selectionEnd is 5
31 PASS element.selectionStart is 5
32 PASS element.selectionEnd is 5
33 PASS element.selectionStart is 0
34 PASS element.selectionEnd is 0
35 PASS element.selectionStart is 0
36 PASS element.selectionEnd is 10
37 PASS successfullyParsed is true