Skip to content

Commit

Permalink
Add todo spec test for libsass issue 2261
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Dec 24, 2016
1 parent a6d4ea8 commit 9cb7324
Show file tree
Hide file tree
Showing 14 changed files with 95 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.inner .test {
property: value;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@mixin test() {
@at-root {
.inner {
@content;
}
}
}

@include test {
.test {
property: value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test .inner {
property: value;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@mixin test() {
@at-root {
.inner {
@content;
}
}
}

@include test {
.test & {
property: value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
property: value;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@mixin test() {
@at-root {
@content;
}
}

@include test {
.test {
property: value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Error: Base-level rules cannot contain the parent-selector-referencing character '&'.
on line 8 of /sass/spec/libsass-issues/issue_2260/no-parent-with-compound/input.scss, in `@content'
from line 3 of /sass/spec/libsass-issues/issue_2260/no-parent-with-compound/input.scss, in `test'
from line 7 of /sass/spec/libsass-issues/issue_2260/no-parent-with-compound/input.scss
Use --trace for backtrace.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@mixin test() {
@at-root {
@content;
}
}

@include test {
.test & {
property: value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
65
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test {
property: value;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@mixin test() {
.outer {
@at-root {
@content;
}
}
}

@include test {
.test {
property: value;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.test .outer {
property: value;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@mixin test() {
.outer {
@at-root {
@content;
}
}
}

@include test {
.test & {
property: value;
}
}

0 comments on commit 9cb7324

Please sign in to comment.