Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e6ff1a5a70036493e4bf8321c68ff77ec5fcef56
https://github.com/WebKit/WebKit/commit/e6ff1a5a70036493e4bf8321c68ff77ec5fcef56
Author: Sammy Gill <[email protected]>
Date: 2026-02-06 (Fri, 06 Feb 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/grid/GridFormattingContext.h
M Source/WebCore/layout/integration/grid/LayoutIntegrationGridLayout.cpp
Log Message:
-----------
[GFC] Add grid container minimum and maximum sizes to GridLayoutConstraints
https://bugs.webkit.org/show_bug.cgi?id=307137
rdar://169771123
Reviewed by Vitor Roriz.
GridLayout will need to know the grid container's minimum and maximum
sizes in both dimensions during layout. We will need to know if those
values are indefinite or definite as well as what the definite value
would be. For example, we will need to know if the maximum size of the
grid container is definite along with its value during the "Maximize
Tracks," portion of the track sizing algorithm.
A good place for these values to live is on GridLayoutConstraints since
wthat is also where also put the other inline and block constraints for
GridLayout.
* Source/WebCore/layout/integration/grid/LayoutIntegrationGridLayout.cpp:
(WebCore::LayoutIntegration::sizeValue):
Helper function to help resolve the minimum and maximum sizes. For now
we just use fixed values since those are trivial to support.
Canonical link: https://commits.webkit.org/306960@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications