blob: 00dcc72a2a88415a57e46bda58f506ccbbefb9f6 [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 path = document.createElementNS("http://www.w3.org/2000/svg", "path");
var tp = document.getElementById("theTP");
tp.href.baseVal = "#thePath";
}
]]></script>
</svg>