зеркало из https://github.com/mozilla/pjs.git
241 строка
7.2 KiB
HTML
241 строка
7.2 KiB
HTML
<!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Web Browser Web View (HTML): DocType</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor=#FFDEAD TEXT=#000000>
|
|
|
|
<h1><font color=teal>Functional Test<br>Web Browser: Web View (HTML)</font></h1>
|
|
|
|
<p>
|
|
|
|
<font color=teal size=+2><b>Tables</b></font>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<b><i>Objective</i></b>: Tests the Simple HTML Table Model.
|
|
|
|
<p>
|
|
|
|
<b><i>Syntax</i></b>: The Simple Table Model is the table model that most browsers currently support.
|
|
|
|
The model is from the HTML 3.2 Draft specifications which describes tables in terms of table cells
|
|
|
|
grouped into row-based cell layouts.
|
|
|
|
<p>
|
|
|
|
Based on the simple table model, you can create a wide variety of tables with only five tags:
|
|
|
|
<ol>
|
|
|
|
<li>the <b><TABLE></b> tag, which encapsulates a table and its elements in the HTML document's body content;</li>
|
|
|
|
<li>the <b><TR></b> tag, which defines a table row;</li>
|
|
|
|
<li>the <b><TH></b> tag, which define the table header;</li>
|
|
|
|
<li>the <b><TD></b> tag, which define the table data cell;</li>
|
|
|
|
<li>the <b><CAPTION></b> tag, which defines a table title (caption);
|
|
|
|
</ol>
|
|
|
|
Each tag has one or more required and optional attributes, some of which affect not only the tag itself, but related tags.
|
|
|
|
<p>
|
|
|
|
<b><i>Procedure</i></b>: Click each <font color=#0000FF>link</font> in the <b>Special Case</b> column to verify that the expected results match the resulting display.
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<!-- ********************** Functional Test Cases ************************** -->
|
|
|
|
<p>
|
|
|
|
<center>
|
|
|
|
<table border=1 bgcolor=lemonchiffon cellpadding=7 width=90%>
|
|
|
|
<tr>
|
|
|
|
<th width=20%>Special Case</th><th>Expected Results</th>
|
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td valign=top><a href="wf_table_bgcolor.html">Table with background color</a></td>
|
|
|
|
|
|
|
|
<td><li type=square>Verify what happens when you use the Edit|Preferences|Appearance|Color checkbox.</li></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td valign=top><a href="wf_table_mixed_widths.html">Table with Mixed Widths</a></td>
|
|
|
|
<td><li type=square>Verify what happens when you have mixed <b>absolute</b> and <b>relative</b> table cell widths?.</li></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign=top><a href="wf_table_large.html">Large Table</a></td>
|
|
<td><li type=square>Verify that you can load a table with a large number of rows & columns.</li></td>
|
|
</tr>
|
|
|
|
<tr><td valign=top><a href="../charstyles/wf_charstyles_tables.html">Character Styles inside Tables</a></td>
|
|
<td><li type=square>Verify that tables can contain character styles.<font color=teal><b>[from Character Styles Functional Test Case]</b></font></li></td>
|
|
</tr>
|
|
<tr>
|
|
|
|
<td valign=top><a href="../images/wf_images_in_table.html">Images inside Tables</a></td> <td><li type=square>Verify that images can be contained inside tables.<font color=teal><b>[from Image Functional Test Case]</b></font></li></td> </tr>
|
|
|
|
<tr><td><a href="../multicol/wf_multicol_table.html">Multicolumns inside a Table</a></td> <td><li type=square>Verify that multicolumns can be contained inside a table.<font color=teal><b>[from Multicolumn Functional Test Case]</b></font></li></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="wf_table_with_plug-in.html">Table with Plug-ins</a></td>
|
|
<td><li type=square>Verify that multimedia plug-ins can be contained inside a table.</li></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><a href="wf_table_nests.html">Nested Tables</a></td>
|
|
|
|
<td><li type=square>Verify that tables can be nested inside other tables.</li></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td><a href="wf_table_crash.html">Invalid Table Tags</a></td>
|
|
|
|
<td><li type=square>Verify that table will NOT crash when closing table tags were missing.</li></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a href="wf_img_overlap_tbl.html">Image/table overlapping</a></td>
|
|
|
|
<td><li type=square>Verify that Image and table text should NOT co-exist in the same space.</li></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<br>
|
|
|
|
<center>
|
|
|
|
<table bgcolor=pink border=2 cellspacing=3 cellpadding=5>
|
|
|
|
<tr>
|
|
<td><font size=-1>
|
|
<a href="../wf_body_index.html"><img width=9 height=11 ALIGN=bottom src="pics/red_arrow_l.gif" alt="" border=0> back to Body</a><br>
|
|
</font>
|
|
</td>
|
|
<td><font size=-1>
|
|
<a href="../../../../lf_testspec.html"><img width=9 height=11 align=bottom src="pics/red_arrow_l.gif" alt="" border=0> back to Functional Test Suite</a>
|
|
</font>
|
|
</td>
|
|
<td><font size=-1>
|
|
<a href="../../wf_html_index.html"><img width=9 height=11 align=bottom src="pics/red_arrow_l.gif" alt="" border=0> back to Tag Index</a>
|
|
</font>
|
|
</td>
|
|
<td bgcolor=navajowhite> </td>
|
|
<td bgcolor=lightcoral><font size=-1>
|
|
<a href="wa_table_index.html"><img width=9 height=11 align=bottom src="pics/red_arrow_l.gif" alt="" border=0> back to Acceptance Test</a>
|
|
</font>
|
|
</td>
|
|
</td>
|
|
<td bgcolor=plum><font size=-1>
|
|
<a href="ws_table_index.html"><img width=9 height=11 align=bottom src="pics/red_arrow_r.gif" alt="" border=0> on to Stress Test</a>
|
|
</font>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<img width=13 height=13 src="../images/raptor.jpg"> Created 5/13/96 by <a href="mailto:ronaldg@netscape.com">Ronald Greti</a><br>
|
|
|
|
<img width=13 height=13 src="../images/raptor.jpg"> Modified 11/03/96 by <a href="mailto:ronaldg@netscape.com">Ronald Greti</a><br>
|
|
|
|
<img width=13 height=13 src="../images/raptor.jpg"> Modified 12/08/96 by <a href="mailto:robw@netscape.com">Robert Wehrfritz</a><br>
|
|
|
|
<img width=13 height=13 src="../images/raptor.jpg"> Modified 03/04/97 by <a href="mailto:chitra@netscape.com">Chitra Natarajan</a><br>
|
|
|
|
<img width=13 height=13 src="../images/raptor.jpg"> Modified 1/13/98 by <a href="mailto:chitra@netscape.com">Fenella Gor</a><br>
|
|
|
|
<p>
|
|
|
|
<br><p>
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
-
|
|
- 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 table tests.
|
|
|
|
- The Initial Developer of the Original Code is
|
|
- Netscape Communications Corp.
|
|
- Portions created by the Initial Developer are Copyright (C) 1996
|
|
- the Initial Developer. All Rights Reserved.
|
|
-
|
|
- Contributor(s):
|
|
-
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
- and other provisions required by the LGPL or the GPL. If you do not delete
|
|
- the provisions above, a recipient may use your version of this file under
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
-
|
|
- ***** END LICENSE BLOCK ***** -->
|