multicol-zero-height-001

multi-column element with zero height

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

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>CSS Multi-column Layout Test: multi-column element with zero height</title>
 5   <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
 6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-24 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#cw" title="3.1. 'column-width'">
 8   <link rel="match" href="reference/multicol-zero-height-001-ref.htm">
 9   <meta name="flags" content="">
10   <style type="text/css">
11   div#multi-column
12   {
13   height: 0;
14   orphans: 1;
15   widows: 1;
16   width: 200px;
17 
18   column-count: 2;
19   column-gap: 0;
20 
21   /*
22 
23   N == 2;
24 
25   W == 100px;
26 
27   */
28   }
29 
30   div > div
31   {
32   background-color: lime;
33   float: left;
34   height: 300px;
35   width: 100px;
36   }
37   </style>
38  </head>
39  <body>
40   <div id="multi-column">
41     <div></div>
42   </div>
43  </body>
44 </html>