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-gap' with large value</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-06 -->
7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-gap" title="4.1 'column-gap">
8 <link rel="match" href="reference/multicol-gap-large-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <meta name="assert" content="This test checks that when 'column-gap' is large and when used 'column-width' is narrow, then content extends into column-gap until its middle and content can extend, overflow outside the edges of the multi-colum element if 'overflow' is set to 'visible'.">
11 <style type="text/css">
12 div
13 {
14 background-color: yellow;
15 border: gray solid 1em;
16 color: black;
17 font: 1.25em/1 Ahem;
18 orphans: 1;
19 widows: 1;
20 width: 11em;
21
22 column-count: 4;
23 column-gap: 4em;
24
25 /*
26 N == 4;
27 W == 0em;
28 */
29
30 /*
31 In this test, the content of first 3 column
32 boxes extend into middle of column-gap and
33 content of the 4th column box extend outside the
34 right edge of multi-column. The gray border-right of
35 multi-column elemen overlaps partially the 3rd
36 column-gap.
37 */
38 }
39
40 span {color: blue;}
41 </style>
42 </head>
43 <body>
44 <div>
45 bl ac
46 <span>
47 bl ue
48 </span>
49 <span>
50 bl ue
51 </span>
52 bl ac
53 </div>
54 </body>
55 </html>