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-row'
</title>
5 <link rel=
"next" href=
"backgr_simple-table-column.html" title=
"Background Area: Background on 'table-column'">
6 <link rel=
"prev" href=
"backgr_simple-table-column-group.html" title=
"Background Area: Background on 'table-column-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 tr
{background: black url
(../images/rainbowh.gif) bottom left
;}
16 <h1>CSS2 Table Backgrounds Test Suite
</h1>
18 <h2>Part A: Background Area
</h2>
20 <h3>Background on 'table-row'
</h3>
22 <p class=
"scope">All four rows are styled.
</p>
23 <p class=
"clip">The table row background should be visible within
24 the border edge of each cell originating in the row, and the
25 background should be continuously tiled to fill the entire cell.
26 Within each row, all stripes should line up as if the cells were
27 cutouts in a stencil placed over the row background. Furthermore,
28 vertical stripes should align across rows.
</p>
29 <p class=
"position">A red band should align with the left border
30 edge of the first cells in each row. An orange stripe should align
31 a few pixels above the bottom border of the non-row-spanning cells
36 <dd><a href=
"backgr_simple-table-column.html">Background Area: Background on 'table-column'
</a>
38 <dd><a href=
"backgr_simple-table-column-group.html">Background Area: Background on 'table-column-group'
</a>
40 <dd><a href=
"./backgr_index.html">Table of Contents
</a>
43 <table class=
"separate">
44 <caption>With 'border-collapse: separate'
</caption>
45 <colgroup class=
"colgroup-A">
50 <colgroup class=
"colgroup-B">
55 <th class=
"a">TH A
</th>
56 <th class=
"b">TH B
</th>
57 <th class=
"c">TH C
</th>
58 <th class=
"d">TH D
</th>
63 <td class=
"m" colspan=
2>TD M
</td>
65 <td class=
"o">TD O
</td>
66 <td class=
"p">TD P
</td>
70 <td class=
"e" rowspan=
2>TD E
</td>
71 <td class=
"f">TD F
</td>
72 <td class=
"g">TD G
</td>
73 <td class=
"h">TD H
</td>
77 <td class=
"j">TD J
</td>
78 <td class=
"k">TD K
</td>
79 <td class=
"l">TD L
</td>
84 <table class=
"collapse">
85 <caption>With 'border-collapse: collapse'
</caption>
86 <colgroup class=
"colgroup-A">
91 <colgroup class=
"colgroup-B">
96 <th class=
"a">TH A
</th>
97 <th class=
"b">TH B
</th>
98 <th class=
"c">TH C
</th>
99 <th class=
"d">TH D
</th>
103 <tr class=
"tf-row-1">
104 <td class=
"m" colspan=
2>TD M
</td>
106 <td class=
"o">TD O
</td>
107 <td class=
"p">TD P
</td>
110 <tr class=
"tb-row-1">
111 <td class=
"e" rowspan=
2>TD E
</td>
112 <td class=
"f">TD F
</td>
113 <td class=
"g">TD G
</td>
114 <td class=
"h">TD H
</td>
116 <tr class=
"tb-row-2">
118 <td class=
"j">TD J
</td>
119 <td class=
"k">TD K
</td>
120 <td class=
"l">TD L
</td>
124 <div class=
"validity">
125 <a href=
"http://validator.w3.org/check/referer"><img
126 src=
"../images/valid-html401.png" height=
"31" width=
"88"
127 alt=
"Valid HTML 4.01!"></a>
130 CSS2 Table Backgrounds Test Suite designed and written by fantasai
<fantasai
@escape.com
>