border-conflict-style-104.xht (1202B)
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 conflict resolution - border-style: hidden applied to table-row-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/tables.html#border-conflict-resolution" /> 12 <link rel="match" href="border-conflict-style-101-ref.xht" /> 13 <meta content="A table element with the 'border-style' value of 'hidden' should suppress all borders for such element." name="assert" /> 14 15 <style type="text/css"><![CDATA[ 16 table 17 { 18 border-collapse: collapse; 19 } 20 21 tbody 22 { 23 border-color: red; 24 border-style: hidden; 25 } 26 27 td 28 { 29 border: red solid; 30 height: 200px; 31 padding: 0px; 32 width: 200px; 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 <tbody> 45 <tr> 46 <td></td> 47 </tr> 48 </tbody> 49 50 </table> 51 52 </body> 53 </html>