2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / invalid / residual-style.html
blob1cdbd2f56221eab89f563e9a6ae3a9f378921415
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <head>
3 <style>
4 font { color: green }
5 .fail { color: red }
6 address { display: inline; font-style: normal }
7 applet, canvas, embed, object { width:0px; height:0px; }
8 blockquote, center { display: inline; padding:0; margin: 0 }
9 button { width: 0px; height: 0px border: 0; padding: 0; }
10 map { display: inline }
11 fieldset { border: 0; display: inline; margin: 0; padding: 0 }
12 table { display: inline-table; padding: 0; border: 0 }
13 dt, dl, dd, dir, div, form, p { display: inline; margin: 0; padding: 0; }
14 li { list-style: none; display: inline }
16 </style>
17 <body>
18 <h1>The Residual Style Master Test Case</h1>
20 This test case illustrates some residual style tag examples. Unless otherwise noted, the behavior should match Firefox.
22 <h2>Passing Tags</h2>
24 <hr>
25 A: <a><font>All of this</a> should be green</font>
27 <hr>
29 ABBR: <abbr><font>All of this</abbr> should be green</font>
31 <hr>
33 ACRONYM: <acronym><font>All of this</acronym> should be green</font>
35 <hr>
37 ADDRESS: <address><font>All of this</address> should be green</font>
39 <hr>
41 APPLET: <applet><font></applet>All of this should be green.</font>
43 <hr>
45 AREA: <map><area><font></area></map>All of this should be green.</font>
47 <hr>
49 B: <b><font></b>All of this should be green.</font>
51 <hr>
53 BDO: <bdo><font></bdo>All of this should be green.</font>
55 <hr>
57 BIG: <big><font></big>All of this should be green.</font>
59 <hr>
61 BLOCKQUOTE: <blockquote><font></blockquote>All of this should be green.</font>
63 <hr>
65 BUTTON: <button><font></button>All of this should be green.</font>
67 <hr>
69 CANVAS: <canvas><font></canvas>All of this should be green.</font>
71 <hr>
73 CAPTION: <font><table><caption><font class="fail"></caption></table>All of this should be green.</font></font>
75 <hr>
77 CENTER: <center><font></center>All of this should be green.</font>
79 <hr>
81 CITE: <cite><font></cite>All of this should be green.</font>
83 <hr>
85 CODE: <code><font></code>All of this should be green.</font>
87 <hr>
89 COL: <font><table><col><font class="fail"></col></table>All of this should be green.</font></font>
91 <hr>
93 COLGROUP: <font><table><colgroup><font class="fail"></colgroup></table>All of this should be green.</font></font>
95 <hr>
97 DD: <dl><dd><font></dd></dl>All of this should be green.</font>
99 <hr>
101 DEL: <del><font></del>All of this should be green.</font>
103 <hr>
105 DFN: <dfn><font></dfn>All of this should be green.</font>
107 <hr>
109 DIR: <dir><font></dir>All of this should be green.</font>
111 <hr>
113 DIV: <div><font></div>All of this should be green.</font>
115 <hr>
117 DL: <dl><font></dl>All of this should be green.</font>
119 <hr>
121 DT: <dl><dt><font></dt></dl>All of this should be green.</font>
123 <hr>
125 EM: <em><font></em>All of this should be green.</font>
127 <hr>
129 EMBED: <embed><font></embed>All of this should be green.</font>
131 <hr>
133 FIELDSET: <fieldset><font></fieldset>All of this should be green.</font>
135 <hr>
137 FONT: <font><i style="color:green; font-style:normal"></font>All of this should be green.</i>
139 <hr>
141 FORM: <form><font></form>All of this should be green.</font>
143 <hr>
145 H1: <h1><font></h1>All of this should be green.</font>
147 <hr>
149 H2: <h2><font></h2>All of this should be green.</font>
151 <hr>
153 H3: <h3><font></h3>All of this should be green.</font>
155 <hr>
157 H4: <h4><font></h4>All of this should be green.</font>
159 <hr>
161 H5: <h5><font></h5>All of this should be green.</font>
163 <hr>
165 H6: <h6><font></h6>All of this should be green.</font>
167 <hr>
169 I: <i><font></i>All of this should be green.</font>
171 <hr>
173 INS: <ins><font></ins>All of this should be green.</font>
175 <hr>
177 ISINDEX: <isindex><font></isindex>All of this should be green.</font>
179 <hr>
181 KBD: <kbd><font></kbd>All of this should be green.</font>
183 <hr>
185 KEYGEN: <keygen><font></keygen>All of this should be green.</font>
187 <hr>
189 LABEL: <label><font></label>All of this should be green.</font>
191 <hr>
193 LEGEND: <fieldset><legend><font></legend></fieldset>All of this should be green.</font>
195 <hr>
197 LI: <li><font></li>All of this should be green.</font>
199 <hr>
201 LISTING: <listing><font></listing>All of this should be green.</font>
203 <hr>
205 MAP: <map><font></map>All of this should be green.</font>
207 <hr>
209 MARQUEE: <marquee><font></marquee>All of this should be green.</font>
211 <hr>
213 MENU: <menu><font></menu>All of this should be green.</font>
215 <hr>
217 NOBR: <nobr><font></nobr>All of this should be green.</font>
219 <hr>
221 OBJECT: <font><object><font class="fail"></object>All of this should be green.</font>
223 <hr>
225 OL: <ol><font></ol>All of this should be green.</font>
227 <hr>
229 OPTGROUP: <font><select><optgroup><font class="fail"></optgroup><option>One</select> All of this should be green.</font>
231 <hr>
233 OPTION: <font><select><option><font class="fail">One</option><option>Two</select> All of this should be green.</font>
235 <hr>
237 P: <p><font></p>All of this should be green.</font>
239 <hr>
241 PARAM: <font><object><param><font class="fail"></param></object>All of this should be green.</font>
243 <hr>
245 PRE: <pre><font></pre>All of this should be green.</font>
247 <hr>
249 Q: <q><font></q>All of this should be green.</font>
251 <hr>
253 S: <s><font></s>All of this should be green.</font>
255 <hr>
257 SAMP: <samp><font></samp>All of this should be green.</font>
259 <hr>
261 SELECT: <font><select><font class="fail"></select>All of this should be green.</font>
263 <hr>
265 SMALL: <small><font></small>All of this should be green.</font>
267 <hr>
269 SPAN: <span><font></span>All of this should be green.</font>
271 <hr>
273 STRIKE: <strike><font></strike>All of this should be green.</font>
275 <hr>
277 STRONG: <strong><font></strong>All of this should be green.</font>
279 <hr>
281 SUB: <sub><font></sub>All of this should be green.</font>
283 <hr>
285 SUP: <sup><font></sup>All of this should be green.</font>
287 <hr>
289 TABLE: <font><table><font class="fail"></table>All of this should be green.</font>
291 <hr>
293 TBODY: <font><table><tbody><font></tbody></table>All of this should be green.</font>
295 <hr>
297 TD: <font><table><tr><td><font class="fail"></td></tr></table>All of this should be green.</font>
299 <hr>
301 TFOOT: <font><table><tfoot><font></tfoot></table>All of this should be green.</font>
303 <hr>
305 THEAD: <font><table><thead><font></thead></table>All of this should be green.</font>
307 <hr>
309 TR: <font><table><tr><font></tr></table>All of this should be green.</font>
311 <hr>
313 TT: <tt><font></tt>All of this should be green.</font>
315 <hr>
317 U: <u><font></u>All of this should be green.</font>
319 <hr>
321 UL: <ul><font></ul>All of this should be green.</font>
323 <hr>
325 VAR: <var><font></var>All of this should be green.</font>