mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<!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' aligns the cell content baseline with baseline of the row</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 cell with Vertical-align set to 'baseline' aligns the cell's content baseline with the baseline of the row.">
|
|
<style type="text/css">
|
|
td
|
|
{
|
|
vertical-align: baseline;
|
|
}
|
|
#big
|
|
{
|
|
font-size: 30px;
|
|
}
|
|
#bigger
|
|
{
|
|
font-size: 60px;
|
|
}
|
|
#biggest
|
|
{
|
|
font-size: 90px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if the bottom of "Filler Text" below is aligned.</p>
|
|
<table>
|
|
<tr>
|
|
<td id="big">FillerText</td>
|
|
<td id="bigger">FillerText</td>
|
|
<td id="biggest">FillerText</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |