Fix bug with non-lower case color names in HTML.
[htmlpurifier.git] / smoketests / basic / legacy.html
blob0ff1c7b528d1b52662c66ea2ddf092b3aa34325a
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <head>
7 <title>HTML Purifier Legacy Smoketest Test Data</title>
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
9 <link rel="stylesheet" href="legacy.css" type="text/css" />
10 </head>
11 <body>
13 <h1>HTML Purifier Legacy Smoketest Test Data</h1>
15 <p>This is the legacy smoketest.</p>
17 <h2>Elements</h2>
19 <div>
20 <div>
21 <basefont color="green" face="Arial" size="6" id="basefont" />
22 basefont: Green, Arial, size 6 text (IE-only)
23 </div>
25 <center>center</center>
27 <dir compact="compact">
28 <li>dir</li>
29 </dir>
31 <font color="green" face="Arial" size="6">font: Green, Arial, size 6 text</font>
33 isindex:
34 <isindex prompt="Foo" />
36 <menu compact="compact">
37 <li>menu</li>
38 </menu>
40 <s>s</s> <strike>strike</strike> <u>u</u>
41 </div>
43 <h2>Attributes</h2>
45 <div>
46 <!-- body -->
48 <div style="font-size:42pt; float:left;">*</div>
49 <br clear="left" />
50 <p>br@clear (asterisk is up)</p>
52 <table>
53 <caption align="bottom">caption@align</caption>
54 <tr><td>Cell</td></tr>
55 </table>
57 <div align="center">div@center</div>
59 <dl compact="compact">
60 <dt>dl@compact</dt>
61 </dl>
63 <h1 align="right">h1</h1>
64 <h2 align="right">h2</h2>
65 <h3 align="right">h3</h3>
66 <h4 align="right">h4</h4>
67 <h5 align="right">h5</h5>
68 <h6 align="right">h6</h6>
70 hr@align
71 <hr align="right" width="50" />
72 hr@noshade
73 <hr noshade="noshade" />
74 hr@width
75 <hr width="50" />
76 hr@size
77 <hr size="50" />
79 <img src="" alt="img@align" align="right" /> |
80 <img src="" alt="img@border" border="3" /> |
81 <img src="" alt="img@hspace" hspace="5" /> |
82 <img src="" alt="img@vspace" vspace="5" />
84 <!-- needs context -->
85 <input align="right" />
86 <legend align="center">Legend</legend>
88 <ol>
89 <li type="A">li@type (ensure that it's a capital A)</li>
90 <li value="5">li@value</li>
91 </ol>
93 <ol compact="compact"><li>ol@compact</li></ol>
94 <ol start="3"><li>ol@start</li></ol>
95 <ol type="I"><li>ol@type</li></ol>
97 <p align="right">p@align</p>
99 <pre width="50">pre@width</pre>
101 <script language="JavaScript">document.writeln('script');</script>
103 <table align="right"><tr><td>table@align</td></tr></table>
104 <table bgcolor="#0000FF"><tr><td>table@bgcolor</td></tr></table>
106 <table><tr bgcolor="#0000FF"><td>tr@bgcolor</td></tr></table>
108 <table><tr><td bgcolor="#0000FF">td@bgcolor</td></tr></table>
109 <table><tr><td height="50">td@height</td></tr></table>
110 <table><tr><td nowrap="nowrap">td@nowrap</td></tr></table>
111 <table><tr><td width="200">td@width</td></tr></table>
113 <table><tr><th bgcolor="#0000FF">th@bgcolor</th></tr></table>
114 <table><tr><th height="50">th@height</th></tr></table>
115 <table><tr><th nowrap="nowrap">th@nowrap</th></tr></table>
116 <table><tr><th width="200">th@width</th></tr></table>
118 <ul compact="compact"><li>ul@compact</li></ul>
119 <ul type="square"><li>ul@square</li></ul>
121 </div>
123 </body>
124 </html>
126 <!-- vim: et sw=4 sts=4