fixed-table-layout-013-vrl.html (1752B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html> 3 <head> 4 <title>CSS Test: Fixed table layout - specified column-group height</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> 6 <link rel="author" title="Adapted for vertical layout by Simon Montagu" href="http:/mozilla.org/"> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#fixed-table-layout"> 8 <meta name="flags" content=""> 9 <meta name="assert" content="Specified column-group height is ignored in fixed table layout."> 10 <style type="text/css"> 11 div.test 12 { 13 writing-mode: vertical-rl; 14 } 15 table 16 { 17 border-collapse: collapse; 18 table-layout: fixed; 19 height: 200px; 20 } 21 td { padding: 0px; } 22 #colgroup 23 { 24 height: 50px; 25 } 26 #cell 27 { 28 background: blue; 29 } 30 #div1 31 { 32 background: black; 33 height: 100px; 34 } 35 #div1, #cell 36 { 37 width: 24px; 38 } 39 </style> 40 </head> 41 <body> 42 <p>Test passes if the boxes below are the same height.</p> 43 <div class="test"> 44 <table> 45 <colgroup id="colgroup"> 46 <col> 47 </colgroup> 48 <colgroup> 49 <col> 50 </colgroup> 51 <tr> 52 <td id="cell"></td> 53 <td></td> 54 </tr> 55 </table> 56 <div id="div1"></div> 57 </div> 58 </body> 59 </html>