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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time.html

Issue 2138303002: Update timeline-set-current-time to test setting animation timelines instead of document timelines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename file to .txt instead of .html (oops) Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animationtimeline-consistent.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time.html b/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time.html
deleted file mode 100644
index 5e78f2c116a3e423ed7143963b77f9955b235cf3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/timeline-set-current-time.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<!-- This tests that animation timeline current time affects players correctly. -->
-
-<div id='element'></div>
-
-<script>
-async_test(function(t) {
- var player = element.animate([], 10);
- var readyPromise = player.ready.then(function() {
- t.step(function() {
- assert_equals(player.currentTime, 0);
- document.timeline.currentTime = player.startTime + 5;
- assert_approx_equals(player.currentTime, 5, 0.1);
- assert_equals(player.playState, "running");
-
- document.timeline.currentTime = player.startTime + 15;
- assert_approx_equals(player.currentTime, 10, 0.1);
- assert_equals(player.playState, "finished");
-
- document.timeline.currentTime = player.startTime;
- assert_equals(player.currentTime, 0);
- assert_equals(player.playState, "running");
-
- document.timeline.currentTime = player.startTime + 5;
- assert_approx_equals(player.currentTime, 5, 0.1);
- assert_equals(player.playState, "running");
- });
- t.done();
- });
-}, 'Animation players are retriggered if timeline time changes');
-
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animationtimeline-consistent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698