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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html

Issue 2140793003: Split timeline-updates-players test into two, update uses of Animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update help link 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/animation-update-effect.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-updates-players.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html b/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html
deleted file mode 100644
index 13f50d82eed34cd5d99c4de89fb262aac16c72c6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/timeline-updates-players.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-
-<!-- This tests that players get updated even if they have previously had their effect removed or go out of effect. -->
-
-<div id='element'></div>
-
-<script>
-var element = document.getElementById('element');
-var keyframeEffect = new KeyframeEffect(element, [{left: '0px'}, {left: '100px'}], 10);
-test(function() {
- var player = document.timeline.play(keyframeEffect);
- player.finish();
- assert_equals(getComputedStyle(element).left, 'auto');
-
- player.play();
- assert_equals(getComputedStyle(element).left, '0px');
-
- player.finish();
-}, 'Player updated after finish and play');
-
-test(function() {
- var player = document.timeline.play(keyframeEffect);
- assert_equals(getComputedStyle(element).left, '0px');
- var effect = player.effect
- player.effect = null;
- assert_equals(getComputedStyle(element).left, 'auto');
-
- player.effect = effect;
- assert_equals(getComputedStyle(element).left, '0px');
-
- player.finish();
-}, 'Player updated after clear and set effect');
-</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animation-update-effect.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698