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

« back to all changes in this revision

Viewing changes to mozilla/layout/html/tests/table/marvin/tables_caption_align_left.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
<!-- test case: tables_caption_align_left.html -->
 
8
 
 
9
<!-- description: HTML 4.0 TABLE element/CAPTION attribute --> 
 
10
 
 
11
<!-- Author: Christine Dreckman Date: 1/11/99 -->
 
12
 
 
13
<!-- Modified: Christine Dreckman Date: 2/16/99 -->
 
14
 
 
15
 
 
16
<!-- ***** BEGIN LICENSE BLOCK *****
 
17
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
18
   -
 
19
   - The contents of this file are subject to the Mozilla Public License Version
 
20
   - 1.1 (the "License"); you may not use this file except in compliance with
 
21
   - the License. You may obtain a copy of the License at
 
22
   - http://www.mozilla.org/MPL/
 
23
   -
 
24
   - Software distributed under the License is distributed on an "AS IS" basis,
 
25
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
26
   - for the specific language governing rights and limitations under the
 
27
   - License.
 
28
   -
 
29
   - The Original Code is table layout tests.
 
30
   -
 
31
   - The Initial Developer of the Original Code is
 
32
   - Netscape Communications Corp.
 
33
   - Portions created by the Initial Developer are Copyright (C) 1999
 
34
   - the Initial Developer. All Rights Reserved.
 
35
   -
 
36
   - Contributor(s):
 
37
   -
 
38
   - Alternatively, the contents of this file may be used under the terms of
 
39
   - either the GNU General Public License Version 2 or later (the "GPL"), or
 
40
   - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
41
   - in which case the provisions of the GPL or the LGPL are applicable instead
 
42
   - of those above. If you wish to allow use of your version of this file only
 
43
   - under the terms of either the GPL or the LGPL, and not to allow others to
 
44
   - use your version of this file under the terms of the MPL, indicate your
 
45
   - decision by deleting the provisions above and replace them with the notice
 
46
   - and other provisions required by the LGPL or the GPL. If you do not delete
 
47
   - the provisions above, a recipient may use your version of this file under
 
48
   - the terms of any one of the MPL, the GPL or the LGPL.
 
49
   -
 
50
   - ***** END LICENSE BLOCK ***** -->
 
51
 
 
52
<!-- Purpose: To test the CAPTION attribute of the TABLE element tag-->
 
53
 
 
54
<!-- Expected result: A table should be displayed with a left aligned caption -->
 
55
 
 
56
<title>tables_caption_align_left</title>
 
57
 
 
58
</head>
 
59
 
 
60
<body>
 
61
 
 
62
<p>The caption should be aligned at the left side of the top of the table.</p>
 
63
 
 
64
<table border=1>
 
65
 
 
66
<caption align=left>Wild Cats</caption>
 
67
 
 
68
<tr>
 
69
 
 
70
<td>Lion</td>
 
71
 
 
72
<td>Leopard</td>
 
73
 
 
74
<td>Cheetah</td>
 
75
 
 
76
</tr>
 
77
 
 
78
<tr>
 
79
 
 
80
<td>Jaguar</td>
 
81
 
 
82
<td>Bobcat</td>
 
83
 
 
84
<td>Ocelot</td>
 
85
 
 
86
</tr>
 
87
 
 
88
</table>
 
89
 
 
90
</body>
 
91
 
 
92
</html>
 
93
 
 
94
 
 
95
 
 
96
 
 
97
 
 
98
 
 
99
 
 
100
 
 
101
 
 
102
 
 
103
 
 
104
 
 
105
 
 
106
 
 
107
 
 
108
 
 
109
 
 
110
 
 
111
 
 
112
 
 
113
 
 
114
 
 
115
 
 
116
 
 
117
 
 
118
 
 
119
 
 
120
 
 
121
 
 
122
 
 
123
 
 
124
 
 
125
 
 
126
 
 
127
 
 
128
 
 
129
 
 
130
 
 
131
 
 
132
 
 
133
 
 
134
 
 
135
 
 
136
 
 
137
 
 
138
 
 
139