<html>
<head>
<title>Table rules attr</title>
<script type="text/javascript">
function runTest()
{
document.getElementById('myTable').rules="cols"
document.getElementById('myTable').rules="rows"
}
</script>
</head>
<body onload="runTest()">
<table id="myTable" border="1">
<tr>
<td>Row1 cell1</td>
<td>Row1 cell2</td>
</tr>
<tr>
<td>Row2 cell1</td>
<td>Row2 cell2</td>
</tr>
<tr>
<td>Row3 cell1</td>
<td>Row3 cell2</td>
</tr>
</table>
<p> The rules attribute is first set dynamically to cols, then to rows, so the table should show only row borders. Bug 14848.
</p>
</body>
</html>