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   

Sammy Gill
Reported 2023-08-16 11:14:17 PDT
css-grid/grid-with-orthogonal-child-within-flexbox.html is currently failing on WPT
Attachments
Radar WebKit Bug Importer
Comment 1 2023-08-16 11:14:33 PDT
Sammy Gill
Comment 2 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
Note You need to log in before you can comment on or make changes to this bug.