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

Unified Diff: third_party/WebKit/LayoutTests/animations/get-css-players.html

Issue 2974853002: Assorted small animation test moves (Closed)
Patch Set: Also rename test referring to 'players' Created 3 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
Index: third_party/WebKit/LayoutTests/animations/get-css-players.html
diff --git a/third_party/WebKit/LayoutTests/animations/get-css-players.html b/third_party/WebKit/LayoutTests/animations/get-css-players.html
deleted file mode 100644
index 94521a9e3c380e1743604bf398a649df28b910c1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/animations/get-css-players.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script><style>
-@keyframes test {
- from { opacity: 0; }
- to { opacity: 1; }
-}
-.cssAnimation {
- animation: test 2s;
-}
-</style>
-<div id='container'>
- <div id='element'></div>
-</div>
-
-<script>
-async_test(function(t) {
- assert_equals(document.getAnimations().length, 0);
- assert_equals(container.getAnimations().length, 0);
- assert_equals(element.getAnimations().length, 0);
-
- element.className = 'cssAnimation';
- onload = function () {
- t.step(function() {
- var animations = document.getAnimations();
- assert_equals(animations.length, 1);
- assert_equals(container.getAnimations().length, 0);
- assert_equals(element.getAnimations().length, 1);
-
- animations[0].finish();
- assert_equals(document.getAnimations().length, 0);
- assert_equals(container.getAnimations().length, 0);
- assert_equals(element.getAnimations().length, 0);
- t.done();
- });
- }
-}, 'getAnimations() with cssanimations');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698