OLD | NEW |
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 Loading... |
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> |
OLD | NEW |