<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">

<style>
  table {
    border-spacing: 0;
    margin: 1em;
  }
  td {
    width: 1em;
    height: 1em;
    border: solid gray;
  }

  .navy { background: navy}
  .blue { background: blue }
  .aqua { background: aqua }
  .teal { background: teal }
  .purp { background: purple }
  .pink { background: fuchsia }
  .yllw { background: yellow }
  .orng { background: orange }
  caption { background: green; }
</style>

<p>Test passes if the following three tables look identical.

<table>
  <caption></caption>
  <tr>
    <td class="teal">
    <td rowspan="3">
    <td colspan="2" rowspan="2">
    <td class="purp">
    <td rowspan="2">
  <tr>
    <td class="aqua">
    <td rowspan="2">
  <tr>
    <td rowspan="2">
    <td class="yllw">
    <td class="pink">
    <td class="blue">

  <tr>
    <td class="orng">
    <td colspan="3">
    <td class="navy">
</table>

<table>
  <tr>
    <td class="teal">
    <td rowspan="3">
    <td colspan="2" rowspan="2">
    <td class="purp">
    <td rowspan="2">
  <tr>
    <td class="aqua">
    <td rowspan="2">
  <tr>
    <td rowspan="2">
    <td class="yllw">
    <td class="pink">
    <td class="blue">

  <tr>
    <td class="orng">
    <td colspan="3">
    <td class="navy">
</table>

<table>
  <tr>
    <td class="teal">
    <td rowspan="3">
    <td colspan="2" rowspan="2">
    <td class="purp">
    <td rowspan="2">
  <tr>
    <td class="aqua">
    <td rowspan="2">
  <tr>
    <td rowspan="2">
    <td class="yllw">
    <td class="pink">
    <td class="blue">

  <tr>
    <td class="orng">
    <td colspan="3">
    <td class="navy">
</table>
