multicol-break-000.xht (1725B)
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: break-after: column (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-25 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#break-before-break-after-break-inside" title="5.1. 'break-before', 'break-after', 'break-inside'" /> 8 <link rel="match" href="multicol-break-000-ref.xht" /> 9 <meta name="flags" content="ahem image" /> 10 <meta name="assert" content="This test checks that basic support of 'break-after: column'." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div#test, div#reference 14 { 15 background-color: yellow; 16 margin-bottom: 0.5em; 17 font: 1.25em/1 Ahem; 18 height: 3em; 19 width: 10em; 20 } 21 22 div#test 23 { 24 column-fill: auto; 25 column-gap: 0; 26 column-width: 2em; 27 28 /* 29 30 N == 5; 31 32 W == 2em; 33 34 */ 35 } 36 37 div#test > div {break-after: column;} 38 39 img {vertical-align: top;} 40 ]]></style> 41 </head> 42 <body> 43 44 <p>Test passes if the 2 horizontal bars are <strong>identical</strong>.</p> 45 46 <div id="test"> 47 <div>A</div> 48 <div>B</div> 49 <div>C</div> 50 </div> 51 52 <div id="reference"><img src="support/black20x20.png" alt="Image download support must be enabled" /> <img src="support/black20x20.png" alt="Image download support must be enabled" /> <img src="support/black20x20.png" alt="Image download support must be enabled" /></div> 53 54 </body> 55 </html>