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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 3 <html lang="en">
4 <head> 4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <title>CSS3 Multi-column Layout: Single line test</title> 6 <title>CSS3 Multi-column Layout: Single line test</title>
7 <script>
8 if (window.internals)
9 internals.settings.setRegionBasedColumnsEnabled(true);
10 </script>
7 <style type="text/css"> 11 <style type="text/css">
8 .multicol { 12 .multicol {
9 -webkit-columns: 4; 13 -webkit-columns: 4;
10 -webkit-column-rule: #bbb 1px solid; 14 -webkit-column-rule: #bbb 1px solid;
11 background-color: #eee; 15 background-color: #eee;
12 } 16 }
13 p, div { 17 p, div {
14 margin-top: 1em; 18 margin: 1em; /* Using horizontal margins here as a work-around for glyph s with negative
15 margin-bottom: 1em; 19 bearings. The old multicol implementation has buggy clip ping. */
16 } 20 }
17 .large { 21 .large {
18 font-size: 30px; 22 font-size: 30px;
19 } 23 }
20 </style> 24 </style>
21 </head> 25 </head>
22 <body> 26 <body>
23 <p> 27 <p>
24 This test checks if CSS3 multi-column layout properly works 28 This test checks if CSS3 multi-column layout properly works
25 when the multi-column block contains only one line of text. 29 when the multi-column block contains only one line of text.
(...skipping 12 matching lines...) Expand all
38 Partially <span class="large">big</span> text. 42 Partially <span class="large">big</span> text.
39 </p> 43 </p>
40 <div class="multicol"> 44 <div class="multicol">
41 <p>Nested block.</p> 45 <p>Nested block.</p>
42 </div> 46 </div>
43 <div> 47 <div>
44 <p class="multicol">Nested block #2.</p> 48 <p class="multicol">Nested block #2.</p>
45 </div> 49 </div>
46 </body> 50 </body>
47 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698