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