gecko-dev/layout/html/tests/table/marvin/x_tr_valign_baseline.xml

105 строки
1.9 KiB
XML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator"
content="HTML Tidy for Mac OS, see www.w3.org" />
<title>tr_valign_baseline.xml</title>
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/31/01 -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator Test Cases.
-
- The Initial Developer of the Original Code is Netscape Communications
- Corp. Portions created by Netscape Communications Corp. are
- Copyright (C) 1999 Netscape Communications Corp. All
- Rights Reserved.
-
- Contributor(s):Chris Petersen Date: 8/6/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/17/99
Christine Dreckman Date 8/21/2000
-->
</head>
<body>
<p>TR VALIGN=BASELINE</p>
<table border="1">
<tr valign="baseline">
<td>Compare the baseline of the first line of text in this cell
with the baseline of the first line of text in the next cell: they
should be vertically aligned</td>
<td style="font-size: 30pt">Compare the baseline of the first line
of text in this cell with the baseline of the first line of text in
the previous cell: they should be vertically aligned</td>
</tr>
</table>
</body>
</html>