table-visual-layout-022

There may be gaps between column groups in the separated borders model

WeasyPrint

This browser

Flags
may
Assertion
In the separated borders model, there may be gaps between column groups.

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 column groups 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 borders model, there may be gaps between column groups.">
 9         <style type="text/css">
10             table
11             {
12                 background: blue;
13                 border-collapse: separate;
14                 border-spacing: 3px 0;
15             }
16             colgroup
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             <colgroup>
31                 <col>
32                 <col>
33                 <col>
34             </colgroup>
35             <tr>
36                 <td></td>
37                 <td></td>
38                 <td></td>
39             </tr>
40             <tr>
41                 <td></td>
42                 <td></td>
43                 <td></td>
44             </tr>
45             <tr>
46                 <td></td>
47                 <td></td>
48                 <td></td>
49             </tr>
50         </table>
51     </body>
52 </html>