Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fed33dd0ef232da0e4cf7759ba34c92a09525f3f
https://github.com/WebKit/WebKit/commit/fed33dd0ef232da0e4cf7759ba34c92a09525f3f
Author: Ryosuke Niwa <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes