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-span (basic)</title>
5 <link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com">
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-27 -->
7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-rule" title="4.5 'column-rule'">
8 <link rel="match" href="reference/multicol-span-000-ref.htm">
9 <meta name="flags" content="ahem image">
10 <style type="text/css">
11 div
12 {
13 background-color: yellow;
14 color: lime;
15 font: 1.25em/1 Ahem;
16 orphans: 1;
17 widows: 1;
18 width: 10em;
19 }
20
21 div#test, div.test2
22 {
23 columns: 2;
24 column-fill: balance;
25 column-gap: 0em;
26
27 /*
28
29 N == 2;
30
31 W == 5em;
32
33 */
34 }
35
36 div#test, div#reference {margin-bottom: 0.5em;}
37
38 div#column-span
39 {
40 column-span: all;
41 font: inherit;
42 }
43
44 img
45 {
46 padding-right: 4em;
47 vertical-align: top;
48 }
49 </style>
50 </head>
51 <body>
52
53 <p>Test passes if the 3 rectangles are <strong>identical</strong>.</p>
54
55 <div id="test">A<br>B<div id="column-span">123456</div>C<br>D</div>
56
57 <div id="reference"><img src="support/swatch-lime.png" width="20" height="20" alt="Image download support must be enabled"><img src="support/swatch-lime.png" width="20" height="20" alt="Image download support must be enabled"><br><img src="support/swatch-lime.png" width="120" height="20" alt="Image download support must be enabled"><br><img src="support/swatch-lime.png" width="20" height="20" alt="Image download support must be enabled"><img src="support/swatch-lime.png" width="20" height="20" alt="Image download support must be enabled"></div>
58
59 <div class="test2">A<br>B</div>
60 <div>123456</div>
61 <div class="test2">C<br>D</div>
62
63 </body>
64 </html>