You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/rules/compatible-vendor-prefixes.js
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,13 @@
14
14
Assert.areEqual("The property -moz-border-radius is compatible with -webkit-border-radius and should be included as well.",result.messages[0].message);
15
15
},
16
16
17
-
"Using -webkit-transition and -moz-transition should warn to also include -o-transition.": function(){
17
+
"Using -webkit-transition and -moz-transition should warn to also include -o-transition and -ms-transition.": function(){
18
18
varresult=CSSLint.verify("h1 { -webkit-transition: height 20px 1s; -moz-transition: height 20px 1s; }",{"compatible-vendor-prefixes": 1});
Assert.areEqual("The property -o-transition is compatible with -webkit-transition and -moz-transition and should be included as well.",result.messages[0].message);
Assert.areEqual("The property -ms-transition is compatible with -webkit-transition and -moz-transition and should be included as well.",result.messages[1].message);
22
24
},
23
25
24
26
"Using -webkit-transform should warn to also include -moz-transform, -ms-transform, and -o-transform.": function(){
@@ -33,7 +35,7 @@
33
35
},
34
36
35
37
"Using all compatible vendor prefixes for animation should be allowed with no warnings.": function(){
0 commit comments