[webkit-changes] [WebKit/WebKit] af5a3e: [Live Range Selection] fast/forms/input-maxlength-...

Ryosuke Niwa noreply at github.com
Tue Nov 29 10:06:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: af5a3eece794411331039b263c7ecd9524ed82fe
      https://github.com/WebKit/WebKit/commit/af5a3eece794411331039b263c7ecd9524ed82fe
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M LayoutTests/fast/forms/input-maxlength-ime-completed-expected.txt
    M LayoutTests/fast/forms/input-maxlength-ime-completed.html

  Log Message:
  -----------
  [Live Range Selection] fast/forms/input-maxlength-ime-completed.html fails
https://bugs.webkit.org/show_bug.cgi?id=248425

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-maxlength-ime-completed-expected.txt:
* LayoutTests/fast/forms/input-maxlength-ime-completed.html:

Canonical link: https://commits.webkit.org/257127@main




More information about the webkit-changes mailing list