[webkit-changes] [WebKit/WebKit] 6a4542: [Live Range Selection] fast/events/autoscroll-in-t...

Ryosuke Niwa noreply at github.com
Mon Dec 12 19:01:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a4542da0db32e9af44fc88d1096758648454d15
      https://github.com/WebKit/WebKit/commit/6a4542da0db32e9af44fc88d1096758648454d15
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M LayoutTests/fast/events/autoscroll-in-textarea.html

  Log Message:
  -----------
  [Live Range Selection] fast/events/autoscroll-in-textarea.html fails
https://bugs.webkit.org/show_bug.cgi?id=249188

Reviewed by Darin Adler.

The test failure was caused by getSelection().toString() no longer returning
the selected text inside textarea. Fixed it by using textarea's selectionStart
and selectionEnd to get the selected substring.

* LayoutTests/fast/events/autoscroll-in-textarea.html:

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




More information about the webkit-changes mailing list