[webkit-changes] [WebKit/WebKit] 417b14: [Cleanup] LegacyLineLayout never holds more than o...
Alan Baradlay
noreply at github.com
Mon Feb 3 05:14:55 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 417b1475277da03081ca96512a61ddde8a8ea55f
https://github.com/WebKit/WebKit/commit/417b1475277da03081ca96512a61ddde8a8ea55f
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths:
M Source/WebCore/rendering/LegacyLineLayout.cpp
M Source/WebCore/rendering/LegacyLineLayout.h
M Source/WebCore/rendering/LegacyRootInlineBox.cpp
M Source/WebCore/rendering/LegacyRootInlineBox.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
Log Message:
-----------
[Cleanup] LegacyLineLayout never holds more than one (svg)line anymore
https://bugs.webkit.org/show_bug.cgi?id=286852
Reviewed by Antti Koivisto.
No line break in SVG content. Only one line per svg "block".
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::LegacyLineLayout::~LegacyLineLayout):
(WebCore::LegacyLineLayout::createAndAppendRootInlineBox):
(WebCore::LegacyLineLayout::layoutRunsAndFloats):
(WebCore::LegacyLineLayout::layoutLineBoxes):
(WebCore::LegacyLineLayout::shiftLineBy):
(WebCore::LegacyLineLayout::deleteLegacyRootBox):
* Source/WebCore/rendering/LegacyLineLayout.h:
(WebCore::LegacyLineLayout::legacyRootBox const):
(WebCore::LegacyLineLayout::lineBoxes): Deleted.
(WebCore::LegacyLineLayout::lineBoxes const): Deleted.
* Source/WebCore/rendering/LegacyRootInlineBox.cpp:
(WebCore::LegacyRootInlineBox::removeLineBoxFromRenderObject):
* Source/WebCore/rendering/LegacyRootInlineBox.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::willBeDestroyed):
(WebCore::RenderBlockFlow::shiftForAlignContent):
* Source/WebCore/rendering/RenderBlockFlow.h:
Canonical link: https://commits.webkit.org/289731@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