NEW 293914
Grid items with `aspect-ratio` rules not rendered at expected.
https://bugs.webkit.org/show_bug.cgi?id=293914
Summary Grid items with `aspect-ratio` rules not rendered at expected.
Westbrook
Reported 2025-06-02 11:37:30 PDT
Created attachment 475455 [details] Expected output Steps to reproduce: - set a `grid` layout with `auto-fill` columns: e.g. `grid-template-columns: repeat(auto-fit, minmax(1px, auto));` - apply an `aspect-ratio` to the items that fill those columns - see that `aspect-ratio` is: - not minded in WebKit - manage correctly in Blink For a live reproduction, visit https://codepen.io/Westbrook/pen/gbpMbrb
Attachments
Expected output (238.98 KB, image/png)
2025-06-02 11:37 PDT, Westbrook
no flags
Actual output (427.69 KB, image/png)
2025-06-02 11:38 PDT, Westbrook
no flags
rendering in safari, firefox, chrome (1.13 MB, image/png)
2025-06-03 02:26 PDT, Karl Dubost
no flags
Westbrook
Comment 1 2025-06-02 11:38:32 PDT
Created attachment 475456 [details] Actual output
Radar WebKit Bug Importer
Comment 2 2025-06-02 14:57:41 PDT
Ahmad Saleem
Comment 3 2025-06-02 14:59:38 PDT
*** WebKit ToT (295712@main) *** Get `Actual Output` - broken behavior rather than container, just lines. *** Chrome Canary 139.0.7212.0 (Official Build) canary (arm64) *** Give `Expected Output` *** Firefox Nightly 141 (20250602092155) *** Same as Safari / WebKit.
Karl Dubost
Comment 4 2025-06-03 02:26:34 PDT
Created attachment 475463 [details] rendering in safari, firefox, chrome Safari Technology Preview 18.4 (220) 20622.1.14.5 Firefox Nightly 141.0a1 14125.5.29 Google Chrome Canary 139.0.7215.0 7215.0
Karl Dubost
Comment 5 2025-06-03 02:29:50 PDT
It could be duplicates of Bug 260585 and Bug 260584
Note You need to log in before you can comment on or make changes to this bug.