2 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
4 window
.testIsAsync
= true;
6 <body onload=
"runRepaintTest()">
7 <svg width=
"300" height=
"200">
8 <image width=
"200" height=
"200" preserveAspectRatio=
"none"
9 xlink:
href=
"data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50'><rect width='100%' height='100%' fill='green'/></svg>"></image>
12 function repaintTest() {
13 document
.querySelector('image').setAttribute('width', 100);
14 requestAnimationFrame(function() {
15 requestAnimationFrame(function() {