multicol-rule-dashed-000.xht (1559B)
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 with 'dashed' border style</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-dashed-000-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="Tests that the dashed value of column-rule-style is correctly rendered when used in the shorthand column-rule property." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <meta name="fuzzy" content="maxDifference=0-85; totalPixels=0-20" /> 13 <style type="text/css"><![CDATA[ 14 div 15 { 16 background-color: black; 17 color: black; 18 font: 3.125em/1 Ahem; 19 margin-bottom: 0.2em; 20 width: 8.2em; 21 } 22 23 div#test 24 { 25 columns: 2; 26 column-gap: 0.2em; 27 column-rule: lime dashed 0.2em; 28 29 /* 30 31 N == 2; 32 33 W == 200px; 34 35 */ 36 37 orphans: 1; 38 widows: 1; 39 } 40 41 span {border-left: lime dashed 0.2em;} 42 ]]></style> 43 </head> 44 <body> 45 46 <p>Test passes if the 2 black stripes with vertical green bars are <strong>identical</strong>.</p> 47 48 <div id="test">1 <br />2 </div> 49 50 <div id="reference">1234<span>5678</span></div> 51 52 </body> 53 </html>