summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1145768.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1145768.html')
-rw-r--r--layout/generic/crashtests/1145768.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1145768.html b/layout/generic/crashtests/1145768.html
new file mode 100644
index 000000000..b8e6938db
--- /dev/null
+++ b/layout/generic/crashtests/1145768.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+
+<script>
+
+function boom()
+{
+ document.documentElement.offsetHeight;
+ var emptyTail = q.firstChild.splitText(2);
+ document.documentElement.offsetHeight;
+ emptyTail.splitText(0);
+}
+
+</script>
+</head>
+
+<body onload="boom();"><div style="width: 1px; height: 1px;"><div id="q" style="writing-mode: vertical-rl;">&#x07;R</div></div></body>
+
+</html>