multicol-columns-invalid-001

invalid columns shorthand

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, invalid
Assertion
This test checks that 'columns: 8 normal' is invalid (generating a parsing error) and therefore will be ignored.

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: invalid columns shorthand</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-26 -->
 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 'columns: 8 normal' is invalid (generating a parsing error) and therefore will be ignored.">
11   <style type="text/css">
12   div
13   {
14   background-color: 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-gap: 0;
24   columns: 8 normal;
25   }
26 
27   span {color: blue;}
28   </style>
29  </head>
30  <body>
31   <div>
32   bl ac
33     <span>
34     bl ue
35     </span>
36     <span>
37     bl ue
38     </span>
39   bl ac
40   </div>
41  </body>
42 </html>