Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination.html

Issue 2747623002: Avoid clearing a page's layout overflow after paginated layout (Closed)
Patch Set: bug 664235 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/printing/respect-layout-overflow-from-pagination-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698