layout/svg/crashtests/881031-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/881031-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg">
     1.5 +<script>
     1.6 +
     1.7 +function boom()
     1.8 +{
     1.9 +    var svgText = document.getElementById("t");
    1.10 +    svgText.firstChild.data = "C";
    1.11 +    svgText.appendChild(document.createTextNode("D"));
    1.12 +    document.caretPositionFromPoint(0, 0);
    1.13 +}
    1.14 +window.addEventListener("load", boom, false);
    1.15 +
    1.16 +</script>
    1.17 +<text id="t">A</text>
    1.18 +</svg>

mercurial