multicol-rule-large-001

excessively wide column-rule-width

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem
Assertion
This test checks that if a column rule is wider than its gap, then the column rule will overlap adjacent column boxes; its painting will be above background of multi-column element but below the inline content inside the multicol element.

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: excessively wide column-rule-width</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-09-03 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#crw" title="4.4. 'column-rule-width'">
 8   <link rel="bookmark" href="http://lists.w3.org/Archives/Public/www-style/2013Sep/0006.html" title="[css3-multicol] z-order of column-rule: below or above border?">
 9   <link rel="match" href="reference/multicol-rule-large-001-ref.htm">
10   <meta name="flags" content="ahem">
11   <meta name="assert" content="This test checks that if a column rule is wider than its gap, then the column rule will overlap adjacent column boxes; its painting will be above background of multi-column element but below the inline content inside the multicol element.">
12   <style type="text/css">
13   body
14   {
15   font: 1.25em/1 Ahem;
16   margin-left: 1em;
17   }
18 
19   div
20   {
21   background-color: red;
22   border: gray solid 1em;
23   color: lime;
24   font-size: 1em;
25   orphans: 1;
26   widows: 1;
27   width: 15em;
28 
29   column-count: 4;
30   column-gap: 1em;
31   column-rule-color: blue;
32   column-rule-style: solid;
33   column-rule-width: 17em;
34   }
35 
36   /*
37 
38   N == 4;
39 
40   W == max(0, (available-width - ((N - 1) * column-gap)) / N);
41   W == max(0, (15em - ((4 - 1) * 1em)) / 4);
42   W == max(0, (15em - (3 * 1em)) / 4);
43   W == max(0, (15em - (3em)) / 4);
44   W == max(0, (12em) / 4);
45   W == max(0, 3em);
46   W == 3em;
47 
48   */
49 
50   /*
51   Since column rules do not take up space, then the test
52   should not generate an horizontal scrollbar.
53   */
54   </style>
55  </head>
56 
57  <body>
58 
59   <div>
60   1s cl
61   2n cl
62   3r cl
63   4t cl
64   </div>
65 
66  </body>
67 </html>