-
Notifications
You must be signed in to change notification settings - Fork 1
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
Edge case: property can take coma-separated values #8
Labels
Comments
Actually it’s possible by wrapping them in quotes: .my-class {
transition-property: v(transition-properties, 'opacity, visibility')
} |
It turns out the previous example is wrong because it generates: .my-class {
transition-property: var(--transition-properties, 'opacity, visibility');
} As described on MDN (or just before example 12 in the spec), the quotes are not valid. This should be generated instead: .my-class {
transition-property: var(--transition-properties, opacity, visibility);
} I think there are two futures for this issue:
I’d rather give a try at option 2 in order to improve the package. |
meduzen
changed the title
Document edge case: property can take coma-separated values
Edge case: property can take coma-separated values
Jan 21, 2023
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Considering this:
This is not possible to get the same result withSee next comment. 🤓v()
because it will wrapopacity
as custom property name (var(--opacity
). In this case,v()
shouldn’t be used.The text was updated successfully, but these errors were encountered: