summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html
blob: f576c9377153c3e48ce58d8fcd5428da0d705b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  body { margin: 0; }
</style>
<div style="margin-top:4em;">
  There should be three pages.
</div>
<div style="position:absolute; top:0;">
  This should be repeated on every page.
</div>
<div style="position:absolute; top:100vh;">
  This should be repeated on every page.
</div>
<div style="position:absolute; top:200vh;">
  This should be repeated on every page.
</div>
<div style="position:absolute; top:0; margin-top:2em;">
  This should also be repeated on every page.
</div>
<div style="position:absolute; top:100vh; margin-top:2em;">
  This should also be repeated on every page.
</div>
<div style="position:absolute; top:200vh; margin-top:2em;">
  This should also be repeated on every page.
</div>