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

Side by Side Diff: LayoutTests/fast/multicol/balance-short-trailing-empty-block.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 | « no previous file | LayoutTests/fast/multicol/balance-trailing-border.html » ('j') | 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>
4 if (window.internals)
5 internals.settings.setRegionBasedColumnsEnabled(true);
6 </script>
7 <p>Both words below should be in the the right column.</p> 3 <p>Both words below should be in the the right column.</p>
8 <div id="console"></div> 4 <div id="console"></div>
9 <div id="mc" style="-webkit-columns:2; columns:2; orphans:1; widows:1; -webkit-c olumn-rule:1px solid; column-rule:1px solid; background:olive;"> 5 <div id="mc" style="-webkit-columns:2; columns:2; orphans:1; widows:1; -webkit-c olumn-rule:1px solid; column-rule:1px solid; background:olive;">
10 <div style="height:120px;"></div> 6 <div style="height:120px;"></div>
11 <div style="line-height:80px;">right<br>column</div> 7 <div style="line-height:80px;">right<br>column</div>
12 <div style="height:30px;"></div> 8 <div style="height:30px;"></div>
13 </div> 9 </div>
14 <script> 10 <script>
15 description("Tests that a block a column boundary is recorded properly for b alancing"); 11 description("Tests that a block a column boundary is recorded properly for b alancing");
16 shouldBe("mc.offsetHeight", "190"); 12 shouldBe("mc.offsetHeight", "190");
17 </script> 13 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/balance-trailing-border.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698