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

Interpolation error in classes starting with - #1301

Closed
hagenburger opened this issue Jun 30, 2015 · 3 comments
Closed

Interpolation error in classes starting with - #1301

hagenburger opened this issue Jun 30, 2015 · 3 comments

Comments

@hagenburger
Copy link
Member

This won’t work in LibSass but does in Ruby Sass and is a valid CSS class:

$name: "my-class";

.-#{$name} {
  content: "test";
}

Expected:

.-my-class {
  content: "test";
}

See tests:
http://sassmeister.com/gist/1ea1287c028efb70c95a

@mgreter
Copy link
Contributor

mgreter commented Jul 7, 2015

This works as expected with #1249 ... not sure which commit actually contains the fix!

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

xzyfer commented Jul 13, 2015

Spec added sass/sass-spec#442

@mgreter
Copy link
Contributor

mgreter commented Jul 13, 2015

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

@mgreter mgreter closed this as completed Jul 13, 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