[webkit-changes] [WebKit/WebKit] cb7097: [Live Range Selection] editing/selection/doublecli...

Ryosuke Niwa noreply at github.com
Mon Dec 5 20:40:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb70973c26fd7f76b003507e19391055385d6b41
      https://github.com/WebKit/WebKit/commit/cb70973c26fd7f76b003507e19391055385d6b41
  Author: Ryosuke Niwa <rniwa at webkit.org>
  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




More information about the webkit-changes mailing list