multicol-span-all-margin-002

'column-span: all' element

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem

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: all' element</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-19 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-span" title="6.1. 'column-span'">
 8   <link rel="match" href="reference/multicol-span-all-margin-002-ref.htm">
 9   <meta name="flags" content="ahem">
10   <style type="text/css">
11   div
12   {
13   background-color: yellow;
14   border: gray solid 1em;
15   color: navy;
16   font: 1.25em/1 Ahem;
17   orphans: 1;
18   widows: 1;
19   width: 8em;
20 
21   column-count: 4;
22   column-gap: 0em;
23 
24   /*
25 
26   N == 4;
27 
28   W == 2;
29 
30   */
31   }
32 
33   h4
34   {
35   font: inherit;
36   margin: 1em 0;
37   }
38 
39   h4#orange
40   {
41   background: orange;
42   color: orange;
43   /*
44   In this test, the glyphs "or" are painted into 4th column box
45   and the glyphs "ang" are painted in the overflow area.
46   */
47   }
48 
49   h4#black
50   {
51   background: black;
52   color: black;
53 
54   column-span: all;
55   }
56 
57   span {color: blue;}
58 
59   span + span {color: pink;}
60   </style>
61  </head>
62 
63  <body>
64 
65   <div>
66     <span> bl ue bl ue </span>
67     <span> Pi nk Pi nk </span>
68     <h4 id="orange"> orang </h4>
69     <h4 id="black"> black </h4>
70     na vy na vy
71     na vy na vy
72   </div>
73 
74  </body>
75 </html>