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

Unified Diff: LayoutTests/fast/multicol/balance-trailing-border2.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
Index: LayoutTests/fast/multicol/balance-trailing-border2.html
diff --git a/LayoutTests/fast/multicol/balance-trailing-border2.html b/LayoutTests/fast/multicol/balance-trailing-border2.html
new file mode 100644
index 0000000000000000000000000000000000000000..a0ee6f9b791bbfde315ba421f0cf515932931429
--- /dev/null
+++ b/LayoutTests/fast/multicol/balance-trailing-border2.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../resources/js-test.js"></script>
+<script>
+ description("Tests that the bottom border at a column boundary in a block that lives in multiple columns is recorded properly for balancing");
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+</script>
+<p>There should be no space between the short black line and the long gray one.</p>
+<div id="mc" style="-webkit-columns:3; columns:3; line-height:21px; orphans:1; widows:1; border-bottom:3px solid gray;">
+ <div style="height:9px;"></div>
+ <div style="border-bottom:3px solid black;">
+ <br><br><br><br><br><br><br><br>
+ </div>
+</div>
+<script>
+ shouldBe("mc.offsetHeight", "69");
+</script>

Powered by Google App Engine
This is Rietveld 408576698