1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html><head><link rel="reference" href="border-collapse-dynamic-rowgroup-002-ref.xht"><title>CSS Test: border collapse dynamic change to row border width</title>
3 <link rel="author" title="Bernd Mielke" href="mailto:bmlk@gmx.de">
4 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders">
5 <meta name="flags" content="dom">
6 <script type="text/javascript">
7 function doTest(){
8 var t1 =document.getElementById('target');
9 t1.style.borderWidth="20px";
10 }
11 </script>
12 <style type="text/css">
13 td { border: 10px green solid;}
14 table {margin: 30px}
15 </style>
16 </head>
17 <body onload="doTest();">
18 <table style="border-collapse:collapse">
19 <tbody><tr><td>c11</td><td>c12</td><td>c13</td></tr>
20 <tr style="border:solid green 2px" id="target"><td>c21</td><td>c22</td><td>c23</td></tr>
21 <tr><td>c31</td><td>c32</td><td>c33</td></tr>
22 </tbody></table>
23
24 </body></html>