blob: 9945bb2ad920263eee270dccef7eaba531bfab5b [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: 'groups' in the 'rules' attribute</title>
<meta name="assert" content="The first table has 2 horizontal lines.">
<meta name="assert" content="The second table has 2 vertical lines.">
<meta name="assert" content="The third table has 2 vertical lines and 2 horizontal lines.">
<style type="text/css">
table
{
border-collapse: collapse;
border-style: hidden;
}
.col1
{
border-style: none solid;
border-width: 1px;
}
.row
{
border-style: solid;
border-width: 1px;
}
td
{
height: 20px;
width: 20px;
}
</style>
</head>
<body>
<table>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<colgroup class = "col1"></colgroup>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
<tr class="row">
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>