multicol-gap-001

'column-gap: normal'

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, may
Assertion
This test checks that the 'normal' column gap is 1em, which is suggested -- and not prescribed -- by the specification.

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-gap: normal'</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-05 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-gap" title="4.1. 'column-gap'">
 8   <link rel="match" href="reference/multicol-gap-001-ref.htm">
 9   <meta name="flags" content="ahem may">
10   <meta name="assert" content="This test checks that the 'normal' column gap is 1em, which is suggested -- and not prescribed -- by the specification.">
11   <style type="text/css">
12   div
13   {
14   background-color: yellow;
15   color: black;
16   font: 1.25em/1 Ahem;
17   margin: 1em;
18   orphans: 1;
19   widows: 1;
20   width: 3em;
21   }
22 
23   div.multicol
24   {
25   column-gap: normal;
26   column-width: 1em;
27   }
28 
29   span {padding-right: 1em;}
30   </style>
31  </head>
32  <body>
33   <p>Test passes if the 2 stripes are <strong>identical</strong>.</p>
34 
35   <div class="multicol">x<br>x</div>
36   <div><span>x</span>x</div>
37  </body>
38 </html>