Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c52dcd02f0e42c1392413bf9387260c6db6ad606
      
https://github.com/WebKit/WebKit/commit/c52dcd02f0e42c1392413bf9387260c6db6ad606
  Author: Ryosuke Niwa <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to