border-conflict-resolution-003.xht (1386B)
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: Cell borders are set by a row group</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="Borders on every edge (top, right, bottom, left) of a cell can be set by the row group's border properties, which can vary in width, style and color." /> 8 <style type="text/css"> 9 table 10 { 11 border-collapse: collapse; 12 } 13 tbody 14 { 15 border-top: 4px solid blue; 16 border-bottom: 8px dashed orange; 17 border-left: 16px double purple; 18 border-right: 12px dotted yellow; 19 } 20 td 21 { 22 width: 6em; 23 height: 6em; 24 } 25 </style> 26 </head> 27 <body> 28 <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p> 29 <table> 30 <tbody> 31 <tr> 32 <td></td> 33 </tr> 34 </tbody> 35 </table> 36 </body> 37 </html>