gecko/layout/html/tests/table/bugs/bug15544.html

20 lines
1.2 KiB
HTML

<table border="0" cellspacing="0" cellpadding="0" width="80">
<!-- notice below width="31" for an img with width="30" -->
<tr><td rowspan="3" width="31" height="93"><img width="30" height="93" src="../images/leftbit.jpg"></td>
<td width="50" height="28"><img width="25" src="../images/1.jpg"><img width="25" src="../images/2.jpg"></td></tr>
<tr><td width="50" height="25"><img width="25" src="../images/5.jpg"><img width="25" src="../images/6.jpg"></td></tr>
<tr><td width="50" height="40"><img width="25" src="../images/9empty.jpg"><img width="25" src="../images/10empty.jpg"></td></tr>
</table>
Here's the same table without the off-by-one error.
<table border="0" cellspacing="0" cellpadding="0" width="80">
<!-- and here width="30" correctly. -->
<tr><td rowspan="3" width="30" height="93"><img width="30" height="93" src="../images/leftbit.jpg"></td>
<td width="50" height="28"><img width="25" src="../images/1.jpg"><img width="25" src="../images/2.jpg"></td></tr>
<tr><td width="50" height="25"><img width="25" src="../images/5.jpg"><img width="25" src="../images/6.jpg"></td></tr>
<tr><td width="50" height="40"><img width="25" src="../images/9empty.jpg"><img width="25" src="../images/10empty.jpg"></td></tr>
</table>
</body>