mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
For both types of elements, `.selectionStart`, `.selectionEnd`, `.selectionDirection`, `.setSelectionRange()`, `.select()` and the `select` event are now implemented. (cherry picked from commit 814ca3267ed73d7ad8492ef69ff87f95240cf922)
15 lines
965 B
Plaintext
15 lines
965 B
Plaintext
Well hello friends some
|
|
text text-input selectionStart: 0 selectionEnd: 0 selectionDirection: none
|
|
date-input selectionStart: null selectionEnd: null selectionDirection: null
|
|
textarea selectionStart: 0 selectionEnd: 0 selectionDirection: none
|
|
text-input selectionStart: 18 selectionEnd: 18 selectionDirection: none
|
|
date input setting selectionStart error: InvalidStateError: setSelectionStart does not apply to this input type
|
|
text-input selectionStart: 0 selectionEnd: 18 selectionDirection: none
|
|
text-input selectionStart: 2 selectionEnd: 4 selectionDirection: forward
|
|
text-input selectionStart: 1 selectionEnd: 4 selectionDirection: forward
|
|
text-input selectionStart: 1 selectionEnd: 5 selectionDirection: forward
|
|
text-input selectionStart: 18 selectionEnd: 18 selectionDirection: forward
|
|
text-input selectionStart: 18 selectionEnd: 18 selectionDirection: backward
|
|
textarea selectionStart: 0 selectionEnd: 9 selectionDirection: none
|
|
select event fired: 18 18
|