Index: chrome/test/data/webui/test_api.js |
diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js |
index 1a4841f7c938bfd58ae64cd11bdeda608cf5db75..a58c731e1fc9ffefb7d2ee66936b57cb6c329717 100644 |
--- a/chrome/test/data/webui/test_api.js |
+++ b/chrome/test/data/webui/test_api.js |
@@ -50,7 +50,7 @@ var testing = {}; |
/** |
* Make all transitions and animations take 0ms. NOTE: this will completely |
* disable webkitTransitionEnd events. If your code relies on them firing, it |
- * will break. webkitAnimationEnd events should still work. |
+ * will break. animationend events should still work. |
*/ |
Test.disableAnimationsAndTransitions = function() { |
var noAnimationStyle = document.createElement('style'); |
@@ -59,8 +59,8 @@ var testing = {}; |
'*, * /deep/ * {' + |
' -webkit-transition-duration: 0ms !important;' + |
' -webkit-transition-delay: 0ms !important;' + |
- ' -webkit-animation-duration: 0ms !important;' + |
- ' -webkit-animation-delay: 0ms !important;' + |
+ ' animation-duration: 0ms !important;' + |
+ ' animation-delay: 0ms !important;' + |
'}'; |
document.querySelector('head').appendChild(noAnimationStyle); |