summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/105030-1.html
blob: ff9eacf22adf741f419491fdf1d11286f6a2a9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Bug 105030</title>
</head>
<body>
<table style="border: solid 1px">
  <tr><td>
    <table align="left">
      <tr><td id="cell">Inner Table </td></tr>
    </table>
  </td></tr>
</table>
<script type="text/javascript">
  function loadImage() {
    document.body.offsetWidth
    var img = document.createElement("img");
    img.src = "solidblue.png";
    img.alt = "";
    targetCell = document.getElementById("cell");
    targetCell.appendChild(img);
  }
  loadImage();
</script>
</body>
</html>