multicol-gap-large-001.xht (1679B)
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-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="multicol-gap-large-001-ref.xht" /> 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 and content can extend, overflow outside the edges of the multi-colum element if 'overflow' is set to 'visible'." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 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: 11em; 22 23 column-count: 4; 24 column-gap: 4em; 25 26 /* 27 N == 4; 28 W == 0em; 29 */ 30 31 /* 32 In this test, the content of first 3 column 33 boxes extend into middle of column-gap and 34 content of the 4th column box extend outside the 35 right edge of multi-column. The gray border-right of 36 multi-column elemen overlaps partially the 3rd 37 column-gap. 38 */ 39 } 40 41 span {color: blue;} 42 ]]></style> 43 </head> 44 <body> 45 <div> 46 bl ac 47 <span> 48 bl ue 49 </span> 50 <span> 51 bl ue 52 </span> 53 bl ac 54 </div> 55 </body> 56 </html>