blob: 6218a86b5321083dc811f66600b28691eb41a6f0 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: All of a column group border can be specified</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders" />
<meta name="flags" content="" />
<meta name="assert" content="The borders of all four sides of a specific table column group can be specified under the collapsing border model." />
<style type="text/css">
table
{
border-collapse: collapse;
}
td
{
border: 1px solid black;
height: 50px;
width: 50px;
}
#colgroup
{
border: 10px solid blue;
}
</style>
</head>
<body>
<p>Test passes if there is a blue border around the middle column in the three-by-three table below.</p>
<table>
<colgroup>
<col />
</colgroup>
<colgroup id="colgroup">
<col />
</colgroup>
<colgroup>
<col />
</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>
</body>
</html>