-
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
libsass chokes on Compass stylesheet's "prefix-usage(" call #1936
Comments
Mmh, ok, that error message was a red herring, the root cause is the line below, which looks like #1451. Probably because
|
The right way to go might just be to use autoprefixer and hard code some constant Closing this issue. |
just to add what finally worked for me, i tried to look for the source code, but this function isn't shared on compasses website. Its an old code base that hasn't been updated in a long time, so I finally just had to make the function myself: @function prefix-usage($prefix, $capability, $capability-options: $default-capability-options) {
$result: ();
@each $prefix in browser-prefixes($supported-browsers) {
$result: append($result, 3);
}
@return length($result);
} |
Not sure if that's Compass not abiding by Scss syntax, or some bug in libsass.
Repro: given
foo.scss
:The following command:
Yields this error:
See corresponding line in Compass' github source.
(this is blocking a large migration from Ruby Sass to SassC, as migrating to more libsass-friendly mixin libraries like Bourbon is a larger investment)
Output of
sassc --version
:The text was updated successfully, but these errors were encountered: