1 <svg width=
"800" height=
"600" xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runRepaintAndPixelTest()">
2 <script xlink:
href=
"../../fast/repaint/resources/text-based-repaint.js"/>
4 <marker id=
"markerStart" viewBox=
"0 0 10 10" markerWidth=
"2" markerHeight=
"2" refX=
"5" refY=
"5" markerUnits=
"strokeWidth">
5 <rect width=
"10" height=
"10" fill=
"red" stroke=
"none"/>
7 <marker id=
"markerMiddle" viewBox=
"0 0 10 10" markerWidth=
"2" markerHeight=
"2" refX=
"5" refY=
"5" markerUnits=
"strokeWidth">
8 <circle cx=
"5" cy=
"5" r=
"5" fill=
"green" stroke=
"none"/>
10 <marker id=
"markerEnd" viewBox=
"0 0 10 10" markerWidth=
"2" markerHeight=
"2" refX=
"5" refY=
"5" markerUnits=
"strokeWidth">
11 <path d=
"M 5 0 L 10 10 L 0 10 Z" fill=
"blue" stroke=
"none"/>
16 function repaintTest() {
17 document.getElementById(
"path").setAttribute(
"stroke-width",
"8");
22 <path id=
"path" fill=
"none" stroke=
"black" stroke-width=
"4" marker-start=
"url(#markerStart)" marker-mid=
"url(#markerMiddle)" marker-end=
"url(#markerEnd)" d=
"M 130 135 L 180 135 L 180 185"/>