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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-shorthand-name-order.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too Created 3 years, 5 months 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/animation-shorthand-name-order.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-shorthand-name-order.html b/third_party/WebKit/LayoutTests/animations/animation-shorthand-name-order.html
index 08e03ba6725af91f86cd42f029d5ce4a72ed9c35..99da0869a4fa6ad59272b521f4be3f68992c217f 100644
--- a/third_party/WebKit/LayoutTests/animations/animation-shorthand-name-order.html
+++ b/third_party/WebKit/LayoutTests/animations/animation-shorthand-name-order.html
@@ -11,27 +11,27 @@
margin: 5px;
}
-@-webkit-keyframes test {
+@keyframes test {
from { left: 0px; }
to { left: 100px; }
}
-@-webkit-keyframes backwards {
+@keyframes backwards {
from { left: 0px; }
to { left: 100px; }
}
-@-webkit-keyframes alternate {
+@keyframes alternate {
from { left: 0px; }
to { left: 100px; }
}
-@-webkit-keyframes linear {
+@keyframes linear {
from { left: 0px; }
to { left: 100px; }
}
-@-webkit-keyframes ease {
+@keyframes ease {
from { left: 0px; }
to { left: 100px; }
}
@@ -39,13 +39,13 @@
<script>
const PROPERTIES_TO_TEST = [
- "webkitAnimationName",
- "webkitAnimationDuration",
- "webkitAnimationTimingFunction",
- "webkitAnimationDelay",
- "webkitAnimationIterationCount",
- "webkitAnimationDirection",
- "webkitAnimationFillMode"
+ "animationName",
+ "animationDuration",
+ "animationTimingFunction",
+ "animationDelay",
+ "animationIterationCount",
+ "animationDirection",
+ "animationFillMode"
];
const DEFAULT_VALUES = [
@@ -103,7 +103,7 @@ function runIndividualTest(testIndex) {
// Unfortunately need to force a style recalculation before testing.
requestAnimationFrame(function () {
- element.style.webkitAnimation = TEST_INPUTS[testIndex];
+ element.style.animation = TEST_INPUTS[testIndex];
// And another forced style recalculation.
requestAnimationFrame(function() {

Powered by Google App Engine
This is Rietveld 408576698