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

Pseudo class with multiple parent selectors compilation error #1968

Closed
ElManouche opened this issue Mar 31, 2016 · 1 comment
Closed

Pseudo class with multiple parent selectors compilation error #1968

ElManouche opened this issue Mar 31, 2016 · 1 comment

Comments

@ElManouche
Copy link

I have an error with the following

.test {
  // this works
  .test__elem {
    &:not(.active) {
      opacity: 0.5;
    }
  }

  // this creates a bug in the 'not' pseudo class
  .test__item,
  .test__item2 {
    &:not(.active) {
      opacity: 0.5;
    }
  }
}

is compiled to:

.test .test__elem:not(.active) {
  opacity: 0.5;
}

.test .test__item:not(.active, .active),
.test .test__item2:not(.active, .active) {
  opacity: 0.5;
}

I use sassc 1.9.0 for rails which uses the last version of libsass.
I opened a case in sassc-rails as well

@xzyfer
Copy link
Contributor

xzyfer commented Mar 31, 2016

This is fixed in 3.3.4.

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

2 participants