Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / table / rules-attr-dynchange1.html
blob7f0701ae0633b7df09d7baf70db19f5c5cf48c80
1 <html>
2 <head>
3 <title>Table rules attr</title>
4 <script type="text/javascript">
5 function runTest()
7 document.getElementById('myTable').rules="rows"
8 document.getElementById('myTable').rules="cols"
10 </script>
11 </head>
13 <body onload="runTest()">
14 <table id="myTable" border="1">
15 <tr>
16 <td>Row1 cell1</td>
17 <td>Row1 cell2</td>
18 </tr>
19 <tr>
20 <td>Row2 cell1</td>
21 <td>Row2 cell2</td>
22 </tr>
23 <tr>
24 <td>Row3 cell1</td>
25 <td>Row3 cell2</td>
26 </tr>
27 </table>
29 <p> The rules attribute is first set dynamically to rows, then to cols, so the table should show only column borders. Bug 14848.
30 </p>
32 </body>
33 </html>