inline-table-height-002

Test for 'height: ' on inline-table

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
it is a rectangular block that participates in an inline formatting context).

Source

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