multicol-span-none-001.xht (1626B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Multi-column Layout Test: column-span: none (basic)</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-22 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#spanning-columns" title="6.1. 'column-span'" /> 8 <link rel="match" href="multicol-span-none-001-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks how a 'column-span: none' element is rendered: it should not span across all column boxes." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 border: gray solid 1em; 16 font: 1.25em/1 Ahem; 17 orphans: 1; 18 widows: 1; 19 width: 11em; 20 21 column-count: 2; 22 column-gap: 1em; 23 24 /* 25 26 N == 2; 27 28 W == 5em; 29 30 */ 31 } 32 33 h4 34 { 35 background: black; 36 color: black; 37 font: inherit; 38 margin: 0; 39 width: 11em; 40 41 column-span: none; 42 } 43 44 #column1-top {color: blue;} 45 46 #column1-bottom {color: orange;} 47 48 #column2-top {color: pink;} 49 50 #column2-bottom {color: yellow;} 51 ]]></style> 52 </head> 53 <body> 54 <div> 55 <span id="column1-top"> ab cd ef gh </span> 56 <h4> 1234567890123 </h4> 57 <span id="column1-bottom"> ij kl mn oq </span> 58 <span id="column2-top"> ab cd ef gh </span> 59 <span id="column2-bottom"> rs tu vw xy </span> 60 </div> 61 </body> 62 </html>