NEW 238329
[CSS Container Queries] Inconsistent query application in grid
https://bugs.webkit.org/show_bug.cgi?id=238329
Summary [CSS Container Queries] Inconsistent query application in grid
Scott Kellum
Reported 2022-03-24 09:01:04 PDT
Created attachment 455646 [details] A > 600px container query being applied to an element with the width of 302px Queries are applied irregularly to elements on the page that are rendered with CSS Grid. In the demo below, when one element on the grid row matches the CQ criteria, the styles apply to all elements on that grid row. This means that even though column three can be 400px, it will still be styled with the above 600px media query. Replicated here: Problem exists on both an Intel 12" MacBook and M1 Mac Mini. https://cdpn.io/pen/debug/bGagRKK/abb869e42204412d0090a4267580b2ce ALSO pages inside iframes don’t update live. A full-page refresh is required for the queries to take effect making it difficult to test in CodePen. https://codepen.io/scottkellum/pen/bGagRKK/abb869e42204412d0090a4267580b2ce?editors=0100
Attachments
A > 600px container query being applied to an element with the width of 302px (44.27 KB, image/png)
2022-03-24 09:01 PDT, Scott Kellum
no flags
Radar WebKit Bug Importer
Comment 1 2022-03-24 16:10:32 PDT
Note You need to log in before you can comment on or make changes to this bug.