multicol-width-count-001.xht (1363B)
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-count and column-width (basic)</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-23 --> 7 <link rel="help" href="https://www.w3.org/TR/css-multicol-1/#the-number-and-width-of-columns" title="3. The number and width of columns" /> 8 <link rel="match" href="multicol-width-001-ref.xht" /> 9 <meta name="asset" content="Test that column-count and column-width are valid in combination"/> 10 <meta name="flags" content="ahem" /> 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 width: 30em; 17 background-color: yellow; 18 color: black; 19 column-count: 5; 20 column-gap: 0; 21 column-width: 5em; 22 } 23 ]]></style> 24 </head> 25 <body> 26 <p>Test passes if it is identical to the reference.</p> 27 <div> 28 x xx xxx xxxx xxxxx 29 x xx xxx xxxx xxxxx 30 x xx xxx xxxx xxxxx 31 x xx xxx xxxx xxxxx 32 x xx xxx xxxx xxxxx 33 x xx xxx xxxx xxxxx 34 x xx xxx xxxx xxxxx 35 x xx xxx xxxx xxxxx 36 x xx xxx xxxx xxxxx 37 </div> 38 </body> 39 </html>