summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html')
-rw-r--r--testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html b/testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html
new file mode 100644
index 0000000000..3e3fb82628
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/zero-height-page-break-001-print.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <title>Zero height box immediately after a forced page-break</title>
+ <link rel="author" title="Emily McDonough" href="mailto:emcdonough@mozilla.com"/>
+ <link rel="match" href="zero-height-page-break-001-print-ref.html"/>
+ <link rel="help" href="https://www.w3.org/TR/css-break-3/#page-break-values"/>
+ <meta name="assert" content="Ensures that a zero-height frame after a forced page-break appears on the following page."/>
+ <!-- This will cause a failure of there is only one page, regardless of matching the ref -->
+ <meta name="reftest-pages" content="1,2"/>
+ <body>
+ <div style="break-after: page; height: 100%">Page 1</div>
+ <div></div>
+ </body>
+</html>