blob: 288211eb04b09b1201fafcbb91626c308c87dc4d [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
<path id="thePath" d="M150 50 L 450 50" />
<text x="50" y="50">PASS</text>
<text>
<textPath id="theTP" xlink:href="#thePath">FAIL</textPath>
</text>
<script><![CDATA[
function runTest() {
var tp = document.getElementById("theTP");
tp.setAttributeNS("http://www.w3.org/1999/xlink","href","#wrongPath");
}
]]></script>
</svg>