multicol-list-item-001

multi-column and list-item

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
This test checks that an unordered list of list items can be set to display its list-items in column boxes.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 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="reference/multicol-list-item-001-ref.htm">
 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   <style type="text/css">
12   ul
13   {
14   background-color: black;
15   font: 1.25em/1 Ahem;
16   margin: 0em;
17   padding: 0em;
18   width: 10em;
19 
20   column-gap: 0em;
21   column-width: 5em;
22   }
23 
24   li, span {font-size: 1em;}
25 
26   li
27   {
28   margin-left: 1em;
29   padding: 0em;
30   }
31 
32   span {display: block;}
33   </style>
34  </head>
35 
36  <body>
37 
38   <ul>
39 	<li>1sli</li>
40 	<li>2nli</li>
41 	<li>3rli</li>
42 	<li>4tli</li>
43 	<li>5tli</li>
44 	<li><span>6tli</span></li>
45 	<li>7tli</li>
46 	<li>8tli</li>
47 	<li>9tli</li>
48 	<li>10tl</li>
49   </ul>
50 
51  </body>
52 </html>