Adding tests. Patch by Ryan VanderMeulen <ryanvm@gmail.com>

This commit is contained in:
bzbarsky%mit.edu 2007-03-05 18:14:57 +00:00
parent 8a97cbd8a7
commit eb87b012db
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Bug 105030 Reference</title>
</head>
<body>
<table style="border: solid 1px">
<tr><td>
<table>
<tr><td>Inner Table <img src="solidblue.png" alt="">
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>

View File

@ -0,0 +1,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>

View File

@ -0,0 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Bug 124903 Reference</title>
</head>
<body>
<table cellspacing="0" cellpadding="0">
<tr>
<td width="100"><img src="solidblue.png" alt="" width="100"></td>
<td>This text should all be on one</td>
<td width="50%">&nbsp;line</td>
</tr>
</table>
</body>
</html>

View File

@ -56,6 +56,7 @@ fails == 25888-3r.html 25888-3r-ref.html # bug 25888
== 97777-2.html 97777-2-ref.html
== 98223-1.html 98223-1-ref.html
== 98223-2.html 98223-2-ref.html
== 105030-1.html 105030-1-ref.html
== 139550-1a.html 139550-1-ref.html
== 139550-1b.html 139550-1-ref.html
== 142233-1.html 142233-1-ref.html