3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
4 <script type="text/javascript">
5 function repaintTest() {
6 if (!window.testRunner)
9 // The animation lasts 100ms. Wait 200ms for the repaint.
10 testRunner.waitUntilDone();
11 setTimeout(function() {
12 testRunner.notifyDone();
16 <style type="text/css" media="screen">
22 <body onload="runRepaintAndPixelTest()">
23 <p>Images should redraw correctly when SVG animation runs</p>
24 <!-- Don't load animated-rect-fixed-size.svg, it will already be loaded, and the animation already ran if animated-svg-as-image-no-fixed-intrinsic-size.html runs before this test! -->
25 <img height="250px" width="350px" border="2" src="resources/animated-rect-fixed-size-2.svg"><br>
26 <!-- animated-rect-relative-size.svg is not loaded by any other test, so there's no problem here -->
27 <img height="250px" width="350px" border="2" src="resources/animated-rect-relative-size.svg">