WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
298626
[css-conditional-5] container-names are tree-scoped
https://bugs.webkit.org/show_bug.cgi?id=298626
Summary
[css-conditional-5] container-names are tree-scoped
Anthony Frehner
Reported
2025-09-09 15:36:19 PDT
Container queries should resolve against the flat tree in all cases (even when it's a named container query), whereas it was previously ambiguous whether named container queries should or not; however, WPT tests were written so that named container queries were _not_ resolving against the flat tree. In a previous PR
https://github.com/WebKit/WebKit/pull/45607
I fixed unnamed container queries resolving against the flat tree, but kept named containers to not resolve against it, because we wanted spec alignment first on that. Now, the spec is aligned. :) Spec update merged here
https://github.com/w3c/csswg-drafts/pull/12720
WPTs have already been updated here
https://github.com/web-platform-tests/wpt/pull/54612
and here
https://github.com/web-platform-tests/wpt/pull/54665
Attachments
Add attachment
proposed patch, testcase, etc.
Anthony Frehner
Comment 1
2025-09-09 15:37:20 PDT
I plan on submitting a PR for this.
EWS
Comment 2
2025-09-16 08:53:40 PDT
Committed
300033@main
(efd4ebe98cab): <
https://commits.webkit.org/300033@main
> Reviewed commits have been landed. Closing PR #50721 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-09-16 08:54:12 PDT
<
rdar://problem/160696378
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug