blob: 646d9565d3dc79020cad147646959443747df3f8 [file] [log] [blame]
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Background on 'table-column-group'</title>
<link rel="next" href="backgr_simple-table-row.html" title="Background Area: Background on 'table-row'">
<link rel="prev" href="backgr_simple-table-row-group.html" title="Background Area: Background on 'table-row-group'">
<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">
colgroup {background: black url(resources/rainbowv.gif) top left}
<h3> Background on 'table-column-group'</h3>
<table class="separate">
<caption>With 'border-collapse: separate'</caption>
<colgroup class="colgroup-A">
<col class="col-1">
<col class="col-2">
<col class="col-3">
<colgroup class="colgroup-B">
<col class="col-4">
<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 class="tf-row-1">
<td class="m" colspan=2>TD M</td>
<td class="o">TD O</td>
<td class="p">TD P</td>
<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 class="tb-row-2">
<td class="j">TD J</td>
<td class="k">TD K</td>
<td class="l">TD L</td>
<p class="scope">The first column group spans the first three
columns. The second column group only contains the last column.
<p class="clip">The table column group background should be visible
within the border edge of each cell originating in the column
group. Within each column group, all stripes should line up as if
the cells were cutouts in a stencil placed over the column group
background. Furthermore, the horizontal stripes should also align
across the two column groups.</p>
<p class="position">A purple band should align with the top border
edge of the cells in the first row. An aqua stripe should align a
few pixels to the right of the left border edge of cells in the
column group's leftmost column.</p>
<div class="validity">
<a href=""><img
src="resources/valid-html401.png" height="31" width="88"
alt="Valid HTML 4.01!"></a>
CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasai&#64;;