[webkit-changes] [WebKit/WebKit] b75b3c: [IFC][SVG text] Move closestLeafChildForPosition o...

Antti Koivisto noreply at github.com
Tue Dec 10 13:30:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b75b3c99b8aea7ab0d798a9eee14c6bac3a72167
      https://github.com/WebKit/WebKit/commit/b75b3c99b8aea7ab0d798a9eee14c6bac3a72167
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M Source/WebCore/rendering/svg/RenderSVGText.cpp
    M Source/WebCore/rendering/svg/SVGRootInlineBox.cpp
    M Source/WebCore/rendering/svg/SVGRootInlineBox.h

  Log Message:
  -----------
  [IFC][SVG text] Move closestLeafChildForPosition out of legacy inline box
https://bugs.webkit.org/show_bug.cgi?id=284388
rdar://141231201

Reviewed by Alan Baradlay.

* Source/WebCore/rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::positionForPoint):

Inline it to the only callsite and make it use iterator.

* Source/WebCore/rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::closestLeafChildForPosition): Deleted.
* Source/WebCore/rendering/svg/SVGRootInlineBox.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list