border-conflict-width-057.xht (1639B)
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 width): 'inset' vs. 'none' - a border style of 'none' is never the dominant border</title> 5 <link rel="author" title="W3C" href="http://www.w3c.org/" /> 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution" /> 8 <meta name="assert" content="The widest border is dominant when two , except when border style is 'none'. If border style is 'none' any other non-none border style is dominant border." /> 9 <style type="text/css"> 10 table 11 { 12 border-collapse: collapse; 13 } 14 td 15 { 16 border: 5px inset black; 17 height: 3em; 18 } 19 #cell1 20 { 21 border: 10px none red; 22 } 23 </style> 24 </head> 25 <body> 26 <p>Test passes if there is no red visible on the page.</p> 27 <table> 28 <tr> 29 <td>inset</td> 30 <td>inset</td> 31 <td>inset</td> 32 </tr> 33 <tr> 34 <td>inset</td> 35 <td id="cell1">none</td> 36 <td>inset</td> 37 </tr> 38 <tr> 39 <td>inset</td> 40 <td>inset</td> 41 <td>inset</td> 42 </tr> 43 </table> 44 </body> 45 </html>