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

Parent reference in selector with @extends produce wrong output #1482

Closed
xzyfer opened this issue Aug 24, 2015 · 0 comments
Closed

Parent reference in selector with @extends produce wrong output #1482

xzyfer opened this issue Aug 24, 2015 · 0 comments

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Aug 24, 2015

Originally reported on sass/sassc#137

.mango {
  color: red;
}

.something {
  &__else {
    @extend .mango;
    color: blue;
  }
}

Ruby Sass

.mango, .something__else {
  color: red; }

.something__else {
  color: blue; }

LibSass 3.2.5

.mango, .something__else {
  color: red; }

.something__else {
  color: blue; }

LibSass master

mango, __else.something {
  color: red; }

.something__else {
  color: blue; }

Spec added sass/sass-spec#478

@xzyfer xzyfer added this to the 3.3 milestone Aug 24, 2015
@xzyfer xzyfer changed the title Parent reference in selector produce wrong output Parent reference in selector with @extends produce wrong output Aug 24, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Aug 24, 2015
mgreter added a commit to mgreter/sass-spec that referenced this issue Aug 24, 2015
@mgreter mgreter self-assigned this Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants