multicol-rule-samelength-001

'column-rule-width' has same lenght as 'column-gap'

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-rule-width' has same lenght as 'column-gap'</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-15 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#crw" title="4.4. 'column-rule-width'">
 8   <link rel="match" href="reference/multicol-rule-samelength-001-ref.htm">
 9   <meta name="flags" content="ahem">
10   <style type="text/css">
11   body {margin: 8px;}
12 
13   p
14   {
15   line-height: 1.25em;
16   margin: 1em 0em;
17   }
18 
19   strong {line-height: 1;}
20 
21   div#red-overlapped-reference
22   {
23   background-color: red;
24   height: 100px;
25   width: 100px;
26   }
27 
28   div#test-overlapping-green
29   {
30   bottom: 100px;
31   color: transparent;
32   font: 1.25em/1 Ahem; /* equivalent to 20px/1 Ahem */
33   position: relative;
34   right: 40px;
35   width: 9em;
36 
37   column-count: 2;
38   column-gap: 5em;
39   column-rule-color: green;
40   column-rule-style: solid;
41   column-rule-width: 5em;
42   }
43   </style>
44  </head>
45 
46  <body>
47 
48   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
49 
50   <div id="red-overlapped-reference"></div>
51 
52   <div id="test-overlapping-green">Le ft Co lu mn Ri gh Co lu mn</div>
53 
54   <!--
55 
56   Expected results
57     column-gap
58     column-rule
59      v=====v
60   *************
61   |Le|     |Ri|
62   |ft|     |gh|
63   |Co|     |Co|
64   |lu|     |lu|
65   |mn|     |mn|
66   *************
67 
68   -->
69 
70  </body>
71 </html>