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