Skip to content

Commit

Permalink
Add specs for issue 2452
Browse files Browse the repository at this point in the history
This PR add specs for sass/libsass#2452
  • Loading branch information
xzyfer committed Mar 6, 2018
1 parent f2cafa2 commit a19a856
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/libsass-closed-issues/issue_2452/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@supports (display: flow-root) {
div {
display: flow-root;
}
}
18 changes: 18 additions & 0 deletions spec/libsass-closed-issues/issue_2452/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
$prop: display;
$val: flow-root;

@mixin supports($prop, $val) {
@supports ($prop: $val) {
$prop: $val;
}
}

div {
@include supports($prop, $val);
}

div {
@supports ($prop: $val) {
#{$prop}: $val;
}
}

0 comments on commit a19a856

Please sign in to comment.