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

Unified Diff: LayoutTests/inspector/elements/animation-timeline.html

Issue 980053006: Revert of Devtools Animations: Represent delay and end-delay on the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/inspector/elements/animation-timeline.html
diff --git a/LayoutTests/inspector/elements/animation-timeline.html b/LayoutTests/inspector/elements/animation-timeline.html
deleted file mode 100644
index 06c6cb555216c7667c8ed5eb29d1dfd1b69f509e..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/animation-timeline.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function startAnimationWithDelay()
-{
- var player = node.animate([{ width: "100px" }, { width: "200px" }], { duration: 300, delay: 100 });
-}
-
-function startAnimationWithEndDelay()
-{
- node.animate([{ width: "100px" }, { width: "200px" }], { duration: 300, delay: 100, endDelay: 200 });
-}
-
-function test()
-{
- InspectorTest.selectNodeWithId("node", step1);
- // Ensure the timeline is set up
- var sidebarPane = WebInspector.panels.elements.sidebarPanes.animations;
- sidebarPane.expand();
- InspectorTest.animationModel.ensureEnabled();
- // Override timeline width for testing
- WebInspector.AnimationTimeline.prototype.width = function() { return 500; }
-
- function step1()
- {
- InspectorTest.waitForAnimationAdded(step2);
- InspectorTest.evaluateInPage("startAnimationWithDelay()");
- }
-
- function step2()
- {
- InspectorTest.addResult(">>>> Animation with start delay only");
- InspectorTest.dumpAnimationTimeline();
- sidebarPane._timeline._reset();
- InspectorTest.waitForAnimationAdded(step3);
- InspectorTest.evaluateInPage("startAnimationWithEndDelay()");
- }
-
- function step3()
- {
- InspectorTest.addResult(">>>> Animation with start and end delay");
- InspectorTest.dumpAnimationTimeline();
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests the display of animations on the animation timeline.
-</p>
-
-<div id="node" style="background-color: red; height: 100px"></div>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/animation-timeline-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698