| 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 19 matching lines...) Expand all Loading... |
| 30 - set new defaultValue | 30 - set new defaultValue |
| 31 PASS ta.selectionStart is 9 | 31 PASS ta.selectionStart is 9 |
| 32 PASS ta.selectionEnd is 9 | 32 PASS ta.selectionEnd is 9 |
| 33 - set same defaultValue | 33 - set same defaultValue |
| 34 PASS ta.selectionStart is 9 | 34 PASS ta.selectionStart is 9 |
| 35 PASS ta.selectionEnd is 9 | 35 PASS ta.selectionEnd is 9 |
| 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 2 |
| 41 PASS ta.selectionEnd is 12 | 41 PASS ta.selectionEnd is 3 |
| 42 PASS successfullyParsed is true | 42 PASS successfullyParsed is true |
| 43 | 43 |
| 44 TEST COMPLETE | 44 TEST COMPLETE |
| 45 | 45 |
| OLD | NEW |