multicol-rule-hidden-000.xht (1365B)
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 'hidden' 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-hidden-000-ref.xht" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="Test checks that a column-rule-width value of hidden results in no rule being drawn." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 background-color: black; 16 color: black; 17 font: 3.125em/1 Ahem; 18 margin-bottom: 0.2em; 19 width: 8.2em; 20 } 21 22 div#test 23 { 24 columns: 2; 25 column-gap: 0.2em; 26 column-rule: red hidden 0.2em; 27 28 /* 29 30 N == 2; 31 32 W == 200px; 33 34 */ 35 36 orphans: 1; 37 widows: 1; 38 } 39 ]]></style> 40 </head> 41 <body> 42 43 <p>Test passes if the 2 black stripes are <strong>identical</strong>.</p> 44 45 <div id="test">1 <br />2 </div> 46 47 <div id="reference">A</div> 48 49 </body> 50 </html>