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

Unified Diff: third_party/WebKit/LayoutTests/compositing/animation/computed-style-during-delay.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/compositing/animation/computed-style-during-delay.html
diff --git a/third_party/WebKit/LayoutTests/compositing/animation/computed-style-during-delay.html b/third_party/WebKit/LayoutTests/compositing/animation/computed-style-during-delay.html
index 31530a1afb7e1426aa6e65b8a8de2bee729720c5..2978b165c5eabcf297c78ba117e7e98af72753e6 100644
--- a/third_party/WebKit/LayoutTests/compositing/animation/computed-style-during-delay.html
+++ b/third_party/WebKit/LayoutTests/compositing/animation/computed-style-during-delay.html
@@ -12,7 +12,7 @@
}
#movers.moved > .box {
- -webkit-animation: move 1s 1s linear; /* Note 1 sec delay */
+ animation: move 1s 1s linear; /* Note 1 sec delay */
}
/* Test that we fetch the current style, not the one snapshotted when the animation started */
@@ -22,10 +22,10 @@
/* Test that fill-mode: backwards works */
#movers.moved > #filledbox {
- -webkit-animation: move 1s 1s linear backwards;
+ animation: move 1s 1s linear backwards;
}
- @-webkit-keyframes move {
+ @keyframes move {
from { transform: translateX(100px); }
to { transform: translateX(400px); }
}
@@ -48,9 +48,9 @@
onload = function() {
document.getElementById('movers').className = 'moved';
document.body.offsetTop;
- check('default', 'matrix(1, 0, 0, 1, 0, 0)', getComputedStyle(document.querySelector('#testbox')).webkitTransform);
- check('changed style', 'matrix(1, 0, 0, 1, 50, 0)', getComputedStyle(document.querySelector('#changedbox')).webkitTransform);
- check('backwards fill', 'matrix(1, 0, 0, 1, 100, 0)', getComputedStyle(document.querySelector('#filledbox')).webkitTransform);
+ check('default', 'matrix(1, 0, 0, 1, 0, 0)', getComputedStyle(document.querySelector('#testbox')).transform);
+ check('changed style', 'matrix(1, 0, 0, 1, 50, 0)', getComputedStyle(document.querySelector('#changedbox')).transform);
+ check('backwards fill', 'matrix(1, 0, 0, 1, 100, 0)', getComputedStyle(document.querySelector('#filledbox')).transform);
document.body.innerHTML = results.join('<br>');
if (window.testRunner)
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698