summaryrefslogtreecommitdiff
path: root/layout/reftests/bugs/1005405-1.html
blob: a2b7d7233eea9439df99ef7c5e552402a79d38a5 (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, false);
    </script>
  </body>
</html>