[webkit-changes] [WebKit/WebKit] 011752: [IFC][SVG text] Use inline iterator more for SVG text
Antti Koivisto
noreply at github.com
Tue Aug 27 09:16:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0117521c3a0c3a7c4a6c2924b8d45e451038da1c
https://github.com/WebKit/WebKit/commit/0117521c3a0c3a7c4a6c2924b8d45e451038da1c
Author: Antti Koivisto <antti at apple.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M Source/WebCore/layout/integration/inline/InlineIteratorTextBox.cpp
M Source/WebCore/layout/integration/inline/InlineIteratorTextBox.h
M Source/WebCore/rendering/RenderText.cpp
M Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
M Source/WebCore/rendering/svg/RenderSVGInlineText.h
M Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp
Log Message:
-----------
[IFC][SVG text] Use inline iterator more for SVG text
https://bugs.webkit.org/show_bug.cgi?id=278722
rdar://134775045
Reviewed by Alan Baradlay.
Access the legacy SVG inline boxes via the iterator instead of directly.
This is a step towards using IFC for SVG text.
* Source/WebCore/layout/integration/inline/InlineIteratorTextBox.cpp:
(WebCore::InlineIterator::TextBox::calculateBoundariesIncludingSVGTransform const):
(WebCore::InlineIterator::TextBox::svgTextFragments const):
* Source/WebCore/layout/integration/inline/InlineIteratorTextBox.h:
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::collectAbsoluteQuads):
(WebCore::RenderText::absoluteQuadsForRange const):
(WebCore::boundariesForTextBox): Deleted.
* Source/WebCore/rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::floatLinesBoundingBox const):
(WebCore::RenderSVGInlineText::positionForPoint):
(WebCore::RenderSVGInlineText::firstTextBox const): Deleted.
* Source/WebCore/rendering/svg/RenderSVGInlineText.h:
* Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeRenderSVGTextBox):
(WebCore::writeSVGInlineTextBox):
(WebCore::writeSVGInlineTextBoxes):
Canonical link: https://commits.webkit.org/282797@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