summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/841163-1.svg
blob: b1bb5198ab7bea8a801488efd5e8a130e1b244f6 (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
25
26
27
28
29
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">

<filter id="f"/>

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

<script>

function forceFrameConstruction()
{
  document.documentElement.getBoundingClientRect();
}

function boom()
{
  document.getElementsByTagName("text")[0].firstChild.splitText(1);
  forceFrameConstruction();
  document.normalize();
  forceFrameConstruction();
  document.documentElement.removeAttribute("class");
}

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

</script>

</svg>