chromium/third_party/blink/web_tests/printing/absolute-positioned-page-header-expected.html

<!DOCTYPE html>
<script>
  if (window.testRunner)
    testRunner.setPrinting();
</script>
<style>
  body {
    margin: 0;
  }
  .header {
    break-before: page;
  }
</style>
<p style="position:absolute; margin-top:4em;">
  When printed, each page should have a header indicating the page number.
</p>
<div class="header">Page 1</div>
<div class="header">Page 2</div>
<div class="header">Page 3</div>
<div class="header">Page 4</div>
<div class="header">Page 5</div>