summaryrefslogtreecommitdiffstats
path: root/dom/smil/crashtests/547333-1.svg
blob: bac629b4938b7e2b6ac0f67bccd1cb39ae823424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg"
     class="reftest-wait">
<script type="text/javascript">
<![CDATA[

function boom()
{
  document.getElementsByTagName("animate")[0].setAttributeNS(null, "attributeName", "font-size");
  document.getElementsByTagName("text")[0].setAttributeNS(null, "fill", "green");
  document.documentElement.removeAttributeNS(null, "x");
  document.documentElement.removeAttribute("class");
}

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

]]>
</script>

<text>abc<animate/></text>

</svg>