gecko-dev/layout/reftests/bugs/201215-1.html

23 lines
605 B
HTML

<!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>