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

Incorrectly interprets native CSS mixins as nested rules #2311

Closed
tony19 opened this issue Feb 2, 2017 · 1 comment
Closed

Incorrectly interprets native CSS mixins as nested rules #2311

tony19 opened this issue Feb 2, 2017 · 1 comment

Comments

@tony19
Copy link

tony19 commented Feb 2, 2017

See sass/sass#2235

input.scss

$color: #f00;
my-view1 {
  --view1-card: {
    border: solid 1px #{$color};
    opacity: 0.5;
  };
}

libsass 3.5.0.beta.2

my-view1 {
  --view1-card-border: solid 1px #f00;
  --view1-card-opacity: 0.5;
}

ruby sass 3.4.21

my-view1 {
  --view1-card-border: solid 1px #f00;
  --view1-card-opacity: 0.5;
}

version info:

$ node-sass --version
node-sass	4.4.0	(Wrapper)	[JavaScript]
libsass  	3.5.0.beta.2	(Sass Compiler)	[C/C++]
@xzyfer
Copy link
Contributor

xzyfer commented Feb 2, 2017

I believe this is a duplicate of #2076

@xzyfer xzyfer closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants