summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/860378-1.svg
blob: f4ec09bc4c91e485f2f7addaa5d2445d2518cf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<svg xmlns="http://www.w3.org/2000/svg">

<filter id="f"/>
<g filter="url(#f)"><text>ab</text></g>

<script>

function boom()
{
    var svgtext = document.getElementsByTagName("text")[0];
    var text1 = svgtext.firstChild ;
    var text2 = text1.splitText(1);

    setTimeout(function() {
        text1.data = "c";
        svgtext.removeChild(text2);
    }, 200);
}

window.addEventListener("load", boom, false);

</script>

</svg>