Skip to content
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

Filter error #230

Closed
HugoHeneault opened this issue Jan 4, 2014 · 5 comments
Closed

Filter error #230

HugoHeneault opened this issue Jan 4, 2014 · 5 comments

Comments

@HugoHeneault
Copy link

Hello,

Thanks a lot for this great tool ! It's sooo fast !

I have an error with filter property (thanks IE).

div
{
    -moz-opacity:.8;opacity:.80;filter:alpha(opacity=80)
}

returns error reading values after opacity

I have created a mixin to handle this for now, but if it could be fixed, it would be great !
Have a nice day.

@nschonni
Copy link
Collaborator

nschonni commented Jan 4, 2014

Might help to split the declarations to separate lines and then run again to confirm which "opacity" property it is choking on.

div
{
  -moz-opacity:.8;
  opacity:.80;
  filter:alpha(opacity=80);
}

@HugoHeneault
Copy link
Author

I have already run some tests, and I'm quite sure filter:alpha(opacity=80); is the origin of this issue.

@HugoHeneault
Copy link
Author

To be more precise, it seems it's the = symbol which triggers the error.

div
{
    filter:alpha(
        opacity=80
    );
}

returns css.scss:4: error: error reading values after opacity

@akhleung
Copy link

akhleung commented Jan 6, 2014

Are you using an older version of LibSass? I'm not able to reproduce the error.

@akhleung
Copy link

This particular issue is fixed in master. More generally, however, LibSass doesn't recognize all the new CSS filter functions; that problem is filed under #151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants