-
Notifications
You must be signed in to change notification settings - Fork 464
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
Custom at-rules causes LibSass an error but not the Ruby version of Sass #1263
Comments
Seconded. Sass should allow custom directives for forward-compatibility. |
Minimized test case: foo {
@--bar(--baz);
} Expected result: foo {
@--bar (--baz); } |
The original issue is solved with my latest WIP 3.3 branch, but there seems to be a side issue when the custom at_rule block is not preceded by some other declaration. Need to investigate further! |
@mgreter Why is the minimal test case not the following (unless it implicitly also allowing the following to be legal): Minimized test case: foo {
@bar(--baz);
} Expected result: foo {
@bar (--baz); } |
We now have a passing spec test since #1249 was merged 🎈 |
Problem
Unlike the recent versions of Ruby Sass, LibSass communicates a parsing/syntax error if a custom at-rule is used.
The following syntax demonstrates this (Ignore the CSS Mixin
--foo
& the incorrect output both LibSass & Sass currently outputs for it, will be addressed by another issue when it's time)Screenshots of Correct & Problematic Output
Ruby Sass Output
LibSass output
The text was updated successfully, but these errors were encountered: