Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html

Issue 2522123002: CSS Animations: Remove unnecessary webkit prefixes from layout tests (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
diff --git a/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html b/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
index fd352dead43be53dc905c2ee1caada6c8651d549..39fbb8b6ba23bdbdfcc62ab10e9d47c276c69206 100644
--- a/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
+++ b/third_party/WebKit/LayoutTests/animations/missing-keyframe-properties-timing-function.html
@@ -9,14 +9,14 @@
width: 100px;
height: 100px;
background-color: blue;
- -webkit-animation-duration: 2s;
- -webkit-animation-timing-function: ease-in;
+ animation-duration: 2s;
+ animation-timing-function: ease-in;
}
#box1 {
- -webkit-animation-name: move;
+ animation-name: move;
}
- @-webkit-keyframes move {
+ @keyframes move {
from {
opacity: 0;
left: 100px;
@@ -26,7 +26,7 @@
}
50% {
left: 200px;
- -webkit-animation-timing-function: linear;
+ animation-timing-function: linear;
}
to {
left: 400px;
@@ -34,9 +34,9 @@
}
#box2 {
- -webkit-animation-name: move2;
+ animation-name: move2;
}
- @-webkit-keyframes move2 {
+ @keyframes move2 {
from {
opacity: 0;
transform: translateX(100px);
@@ -46,7 +46,7 @@
}
50% {
transform: translateX(200px);
- -webkit-animation-timing-function: linear;
+ animation-timing-function: linear;
}
to {
transform: translateX(400px);
@@ -60,9 +60,9 @@
const expectedValues = [
// [time, element-id, property, expected-value, tolerance]
[0.5, "box1", "left", 132, 15],
- [0.5, "box2", "webkitTransform.4", 132, 15],
+ [0.5, "box2", "transform.4", 132, 15],
[1.5, "box1", "left", 300, 15],
- [1.5, "box2", "webkitTransform.4", 300, 15],
+ [1.5, "box2", "transform.4", 300, 15],
];
runAnimationTest(expectedValues);

Powered by Google App Engine
This is Rietveld 408576698