Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7cc319d600e5ad910a4c85ac4b8a584cea05cabe
https://github.com/WebKit/WebKit/commit/7cc319d600e5ad910a4c85ac4b8a584cea05cabe
Author: Alan Baradlay <[email protected]>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M Source/WebCore/rendering/RenderFlexibleBox.cpp
M Source/WebCore/rendering/RenderFlexibleBox.h
Log Message:
-----------
[cleanup] Rename the flex cross-axis alignment phases to match
FlexLayout::layout
https://bugs.webkit.org/show_bug.cgi?id=318461
Reviewed by Antti Koivisto.
alignFlexLines and alignFlexItems do the same work as FlexLayout::layout's
handleCrossAxisAlignmentForFlexLines and handleCrossAxisAlignmentForFlexItems:
positioning the flex lines, and then the items within them, along the cross
axis. Give them those names so the legacy phases line up with the
FlexLayout::layout pipeline.
No change in behavior.
* Source/WebCore/rendering/RenderFlexibleBox.h:
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems):
(WebCore::RenderFlexibleBox::handleCrossAxisAlignmentForFlexLines):
(WebCore::RenderFlexibleBox::handleCrossAxisAlignmentForFlexItems):
Canonical link: https://commits.webkit.org/316894@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications