[webkit-changes] [WebKit/WebKit] fed33d: [Live Range Selection] fast/forms/input-value-sani...
Ryosuke Niwa
noreply at github.com
Tue Nov 29 10:13:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fed33dd0ef232da0e4cf7759ba34c92a09525f3f
https://github.com/WebKit/WebKit/commit/fed33dd0ef232da0e4cf7759ba34c92a09525f3f
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M LayoutTests/fast/forms/input-value-sanitization-expected.txt
M LayoutTests/fast/forms/input-value-sanitization.html
Log Message:
-----------
[Live Range Selection] fast/forms/input-value-sanitization.html fails
https://bugs.webkit.org/show_bug.cgi?id=248431
Reviewed by Darin Adler.
Use input.selectionStart and input.selectionEnd to get the substring out of an input element
instead of relying on getSelection().toString() to include text within the input element.
* LayoutTests/fast/forms/input-value-sanitization-expected.txt:
* LayoutTests/fast/forms/input-value-sanitization.html:
Canonical link: https://commits.webkit.org/257129@main
More information about the webkit-changes
mailing list