blob: 993e7e31c4d34a744eb28eb96a3dbd7f234580c8 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg">
<path id="path" d="M10 30 l 200 0"/>
<script>
<![CDATA[
if (window.layoutTestController)
layoutTestController.dumpAsText();
var svgns = "http://www.w3.org/2000/svg";
var text = document.createElementNS(svgns, "text");
var textpath = document.createElementNS(svgns, "textPath");
textpath.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", "#path");
textpath.appendChild(document.createTextNode("PASSED if no ASSERT"));
text.appendChild(textpath);
document.documentElement.appendChild(text);
]]>
</script>
</svg>