border-style-applies-to-026.xht (1422B)
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-header-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 14 <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" /> 15 16 <style type="text/css"><![CDATA[ 17 table 18 { 19 border-collapse: collapse; 20 table-layout: fixed; 21 width: 200px; 22 } 23 24 thead 25 { 26 border-color: red; 27 border-style: hidden; 28 } 29 30 thead td 31 { 32 height: 100px; 33 } 34 ]]></style> 35 36 </head> 37 38 <body> 39 40 <p>There should be <strong>no red</strong>, not even thin red lines.</p> 41 42 <table> 43 44 <thead> 45 <tr> 46 <td></td><td></td> 47 </tr> 48 49 <tr> 50 <td></td><td></td> 51 </tr> 52 </thead> 53 54 <tbody> 55 <tr> 56 <td></td><td></td> 57 </tr> 58 </tbody> 59 60 </table> 61 62 </body> 63 </html>