2 <svg width=
"100" height=
"100">
3 <rect id=
"ref" x=
"20" y=
"30" width=
"10" height=
"10" fill=
"red"></rect>
4 <rect id=
"move" x=
"10" y=
"10" width=
"10" height=
"10" fill=
"green"></rect>
6 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
9 window
.onload
= runRepaintTest
;
11 function repaintTest() {
12 var transform
= document
.querySelector('svg').createSVGTransform();
13 transform
.matrix
.e
= 10;
14 document
.querySelector('#move').transform
.baseVal
.appendItem(transform
);
16 requestAnimationFrame(function() {
17 transform
.matrix
.f
= 20;
18 if (window
.testRunner
)