OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 <head> | 2 <head> |
3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | 3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
4 <title>Background on 'table-column-group'</title> | 4 <title>Background on 'table-column-group'</title> |
5 <link rel="next" href="backgr_simple-table-row.html" title="Background Area: Bac
kground on 'table-row'"> | 5 <link rel="next" href="backgr_simple-table-row.html" title="Background Area: Bac
kground on 'table-row'"> |
6 <link rel="prev" href="backgr_simple-table-row-group.html" title="Background Are
a: Background on 'table-row-group'"> | 6 <link rel="prev" href="backgr_simple-table-row-group.html" title="Background Are
a: Background on 'table-row-group'"> |
7 <link rel="contents" href="./backgr_index,.html" title="Table of Contents"> | 7 <link rel="contents" href="./backgr_index,.html" title="Table of Contents"> |
8 <link rel="stylesheet" type="text/css" href="common.css"> | 8 <link rel="stylesheet" type="text/css" href="resources/common.css"> |
9 <style type="text/css"> | 9 <style type="text/css"> |
10 | 10 |
11 colgroup {background: black url(../images/rainbowv.gif) top left} | 11 colgroup {background: black url(resources/rainbowv.gif) top left} |
12 | 12 |
13 </style> | 13 </style> |
14 </head> | 14 </head> |
15 <body> | 15 <body> |
16 <h1>CSS2 Table Backgrounds Test Suite</h1> | 16 <h3>crbug.com/35679: Background on 'table-column-group'</h3> |
17 | |
18 <h2>Part A: Background Area</h2> | |
19 | |
20 <h3>Background on 'table-column-group'</h3> | |
21 | |
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> | |
34 | |
35 <dl> | |
36 <dt>next | |
37 <dd><a href="backgr_simple-table-row.html">Background Area: Background
on 'table-row'</a> | |
38 <dt>previous | |
39 <dd><a href="backgr_simple-table-row-group.html">Background Area: Back
ground on 'table-row-group'</a> | |
40 <dt>contents | |
41 <dd><a href="./backgr_index.html">Table of Contents</a> | |
42 </dl> | |
43 | |
44 | |
45 <table class="separate"> | |
46 <caption>With 'border-collapse: separate'</caption> | |
47 <colgroup class="colgroup-A"> | |
48 <col class="col-1"> | |
49 <col class="col-2"> | |
50 <col class="col-3"> | |
51 </colgroup> | |
52 <colgroup class="colgroup-B"> | |
53 <col class="col-4"> | |
54 </colgroup> | |
55 <thead> | |
56 <tr class="th-row-1"> | |
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> | |
61 </tr> | |
62 </thead> | |
63 <tfoot> | |
64 <tr class="tf-row-1"> | |
65 <td class="m" colspan=2>TD M</td> | |
66 | |
67 <td class="o">TD O</td> | |
68 <td class="p">TD P</td> | |
69 </tfoot> | |
70 <tbody> | |
71 <tr class="tb-row-1"> | |
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> | |
76 </tr> | |
77 <tr class="tb-row-2"> | |
78 | |
79 <td class="j">TD J</td> | |
80 <td class="k">TD K</td> | |
81 <td class="l">TD L</td> | |
82 </tr> | |
83 </tbody> | |
84 </table> | |
85 | 17 |
86 <table class="collapse"> | 18 <table class="collapse"> |
87 <caption>With 'border-collapse: collapse'</caption> | 19 <caption>With 'border-collapse: collapse'</caption> |
88 <colgroup class="colgroup-A"> | 20 <colgroup class="colgroup-A"> |
89 <col class="col-1"> | 21 <col class="col-1"> |
90 <col class="col-2"> | 22 <col class="col-2"> |
91 <col class="col-3"> | 23 <col class="col-3"> |
92 </colgroup> | 24 </colgroup> |
93 <colgroup class="colgroup-B"> | 25 <colgroup class="colgroup-B"> |
94 <col class="col-4"> | 26 <col class="col-4"> |
(...skipping 21 matching lines...) Expand all Loading... |
116 <td class="h">TD H</td> | 48 <td class="h">TD H</td> |
117 </tr> | 49 </tr> |
118 <tr class="tb-row-2"> | 50 <tr class="tb-row-2"> |
119 | 51 |
120 <td class="j">TD J</td> | 52 <td class="j">TD J</td> |
121 <td class="k">TD K</td> | 53 <td class="k">TD K</td> |
122 <td class="l">TD L</td> | 54 <td class="l">TD L</td> |
123 </tr> | 55 </tr> |
124 </tbody> | 56 </tbody> |
125 </table> | 57 </table> |
| 58 |
| 59 <p class="scope">The first column group spans the first three |
| 60 columns. The second column group only contains the last column. |
| 61 <p class="clip">The table column group background should be visible |
| 62 within the border edge of each cell originating in the column |
| 63 group. Within each column group, all stripes should line up as if |
| 64 the cells were cutouts in a stencil placed over the column group |
| 65 background. Furthermore, the horizontal stripes should also align |
| 66 across the two column groups.</p> |
| 67 <p class="position">A purple band should align with the top border |
| 68 edge of the cells in the first row. An aqua stripe should align a |
| 69 few pixels to the right of the left border edge of cells in the |
| 70 column group's leftmost column.</p> |
126 <div class="validity"> | 71 <div class="validity"> |
127 <a href="http://validator.w3.org/check/referer"><img | 72 <a href="http://validator.w3.org/check/referer"><img |
128 src="../images/valid-html401.png" height="31" width="88" | 73 src="resources/valid-html401.png" height="31" width="88" |
129 alt="Valid HTML 4.01!"></a> | 74 alt="Valid HTML 4.01!"></a> |
130 </div> | 75 </div> |
131 <address> | 76 <address> |
132 CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasa
i@escape.com> | 77 CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasa
i@escape.com> |
133 </address> | 78 </address> |
134 | 79 |
135 </body> | 80 </body> |
136 </html> | 81 </html> |
OLD | NEW |