border-conflict-style-044.xht (1562B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Border Conflict Resolution (by border style): 'hidden' vs. 'groove' - border with highest priority border style should dominate</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" /> 7 <meta name="assert" content="The 'hidden' border is the dominant border when it is collapsed with a 'groove' border." /> 8 <style type="text/css"> 9 table 10 { 11 border-collapse: collapse; 12 } 13 td 14 { 15 border: 5px hidden red; 16 height: 3em; 17 width: 3em; 18 } 19 #center 20 { 21 border: 5px groove red; 22 } 23 </style> 24 </head> 25 <body> 26 <p>Test passes if the center box in the table below has no border.</p> 27 <table> 28 <tr> 29 <td>hidden</td> 30 <td>hidden</td> 31 <td>hidden</td> 32 </tr> 33 <tr> 34 <td>hidden</td> 35 <td id="center">groove</td> 36 <td>hidden</td> 37 </tr> 38 <tr> 39 <td>hidden</td> 40 <td>hidden</td> 41 <td>hidden</td> 42 </tr> 43 </table> 44 </body> 45 </html>