summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/397007-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/397007-1.html')
-rw-r--r--layout/generic/crashtests/397007-1.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/generic/crashtests/397007-1.html b/layout/generic/crashtests/397007-1.html
new file mode 100644
index 0000000000..628733ba67
--- /dev/null
+++ b/layout/generic/crashtests/397007-1.html
@@ -0,0 +1,37 @@
+<html>
+<head>
+<script type="text/javascript">
+function boom()
+{
+ var img = document.createElement("img");
+ document.getElementById("g").appendChild(img);
+ img.width = 1;
+}
+
+</script>
+
+<style type="text/css">
+
+.margin {
+ margin: 1em 0;
+}
+
+.dd:before {
+ white-space: pre;
+ line-height: 0;
+ content: "b";
+}
+
+</style>
+
+</head>
+
+<body onload="boom();">
+<div style="-moz-column-count: 2;">
+ X
+ <div class="margin">y</div>
+ <span><span id="g"></span>&shy;<div class="margin"></div><span class="dd"><div></div></span></span>
+</div>
+</body>
+
+</html>