OLD | NEW |
1 This tests for problems where we'd lose the selection in a textarea when making
style and value changes. | 1 This tests for problems where we'd lose the selection in a textarea when making
style and value changes. |
2 | 2 |
3 - default value | 3 - default value |
4 PASS ta.selectionStart is 0 | 4 PASS ta.selectionStart is 0 |
5 PASS ta.selectionEnd is 0 | 5 PASS ta.selectionEnd is 0 |
6 - set selectionStart/End | 6 - set selectionStart/End |
7 PASS ta.selectionStart is 3 | 7 PASS ta.selectionStart is 3 |
8 PASS ta.selectionEnd is 4 | 8 PASS ta.selectionEnd is 4 |
9 - add background style | 9 - add background style |
10 PASS ta.selectionStart is 3 | 10 PASS ta.selectionStart is 3 |
(...skipping 25 matching lines...) Expand all Loading... |
36 - append a text node | 36 - append a text node |
37 PASS ta.selectionStart is 12 | 37 PASS ta.selectionStart is 12 |
38 PASS ta.selectionEnd is 12 | 38 PASS ta.selectionEnd is 12 |
39 - append a empty text node | 39 - append a empty text node |
40 PASS ta.selectionStart is 12 | 40 PASS ta.selectionStart is 12 |
41 PASS ta.selectionEnd is 12 | 41 PASS ta.selectionEnd is 12 |
42 PASS successfullyParsed is true | 42 PASS successfullyParsed is true |
43 | 43 |
44 TEST COMPLETE | 44 TEST COMPLETE |
45 | 45 |
OLD | NEW |