Files
servo/tests/wpt/css-tests/css21_dev/html4/border-conflict-style-105.htm

59 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 conflict resolution - border-style: hidden applied to table-footer-group</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
<link rel="match" href="reference/border-conflict-style-101-ref.htm">
<meta content="" name="flags">
<meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert">
<style type="text/css">
table
{
border-collapse: collapse;
}
tfoot
{
border-color: red;
border-style: hidden;
}
tfoot td
{
border: red solid;
height: 200px;
padding: 0px;
width: 200px;
}
</style>
</head>
<body>
<p>There should be <strong>no red</strong>, not even thin red lines.</p>
<table>
<tfoot>
<tr>
<td></td>
</tr>
</tfoot>
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</body>
</html>