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

Unified Diff: LayoutTests/inspector-protocol/resources/test-page-trigger-animation.html

Issue 1042143005: Devtools Animations: Support multiple frames in the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Naming changes Created 5 years, 8 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-protocol/resources/test-page-trigger-animation.html
diff --git a/LayoutTests/inspector-protocol/resources/test-page-trigger-animation.html b/LayoutTests/inspector-protocol/resources/test-page-trigger-animation.html
new file mode 100644
index 0000000000000000000000000000000000000000..9894ff7a33ab94245221e83a68974a7921d178e3
--- /dev/null
+++ b/LayoutTests/inspector-protocol/resources/test-page-trigger-animation.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html>
+<head>
+<script>
+function startAnimation()
+{
+ var player = node.animate([{ width: "100px" }, { width: "200px" }], 100);
+}
+</script>
+</head>
+<body onload="startAnimation()">
+ <div id="node" style="background-color: red; height: 100px; width: 100px"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698