RESOLVED FIXED302433
Implement name only container queries
https://bugs.webkit.org/show_bug.cgi?id=302433
Summary Implement name only container queries
Adam Argyle
Reported 2025-11-12 16:41:18 PST
WPTs https://wpt.fyi/results/css/css-conditional/container-queries/query-container-name.html?label=master&label=experimental&aligned&q=container-name ``` .example { container-name: --foo } @container --foo { #target { color: green } } ``` this subtle feature has high value, enabling many meaningful usecases. authors expressing interest: - https://blog.kizu.dev/named-container-presence-check/ - https://nerdy.dev/components-can-know
Attachments
Anthony Frehner
Comment 1 2025-11-12 16:44:38 PST
I'm hoping to make the patch for this.
Radar WebKit Bug Importer
Comment 2 2025-11-13 10:42:52 PST
EWS
Comment 3 2025-12-12 16:36:34 PST
Committed 304388@main (6b8d8d4d09fe): <https://commits.webkit.org/304388@main> Reviewed commits have been landed. Closing PR #54667 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.