Open russelporosky opened 8 years ago
Thank you for bug report @metaloha
It seems to have to do with providing the fallbacks. You can try out the following snippet on the playground which works just fine
.foo {
--font-size: 14px;
--line-height: 16px;
font: var(--font-size)/var(--line-height) sans-serif;
}
Your description makes much more sense, thanks :)
I haven't had to worry about this bug in my own code thus far, but it does break that line in sanitize.css.
For example, on line 133 of sanitize.css (currently), the following line appears:
The postcss-custom-properties plugin correctly resolves this to read:
This plugin simply outputs: