blob: 4b71b20c7c9da4e80c07bda0bbd046b2b65195c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<svg xmlns="http://www.w3.org/2000/svg">
<text>X</text>
<script>
window.addEventListener("load", function() {
document.getElementsByTagName('text')[0].getStartPositionOfChar(2);
}, false);
</script>
</svg>
|