gecko/layout/html/tests/table/bugs/bug19061-2.html

55 lines
1.1 KiB
HTML

<html>
<head>
<title> Test of Table Problems </title>
</head>
<body>
<h3>Thead/Tfoot/Tbody </h3>
<pre><font size="-1">
<b>thead</b> Row 1;
background-color: cyan; text-align: center;<br />
<b>tbody</b> Rows 2,3,4;
background-color: #9999ff; text-align: right;<br />
<b>tfoot</b> Rows 5, 6;
background-color: #ff99ff; text-align: center;
</font></pre>
<table border="1" width="100%" cellpadding="5" cellspacing="4">
<thead style="background-color: cyan">
<tr>
<td> R1C1 </td> <td> R1C2 </td>
<td> R1C3 </td> <td rowspan="2"> R1-2C4 </td> <td> R1C5 </td>
</tr>
</thead>
<tfoot style="background-color: #ff99ff">
<tr>
<td> R5C1 </td> <td>R5C2 </td>
<td rowspan="2">R5-6C3</td>
<td rowspan="2">R5-6C4</td>
<td>R5C5</td>
</tr>
<tr>
<td> R6C1 </td> <td> R6C2 </td>
<td>R6C5</td>
</tr>
</tfoot>
<tbody style="background-color: #9999ff">
<tr>
<td> R2C1 </td> <td>R2C3 </td> <td>R2C3 </td>
<td> R2C5 </td>
</tr>
<tr>
<td> R3C1 </td> <td>R3C2</td> <td colspan="3">R3C3-5 </td>
</tr>
<tr>
<td colspan="3"> R4C1-3 </td> <td rowspan="1" >R4C4 </td>
<td>R4C5</td>
</tr>
</tbody>
</table>