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: narrow column-width</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-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="help" href="http://www.w3.org/TR/css3-multicol/#cw" title="3.1. 'column-width'">
9 <link rel="match" href="reference/multicol-width-small-001-ref.htm">
10 <meta name="flags" content="ahem">
11 <meta name="assert" content="This test checks that a set 'column-width' which is small with regards to width of multi-column element. In this test, in-flow content that extends into column gaps is clipped in the middle of the column gap. ">
12 <style type="text/css">
13 div
14 {
15 background-color: yellow;
16 border: gray solid 1em;
17 color: black;
18 font: 1.25em/1 Ahem;
19 orphans: 1;
20 widows: 1;
21 width: 12em;
22
23 column-gap: 0;
24 column-width: 1em;
25 }
26
27 span {color: blue;}
28 </style>
29 </head>
30 <body>
31 <div>
32 Bl ac
33 <span>
34 bl ue
35 </span>
36 <span>
37 bl ue
38 </span>
39 Bl ac
40 </div>
41
42 <!--
43
44 Expected results
45
46 *************************
47 *B|a|b|u|b|u|B|a| | | | *
48 *************************
49
50 Every "l", "c" and "e" glyphs are clipped.
51
52 -->
53
54 </body>
55 </html>