Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 7b6ea20

Browse files
committed
Update tests according to caniuse/autoprefixer update
Close #58
1 parent 06ecd61 commit 7b6ea20

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

test/cases/color.expected.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
body {
2-
background: rgb(102, 51, 153) -webkit-linear-gradient(rgba(102, 51, 153, 0.5), rgb(153, 51, 51), rgba(153, 51, 51, 0.55), rgba(153, 221, 153, 0.9));
32
background: rgb(102, 51, 153) linear-gradient(rgba(102, 51, 153, 0.5), rgb(153, 51, 51), rgba(153, 51, 51, 0.55), rgba(153, 221, 153, 0.9));
43
}

test/cases/example.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ body {
2929
/* colors stuff */
3030
a {
3131
color: var(--highlightColor);
32-
transition: color 1s; /* autoprefixed ! */
32+
transition: color .1s, transform .2s;
33+
}
34+
a:hover {
35+
color: gray(255, 50%);
36+
transform: rotate(1deg);
3337
}
34-
a:hover { color: gray(255, 50%) }
3538
a:active { color: rebeccapurple }
3639
a:visited { color: color(var(--highlightColor) blackness(+20%)) }
3740

test/cases/example.expected.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ h6 { margin-top: 0 }
2727
/* colors stuff */
2828
a {
2929
color: rgb(89, 185, 204);
30-
-webkit-transition: color 1s;
31-
transition: color 1s; /* autoprefixed ! */
30+
transition: color .1s, -webkit-transform .2s;
31+
transition: color .1s, transform .2s;
32+
}
33+
a:hover {
34+
color: rgba(255, 255, 255, 0.5);
35+
-webkit-transform: rotate(1deg);
36+
-ms-transform: rotate(1deg);
37+
transform: rotate(1deg);
3238
}
33-
a:hover { color: rgba(255, 255, 255, 0.5) }
3439
a:active { color: rgb(102, 51, 153) }
3540
a:visited { color: rgb(89, 142, 153) }
3641

test/features/autoprefixer.expected.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
* {
2-
-webkit-transition: -webkit-transform 1s;
3-
transition: transform 1s;
2+
transition: -webkit-transform 1s;
3+
transition: transform 1s;
44
}
55

66
@-webkit-keyframes spin {

0 commit comments

Comments
 (0)