multicol-list-item-001.xht (1415B)
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: multi-column and list-item</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-10 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#pseudo-algorithm" title="3.4 Pseudo-algorithm" /> 8 <link rel="match" href="multicol-list-item-001-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks that an unordered list of list items can be set to display its list-items in column boxes." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 ul 14 { 15 background-color: black; 16 font: 1.25em/1 Ahem; 17 margin: 0em; 18 padding: 0em; 19 width: 10em; 20 21 column-gap: 0em; 22 column-width: 5em; 23 } 24 25 li, span {font-size: 1em;} 26 27 li 28 { 29 margin-left: 1em; 30 padding: 0em; 31 list-style-type: "X"; 32 } 33 34 span {display: block;} 35 ]]></style> 36 </head> 37 38 <body> 39 40 <ul> 41 <li>1sli</li> 42 <li>2nli</li> 43 <li>3rli</li> 44 <li>4tli</li> 45 <li>5tli</li> 46 <li><span>6tli</span></li> 47 <li>7tli</li> 48 <li>8tli</li> 49 <li>9tli</li> 50 <li>10tl</li> 51 </ul> 52 53 </body> 54 </html>