zimmermann@webkit.org | 89d03f8 | 2011-11-08 09:32:52 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
zimmermann@webkit.org | a8de26c | 2012-02-07 11:19:19 +0000 | [diff] [blame] | 3 | <script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></script> |
| 4 | <script type="text/javascript"> |
| 5 | function repaintTest() { |
fmalita@chromium.org | 4988a3e | 2012-08-01 23:05:16 +0000 | [diff] [blame] | 6 | if (!window.testRunner) |
zimmermann@webkit.org | a8de26c | 2012-02-07 11:19:19 +0000 | [diff] [blame] | 7 | return; |
| 8 | |
| 9 | // The animation lasts 100ms. Wait 200ms for the repaint. |
fmalita@chromium.org | 4988a3e | 2012-08-01 23:05:16 +0000 | [diff] [blame] | 10 | testRunner.waitUntilDone(); |
zimmermann@webkit.org | a8de26c | 2012-02-07 11:19:19 +0000 | [diff] [blame] | 11 | setTimeout(function() { |
fmalita@chromium.org | 4988a3e | 2012-08-01 23:05:16 +0000 | [diff] [blame] | 12 | testRunner.notifyDone(); |
zimmermann@webkit.org | a8de26c | 2012-02-07 11:19:19 +0000 | [diff] [blame] | 13 | }, 200); |
| 14 | } |
| 15 | </script> |
zimmermann@webkit.org | 89d03f8 | 2011-11-08 09:32:52 +0000 | [diff] [blame] | 16 | <style type="text/css" media="screen"> |
| 17 | img { |
| 18 | margin: 10px; |
| 19 | } |
| 20 | </style> |
zimmermann@webkit.org | 89d03f8 | 2011-11-08 09:32:52 +0000 | [diff] [blame] | 21 | </head> |
zimmermann@webkit.org | a8de26c | 2012-02-07 11:19:19 +0000 | [diff] [blame] | 22 | <body onload="runRepaintTest()"> |
zimmermann@webkit.org | 89d03f8 | 2011-11-08 09:32:52 +0000 | [diff] [blame] | 23 | <p>Images should redraw correctly when SVG animation runs</p> |
| 24 | <img src="resources/animated-rect-fixed-size.svg"> |
| 25 | </body> |
| 26 | </html> |