[webkit-changes] [WebKit/WebKit] 09ad6a: [Legacy line layout removal] Remove text-align sup...
Antti Koivisto
noreply at github.com
Tue Mar 26 05:14:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 09ad6a20c559b27ada2b2e8bf859dc90930fb23f
https://github.com/WebKit/WebKit/commit/09ad6a20c559b27ada2b2e8bf859dc90930fb23f
Author: Antti Koivisto <antti at apple.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M Source/WebCore/rendering/LegacyLineLayout.cpp
M Source/WebCore/rendering/LegacyLineLayout.h
M Source/WebCore/rendering/RenderBlockFlow.cpp
M Source/WebCore/rendering/RenderBlockFlow.h
M Source/WebCore/rendering/line/LineInlineHeaders.h
Log Message:
-----------
[Legacy line layout removal] Remove text-align support
https://bugs.webkit.org/show_bug.cgi?id=271646
rdar://125353160
Reviewed by Alan Baradlay.
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::updateLogicalWidthForLeftAlignedBlock): Deleted.
(WebCore::updateLogicalWidthForRightAlignedBlock): Deleted.
(WebCore::updateLogicalWidthForCenterAlignedBlock): Deleted.
(WebCore::LegacyLineLayout::updateLogicalWidthForAlignment): Deleted.
* Source/WebCore/rendering/LegacyLineLayout.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::adjustPositionedBlock):
(WebCore::RenderBlockFlow::updateStaticInlinePositionForChild):
(WebCore::RenderBlockFlow::staticInlinePositionForOriginalDisplayInline):
(WebCore::RenderBlockFlow::startAlignedOffsetForLine): Deleted.
Rename for clarity.
Move minimal version of the alignment code needed for static positioning here.
* Source/WebCore/rendering/RenderBlockFlow.h:
* Source/WebCore/rendering/line/LineInlineHeaders.h:
(WebCore::setStaticPositions): Deleted.
Canonical link: https://commits.webkit.org/276684@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