summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/343540-1.html
blob: fcad37125bc864e50842db46677b799bca05c637 (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
<html>
<head>

<script>

function boo()
{
  var div = document.getElementById("div"); 
  var dd = document.getElementById("dd"); 
  var newSpan = document.createElement('span'); 
  dd.insertBefore(newSpan, div);
}

window.addEventListener("load", boo, false);
</script>

</head>


<body>

<dd id="dd"><div id="div"></div></dd>

</body>

</html>