multicol-gap-001.xht (1251B)
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: normal'</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-001-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks that the 'normal' column gap is 1em." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 background-color: yellow; 16 color: black; 17 font: 1.25em/1 Ahem; 18 margin: 1em; 19 orphans: 1; 20 widows: 1; 21 width: 3em; 22 } 23 24 div.multicol 25 { 26 column-gap: normal; 27 column-width: 1em; 28 } 29 30 span {padding-right: 1em;} 31 ]]></style> 32 </head> 33 <body> 34 <p>Test passes if the 2 stripes are <strong>identical</strong>.</p> 35 36 <div class="multicol">x<br />x</div> 37 <div><span>x</span>x</div> 38 </body> 39 </html>