-
Notifications
You must be signed in to change notification settings - Fork 465
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
Selector groups can not be extended #950
Comments
This is the |
Hi @mgreter, I wrote an entire fluid grid framework with this feature and now I'm unable to still work on it. Amazingly weird. |
You can close the issue: feature's implemented and my project is running again. |
@archgrove thank you for this report. Let me clear a couple things up.
Codepen uses Ruby Sass not Libsass which is why your code works there.
It sounds you were using Ruby Sass, not Libsass. Libsass is not yet at feature parity.
I've reopened this issue because as @mgreter pointed out this is a missing feature. |
OMG. What a stupid developer am I ? |
No big deal! It's fine! |
Sorry, just realized it was requested to stay open above. @xzyfer I'll stop mucking about. ;) |
Code was actually working. Not sure why we had this check if the first place (was added with first commit when expand.cpp was introduced in the project). So I just removed the check with the error and it worked! Fixes sass#950
Actually this already works, once we remove the check that throws the error. Made a |
Code was actually working. Not sure why we had this check if the first place (was added with first commit when expand.cpp was introduced in the project). So I just removed the check with the error and it worked! Fixes sass#950
I'm not able to compile something like:
.selector1{ ... }
.selector2{ ... }
.selector3{ @extend .selector1, .selector2; }
According to sass-lang ref-doc:
Multiple extends can also be written using a comma-separated list of selectors. For example, @extend .error, .attention is the same as @extend .error; @extend .attention.
A couple of months ago worked fine and, currently, it compiles well on codepen.
Am I missing something ?
The text was updated successfully, but these errors were encountered: