summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-properties/CSS21-t100801-vertical-align-ref.xhtml
blob: 8e11729e0ff8f3455fd8b67aad2adaf659140de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>CSS 2.1 Test Suite: vertical-align (on an inline-block) (reference)</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#blockwidth" />
		<meta name="flags" content="" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<style type="text/css"><![CDATA[

		body { width: 500px; height: 500px; margin: 0; position: relative; }
		body > div {
			position: absolute;
			height: 50px; width: 40px;
			top: 100px; left: 0;
			background: green;
		}

		]]></style>
	</head>
	<body>

<div></div>

	</body>
</html>