-
Notifications
You must be signed in to change notification settings - Fork 719
[css-values] Define <'property-name'> notation to exclude listification #3146
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
Labels
Closed Accepted by CSSWG Resolution
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-values-3
css-values-4
Current Work
Comments
I like this suggestion. This would exclude things like |
The CSS Working Group just discussed
The full IRC log of that discussion |
fantasai
added a commit
that referenced
this issue
Jan 2, 2019
…lier so it's actually usable with list-valued property patterns. #3146
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Closed Accepted by CSSWG Resolution
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-values-3
css-values-4
Current Work
The CSS property definition syntax has the handy
<'property-name'>
notation, which imports the entire value space of that property (aside from the CSS-wide keywords).It's super useful, except a large number of places where we would use it (and did in CSS2) are places where we've listified the property value. This results in a lot of custom non-terminal grammar productions which are simply the entire value space of the property except without the listification, e.g. in css-backgrounds and css-animations.
I suggest we define
<'property-name'>
to just drop top-level listification. This would allow us to clean up our grammar productions, getting rid of these routine non-terminals and inlining a large number of simple productions into the property definition tables where they are easier to see and index.The text was updated successfully, but these errors were encountered: