summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/439639-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/439639-1.html')
-rw-r--r--layout/reftests/bugs/439639-1.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/bugs/439639-1.html b/layout/reftests/bugs/439639-1.html
new file mode 100644
index 0000000000..95071d3264
--- /dev/null
+++ b/layout/reftests/bugs/439639-1.html
@@ -0,0 +1,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>