summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-anonymous-boxes/293576-1.html
blob: 4a817a033f3c024d158ff860e6f814edf511a35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <script>
      function doTest() {
        var t = document.getElementById("t");
        for (var i = 0; i < 10; ++i) {
          document.body.offsetWidth;
          t.style.display = "table-caption";
          document.body.offsetWidth;
          t.style.display = "";
        }
        document.documentElement.className = '';
      }
    </script>
  </head>
  <body onload="doTest()">
    <table border="5"><tbody><tr><td id="t">Some text</td></tr></tbody></table>
  </body>
</html>