Skip to content

Commit

Permalink
changed 0% to 0 to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
notslang committed Jul 30, 2013
1 parent f631c51 commit 626921d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
38 changes: 19 additions & 19 deletions test/cases/linear-gradient.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,29 @@ body {
background: linear-gradient(top, #fff 0, #000 100%), #fff;
}
body {
-webkit-border-image: -webkit-linear-gradient(top, #fff 0%, #000 100%) 20% stretch stretch;
-moz-border-image: -moz-linear-gradient(top, #fff 0%, #000 100%) 20% stretch stretch;
-o-border-image: -o-linear-gradient(top, #fff 0%, #000 100%) 20% stretch stretch;
border-image: linear-gradient(top, #fff 0%, #000 100%) 20% stretch stretch;
-webkit-border-image: -webkit-linear-gradient(top, #fff 0, #000 100%) 20% stretch stretch;
-moz-border-image: -moz-linear-gradient(top, #fff 0, #000 100%) 20% stretch stretch;
-o-border-image: -o-linear-gradient(top, #fff 0, #000 100%) 20% stretch stretch;
border-image: linear-gradient(top, #fff 0, #000 100%) 20% stretch stretch;
}
body {
cursor: -webkit-linear-gradient(40deg, #f00 0%, #0f0 100%);
cursor: -moz-linear-gradient(40deg, #f00 0%, #0f0 100%);
cursor: -ms-linear-gradient(40deg, #f00 0%, #0f0 100%);
cursor: -o-linear-gradient(40deg, #f00 0%, #0f0 100%);
cursor: linear-gradient(40deg, #f00 0%, #0f0 100%);
cursor: -webkit-linear-gradient(40deg, #f00 0, #0f0 100%);
cursor: -moz-linear-gradient(40deg, #f00 0, #0f0 100%);
cursor: -ms-linear-gradient(40deg, #f00 0, #0f0 100%);
cursor: -o-linear-gradient(40deg, #f00 0, #0f0 100%);
cursor: linear-gradient(40deg, #f00 0, #0f0 100%);
}
body {
list-style: -webkit-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style: -moz-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style: -ms-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style: -o-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style: linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style: -webkit-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style: -moz-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style: -ms-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style: -o-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style: linear-gradient(40deg, #f00 0, #0f0 100%);
}
body {
list-style-image: -webkit-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style-image: -moz-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style-image: -ms-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style-image: -o-linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style-image: linear-gradient(40deg, #f00 0%, #0f0 100%);
list-style-image: -webkit-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style-image: -moz-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style-image: -ms-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style-image: -o-linear-gradient(40deg, #f00 0, #0f0 100%);
list-style-image: linear-gradient(40deg, #f00 0, #0f0 100%);
}
40 changes: 20 additions & 20 deletions test/cases/multiple-gradients.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
.test1 {
background: -webkit-linear-gradient(top, #fff 0%, #000 100%), -webkit-linear-gradient(bottom, #000 0%, #fff 100%);
background: -moz-linear-gradient(top, #fff 0%, #000 100%), -moz-linear-gradient(bottom, #000 0%, #fff 100%);
background: -o-linear-gradient(top, #fff 0%, #000 100%), -o-linear-gradient(bottom, #000 0%, #fff 100%);
background: -ms-linear-gradient(top, #fff 0%, #000 100%), -ms-linear-gradient(bottom, #000 0%, #fff 100%);
background: linear-gradient(top, #fff 0%, #000 100%), linear-gradient(bottom, #000 0%, #fff 100%);
background: -webkit-linear-gradient(top, #fff 0, #000 100%), -webkit-linear-gradient(bottom, #000 0, #fff 100%);
background: -moz-linear-gradient(top, #fff 0, #000 100%), -moz-linear-gradient(bottom, #000 0, #fff 100%);
background: -o-linear-gradient(top, #fff 0, #000 100%), -o-linear-gradient(bottom, #000 0, #fff 100%);
background: -ms-linear-gradient(top, #fff 0, #000 100%), -ms-linear-gradient(bottom, #000 0, #fff 100%);
background: linear-gradient(top, #fff 0, #000 100%), linear-gradient(bottom, #000 0, #fff 100%);
}
.test2 {
background: #fff -webkit-linear-gradient(top, #000 0%, #fff 100%) 0 0 no-repeat, -webkit-linear-gradient(bottom, #000 0%, #fff 100%) 10px bottom repeat-y;
background: #fff -moz-linear-gradient(top, #000 0%, #fff 100%) 0 0 no-repeat, -moz-linear-gradient(bottom, #000 0%, #fff 100%) 10px bottom repeat-y;
background: #fff -o-linear-gradient(top, #000 0%, #fff 100%) 0 0 no-repeat, -o-linear-gradient(bottom, #000 0%, #fff 100%) 10px bottom repeat-y;
background: #fff -ms-linear-gradient(top, #000 0%, #fff 100%) 0 0 no-repeat, -ms-linear-gradient(bottom, #000 0%, #fff 100%) 10px bottom repeat-y;
background: #fff linear-gradient(top, #000 0%, #fff 100%) 0 0 no-repeat, linear-gradient(bottom, #000 0%, #fff 100%) 10px bottom repeat-y;
background: #fff -webkit-linear-gradient(top, #000 0, #fff 100%) 0 0 no-repeat, -webkit-linear-gradient(bottom, #000 0, #fff 100%) 10px bottom repeat-y;
background: #fff -moz-linear-gradient(top, #000 0, #fff 100%) 0 0 no-repeat, -moz-linear-gradient(bottom, #000 0, #fff 100%) 10px bottom repeat-y;
background: #fff -o-linear-gradient(top, #000 0, #fff 100%) 0 0 no-repeat, -o-linear-gradient(bottom, #000 0, #fff 100%) 10px bottom repeat-y;
background: #fff -ms-linear-gradient(top, #000 0, #fff 100%) 0 0 no-repeat, -ms-linear-gradient(bottom, #000 0, #fff 100%) 10px bottom repeat-y;
background: #fff linear-gradient(top, #000 0, #fff 100%) 0 0 no-repeat, linear-gradient(bottom, #000 0, #fff 100%) 10px bottom repeat-y;
}
.test3 {
background-image: -webkit-linear-gradient(top, #fff 0%, #000 100%), url("a.png"), -webkit-linear-gradient(bottom, #000 0%, #fff 100%);
background-image: -moz-linear-gradient(top, #fff 0%, #000 100%), url("a.png"), -moz-linear-gradient(bottom, #000 0%, #fff 100%);
background-image: -o-linear-gradient(top, #fff 0%, #000 100%), url("a.png"), -o-linear-gradient(bottom, #000 0%, #fff 100%);
background-image: -ms-linear-gradient(top, #fff 0%, #000 100%), url("a.png"), -ms-linear-gradient(bottom, #000 0%, #fff 100%);
background-image: linear-gradient(top, #fff 0%, #000 100%), url("a.png"), linear-gradient(bottom, #000 0%, #fff 100%);
background-image: -webkit-linear-gradient(top, #fff 0, #000 100%), url("a.png"), -webkit-linear-gradient(bottom, #000 0, #fff 100%);
background-image: -moz-linear-gradient(top, #fff 0, #000 100%), url("a.png"), -moz-linear-gradient(bottom, #000 0, #fff 100%);
background-image: -o-linear-gradient(top, #fff 0, #000 100%), url("a.png"), -o-linear-gradient(bottom, #000 0, #fff 100%);
background-image: -ms-linear-gradient(top, #fff 0, #000 100%), url("a.png"), -ms-linear-gradient(bottom, #000 0, #fff 100%);
background-image: linear-gradient(top, #fff 0, #000 100%), url("a.png"), linear-gradient(bottom, #000 0, #fff 100%);
}
.test4 {
background: -webkit-linear-gradient(bottom, #000 0%, #fff 100%), -webkit-linear-gradient(top, #fff 0%, #000 100%);
background: -moz-linear-gradient(bottom, #000 0%, #fff 100%), -moz-linear-gradient(top, #fff 0%, #000 100%);
background: -o-linear-gradient(bottom, #000 0%, #fff 100%), -o-linear-gradient(top, #fff 0%, #000 100%);
background: -ms-linear-gradient(bottom, #000 0%, #fff 100%), -ms-linear-gradient(top, #fff 0%, #000 100%);
background: linear-gradient(bottom, #000 0%, #fff 100%), linear-gradient(top, #fff 0%, #000 100%);
background: -webkit-linear-gradient(bottom, #000 0, #fff 100%), -webkit-linear-gradient(top, #fff 0, #000 100%);
background: -moz-linear-gradient(bottom, #000 0, #fff 100%), -moz-linear-gradient(top, #fff 0, #000 100%);
background: -o-linear-gradient(bottom, #000 0, #fff 100%), -o-linear-gradient(top, #fff 0, #000 100%);
background: -ms-linear-gradient(bottom, #000 0, #fff 100%), -ms-linear-gradient(top, #fff 0, #000 100%);
background: linear-gradient(bottom, #000 0, #fff 100%), linear-gradient(top, #fff 0, #000 100%);
}

0 comments on commit 626921d

Please sign in to comment.