pjs/layout/html/tests/table/bugs/bug7471.html

107 строки
2.3 KiB
HTML
Исходник Обычный вид История

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Bug 7471 testcase</title>
</head>
<body>
<p>No col or colgroup:</p>
<table width="90%" border>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
<p>col elements with align=center on second col:</p>
<table width="90%" border>
<col>
<col align="center">
<col>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
<p>colgroup and col elements, with align on colgroup so 2nd and 3rd columns centered:</p>
<table width="90%" border>
<colgroup>
<col>
</colgroup>
<colgroup align="center">
<col>
<col>
</colgroup>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
<p>colgroup and col elements, with align on col so 2nd column centered:</p>
<table width="90%" border>
<colgroup>
<col>
</colgroup>
<colgroup>
<col align="center">
<col>
</colgroup>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</table>
</body></html>