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

Side by Side Diff: LayoutTests/fast/multicol/balance-unbreakable.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 <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>There should be a <em>square</em> with some stuff inside below.</p> 3 <p>There should be a <em>square</em> with some stuff inside below.</p>
8 <div id="console"></div> 4 <div id="console"></div>
9 <div id="mc" style="-webkit-columns:3; columns:3; width:7em; float:left; orphans :1; widows:1; background:olive;"> 5 <div id="mc" style="-webkit-columns:3; columns:3; width:7em; float:left; orphans :1; widows:1; background:olive;">
10 <div style="line-height:4em;">line</div> 6 <div style="line-height:4em;">line</div>
11 <div style="line-height:8em;">line</div> 7 <div style="line-height:8em;">line</div>
12 <img alt="x" style="display:block; height:2em;"> 8 <img alt="x" style="display:block; height:2em;">
13 <div style="line-height:4em;">line</div> 9 <div style="line-height:4em;">line</div>
14 <div style="line-height:10em;">line</div> 10 <div style="line-height:10em;">line</div>
15 <div style="line-height:2em;">line</div> 11 <div style="line-height:2em;">line</div>
16 <div style="line-height:6em;">line</div> 12 <div style="line-height:6em;">line</div>
17 </div> 13 </div>
18 <div style="float:left; width:7em; height:14em; background:olive;"></div> 14 <div style="float:left; width:7em; height:14em; background:olive;"></div>
19 <script> 15 <script>
20 description("Tests that an image at a column boundary is recorded properly f or balancing"); 16 description("Tests that an image at a column boundary is recorded properly f or balancing");
21 shouldBe("mc.offsetHeight", "224"); 17 shouldBe("mc.offsetHeight", "224");
22 </script> 18 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/balance-trailing-border2.html ('k') | LayoutTests/fast/multicol/break-in-scrollable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698