Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / as-background-image / animated-svg-as-background.html
blobafc535013e0844409eaa89077d644d6afcb78b9c
1 <html>
2 <head>
3 <script src="../../resources/run-after-layout-and-paint.js"></script>
4 <script type="text/javascript">
5 if (window.testRunner)
6 testRunner.waitUntilDone();
8 function repaintTest() {
9 if (!window.testRunner)
10 return;
12 // The animation lasts 100ms. Wait 200ms for the repaint.
13 setTimeout(function() {
14 testRunner.notifyDone();
15 }, 200);
17 </script>
18 <style type="text/css" media="screen">
19 div {
20 background: red;
21 background-repeat: no-repeat;
22 background-image: url(resources/animated-rect-relative-size.svg);
23 height: 600px;
24 width: 800px;
26 </style>
27 </head>
28 <body style='margin: 0px' onload="runAfterLayoutAndPaint(repaintTest);">
29 <div>&nbsp;</div>
30 </body>
31 </html>