blob: 3c71e463202741d28ea328f5b29ce1aac868e851 [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.href.baseVal = "#wrongPath";
}
]]></script>
</svg>