tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

border-collapse-dynamic-column-003.xht (1403B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Test: border collapse dynamic change to col border style</title>
      2     <link rel="author" title="Bernd Mielke" href="mailto:bmlk@gmx.de" />
      3     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#collapsing-borders" />
      4     <link rel="match" href="border-collapse-dynamic-colgroup-003-ref.xht"/>
      5     <meta http-equiv="Content-Script-Type" content="text/javascript" />
      6     <meta name="flags" content="dom" />
      7 <script type="text/javascript">
      8 function doTest(){
      9  var t1 =document.getElementById('target');
     10  t1.style.borderStyle="solid";
     11 }
     12 </script>
     13 <style type="text/css"><![CDATA[
     14 td { border: 10px green outset;}
     15 table {margin: 30px; border-collapse:collapse}
     16 col#target {border:outset green 10px}
     17 ]]></style>
     18 </head>
     19 <body onload="doTest();">
     20 
     21 <p>There should be a continuous solid green border around the center column. All other borders should look as though they are coming out of the canvas.</p>
     22 
     23 <table>
     24 
     25 <colgroup><col /></colgroup>
     26 <colgroup><col id="target" /></colgroup>
     27 <colgroup><col /></colgroup>
     28 <tbody><tr><td>c11</td><td>c12</td><td>c13</td></tr></tbody>
     29  <tbody>
     30  <tr><td>c21</td><td>c22</td><td>c23</td></tr>
     31  </tbody>
     32  <tbody>
     33 
     34  <tr><td>c31</td><td>c32</td><td>c33</td></tr>
     35  </tbody>
     36 </table>
     37 
     38 </body></html>