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