layout/svg/crashtests/860378-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/svg/crashtests/860378-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg">
     1.5 +
     1.6 +<filter id="f"/>
     1.7 +<g filter="url(#f)"><text>ab</text></g>
     1.8 +
     1.9 +<script>
    1.10 +
    1.11 +function boom()
    1.12 +{
    1.13 +    var svgtext = document.getElementsByTagName("text")[0];
    1.14 +    var text1 = svgtext.firstChild ;
    1.15 +    var text2 = text1.splitText(1);
    1.16 +
    1.17 +    setTimeout(function() {
    1.18 +        text1.data = "c";
    1.19 +        svgtext.removeChild(text2);
    1.20 +    }, 200);
    1.21 +}
    1.22 +
    1.23 +window.addEventListener("load", boom, false);
    1.24 +
    1.25 +</script>
    1.26 +
    1.27 +</svg>

mercurial