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

Placeholder selector inside :not() #1797

Closed
andreev-artem opened this issue Dec 21, 2015 · 2 comments
Closed

Placeholder selector inside :not() #1797

andreev-artem opened this issue Dec 21, 2015 · 2 comments

Comments

@andreev-artem
Copy link

Minimal repro:

%not {
  color: red;
}

.not {
  @extend %not;
}

div:not(%not) {
  color: black;
}

CSS output:

.not {
  color: red;
}

div:not(%not) {
  color: black;
}

Expected output:

.not {
  color: red;
}

div:not(.not) {
  color: black;
}

It works as expected using Ruby version.

@xzyfer
Copy link
Contributor

xzyfer commented Dec 22, 2015

Thanks for the report @andreev-artem. I can confirm this is an issue in 3.3.2.

@xzyfer xzyfer added this to the 3.4 milestone Dec 22, 2015
@mgreter mgreter self-assigned this Jan 6, 2016
@mgreter mgreter modified the milestones: 3.3.3, 3.4 Jan 6, 2016
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Jan 12, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Jan 12, 2016

Spec added and activated in sass/sass-spec#690

xzyfer added a commit to xzyfer/sass-spec that referenced this issue Jan 12, 2016
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