multicol-span-all-child-001

'column-span: all' element with block children (complex)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, may
Assertion
This test checks how a spanning element with block children is rendered inside a multi-column element with a set height which is insufficient for rendering the entire spanning element. Since the available height (10em)is insufficient to render the spanning element (height needed: 3 times 4em) entirely inside the multi-column element, then UA may treat 'column-span: all' as 'column-span: none'.

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-span: all' element with block children (complex)</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-19 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-span" title="6.1. 'column-span'">
 8   <link rel="bookmark" title="[css3-multicol] spanning element with only block children" href="http://lists.w3.org/Archives/Public/www-style/2013Aug/0318.html">
 9   <link rel="match" href="reference/multicol-span-all-child-001-ref.htm">
10   <meta name="flags" content="ahem may">
11   <meta name="assert" content="This test checks how a spanning element with block children is rendered inside a multi-column element with a set height which is insufficient for rendering the entire spanning element. Since the available height (10em)is insufficient to render the spanning element (height needed: 3 times 4em) entirely inside the multi-column element, then UA may treat 'column-span: all' as 'column-span: none'.">
12   <style type="text/css">
13   body
14   {
15   color: black;
16   font: 1.25em/1 Ahem;
17   height: 10em;
18   orphans: 1;
19   widows: 1;
20   width: 10em;
21 
22   column-count: 2;
23   column-fill: auto;
24   column-gap: 0em;
25   }
26 
27   div
28   {
29   background-color: yellow;
30   border: blue solid 2em;
31 
32   column-span: all;
33   }
34 
35   span
36   {
37   display: block;
38   height: 4em;
39   width: 5em;
40   }
41   </style>
42  </head>
43 
44  <body>
45 
46   <div>
47     <span>block</span>
48     <span>block</span>
49     <span>block</span>
50   </div>
51 
52  </body>
53 </html>