<p id="rfc.section..p.1">Table Tester </p>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left">C1</th>
      <th class="left">C2</th>
      <th class="left">C3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">12</td>
      <td class="left">12</td>
      <td class="left">12</td>
    </tr>
  </tbody>
</table>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left">C1</th>
      <th class="left">C2</th>
      <th class="left">C3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">12</td>
      <td class="left">12</td>
      <td class="left">12</td>
    </tr>
  </tbody>
</table>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left">C1</th>
      <th class="left">C2</th>
      <th class="left">C3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">12</td>
      <td class="left">12</td>
      <td class="left">12</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.2">Test #1 - table_max_chars == sum(longest_words)</p>

<table cellpadding="3" cellspacing="0" class="tt none right">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">12345678901</td>
      <td class="left">12345678901</td>
      <td class="left">12345678901</td>
      <td class="left">1234567890</td>
      <td class="left">1234567890</td>
      <td class="left">12345678901</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.3">Test #2 - table_max_chars == sum(inf)</p>

<table cellpadding="3" cellspacing="0" class="tt none center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">12</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
    </tr>
    <tr>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
      <td class="left">1</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.4">Test #3 - table_max_chars &lt; sum(longest_words) </p>

<table cellpadding="3" cellspacing="0" class="tt full left">
  <caption>Steal from columns with % and em widths</caption>
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
    </tr>
  </tbody>
</table>

<table cellpadding="3" cellspacing="0" class="tt full left">
  <caption>Steal from relative widths</caption>
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
    </tr>
  </tbody>
</table>

<table cellpadding="3" cellspacing="0" class="tt full left">
  <caption>Steam from unspecified widths</caption>
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
      <td class="left">123456789012</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.5">Test #4 - table_max_chars &gt;= sum(ttcol_widths)</p>

<table cellpadding="3" cellspacing="0" class="tt all center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 5678</td>
      <td class="left">123 5678</td>
      <td class="left">123 5678</td>
      <td class="left">123 5678</td>
      <td class="left">123 5678</td>
      <td class="left">123 5678</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.6">table_max_chars &gt; sum(mnsc) </p>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 567890 2345</td>
      <td class="left">123 567890 234</td>
      <td class="left">123 567890 234</td>
      <td class="left">123 567890 234</td>
      <td class="left">123 567890 234</td>
      <td class="left">123 567890 234</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.7">Test #6 - table_max_chars == sum(mnsc)</p>

<table cellpadding="3" cellspacing="0" class="tt none center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 5678901</td>
      <td class="left">123 5678901</td>
      <td class="left">123 5678901</td>
      <td class="left">123 567890</td>
      <td class="left">123 567890</td>
      <td class="left">123 56789</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.8">Test #7 table_max_chars &gt; sum(mnsb) </p>

<table cellpadding="3" cellspacing="0" class="tt headers center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 5678901</td>
      <td class="left">123 5678901</td>
      <td class="left">123 5678901</td>
      <td class="left">123 567890</td>
      <td class="left">123 567890</td>
      <td class="left">123 567890</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.9">Test #8 table_max_chars == sum(mnsb)</p>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.10">Test #9 table_max_chars &gt; sum(mnsa)</p>

<table cellpadding="3" cellspacing="0" class="tt all center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123456789 0123456</td>
      <td class="left">1234567890 23456</td>
      <td class="left">123 567890 23456</td>
    </tr>
  </tbody>
</table>

<table cellpadding="3" cellspacing="0" class="tt full center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 5678901 3456</td>
    </tr>
  </tbody>
</table>

<p id="rfc.section..p.11">Grow from max words to requested lengths</p>

<table cellpadding="3" cellspacing="0" class="tt all center">
  <thead>
    <tr>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
      <th class="left"/>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
      <td class="left">123 567890 23456</td>
    </tr>
  </tbody>
</table>
