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-values-4] <any-value> in functional <general-enclosed> should be a non-strict comma-containing production #11042

Open
cdoublev opened this issue Oct 16, 2024 · 0 comments
Labels
css-values-4 Current Work

Comments

@cdoublev
Copy link
Collaborator

cdoublev commented Oct 16, 2024

About comma-containing productions:

If it does not start with a "{" token, then it cannot contain commas or {} blocks

@media unknown(foo, bar) {} and @media unknown({}) {} are valid today. So I think <any-value> in the functional <general-enclosed> should be defined as a non-strict comma-containing production.

I guess the above restriction should only apply in functions (which is unclear), so there is no need to define <any-value> in the <general-enclosed> block to allow @media (foo, bar) {} and @media ({}) to be parsed as valid rules, as well as :unknown-pseudo(foo, bar) and :unknown-pseudo({}) as <pseudo-class-selector>s.

@cdoublev cdoublev changed the title [css-values-5] <any-value> in functional <general-enclosed> should be a non-strict comma-containing production [css-values-4] <any-value> in functional <general-enclosed> should be a non-strict comma-containing production Oct 16, 2024
@cdoublev cdoublev added css-values-4 Current Work and removed css-values-5 labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-values-4 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant