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

Side by Side Diff: LayoutTests/fast/multicol/widows2.html

Issue 341103002: [New Multicolumn] Remove unnecessary calls to setRegionBasedColumnsEnabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/multicol/widows.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <script> 3 <script>
4 description("Test column balancer behavior when widows requirements are high , and there are so many lines that there's no need for early breaks to honor wid ows"); 4 description("Test column balancer behavior when widows requirements are high , and there are so many lines that there's no need for early breaks to honor wid ows");
5 if (window.internals)
6 internals.settings.setRegionBasedColumnsEnabled(true);
7 </script> 5 </script>
8 <p>There should be 6 lines in the first column, 5 in the second and 5 in the las t one.</p> 6 <p>There should be 6 lines in the first column, 5 in the second and 5 in the las t one.</p>
9 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; lin e-height:50px;"> 7 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; lin e-height:50px;">
10 <div style="orphans:1; widows:5;"> 8 <div style="orphans:1; widows:5;">
11 line<br> 9 line<br>
12 line<br> 10 line<br>
13 line<br> 11 line<br>
14 line<br> 12 line<br>
15 line<br> 13 line<br>
16 line<br> 14 line<br>
17 line<br> 15 line<br>
18 line<br> 16 line<br>
19 line<br> 17 line<br>
20 line<br> 18 line<br>
21 line<br> 19 line<br>
22 line<br> 20 line<br>
23 line<br> 21 line<br>
24 line<br> 22 line<br>
25 line<br> 23 line<br>
26 line<br> 24 line<br>
27 </div> 25 </div>
28 </div> 26 </div>
29 <script> 27 <script>
30 shouldBe("mc.offsetHeight", "300"); 28 shouldBe("mc.offsetHeight", "300");
31 </script> 29 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/widows.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698