Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug1055-1.html
blob22b1044a4f43223cf573cc6708fa19b7e38390e2
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <HTML>
3 <HEAD>
4 <TITLE>CSS1 Test Suite: 5.5.1n border-*</TITLE>
5 <META http-equiv="Content-Style-Type" content="text/css">
6 </HEAD>
8 <BODY>
9 <br>
10 <hr>
11 <h3>border-top</h3>
12 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
13 <code>&lt;td&gt;</code> have <code>style="border-top: green 10px solid;"</code>.</p>
15 <TABLE cellspacing="5" border>
16 <TR>
17 <TD style="border-top: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green top border.
18 </TD>
19 </TR>
20 <TR>
21 <TD style="border-top: green 10px solid;">Cell one</TD><TD style="border-top: green 10px solid;">Cell two
22 <TABLE border><TR><TD style="border-top: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
23 </TD>
24 </TR>
25 </TABLE>
27 <br>
28 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
29 <code>&lt;td&gt;</code> have <code>style="border-top: green 10px solid;"</code>.</p>
31 <TABLE cellspacing="5">
32 <TR>
33 <TD style="border-top: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green top border.
34 </TD>
35 </TR>
36 <TR>
37 <TD style="border-top: green 10px solid;">Cell one</TD><TD style="border-top: green 10px solid;">Cell two
38 <TABLE><TR><TD style="border-top: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
39 </TD>
40 </TR>
41 </TABLE>
43 <br>
44 <hr>
45 <h3>border-right</h3>
46 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
47 <code>&lt;td&gt;</code> have <code>style="border-right: green 10px solid;"</code>.</p>
49 <TABLE cellspacing="5" border>
50 <TR>
51 <TD style="border-right: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green right border.
52 </TD>
53 </TR>
54 <TR>
55 <TD style="border-right: green 10px solid;">Cell one</TD><TD style="border-right: green 10px solid;">Cell two
56 <TABLE border><TR><TD style="border-right: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
57 </TD>
58 </TR>
59 </TABLE>
61 <br>
62 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
63 <code>&lt;td&gt;</code> have <code>style="border-right: green 10px solid;"</code>.</p>
65 <TABLE cellspacing="5">
66 <TR>
67 <TD style="border-right: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green right border.
68 </TD>
69 </TR>
70 <TR>
71 <TD style="border-right: green 10px solid;">Cell one</TD><TD style="border-right: green 10px solid;">Cell two
72 <TABLE><TR><TD style="border-right: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
73 </TD>
74 </TR>
75 </TABLE>
77 <br>
78 <hr>
79 <h3>border-bottom</h3>
81 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
82 <code>&lt;td&gt;</code> have <code>style="border-bottom: green 10px solid;"</code>.</p>
84 <TABLE cellspacing="5" border>
85 <TR>
86 <TD style="border-bottom: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green bottom border.
87 </TD>
88 </TR>
89 <TR>
90 <TD style="border-bottom: green 10px solid;">Cell one</TD><TD style="border-bottom: green 10px solid;">Cell two
91 <TABLE border><TR><TD style="border-bottom: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
92 </TD>
93 </TR>
94 </TABLE>
96 <br>
97 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
98 <code>&lt;td&gt;</code> have <code>style="border-bottom: green 10px solid;"</code>.</p>
100 <TABLE cellspacing="5">
101 <TR>
102 <TD style="border-bottom: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green bottom border.
103 </TD>
104 </TR>
105 <TR>
106 <TD style="border-bottom: green 10px solid;">Cell one</TD><TD style="border-bottom: green 10px solid;">Cell two
107 <TABLE><TR><TD style="border-bottom: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
108 </TD>
109 </TR>
110 </TABLE>
112 <br>
113 <hr>
114 <h3>border-left</h3>
116 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
117 <code>&lt;td&gt;</code> have <code>style="border-left: green 10px solid;"</code>.</p>
119 <TABLE cellspacing="5" border>
120 <TR>
121 <TD style="border-left: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green left border.
122 </TD>
123 </TR>
124 <TR>
125 <TD style="border-left: green 10px solid;">Cell one</TD><TD style="border-left: green 10px solid;">Cell two
126 <TABLE border><TR><TD style="border-left: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
127 </TD>
128 </TR>
129 </TABLE>
131 <br>
132 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
133 <code>&lt;td&gt;</code> have <code>style="border-left: green 10px solid;"</code>.</p>
135 <TABLE cellspacing="5">
136 <TR>
137 <TD style="border-left: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green left border.
138 </TD>
139 </TR>
140 <TR>
141 <TD style="border-left: green 10px solid;">Cell one</TD><TD style="border-left: green 10px solid;">Cell two
142 <TABLE><TR><TD style="border-left: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
143 </TD>
144 </TR>
145 </TABLE>
147 <br>
148 <hr>
149 <h3>border</h3>
151 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has <code>border</code> attribute;
152 <code>&lt;td&gt;</code> have <code>style="border: green 10px solid;"</code>.</p>
154 <TABLE cellspacing="5" border>
155 <TR>
156 <TD style="border: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green border.
157 </TD>
158 </TR>
159 <TR>
160 <TD style="border: green 10px solid;">Cell one</TD><TD style="border: green 10px solid;">Cell two
161 <TABLE border><TR><TD style="border: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
162 </TD>
163 </TR>
164 </TABLE>
166 <br>
167 <p style="font-weight: bold;"><code>&lt;table&gt;</code> has *no* <code>border</code> attribute;
168 <code>&lt;td&gt;</code> have <code>style="border: green 10px solid;"</code>.</p>
170 <TABLE cellspacing="5">
171 <TR>
172 <TD style="border: green 10px solid;" colspan="2">Every cell in this table should have a 10-pixel solid green border.
173 </TD>
174 </TR>
175 <TR>
176 <TD style="border: green 10px solid;">Cell one</TD><TD style="border: green 10px solid;">Cell two
177 <TABLE><TR><TD style="border: green 10px solid;">Nested single-cell table!</TD></TR></TABLE>
178 </TD>
179 </TR>
180 </TABLE>
182 </BODY>
183 </HTML>