1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
4 <title>Background on 'table-column-group'
</title>
5 <link rel=
"next" href=
"backgr_simple-table-row.html" title=
"Background Area: Background on 'table-row'">
6 <link rel=
"prev" href=
"backgr_simple-table-row-group.html" title=
"Background Area: Background on 'table-row-group'">
7 <link rel=
"contents" href=
"./backgr_index,.html" title=
"Table of Contents">
8 <link rel=
"stylesheet" type=
"text/css" href=
"common.css">
9 <style type=
"text/css">
11 colgroup
{background: black url
(../images/rainbowv.gif) top left
}
16 <h1>CSS2 Table Backgrounds Test Suite
</h1>
18 <h2>Part A: Background Area
</h2>
20 <h3>Background on 'table-column-group'
</h3>
22 <p class=
"scope">The first column group spans the first three
23 columns. The second column group only contains the last column.
24 <p class=
"clip">The table column group background should be visible
25 within the border edge of each cell originating in the column
26 group. Within each column group, all stripes should line up as if
27 the cells were cutouts in a stencil placed over the column group
28 background. Furthermore, the horizontal stripes should also align
29 across the two column groups.
</p>
30 <p class=
"position">A purple band should align with the top border
31 edge of the cells in the first row. An aqua stripe should align a
32 few pixels to the right of the left border edge of cells in the
33 column group's leftmost column.
</p>
37 <dd><a href=
"backgr_simple-table-row.html">Background Area: Background on 'table-row'
</a>
39 <dd><a href=
"backgr_simple-table-row-group.html">Background Area: Background on 'table-row-group'
</a>
41 <dd><a href=
"./backgr_index.html">Table of Contents
</a>
45 <table class=
"separate">
46 <caption>With 'border-collapse: separate'
</caption>
47 <colgroup class=
"colgroup-A">
52 <colgroup class=
"colgroup-B">
57 <th class=
"a">TH A
</th>
58 <th class=
"b">TH B
</th>
59 <th class=
"c">TH C
</th>
60 <th class=
"d">TH D
</th>
65 <td class=
"m" colspan=
2>TD M
</td>
67 <td class=
"o">TD O
</td>
68 <td class=
"p">TD P
</td>
72 <td class=
"e" rowspan=
2>TD E
</td>
73 <td class=
"f">TD F
</td>
74 <td class=
"g">TD G
</td>
75 <td class=
"h">TD H
</td>
79 <td class=
"j">TD J
</td>
80 <td class=
"k">TD K
</td>
81 <td class=
"l">TD L
</td>
86 <table class=
"collapse">
87 <caption>With 'border-collapse: collapse'
</caption>
88 <colgroup class=
"colgroup-A">
93 <colgroup class=
"colgroup-B">
98 <th class=
"a">TH A
</th>
99 <th class=
"b">TH B
</th>
100 <th class=
"c">TH C
</th>
101 <th class=
"d">TH D
</th>
105 <tr class=
"tf-row-1">
106 <td class=
"m" colspan=
2>TD M
</td>
108 <td class=
"o">TD O
</td>
109 <td class=
"p">TD P
</td>
112 <tr class=
"tb-row-1">
113 <td class=
"e" rowspan=
2>TD E
</td>
114 <td class=
"f">TD F
</td>
115 <td class=
"g">TD G
</td>
116 <td class=
"h">TD H
</td>
118 <tr class=
"tb-row-2">
120 <td class=
"j">TD J
</td>
121 <td class=
"k">TD K
</td>
122 <td class=
"l">TD L
</td>
126 <div class=
"validity">
127 <a href=
"http://validator.w3.org/check/referer"><img
128 src=
"../images/valid-html401.png" height=
"31" width=
"88"
129 alt=
"Valid HTML 4.01!"></a>
132 CSS2 Table Backgrounds Test Suite designed and written by fantasai
<fantasai
@escape.com
>