1 <!DOCTYPE html>
2 <html><head>
3 <title>CSS Test: One named flow muticolumn container, text content flowing into
4 multiple regions with content overflowing last region</title>
5 <link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
6 <!-- Reviewed on Github on 09-26-2013: https://github.com/w3c/csswg-test/pull/89 -->
7 <link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
8 <link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
9 <link href="http://www.w3.org/TR/css3-regions/#flow-from" rel="help">
10 <link href="http://www.w3.org/TR/css3-multicol/#columns" rel="help">
11 <link href="reference/regions-multicol-013-ref.htm" rel="match">
12 <meta content="ahem" name="flags">
13 <meta content="This test checks that text content flows through multiple
14 regions from the named flow multi-column container and that
15 it overflows the last region in the region chain visibly." name="assert">
16 <style type="text/css">
17 #named-flow-multicol {
18 font-family: Ahem;
19 font-size: 25px;
20 line-height: 1em;
21 color: green;
22 columns: 2;
23 column-gap: 10px;
24 flow-into: multicol;
25 }
26 #region-1 , #region-2 {
27 position: absolute;
28 top: 50px;
29 width: 110px;
30 flow-from: multicol;
31 }
32 #region-1 {
33 left: 20px;
34 height: 200px;
35 }
36 #region-2 {
37 left: 140px;
38 height: 100px;
39 }
40 .failure {
41 position: absolute;
42 background-color: red;
43 top: 50px;
44 width: 50px;
45 height: 200px;
46 z-index: -1;
47 }
48 #bar-1 {
49 left: 20px;
50 }
51 #bar-2 {
52 left: 80px;
53 }
54 #bar-3 {
55 left: 140px;
56 }
57 #bar-4 {
58 left: 200px;
59 }
60 </style>
61 </head>
62 <body>
63 <p>The test passes if there are four green vertical bars and no red.</p>
64 <div id="named-flow-multicol">
65 XX XX XX XX XX XX XX XX
66 XX XX XX XX XX XX XX XX
67 XX XX XX XX XX XX XX XX
68 XX XX XX XX XX XX XX XX
69 </div>
70 <div id="region-1"></div>
71 <div id="region-2"></div>
72 <div id="bar-1" class="failure"></div>
73 <div id="bar-2" class="failure"></div>
74 <div id="bar-3" class="failure"></div>
75 <div id="bar-4" class="failure"></div>
76
77
78 </body></html>