1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" width=
"100" height=
"100" style=
"position: static" onload=
"runRepaintAndPixelTest()">
2 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js"/>
3 <rect width=
"100" height=
"100" fill=
"red" />
4 <rect id=
"rect" width=
"1" height=
"1" fill=
"green" style=
"position: absolute" />
7 function repaintTest() {
8 var rect = document.getElementById('rect');
9 rect.setAttribute(
"width",
"100");
10 rect.setAttribute(
"height",
"100");