Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3ef6751a5c73b36b738af56f36dec2931865bbc7
https://github.com/WebKit/WebKit/commit/3ef6751a5c73b36b738af56f36dec2931865bbc7
Author: Yulun Wu <[email protected]>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp
Log Message:
-----------
[GFC] Floor a track's growth limit to its base size when initializing track
sizes
https://bugs.webkit.org/show_bug.cgi?id=324745
rdar://188023571
Reviewed by Sammy Gill.
This PR applies the last step of https://drafts.csswg.org/css-grid-1/#algo-init
"In all cases, if the growth limit is less than the base size, increase the
growth limit to match the base size."
No behavior change, this is currently unreachable by avoidance reason.
* Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp:
(WebCore::Layout::UnsizedTrack::ensureGrowthLimitIsBiggerThanBaseSize):
(WebCore::Layout::initializeTrackSizes):
Canonical link: https://commits.webkit.org/321616@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications