~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/marvin/tbody_align_center.html

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
 
2
 
 
3
<html>
 
4
 
 
5
<head>
 
6
 
 
7
<!-- testcase: tbody_align_center.html --> 
 
8
 
 
9
<!-- description: HTML 4.0 TBODY element/ALIGN-CENTER attribute --> 
 
10
 
 
11
<!-- Author: Christine Dreckman  Date: 1/13/99 -->
 
12
 
 
13
 
 
14
<!-- ***** BEGIN LICENSE BLOCK *****
 
15
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
16
   -
 
17
   - The contents of this file are subject to the Mozilla Public License Version
 
18
   - 1.1 (the "License"); you may not use this file except in compliance with
 
19
   - the License. You may obtain a copy of the License at
 
20
   - http://www.mozilla.org/MPL/
 
21
   -
 
22
   - Software distributed under the License is distributed on an "AS IS" basis,
 
23
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
24
   - for the specific language governing rights and limitations under the
 
25
   - License.
 
26
   -
 
27
   - The Original Code is table layout tests.
 
28
   -
 
29
   - The Initial Developer of the Original Code is
 
30
   - Netscape Communications Corp.
 
31
   - Portions created by the Initial Developer are Copyright (C) 1999
 
32
   - the Initial Developer. All Rights Reserved.
 
33
   -
 
34
   - Contributor(s):
 
35
   -
 
36
   - Alternatively, the contents of this file may be used under the terms of
 
37
   - either the GNU General Public License Version 2 or later (the "GPL"), or
 
38
   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
39
   - in which case the provisions of the GPL or the LGPL are applicable instead
 
40
   - of those above. If you wish to allow use of your version of this file only
 
41
   - under the terms of either the GPL or the LGPL, and not to allow others to
 
42
   - use your version of this file under the terms of the MPL, indicate your
 
43
   - decision by deleting the provisions above and replace them with the notice
 
44
   - and other provisions required by the LGPL or the GPL. If you do not delete
 
45
   - the provisions above, a recipient may use your version of this file under
 
46
   - the terms of any one of the MPL, the GPL or the LGPL.
 
47
   -
 
48
   - ***** END LICENSE BLOCK ***** -->
 
49
 
 
50
<!-- Purpose: To test the ALIGN-CENTER attribute of the TBODY element. -->
 
51
 
 
52
<!-- Expected result: The text in the TBODY section should be center aligned -->
 
53
 
 
54
<title>tbody_align_center</title>
 
55
 
 
56
</head>
 
57
 
 
58
 
 
59
 
 
60
<body>
 
61
 
 
62
<p>The TBODY element labels the body area of a table. In this test, the TBODY text should be center aligned.</p>
 
63
 
 
64
 
 
65
 
 
66
<table border>
 
67
 
 
68
<thead>
 
69
 
 
70
<tr>
 
71
 
 
72
<td>This text is in the THEADThis text is in the THEAD</td>
 
73
 
 
74
<td>This text is in the THEADThis text is in the THEAD</td>
 
75
 
 
76
</tr>
 
77
 
 
78
</thead>
 
79
 
 
80
<tfoot>
 
81
 
 
82
<tr>
 
83
 
 
84
<td>This text is in the TFOOTThis text is in the TFOOT</td>
 
85
 
 
86
<td>This text is in the TFOOTThis text is in the TFOOT</td>
 
87
 
 
88
</tr>
 
89
 
 
90
</tfoot>
 
91
 
 
92
<tbody align="center">
 
93
 
 
94
<tr>
 
95
 
 
96
<td>This text is in the TBODY</td>
 
97
 
 
98
<td>This text is in the TBODY</td>
 
99
 
 
100
</tr>
 
101
 
 
102
<tbody>
 
103
 
 
104
</table>
 
105
 
 
106
</body>
 
107
 
 
108
</html>