summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/369176-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/369176-1.html')
-rw-r--r--layout/base/crashtests/369176-1.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/base/crashtests/369176-1.html b/layout/base/crashtests/369176-1.html
new file mode 100644
index 0000000000..536206c46d
--- /dev/null
+++ b/layout/base/crashtests/369176-1.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+
+<script>
+
+function boom()
+{
+ document.getElementById("f").className = 'q';
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+
+<style>
+
+body {
+ width: 10em;
+}
+
+#f:after {
+ content: "TTT";
+}
+
+</style>
+
+</head>
+
+<body onload="setTimeout(boom, 0);">
+
+<span id="f">foo foo foo foo foo foo foo foo foo foo<span style="display: block"></span></span>
+
+
+</div>
+
+</body>
+</html>