Index: LayoutTests/fast/multicol/vertical-rl/balancing/balance-short-trailing-empty-block.html |
diff --git a/LayoutTests/fast/multicol/vertical-rl/balancing/balance-short-trailing-empty-block.html b/LayoutTests/fast/multicol/vertical-rl/balancing/balance-short-trailing-empty-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7eedbde2552131333b47c59816b467a957a00a29 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/vertical-rl/balancing/balance-short-trailing-empty-block.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script src="../../../../resources/js-test.js"></script> |
+<p>Both words below should be in the the right column.</p> |
+<div id="console"></div> |
+<div id="mc" style="-webkit-writing-mode:vertical-rl; -webkit-columns:2; columns:2; orphans:1; widows:1; -webkit-column-rule:1px solid; column-rule:1px solid; background:olive;"> |
+ <div style="width:120px;"></div> |
+ <div style="line-height:80px;">second<br>column</div> |
+ <div style="width:30px;"></div> |
+</div> |
+<script> |
+ description("Tests if a block crossing a column boundary is recorded properly for balancing"); |
+ shouldBe("mc.offsetWidth", "190"); |
+</script> |