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: 0, fill: "forwards" }); | 10 animation = node.animate([{ width: "100px" }, { width: "2000px" }], { durati
on: 0, fill: "forwards" }); |
11 } | 11 } |
12 | 12 |
13 function cancelAnimation() | 13 function cancelAnimation() |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 } | 57 } |
58 | 58 |
59 </script> | 59 </script> |
60 </head> | 60 </head> |
61 <body onload="runTest()"> | 61 <body onload="runTest()"> |
62 Tests that the animation is correctly paused. | 62 Tests that the animation is correctly paused. |
63 <div id="node" style="background-color: red; width: 100px"></div> | 63 <div id="node" style="background-color: red; width: 100px"></div> |
64 </body> | 64 </body> |
65 </html> | 65 </html> |
OLD | NEW |