border-spacing-004

Border-spacing set to zero using pixels with a minus sign, -0px

WeasyPrint

This browser

Flags
ahem
Assertion
Border-spacing can be set to the minimum value, using zero with a minus sign, 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 set to zero using pixels with a minus sign, -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, using zero with a minus sign, with pixels.">
10         <style type="text/css">
11             div, table
12             {
13                 font: 20px/1 Ahem;
14             }
15             table
16             {
17                 border-spacing: -0px;
18             }
19             td
20             {
21                 padding: 0;
22             }
23         </style>
24     </head>
25     <body>
26         <p>Test passes if there is only one bar below this line.</p>
27         <table>
28             <tr>
29                 <td>XXXXX</td>
30                 <td>XXXXX</td>
31             </tr>
32         </table>
33     </body>
34 </html>