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: Overflowed content inside multicol element</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-07-24 -->
7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#overflow-inside-multicol-elements" title="8.1. Overflow inside multicol elements">
8 <link rel="match" href="reference/multicol-block-clip-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <meta name="assert" content="This test checks that content in the normal flow that extends into column gaps is clipped in the middle of the column gap.">
11 <style type="text/css">
12 div
13 {
14 border: gray solid 1em;
15 font: 1.25em/1 Ahem;
16 orphans: 1;
17 widows: 1;
18 width: 11em;
19
20 column-count: 4;
21 column-gap: 1em;
22 }
23
24 h4
25 {
26 background: black;
27 color: black;
28 font: inherit;
29 margin: 0;
30 width: 11em;
31 }
32
33 #first-column {color: blue;}
34
35 #second-column {color: orange;}
36
37 #third-column, #fourth-column {color: white;}
38 </style>
39 </head>
40 <body>
41 <div>
42 <span id="first-column"> ab cd ef gh </span>
43 <h4> 1234567890123 </h4>
44 <span id="second-column"> ij kl mn oq </span>
45 <span id="third-column"> ab cd ef gh </span>
46 <span id="fourth-column"> rs tu vw xy </span>
47 </div>
48 </body>
49 </html>