16 lines
589 B
XML
16 lines
589 B
XML
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runTest()">
|
||
|
<path id="thePath" d="M-150 50 L 450 50" />
|
||
|
<pattern id="pat" patternUnits="userSpaceOnUse" x="0" y="0" width="200" height="200">
|
||
|
<text>
|
||
|
<textPath id="theTP" xlink:href="#thePath">PASS</textPath>
|
||
|
</text>
|
||
|
</pattern>
|
||
|
<rect width="200" height="200" fill="url(#pat)" stroke="black" stroke-width="1"/>
|
||
|
<script><![CDATA[
|
||
|
function runTest() {
|
||
|
var tp = document.getElementById("theTP");
|
||
|
tp.setAttribute("startOffset", "200");
|
||
|
}
|
||
|
]]></script>
|
||
|
</svg>
|