gecko-dev/layout/reftests/bugs/439639-1.html

34 lines
565 B
HTML

<html>
<!-- This bug is quirksmode only -->
<head>
<script>
function doTest() {
var t1=document.getElementById("target");
t1.style.paddingTop="4px";
var b = document.body.offsetHeight;
t1.style.paddingTop="0px";
}
</script>
<title>Table Test</title>
</head>
<body onload="doTest();">
<div style="height:200px; background:gold">
<table>
<tbody style="height:100px; background:silver">
<tr><td><a href='#' id="target"> click me (should not move me) </a></td></tr>
</tbody>
</table>
</div>
</body>
</html>