<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-page-3/#page-based-counters">
<meta name="assert" content="Resetting or incrementing counters in margins obscure counters in the page context, and in the document">
<link rel="match" href="content-012-print-ref.html">
<style>
  html {
    counter-reset: foo 10;
  }
  @page {
    margin: 4em;
    counter-reset: foo 5;
    counter-increment: foo;

    @top-left 