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

Unified Diff: third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow-expected.html

Issue 1762983002: Only honor break-* values when appropriate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update some unit tests too Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow-expected.html b/third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e56f3295d1e2e02b0a6c7ef529b9ee2a1fbdba3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow-expected.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<style>
+ .container {
+ overflow-x: auto;
+ float: left;
+ width: 5em;
+ height: 5em;
+ line-height: 2em;
+ margin: 2px;
+ border: 1px solid hotpink;
+ }
+ .filler { width:200%; height:1px; }
+</style>
+<p>There should be 7 boxes below. Each should contain the word "PASS"
+ once, and no "FAIL". Scrollbars may or may not be present. The
+ exact position of the word "PASS" will vary from box to box.</p>
+<div class="container">
+ <div>PASS<br></div>
+ <div class="filler"></div>
+</div>
+<div class="container">
+ <div style="break-after:page;">PASS<br></div>
+ <div class="filler"></div>
+</div>
+<div class="container">
+ <br>PASS
+</div>
+<div class="container">
+ <br>PASS
+</div>
+<div class="container">
+ PASS<br>
+ <div class="filler"></div>
+</div>
+<div class="container">
+ PASS<br>
+ <div class="filler"></div>
+</div>
+<div class="container">
+ <br>
+ PASS<br>
+ <div class="filler"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698