1#data
2<b><p>Bold </b> Not bold</p>
3Also not bold.
4#errors
5(1,3): expected-doctype-but-got-start-tag
6(1,15): adoption-agency-1.3
7#document
8| <html>
9| <head>
10| <body>
11| <b>
12| <p>
13| <b>
14| "Bold "
15| " Not bold"
16| "
17Also not bold."
18
19#data
20<html>
21<font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain
22<p>I should not be red. <font color=red>Red. <i>Italic and red.</p>
23<p>Italic and red. </i> Red.</font> I should not be red.</p>
24<b>Bold <i>Bold and italic</b> Only Italic </i> Plain
25#errors
26(1,6): expected-doctype-but-got-start-tag
27(2,58): adoption-agency-1.3
28(3,67): unexpected-end-tag
29(4,23): adoption-agency-1.3
30(4,35): adoption-agency-1.3
31(5,30): adoption-agency-1.3
32#document
33| <html>
34| <head>
35| <body>
36| <font>
37| color="red"
38| <i>
39| "Italic and Red"
40| <i>
41| <p>
42| <font>
43| color="red"
44| "Italic and Red "
45| " Just italic."
46| " Italic only."
47| " Plain
48"
49| <p>
50| "I should not be red. "
51| <font>
52| color="red"
53| "Red. "
54| <i>
55| "Italic and red."
56| <font>
57| color="red"
58| <i>
59| "
60"
61| <p>
62| <font>
63| color="red"
64| <i>
65| "Italic and red. "
66| " Red."
67| " I should not be red."
68| "
69"
70| <b>
71| "Bold "
72| <i>
73| "Bold and italic"
74| <i>
75| " Only Italic "
76| " Plain"
77
78#data
79<html><body>
80<p><font size="7">First paragraph.</p>
81<p>Second paragraph.</p></font>
82<b><p><i>Bold and Italic</b> Italic</p>
83#errors
84(1,6): expected-doctype-but-got-start-tag
85(2,38): unexpected-end-tag
86(4,28): adoption-agency-1.3
87(4,28): adoption-agency-1.3
88(4,39): unexpected-end-tag
89#document
90| <html>
91| <head>
92| <body>
93| "
94"
95| <p>
96| <font>
97| size="7"
98| "First paragraph."
99| <font>
100| size="7"
101| "
102"
103| <p>
104| "Second paragraph."
105| "
106"
107| <b>
108| <p>
109| <b>
110| <i>
111| "Bold and Italic"
112| <i>
113| " Italic"
114
115#data
116<html>
117<dl>
118<dt><b>Boo
119<dd>Goo?
120</dl>
121</html>
122#errors
123(1,6): expected-doctype-but-got-start-tag
124(4,4): end-tag-too-early
125(5,5): end-tag-too-early
126(6,7): expected-one-end-tag-but-got-another
127#document
128| <html>
129| <head>
130| <body>
131| <dl>
132| "
133"
134| <dt>
135| <b>
136| "Boo
137"
138| <dd>
139| <b>
140| "Goo?
141"
142| <b>
143| "
144"
145
146#data
147<html><body>
148<label><a><div>Hello<div>World</div></a></label>
149</body></html>
150#errors
151(1,6): expected-doctype-but-got-start-tag
152(2,40): adoption-agency-1.3
153(2,48): unexpected-end-tag
154(3,7): expected-one-end-tag-but-got-another
155#document
156| <html>
157| <head>
158| <body>
159| "
160"
161| <label>
162| <a>
163| <div>
164| <a>
165| "Hello"
166| <div>
167| "World"
168| "
169"
170
171#data
172<table><center> <font>a</center> <img> <tr><td> </td> </tr> </table>
173#errors
174(1,7): expected-doctype-but-got-start-tag
175(1,15): foster-parenting-start-tag
176(1,16): foster-parenting-character
177(1,22): foster-parenting-start-tag
178(1,23): foster-parenting-character
179(1,32): foster-parenting-end-tag
180(1,32): end-tag-too-early
181(1,33): foster-parenting-character
182(1,38): foster-parenting-start-tag
183#document
184| <html>
185| <head>
186| <body>
187| <center>
188| " "
189| <font>
190| "a"
191| <font>
192| <img>
193| " "
194| <table>
195| " "
196| <tbody>
197| <tr>
198| <td>
199| " "
200| " "
201| " "
202
203#data
204<table><tr><p><a><p>You should see this text.
205#errors
206(1,7): expected-doctype-but-got-start-tag
207(1,14): unexpected-start-tag-implies-table-voodoo
208(1,17): unexpected-start-tag-implies-table-voodoo
209(1,20): unexpected-start-tag-implies-table-voodoo
210(1,20): closing-non-current-p-element
211(1,21): foster-parenting-character
212(1,22): foster-parenting-character
213(1,23): foster-parenting-character
214(1,24): foster-parenting-character
215(1,25): foster-parenting-character
216(1,26): foster-parenting-character
217(1,27): foster-parenting-character
218(1,28): foster-parenting-character
219(1,29): foster-parenting-character
220(1,30): foster-parenting-character
221(1,31): foster-parenting-character
222(1,32): foster-parenting-character
223(1,33): foster-parenting-character
224(1,34): foster-parenting-character
225(1,35): foster-parenting-character
226(1,36): foster-parenting-character
227(1,37): foster-parenting-character
228(1,38): foster-parenting-character
229(1,39): foster-parenting-character
230(1,40): foster-parenting-character
231(1,41): foster-parenting-character
232(1,42): foster-parenting-character
233(1,43): foster-parenting-character
234(1,44): foster-parenting-character
235(1,45): foster-parenting-character
236(1,45): eof-in-table
237#document
238| <html>
239| <head>
240| <body>
241| <p>
242| <a>
243| <p>
244| <a>
245| "You should see this text."
246| <table>
247| <tbody>
248| <tr>
249
250#data
251<TABLE>
252<TR>
253<CENTER><CENTER><TD></TD></TR><TR>
254<FONT>
255<TABLE><tr></tr></TABLE>
256</P>
257<a></font><font></a>
258This page contains an insanely badly-nested tag sequence.
259#errors
260(1,7): expected-doctype-but-got-start-tag
261(3,8): unexpected-start-tag-implies-table-voodoo
262(3,16): unexpected-start-tag-implies-table-voodoo
263(4,6): unexpected-start-tag-implies-table-voodoo
264(4,6): unexpected character token in table (the newline)
265(5,7): unexpected-start-tag-implies-end-tag
266(6,4): unexpected p end tag
267(7,10): adoption-agency-1.3
268(7,20): adoption-agency-1.3
269(8,57): expected-closing-tag-but-got-eof
270#document
271| <html>
272| <head>
273| <body>
274| <center>
275| <center>
276| <font>
277| "
278"
279| <table>
280| "
281"
282| <tbody>
283| <tr>
284| "
285"
286| <td>
287| <tr>
288| "
289"
290| <table>
291| <tbody>
292| <tr>
293| <font>
294| "
295"
296| <p>
297| "
298"
299| <a>
300| <a>
301| <font>
302| <font>
303| "
304This page contains an insanely badly-nested tag sequence."
305
306#data
307<html>
308<body>
309<b><nobr><div>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the
310nobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>
311</body>
312</html>
313#errors
314(1,6): expected-doctype-but-got-start-tag
315(3,56): adoption-agency-1.3
316(4,58): adoption-agency-1.3
317(5,7): expected-one-end-tag-but-got-another
318#document
319| <html>
320| <head>
321| <body>
322| "
323"
324| <b>
325| <nobr>
326| <div>
327| <b>
328| <nobr>
329| "This text is in a div inside a nobr"
330| "More text that should not be in the nobr, i.e., the
331nobr should have closed the div inside it implicitly. "
332| <pre>
333| "A pre tag outside everything else."
334| "
335
336"
View as plain text