blob: d36a6e58db305941ec96c4c552b683a02e8c8c3f [file] [log] [blame]
This tests onSelect for text fields.
Calling focus on text field
After focus: text field selection start: 0 end: 10
Calling setSelectionRange on text field
After setSelectionRange(3, 5): text field selection start: 3 end: 5
Double clicking to make selection for text field
onselect fired for text field
After double clicking: text field selection start: 6 end: 10
Calling blur on text field
After blur: text field selection start: 6 end: 10
Calling focus on text field
After focus: text field selection start: 6 end: 10