1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>multicolumn | column-fill</title>
5 <meta name="assert" content="This test checks that columns are properly balanced when 'column-fill: balance' is set">
6 <link rel="author" title="howcome@opera.com" href="http://www.opera.com/">
7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#filling-columns">
8 <link rel="match" href="reference/multicol-fill-balance-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <style type="text/css">
11 body>div {
12 font-family: ahem;
13 font-size: 1.25em;
14 line-height: 1em;
15 color: green;
16 height: 3em;
17 width: 2em;
18 orphans: 1;
19 widows: 1;
20 position: relative;
21 margin: 1em;
22 }
23 div.col {
24 column-count: 2;
25 column-fill: balance;
26 column-gap: 0;
27 }
28 div.red {
29 background: red; position: absolute; z-index: -1;
30 }
31 </style>
32 </head>
33
34 <body>
35
36 <div class="col">
37 <div class="red" style="top: 0; left: 0; height: 2em; width: 2em;"></div>
38 o<br>t<br>
39 o<br>t<br>
40 </div>
41
42 <div class="ref">
43 oo<br>tt
44 </div>
45
46 </body>
47 </html>