blob: f1f7b42916eac0654252d36e1afa34c7d75e273a [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: vertical-align</title>
<script src="../resources/ahem.js"></script>
<style type="text/css">
p {font-size: 12pt;}
p.example { font: 15px/1 Ahem; color: blue; background: white url(support/square-white.png); border: 1px solid silver; padding: 0.5em; margin: 1em; }
.no {color: silver;}
big {font-size: 20px;}
small {font-size: 10px;}
.topalign {vertical-align: top;}
</style>
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
</head>
<body>
<p class="explain">
Change your window size. However the lines wrap, the blue
rectanglues should always have their tops on the same alignment as
other blue rectangles on the line.
</p>
<p class="example">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="10">
<span style="font-size: 250%;" class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="10">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="10">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="10">
<big class="topalign">xxx</big>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="20">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="65">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="35">
<span style="font-size: 2em;" class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="50">
<span class="topalign">xxx</span>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="15">
<big class="topalign">xxx</big>
<img alt="[Image]" src="support/swatch-blue.png" class="topalign" height="90">
</p>
</body>
</html>