Bug 266506 - [css-grid][css-contain] grid with size containment and min-height not sizing row correctly
Summary: [css-grid][css-contain] grid with size containment and min-height not sizing ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sammy Gill
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-15 14:17 PST by Sammy Gill
Modified: 2023-12-19 09:42 PST (History)
4 users (show)

See Also:


Attachments
Testcase (186 bytes, text/html)
2023-12-15 14:17 PST, Sammy Gill
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.