multicol-zero-height-001.xht (1108B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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="help" href="https://www.w3.org/TR/css-break-3/#breaking-rules" title="4. Rules for Breaking" /> 9 <link rel="match" href="multicol-zero-height-001-ref.xht" /> 10 <style type="text/css"><![CDATA[ 11 div#multi-column 12 { 13 height: 0; 14 orphans: 1; 15 widows: 1; 16 width: 200px; 17 border-bottom:1px solid red; 18 19 column-count: 10; 20 column-gap: 0; 21 } 22 23 div > div 24 { 25 background-color: lime; 26 float: left; 27 height: 10px; 28 width: 100%; 29 } 30 ]]></style> 31 </head> 32 <body> 33 <div id="multi-column"> 34 <div></div> 35 </div> 36 </body> 37 </html>