summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/343540-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/343540-1.html')
-rw-r--r--layout/base/crashtests/343540-1.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/base/crashtests/343540-1.html b/layout/base/crashtests/343540-1.html
new file mode 100644
index 000000000..fcad37125
--- /dev/null
+++ b/layout/base/crashtests/343540-1.html
@@ -0,0 +1,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>