summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1005405-1.html
blob: 7787efcf7d1a85796bb713bc4122ebf8313f6817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
    </script>
  </body>
</html>