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

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


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

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

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

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

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




More information about the webkit-changes mailing list