[css-conditional-5] "query-less" container query support
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: afrehner.work, Assigned: afrehner.work)
Details
Attachments
(1 file)
Steps to reproduce:
The spec supports the idea of "query-less" / "no query" container queries. To clarify:
https://drafts.csswg.org/css-conditional-5/#container-rule
outlines it as
<container-condition> = [ <container-name>? <container-query>? ]!
<container-name> = <custom-ident>
<container-query> = not <query-in-parens>
| <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]
where <container-query> is now optional. This enables queries like
@container --name {}
to work, and the goal is to simply apply the styles if it is inside a container with that name --name.
WPTs exist here https://github.com/web-platform-tests/wpt/blob/master/css/css-conditional/container-queries/query-container-name.html
I'd like to implement this in Firefox so that it's all wrapped up https://wpt.fyi/results/css/css-conditional/container-queries/query-container-name.html?label=experimental&label=master&aligned
Actual results:
"query-less" container queries don't work
Expected results:
they should work.
Comment 1•1 day ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 2•21 hours ago
|
||
Updated•21 hours ago
|
Backed out for causing wpt failures
Comment 6•6 hours ago
|
||
Ah, you need to annotate the extra passes. Please do that and we can get that re-landed. Thanks!
Description
•