multicol-break-000

break-after: column (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, image
Assertion
This test checks that basic support of 'break-after: column'.

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: break-after: column (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/#break-before-break-after-break-inside" title="5.1. 'break-before', 'break-after', 'break-inside'">
 8   <link rel="match" href="reference/multicol-break-000-ref.htm">
 9   <meta name="flags" content="ahem image">
10   <meta name="assert" content="This test checks that basic support of 'break-after: column'.">
11   <style type="text/css">
12   div#test, div#reference
13   {
14   background-color: yellow;
15   margin-bottom: 0.5em;
16   font: 1.25em/1 Ahem;
17   height: 3em;
18   width: 10em;
19   }
20 
21   div#test
22   {
23   column-fill: auto;
24   column-gap: 0;
25   column-width: 2em;
26 
27   /*
28 
29   N == 5;
30 
31   W == 2em;
32 
33   */
34   }
35 
36   div#test > div {break-after: column;}
37 
38   img {vertical-align: top;}
39   </style>
40  </head>
41  <body>
42 
43   <p>Test passes if the 2 horizontal bars are <strong>identical</strong>.</p>
44 
45   <div id="test">
46       <div>A</div>
47       <div>B</div>
48       <div>C</div>
49   </div>
50 
51   <div id="reference"><img src="support/black20x20.png" alt="Image download support must be enabled"> <img src="support/black20x20.png" alt="Image download support must be enabled"> <img src="support/black20x20.png" alt="Image download support must be enabled"></div>
52 
53  </body>
54 </html>