blob: 7a8f5df77adaba7c0cc555e4d5be46bc17d3c951 [file] [log] [blame]
<!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
<html>
<head>
<title>Web Browser Web View (HTML): Table</title>
<meta name="GENERATOR" CONTENT="Mozilla/3.0 (Win95; I) [Netscape]">
</head>
<body bgcolor=#FFDEAD TEXT=#000000>
<h1><font color=#FF0000>Acceptance Test Case<br>Web Browser: Web View (HTML)</font></h1>
<p>
<font color="#FF0000" size=+2><b>Table: &lt;TH&gt; &amp; &lt;TD&gt; ROWSPAN</b></font>
<hr>
This acceptance test case tests the optional <b>&lt;TH&gt;</b> &amp; <b>&lt;TD&gt;</b> tag <b>ROWSPAN</b> attribute which,
when placed in a table header or data tag, specifies how many rows the table header or data cell will span. The
<b>ROWSPAN</b> attribute is set to an integer value equal the number of rows the table header or data cell spans.
<p>
<b>Test Instructions:</b>
<ol>
<li>Verify that the sample text displays as stated in each of the following test cases:</li>
<p>
<table bgcolor=#F08080 cellpadding=7>
<tr>
<td><a href="wa_table_thtd_rowspan.html#TestCase_1">Test Case #1</a></td>
<td><font color=blue><b>table with header cells spanning multiple rows</b></font></td>
</tr>
<tr>
<td><a href="wa_table_thtd_rowspan.html#TestCase_2">Test Case #2</a></td>
<td><font color=blue><b>table with data cells spanning multiple rows</b></font></td>
</tr>
<tr>
<td><a href="wa_table_thtd_rowspan.html#TestCase_3">Test Case #3</a></td>
<td><font color=blue><b>table with nested header & data cells spanning multiple rows</b></font></td>
</tr>
</table>
<p>
<li>Verify that the table is maintained when you <b>minimize/maximize</b> the screen.</li>
<li>Verify that the table is maintained when you <b>re-size left & right</b> the screen.</li>
<li>Verify that the table is maintained when you <b>re-size top & bottom</b> the screen.</li>
<li>Verify re-draw takes place correctly after maximizing the screen.</li>
<li>Verify reload works.</li>
</ol>
<hr>
<p>
<table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
<tr align=left><th>
<A NAME="TestCase_1"></A>Test Case #1: <font color=blue>table with header cells spanning multiple rows</font>
<font size=-1><i>(using &ltTH ROWSPAN=integer value&gt tag)</i></font>
</th></tr>
</table>
<p>
<br>
<table border bgcolor=#FFD700 cellpadding=10 width=90%>
<tr><td><font color="FF0000"><b>In the following sample table you should see that the <font color=blue>ROWSPAN</font>
attribute applies an integer value equal to the number of rows the <font color=blue>HEADER</font> cell is to span. This
tells the browser to make the table header cell occupy the same vertical space as the integer number of cells specified in rows
above or below it. The browser flows the contents of the spanning cell to occupy the entire spanned space.
</font></td></tr>
</table>
<p><br><br>
<ul>
<table border width=65%>
<caption align=top>Table <b>Header Cells</b> spanning multiple rows</caption>
<tr>
<th rowspan=2 bgcolor=bisque>Header 1<br>span=2 rows</th>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<th rowspan=5 bgcolor=bisque>Header 2<br>span=5 rows</th>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr bgcolor=bisque>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th rowspan=3 bgcolor=bisque>Header 3<br>span=3 rows</th>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
</table>
</ul>
<p>
<hr>
<p>
<table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
<tr align=left><th>
<A NAME="TestCase_2"></A>Test Case #2: <font color=blue>table with data cells spanning multiple rows</font>
<font size=-1><i>(using &ltTD ROWSPAN=integer value&gt tag)</i></font>
</th></tr>
</table>
<p>
<br>
<table border bgcolor=#FFD700 cellpadding=10 width=90%>
<tr><td><font color="FF0000"><b>In the following sample table you should see that the <font color=blue>ROWSPAN</font>
attribute applies an integer value equal to the number of rows the <font color=blue>DATA</font> cell is to span. This
tells the browser to make the table data cell occupy the same vertical space as the integer number of cells specified in rows
above or below it. The browser flows the contents of the spanning cell to occupy the entire spanned space.
</font></td></tr>
</table>
<p><br><br>
<ul>
<table border width=65%>
<caption align=top>Table <b>Data Cells</b> spanning multiple rows</caption>
<tr>
<th bgcolor=violet>Head</th>
<td rowspan=2 bgcolor=lemonchiffon>Data 1<br>span=2 rows</td>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<th bgcolor=violet>Head</th>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<th bgcolor=lightgreen>Head</th>
<td rowspan=5 bgcolor=lemonchiffon>Data 2<br>span=5 rows</td>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th bgcolor=lightgreen>Head</th>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th bgcolor=lightgreen>Head</th>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th bgcolor=lightgreen>Head</th>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th bgcolor=lightgreen>Head</th>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th bgcolor=lightblue>Head</th>
<td rowspan=3 bgcolor=lemonchiffon>Data 3<br>span=3 rows</td>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<th bgcolor=lightblue>Head</th>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<th bgcolor=lightblue>Head</th>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
</table>
</ul>
<p>
<hr>
<p>
<table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
<tr align=left><th>
<A NAME="TestCase_3"></A>Test Case #3: <font color=blue>table with nested header & data cells spanning multiple rows</font>
<font size=-1><i>(using &ltTH ROWSPAN=integer value&gt &ltTD ROWSPAN=integer value&gt tag)</i></font>
</th></tr>
</table>
<p><br><br>
<ul>
<table border width=65%>
<caption align=top>Nested Table <b>Header Cells</b> &amp; <b>Data Cells</b> spanning multiple rows</caption>
<tr>
<th rowspan=7 bgcolor=bisque>Header 1<br>span=7 rows</td>
<td rowspan=2 bgcolor=lemonchiffon>Data 1<br>span=2 rows</td>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<td bgcolor=violet>col 1</td>
<td bgcolor=violet>col 2</td>
<td bgcolor=violet>col 3</td>
<td bgcolor=violet>col 4</td>
<td bgcolor=violet>col 5</td>
<td bgcolor=violet>col 6</td>
<td bgcolor=violet>col 7</td>
<td bgcolor=violet>col 8</td>
<td bgcolor=violet>col 9</td>
</tr>
<tr>
<td rowspan=5 bgcolor=lemonchiffon>Data 2<br>span=5 rows</td>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<td bgcolor=lightgreen>col 1</td>
<td bgcolor=lightgreen>col 2</td>
<td bgcolor=lightgreen>col 3</td>
<td bgcolor=lightgreen>col 4</td>
<td bgcolor=lightgreen>col 5</td>
<td bgcolor=lightgreen>col 6</td>
<td bgcolor=lightgreen>col 7</td>
<td bgcolor=lightgreen>col 8</td>
<td bgcolor=lightgreen>col 9</td>
</tr>
<tr>
<th rowspan=3 bgcolor=bisque>Header 2<br>span=3 rows</td>
<td rowspan=3 bgcolor=lemonchiffon>Data 3<br>span=3 rows</td>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
<tr>
<td bgcolor=lightblue>col 1</td>
<td bgcolor=lightblue>col 2</td>
<td bgcolor=lightblue>col 3</td>
<td bgcolor=lightblue>col 4</td>
<td bgcolor=lightblue>col 5</td>
<td bgcolor=lightblue>col 6</td>
<td bgcolor=lightblue>col 7</td>
<td bgcolor=lightblue>col 8</td>
<td bgcolor=lightblue>col 9</td>
</tr>
</table>
</ul>
<p>
<hr>
<img width=13 height=13 src="../images/raptor.jpg"> Created 9/19/96 by <a href="mailto:ronaldg@netscape.com">Ronald Greti</a><br>
<p>
<br>
<!-- ***** 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 ***** -->
</body>
</html>