summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/439639-1.html
blob: 95071d3264998dcc6437d868b244eb14268ff602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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>