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

96 строки
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>table</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): Christine Dreckman Date: 8/11/2000
-->
<!-- Modified: Changed doctype to xhtml 1.0 transitional Author: Chris Petersen Date: 1/12/01 -->
</head>
<body>
<p>The table below should have the following:</p>
<ol>
<li>a caption 'TABLE'</li>
<li>no border</li>
<li>3 colgroups, each with one column</li>
<li>a THEAD with one row</li>
<li>a TBODY with two rows</li>
<li>a TFOOT with one row</li>
</ol>
<br />
<br />
<table>
<caption>TABLE</caption>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<colgroup>
<col /></colgroup>
<thead>
<tr>
<th>THEAD</th>
<th>THEAD</th>
<th>THEAD</th>
</tr>
</thead>
<tfoot>
<tr>
<td>TFOOT</td>
<td>TFOOT</td>
<td>TFOOT</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
<tr>
<td>TBODY</td>
<td>TBODY</td>
<td>TBODY</td>
</tr>
</tbody>
</table>
</body>
</html>