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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-infinite.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 var animation; 6 var animation;
7 7
8 function startAnimation() 8 function startAnimation()
9 { 9 {
10 animation = node.animate([{ width: "100px" }, { width: "2000px" }], { durati on: 10000, iterations: Infinity }); 10 animation = node.animate([{ width: "100px" }, { width: "2000px" }], { durati on: 10000, iterations: Infinity });
11 } 11 }
12 12
13 function getWidth() 13 function getWidth()
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 } 52 }
53 53
54 </script> 54 </script>
55 </head> 55 </head>
56 <body onload="runTest()"> 56 <body onload="runTest()">
57 Tests that the animation is correctly paused. 57 Tests that the animation is correctly paused.
58 <div id="node" style="background-color: red; height: 100px"></div> 58 <div id="node" style="background-color: red; height: 100px"></div>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698