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

57 lines
1.5 KiB
HTML

<html>
<head>
<title>regression test bug 93363</title>
<style>
table { border: 4px solid blue; }
table td { border: 1px solid blue; }
table table { border: 4px solid green; }
table table td { border: 1px solid green; }
table table table { border: 4px solid red; }
table table table td { border: 1px solid red; }
p.nowrp { white-space: nowrap; }
</style>
</head>
<body>
<table>
<tr>
<td VALIGN=top>
<table>
<tr>
<td>
this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text.
this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text. this is a bunch of text.
</td>
</tr>
</table>
</td>
<td VALIGN=top>
<table>
<tr>
<td nowrap>
this cell is nowrap.
<table>
<tr>
<td>
this text is in a cell of a table, contained in a <p class="nowrp"><b>cell with NOWRAP</b></p> but this text should wrap!
only the bold text should not wrap be cause is contained in a P that's nowrap.
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
Tables have a thick border, cells have a thin border.
</body>
</html>