multicol-count-non-integer-002.xht (1342B)
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: non-integer 'column-count' value</title> 5 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" title="3. The number and width of columns" /> 7 <link rel="help" href="http://www.w3.org/TR/css3-values/#integers" title="4.1. Integers: the '<integer>' type" /> 8 <link rel="match" href="multicol-columns-invalid-001-ref.xht" /> 9 <meta name="flags" content="ahem invalid" /> 10 <meta name="assert" content="This test checks that a specified real 'column-count' value is invalid and ignored." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div 14 { 15 background: yellow; 16 border: gray solid 1em; 17 color: black; 18 font: 1.25em/1 Ahem; 19 orphans: 1; 20 widows: 1; 21 width: 12em; 22 23 column-count: 4; 24 column-count: 1.9; /* invalid; must be an integer */ 25 column-gap: 0; 26 } 27 28 span {color: blue;} 29 ]]></style> 30 </head> 31 32 <body> 33 34 <div> 35 bl ac 36 <span> 37 bl ue 38 </span> 39 <span> 40 bl ue 41 </span> 42 bl ac 43 </div> 44 45 </body> 46 </html>