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

Unified 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: Address code review issues raised together with lgtm 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/balance-short-trailing-empty-block-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..97eac38cd97bd9062d59e0d8b1db0e4613bb6cd4
--- /dev/null
+++ b/LayoutTests/fast/multicol/balance-short-trailing-empty-block.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+</script>
+<p>Both words below should be in the the right column.</p>
+<div id="console"></div>
+<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>
+ description("Tests that a block a column boundary is recorded properly for balancing");
+ shouldBe("mc.offsetHeight", "190");
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/balance-short-trailing-empty-block-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698