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

Unified Diff: third_party/WebKit/LayoutTests/animations/negative-delay-events.html

Issue 2518273002: Remove unnecessary webkit prefixes from animation layout tests (Closed)
Patch Set: remove trailing space 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/negative-delay-events.html
diff --git a/third_party/WebKit/LayoutTests/animations/negative-delay-events.html b/third_party/WebKit/LayoutTests/animations/negative-delay-events.html
index 93815138e8d6fd2c09d7a3c83e95af00ac411899..c09a3ff2dad772babbead18f16c263d6bbff5861 100644
--- a/third_party/WebKit/LayoutTests/animations/negative-delay-events.html
+++ b/third_party/WebKit/LayoutTests/animations/negative-delay-events.html
@@ -11,19 +11,19 @@
margin: 10px;
}
.animation {
- -webkit-animation-duration: 0.1s;
- -webkit-animation-name: animation;
+ animation-duration: 0.1s;
+ animation-name: animation;
}
#animation1 {
- -webkit-animation-delay: 0.05s;
+ animation-delay: 0.05s;
}
#animation2 {
- -webkit-animation-delay: -0.05s;
+ animation-delay: -0.05s;
}
#animation3 {
- -webkit-animation-delay: -0.15s;
+ animation-delay: -0.15s;
}
- @-webkit-keyframes animation {
+ @keyframes animation {
from { left: 0; }
to { left: 500px; }
}
@@ -40,12 +40,12 @@
}
var count = 0;
- document.addEventListener('webkitAnimationStart', function(event) {
+ document.addEventListener('animationstart', function(event) {
var pass = event.elapsedTime === [0, 0.05, 0.15][count++];
log((pass ? 'PASS' : 'FAIL') + ': ' + event.target.id + ': Start event: elapsedTime=' + event.elapsedTime);
}, false);
- document.addEventListener('webkitAnimationEnd', function(event) {
+ document.addEventListener('animationend', function(event) {
var pass = event.elapsedTime === 0.1;
log((pass ? 'PASS' : 'FAIL') + ': ' + event.target.id + ': End event: elapsedTime=' + event.elapsedTime);
switch (count) {

Powered by Google App Engine
This is Rietveld 408576698