[webkit-changes] [WebKit/WebKit] 3dd3ab: [IFC][Integration] Fix editing/selection/doublecli...

alan noreply at github.com
Mon Oct 10 06:19:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3dd3ab0e339091eeb3ae1be747eec15efb956784
      https://github.com/WebKit/WebKit/commit/3dd3ab0e339091eeb3ae1be747eec15efb956784
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    A LayoutTests/fast/inline/hittest-overflowing-inline-content-expected.txt
    A LayoutTests/fast/inline/hittest-overflowing-inline-content.html
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLine.h

  Log Message:
  -----------
  [IFC][Integration] Fix editing/selection/doubleclick-beside-cr-span.html
https://bugs.webkit.org/show_bug.cgi?id=246262

Reviewed by Antti Koivisto.

Use the line box's visible rect for hittesting (m_lineBoxRect (as the name implies) is the line box's rect, which is constrained by the IFC root).

* LayoutTests/fast/inline/hittest-overflowing-inline-content-expected.txt: Added.
* LayoutTests/fast/inline/hittest-overflowing-inline-content.html: Added.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLine.h:
(WebCore::LayoutIntegration::Line::visibleRectIgnoringBlockDirection const):

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




More information about the webkit-changes mailing list