summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html
blob: c8ce9060fffcee8a79f265e1182e0c0cd9c2e7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1402540">
<link rel="match" href="monolithic-overflow-017-print-ref.html">
<style>
  body { margin: 0; }
</style>
<div style="display:table; width:100%; line-height:20px;">
  <div style="display:table-footer-group; break-inside:avoid; background:hotpink;">footer</div>
  <!-- Monolithic content that ends 5px above the table footer on the third page. -->
  <div style="contain:size; height:calc(300vh - 25px); background:black;"></div>
  PASS
</div>
There should be a footer on every page, and the word PASS should be seen here,
on the fourth page, just above the final footer.