Bug 249435 - Incorrect and unstable layout combining grid, aspect-ratio, and min-width
Summary: Incorrect and unstable layout combining grid, aspect-ratio, and min-width
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: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-12-15 15:30 PST by Tim Horton
Modified: 2023-02-12 19:16 PST (History)
8 users (show)

See Also:


Attachments
repro (453 bytes, text/html)
2022-12-15 15:30 PST, Tim Horton
no flags Details
screenshot (213.67 KB, image/png)
2022-12-15 15:31 PST, Tim Horton
no flags Details

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