blob: 7a64eeca936e2f3fd3e5e0a2c6958672d45e45a4 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Vertical-align set to 'baseline' with a spanning cell</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#height-layout">
<meta name="flags" content="">
<meta name="assert" content="A spanning cell with Vertical-align set to 'baseline' aligns the cell's content baseline (which is the bottom of the first line of text or in-flow content) with the baseline of the first of the rows it spans.">
<style type="text/css">
td
{
vertical-align: baseline;
}
#small
{
font-size: small;
}
#large
{
font-size: large;
}
</style>
</head>
<body>
<p>Test passes if the bottom of "Filler Text" below is aligned.</p>
<table>
<tr>
<td>
<div id="small">Filler Text</div>
</td>
<td rowspan="2" colspan="2">
<div id="large">Filler Text</div>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>