summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1156257.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1156257.html')
-rw-r--r--layout/generic/crashtests/1156257.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1156257.html b/layout/generic/crashtests/1156257.html
new file mode 100644
index 000000000..e58c1ba5d
--- /dev/null
+++ b/layout/generic/crashtests/1156257.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<!--
+user_pref("layout.css.grid.enabled", true);
+-->
+<script>
+function boom()
+{
+ document.documentElement.offsetHeight;
+ document.getElementById("g").firstChild.remove();
+}
+</script>
+</head>
+<body onload="boom();">
+<div style="display: grid;" id="g">a b<br></div>
+</body>
+</html>