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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE html>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5   #t {
     6     display: none;
     7   }
     8 </style>
     9 <script lang="JavaScript">
    10   function toggleLayer(id) {
    11       var s = document.getElementById(id).style;
    12       s.display = s.display ? "" : "block";
    13   }
    15   function doTest() {
    16     toggleLayer('t');
    17     document.body.offsetWidth;
    18     toggleLayer('t');
    19     document.body.offsetWidth;
    20     toggleLayer('t');
    21     document.documentElement.className = "";
    22   }
    23 </script>
    24 </head>
    25 <body onload="doTest()">
    26 <table style="width: 100%;" border="5">
    27   <tr>
    28           <td id="t">First row</td>
    29   </tr>
    30   <tr>
    31           <td>Second row</td>
    32   </tr>
    33 </table>
    34 </body>
    35 </html>

mercurial