summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1157127-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1157127-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1157127-1.html b/layout/reftests/bugs/1157127-1.html
new file mode 100644
index 0000000000..b1104c74ee
--- /dev/null
+++ b/layout/reftests/bugs/1157127-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<body>
+ <script>
+ document.domain = document.domain;
+ var ifr = document.createElement("iframe");
+ ifr.src = "1157127-subframe.xml";
+ document.body.appendChild(ifr);
+
+ var doc = ifr.contentDocument;
+ var div = doc.createElement("div");
+ div.style.resize = "both";
+ div.style.overflow = "scroll";
+ doc.body.appendChild(div);
+ div.offsetWidth;
+ </script>
+</body>