[webkit-changes] [WebKit/WebKit] 8aeaa9: [Live Range Selection] fast/events/no-scroll-on-in...
Ryosuke Niwa
noreply at github.com
Tue Nov 29 10:03:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8aeaa9c5ab41bec574d64a2f2a6aa6c711602f8d
https://github.com/WebKit/WebKit/commit/8aeaa9c5ab41bec574d64a2f2a6aa6c711602f8d
Author: Ryosuke Niwa <rniwa at webkit.org>
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
More information about the webkit-changes
mailing list