border-spacing-094

Border-spacing: using two values, 5px 50px

WeasyPrint

This browser

Flags
ahem
Assertion
Verify that a table can have two values specified by its border-spacing property.

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 two values, 5px 50px</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 can have two values specified by its border-spacing property.">
10         <style type="text/css">
11             table
12             {
13                 border-spacing: 5px 50px;
14                 font: 20px/1 Ahem;
15             }
16             td
17             {
18                 padding: 0;
19             }
20         </style>
21     </head>
22     <body>
23         <p>Test passes if four bars appear, and the vertical space between them is greater than the horizontal space between them.</p>
24         <table>
25             <tr>
26                 <td>XXXXXX</td>
27                 <td>XXXXXX</td>
28             </tr>
29             <tr>
30                 <td>XXXXXX</td>
31                 <td>XXXXXX</td>
32             </tr>
33         </table>
34     </body>
35 </html>