summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/881031-1.svg
blob: 0738e1299d575caa554d6c8bf95df8093eeb4413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<svg xmlns="http://www.w3.org/2000/svg">
<script>

function boom()
{
    var svgText = document.getElementById("t");
    svgText.firstChild.data = "C";
    svgText.appendChild(document.createTextNode("D"));
    document.caretPositionFromPoint(0, 0);
}
window.addEventListener("load", boom, false);

</script>
<text id="t">A</text>
</svg>