1#data
2<head></head><style></style>
3#errors
4Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
5Line: 1 Col: 20 Unexpected start tag (style) that can be in head. Moved.
6#document
7| <html>
8|   <head>
9|     <style>
10|   <body>
11
12#data
13<head></head><script></script>
14#errors
15Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
16Line: 1 Col: 21 Unexpected start tag (script) that can be in head. Moved.
17#document
18| <html>
19|   <head>
20|     <script>
21|   <body>
22
23#data
24<head></head><!-- --><style></style><!-- --><script></script>
25#errors
26Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
27Line: 1 Col: 28 Unexpected start tag (style) that can be in head. Moved.
28#document
29| <html>
30|   <head>
31|     <style>
32|     <script>
33|   <!--   -->
34|   <!--   -->
35|   <body>
36
37#data
38<head></head><!-- -->x<style></style><!-- --><script></script>
39#errors
40Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
41#document
42| <html>
43|   <head>
44|   <!--   -->
45|   <body>
46|     "x"
47|     <style>
48|     <!--   -->
49|     <script>
50
51#data
52<!DOCTYPE html><html><head></head><body><pre>
53</pre></body></html>
54#errors
55#document
56| <!DOCTYPE html>
57| <html>
58|   <head>
59|   <body>
60|     <pre>
61
62#data
63<!DOCTYPE html><html><head></head><body><pre>
64foo</pre></body></html>
65#errors
66#document
67| <!DOCTYPE html>
68| <html>
69|   <head>
70|   <body>
71|     <pre>
72|       "foo"
73
74#data
75<!DOCTYPE html><html><head></head><body><pre>
76
77foo</pre></body></html>
78#errors
79#document
80| <!DOCTYPE html>
81| <html>
82|   <head>
83|   <body>
84|     <pre>
85|       "
86foo"
87
88#data
89<!DOCTYPE html><html><head></head><body><pre>
90foo
91</pre></body></html>
92#errors
93#document
94| <!DOCTYPE html>
95| <html>
96|   <head>
97|   <body>
98|     <pre>
99|       "foo
100"
101
102#data
103<!DOCTYPE html><html><head></head><body><pre>x</pre><span>
104</span></body></html>
105#errors
106#document
107| <!DOCTYPE html>
108| <html>
109|   <head>
110|   <body>
111|     <pre>
112|       "x"
113|     <span>
114|       "
115"
116
117#data
118<!DOCTYPE html><html><head></head><body><pre>x
119y</pre></body></html>
120#errors
121#document
122| <!DOCTYPE html>
123| <html>
124|   <head>
125|   <body>
126|     <pre>
127|       "x
128y"
129
130#data
131<!DOCTYPE html><html><head></head><body><pre>x<div>
132y</pre></body></html>
133#errors
134Line: 2 Col: 7 End tag (pre) seen too early. Expected other end tag.
135#document
136| <!DOCTYPE html>
137| <html>
138|   <head>
139|   <body>
140|     <pre>
141|       "x"
142|       <div>
143|         "
144y"
145
146#data
147<!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>
148#errors
149#document
150| <!DOCTYPE html>
151| <html>
152|   <head>
153|   <body>
154|     <pre>
155|       "
156A"
157
158#data
159<!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>
160#errors
161Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
162#document
163| <!DOCTYPE html>
164| <html>
165|   <head>
166|     <meta>
167|   <body>
168
169#data
170<!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>
171#errors
172Line: 1 Col: 33 Unexpected start tag head in existing head. Ignored.
173#document
174| <!DOCTYPE html>
175| <html>
176|   <head>
177|   <body>
178
179#data
180<textarea>foo<span>bar</span><i>baz
181#errors
182Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE.
183Line: 1 Col: 35 Expected closing tag. Unexpected end of file.
184#document
185| <html>
186|   <head>
187|   <body>
188|     <textarea>
189|       "foo<span>bar</span><i>baz"
190
191#data
192<title>foo<span>bar</em><i>baz
193#errors
194Line: 1 Col: 7 Unexpected start tag (title). Expected DOCTYPE.
195Line: 1 Col: 30 Unexpected end of file. Expected end tag (title).
196#document
197| <html>
198|   <head>
199|     <title>
200|       "foo<span>bar</em><i>baz"
201|   <body>
202
203#data
204<!DOCTYPE html><textarea>
205</textarea>
206#errors
207#document
208| <!DOCTYPE html>
209| <html>
210|   <head>
211|   <body>
212|     <textarea>
213
214#data
215<!DOCTYPE html><textarea>
216foo</textarea>
217#errors
218#document
219| <!DOCTYPE html>
220| <html>
221|   <head>
222|   <body>
223|     <textarea>
224|       "foo"
225
226#data
227<!DOCTYPE html><textarea>
228
229foo</textarea>
230#errors
231#document
232| <!DOCTYPE html>
233| <html>
234|   <head>
235|   <body>
236|     <textarea>
237|       "
238foo"
239
240#data
241<!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
242#errors
243Line: 1 Col: 60 Missing end tag (div, li).
244#document
245| <!DOCTYPE html>
246| <html>
247|   <head>
248|   <body>
249|     <ul>
250|       <li>
251|         <div>
252|           <p>
253|       <li>
254
255#data
256<!doctype html><nobr><nobr><nobr>
257#errors
258Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
259Line: 1 Col: 33 Unexpected start tag (nobr) implies end tag (nobr).
260Line: 1 Col: 33 Expected closing tag. Unexpected end of file.
261#document
262| <!DOCTYPE html>
263| <html>
264|   <head>
265|   <body>
266|     <nobr>
267|     <nobr>
268|     <nobr>
269
270#data
271<!doctype html><nobr><nobr></nobr><nobr>
272#errors
273Line: 1 Col: 27 Unexpected start tag (nobr) implies end tag (nobr).
274Line: 1 Col: 40 Expected closing tag. Unexpected end of file.
275#document
276| <!DOCTYPE html>
277| <html>
278|   <head>
279|   <body>
280|     <nobr>
281|     <nobr>
282|     <nobr>
283
284#data
285<!doctype html><html><body><p><table></table></body></html>
286#errors
287Not known
288#document
289| <!DOCTYPE html>
290| <html>
291|   <head>
292|   <body>
293|     <p>
294|     <table>
295
296#data
297<p><table></table>
298#errors
299Not known
300#document
301| <html>
302|   <head>
303|   <body>
304|     <p>
305|       <table>
306