border-style-applies-to-018.xht (1376B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Test: border-style: hidden applied to table-column-group</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="author" title="Marc Pacheco" href="http://marc.baffl.co.uk/contact.php" /> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-style-properties" /> 12 <link rel="match" href="border-conflict-style-101-ref.xht" /> 13 <meta content="'border-style: hidden' must apply to all elements, including internal table elements. 'hidden' (border-style) is the same as 'none': the computed border width is zero." name="assert" /> 14 15 <style type="text/css"><![CDATA[ 16 table 17 { 18 border-collapse: collapse; 19 table-layout: fixed; 20 width: 200px; 21 } 22 23 colgroup 24 { 25 border-color: red; 26 border-style: hidden; 27 } 28 29 td 30 { 31 height: 100px; 32 } 33 ]]></style> 34 35 </head> 36 37 <body> 38 39 <p>There should be <strong>no red</strong>, not even thin red lines.</p> 40 41 42 <table> 43 44 <colgroup><col></col><col></col></colgroup> 45 46 <tbody> 47 <tr> 48 <td></td><td></td> 49 </tr> 50 51 <tr> 52 <td></td><td></td> 53 </tr> 54 </tbody> 55 56 </table> 57 58 </body> 59 </html>