Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Output of @extend and :not() selector are wrong #583

Closed
ghost opened this issue Jan 17, 2017 · 1 comment
Closed

Output of @extend and :not() selector are wrong #583

ghost opened this issue Jan 17, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 17, 2017

Hi. I have a problem with compile this code

.test {
	.test2 {
		@extend .btn;
	}
}
.btn {
    display: none;
}
.text-box {
    display: none;
    a:not(.btn) {
    	display: none;
        &:hover {
            display: none;
        }
    }
}

Output CSS:

.btn, .test .test2 {
  display: none; }

.text-box {
  display: none; }
  .text-box a:not(.btn):not(.test .test2) {
    display: none; }
    .text-box a:not(.btn):not(.test .test2):hover {
      display: none; }

There is a problem with a correct write in multiply classes with :not selector.
"gulp-sass": "^3.1.0"
In SassMeister output is correct http://prntscr.com/dwsxqf

Could you please check this?

@ghost ghost closed this as completed Jan 17, 2017
@ghost ghost reopened this Jan 17, 2017
@xzyfer
Copy link
Collaborator

xzyfer commented Jan 17, 2017

Tracking this upstream in sass/libsass#2139

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant