-
Notifications
You must be signed in to change notification settings - Fork 463
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
Forbid empty custom properties #2655
Comments
What should the behaviour be if the interpolation leads to a empty set? I saw the |
I'm not sure what you mean by "an empty set", but any interpolation that would cause the value of the custom property to be empty should be an error. |
Sorry, I just meant the case when the selector evaluates to a null CSS selector like |
sass-spec: sass/sass-spec#1385 Fixes sass#2655
sass-spec: sass/sass-spec#1385 Fixes #2655
LibSass currently ignores custom properties without values, such as
--foo:;
and--foo:#{""};
. Since CSS considers these invalid, LibSass should error out for them rather than ignoring them.See sass/sass-spec#1249 and sass/sass-spec#1259
The text was updated successfully, but these errors were encountered: