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

Unified Diff: third_party/WebKit/LayoutTests/animations/events-with-short-duration-and-delay.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/events-with-short-duration-and-delay.html
diff --git a/third_party/WebKit/LayoutTests/animations/events-with-short-duration-and-delay.html b/third_party/WebKit/LayoutTests/animations/events-with-short-duration-and-delay.html
index 9888f509dd7f4493b46f0b7c0d3569c05063088c..d3b8e7afe0555b352203a9895bd57701340fe2f4 100644
--- a/third_party/WebKit/LayoutTests/animations/events-with-short-duration-and-delay.html
+++ b/third_party/WebKit/LayoutTests/animations/events-with-short-duration-and-delay.html
@@ -9,13 +9,13 @@
top: 10px;
height: 100px;
width: 100px;
- -webkit-animation-duration: 0.001s;
- -webkit-animation-delay: 0.001s;
- -webkit-animation-name: anim;
+ animation-duration: 0.001s;
+ animation-delay: 0.001s;
+ animation-name: anim;
background-color: #999;
- -webkit-animation-iteration-count: 2;
+ animation-iteration-count: 2;
}
- @-webkit-keyframes anim {
+ @keyframes anim {
from { left: 200px; }
to { left: 300px; }
}
@@ -28,11 +28,11 @@
onload = function()
{
- document.addEventListener('webkitAnimationStart', function() {
- document.getElementById('result').innerHTML = 'PASS: got webkitAnimationStart event';
+ document.addEventListener('animationstart', function() {
+ document.getElementById('result').innerHTML = 'PASS: got animationstart event';
}, false);
- document.addEventListener('webkitAnimationEnd', function() {
- document.getElementById('result').innerHTML += '<br>PASS: got webkitAnimationEnd event';
+ document.addEventListener('animationend', function() {
+ document.getElementById('result').innerHTML += '<br>PASS: got animationend event';
if (window.testRunner)
testRunner.notifyDone();
}, false);

Powered by Google App Engine
This is Rietveld 408576698