Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / table / rules-attr-dynchange2.html
1 <html>
2 <head>
3 <title>Table rules attr</title>
4 <script type="text/javascript">
5 function runTest()
6 {
7   document.getElementById('myTable').rules="cols"
8   document.getElementById('myTable').rules="rows"
9 }
10 </script>
11 </head>
12
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>
28
29 <p> The rules attribute is first set dynamically to cols, then to rows, so the table should show only row borders. Bug 14848.
30 </p>
31
32 </body>
33 </html>