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

Unified Diff: third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html

Issue 2523543004: 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/display-change-does-not-terminate-animation.html
diff --git a/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html b/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
index 6e23d58694d02ebf97e9641d24d65ee3c34e5fae..20fc1c9ccd42c16742db3ab258d52ad6946a8d73 100644
--- a/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
+++ b/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
@@ -9,10 +9,10 @@
background-color: blue;
}
.animated {
- -webkit-animation: test 10s linear;
+ animation: test 10s linear;
animation: test 10s linear;
}
- @-webkit-keyframes test {
+ @keyframes test {
from { left: 100px; }
to { left: 200px; }
}
@@ -36,14 +36,14 @@
var target;
function go() {
target = document.getElementById('target');
- target.addEventListener('webkitAnimationStart', onStart);
+ target.addEventListener('animationstart', onStart);
target.classList.add('animated');
}
function onStart(e) {
log('INFO: Start event fired');
- target.removeEventListener('webkitAnimationStart', onStart);
- target.addEventListener('webkitAnimationStart', onRestart);
+ target.removeEventListener('animationstart', onStart);
+ target.addEventListener('animationstart', onRestart);
setTimeout(setDisplay.bind(null, 0), 20);
}

Powered by Google App Engine
This is Rietveld 408576698