border-spacing-093.xht (1551B)
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-spacing set to inherit with two values, 50px 5px</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#propdef-border-spacing" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#separated-borders" /> 8 <meta name="flags" content="ahem" /> 9 <meta name="assert" content="Verify that a table with 'border-spacing: inherit' uses both of its parent container's border-spacing values if two are specified." /> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style type="text/css"> 12 body 13 { 14 border-spacing: 50px 5px; 15 } 16 table 17 { 18 border-spacing: inherit; 19 font: 20px/1 Ahem; 20 } 21 td 22 { 23 padding: 0; 24 } 25 </style> 26 </head> 27 <body> 28 <p>Test passes if four bars appear, and the horizontal space between them is greater than the vertical space between them.</p> 29 <table> 30 <tr> 31 <td>XXXXXX</td> 32 <td>XXXXXX</td> 33 </tr> 34 <tr> 35 <td>XXXXXX</td> 36 <td>XXXXXX</td> 37 </tr> 38 </table> 39 </body> 40 </html>