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: column-count and table-cell (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="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="reference/multicol-table-cell-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <meta name="assert" content="This test checks that 'column-count' applies to elements with 'display' set to 'table-cell'.">
11 <style type="text/css">
12 div
13 {
14 background-color: red;
15 color: black;
16 display: table-cell;
17 font: 1.25em/1 Ahem;
18 orphans: 1;
19 widows: 1;
20
21 column-count: 6;
22 column-gap: 0em;
23 }
24 </style>
25 </head>
26 <body>
27
28 <div>P<br>A<br>S<br>S<br>E<br>D</div>
29
30 </body>
31 </html>