Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-page/fixedpos-005-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="fixedpos-005-print-ref.html">
<style>
body { margin: 0; }
</style>
<div style="height:300vh;">
There should be five pages.
</div>
<div style="position:fixed; bottom:2em;">
This should repeat on every page.
</div>
<div style="position:absolute; top:100vh;">
This should be on the second page.
<div style="position:fixed; bottom:0;">
This should also repeat on every page.
</div>
<div style="position:absolute; top:300vh;">
This should be on the fifth page.
</div>
</div>