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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/timeline-play-animation.html

Issue 2093423002: Move web-animations-api tests not being upstreamed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo move of reject-hyphen.html Created 4 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/timeline-play-animation.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/timeline-play-animation.html b/third_party/WebKit/LayoutTests/web-animations-api/timeline-play-animation.html
deleted file mode 100644
index 01984194076e097445e4e838231b9f1cb80d14d9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/timeline-play-animation.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<body>
- <div id='e'></div>
-</body>
-
-<script>
-var element = document.getElementById('e');
-var style = getComputedStyle(element);
-var duration = 1;
-
-var keyframeEffect = new KeyframeEffect(element,
- [{opacity: '1', offset: 0},
- {opacity: '0', offset: 1}],
- duration);
-
-test(function() {
- var player = document.timeline.play(keyframeEffect);
- player.pause();
- player.currentTime = duration / 2;
- assert_equals(style.opacity, '0.5');
-}, 'Calling document.timeline.play() should start an animation.');
-</script>

Powered by Google App Engine
This is Rietveld 408576698