Bug 260274 - [css-grid] css-grid/grid-with-orthogonal-child-within-flexbox.html failing
Summary: [css-grid] css-grid/grid-with-orthogonal-child-within-flexbox.html failing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-16 11:14 PDT by Sammy Gill
Modified: 2023-09-01 10:58 PDT (History)
4 users (show)

See Also:


Attachments

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