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-properties-values-api-1] Define syntax with <string> | <syntax> #1132

Open
cdoublev opened this issue Oct 25, 2024 · 0 comments
Open

[css-properties-values-api-1] Define syntax with <string> | <syntax> #1132

cdoublev opened this issue Oct 25, 2024 · 0 comments

Comments

@cdoublev
Copy link
Contributor

The syntax descriptor could now be defined with a "naked" value matching <syntax>.

When declared as a <string>, its value would be parsed against <syntax> instead of calling consume a syntax definition, which could be removed.

Note that the <syntax> value range is slightly wider than what this algo allows, since it matches syntax component names case-sensitively. I think that is the only difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant