border-spacing-056.xht (1398B)
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 using inches with a minimum minus one value, -1in</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="assert" content="Setting border-spacing to a value below the minimum in inches falls back to the default value." /> 9 <style type="text/css"> 10 table 11 { 12 background-color: black; 13 font-size: 12pt; 14 margin-top: 10px; 15 } 16 #test 17 { 18 border-spacing: -1in; 19 } 20 td 21 { 22 height: 100px; 23 padding: 0; 24 width: 100px; 25 } 26 </style> 27 </head> 28 <body> 29 <p>Test passes if the two boxes below are the same width.</p> 30 <table id="test"> 31 <tr> 32 <td></td> 33 </tr> 34 </table> 35 <table> 36 <tr> 37 <td></td> 38 </tr> 39 </table> 40 </body> 41 </html>