# CSS2 Table Backgrounds Test Suite

## Part C: Background Layers

### empty-cells: show

Both tables should have a blue background.

In table cell C (third cell in the first row), which is empty:

- Four sets of horizontal double violet stripes surrounded by aqua should run just inside the top border edge.
- One set of aqua-backed double violet stripes should run just inside the left, right, and bottom border edges.
- The third set along the top should turn down at the right edge and go under the fourth set to form the right-edge set.
- The fourth set should turn down at the left edge to form the left set.
- The bottom stripe should be straight and cut across over the side sets.

In table cell A, (first cell in the first row):

- Three sets of horizontal aqua-backed double violet stripes should run just inside the top border edge.
- The first set should run across.
- The second set should turn down at the left edge, going over the third set to form another set that runs just inside the left border edge.

In table cell D, (last cell in the first row):

- Two sets of horizontal aqua-backed double violet strips should run just inside the top border edge.
- The first set should turn down at the right edge, going under the second horizontal set to run vertically just inside the right border edge.

In table cell G, (third cell in the second row):

- Two sets of horizontal aqua-backed double violet stripes should run just inside the top border edge.
- A set of vertical stripes should run down just inside the left border edge, going under both horizontal stripes.
- Another set of vertical stripes should run down just inside the right border edge, also going under both horizontal stripes.

next
  Background Layers: empty-cells: show
previous
  Background Position: Background on 'table-cell'
contents
  Table of Contents

With 'border-collapse: separate'
TH A | TH B |  | TH D
--- | --- | --- | ---
TD M | TD O | TD P
TD E | TD F | TD G | TD H
TD J | TD K | TD L

With 'border-collapse: collapse'
TH A | TH B |  | TH D
--- | --- | --- | ---
TD M | TD O | TD P
TD E | TD F | TD G | TD H
TD J | TD K | TD L