summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/575462.svg
blob: 8131d5f1fd0b9d3adcae008fd00dc212a0e597b8 (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
<?xml version="1.0"?>

<svg xmlns="http://www.w3.org/2000/svg">

<g id="a"><g id="b"/></g>

<script type="text/javascript">
<![CDATA[

function j()
{
  var a = document.getElementById("a");
  var b = document.getElementById("b");
  window.addEventListener("DOMAttrModified", k, true);
  function k()
  {
    window.removeEventListener("DOMAttrModified", k, true);
    a.appendChild(b);
  }
  b.removeAttribute("id");
}

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

]]>
</script>
</svg>