blob: 70bdfc61d2a6a6462b982cd90b31d9e1f13f4f97 [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>
<pattern id="pat" patternUnits="userSpaceOnUse" x="0" y="0" width="400" height="400">
<text>
<textPath id="theTP" xlink:href="#thePath">FAIL</textPath>
</text>
</pattern>
<rect width="400" height="400" fill="url(#pat)" stroke="black" stroke-width="1"/>
<script><![CDATA[
function runTest() {
var path = document.getElementById("thePath");
path.parentNode.removeChild(path);
}
]]></script>
</svg>