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.

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

mercurial