blob: 64272d0fac14389da7bb02880710c70d1ebcc361 [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