1 <svg xmlns=
"http://www.w3.org/2000/svg">
2 <path id=
"path" d=
"M10 30 l 200 0"/>
6 testRunner.dumpAsText();
8 var svgns =
"http://www.w3.org/2000/svg";
9 var text = document.createElementNS(svgns,
"text");
10 var textpath = document.createElementNS(svgns,
"textPath");
11 textpath.setAttributeNS(
"http://www.w3.org/1999/xlink",
"xlink:href",
"#path");
12 textpath.appendChild(document.createTextNode(
"PASSED if no ASSERT"));
13 text.appendChild(textpath);
14 document.documentElement.appendChild(text);