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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html

Issue 2513413007: 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/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html
index d1261bfda3ffbca8f691ea6e914f57f1a70ab8fe..a0115656c056e4b409a810f068087fbcfe2fc161 100644
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html
@@ -102,8 +102,8 @@
height: 100px;
opacity: 1.0;
background-color: green;
- -webkit-animation: move 300ms linear;
- -webkit-transform-style: preserve-3d;
+ animation: move 300ms linear;
+ transform-style: preserve-3d;
transform: trasnlate3d(10px, 0, 0);
}
@@ -112,7 +112,7 @@
opacity: 0.5;
}
- @-webkit-keyframes move {
+ @keyframes move {
from { transform: translate3d(10px, 0, 0); }
to { transform: translate3d(300px, 0, 0); }
}
@@ -191,7 +191,7 @@
testRunner.waitUntilDone();
// FIXME: It is currently necessary to run the animation at least once before querying for the style on the pseudo-element will work.
- document.getElementById("testHardwareAcceleratedCompositing").addEventListener('webkitAnimationEnd', runTests, false);
+ document.getElementById("testHardwareAcceleratedCompositing").addEventListener('animationend', runTests, false);
}
function runTests()

Powered by Google App Engine
This is Rietveld 408576698