mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
34 lines
565 B
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>
|