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

Unified Diff: third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html

Issue 2521163002: CSS Animations: Reduce usage of webkit prefix in 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/images/color-profile-animate-rotate.html
diff --git a/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html b/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
index 97f73db1d57335954678f86f94cb239dde0b2c74..740df052adb9e2d333f47f541ec3ba8aae9f8e84 100644
--- a/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
+++ b/third_party/WebKit/LayoutTests/images/color-profile-animate-rotate.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<style>
- @-webkit-keyframes rotate {
- 0% { -webkit-transform: rotate(0deg) }
+ @keyframes rotate {
+ 0% { transform: rotate(0deg) }
}
img {
- -webkit-transform: rotate(90deg);
+ transform: rotate(90deg);
}
</style>
@@ -18,13 +18,13 @@ function rotate(element) {
if (window.testRunner)
setTimeout(function() { testRunner.setColorProfile('sRGB', new Function()) }, 0);
- element.addEventListener('webkitAnimationStart', start, false);
- element.addEventListener('webkitAnimationEnd', end, false);
+ element.addEventListener('animationstart', start, false);
+ element.addEventListener('animationend', end, false);
if (window.testRunner)
- element.style.cssText += '-webkit-animation: rotate linear 1s';
+ element.style.cssText += 'animation: rotate linear 1s';
else
- element.style.cssText += '-webkit-animation: rotate linear 4s';
+ element.style.cssText += 'animation: rotate linear 4s';
}
function start(event) {

Powered by Google App Engine
This is Rietveld 408576698