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

Regression - Unexpected string concatenation for selectors extending placeholders #1673

Closed
davidkpiano opened this issue Oct 30, 2015 · 2 comments

Comments

@davidkpiano
Copy link

TEST:

%foo {
  test: outer;

  &-inner {
    test: inner;
  }
}

.foo {
  @extend %foo;

  &.inner { @extend %foo-inner; }
}

EXPECTED: (Ruby Sass and LibSass 3.2.5)

.foo {
  test: outer;
}

.foo.inner {
  test: inner;
}

ACTUAL: (with Node-Sass 3.4.x latest)

.foo {
  test: outer;
}

-inner.foo {
  test: inner;
}
@xzyfer
Copy link
Contributor

xzyfer commented Nov 4, 2015

Fixed by #1675. Creating a spec for good measure.

@xzyfer xzyfer closed this as completed Nov 4, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Nov 4, 2015
@xzyfer
Copy link
Contributor

xzyfer commented Nov 4, 2015

Spec added sass/sass-spec#596

xzyfer added a commit to xzyfer/sass-spec that referenced this issue Nov 4, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Nov 4, 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

3 participants