Index: third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination.html |
diff --git a/third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination.html b/third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0a3cd9712a2f936ea639ae849d53fe04efadfece |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ testRunner.setPrinting(); |
+</script> |
+<style> |
+ .carddiv { break-before:page; width:200px; height:200px; border:1px solid; background:hotpink;} |
+ @media print { #container { width: 105%; } } |
+</style> |
+<p>When printed, there should be a square at the top of each page, except for this page.</p> |
+<div id="container"> |
+ <div class="carddiv">Top of page?</div> |
+ <div class="carddiv">Top of page?</div> |
+ <div class="carddiv">Top of page?</div> |
+ <div class="carddiv">Top of page?</div> |
+ <div class="carddiv">Top of page?</div> |
+ <div class="carddiv">Top of page?</div> |
+</div> |