summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/201215-1.html
blob: 4237165649986981777d2433bebd12da824beee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>Bug 201215</title>
</head>
<body>
<table><tr><td>
  <div style="background: #DDDDDD; float: right">text text text text text text <span id="insertHere"></span></div>
</td></tr></table>
<script type="text/javascript">
  function loadImage() {
    document.body.offsetWidth
    var img = document.createElement("img");
    img.src = "solidblue.png";
    img.alt = "";
    target = document.getElementById("insertHere");
    target.appendChild(img);
  }
  loadImage();
</script>
</body>
</html>