summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/inline-block-height-002.xht
blob: c0181dc54f446c6a46b1099cd11e53c8145a6926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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:&lt;length&gt; on inline-block</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/visudet.html#inline-replaced-height" />
<link rel="match" href="inline-block-height-002-ref.xht"/>
<style type="text/css">
div { display: inline-block; height: 5em; width:10em; vertical-align: baseline; background: green; color: white; }
</style>
</head>
<body>
<div>test</div>


</body></html>