OLD | NEW |
1 | 1 |
2 This tests onSelect for text fields. | 2 This tests onSelect for text fields. |
3 | 3 |
4 Calling focus on text field | 4 Calling focus on text field |
5 After focus: text field selection start: 0 end: 10 | 5 After focus: text field selection start: 0 end: 0 |
6 | 6 |
7 Calling setSelectionRange on text field | 7 Calling setSelectionRange on text field |
8 After setSelectionRange(3, 5): text field selection start: 3 end: 5 | 8 After setSelectionRange(3, 5): text field selection start: 3 end: 5 |
9 | 9 |
10 Double clicking to make selection for text field | 10 Double clicking to make selection for text field |
11 onselect fired for text field | 11 onselect fired for text field |
12 After double clicking: text field selection start: 6 end: 10 | 12 After double clicking: text field selection start: 6 end: 10 |
13 | 13 |
14 Calling blur on text field | 14 Calling blur on text field |
15 After blur: text field selection start: 6 end: 10 | 15 After blur: text field selection start: 6 end: 10 |
16 | 16 |
17 Calling focus on text field | 17 Calling focus on text field |
18 After focus: text field selection start: 6 end: 10 | 18 After focus: text field selection start: 6 end: 10 |
19 | 19 |
OLD | NEW |