multicol-span-none-001

column-span: none (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
This test checks how a 'column-span: none' element is rendered: it should not span across all column boxes.

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: column-span: none (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-22 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#spanning-columns" title="6.1. 'column-span'">
 8   <link rel="match" href="reference/multicol-span-none-001-ref.htm">
 9   <meta name="flags" content="ahem">
10   <meta name="assert" content="This test checks how a 'column-span: none' element is rendered: it should not span across all column boxes.">
11   <style type="text/css">
12   div
13   {
14   border: gray solid 1em;
15   font: 1.25em/1 Ahem;
16   orphans: 1;
17   widows: 1;
18   width: 11em;
19 
20   column-count: 2;
21   column-gap: 1em;
22 
23   /*
24 
25   N == 2;
26 
27   W == 5em;
28 
29   */
30   }
31 
32   h4
33   {
34   background: black;
35   color: black;
36   font: inherit;
37   margin: 0;
38   width: 11em;
39 
40   column-span: none;
41   }
42 
43   #column1-top {color: blue;}
44 
45   #column1-bottom {color: orange;}
46 
47   #column2-top {color: pink;}
48 
49   #column2-bottom {color: yellow;}
50   </style>
51  </head>
52  <body>
53   <div>
54     <span id="column1-top"> ab cd ef gh </span>
55     <h4> 1234567890123 </h4>
56     <span id="column1-bottom"> ij kl mn oq </span>
57     <span id="column2-top"> ab cd ef gh </span>
58     <span id="column2-bottom"> rs tu vw xy </span>
59   </div>
60  </body>
61 </html>