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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/orphans-and-widows-balance.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Orphans and widows in auto-height multicol</title> 4 <title>Orphans and widows in auto-height multicol</title>
5 <script src="../../../resources/js-test.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 if (window.internals)
10 internals.settings.setRegionBasedColumnsEnabled(true);
11 </script> 9 </script>
12 </head> 10 </head>
13 <body> 11 <body>
14 <p>There should be two identical boxes below.</p> 12 <p>There should be two identical boxes below.</p>
15 <div id="mc" style="-webkit-columns:4; columns:4; orphans:4; widows:4; color :olive; background:olive;"> 13 <div id="mc" style="-webkit-columns:4; columns:4; orphans:4; widows:4; color :olive; background:olive;">
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 </div> 18 </div>
21 <div id="ref" style="margin-top:1em; color:olive; background:olive;"> 19 <div id="ref" style="margin-top:1em; color:olive; background:olive;">
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 </div> 24 </div>
27 <script> 25 <script>
28 shouldBe("mc.offsetHeight", "ref.offsetHeight"); 26 shouldBe("mc.offsetHeight", "ref.offsetHeight");
29 </script> 27 </script>
30 </body> 28 </body>
31 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698