OLD | NEW |
(Empty) | |
| 1 This is the first paragraph. |
| 2 |
| 3 This is the second paragraph. |
| 4 |
| 5 This tests selection in readonly texts using shift+Up/Down. With this key combin
ation you can select up or down the line. When no further up/down movement is po
ssible, the selection either moves to the start (for up) or end (for down) of th
e line. |
| 6 |
| 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 8 |
| 9 |
| 10 PASS selection.type is "Range" |
| 11 PASS selection.anchorNode is paragraph1 |
| 12 PASS selection.anchorOffset is 3 |
| 13 PASS selection.focusNode is paragraph1 |
| 14 PASS selection.focusOffset is 0 |
| 15 PASS selection.type is "Range" |
| 16 PASS selection.anchorNode is paragraph1 |
| 17 PASS selection.anchorOffset is 3 |
| 18 PASS selection.focusNode is paragraph2 |
| 19 PASS selection.focusOffset is 3 |
| 20 PASS successfullyParsed is true |
| 21 |
| 22 TEST COMPLETE |
| 23 |
OLD | NEW |