<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <script src="../../../dist/paged.polyfill.js"></script>
    <style>
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid gray; }
th { background: gray; }
    </style>
  </head>

  <body>
    <table>
      <thead>
        <th>A</th>
        <th>B</th>
      </thead>

      <tbody>
        <script>
          // Make a table big enough so that the THEAD of the next table
          // should be split.
          for (var i =