summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1157127-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1157127-1-ref.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1157127-1-ref.html b/layout/reftests/bugs/1157127-1-ref.html
new file mode 100644
index 0000000000..9b03f139b7
--- /dev/null
+++ b/layout/reftests/bugs/1157127-1-ref.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<body>
+ <script>
+ 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>