1 <!DOCTYPE html>
2 <html><head>
3 <title>CSS Test: One named flow multi-column container, monolithic content
4 flowing into an autosized region, overflowing column</title>
5 <link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
6 <link href="http://www.w3.org/TR/css3-regions/#multi-column-regions" rel="help">
7 <link href="http://www.w3.org/TR/css3-multicol/#columns" rel="help">
8 <link href="reference/regions-multicol-003-ref.htm" rel="match">
9 <meta content="This test checks that text content flows
10 through an autosized region from the multi-column
11 named flow and that it overflows visibly into a
12 third column." name="assert">
13 <style type="text/css">
14 #named-flow-multicol {
15 width: 230px;
16 height: 200px;
17 columns: 2;
18 column-gap: 30px;
19 flow-into: multicol;
20 }
21 #named-flow-block {
22 background-color: green;
23 width: 100px;
24 height: 600px;
25 }
26 #region {
27 position: absolute;
28 top: 70px;
29 left: 20px;
30 flow-from: multicol;
31 }
32 .failure {
33 position: absolute;
34 top: 70px;
35 left: 20px;
36 background-color: red;
37 width: 100px;
38 height: 200px;
39 z-index: -1;
40 }
41 #block-1 {
42 left: 20px;
43 }
44 #block-2 {
45 left: 150px;
46 }
47 #block-3 {
48 left: 280px;
49 }
50 </style>
51 </head>
52 <body>
53 <p>The test passes if there are three vertical green rectangles and no red.</p>
54 <div id="named-flow-multicol">
55 <div id="named-flow-block"></div>
56 </div>
57 <div id="region"></div>
58 <div id="block-1" class="failure"></div>
59 <div id="block-2" class="failure"></div>
60 <div id="block-3" class="failure"></div>
61
62
63 </body></html>