border-conflict-style-101.xht (1177B)
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</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 tr 22 { 23 border-color: red; 24 border-style: hidden; 25 } 26 27 td 28 { 29 border: red solid; 30 height: 200px; 31 width: 200px; 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 <table> 42 43 <tbody> 44 <tr> 45 <td></td> 46 </tr> 47 </tbody> 48 49 </table> 50 51 </body> 52 </html>