1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/439639-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<html> 1.5 + 1.6 +<!-- This bug is quirksmode only --> 1.7 +<head> 1.8 +<script> 1.9 +function doTest() { 1.10 + var t1=document.getElementById("target"); 1.11 + t1.style.paddingTop="4px"; 1.12 + var b = document.body.offsetHeight; 1.13 + t1.style.paddingTop="0px"; 1.14 +} 1.15 +</script> 1.16 + 1.17 + 1.18 +<title>Table Test</title> 1.19 + 1.20 +</head> 1.21 +<body onload="doTest();"> 1.22 +<div style="height:200px; background:gold"> 1.23 + 1.24 +<table> 1.25 + 1.26 + <tbody style="height:100px; background:silver"> 1.27 + 1.28 + <tr><td><a href='#' id="target"> click me (should not move me) </a></td></tr> 1.29 + 1.30 + </tbody> 1.31 + 1.32 +</table> 1.33 + 1.34 +</div> 1.35 +</body> 1.36 +</html>