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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/pagination/break-in-paged-overflow.html

Issue 1909233002: Spec-compliant parsing and initial values for 'orphans' and 'widows'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some unit tests had non-conformant widphans assumptions too. Created 4 years, 8 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 .container { 3 .container {
4 overflow: -webkit-paged-x; 4 overflow: -webkit-paged-x;
5 float: left; 5 float: left;
6 width: 5em; 6 width: 5em;
7 height: 5em; 7 height: 5em;
8 line-height: 2em; 8 line-height: 2em;
9 margin: 2px; 9 margin: 2px;
10 border: 1px solid hotpink; 10 border: 1px solid hotpink;
11 column-gap: 0; /* See crbug.com/460106 */ 11 column-gap: 0; /* See crbug.com/460106 */
12 orphans: 1;
13 widows: 1;
12 } 14 }
13 </style> 15 </style>
14 <p>There should be 7 boxes below. Each should contain the word "PASS" 16 <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 17 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> 18 exact position of the word "PASS" will vary from box to box.</p>
17 <div class="container"> 19 <div class="container">
18 <div>PASS<br></div> 20 <div>PASS<br></div>
19 <div style="break-before:page;">FAIL</div> 21 <div style="break-before:page;">FAIL</div>
20 </div> 22 </div>
21 <div class="container"> 23 <div class="container">
(...skipping 22 matching lines...) Expand all
44 FAIL<br> 46 FAIL<br>
45 </div> 47 </div>
46 </div> 48 </div>
47 <div class="container"> 49 <div class="container">
48 <br> 50 <br>
49 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff ect --> 51 <div style="break-inside:avoid-column;"> <!-- declaration should have no eff ect -->
50 PASS<br> 52 PASS<br>
51 <br> 53 <br>
52 </div> 54 </div>
53 </div> 55 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698