Bug 266506

Summary: [css-grid][css-contain] grid with size containment and min-height not sizing row correctly
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=260201
https://github.com/web-platform-tests/wpt/pull/43719
Attachments:
Description Flags
Testcase none

Description Sammy Gill 2023-12-15 14:17:42 PST
Created attachment 469073 [details]
Testcase

In the attached example, the text does not end up getting to the bottom of the grid. This is because we are not properly flexing the track. Gecko and Blink both end up aligning the text to the bottom of the grid Removing the "contain: size" style creates the expected rendering.
Comment 1 Radar WebKit Bug Importer 2023-12-15 14:17:57 PST
<rdar://problem/119736473>
Comment 2 Sammy Gill 2023-12-18 14:47:44 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43719
Comment 3 Sammy Gill 2023-12-18 15:53:17 PST
Pull request: https://github.com/WebKit/WebKit/pull/21995
Comment 4 EWS 2023-12-19 09:42:05 PST
Committed 272276@main (57fdd17822df): <https://commits.webkit.org/272276@main>

Reviewed commits have been landed. Closing PR #21995 and removing active labels.