<!DOCTYPE html>
<html>
<head>
  <title>[ 647900 ] tables are incorrectly merged</title>
</head>
<body>
  <table summary="Paragraph should follow table, not precede.">
    <tr>
      <td>Table data</td>
    </tr>
  </table>
  <p>A paragraph</p>
  <table summary="Same again.">
    <tr>
      <th>Foo</th>
    </tr>
    <tr>
      <td>
        <table summary="Nested">
          <tr>
            <td>Foo</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <p>Another paragraph</p>
  <form action="foo.cgi">
    <table summary="Bad form">
      <tr>
        <td>Input: <input type="text"
               name="foo"></td>
        <td></td>
      </tr>
    </table>
    <p>Yet another paragraph</p>
  </form>
</body>
</html>