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-row'</title> | 4 <title>Background on 'table-row'</title> |
5 <link rel="next" href="backgr_position-table-column.html" title="Background Posi
tion: Background on 'table-column'"> | 5 <link rel="next" href="backgr_position-table-column.html" title="Background Posi
tion: Background on 'table-column'"> |
6 <link rel="prev" href="backgr_position-table-column-group.html" title="Backgroun
d Position: Background on 'table-column-group'"> | 6 <link rel="prev" href="backgr_position-table-column-group.html" title="Backgroun
d Position: Background on 'table-column-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 .th-row-1 {background: black url(../images/edge.gif) bottom right no-repeat;} | 11 .th-row-1 {background: black url(resources/edge.gif) bottom right no-repeat;} |
12 .tb-row-1 {background: black url(../images/edge.gif) bottom left no-repeat;} | 12 .tb-row-1 {background: black url(resources/edge.gif) bottom left no-repeat;} |
13 .tb-row-2 {background: black url(../images/edge.gif) top left no-repeat;} | 13 .tb-row-2 {background: black url(resources/edge.gif) top left no-repeat;} |
14 | 14 |
15 </style> | 15 </style> |
16 </head> | 16 </head> |
17 <body> | 17 <body> |
18 <h1>CSS2 Table Backgrounds Test Suite</h1> | 18 <h3>crbug.com/35679: Background on 'table-row'</h3> |
19 | |
20 <h2>Part B: Background Position</h2> | |
21 | |
22 <h3>Background on 'table-row'</h3> | |
23 | |
24 <p>Three rows are styled.</p> | |
25 <p>The first row should have three aqua stripes just inside the | |
26 bottom and right border edges of its last cell. The bottom three | |
27 stripes should continue across the row, appearing along the border | |
28 edge of each cell.</p> | |
29 <p>The second row should have three vertical aqua stripes just | |
30 inside the left border edge of the top half of the first cell (Cell | |
31 E.) Three horizontal aqua stripes should cut across that cell and | |
32 align along the bottom border edge of the last three cells.</p> | |
33 <p>The third row should have three horizontal aqua stripes along the | |
34 top border edge of the last three cells in the row.</p> | |
35 <dl> | |
36 <dt>next | |
37 <dd><a href="backgr_position-table-column.html">Background Position: B
ackground on 'table-column'</a> | |
38 <dt>previous | |
39 <dd><a href="backgr_position-table-column-group.html">Background Posit
ion: Background on 'table-column-group'</a> | |
40 <dt>contents | |
41 <dd><a href="./backgr_index.html">Table of Contents</a> | |
42 </dl> | |
43 | |
44 <table class="separate"> | |
45 <caption>With 'border-collapse: separate'</caption> | |
46 <colgroup class="colgroup-A"> | |
47 <col class="col-1"> | |
48 <col class="col-2"> | |
49 <col class="col-3"> | |
50 </colgroup> | |
51 <colgroup class="colgroup-B"> | |
52 <col class="col-4"> | |
53 </colgroup> | |
54 <thead> | |
55 <tr class="th-row-1"> | |
56 <th class="a">TH A</th> | |
57 <th class="b">TH B</th> | |
58 <th class="c">TH C</th> | |
59 <th class="d">TH D</th> | |
60 </tr> | |
61 </thead> | |
62 <tfoot> | |
63 <tr class="tf-row-1"> | |
64 <td class="m" colspan=2>TD M</td> | |
65 | |
66 <td class="o">TD O</td> | |
67 <td class="p">TD P</td> | |
68 </tfoot> | |
69 <tbody> | |
70 <tr class="tb-row-1"> | |
71 <td class="e" rowspan=2>TD E</td> | |
72 <td class="f">TD F</td> | |
73 <td class="g">TD G</td> | |
74 <td class="h">TD H</td> | |
75 </tr> | |
76 <tr class="tb-row-2"> | |
77 | |
78 <td class="j">TD J</td> | |
79 <td class="k">TD K</td> | |
80 <td class="l">TD L</td> | |
81 </tr> | |
82 </tbody> | |
83 </table> | |
84 | |
85 <table class="collapse"> | 19 <table class="collapse"> |
86 <caption>With 'border-collapse: collapse'</caption> | 20 <caption>With 'border-collapse: collapse'</caption> |
87 <colgroup class="colgroup-A"> | 21 <colgroup class="colgroup-A"> |
88 <col class="col-1"> | 22 <col class="col-1"> |
89 <col class="col-2"> | 23 <col class="col-2"> |
90 <col class="col-3"> | 24 <col class="col-3"> |
91 </colgroup> | 25 </colgroup> |
92 <colgroup class="colgroup-B"> | 26 <colgroup class="colgroup-B"> |
93 <col class="col-4"> | 27 <col class="col-4"> |
94 </colgroup> | 28 </colgroup> |
(...skipping 20 matching lines...) Expand all Loading... |
115 <td class="h">TD H</td> | 49 <td class="h">TD H</td> |
116 </tr> | 50 </tr> |
117 <tr class="tb-row-2"> | 51 <tr class="tb-row-2"> |
118 | 52 |
119 <td class="j">TD J</td> | 53 <td class="j">TD J</td> |
120 <td class="k">TD K</td> | 54 <td class="k">TD K</td> |
121 <td class="l">TD L</td> | 55 <td class="l">TD L</td> |
122 </tr> | 56 </tr> |
123 </tbody> | 57 </tbody> |
124 </table> | 58 </table> |
| 59 <p>Three rows are styled.</p> |
| 60 <p>The first row should have three aqua stripes just inside the |
| 61 bottom and right border edges of its last cell. The bottom three |
| 62 stripes should continue across the row, appearing along the border |
| 63 edge of each cell.</p> |
| 64 <p>The second row should have three vertical aqua stripes just |
| 65 inside the left border edge of the top half of the first cell (Cell |
| 66 E.) Three horizontal aqua stripes should cut across that cell and |
| 67 align along the bottom border edge of the last three cells.</p> |
| 68 <p>The third row should have three horizontal aqua stripes along the |
| 69 top border edge of the last three cells in the row.</p> |
| 70 |
125 <div class="validity"> | 71 <div class="validity"> |
126 <a href="http://validator.w3.org/check/referer"><img | 72 <a href="http://validator.w3.org/check/referer"><img |
127 src="../images/valid-html401.png" height="31" width="88" | 73 src="resources/valid-html401.png" height="31" width="88" |
128 alt="Valid HTML 4.01!"></a> | 74 alt="Valid HTML 4.01!"></a> |
129 </div> | 75 </div> |
130 <address> | 76 <address> |
131 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> |
132 </address> | 78 </address> |
133 | 79 |
134 </body> | 80 </body> |
135 </html> | 81 </html> |
OLD | NEW |