forked from sass/sass-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR activates specs for sass/libsass#1415
- Loading branch information
Showing
15 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@if & { | ||
foo { | ||
foo: bar; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
spec/libsass-closed-issues/issue_1415/mixin/expected.compact.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.foo bar { color: red; } | ||
|
||
.foo bar baz { color: red; } |
1 change: 1 addition & 0 deletions
1
spec/libsass-closed-issues/issue_1415/mixin/expected.compressed.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.foo bar{color:red}.foo bar baz{color:red} |
7 changes: 7 additions & 0 deletions
7
spec/libsass-closed-issues/issue_1415/mixin/expected.expanded.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.foo bar { | ||
color: red; | ||
} | ||
|
||
.foo bar baz { | ||
color: red; | ||
} |
5 changes: 5 additions & 0 deletions
5
spec/libsass-closed-issues/issue_1415/mixin/expected_output.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.foo bar { | ||
color: red; } | ||
|
||
.foo bar baz { | ||
color: red; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@mixin prepend-foo { | ||
$parent: &; | ||
|
||
@if $parent { | ||
.foo & { | ||
@content; | ||
} | ||
} @else { | ||
.foo { | ||
@content; | ||
} | ||
} | ||
} | ||
|
||
@include prepend-foo { | ||
bar { | ||
color: red; | ||
} | ||
} | ||
|
||
bar { | ||
@include prepend-foo { | ||
baz { | ||
color: red; | ||
} | ||
} | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$parent: &; | ||
|
||
@if $parent { | ||
foo { | ||
foo: bar; | ||
} | ||
} |