multicol-count-non-integer-001

non-integer 'column-count' value

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, invalid
Assertion
This test checks that a specified real 'column-count' value is invalid and 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: non-integer 'column-count' value</title>
 5   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 6   <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">
 7   <link rel="help" href="http://www.w3.org/TR/css3-values/#integers" title="4.1. Integers: the '<integer>' type">
 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 real '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: 2.1; /* invalid; must be an 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>