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 | 17 |
45 <table class="separate"> | 18 <table class="separate"> |
46 <caption>With 'border-collapse: separate'</caption> | 19 <caption>With 'border-collapse: separate'</caption> |
47 <colgroup class="colgroup-A"> | 20 <colgroup class="colgroup-A"> |
48 <col class="col-1"> | 21 <col class="col-1"> |
49 <col class="col-2"> | 22 <col class="col-2"> |
50 <col class="col-3"> | 23 <col class="col-3"> |
51 </colgroup> | 24 </colgroup> |
52 <colgroup class="colgroup-B"> | 25 <colgroup class="colgroup-B"> |
53 <col class="col-4"> | 26 <col class="col-4"> |
(...skipping 22 matching lines...) Expand all Loading... |
76 </tr> | 49 </tr> |
77 <tr class="tb-row-2"> | 50 <tr class="tb-row-2"> |
78 | 51 |
79 <td class="j">TD J</td> | 52 <td class="j">TD J</td> |
80 <td class="k">TD K</td> | 53 <td class="k">TD K</td> |
81 <td class="l">TD L</td> | 54 <td class="l">TD L</td> |
82 </tr> | 55 </tr> |
83 </tbody> | 56 </tbody> |
84 </table> | 57 </table> |
85 | 58 |
86 <table class="collapse"> | 59 <p class="scope">The first column group spans the first three |
87 <caption>With 'border-collapse: collapse'</caption> | 60 columns. The second column group only contains the last column. |
88 <colgroup class="colgroup-A"> | 61 <p class="clip">The table column group background should be visible |
89 <col class="col-1"> | 62 within the border edge of each cell originating in the column |
90 <col class="col-2"> | 63 group. Within each column group, all stripes should line up as if |
91 <col class="col-3"> | 64 the cells were cutouts in a stencil placed over the column group |
92 </colgroup> | 65 background. Furthermore, the horizontal stripes should also align |
93 <colgroup class="colgroup-B"> | 66 across the two column groups.</p> |
94 <col class="col-4"> | 67 <p class="position">A purple band should align with the top border |
95 </colgroup> | 68 edge of the cells in the first row. An aqua stripe should align a |
96 <thead> | 69 few pixels to the right of the left border edge of cells in the |
97 <tr class="th-row-1"> | 70 column group's leftmost column.</p> |
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> | |
102 </tr> | |
103 </thead> | |
104 <tfoot> | |
105 <tr class="tf-row-1"> | |
106 <td class="m" colspan=2>TD M</td> | |
107 | |
108 <td class="o">TD O</td> | |
109 <td class="p">TD P</td> | |
110 </tfoot> | |
111 <tbody> | |
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> | |
117 </tr> | |
118 <tr class="tb-row-2"> | |
119 | |
120 <td class="j">TD J</td> | |
121 <td class="k">TD K</td> | |
122 <td class="l">TD L</td> | |
123 </tr> | |
124 </tbody> | |
125 </table> | |
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 |