blob: 7bf3ea6aad90867647b8de5d16de763a7b754d20 [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>
<textPath id="theTP" xlink:href="#wrongPath">PASS</textPath>
</text>
<script><![CDATA[
function runTest() {
var tp = document.getElementById("theTP");
tp.setAttributeNS("http://www.w3.org/1999/xlink","href","#thePath");
}
]]></script>
</svg>