Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb70973c26fd7f76b003507e19391055385d6b41
      
https://github.com/WebKit/WebKit/commit/cb70973c26fd7f76b003507e19391055385d6b41
  Author: Ryosuke Niwa <[email protected]>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    A 
LayoutTests/editing/selection/doubleclick-whitespace-live-range-expected.txt
    A LayoutTests/editing/selection/doubleclick-whitespace-live-range.html
    M Source/WebCore/editing/VisibleSelection.cpp

  Log Message:
  -----------
  [Live Range Selection] 
editing/selection/doubleclick-whitespace-live-range.html fails
https://bugs.webkit.org/show_bug.cgi?id=248778

Reviewed by Darin Adler.

Update m_focus/m_anchor when expanding selection to include trailing whitespace.

* LayoutTests/editing/selection/doubleclick-whitespace-live-range-expected.txt: 
Added.
* LayoutTests/editing/selection/doubleclick-whitespace-live-range.html: Added.
* Source/WebCore/editing/VisibleSelection.cpp:
(WebCore::VisibleSelection::appendTrailingWhitespace):

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


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

Reply via email to