Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-conditional] CSSContainerRule.containerQuery does not define how to handle omitted <container-query> #11269

Open
Psychpsyo opened this issue Nov 24, 2024 · 0 comments
Labels
css-conditional-5 Current Work

Comments

@Psychpsyo
Copy link
Contributor

The CSSContainerRule interface says about its containerQuery that it "must return the <container-query> that was specified".
The grammar allows a rule with only a container name and no container query, so I'm wondering: What should this return in such a case?
Empty string seems to make sense, given that's what containerName does.

Currently, neither Firefox nor Chrome seem to support this so unless Safari does, I don't think there's any precedent here.

@sideshowbarker sideshowbarker added the css-conditional-5 Current Work label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-conditional-5 Current Work
Projects
None yet
Development

No branches or pull requests

2 participants