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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate.html

Issue 1962003002: Import web-platform-tests@41d6911b288a9624c249a406b9bf51607a2dd04d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip submit-entity-body.html Created 4 years, 7 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/imported/web-platform-tests/web-animations/animation/playbackRate.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate.html
index 7e3712a56ff491a1eae13edee35f8b141072708e..020e56e1ac6c80ae2696e840945171199a3ae34e 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate.html
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation/playbackRate.html
@@ -11,8 +11,6 @@
<script>
"use strict";
-var keyFrames = { 'marginLeft': ['100px', '200px'] };
-
function assert_playbackrate(animation,
previousAnimationCurrentTime,
previousTimelineCurrentTime,
@@ -31,7 +29,7 @@ function assert_playbackrate(animation,
promise_test(function(t) {
var div = createDiv(t);
- var animation = div.animate({keyFrames}, 100 * MS_PER_SEC);
+ var animation = div.animate(null, 100 * MS_PER_SEC);
return animation.ready.then(function() {
animation.currentTime = 7 * MS_PER_SEC; // ms
animation.playbackRate = 0.5;
@@ -48,7 +46,7 @@ promise_test(function(t) {
promise_test(function(t) {
var div = createDiv(t);
- var animation = div.animate({keyFrames}, 100 * MS_PER_SEC);
+ var animation = div.animate(null, 100 * MS_PER_SEC);
animation.playbackRate = 2;
var previousTimelineCurrentTime;
var previousAnimationCurrentTime;
@@ -66,7 +64,7 @@ promise_test(function(t) {
promise_test(function(t) {
var div = createDiv(t);
- var animation = div.animate({keyFrames}, 100 * MS_PER_SEC);
+ var animation = div.animate(null, 100 * MS_PER_SEC);
animation.playbackRate = 2;
var previousTimelineCurrentTime;
var previousAnimationCurrentTime;

Powered by Google App Engine
This is Rietveld 408576698