Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a009b4c93fdf2662a1852ee7e857b1647b1ca5a2
https://github.com/WebKit/WebKit/commit/a009b4c93fdf2662a1852ee7e857b1647b1ca5a2
Author: Yulun Wu <[email protected]>
Date: 2026-07-27 (Mon, 27 Jul 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp
Log Message:
-----------
[GFC] Consolidate the min/max-content constraint test and per-track content
contributions
https://bugs.webkit.org/show_bug.cgi?id=320423
rdar://183380145
Reviewed by Sammy Gill.
This PR extracts isSizedUnderMinOrMaxContentConstraint() into a helper
function and uses it where needed.
* Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp:
(WebCore::Layout::isSizedUnderMinOrMaxContentConstraint):
(WebCore::Layout::sizeTracksToFitNonSpanningItems):
(WebCore::Layout::increaseSizesToAccommodateSpanningItemsCrossingFlexibleTracks):
Canonical link: https://commits.webkit.org/318033@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications