gecko-dev/layout/reftests/bugs/18217-height-2.html

18 строки
671 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS 2.1 Test Suite: Test for 'height: &lt;length;&gt;' on inline-table</title>
<link rel="author" title="L. David Baron" href="http://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" />
<meta name="assert" content="it is a rectangular block that participates in an inline formatting context)." />
<meta name="flags" content="" />
<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>