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