Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/normal-flow/inline-table-height-002.xht
<!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> <title>CSS Test: Test for 'height: <length;>' on inline-table</title> <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" /> <link rel="match" href="inline-table-height-002-ref.xht"/> <meta name="assert" content="it is a rectangular block that participates in an inline formatting context)." /> <style type="text/css"> div { display: inline-table; height: 5em; vertical-align: baseline; background: green; color: white; } </style> </head> <body> <div>test</div> </body></html>
/css/CSS2/normal-flow/inline-table-height-002-ref.xht
<!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> <title>CSS Test: Reference for inline-table test</title> <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> <style type="text/css"> div { display: table; height: 5em; background: green; color: white; } </style> </head> <body> <div>test</div> </body></html>