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

Side by Side Diff: LayoutTests/fast/multicol/balance-unbreakable.html

Issue 261383004: [New Multicolumn] Improve balancing for border/padding and empty block content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 if (window.internals)
7 internals.settings.setRegionBasedColumnsEnabled(true);
8 </script>
9 <style>
10 #mc > * { visibility:hidden; }
11 </style>
12 <p>There should be a <em>square</em> below.</p>
13 <div id="mc" style="-webkit-columns:3; columns:3; width:7em; float:left; orphans :1; widows:1; background:olive;">
14 <div style="line-height:4em;">line</div>
15 <div style="line-height:8em;">line</div>
16 <img alt="x" style="display:block; height:2em;">
17 <div style="line-height:4em;">line</div>
18 <div style="line-height:10em;">line</div>
19 <div style="line-height:2em;">line</div>
20 <div style="line-height:6em;">line</div>
21 </div>
22 <div style="float:left; width:7em; height:14em; background:olive;"></div>
23 <script>
24 shouldBe("mc.offsetHeight", "224");
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698