table-visual-layout-020

There may be gaps between columns in the separated borders model

WeasyPrint

This browser

Flags
may
Assertion
In the separated border model, there may be gaps between columns.

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: There may be gaps between columns in the separated borders model</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#table-layout">
 7         <meta name="flags" content="may">
 8         <meta name="assert" content="In the separated border model, there may be gaps between columns.">
 9         <style type="text/css">
10             table
11             {
12                 background: blue;
13                 border-collapse: separate;
14                 border-spacing: 3px 0;
15             }
16             col
17             {
18                 background: black;
19             }
20             td
21             {
22                 height: 2em;
23                 width: 2em;
24             }
25         </style>
26     </head>
27     <body>
28         <p>Test passes if the box below has blue vertical lines running through it (no horizontal lines).</p>
29         <table>
30             <col>
31             <col>
32             <col>
33             <tr>
34                 <td></td>
35                 <td></td>
36                 <td></td>
37             </tr>
38             <tr>
39                 <td></td>
40                 <td></td>
41                 <td></td>
42             </tr>
43             <tr>
44                 <td></td>
45                 <td></td>
46                 <td></td>
47             </tr>
48         </table>
49     </body>
50 </html>