34 lines
625 B
HTML
34 lines
625 B
HTML
<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>
|