summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/486052-1.html
blob: 78ab224c04ec0454e305bc9d2c5eff9e5a305d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
  <head>
    <script>
      function doTest() {
        var d = document.createElement("div");
        d.textContent = "Test";
        d.style.top = d.style.left = 0;
        d.style.position = "absolute";
        document.getElementById("t").appendChild(d);
      }
    </script>
  </head>
  <body onload="doTest()">
    <table>
      <tr><td>This is a test</td></tr>
      <tr><td>This is a test</td></tr>
      <tr><td>This is a test</td></tr>
      <tr><td>This is a test</td></tr>
      <caption style="position: relative; caption-side: bottom" id="t"></caption>
    </table>
  </body>
</html>