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: zero 'column-count' value</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-30 -->
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-columns-invalid-001-ref.htm">
9 <meta name="flags" content="ahem invalid">
10 <meta name="assert" content="This test checks that a specified 0 'column-count' value is invalid and ignored.">
11 <style type="text/css">
12 div
13 {
14 background: yellow;
15 border: gray solid 1em;
16 color: black;
17 font: 1.25em/1 Ahem;
18 orphans: 1;
19 widows: 1;
20 width: 12em;
21
22 column-count: 4;
23 column-count: 0; /* invalid; must be a greater-than-zero integer */
24 column-gap: 0;
25 }
26
27 span {color: blue;}
28 </style>
29 </head>
30
31 <body>
32
33 <div>
34 bl ac
35 <span>
36 bl ue
37 </span>
38 <span>
39 bl ue
40 </span>
41 bl ac
42 </div>
43
44 </body>
45 </html>