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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/animation-play-after-finish-restarts.html

Issue 2910883002: Clean up duplicate tests in web-animations-api (Closed)
Patch Set: Rebase and remove one more reference to deleted test Created 3 years, 6 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/web-animations-api/animation-play-after-finish-restarts.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/animation-play-after-finish-restarts.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-play-after-finish-restarts.html
deleted file mode 100644
index 18e511bd79e7cced953ac3c9177f1b96451b7de2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/animation-play-after-finish-restarts.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>Animation resets when play() called after finish()</title>
-<link rel="help" href="http://w3c.github.io/web-animations/#play-an-animation">
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<div id='element'></div>
-
-<script>
-var element = document.getElementById('element');
-
-test(function() {
- var animation = element.animate([{left: '0px'}, {left: '100px'}], 10);
- animation.finish();
- assert_equals(getComputedStyle(element).left, 'auto');
-
- animation.play();
- assert_equals(getComputedStyle(element).left, '0px');
-}, 'Calling play() after finish() causes the animation to reset');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698