multicol-table-cell-vertical-align-001.xht (1142B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>multicolumn | table-cell, vertical-align</title> 6 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-multi-column-model"/> 8 <link rel="match" href="multicol-table-cell-vertical-align-ref.xht"/> 9 <meta name="flags" content="ahem"/> 10 <meta name="assert" content="This test checks that 'column-count' applies to elements with 'display' set to 'table-cell' which also use 'vertical-align: middle'. The 'vertical-align' property should still apply." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"><![CDATA[ 13 div { 14 font-family: Ahem; 15 font-size: 20px; 16 line-height: 1em; 17 vertical-align: middle; 18 color: white; 19 background: #3366CC; 20 width: 6em; 21 height: 20em; 22 display: table-cell; 23 24 column-count: 2; 25 column-gap: 0; 26 } 27 ]]></style> 28 </head> 29 30 <body> 31 32 <div> 33 aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa 34 </div> 35 36 </body> 37 </html>