summaryrefslogtreecommitdiff
path: root/layout/reftests/bugs/406484-1.html
blob: effc63d39aa55cdc1c3b67a8eb93a5ec19ed2d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>