Bug 260274

Summary: [css-grid] css-grid/grid-with-orthogonal-child-within-flexbox.html failing
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Sammy Gill 2023-08-16 11:14:17 PDT
css-grid/grid-with-orthogonal-child-within-flexbox.html is currently failing on WPT
Comment 1 Radar WebKit Bug Importer 2023-08-16 11:14:33 PDT
<rdar://problem/113978379>
Comment 2 Sammy Gill 2023-09-01 10:58:12 PDT
I believe this is due to the way we perform the intrinsic logical width computation for the grid as it is reporting a logical width of 50px which doesn't seem right in this scenario.

The intrinsic logical width sizing is only doing one pass of the track sizing algorithm via computeTrackSizesForIndefiniteSize(algorithm, ForColumns, &minLogicalWidth, &maxLogicalWidth), but for orthogonal flows we need to perform multiple passes since the min-content contribution for the columns will change for the grid item after the size of the row is determined