14 lines
416 B
XML
14 lines
416 B
XML
<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>
|