summaryrefslogtreecommitdiffstats
path: root/layout/base/tests/bug851445_helper.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/tests/bug851445_helper.html')
-rw-r--r--layout/base/tests/bug851445_helper.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/base/tests/bug851445_helper.html b/layout/base/tests/bug851445_helper.html
new file mode 100644
index 0000000000..dc4e4002e6
--- /dev/null
+++ b/layout/base/tests/bug851445_helper.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<body style="height:1000px">
+<script>
+var docElement = document.documentElement;
+docElement.style.display = 'none';
+docElement.offsetTop;
+docElement.style.display = '';
+</script>
+</body>
+</html>