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: Column-group background property</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#columns">
7 <meta name="flags" content="">
8 <meta name="assert" content="A background can be set on a table column group.">
9 <style type="text/css">
10 #table
11 {
12 background: orange;
13 display: table;
14 }
15 #columngroup1, #columngroup2
16 {
17 display: table-column-group;
18 }
19 #columngroup2
20 {
21 background: blue;
22 }
23 .column
24 {
25 display: table-column;
26 }
27 #row
28 {
29 display: table-row;
30 }
31 .cell
32 {
33 display: table-cell;
34 height: 1in;
35 width: 1in;
36 }
37 </style>
38 </head>
39 <body>
40 <p>Test passes if the blue box is to the right of the orange box.</p>
41 <div id="table">
42 <div id="columngroup1">
43 <div class="column"></div>
44 </div>
45 <div id="columngroup2">
46 <div class="column"></div>
47 </div>
48 <div id="row">
49 <div class="cell"></div>
50 <div class="cell"></div>
51 </div>
52 </div>
53 </body>
54 </html>