Bug 298626
| Summary: | [css-conditional-5] container-names are tree-scoped | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anthony Frehner <afrehner.work> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | afrehner.work, koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Anthony Frehner
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
I plan on submitting a PR for this.
EWS
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
<rdar://problem/160696378>