summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/overflowing-block-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-break/overflowing-block-print.html')
-rw-r--r--testing/web-platform/tests/css/css-break/overflowing-block-print.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/overflowing-block-print.html b/testing/web-platform/tests/css/css-break/overflowing-block-print.html
new file mode 100644
index 0000000000..daa9e24f33
--- /dev/null
+++ b/testing/web-platform/tests/css/css-break/overflowing-block-print.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<title>
+ Overflowing content does not affect whether a fixed-height box fits on a page,
+ but does get printed on the next page.
+</title>
+<meta name="flags" content="may">
+<link rel="match" href="overflowing-block-print-ref.html">
+<link rel="help" href="https://www.w3.org/TR/css-break-3/#parallel-flows">
+<style>
+ * {
+ box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+ height: 100%;
+ }
+ body {
+ border: solid orange 10px;
+ padding: 10px;
+ }
+ div {
+ border: solid gray 10px;
+ height: 300%;
+ }
+</style>
+<div></div>