multicol-fill-auto-002

multicolumn | column-fill-auto

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
This test checks that columns are not balanced when 'column-fill: auto' is set

Source

 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-auto</title>
 5 <meta name="assert" content="This test checks that columns are not balanced when 'column-fill: auto' 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-auto-002-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: auto;
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: 3em; width: 1em;"></div>
38 <div class="red" style="top: 0; left: 0; height: 1em; width: 2em;"></div>
39 o<br>t<br>
40 o<br>t<br>
41 </div>
42 
43 <div class="ref">
44 oo<br>t<br>o
45 </div>
46 
47 </body>
48 </html>