blob: d715e23c7e8f3c813b2b84d5a585c125ebd96f57 [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: The background between cell borders is the table background</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-layers" />
<meta name="flags" content="" />
<meta name="assert" content="The background between cell borders (using the separated borders model) is the background of the table element." />
<style type="text/css">
table
{
background: blue;
border-collapse: separate;
border-spacing: 5px;
}
td
{
background: white;
height: 2em;
width: 2em;
}
</style>
</head>
<body>
<p>Test passes if there is a three-by-three table below with blue borders.</p>
<table>
<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>