mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Don't move focus when setting input value
This commit is contained in:
parent
d29797f118
commit
1d9c404b8c
Notes:
github-actions[bot]
2024-09-12 09:46:32 +00:00
Author: https://github.com/Gingeh
Commit: 1d9c404b8c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1355
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/trflynn89
7 changed files with 59 additions and 26 deletions
|
@ -4,11 +4,16 @@ 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
|
||||
select event fired: 0 18
|
||||
text-input selectionStart: 0 selectionEnd: 18 selectionDirection: none
|
||||
select event fired: 2 4
|
||||
text-input selectionStart: 2 selectionEnd: 4 selectionDirection: forward
|
||||
select event fired: 1 4
|
||||
text-input selectionStart: 1 selectionEnd: 4 selectionDirection: forward
|
||||
select event fired: 1 5
|
||||
text-input selectionStart: 1 selectionEnd: 5 selectionDirection: forward
|
||||
select event fired: 6 6
|
||||
text-input selectionStart: 6 selectionEnd: 6 selectionDirection: forward
|
||||
select event fired: 6 6
|
||||
text-input selectionStart: 6 selectionEnd: 6 selectionDirection: backward
|
||||
textarea selectionStart: 0 selectionEnd: 9 selectionDirection: none
|
||||
select event fired: 9 9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue