Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e032afda80cc95892a0d4ddc1a704e77e5ff5511
https://github.com/WebKit/WebKit/commit/e032afda80cc95892a0d4ddc1a704e77e5ff5511
Author: Yulun Wu <[email protected]>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp
M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.h
Log Message:
-----------
[GFC] Refactor out 'auto expandFlexibleTracks' from TrackSizingAlgorithm.
https://bugs.webkit.org/show_bug.cgi?id=307504
<rdar://170104071>
Reviewed by Sammy Gill.
This PR extracts expandFlexibleTracks() from an inline function and breaks up
the logic
for expanding under min content, max content, and definite sizing constraints.
* Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp:
(WebCore::Layout::TrackSizingAlgorithm::sizeTracks):
(WebCore::Layout::TrackSizingAlgorithm::expandFlexibleTracksForMinContent):
(WebCore::Layout::TrackSizingAlgorithm::expandFlexibleTracksForMaxContent):
(WebCore::Layout::TrackSizingAlgorithm::expandFlexibleTracksForDefiniteLength):
(WebCore::Layout::TrackSizingAlgorithm::expandFlexibleTracks):
* Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.h:
Canonical link: https://commits.webkit.org/307287@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications