[webkit-changes] [WebKit/WebKit] c52dcd: [Live Range Selection] editing/selection/programma...

Ryosuke Niwa noreply at github.com
Tue Dec 6 12:33:40 PST 2022


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

  Changed paths:
    M LayoutTests/editing/selection/programmatic-selection-on-mac-is-directionless.html

  Log Message:
  -----------
  [Live Range Selection] editing/selection/programmatic-selection-on-mac-is-directionless.html fails
https://bugs.webkit.org/show_bug.cgi?id=248797

Reviewed by Wenson Hsieh.

Use value, selectionStart, and selectionEnd of input and textarea elements instead of relying on
getSelection().toString() to include the selected text as this will not be the case when live range
selection is enabled. Also renamed the misleadingly named "name" variable to "node" for consistency
and clarity.

* LayoutTests/editing/selection/programmatic-selection-on-mac-is-directionless.html:

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




More information about the webkit-changes mailing list