multicol-width-small-001.xht (1656B)
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: narrow column-width</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="https://www.w3.org/TR/css-multicol-1/#overflow-inside-multicol-elements" title="8.1. Overflow inside multicol elements" /> 8 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#cw" title="3.1. 'column-width'" /> 9 <link rel="match" href="multicol-width-small-001-ref.xht" /> 10 <meta name="flags" content="ahem" /> 11 <meta name="assert" content="This test checks that a set 'column-width' which is small with regards to width of multi-column element." /> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style type="text/css"><![CDATA[ 14 body > div 15 { 16 background-color: yellow; 17 border: gray solid 1em; 18 color: black; 19 font: 1.25em/1 Ahem; 20 orphans: 1; 21 widows: 1; 22 width: 12em; 23 24 column-gap: 0; 25 column-width: 1em; 26 } 27 div > div { overflow: clip; } 28 29 span {color: blue;} 30 ]]></style> 31 </head> 32 <body> 33 <p>This test passes is it is idential to the reference.</p> 34 <div> 35 <div> 36 Bl ac 37 <span> 38 bl ue 39 </span> 40 <span> 41 bl ue 42 </span> 43 Bl ac 44 </div> 45 </div> 46 47 <!-- 48 49 Expected results 50 51 ************************* 52 *B|a|b|u|b|u|B|a| | | | * 53 ************************* 54 55 --> 56 57 </body> 58 </html>