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

@at-root with dynamic selector doesn't work #1297

Closed
chriseppstein opened this issue Jun 25, 2015 · 3 comments
Closed

@at-root with dynamic selector doesn't work #1297

chriseppstein opened this issue Jun 25, 2015 · 3 comments

Comments

@chriseppstein
Copy link
Contributor

.test .testa {
  @at-root #{"%foo"} {
    color: red;
  }
  @extend %foo;
}

Compiles to:

.test .testa .testa {
  color: red;
}

Instead of the expected:

.test .testa {
  color: red;
}

If @at-root #{"%foo"} is changed to @at-root %foo it works as expected but these two should be semantically identical.

cc: @eoneill

@mgreter
Copy link
Contributor

mgreter commented Jun 25, 2015

Duplicate of #1210 and will be fixed once my latest refactoring is merged: #1249!

@mgreter mgreter added this to the 3.3 milestone Jun 25, 2015
@mgreter mgreter self-assigned this Jun 25, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Jun 29, 2015
@xzyfer
Copy link
Contributor

xzyfer commented Jun 29, 2015

Specs added sass/sass-spec#419

@mgreter
Copy link
Contributor

mgreter commented Jul 13, 2015

We now have a passing spec test since #1249 was merged 🎈

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