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

Unified Diff: LayoutTests/animations/animation-internals-api.html

Issue 14556022: Simplify animation testing API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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: LayoutTests/animations/animation-internals-api.html
diff --git a/LayoutTests/animations/animation-internals-api.html b/LayoutTests/animations/animation-internals-api.html
deleted file mode 100644
index 7a849bbf4a8ce5e93d77dd317c3f07b86a15de3d..0000000000000000000000000000000000000000
--- a/LayoutTests/animations/animation-internals-api.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- #target {
- position: relative;
- left: 100px;
- height: 100px;
- width: 100px;
- background-color: blue;
- -webkit-animation-duration: 1s;
- -webkit-animation-timing-function: linear;
- }
-
- @-webkit-keyframes bounce {
- from {
- left: 100px;
- }
- to {
- left: 200px;
- }
- }
-
- </style>
-
- <script src="resources/animation-test-helpers.js"></script>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- }
-
- function animationStarted()
- {
- if (window.testRunner) {
- var target = document.getElementById('target');
- var paused = internals.pauseAnimationAtTimeOnElement("bounce", 1.0, target);
- var result = "";
- if (paused)
- result = "PASS: correctly paused animation";
- else
- result = "FAIL: failed to pause animation";
-
- document.getElementById('results').innerText = result;
- testRunner.notifyDone();
- } else
- document.getElementById('results').innerText = "This test requires WebCore Internals";
- }
-
- function startTest()
- {
- var target = document.getElementById('target');
- target.style.webkitAnimationName = "bounce";
- waitForAnimationToStart(target, animationStarted);
- }
- </script>
-</head>
-<body onload="startTest()">
- <!-- Test for Internals pauseAnimationAtTimeOnElement() API -->
- <div id="target"></div>
- <div id="results"></div>
-</body>
-</html>
« no previous file with comments | « LayoutTests/animations/animation-hit-test-transform.html ('k') | LayoutTests/animations/animation-internals-api-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698