summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/339388-1b.html
blob: 1436bddbedf20ec3847d9281fb1787fd01c0c1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        var n = document.getElementById("n");
        for (var i = 0; i < 5; ++i) {
          n.style.position = "absolute";
          document.body.offsetWidth;
          n.style.position = "";
          document.body.offsetWidth;
        }
        document.documentElement.className = "";
      }
    </script>
  </head>

  <body onload="doTest()">
    <table border="5">
      <tr>
        <td id="n">TD</td>
      </tr>
    </table>
  </body>
</html>