multicol-columns-005.xht (1463B)
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: columns shorthand (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-07-25 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" title="3. The number and width of columns" /> 8 <link rel="match" href="multicol-columns-001-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks that 'columns: 6' shorthand correctly set 'column-width' and 'column-count' properties. 'columns: 6' is equivalent to 'column-width: auto' and 'column-count: 6'." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 body {width: 600px;} 14 15 div 16 { 17 background-color: yellow; 18 color: black; 19 font: 1.25em/1 Ahem; 20 orphans: 1; 21 widows: 1; 22 23 columns: 6; 24 column-gap: 0; 25 } 26 ]]></style> 27 </head> 28 <body> 29 <div> 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 x xx xxx xxxx xxxxx 38 x xx xxx xxxx xxxxx 39 x xx xxx xxxx xxxxx 40 x xx xxx xxxx xxxxx 41 </div> 42 </body> 43 </html>