14 lines
476 B
XML
14 lines
476 B
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
|
|
<text>
|
|
<textPath id="theTP" xlink:href="#thePath">PASS</textPath>
|
|
</text>
|
|
<script><![CDATA[
|
|
function runTest() {
|
|
var path = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
path.setAttribute("id", "thePath");
|
|
path.setAttribute("d", "M50 50 L 450 50");
|
|
document.rootElement.appendChild(path);
|
|
}
|
|
]]></script>
|
|
</svg>
|