multicol-columns-invalid-002.xht (1501B)
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 5 <!-- 6 Original, initial filename of this test was 7 multicol-columns-toolong-002.xht 8 and it should be filename-renamed 9 multicol-columns-invalid-002.xht 10 --> 11 12 <title>CSS Multi-column Layout Test: invalid columns shorthand</title> 13 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/" /> 14 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-07-26 --> 15 <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" /> 16 <link rel="match" href="multicol-columns-invalid-001-ref.xht" /> 17 <meta name="flags" content="ahem invalid" /> 18 <meta name="assert" content="This test checks that 'columns: 8 auto 6em' is invalid (generating a parsing error) and therefore will be ignored." /> 19 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 20 <style type="text/css"><![CDATA[ 21 div 22 { 23 background-color: yellow; 24 border: gray solid 1em; 25 color: black; 26 font: 1.25em/1 Ahem; 27 orphans: 1; 28 widows: 1; 29 width: 12em; 30 31 column-count: 4; 32 column-gap: 0; 33 columns: 8 auto 6em; 34 } 35 36 span {color: blue;} 37 ]]></style> 38 </head> 39 <body> 40 <div> 41 bl ac 42 <span> 43 bl ue 44 </span> 45 <span> 46 bl ue 47 </span> 48 bl ac 49 </div> 50 </body> 51 </html>