1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <svg xmlns=
"http://www.w3.org/2000/svg" onload=
"init()">
8 var polyline = document.createElementNS(
"http://www.w3.org/2000/svg",
"polyline");
9 polyline.setAttribute(
"points", d);
10 var g = document.getElementById(
"container");
11 g.appendChild(polyline);
12 // verify that the script arrived here without error by filling the rectangle with green
13 document.getElementById(
"passed").setAttribute(
"fill",
"green");
17 <rect id=
"passed" x=
"0" y=
"0" width=
"100" height=
"100" fill=
"red"/>
18 <g id=
"container"></g>