We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into an issue where our designer defined a mixin that caused libsass 3.1.0 to throw a warning and halt compilation. Here's the mixin:
@mixin img-opacity($trans) { filter : alpha(opacity=($trans * 100)); -ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$trans * 100})"; -moz-opacity : $trans; -khtml-opacity : $trans; opacity : $trans; }
libsass specifically complained about the "filter" definition with this message:
error reading values after opacity
Sass 3.2.19 and up process the mixin just fine:
http://sassmeister.com/gist/e68c7a09b749dd1360ac (you can change to libsass in that UI and see it fail compilation)
With a slight modification to the mixin, libsass handles it just fine:
@mixin img-opacity($trans) { filter : alpha(opacity=$trans * 100); -ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=#{$trans * 100})"; -moz-opacity : $trans; -khtml-opacity : $trans; opacity : $trans; }
http://sassmeister.com/gist/f4261c967d48b9cd9a18
Seems like libsass doesn't like the parentheses there.
The text was updated successfully, but these errors were encountered:
Parse function arguments with equal sign correctly
360cfd3
Fixes sass#931
Improve ie property and expression parsing
eedba4d
Fixes sass#1188 Fixes sass#1102 Fixes sass#931
cd18ae8
mgreter
Successfully merging a pull request may close this issue.
Ran into an issue where our designer defined a mixin that caused libsass 3.1.0 to throw a warning and halt compilation. Here's the mixin:
libsass specifically complained about the "filter" definition with this message:
Sass 3.2.19 and up process the mixin just fine:
http://sassmeister.com/gist/e68c7a09b749dd1360ac
(you can change to libsass in that UI and see it fail compilation)
With a slight modification to the mixin, libsass handles it just fine:
http://sassmeister.com/gist/f4261c967d48b9cd9a18
Seems like libsass doesn't like the parentheses there.
The text was updated successfully, but these errors were encountered: