chromium/third_party/blink/web_tests/printing/thead-tfoot-in-one-page.html

<!DOCTYPE html>
<style>
  body {
    font-size: 15px;
    line-height: 20px;
  }
</style>
<script>
  if (window.testRunner)
    testRunner.setPrinting();
</script>
<table>
  <thead><tr><th>Header</th></tr></thead>
  <tbody>
    <tr><td>1</td></tr><tr>
    <tr><td>2</td></tr><tr>
    <tr><td>3</td></tr><tr>
    <tr><td>4</td></tr><tr>
    <tr><td>5</td></tr><tr>
    <tr><td>6</td></tr><tr>
  </tbody>
  <tfoot><tr><th>Footer</th></tr></tfoot>
</table>