summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1005405-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1005405-1.html')
-rw-r--r--layout/reftests/bugs/1005405-1.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1005405-1.html b/layout/reftests/bugs/1005405-1.html
new file mode 100644
index 000000000..a2b7d7233
--- /dev/null
+++ b/layout/reftests/bugs/1005405-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <body>
+ <table id="thetable" width="150" style="top: -100px; position: relative;">
+ <tbody id="thebody">
+ <tr>
+ <td>Hello</td>
+ </tr>
+ </tbody>
+ </table>
+ <script>
+ function doTest() {
+ document.getElementById("thetable").style.top="0px";
+ document.documentElement.className = "";
+ }
+ document.addEventListener("MozReftestInvalidate", doTest, false);
+ </script>
+ </body>
+</html>