multicol-gap-000

column-gap (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
This test checks that column gap appears between two columns.

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 (basic)</title>
 5   <link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com">
 6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-25 -->
 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-000-ref.htm">
 9   <meta name="flags" content="ahem">
10   <meta name="assert" content="This test checks that column gap appears between two columns.">
11   <style type="text/css">
12   div
13   {
14   font: 1.25em/1 Ahem;
15   margin: 1em 0;
16   width: 30em;
17   }
18 
19   div#test
20   {
21   background-color: yellow;
22   orphans: 1;
23   widows: 1;
24 
25   column-width: 10em;
26   column-gap: 10em;
27   }
28 
29   span {color: yellow;}
30   </style>
31  </head>
32  <body>
33 
34   <p>Test passes if the 2 horizontal bars are <strong>identical</strong>.</p>
35 
36   <div id="test">1234567890<br>1234567890</div>
37 
38   <div id="reference">1234567890<span>1234567890</span>1234567890</div>
39 
40  </body>
41 </html>