blob: d60bd835051b6eb32be9c13ba3b6b8d834290b3a [file] [log] [blame]
ap9cd074c2006-01-05 20:48:53 +00001<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
thatcherffd46e02005-10-25 00:42:22 +00002<html>
3 <head>
4 <title>CSS 2.1 Test Suite: vertical-align</title>
5 <style type="text/css">
6 p {font-size: 12pt;}
7 p.example { font: 15px/1 Ahem; color: blue; background: white url(support/square-white.png); border: 1px solid silver; padding: 0.5em; margin: 1em; }
8 .no {color: silver;}
9 big {font-size: 20px;}
10 small {font-size: 10px;}
11 .midalign {vertical-align: middle;}
12 </style>
darinec375482007-01-06 01:36:24 +000013 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.8.1 Leading and half-leading">
thatcherffd46e02005-10-25 00:42:22 +000014 </head>
15 <body>
16 <p class="explain">
17 Change your window size. However the lines wrap, the blue
18 rectanglues should always have their middles on the same alignment as
19 other blue rectangles on the line.
20 </p>
21 <p class="example">
22 ÉÉÉ
darinec375482007-01-06 01:36:24 +000023 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="30">
thatcherffd46e02005-10-25 00:42:22 +000024 <span style="font-size: 250%;" class="no">xxx</span>
darinec375482007-01-06 01:36:24 +000025 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
thatcherffd46e02005-10-25 00:42:22 +000026 ÉÉÉ
darinec375482007-01-06 01:36:24 +000027 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="10">
thatcherffd46e02005-10-25 00:42:22 +000028 <small class="no">xxx</small>
darinec375482007-01-06 01:36:24 +000029 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="20">
thatcherffd46e02005-10-25 00:42:22 +000030 ÉÉÉ
darinec375482007-01-06 01:36:24 +000031 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="65">
thatcherffd46e02005-10-25 00:42:22 +000032 ÉÉÉ
darinec375482007-01-06 01:36:24 +000033 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="35">
thatcherffd46e02005-10-25 00:42:22 +000034 <span style="font-size: 2em;" class="no">xxx</span>
darinec375482007-01-06 01:36:24 +000035 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
thatcherffd46e02005-10-25 00:42:22 +000036 <span style="font-size: 150%;" class="no">xxx <span style="font-size: 250%;">xxx</span> xxx</span>
darinec375482007-01-06 01:36:24 +000037 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="50">
thatcherffd46e02005-10-25 00:42:22 +000038 <small class="no">xxx</small>
darinec375482007-01-06 01:36:24 +000039 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="15">
thatcherffd46e02005-10-25 00:42:22 +000040 <big class="no">xxx</big>
darinec375482007-01-06 01:36:24 +000041 <img alt="[Image]" src="support/swatch-blue.png" class="midalign" height="90">
thatcherffd46e02005-10-25 00:42:22 +000042 ÉÉÉ
43 </p>
44 </body>
45</html>