summaryrefslogtreecommitdiffstats
path: root/dom/tests/reftest/bug559996-ref-iframe.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/tests/reftest/bug559996-ref-iframe.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/tests/reftest/bug559996-ref-iframe.html b/dom/tests/reftest/bug559996-ref-iframe.html
new file mode 100644
index 0000000000..2b13b8b343
--- /dev/null
+++ b/dom/tests/reftest/bug559996-ref-iframe.html
@@ -0,0 +1,8 @@
+<html>
+<!-- This page is loaded in a 200px-square iframe scrolled to #down. -->
+<body>
+<div id="first" style="height: 150px; background: lightblue;">first</div>
+<div id="down" style="height: 250px; background: lightgreen;">second</div>
+<script>document.documentElement.offsetWidth;</script>
+</body>
+</html>