inline-table-height-002.xht (817B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> 2 <title>CSS Test: Test for 'height: <length;>' on inline-table</title> 3 <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 5 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" /> 6 <link rel="match" href="inline-table-height-002-ref.xht"/> 7 <meta name="assert" content="it is a rectangular block that participates in an inline formatting context)." /> 8 <style type="text/css"> 9 div { display: inline-table; height: 5em; vertical-align: baseline; background: green; color: white; } 10 </style> 11 </head> 12 <body> 13 <div>test</div> 14 15 16 </body></html>