Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: There may be gaps between row groups in the separated borders model</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<meta name="flags" content="may" />
<meta name="assert" content="In the separated border model, there may be gaps between row groups." />
<style type="text/css">
table
{
background: blue;
border-collapse: separate;
border-spacing: 0 3px;
}
tbody
{
background: black;
}
td
{
height: 2em;
width: 2em;
}
</style>
</head>
<body>
<p>Test passes if the box below has blue horizontal lines running through it (no vertical lines).</p>
<table>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>