multicol-rule-000.xht (1472B)
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-rule shorthand (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-27 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-rule" title="4.5 'column-rule'" /> 8 <link rel="match" href="multicol-rule-000-ref.xht" /> 9 <meta name="assert" content="This test checks that the shorthand column-rule property draws the rule correctly." /> 10 <meta name="flags" content="ahem" /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 color: black; 16 font: 1.25em/1 Ahem; 17 margin-bottom: 0.5em; 18 width: 602px; 19 } 20 21 div#test 22 { 23 columns: 3; 24 column-gap: 1px; 25 column-rule: lime solid 1px; 26 27 /* 28 29 N == 3; 30 31 W == 200px; 32 33 */ 34 35 orphans: 1; 36 widows: 1; 37 } 38 39 span 40 { 41 border-left: lime solid 1px; 42 border-right: lime solid 1px; 43 } 44 ]]></style> 45 </head> 46 <body> 47 48 <p>Test passes if the 2 horizontal bars are <strong>identical</strong>.</p> 49 50 <div id="test"> 51 1234567890<br />ABCDEFGHIJ<br />1234567890 52 </div> 53 54 <div id="reference"> 55 1234567890<span>ABCDEFGHIJ</span>1234567890 56 </div> 57 58 </body> 59 </html>