2011-05-31 Mikhail Naganov <mnaganov@chromium.org>
[WebKit-https.git] / LayoutTests / fast / images / animated-svg-as-image.html
1 <html>
2 <head>
3   <style type="text/css" media="screen">
4     img {
5       margin: 10px;
6     }
7   </style>
8   <script type="text/javascript" charset="utf-8">
9     if (window.layoutTestController)
10       layoutTestController.waitUntilDone();
11     
12     function pageLoaded() 
13     {
14       window.setTimeout(function() {
15         if (window.layoutTestController)
16           layoutTestController.notifyDone();
17       }, 400);    // empirically determined delay. SVG animation has 100ms duration.
18     }
19
20     window.addEventListener('load', pageLoaded, false);
21   </script>
22 </head>
23 <body>
24   <p>Images should redraw correctly when SVG animation runs</p>
25   <img height="250px" width="350px" border="2" src="resources/animated-rect-fixed-size.svg"><br>
26   <img height="250px" width="350px" border="2" src="resources/animated-rect-relative-size.svg">
27 </body>
28 </html>