Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 292c46f1ebf1737a2a7e779bc5650d96aa647158
https://github.com/WebKit/WebKit/commit/292c46f1ebf1737a2a7e779bc5650d96aa647158
Author: Alan Baradlay <[email protected]>
Date: 2026-07-13 (Mon, 13 Jul 2026)
Changed paths:
M Source/WebCore/rendering/RenderFlexibleBox.cpp
M Source/WebCore/rendering/RenderFlexibleBox.h
Log Message:
-----------
[cleanup] Group RenderFlexibleBox's member functions by layout phase
https://bugs.webkit.org/show_bug.cgi?id=318584
Reviewed by Antti Koivisto.
After the FlexLayoutUtils extraction the remaining functions in
RenderFlexibleBox
were in no particular order -- sizing helpers, pipeline phases, margin-trim,
stretch, and baseline code were interleaved. Reorder both the header
declarations
and the .cpp definitions into the same layout-execution grouping: nested types,
then constructors/overrides/public API, then the performFlexLayout pipeline in
run order, then flex-base and main-size sizing, cross/intrinsic sizing,
definiteness/percentage resolution, margin trim, auto margins, cross-axis
stretch
and overriding sizes, geometry apply, baseline, percent-height descendants, and
positioned-layout helpers. Groups are separated by a blank line.
No change in behavior.
* Source/WebCore/rendering/RenderFlexibleBox.h:
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
Canonical link: https://commits.webkit.org/317031@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications