Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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> |