layout/reftests/table-anonymous-boxes/293576-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial