summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/770381-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/770381-1.html')
-rw-r--r--layout/base/crashtests/770381-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/base/crashtests/770381-1.html b/layout/base/crashtests/770381-1.html
new file mode 100644
index 000000000..85528a81c
--- /dev/null
+++ b/layout/base/crashtests/770381-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style id="s"></style>
+<script>
+function boom() { document.getElementById("s").textContent = "div { opacity: 0.5; }"; }
+</script>
+</head>
+<body onload="document.documentElement.offsetHeight; boom();">
+<div><div>X</div></div>
+</body>
+</html>