Files
servo/tests/wpt/css-tests/css21_dev/html4/border-collapse-001.htm

36 lines
1.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Border-collapse set to 'collapse'</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#propdef-border-collapse">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#borders">
<meta name="flags" content="">
<meta name="assert" content="A table with 'border-collapse' set to 'collapse' collapses the borders between its cells.">
<style type="text/css">
table
{
border-collapse: collapse;
border-spacing: 5px;
}
td
{
background: black;
border: 5px solid black;
}
</style>
</head>
<body>
<p>Test passes if a single box appears below this line.</p>
<table>
<tr>
<td>XXXXX</td>
<td>XXXXX</td>
</tr>
<tr>
<td>XXXXX</td>
<td>XXXXX</td>
</tr>
</table>
</body>
</html>