summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html')
-rw-r--r--testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html b/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html
new file mode 100644
index 0000000000..c8ce9060ff
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/monolithic-overflow-017-print.html
@@ -0,0 +1,15 @@
+<!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=1402540">
+<link rel="match" href="monolithic-overflow-017-print-ref.html">
+<style>
+ body { margin: 0; }
+</style>
+<div style="display:table; width:100%; line-height:20px;">
+ <div style="display:table-footer-group; break-inside:avoid; background:hotpink;">footer</div>
+ <!-- Monolithic content that ends 5px above the table footer on the third page. -->
+ <div style="contain:size; height:calc(300vh - 25px); background:black;"></div>
+ PASS
+</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.