summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/fixedpos-007-print.html
blob: 8dcb700b96d89c508f9e6696292c79a382a472a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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=1399456">
<link rel="match" href="fixedpos-007-print-ref.html">
<style>
  body { margin: 0; }
</style>
<div style="margin-top:4em;">
  There should be three pages.
</div>
<div style="position:absolute; top:50vh;">
  <div style="height:250vh;"></div>
  <div style="position:fixed; top:0;">
    This should be repeated on every page.
  </div>
</div>
<div style="position:fixed; top:2em;">
  This should also be repeated on every page.
</div>