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

Unified Diff: LayoutTests/fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html

Issue 143383002: Region based multicol: support explicit column breaks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review. Created 6 years, 10 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/newmulticol/breaks-2-columns-3-no-balancing.html
diff --git a/LayoutTests/fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html b/LayoutTests/fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html
new file mode 100644
index 0000000000000000000000000000000000000000..fc1571d0bb6e74bee5a9bafaab3244a79e286961
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>multicol with break</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ <style>
+ .mc > div { padding:0 0.5em; }
+ </style>
+ </head>
+ <body style="min-width:40em;">
+ <div class="mc" style="-webkit-columns:3; -webkit-column-gap:0; -webkit-column-fill:auto; columns:3; column-gap:0; column-fill:auto; orphans:1; widows:1; width:24em; height:10em; line-height:2em; background:olive;">
+ <div style="-webkit-column-break-after:always; break-after:column;">
+ first column<br>
+ first column<br>
+ first column<br>
+ first column<br>
+ first column<br>
+ second column<br>
+ </div>
+ <div style="-webkit-column-break-after:always; break-after:column;">
+ third column<br>
+ </div>
+ <div>
+ fourth column<br>
+ fourth column<br>
+ fourth column<br>
+ fourth column<br>
+ fourth column<br>
+ fifth column<br>
+ </div>
+ </div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698