border-spacing-002

Border-spacing using pixels with a minimum value, 0px

WeasyPrint

This browser

Flags
ahem
Assertion
Border-spacing can be set to the minimum value with pixels.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3     <head>
 4         <title>CSS Test: Border-spacing using pixels with a minimum value, 0px</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="Border-spacing can be set to the minimum value with pixels.">
10         <style type="text/css">
11             table
12             {
13                 border-spacing: 0px;
14                 font: 20px/1 Ahem;
15             }
16             td
17             {
18                 padding: 0;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if there is only one bar below this line.</p>
24         <table>
25             <tr>
26                 <td>XXXXX</td>
27                 <td>XXXXX</td>
28             </tr>
29         </table>
30     </body>
31 </html>