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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/widows-and-orphans.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Testing Widows and Orphans</title> 4 <title>Testing Widows and Orphans</title>
5 <style> 5 <style>
6 body.hide-containers .container { 6 body.hide-containers .container {
7 display: none; 7 display: none;
8 } 8 }
9 9
10 .container { 10 .container {
11 width: 600px; 11 width: 600px;
12 height: 200px; 12 height: 200px;
13 -webkit-columns: 3; 13 -webkit-columns: 3;
14 columns: 3; 14 columns: 3;
15 column-fill: auto; 15 column-fill: auto;
16 line-height: 20px; /* 10 lines per page */ 16 line-height: 20px; /* 10 lines per page */
17 font-size: 16px; 17 font-size: 16px;
18 margin: 0 0 20px 0; 18 margin: 0 0 20px 0;
19 padding: 0; 19 padding: 0;
20 overflow: hidden; 20 overflow: hidden;
21 orphans: 1;
22 widows: 1;
21 } 23 }
22 24
23 .block { 25 .block {
24 margin: 0 0 15px 0; 26 margin: 0 0 15px 0;
25 padding: 0; 27 padding: 0;
26 } 28 }
27 29
28 .top { 30 .top {
29 color: red; 31 color: red;
30 } 32 }
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 </script> 199 </script>
198 </head> 200 </head>
199 <body> 201 <body>
200 <p> 202 <p>
201 Testing widows and orphans. Any green lines 203 Testing widows and orphans. Any green lines
202 should be at the bottom of pages/columns, and any red lines 204 should be at the bottom of pages/columns, and any red lines
203 should be at the top of pages/columns. 205 should be at the top of pages/columns.
204 </p> 206 </p>
205 </body> 207 </body>
206 </html> 208 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698