https://drafts.csswg.org/css-tables-3/#repeated-headers suggests that we should decide on each page individually, skipping repeated footers and headers (in that order) on just the pages where a content row wouldn't fit if we included the header and footer.
Comment 1 by robhogan@chromium.org
, Dec 20 2016