blob: 7f0701ae0633b7df09d7baf70db19f5c5cf48c80 [file] [log] [blame]
<html>
<head>
<title>Table rules attr</title>
<script type="text/javascript">
function runTest()
{
document.getElementById('myTable').rules="rows"
document.getElementById('myTable').rules="cols"
}
</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 rows, then to cols, so the table should show only column borders. Bug 14848.
</p>
</body>
</html>