Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dd7d61b78028a9813fa83d2c2bb0584c0c5d650a
https://github.com/WebKit/WebKit/commit/dd7d61b78028a9813fa83d2c2bb0584c0c5d650a
Author: Sammy Gill <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp
Log Message:
-----------
[GFC][Integration] Remove height restriction for grid container
https://bugs.webkit.org/show_bug.cgi?id=307851
rdar://170346142
Reviewed by Alan Baradlay.
In the integration codepath we determine the height constraint for the
grid content by querying RenderGrid::availableLogicalHeightForContentBox.
If this returns a value we will use that as the constraint for grid
layout. If not, we pass it in a MaxContent constraint, which is how
RenderGrid treats not having a definite value for its contents in the
block direction.
Also add an addition restriction to check if each grid item has a
corresponding element. By easing the height restriction we seem to run
into cases where a grid item does not have an element so we will need to
figure out how to deal with that.
Canonical link: https://commits.webkit.org/307539@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications