Chromium Code Reviews| Index: LayoutTests/fast/multicol/balance-short-trailing-empty-block.html |
| diff --git a/LayoutTests/fast/multicol/balance-short-trailing-empty-block.html b/LayoutTests/fast/multicol/balance-short-trailing-empty-block.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..15d1956ee044a2c207c4dd0d4e3a5fdb26299971 |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/balance-short-trailing-empty-block.html |
| @@ -0,0 +1,16 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/js-test.js"></script> |
| +<script> |
| + description("Tests that a block a column boundary is recorded properly for balancing"); |
| + if (window.internals) |
| + internals.settings.setRegionBasedColumnsEnabled(true); |
| +</script> |
| +<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
|
| +<div id="mc" style="-webkit-columns:2; columns:2; orphans:1; widows:1; -webkit-column-rule:1px solid; column-rule:1px solid; background:olive;"> |
| + <div style="height:120px;"></div> |
| + <div style="line-height:80px;">right<br>column</div> |
| + <div style="height:30px;"></div> |
| +</div> |
| +<script> |
| + shouldBe("mc.offsetHeight", "190"); |
| +</script> |