Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9ec04b15a51c03dad60437b9ea2a03dcddc931cb
https://github.com/WebKit/WebKit/commit/9ec04b15a51c03dad60437b9ea2a03dcddc931cb
Author: Antti Koivisto <[email protected]>
Date: 2024-11-28 (Thu, 28 Nov 2024)
Changed paths:
M Source/WebCore/layout/integration/inline/InlineIteratorSVGTextBox.cpp
M Source/WebCore/rendering/LegacyLineLayout.cpp
M Source/WebCore/rendering/svg/RenderSVGText.cpp
M Source/WebCore/rendering/svg/RenderSVGText.h
M Source/WebCore/rendering/svg/SVGRootInlineBox.cpp
M Source/WebCore/rendering/svg/SVGRootInlineBox.h
Log Message:
-----------
[IFC][SVG text] Move layout code out from legacy inline boxes
https://bugs.webkit.org/show_bug.cgi?id=283792
rdar://problem/140651613
Reviewed by Alan Baradlay.
Reduce dependencies to legacy inline boxes.
* Source/WebCore/layout/integration/inline/InlineIteratorSVGTextBox.cpp:
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::LegacyLineLayout::createLineBoxesFromBidiRuns):
RenderSVGText::layout() now triggers computePerCharacterLayoutInformation()
directly.
* Source/WebCore/rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::layout):
(WebCore::RenderSVGText::computePerCharacterLayoutInformation):
(WebCore::RenderSVGText::layoutCharactersInTextBoxes):
(WebCore::RenderSVGText::layoutChildBoxes):
(WebCore::RenderSVGText::layoutRootBox):
(WebCore::swapItemsInLayoutAttributes):
(WebCore::findFirstAndLastAttributesInVector):
(WebCore::reverseInlineBoxRangeAndValueListsIfNeeded):
(WebCore::RenderSVGText::reorderValueListsToLogicalOrder):
(WebCore::RenderSVGText::positionForPoint):
(WebCore::RenderSVGText::legacyRootBox const):
* Source/WebCore/rendering/svg/RenderSVGText.h:
* Source/WebCore/rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Deleted.
(WebCore::SVGRootInlineBox::layoutCharactersInTextBoxes): Deleted.
(WebCore::SVGRootInlineBox::layoutChildBoxes): Deleted.
(WebCore::SVGRootInlineBox::layoutRootBox): Deleted.
(WebCore::swapItemsInLayoutAttributes): Deleted.
(WebCore::findFirstAndLastAttributesInVector): Deleted.
(WebCore::reverseInlineBoxRangeAndValueListsIfNeeded): Deleted.
(WebCore::SVGRootInlineBox::reorderValueListsToLogicalOrder): Deleted.
* Source/WebCore/rendering/svg/SVGRootInlineBox.h:
Canonical link: https://commits.webkit.org/287151@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes