1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
6 address { display: inline; font-style: normal }
7 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 }
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.
24 A:
<a><font>All of this
</a> should be green
</font>
26 ABBR:
<abbr><font>All of this
</abbr> should be green
</font>
28 ACRONYM:
<acronym><font>All of this
</acronym> should be green
</font>
30 ADDRESS:
<address><font>All of this
</address> should be green
</font>
32 AREA:
<map><area><font></area></map>All of this should be green.
</font>
34 B:
<b><font></b>All of this should be green.
</font>
36 BDO:
<bdo><font></bdo>All of this should be green.
</font>
38 BIG:
<big><font></big>All of this should be green.
</font>
40 BLOCKQUOTE:
<blockquote><font></blockquote>All of this should be green.
</font>
42 BUTTON:
<button><font></button>All of this should be green.
</font>
44 CANVAS:
<canvas><font></canvas>All of this should be green.
</font>
46 CAPTION:
<font><table><caption><font class=
"fail"></caption></table>All of this should be green.
</font></font>
48 CENTER:
<center><font></center>All of this should be green.
</font>
50 CITE:
<cite><font></cite>All of this should be green.
</font>
52 CODE:
<code><font></code>All of this should be green.
</font>
54 COL:
<font><table><col><font class=
"fail"></col></table>All of this should be green.
</font></font>
56 COLGROUP:
<font><table><colgroup><font class=
"fail"></colgroup></table>All of this should be green.
</font></font>
58 DD:
<dl><dd><font></dd></dl>All of this should be green.
</font>
60 DEL:
<del><font></del>All of this should be green.
</font>
62 DFN:
<dfn><font></dfn>All of this should be green.
</font>
64 DIR:
<dir><font></dir>All of this should be green.
</font>
66 DIV:
<div><font></div>All of this should be green.
</font>
68 DL:
<dl><font></dl>All of this should be green.
</font>
70 DT:
<dl><dt><font></dt></dl>All of this should be green.
</font>
72 EM:
<em><font></em>All of this should be green.
</font>
74 EMBED:
<embed><font></embed>All of this should be green.
</font>
76 FIELDSET:
<fieldset><font></fieldset>All of this should be green.
</font>
78 FONT:
<font><i style=
"color:green; font-style:normal"></font>All of this should be green.
</i>
80 FORM:
<form><font></form>All of this should be green.
</font>
82 H1:
<h1><font></h1>All of this should be green.
</font>
84 H2:
<h2><font></h2>All of this should be green.
</font>
86 H3:
<h3><font></h3>All of this should be green.
</font>
88 H4:
<h4><font></h4>All of this should be green.
</font>
90 H5:
<h5><font></h5>All of this should be green.
</font>
92 H6:
<h6><font></h6>All of this should be green.
</font>
94 I:
<i><font></i>All of this should be green.
</font>
96 INS:
<ins><font></ins>All of this should be green.
</font>
98 ISINDEX:
<isindex><font></isindex>All of this should be green.
</font>
100 KBD:
<kbd><font></kbd>All of this should be green.
</font>
102 KEYGEN:
<keygen><font></keygen>All of this should be green.
</font>
104 LABEL:
<label><font></label>All of this should be green.
</font>
106 LEGEND:
<fieldset><legend><font></legend></fieldset>All of this should be green.
</font>
108 LI:
<li><font></li>All of this should be green.
</font>
110 LISTING:
<listing><font></listing>All of this should be green.
</font>
112 MAP:
<map><font></map>All of this should be green.
</font>
114 MARQUEE:
<marquee><font></marquee>All of this should be green.
</font>
116 MENU:
<menu><font></menu>All of this should be green.
</font>
118 NOBR:
<nobr><font></nobr>All of this should be green.
</font>
120 OBJECT:
<font><object><font class=
"fail"></object>All of this should be green.
</font>
122 OL:
<ol><font></ol>All of this should be green.
</font>
124 OPTGROUP:
<font><select><optgroup><font class=
"fail"></optgroup><option>One
</select> All of this should be green.
</font>
126 OPTION:
<font><select><option><font class=
"fail">One
</option><option>Two
</select> All of this should be green.
</font>
128 P:
<p><font></p>All of this should be green.
</font>
130 PARAM:
<font><object><param><font class=
"fail"></param></object>All of this should be green.
</font>
132 PRE:
<pre><font></pre>All of this should be green.
</font>
134 Q:
<q><font></q>All of this should be green.
</font>
136 S:
<s><font></s>All of this should be green.
</font>
138 SAMP:
<samp><font></samp>All of this should be green.
</font>
140 SELECT:
<font><select><font class=
"fail"></select>All of this should be green.
</font>
142 SMALL:
<small><font></small>All of this should be green.
</font>
144 SPAN:
<span><font></span>All of this should be green.
</font>
146 STRIKE:
<strike><font></strike>All of this should be green.
</font>
148 STRONG:
<strong><font></strong>All of this should be green.
</font>
150 SUB:
<sub><font></sub>All of this should be green.
</font>
152 SUP:
<sup><font></sup>All of this should be green.
</font>
154 TABLE:
<font><table><font class=
"fail"></table>All of this should be green.
</font></font>
156 TBODY:
<font><table><tbody><font></tbody></table>All of this should be green.
</font></font>
158 TD:
<font><table><tr><td><font class=
"fail"></td></tr></table>All of this should be green.
</font></font>
160 TFOOT:
<font><table><tfoot><font></tfoot></table>All of this should be green.
</font></font>
162 THEAD:
<font><table><thead><font></thead></table>All of this should be green.
</font></font></font>
164 TR:
<font><table><tr><font></tr></table>All of this should be green.
</font></font>
166 TT:
<tt><font></tt>All of this should be green.
</font>
168 U:
<u><font></u>All of this should be green.
</font>
170 UL:
<ul><font></ul>All of this should be green.
</font>
172 VAR:
<var><font></var>All of this should be green.
</font>