summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html')
-rw-r--r--testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html b/testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html
new file mode 100644
index 0000000000..f576c93771
--- /dev/null
+++ b/testing/web-platform/tests/css/printing/fixedpos-007-print-ref.html
@@ -0,0 +1,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>