Skip to content

Commit

Permalink
Add specs for issue 1214
Browse files Browse the repository at this point in the history
This PR add specs for sass/libsass#1214
  • Loading branch information
xzyfer committed May 15, 2015
1 parent 4c540cd commit aa829b3
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/libsass-todo-issues/issue_1214/expected.compact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@keyframes $animation-name { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-30px); }
60% { transform: translateY(-15px); } }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@keyframes $animation-name{0%, 20%, 50%, 80%, 100%{transform:translateY(0)}40%{transform:translateY(-30px)}60%{transform:translateY(-15px)}}
11 changes: 11 additions & 0 deletions spec/libsass-todo-issues/issue_1214/expected.expanded.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@keyframes $animation-name {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
7 changes: 7 additions & 0 deletions spec/libsass-todo-issues/issue_1214/expected_output.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@keyframes $animation-name {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0); }
40% {
transform: translateY(-30px); }
60% {
transform: translateY(-15px); } }
11 changes: 11 additions & 0 deletions spec/libsass-todo-issues/issue_1214/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@mixin keyframes($animation-name) {
@keyframes $animation-name {
@content;
}
}

@include keyframes(bounce) {
0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
40% {transform: translateY(-30px);}
60% {transform: translateY(-15px);}
}

0 comments on commit aa829b3

Please sign in to comment.