blob: 5cfe6c7e80f6012470714a3ae755273be87a8b34 [file] [log] [blame]
zimmermann@webkit.org89d03f82011-11-08 09:32:52 +00001<html>
2<head>
zimmermann@webkit.orga8de26c2012-02-07 11:19:19 +00003 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></script>
4 <script type="text/javascript">
5 function repaintTest() {
fmalita@chromium.org4988a3e2012-08-01 23:05:16 +00006 if (!window.testRunner)
zimmermann@webkit.orga8de26c2012-02-07 11:19:19 +00007 return;
8
9 // The animation lasts 100ms. Wait 200ms for the repaint.
fmalita@chromium.org4988a3e2012-08-01 23:05:16 +000010 testRunner.waitUntilDone();
zimmermann@webkit.orga8de26c2012-02-07 11:19:19 +000011 setTimeout(function() {
fmalita@chromium.org4988a3e2012-08-01 23:05:16 +000012 testRunner.notifyDone();
zimmermann@webkit.orga8de26c2012-02-07 11:19:19 +000013 }, 200);
14 }
15 </script>
zimmermann@webkit.org89d03f82011-11-08 09:32:52 +000016 <style type="text/css" media="screen">
17 img {
18 margin: 10px;
19 }
20 </style>
zimmermann@webkit.org89d03f82011-11-08 09:32:52 +000021</head>
zimmermann@webkit.orga8de26c2012-02-07 11:19:19 +000022<body onload="runRepaintTest()">
zimmermann@webkit.org89d03f82011-11-08 09:32:52 +000023 <p>Images should redraw correctly when SVG animation runs</p>
24 <img height="250px" width="350px" border="2" src="resources/animated-rect-same-image.svg"><br>
25 <img height="250px" width="350px" border="2" src="resources/animated-rect-same-image.svg">
26</body>
27</html>