-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Invalid :not selector generated with @extend #2139
Milestone
Comments
xzyfer
added a commit
to xzyfer/sass-spec
that referenced
this issue
Aug 4, 2016
This PR add specs for sass/libsass#2139
This was referenced Aug 4, 2016
Got into same issue while upgrading from sass-rails to sassc-rails |
As a workaround I found that using attribute selector still works. Not perfect, but better than nothing. /* Instead of */
:not(.thing) {
@extend .thing;
background: blue;
}
/* You can write: */
:not([class*="thing"]) {
@extend .thing;
background: blue;
} |
Can confirm issue occurring for: $ node-sass --version
node-sass 4.3.0 (Wrapper) [JavaScript]
libsass 3.4.3 (Sass Compiler) [C/C++] |
Another example in dlmanning/gulp-sass#583 |
Closing as duplicate of #2055. I'm aware that extending wrapped selectors, |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Originally reported by @dreyks in sass/sassc#180. Possibly a duplicate of #2055.
LibSass 3.3.6 (c6685d7)
Sass 3.4.21
Spec added sass/sass-spec#888
The text was updated successfully, but these errors were encountered: