summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/406484-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/406484-1.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bugs/406484-1.html b/layout/reftests/bugs/406484-1.html
new file mode 100644
index 0000000000..effc63d39a
--- /dev/null
+++ b/layout/reftests/bugs/406484-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<body style="border:3px solid;">
+ <div style="float:left;">Kitty</div>
+ <div>
+ <div><div style="clear:both"></div></div>
+ Kitty
+ <div style="clear:both">.</div>
+ <div style="float:left;"></div>
+ </div>
+ <div id="i">x</div>
+ <div style="clear:both"></div>
+ <script>
+ document.body.offsetTop;
+ document.getElementById("i").textContent += "x";
+ document.body.offsetTop;
+ document.getElementById("i").textContent += "x";
+ </script>
+</body>
+</html>