Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8aeaa9c5ab41bec574d64a2f2a6aa6c711602f8d
https://github.com/WebKit/WebKit/commit/8aeaa9c5ab41bec574d64a2f2a6aa6c711602f8d
Author: Ryosuke Niwa <[email protected]>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M LayoutTests/fast/events/no-scroll-on-input-text-selection-expected.txt
M LayoutTests/fast/events/no-scroll-on-input-text-selection.html
Log Message:
-----------
[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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes