<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 160 120"> | |
<g id="container"/> | |
<!-- "Tex" should be selected, char 0-3 --> | |
<text id="test" x="10" y="10" font-family="Arial" font-size="10" textLength="50" lengthAdjust="spacing">Text to Squeeze</text> | |
<script xlink:href="resources/SelectionTestCase.js"/> | |
<script>selectRange("test", 0, 2, "Tex");</script> | |
</svg> |