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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow.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, 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .container {
4 overflow: -webkit-paged-x;
5 float: left;
6 width: 5em;
7 height: 5em;
8 line-height: 2em;
9 margin: 2px;
10 border: 1px solid hotpink;
11 column-gap: 0; /* See crbug.com/460106 */
12 }
13 </style>
14 <p>There should be 7 boxes below. Each should contain the word "PASS"
15 once, and no "FAIL". Scrollbars may or may not be present. The
16 exact position of the word "PASS" will vary from box to box.</p>
17 <div class="container">
18 <div>PASS<br></div>
19 <div style="break-before:page;">FAIL</div>
20 </div>
21 <div class="container">
22 <div style="break-after:page;">PASS<br></div>
23 <div>FAIL</div>
24 </div>
25 <div class="container">
26 <div style="break-after:column;"><br></div> <!-- declaration should have no effect -->
27 <div>PASS</div>
28 </div>
29 <div class="container">
30 <div><br></div>
31 <div style="break-before:column;">PASS</div> <!-- declaration should have no effect -->
32 </div>
33 <div class="container">
34 PASS<br>
35 <div style="break-inside:avoid;">
36 FAIL<br>
37 FAIL<br>
38 </div>
39 </div>
40 <div class="container">
41 PASS<br>
42 <div style="break-inside:avoid-page;">
43 FAIL<br>
44 FAIL<br>
45 </div>
46 </div>
47 <div class="container">
48 <br>
49 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff ect -->
50 PASS<br>
51 <br>
52 </div>
53 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698