layout/reftests/bugs/439639-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <html>
     3 <!-- This bug is quirksmode only -->
     4 <head>
     5 <script>
     6 function doTest() {
     7   var t1=document.getElementById("target");
     8   t1.style.paddingTop="4px";
     9   var b = document.body.offsetHeight;
    10   t1.style.paddingTop="0px";
    11 }
    12 </script>
    15 <title>Table Test</title>
    17 </head>
    18 <body onload="doTest();">
    19 <div style="height:200px; background:gold">
    21 <table>
    23   <tbody style="height:100px; background:silver">
    25    <tr><td><a href='#' id="target"> click me (should not move me) </a></td></tr>
    27   </tbody>
    29 </table>
    31 </div>
    32 </body>
    33 </html>

mercurial