blob: c3a539782fd697c4eaeff21b573ea9d3b13371d0 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: The 'rules' attribute and the 'frame' attribute</title>
<meta name="assert" content="The first table has four vertical lines capped and bottomed by two horizontal lines.">
<meta name="assert" content="The second table has 2 vertical lines.">
<meta name="assert" content="The third table has 2 vertical lines capped by a horizontal line.">
<meta name="assert" content="The fourth table has 2 vertical lines bottomed by a horizontal line.">
<meta name="assert" content="The fifth table has 3 vertical lines.">
<meta name="assert" content="The sixth table has 3 vertical lines.">
<style type="text/css">
td
{
height: 20px;
width: 20px;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText(true);
</script>
</head>
<body>
<table rules="cols" frame="box">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table rules="cols" frame="void">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table rules="cols" frame="above">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table rules="cols" frame="below">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table rules="cols" frame="lhs">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<br>
<table rules="cols" frame="rhs">
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>