summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html b/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html
new file mode 100644
index 0000000000..45f839787e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print-ref.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<style>
+ body { margin: 0; }
+</style>
+<div style="line-height:20px;">
+ <div style="position:absolute; width:100%; bottom:0; background:hotpink;">footer</div>
+ <div style="position:absolute; width:100%; bottom:-100vh; background:hotpink;">footer</div>
+ <div style="position:absolute; width:100%; bottom:-200vh; background:hotpink;">footer</div>
+ <div style="height:calc(300vh - 25px); background:black;"></div>
+ <div style="break-before:page;">PASS</div>
+ <div style="background:hotpink;">
+ footer
+ </div>
+</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.<br>