blob: 2ff4ee9c6ea91267b5794410bcf0985ba787c201 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Background on 'table-row-group'</title>
<link rel="next" href="backgr_simple-table-column-group.html" title="Background Area: Background on 'table-row-group'">
<link rel="prev" href="backgr_simple-table.html" title="Background Area: Background on 'table'">
<link rel="contents" href="./backgr_index.html" title="Table of Contents">
<link rel="stylesheet" type="text/css" href="resources/common.css">
<script src="resources/wait-for-onload.js"></script>
<style type="text/css">
tbody {background: black url(resources/rainbowh.gif) bottom left}
</style>
</head>
<body>
<h3>crbug.com/35679: Background on 'table-row-group'</h3>
<table class="collapse">
<caption>With 'border-collapse: collapse'</caption>
<colgroup class="colgroup-A">
<col class="col-1">
<col class="col-2">
<col class="col-3">
</colgroup>
<colgroup class="colgroup-B">
<col class="col-4">
</colgroup>
<thead>
<tr class="th-row-1">
<th class="a">TH A</th>
<th class="b">TH B</th>
<th class="c">TH C</th>
<th class="d">TH D</th>
</tr>
</thead>
<tfoot>
<tr class="tf-row-1">
<td class="m" colspan=2>TD M</td>
<td class="o">TD O</td>
<td class="p">TD P</td>
</tfoot>
<tbody>
<tr class="tb-row-1">
<td class="e" rowspan=2>TD E</td>
<td class="f">TD F</td>
<td class="g">TD G</td>
<td class="h">TD H</td>
</tr>
<tr class="tb-row-2">
<td class="j">TD J</td>
<td class="k">TD K</td>
<td class="l">TD L</td>
</tr>
</tbody>
</table>
<p class="scope">The styled row group spans the second and third
rows.</p>
<p class="clip">The table row group background should be visible
within the border edge of each cell originating in the row group.
All stripes should line up as if the cells were cutouts in a
stencil placed over the row group background.</p>
<p class="position">A red band should align with the left border
edge of the first cells in each of the row group's rows. An orange
stripe should align a few pixels above the bottom border of the
cells in the row group's last row.</p>
<div class="validity">
<a href="http://validator.w3.org/check/referer"><img
src="resources/valid-html401.png" height="31" width="88"
alt="Valid HTML 4.01!"></a>
</div>
<address>
CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;escape.com&gt;
</address>
</body>
</html>