Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Live Range Selection] fast/events/no-scroll-on-input-text-selection.…
…html fails https://bugs.webkit.org/show_bug.cgi?id=248423 Reviewed by Darin Adler. Check input.selectionEnd > input.selectionStart instead of checking getSelection().toString().length > 0 since enabling live range selection will make getSelection().toString() to no longer return the string inside the input. * LayoutTests/fast/events/no-scroll-on-input-text-selection-expected.txt: * LayoutTests/fast/events/no-scroll-on-input-text-selection.html: Canonical link: https://commits.webkit.org/257126@main
- Loading branch information