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

Unified Diff: LayoutTests/fast/multicol/newmulticol/single-line.html

Issue 16943008: Column balancing support in the region based multicol implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/single-line.html
diff --git a/LayoutTests/fast/multicol/single-line.html b/LayoutTests/fast/multicol/newmulticol/single-line.html
similarity index 79%
copy from LayoutTests/fast/multicol/single-line.html
copy to LayoutTests/fast/multicol/newmulticol/single-line.html
index 0a41f93bfdfa3a7b14095bbbf134d3efe066fad2..8d1b8be4eb98021b53f7535ce21220da0eb502aa 100644
--- a/LayoutTests/fast/multicol/single-line.html
+++ b/LayoutTests/fast/multicol/newmulticol/single-line.html
@@ -4,6 +4,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CSS3 Multi-column Layout: Single line test</title>
+ <script>
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
<style type="text/css">
.multicol {
-webkit-columns: 4;
@@ -11,8 +15,8 @@
background-color: #eee;
}
p, div {
- margin-top: 1em;
- margin-bottom: 1em;
+ margin: 1em; /* Using horizontal margins here as a work-around for glyphs with negative
+ bearings. The old multicol implementation has buggy clipping. */
}
.large {
font-size: 30px;

Powered by Google App Engine
This is Rietveld 408576698