-
Notifications
You must be signed in to change notification settings - Fork 658
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] Make slashes implicitly omissible like commas #7200
Comments
No, this is impossible - the slash is absolutely required in several properties already to avoid ambiguity. In particular, 'font' requires it to distinguish a font-size from a line-height, and 'border-image' requires it to distinguish all four of its longhand components. |
This change wouldn't touch existing syntaxes because they don't allow leading or trailing slashes nor multiple subsequent slashes without values in between them.
Sebastian |
Nope, border-image allows syntax like I misremembered 'font' - the font-size is indeed always required, so the Regardless, tho, border-image has an irreconcilable conflict. |
Oh, you're right. 😞 I misinterpreted the syntax of Though the main point why I came up with this idea was to avoid leading or trailing slashes in values. I'll open a related issue to discuss that. Sebastian |
For commas in values there is a definition that says that they are implicitly omissible when
I believe the same logic should apply to slashes within values.
One explicit case for that is currently discussed in #7142.
Sebastian
The text was updated successfully, but these errors were encountered: