multicol-gap-fraction-001.xht (1382B)
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: 'column-gap' with increasing values</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-05 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-gap" title="4.1. 'column-gap'" /> 8 <link rel="match" href="multicol-gap-fraction-001-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="Test checks that increasing column gaps display consistently" /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 background-color: gray; 16 font: 1.25em/1 Ahem; 17 width: 14.5em; 18 orphans: 1; 19 widows: 1; 20 21 column-count: 2; 22 column-gap: 0.5em; 23 } 24 25 #two {column-gap: 2.5em;} 26 27 #three {column-gap: 4.5em;} 28 29 #four {column-gap: 6.5em;} 30 31 span {color: blue;} 32 ]]></style> 33 </head> 34 <body> 35 36 <div id="one"> 37 blac 38 <span>blue</span> 39 </div> 40 41 <div id="two"> 42 blac 43 <span>blue</span> 44 </div> 45 46 <div id="three"> 47 blac 48 <span>blue</span> 49 </div> 50 51 <div id="four"> 52 blac 53 <span>blue</span> 54 </div> 55 56 </body> 57 </html>