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: Cell borders are set by a column group</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#border-conflict-resolution">
7 <meta name="flags" content="">
8 <meta name="assert" content="Borders on every edge (top, right, bottom, left) of a cell can be set by the column group's border properties, which can vary in width, style and color.">
9 <style type="text/css">
10 table
11 {
12 border-collapse: collapse;
13 }
14 colgroup
15 {
16 border-bottom: 8px dashed orange;
17 border-left: 16px double purple;
18 border-right: 12px dotted yellow;
19 border-top: 4px solid blue;
20 }
21 td
22 {
23 width: 6em;
24 height: 6em;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is an outline of a box with each edge looking different from the other edges.</p>
30 <table>
31 <colgroup>
32 <col>
33 </colgroup>
34 <tr>
35 <td></td>
36 </tr>
37 </table>
38 </body>
39 </html>