summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1242172-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1242172-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1242172-1.html b/layout/reftests/bugs/1242172-1.html
new file mode 100644
index 0000000000..069ccba45f
--- /dev/null
+++ b/layout/reftests/bugs/1242172-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<body onload="doTest()">
+<iframe id="f" src="1242172-1-subdoc.html" style="width:800px; height:100px; border:1px solid black"></iframe>
+<script>
+function doTest() {
+ f.contentDocument.body.offsetTop;
+ f.style.height = "200px";
+}
+</script>
+</body>
+</html>