summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/561981-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/561981-1.html')
-rw-r--r--layout/reftests/bugs/561981-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/561981-1.html b/layout/reftests/bugs/561981-1.html
new file mode 100644
index 0000000000..f9f9acf278
--- /dev/null
+++ b/layout/reftests/bugs/561981-1.html
@@ -0,0 +1,16 @@
+<html class="reftest-wait">
+<head>
+<script>
+function runtest() {
+ var i = document.getElementById("i");
+ i.style.display = "none";
+ i.style.display = "";
+ document.documentElement.offsetLeft;
+ document.documentElement.className = "";
+}
+</script>
+</head>
+<body onload="runtest();">
+<iframe id="i" src="data:text/html,text">
+</body>
+</html>