14 lines
460 B
XML
14 lines
460 B
XML
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
|
|
<path id="thePath" d="M150 100 L 450 100" />
|
|
<text x="50" y="50">PASS</text>
|
|
<text>
|
|
<textPath id="theTP" xlink:href="#thePath">This text should not be visible</textPath>
|
|
</text>
|
|
<script><![CDATA[
|
|
function runTest() {
|
|
var path = document.getElementById("thePath");
|
|
path.parentNode.removeChild(path);
|
|
}
|
|
]]></script>
|
|
</svg>
|