Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53f594a61dd2b5408e66fb2c27340d03b2ed05e4
https://github.com/WebKit/WebKit/commit/53f594a61dd2b5408e66fb2c27340d03b2ed05e4
Author: Yulun Wu <[email protected]>
Date: 2026-08-13 (Thu, 13 Aug 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-height-001-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-height-001.html
A
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-width-001-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-width-001.html
M Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.cpp
M Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp
Log Message:
-----------
[GFC] Loosen the max-width and max-height avoidance reasons
https://bugs.webkit.org/show_bug.cgi?id=321644
<rdar://184769971>
Reviewed by Sammy Gill.
GFC supports fixed max-width and max-height, so we should loosen that coverage
check. Tests were written to pass our avoidance checks to properly verify that
GFC was handling these maximum sizes as expected.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-height-001-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-height-001.html:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-width-001-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-fixed-max-width-001.html:
Added.
* Source/WebCore/layout/formattingContexts/grid/GridLayoutUtils.cpp:
(WebCore::Layout::GridLayoutUtils::inlineMaximumSize):
(WebCore::Layout::GridLayoutUtils::blockMaximumSize):
* Source/WebCore/layout/integration/grid/LayoutIntegrationGridCoverage.cpp:
(WebCore::LayoutIntegration::printReason):
(WebCore::LayoutIntegration::gridLayoutAvoidanceReason):
Canonical link: https://commits.webkit.org/319106@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications