Bug 249435

Summary: Incorrect and unstable layout combining grid, aspect-ratio, and min-width
Product: WebKit Reporter: Tim Horton <thorton>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, karlcow, mattwoodrow, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
repro
none
screenshot none

Description Tim Horton 2022-12-15 15:30:39 PST
Created attachment 464064 [details]
repro

See attached screenshot and test case. WebKit initially lays out the children of the grid element incorrectly (IMO, and differently than Chrome and Firefox).

If you resize the window, it pops to the correct layout.
Comment 1 Tim Horton 2022-12-15 15:31:31 PST
Created attachment 464065 [details]
screenshot
Comment 2 Radar WebKit Bug Importer 2022-12-15 15:41:32 PST
<rdar://problem/103421729>
Comment 3 Ahmad Saleem 2023-02-10 07:04:20 PST
I am not able to reproduce this issue in Safari 16.3 and Safari Technology Preview 163, is this fixed?
Comment 4 Alexey Proskuryakov 2023-02-10 08:34:49 PST
I can still reproduce on the same versions. Perhaps depends on initial window size?
Comment 5 Karl Dubost 2023-02-12 19:16:05 PST
confirmed. I can reproduce the layout differences