| Summary: | Auto-fit grid columns collapsing with inline-size containment | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Darby Dixon III <eurgeht> | ||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | karlcow, koivisto, miriam, rezi99, sgill26, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Mac (Apple Silicon) | ||||||||
| OS: | macOS 13 | ||||||||
| Attachments: |
|
||||||||
|
Description
Darby Dixon III
2023-04-27 09:56:09 PDT
Issue is still present. Can be solved by moving container query to grid's wrapper element (which can cause bad semantics). The buggy Safari behavior works fine on Chrome and Firefox. It would be great if resolved soon. Created attachment 470948 [details]
rendering in safari, firefox, chrome
Tested in
Safari Technology Preview 192 19619.1.8.1
Firefox Nightly 126.0a1 12624.4.13
Google Chrome Canary 125.0.6422.0 6422.0
This might need a WPT test case. This is a containment bug, not a container query bug. Replacing container-type: inline-size; in the test case with contain: inline-size; still reproduces the issue. Created attachment 470954 [details]
test case
|