multicol-block-no-clip-002.xht (1631B)
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: Overflowed content inside and outside multicol element</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-07-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="match" href="multicol-block-no-clip-002-ref.xht"/> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="This test checks that content in the normal flow that extends into column gaps is not clipped in the middle of the column gap." /> 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: 3; 22 column-gap: 1em; 23 } 24 25 h4 26 { 27 background: black; 28 color: black; 29 font: inherit; 30 margin: 0; 31 } 32 33 #first-column {color: blue;} 34 35 #second-column {color: orange;} 36 37 #third-column {color: pink;} 38 39 #fourth-column {color: yellow;} 40 ]]></style> 41 </head> 42 <body> 43 <div> 44 <span id="first-column"> ab cd ef gh </span> 45 <h4>1234</h4> 46 <span id="second-column"> ij kl mn oq </span> 47 <span id="third-column"> ab cd ef gh </span> 48 <span id="fourth-column"> rs tu vw xy </span> 49 </div> 50 </body> 51 </html>