1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" onload=
"runTest()">
2 <pattern id=
"pat" patternUnits=
"userSpaceOnUse" x=
"0" y=
"0" width=
"400" height=
"400">
4 <textPath id=
"theTP" xlink:
href=
"#thePath">PASS
</textPath>
7 <rect width=
"400" height=
"400" fill=
"url(#pat)" stroke=
"black" stroke-width=
"1"/>
10 var path = document.createElementNS(
"http://www.w3.org/2000/svg",
"path");
11 path.setAttribute(
"id",
"thePath");
12 path.setAttribute(
"d",
"M150 50 L 450 50");
13 document.rootElement.appendChild(path);