3 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
4 <script type=
"text/javascript">
6 testRunner
.waitUntilDone();
8 function repaintTest() {
9 if (!window
.testRunner
)
12 // The animation lasts 100ms. Wait 200ms for the repaint.
13 setTimeout(function() {
14 testRunner
.notifyDone();
18 <style type=
"text/css" media=
"screen">
21 background-repeat: no-repeat;
22 background-image: url(resources/animated-rect-relative-size.svg);
28 <body style='margin:
0px'
onload=
"runAfterLayoutAndPaint(repaintTest);">