1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4
5 <!--
6 Original, initial filename of this test was
7 multicol-columns-toolong-002.xht
8 and it should be filename-renamed
9 multicol-columns-invalid-002.xht
10 -->
11
12 <title>CSS Multi-column Layout Test: invalid columns shorthand</title>
13 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
14 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-07-26 -->
15 <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">
16 <link rel="match" href="reference/multicol-columns-invalid-001-ref.htm">
17 <meta name="flags" content="ahem invalid">
18 <meta name="assert" content="This test checks that 'columns: 8 auto 6em' is invalid (generating a parsing error) and therefore will be ignored.">
19 <style type="text/css">
20 div
21 {
22 background-color: yellow;
23 border: gray solid 1em;
24 color: black;
25 font: 1.25em/1 Ahem;
26 orphans: 1;
27 widows: 1;
28 width: 12em;
29
30 column-count: 4;
31 column-gap: 0;
32 columns: 8 auto 6em;
33 }
34
35 span {color: blue;}
36 </style>
37 </head>
38 <body>
39 <div>
40 bl ac
41 <span>
42 bl ue
43 </span>
44 <span>
45 bl ue
46 </span>
47 bl ac
48 </div>
49 </body>
50 </html>