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

Side by Side Diff: LayoutTests/fast/multicol/balance-short-trailing-empty-block.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: ... aaand, better expect the test to pass, now that it's actually fixed, hm? :-P 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 description("Tests that a block a column boundary is recorded properly for b alancing");
5 if (window.internals)
6 internals.settings.setRegionBasedColumnsEnabled(true);
7 </script>
8 <p>Both words below should be in the the right column.</p>
Julien - ping for review 2014/05/09 18:23:53 Nit: Add a <div id="console"> after this so that t
mstensho (USE GERRIT) 2014/05/10 16:28:22 Done. Had to move description() down to make it wo
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;">
10 <div style="height:120px;"></div>
11 <div style="line-height:80px;">right<br>column</div>
12 <div style="height:30px;"></div>
13 </div>
14 <script>
15 shouldBe("mc.offsetHeight", "190");
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698