1 <!DOCTYPE html>
2 <html><head>
3 <title>CSS Test: One named flow multi-column container with monolithic content +
4 flowing into region of smaller height than the second region</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-024-ref.htm" rel="match">
9 <meta content="This test checks that monolithic content flows
10 through a region with a height smaller than the second region and
11 that it overflows the first region as a multi-column container
12 before flowing into the second region." name="assert">
13 <style type="text/css">
14 #named-flow-multicol {
15 width: 130px;
16 height: 120px;
17 columns: 2;
18 column-gap: 10px;
19 flow-into: multicol;
20 }
21 .green, .blue {
22 width: 60px;
23 height: 120px;
24 }
25 .green {
26 background-color: green;
27 }
28 .blue {
29 background-color: blue;
30 }
31 #region-1, #region-2 {
32 position: absolute;
33 width: 130px;
34 flow-from: multicol;
35 }
36 #region-1 {
37 top: 70px;
38 left: 20px;
39 height: 60px;
40 }
41 #region-2 {
42 top: 70px;
43 left: 190px;
44 height: 120px;
45 }
46 .failure {
47 position: absolute;
48 top: 70px;
49 width: 60px;
50 background-color: red;
51 z-index: -10;
52 }
53 #block-1 {
54 left: 20px;
55 height: 60px;
56 }
57 #block-2 {
58 left: 90px;
59 height: 60px;
60 }
61 #block-3 {
62 left: 190px;
63 height: 120px;
64 }
65 </style>
66 </head>
67 <body>
68 <p>The test passes if there are two green side by side squares on the left of one blue vertical rectangle.
69 There should be no red.</p>
70 <div id="named-flow-multicol">
71 <div class="green named-flow-block"></div>
72 <div class="blue named-flow-block"></div>
73 </div>
74 <div id="region-1"></div>
75 <div id="region-2"></div>
76 <div id="block-1" class="failure"></div>
77 <div id="block-2" class="failure"></div>
78 <div id="block-3" class="failure"></div>
79
80
81 </body></html>