multicol-span-all-block-sibling-003.xht (1044B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>multicol | column-span: all | block-level child</title> 6 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#spanning-columns"/> 8 <link rel="match" href="multicol-span-all-block-sibling-3-ref.xht"/> 9 <meta name="flags" content="ahem"/> 10 <meta name="assert" content="Test that a block element which is a sibling of content in the multicol element acts correctly as a spanner." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 body>div { 14 font-family: Ahem; 15 font-size: 1em; 16 line-height: 1; 17 color: black; 18 background: black; 19 20 column-count: 2; 21 } 22 h1 { 23 column-span: all; 24 } 25 ]]></style> 26 </head> 27 28 <body> 29 30 <div> 31 <div> 32 <h1>foo</h1> 33 FAIL<br/> 34 FAIL<br/> 35 FAIL<br/> 36 FAIL<br/> 37 FAIL<br/> 38 FAIL<br/> 39 FAIL<br/> 40 </div> 41 </div> 42 </body> 43 </html>