Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / other / wa_table_thtd_rowspan.html
blob7a8f5df77adaba7c0cc555e4d5be46bc17d3c951
1 <!doctype HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft//EN">
3 <html>
5 <head>
7 <title>Web Browser Web View (HTML): Table</title>
9 <meta name="GENERATOR" CONTENT="Mozilla/3.0 (Win95; I) [Netscape]">
11 </head>
15 <body bgcolor=#FFDEAD TEXT=#000000>
17 <h1><font color=#FF0000>Acceptance Test Case<br>Web Browser: Web View (HTML)</font></h1>
19 <p>
21 <font color="#FF0000" size=+2><b>Table: &lt;TH&gt; &amp; &lt;TD&gt; ROWSPAN</b></font>
25 <hr>
27 This acceptance test case tests the optional <b>&lt;TH&gt;</b> &amp; <b>&lt;TD&gt;</b> tag <b>ROWSPAN</b> attribute which,
29 when placed in a table header or data tag, specifies how many rows the table header or data cell will span. The
31 <b>ROWSPAN</b> attribute is set to an integer value equal the number of rows the table header or data cell spans.
33 <p>
35 <b>Test Instructions:</b>
37 <ol>
39 <li>Verify that the sample text displays as stated in each of the following test cases:</li>
41 <p>
43 <table bgcolor=#F08080 cellpadding=7>
45 <tr>
47 <td><a href="wa_table_thtd_rowspan.html#TestCase_1">Test Case #1</a></td>
49 <td><font color=blue><b>table with header cells spanning multiple rows</b></font></td>
51 </tr>
53 <tr>
55 <td><a href="wa_table_thtd_rowspan.html#TestCase_2">Test Case #2</a></td>
57 <td><font color=blue><b>table with data cells spanning multiple rows</b></font></td>
59 </tr>
61 <tr>
63 <td><a href="wa_table_thtd_rowspan.html#TestCase_3">Test Case #3</a></td>
65 <td><font color=blue><b>table with nested header & data cells spanning multiple rows</b></font></td>
67 </tr>
69 </table>
71 <p>
73 <li>Verify that the table is maintained when you <b>minimize/maximize</b> the screen.</li>
75 <li>Verify that the table is maintained when you <b>re-size left & right</b> the screen.</li>
77 <li>Verify that the table is maintained when you <b>re-size top & bottom</b> the screen.</li>
79 <li>Verify re-draw takes place correctly after maximizing the screen.</li>
81 <li>Verify reload works.</li>
83 </ol>
87 <hr>
89 <p>
91 <table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
93 <tr align=left><th>
95 <A NAME="TestCase_1"></A>Test Case #1: <font color=blue>table with header cells spanning multiple rows</font>
97 <font size=-1><i>(using &ltTH ROWSPAN=integer value&gt tag)</i></font>
99 </th></tr>
101 </table>
105 <br>
107 <table border bgcolor=#FFD700 cellpadding=10 width=90%>
109 <tr><td><font color="FF0000"><b>In the following sample table you should see that the <font color=blue>ROWSPAN</font>
111 attribute applies an integer value equal to the number of rows the <font color=blue>HEADER</font> cell is to span. This
113 tells the browser to make the table header cell occupy the same vertical space as the integer number of cells specified in rows
115 above or below it. The browser flows the contents of the spanning cell to occupy the entire spanned space.
117 </font></td></tr>
119 </table>
123 <p><br><br>
125 <ul>
127 <table border width=65%>
129 <caption align=top>Table <b>Header Cells</b> spanning multiple rows</caption>
131 <tr>
133 <th rowspan=2 bgcolor=bisque>Header 1<br>span=2 rows</th>
135 <td bgcolor=violet>col 1</td>
137 <td bgcolor=violet>col 2</td>
139 <td bgcolor=violet>col 3</td>
141 <td bgcolor=violet>col 4</td>
143 <td bgcolor=violet>col 5</td>
145 <td bgcolor=violet>col 6</td>
147 <td bgcolor=violet>col 7</td>
149 <td bgcolor=violet>col 8</td>
151 <td bgcolor=violet>col 9</td>
153 </tr>
155 <tr>
157 <td bgcolor=violet>col 1</td>
159 <td bgcolor=violet>col 2</td>
161 <td bgcolor=violet>col 3</td>
163 <td bgcolor=violet>col 4</td>
165 <td bgcolor=violet>col 5</td>
167 <td bgcolor=violet>col 6</td>
169 <td bgcolor=violet>col 7</td>
171 <td bgcolor=violet>col 8</td>
173 <td bgcolor=violet>col 9</td>
175 </tr>
177 <tr>
179 <th rowspan=5 bgcolor=bisque>Header 2<br>span=5 rows</th>
181 <td bgcolor=lightgreen>col 1</td>
183 <td bgcolor=lightgreen>col 2</td>
185 <td bgcolor=lightgreen>col 3</td>
187 <td bgcolor=lightgreen>col 4</td>
189 <td bgcolor=lightgreen>col 5</td>
191 <td bgcolor=lightgreen>col 6</td>
193 <td bgcolor=lightgreen>col 7</td>
195 <td bgcolor=lightgreen>col 8</td>
197 <td bgcolor=lightgreen>col 9</td>
199 </tr>
201 <tr>
203 <td bgcolor=lightgreen>col 1</td>
205 <td bgcolor=lightgreen>col 2</td>
207 <td bgcolor=lightgreen>col 3</td>
209 <td bgcolor=lightgreen>col 4</td>
211 <td bgcolor=lightgreen>col 5</td>
213 <td bgcolor=lightgreen>col 6</td>
215 <td bgcolor=lightgreen>col 7</td>
217 <td bgcolor=lightgreen>col 8</td>
219 <td bgcolor=lightgreen>col 9</td>
221 </tr>
223 <tr bgcolor=bisque>
225 <td bgcolor=lightgreen>col 1</td>
227 <td bgcolor=lightgreen>col 2</td>
229 <td bgcolor=lightgreen>col 3</td>
231 <td bgcolor=lightgreen>col 4</td>
233 <td bgcolor=lightgreen>col 5</td>
235 <td bgcolor=lightgreen>col 6</td>
237 <td bgcolor=lightgreen>col 7</td>
239 <td bgcolor=lightgreen>col 8</td>
241 <td bgcolor=lightgreen>col 9</td>
243 </tr>
245 <tr>
247 <td bgcolor=lightgreen>col 1</td>
249 <td bgcolor=lightgreen>col 2</td>
251 <td bgcolor=lightgreen>col 3</td>
253 <td bgcolor=lightgreen>col 4</td>
255 <td bgcolor=lightgreen>col 5</td>
257 <td bgcolor=lightgreen>col 6</td>
259 <td bgcolor=lightgreen>col 7</td>
261 <td bgcolor=lightgreen>col 8</td>
263 <td bgcolor=lightgreen>col 9</td>
265 </tr>
267 <tr>
269 <td bgcolor=lightgreen>col 1</td>
271 <td bgcolor=lightgreen>col 2</td>
273 <td bgcolor=lightgreen>col 3</td>
275 <td bgcolor=lightgreen>col 4</td>
277 <td bgcolor=lightgreen>col 5</td>
279 <td bgcolor=lightgreen>col 6</td>
281 <td bgcolor=lightgreen>col 7</td>
283 <td bgcolor=lightgreen>col 8</td>
285 <td bgcolor=lightgreen>col 9</td>
287 </tr>
289 <tr>
291 <th rowspan=3 bgcolor=bisque>Header 3<br>span=3 rows</th>
293 <td bgcolor=lightblue>col 1</td>
295 <td bgcolor=lightblue>col 2</td>
297 <td bgcolor=lightblue>col 3</td>
299 <td bgcolor=lightblue>col 4</td>
301 <td bgcolor=lightblue>col 5</td>
303 <td bgcolor=lightblue>col 6</td>
305 <td bgcolor=lightblue>col 7</td>
307 <td bgcolor=lightblue>col 8</td>
309 <td bgcolor=lightblue>col 9</td>
311 </tr>
313 <tr>
315 <td bgcolor=lightblue>col 1</td>
317 <td bgcolor=lightblue>col 2</td>
319 <td bgcolor=lightblue>col 3</td>
321 <td bgcolor=lightblue>col 4</td>
323 <td bgcolor=lightblue>col 5</td>
325 <td bgcolor=lightblue>col 6</td>
327 <td bgcolor=lightblue>col 7</td>
329 <td bgcolor=lightblue>col 8</td>
331 <td bgcolor=lightblue>col 9</td>
333 </tr>
335 <tr>
337 <td bgcolor=lightblue>col 1</td>
339 <td bgcolor=lightblue>col 2</td>
341 <td bgcolor=lightblue>col 3</td>
343 <td bgcolor=lightblue>col 4</td>
345 <td bgcolor=lightblue>col 5</td>
347 <td bgcolor=lightblue>col 6</td>
349 <td bgcolor=lightblue>col 7</td>
351 <td bgcolor=lightblue>col 8</td>
353 <td bgcolor=lightblue>col 9</td>
355 </tr>
357 </table>
359 </ul>
365 <hr>
369 <table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
371 <tr align=left><th>
373 <A NAME="TestCase_2"></A>Test Case #2: <font color=blue>table with data cells spanning multiple rows</font>
375 <font size=-1><i>(using &ltTD ROWSPAN=integer value&gt tag)</i></font>
377 </th></tr>
379 </table>
383 <br>
385 <table border bgcolor=#FFD700 cellpadding=10 width=90%>
387 <tr><td><font color="FF0000"><b>In the following sample table you should see that the <font color=blue>ROWSPAN</font>
389 attribute applies an integer value equal to the number of rows the <font color=blue>DATA</font> cell is to span. This
391 tells the browser to make the table data cell occupy the same vertical space as the integer number of cells specified in rows
393 above or below it. The browser flows the contents of the spanning cell to occupy the entire spanned space.
395 </font></td></tr>
397 </table>
401 <p><br><br>
403 <ul>
405 <table border width=65%>
407 <caption align=top>Table <b>Data Cells</b> spanning multiple rows</caption>
409 <tr>
411 <th bgcolor=violet>Head</th>
413 <td rowspan=2 bgcolor=lemonchiffon>Data 1<br>span=2 rows</td>
415 <td bgcolor=violet>col 1</td>
417 <td bgcolor=violet>col 2</td>
419 <td bgcolor=violet>col 3</td>
421 <td bgcolor=violet>col 4</td>
423 <td bgcolor=violet>col 5</td>
425 <td bgcolor=violet>col 6</td>
427 <td bgcolor=violet>col 7</td>
429 <td bgcolor=violet>col 8</td>
431 <td bgcolor=violet>col 9</td>
433 </tr>
435 <tr>
437 <th bgcolor=violet>Head</th>
439 <td bgcolor=violet>col 1</td>
441 <td bgcolor=violet>col 2</td>
443 <td bgcolor=violet>col 3</td>
445 <td bgcolor=violet>col 4</td>
447 <td bgcolor=violet>col 5</td>
449 <td bgcolor=violet>col 6</td>
451 <td bgcolor=violet>col 7</td>
453 <td bgcolor=violet>col 8</td>
455 <td bgcolor=violet>col 9</td>
457 </tr>
459 <tr>
461 <th bgcolor=lightgreen>Head</th>
463 <td rowspan=5 bgcolor=lemonchiffon>Data 2<br>span=5 rows</td>
465 <td bgcolor=lightgreen>col 1</td>
467 <td bgcolor=lightgreen>col 2</td>
469 <td bgcolor=lightgreen>col 3</td>
471 <td bgcolor=lightgreen>col 4</td>
473 <td bgcolor=lightgreen>col 5</td>
475 <td bgcolor=lightgreen>col 6</td>
477 <td bgcolor=lightgreen>col 7</td>
479 <td bgcolor=lightgreen>col 8</td>
481 <td bgcolor=lightgreen>col 9</td>
483 </tr>
485 <tr>
487 <th bgcolor=lightgreen>Head</th>
489 <td bgcolor=lightgreen>col 1</td>
491 <td bgcolor=lightgreen>col 2</td>
493 <td bgcolor=lightgreen>col 3</td>
495 <td bgcolor=lightgreen>col 4</td>
497 <td bgcolor=lightgreen>col 5</td>
499 <td bgcolor=lightgreen>col 6</td>
501 <td bgcolor=lightgreen>col 7</td>
503 <td bgcolor=lightgreen>col 8</td>
505 <td bgcolor=lightgreen>col 9</td>
507 </tr>
509 <tr>
511 <th bgcolor=lightgreen>Head</th>
513 <td bgcolor=lightgreen>col 1</td>
515 <td bgcolor=lightgreen>col 2</td>
517 <td bgcolor=lightgreen>col 3</td>
519 <td bgcolor=lightgreen>col 4</td>
521 <td bgcolor=lightgreen>col 5</td>
523 <td bgcolor=lightgreen>col 6</td>
525 <td bgcolor=lightgreen>col 7</td>
527 <td bgcolor=lightgreen>col 8</td>
529 <td bgcolor=lightgreen>col 9</td>
531 </tr>
533 <tr>
535 <th bgcolor=lightgreen>Head</th>
537 <td bgcolor=lightgreen>col 1</td>
539 <td bgcolor=lightgreen>col 2</td>
541 <td bgcolor=lightgreen>col 3</td>
543 <td bgcolor=lightgreen>col 4</td>
545 <td bgcolor=lightgreen>col 5</td>
547 <td bgcolor=lightgreen>col 6</td>
549 <td bgcolor=lightgreen>col 7</td>
551 <td bgcolor=lightgreen>col 8</td>
553 <td bgcolor=lightgreen>col 9</td>
555 </tr>
557 <tr>
559 <th bgcolor=lightgreen>Head</th>
561 <td bgcolor=lightgreen>col 1</td>
563 <td bgcolor=lightgreen>col 2</td>
565 <td bgcolor=lightgreen>col 3</td>
567 <td bgcolor=lightgreen>col 4</td>
569 <td bgcolor=lightgreen>col 5</td>
571 <td bgcolor=lightgreen>col 6</td>
573 <td bgcolor=lightgreen>col 7</td>
575 <td bgcolor=lightgreen>col 8</td>
577 <td bgcolor=lightgreen>col 9</td>
579 </tr>
581 <tr>
583 <th bgcolor=lightblue>Head</th>
585 <td rowspan=3 bgcolor=lemonchiffon>Data 3<br>span=3 rows</td>
587 <td bgcolor=lightblue>col 1</td>
589 <td bgcolor=lightblue>col 2</td>
591 <td bgcolor=lightblue>col 3</td>
593 <td bgcolor=lightblue>col 4</td>
595 <td bgcolor=lightblue>col 5</td>
597 <td bgcolor=lightblue>col 6</td>
599 <td bgcolor=lightblue>col 7</td>
601 <td bgcolor=lightblue>col 8</td>
603 <td bgcolor=lightblue>col 9</td>
605 </tr>
607 <tr>
609 <th bgcolor=lightblue>Head</th>
611 <td bgcolor=lightblue>col 1</td>
613 <td bgcolor=lightblue>col 2</td>
615 <td bgcolor=lightblue>col 3</td>
617 <td bgcolor=lightblue>col 4</td>
619 <td bgcolor=lightblue>col 5</td>
621 <td bgcolor=lightblue>col 6</td>
623 <td bgcolor=lightblue>col 7</td>
625 <td bgcolor=lightblue>col 8</td>
627 <td bgcolor=lightblue>col 9</td>
629 </tr>
631 <tr>
633 <th bgcolor=lightblue>Head</th>
635 <td bgcolor=lightblue>col 1</td>
637 <td bgcolor=lightblue>col 2</td>
639 <td bgcolor=lightblue>col 3</td>
641 <td bgcolor=lightblue>col 4</td>
643 <td bgcolor=lightblue>col 5</td>
645 <td bgcolor=lightblue>col 6</td>
647 <td bgcolor=lightblue>col 7</td>
649 <td bgcolor=lightblue>col 8</td>
651 <td bgcolor=lightblue>col 9</td>
653 </tr>
655 </table>
657 </ul>
663 <hr>
667 <table border=1 bgcolor=lightcoral cellpadding=10 width=85%>
669 <tr align=left><th>
671 <A NAME="TestCase_3"></A>Test Case #3: <font color=blue>table with nested header & data cells spanning multiple rows</font>
673 <font size=-1><i>(using &ltTH ROWSPAN=integer value&gt &ltTD ROWSPAN=integer value&gt tag)</i></font>
675 </th></tr>
677 </table>
681 <p><br><br>
683 <ul>
685 <table border width=65%>
687 <caption align=top>Nested Table <b>Header Cells</b> &amp; <b>Data Cells</b> spanning multiple rows</caption>
689 <tr>
691 <th rowspan=7 bgcolor=bisque>Header 1<br>span=7 rows</td>
693 <td rowspan=2 bgcolor=lemonchiffon>Data 1<br>span=2 rows</td>
695 <td bgcolor=violet>col 1</td>
697 <td bgcolor=violet>col 2</td>
699 <td bgcolor=violet>col 3</td>
701 <td bgcolor=violet>col 4</td>
703 <td bgcolor=violet>col 5</td>
705 <td bgcolor=violet>col 6</td>
707 <td bgcolor=violet>col 7</td>
709 <td bgcolor=violet>col 8</td>
711 <td bgcolor=violet>col 9</td>
713 </tr>
715 <tr>
717 <td bgcolor=violet>col 1</td>
719 <td bgcolor=violet>col 2</td>
721 <td bgcolor=violet>col 3</td>
723 <td bgcolor=violet>col 4</td>
725 <td bgcolor=violet>col 5</td>
727 <td bgcolor=violet>col 6</td>
729 <td bgcolor=violet>col 7</td>
731 <td bgcolor=violet>col 8</td>
733 <td bgcolor=violet>col 9</td>
735 </tr>
737 <tr>
739 <td rowspan=5 bgcolor=lemonchiffon>Data 2<br>span=5 rows</td>
741 <td bgcolor=lightgreen>col 1</td>
743 <td bgcolor=lightgreen>col 2</td>
745 <td bgcolor=lightgreen>col 3</td>
747 <td bgcolor=lightgreen>col 4</td>
749 <td bgcolor=lightgreen>col 5</td>
751 <td bgcolor=lightgreen>col 6</td>
753 <td bgcolor=lightgreen>col 7</td>
755 <td bgcolor=lightgreen>col 8</td>
757 <td bgcolor=lightgreen>col 9</td>
759 </tr>
761 <tr>
763 <td bgcolor=lightgreen>col 1</td>
765 <td bgcolor=lightgreen>col 2</td>
767 <td bgcolor=lightgreen>col 3</td>
769 <td bgcolor=lightgreen>col 4</td>
771 <td bgcolor=lightgreen>col 5</td>
773 <td bgcolor=lightgreen>col 6</td>
775 <td bgcolor=lightgreen>col 7</td>
777 <td bgcolor=lightgreen>col 8</td>
779 <td bgcolor=lightgreen>col 9</td>
781 </tr>
783 <tr>
785 <td bgcolor=lightgreen>col 1</td>
787 <td bgcolor=lightgreen>col 2</td>
789 <td bgcolor=lightgreen>col 3</td>
791 <td bgcolor=lightgreen>col 4</td>
793 <td bgcolor=lightgreen>col 5</td>
795 <td bgcolor=lightgreen>col 6</td>
797 <td bgcolor=lightgreen>col 7</td>
799 <td bgcolor=lightgreen>col 8</td>
801 <td bgcolor=lightgreen>col 9</td>
803 </tr>
805 <tr>
807 <td bgcolor=lightgreen>col 1</td>
809 <td bgcolor=lightgreen>col 2</td>
811 <td bgcolor=lightgreen>col 3</td>
813 <td bgcolor=lightgreen>col 4</td>
815 <td bgcolor=lightgreen>col 5</td>
817 <td bgcolor=lightgreen>col 6</td>
819 <td bgcolor=lightgreen>col 7</td>
821 <td bgcolor=lightgreen>col 8</td>
823 <td bgcolor=lightgreen>col 9</td>
825 </tr>
827 <tr>
829 <td bgcolor=lightgreen>col 1</td>
831 <td bgcolor=lightgreen>col 2</td>
833 <td bgcolor=lightgreen>col 3</td>
835 <td bgcolor=lightgreen>col 4</td>
837 <td bgcolor=lightgreen>col 5</td>
839 <td bgcolor=lightgreen>col 6</td>
841 <td bgcolor=lightgreen>col 7</td>
843 <td bgcolor=lightgreen>col 8</td>
845 <td bgcolor=lightgreen>col 9</td>
847 </tr>
849 <tr>
851 <th rowspan=3 bgcolor=bisque>Header 2<br>span=3 rows</td>
853 <td rowspan=3 bgcolor=lemonchiffon>Data 3<br>span=3 rows</td>
855 <td bgcolor=lightblue>col 1</td>
857 <td bgcolor=lightblue>col 2</td>
859 <td bgcolor=lightblue>col 3</td>
861 <td bgcolor=lightblue>col 4</td>
863 <td bgcolor=lightblue>col 5</td>
865 <td bgcolor=lightblue>col 6</td>
867 <td bgcolor=lightblue>col 7</td>
869 <td bgcolor=lightblue>col 8</td>
871 <td bgcolor=lightblue>col 9</td>
873 </tr>
875 <tr>
877 <td bgcolor=lightblue>col 1</td>
879 <td bgcolor=lightblue>col 2</td>
881 <td bgcolor=lightblue>col 3</td>
883 <td bgcolor=lightblue>col 4</td>
885 <td bgcolor=lightblue>col 5</td>
887 <td bgcolor=lightblue>col 6</td>
889 <td bgcolor=lightblue>col 7</td>
891 <td bgcolor=lightblue>col 8</td>
893 <td bgcolor=lightblue>col 9</td>
895 </tr>
897 <tr>
899 <td bgcolor=lightblue>col 1</td>
901 <td bgcolor=lightblue>col 2</td>
903 <td bgcolor=lightblue>col 3</td>
905 <td bgcolor=lightblue>col 4</td>
907 <td bgcolor=lightblue>col 5</td>
909 <td bgcolor=lightblue>col 6</td>
911 <td bgcolor=lightblue>col 7</td>
913 <td bgcolor=lightblue>col 8</td>
915 <td bgcolor=lightblue>col 9</td>
917 </tr>
919 </table>
921 </ul>
926 <p>
928 <hr>
930 <img width=13 height=13 src="../images/raptor.jpg"> Created 9/19/96 by <a href="mailto:ronaldg@netscape.com">Ronald Greti</a><br>
934 <br>
936 <!-- ***** BEGIN LICENSE BLOCK *****
937 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
939 - The contents of this file are subject to the Mozilla Public License Version
940 - 1.1 (the "License"); you may not use this file except in compliance with
941 - the License. You may obtain a copy of the License at
942 - http://www.mozilla.org/MPL/
944 - Software distributed under the License is distributed on an "AS IS" basis,
945 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
946 - for the specific language governing rights and limitations under the
947 - License.
949 - The Original Code is table tests.
951 - The Initial Developer of the Original Code is
952 - Netscape Communications Corp.
953 - Portions created by the Initial Developer are Copyright (C) 1996
954 - the Initial Developer. All Rights Reserved.
956 - Contributor(s):
958 - Alternatively, the contents of this file may be used under the terms of
959 - either the GNU General Public License Version 2 or later (the "GPL"), or
960 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
961 - in which case the provisions of the GPL or the LGPL are applicable instead
962 - of those above. If you wish to allow use of your version of this file only
963 - under the terms of either the GPL or the LGPL, and not to allow others to
964 - use your version of this file under the terms of the MPL, indicate your
965 - decision by deleting the provisions above and replace them with the notice
966 - and other provisions required by the LGPL or the GPL. If you do not delete
967 - the provisions above, a recipient may use your version of this file under
968 - the terms of any one of the MPL, the GPL or the LGPL.
970 - ***** END LICENSE BLOCK ***** -->
972 </body>
974 </html>