pjs/layout/reftests/bugs/404030-1-ref.html

28 строки
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Testcase, bug 404030</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
span { display: inline-block; height: 2em; border: thin solid; }
</style>
</head>
<body>
<p>Test: <span style="vertical-align: top">inline-table</span>.</p>
<p>Test: <span style="vertical-align: text-top">inline-table</span>.</p>
<p>Test: <span style="vertical-align: middle">inline-table</span>.</p>
<p>Test: <span style="vertical-align: text-bottom">inline-table</span>.</p>
<p>Test: <span style="vertical-align: bottom">inline-table</span>.</p>
<p>Test: <span style="vertical-align: baseline">inline-table</span>.</p>
<p>Test: <span style="vertical-align: 4px">inline-table</span>.</p>
<p>Test: <span style="vertical-align: 50%">inline-table</span>.</p>
<p>Test: <span style="vertical-align: 50%; line-height: 3"><i style="display:block; line-height: normal">inline-table</i></span>.</p>
</body>
</html>