3 <script src=
"../../fast/repaint/resources/text-based-repaint.js" type=
"text/javascript"></script>
5 function repaintTest() {
6 document
.getElementById("rect").focus();
11 height:
150px; width:
150px;
13 :focus { fill: green }
16 <body onload=
"runRepaintAndPixelTest()">
18 <svg id=
"svg" height=
"150" width=
"150" viewbox=
"0 0 150 150">
19 <rect id=
"rect" x=
"50" y=
"50" height=
"50" width=
"50" tabindex=
"1"/>