blob: 0d8659a9212153c7aa26cec4a99cec8e3a846505 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!-- webkit-test-runner [ enableKeygenElement=true ] -->
<head>
<style>
font { color: green }
.fail { color: red }
address { display: inline; font-style: normal }
applet, canvas, embed, object { width:0px; height:0px; }
blockquote, center { display: inline; padding:0; margin: 0 }
button { width: 0px; height: 0px; border: 0; padding: 0; }
map { display: inline }
fieldset { border: 0; display: inline; margin: 0; padding: 0 }
table { display: inline-table; padding: 0; border: 0 }
dt, dl, dd, dir, div, form, p { display: inline; margin: 0; padding: 0; }
li { list-style: none; display: inline }
</style>
<body>
<h1>The Residual Style Master Test Case</h1>
This test case illustrates some residual style tag examples. Unless otherwise noted, the behavior should match Firefox.
<h2>Passing Tags</h2>
<hr>
A: <a><font>All of this</a> should be green</font>
<hr>
ABBR: <abbr><font>All of this</abbr> should be green</font>
<hr>
ACRONYM: <acronym><font>All of this</acronym> should be green</font>
<hr>
ADDRESS: <address><font>All of this</address> should be green</font>
<hr>
APPLET: <applet><font></applet>All of this should be green.</font>
<hr>
AREA: <map><area><font></area></map>All of this should be green.</font>
<hr>
B: <b><font></b>All of this should be green.</font>
<hr>
BDO: <bdo><font></bdo>All of this should be green.</font>
<hr>
BIG: <big><font></big>All of this should be green.</font>
<hr>
BLOCKQUOTE: <blockquote><font></blockquote>All of this should be green.</font>
<hr>
BUTTON: <button><font></button>All of this should be green.</font>
<hr>
CANVAS: <canvas><font></canvas>All of this should be green.</font>
<hr>
CAPTION: <font><table><caption><font class="fail"></caption></table>All of this should be green.</font></font>
<hr>
CENTER: <center><font></center>All of this should be green.</font>
<hr>
CITE: <cite><font></cite>All of this should be green.</font>
<hr>
CODE: <code><font></code>All of this should be green.</font>
<hr>
COL: <font><table><col><font class="fail"></col></table>All of this should be green.</font></font>
<hr>
COLGROUP: <font><table><colgroup><font class="fail"></colgroup></table>All of this should be green.</font></font>
<hr>
DD: <dl><dd><font></dd></dl>All of this should be green.</font>
<hr>
DEL: <del><font></del>All of this should be green.</font>
<hr>
DFN: <dfn><font></dfn>All of this should be green.</font>
<hr>
DIR: <dir><font></dir>All of this should be green.</font>
<hr>
DIV: <div><font></div>All of this should be green.</font>
<hr>
DL: <dl><font></dl>All of this should be green.</font>
<hr>
DT: <dl><dt><font></dt></dl>All of this should be green.</font>
<hr>
EM: <em><font></em>All of this should be green.</font>
<hr>
EMBED: <embed><font></embed>All of this should be green.</font>
<hr>
FIELDSET: <fieldset><font></fieldset>All of this should be green.</font>
<hr>
FONT: <font><i style="color:green; font-style:normal"></font>All of this should be green.</i>
<hr>
FORM: <form><font></form>All of this should be green.</font>
<hr>
H1: <h1><font></h1>All of this should be green.</font>
<hr>
H2: <h2><font></h2>All of this should be green.</font>
<hr>
H3: <h3><font></h3>All of this should be green.</font>
<hr>
H4: <h4><font></h4>All of this should be green.</font>
<hr>
H5: <h5><font></h5>All of this should be green.</font>
<hr>
H6: <h6><font></h6>All of this should be green.</font>
<hr>
I: <i><font></i>All of this should be green.</font>
<hr>
INS: <ins><font></ins>All of this should be green.</font>
<hr>
ISINDEX: <isindex><font></isindex>All of this should be green.</font>
<hr>
KBD: <kbd><font></kbd>All of this should be green.</font>
<hr>
KEYGEN: <keygen><font></keygen>All of this should be green.</font>
<hr>
LABEL: <label><font></label>All of this should be green.</font>
<hr>
LEGEND: <fieldset><legend><font></legend></fieldset>All of this should be green.</font>
<hr>
LI: <li><font></li>All of this should be green.</font>
<hr>
LISTING: <listing><font></listing>All of this should be green.</font>
<hr>
MAP: <map><font></map>All of this should be green.</font>
<hr>
MARQUEE: <marquee><font></marquee>All of this should be green.</font>
<hr>
MENU: <menu><font></menu>All of this should be green.</font>
<hr>
NOBR: <nobr><font></nobr>All of this should be green.</font>
<hr>
OBJECT: <font><object><font class="fail"></object>All of this should be green.</font>
<hr>
OL: <ol><font></ol>All of this should be green.</font>
<hr>
OPTGROUP: <font><select><optgroup><font class="fail"></optgroup><option>One</select> All of this should be green.</font>
<hr>
OPTION: <font><select><option><font class="fail">One</option><option>Two</select> All of this should be green.</font>
<hr>
P: <p><font></p>All of this should be green.</font>
<hr>
PARAM: <font><object><param><font class="fail"></param></object>All of this should be green.</font>
<hr>
PRE: <pre><font></pre>All of this should be green.</font>
<hr>
Q: <q><font></q>All of this should be green.</font>
<hr>
S: <s><font></s>All of this should be green.</font>
<hr>
SAMP: <samp><font></samp>All of this should be green.</font>
<hr>
SELECT: <font><select><font class="fail"></select>All of this should be green.</font>
<hr>
SMALL: <small><font></small>All of this should be green.</font>
<hr>
SPAN: <span><font></span>All of this should be green.</font>
<hr>
STRIKE: <strike><font></strike>All of this should be green.</font>
<hr>
STRONG: <strong><font></strong>All of this should be green.</font>
<hr>
SUB: <sub><font></sub>All of this should be green.</font>
<hr>
SUP: <sup><font></sup>All of this should be green.</font>
<hr>
TABLE: <font><table><font class="fail"></table>All of this should be green.</font></font>
<hr>
TBODY: <font><table><tbody><font></tbody></table>All of this should be green.</font></font>
<hr>
TD: <font><table><tr><td><font class="fail"></td></tr></table>All of this should be green.</font></font>
<hr>
TFOOT: <font><table><tfoot><font></tfoot></table>All of this should be green.</font></font>
<hr>
THEAD: <font><table><thead><font></thead></table>All of this should be green.</font></font></font>
<hr>
TR: <font><table><tr><font></tr></table>All of this should be green.</font></font>
<hr>
TT: <tt><font></tt>All of this should be green.</font>
<hr>
U: <u><font></u>All of this should be green.</font>
<hr>
UL: <ul><font></ul>All of this should be green.</font>
<hr>
VAR: <var><font></var>All of this should be green.</font>