| OLD | NEW |
| 1 | 1 |
| 2 This tests onSelect for textareas. | 2 This tests onSelect for textareas. |
| 3 This also makes sure that the correct selection is restored when the element reg
ains focus. | 3 This also makes sure that the correct selection is restored when the element reg
ains focus. |
| 4 | 4 |
| 5 Calling focus on textarea | 5 Calling focus on textarea |
| 6 After focus: textarea selection start: 0 end: 0 | 6 After focus: textarea selection start: 0 end: 0 |
| 7 | 7 |
| 8 Calling setSelectionRange on textarea | 8 Calling setSelectionRange on textarea |
| 9 After setSelectionRange(5, 10): textarea selection start: 5 end: 10 | 9 After setSelectionRange(5, 10): textarea selection start: 5 end: 10 |
| 10 | 10 |
| 11 Double clicking to make selection for textarea | 11 Double clicking to make selection for textarea |
| 12 onselect fired for textarea | 12 onselect fired for textarea |
| 13 After double clicking: textarea selection start: 9 end: 13 | 13 After double clicking: textarea selection start: 13 end: 14 |
| 14 | 14 |
| 15 Calling blur on textarea | 15 Calling blur on textarea |
| 16 After blur: textarea selection start: 9 end: 13 | 16 After blur: textarea selection start: 13 end: 14 |
| 17 | 17 |
| 18 Calling focus on textarea | 18 Calling focus on textarea |
| 19 After focus: textarea selection start: 9 end: 13 | 19 After focus: textarea selection start: 13 end: 14 |
| 20 | 20 |
| OLD | NEW |