multicol-gap-000.xht (1299B)
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 (basic)</title> 5 <link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com" /> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-25 --> 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-000-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks that column gap appears between two columns." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 font: 1.25em/1 Ahem; 16 margin: 1em 0; 17 width: 30em; 18 } 19 20 div#test 21 { 22 background-color: yellow; 23 orphans: 1; 24 widows: 1; 25 26 column-width: 10em; 27 column-gap: 10em; 28 } 29 30 span {color: yellow;} 31 ]]></style> 32 </head> 33 <body> 34 35 <p>Test passes if the 2 horizontal bars are <strong>identical</strong>.</p> 36 37 <div id="test">1234567890<br />1234567890</div> 38 39 <div id="reference">1234567890<span>1234567890</span>1234567890</div> 40 41 </body> 42 </html>