Skip to content

Commit

Permalink
Add specs for issue 2055
Browse files Browse the repository at this point in the history
This PR add specs for sass/libsass#2055
  • Loading branch information
xzyfer committed Sep 8, 2016
1 parent ce5668f commit 69f1cf7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/libsass-todo-issues/issue_2055/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:not(.thing) {
color: red; }

:not(.thing[disabled]):not([disabled]:not(.thing[disabled])):not([disabled]:has(:not(.thing[disabled]))) {
background: blue; }

:has(:not(.thing[disabled]):not([disabled]:not(.thing[disabled])):not([disabled]:has(:not(.thing[disabled])))) {
background: blue; }
11 changes: 11 additions & 0 deletions spec/libsass-todo-issues/issue_2055/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:not(.thing) {
color: red;
}
:not(.thing[disabled]) {
@extend .thing;
background: blue;
}
:has(:not(.thing[disabled])) {
@extend .thing;
background: blue;
}

0 comments on commit 69f1cf7

Please # to comment.