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

105 строки
1.8 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>td_valign_baseline</title>
<!--
- 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/7/98
Christine Dreckman Date: 3/18/99
Chris Petersen Date: 5/19/99
Christine Dreckman Date 9/6/2000
-->
</head>
<body>
<p>TD VALIGN=BASELINE</p>
<table border="1">
<tr>
<td valign="baseline">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 valign="baseline" 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>