summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/399132-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/399132-1.xhtml')
-rw-r--r--layout/base/crashtests/399132-1.xhtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/base/crashtests/399132-1.xhtml b/layout/base/crashtests/399132-1.xhtml
new file mode 100644
index 000000000..cf7f760e8
--- /dev/null
+++ b/layout/base/crashtests/399132-1.xhtml
@@ -0,0 +1,16 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<style id="style">
+.penguin { overflow: hidden; }
+.penguin:first-line { }
+</style>
+<script>
+function boom()
+{
+ document.getElementById("style").textContent += "";
+ document.getElementById("td").className = "penguin";
+}
+</script>
+</head>
+<body onload="boom();"><td id="td">Text</td></body>
+</html>