Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2ab5fbe3426be7783137624f10325667b98bde40
https://github.com/WebKit/WebKit/commit/2ab5fbe3426be7783137624f10325667b98bde40
Author: Sammy Gill <[email protected]>
Date: 2026-02-12 (Thu, 12 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/TrackSizingAlgorithm.cpp
Log Message:
-----------
[GFC] Use usedMinimumSize functions for item maximum contributions
https://bugs.webkit.org/show_bug.cgi?id=307636
rdar://170201302
Reviewed by Alan Baradlay.
In 307110@main we added a new API to GridItemSizingFunctions to get the
used minimum size of grid items. Part of getting a grid item's "minimum
contribution," during track sizing may require us to get the item's used
minimum size. Since we have this API now let's use it at the call site
we created earlier as a stub until we had this functionality.
Since this requires the track sizing functions we need to plumb it from
sizeTracks to this call site.
Also, the spec states that any indefinite percentages should resolve
against 0, presumably because we will not have any available space, so
we pass in 0 as the available space to this API.
Canonical link: https://commits.webkit.org/307379@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications