blob: 874ff480712cf08d0cb5c0d2bb1497568dd91549 [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 src="resources/animated-rect-fixed-size.svg">
25</body>
26</html>