2 <svg width=
"100" height=
"100">
3 <polygon id=
"ref" points=
"20,10 10,30 30,30 40,10" fill=
"red"></polygon>
4 <polygon id=
"target" points=
"20,10 10,30 30,30" fill=
"green"></polygon>
5 <polygon id=
"source" points=
"20,20" fill=
"blue"></polygon>
7 <script src=
"../../fast/repaint/resources/text-based-repaint.js"></script>
10 window
.onload
= runRepaintTest
;
12 function repaintTest() {
13 var moved
= document
.querySelector('#source').points
.removeItem(0);
14 document
.querySelector('#target').points
.appendItem(moved
);
16 requestAnimationFrame(function() {
19 if (window
.testRunner
)