summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/201215-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/201215-1.html')
-rw-r--r--layout/reftests/bugs/201215-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/bugs/201215-1.html b/layout/reftests/bugs/201215-1.html
new file mode 100644
index 000000000..423716564
--- /dev/null
+++ b/layout/reftests/bugs/201215-1.html
@@ -0,0 +1,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>