Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / html5lib / resources / tests7.dat
blob54bc97ba547dadd69ef1f977b30e59ad33068ed9
1 #data
2 <!doctype html><body><title>X</title>
3 #errors
4 #document
5 | <!DOCTYPE html>
6 | <html>
7 | <head>
8 | <body>
9 | <title>
10 | "X"
12 #data
13 <!doctype html><table><title>X</title></table>
14 #errors
15 Line: 1 Col: 29 Unexpected start tag (title) in table context caused voodoo mode.
16 Line: 1 Col: 38 Unexpected end tag (title) in table context caused voodoo mode.
17 #document
18 | <!DOCTYPE html>
19 | <html>
20 | <head>
21 | <body>
22 | <title>
23 | "X"
24 | <table>
26 #data
27 <!doctype html><head></head><title>X</title>
28 #errors
29 Line: 1 Col: 35 Unexpected start tag (title) that can be in head. Moved.
30 #document
31 | <!DOCTYPE html>
32 | <html>
33 | <head>
34 | <title>
35 | "X"
36 | <body>
38 #data
39 <!doctype html></head><title>X</title>
40 #errors
41 Line: 1 Col: 29 Unexpected start tag (title) that can be in head. Moved.
42 #document
43 | <!DOCTYPE html>
44 | <html>
45 | <head>
46 | <title>
47 | "X"
48 | <body>
50 #data
51 <!doctype html><table><meta></table>
52 #errors
53 Line: 1 Col: 28 Unexpected start tag (meta) in table context caused voodoo mode.
54 #document
55 | <!DOCTYPE html>
56 | <html>
57 | <head>
58 | <body>
59 | <meta>
60 | <table>
62 #data
63 <!doctype html><table>X<tr><td><table> <meta></table></table>
64 #errors
65 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
66 Line: 1 Col: 45 Unexpected start tag (meta) in table context caused voodoo mode.
67 #document
68 | <!DOCTYPE html>
69 | <html>
70 | <head>
71 | <body>
72 | "X"
73 | <table>
74 | <tbody>
75 | <tr>
76 | <td>
77 | <meta>
78 | <table>
79 | " "
81 #data
82 <!doctype html><html> <head>
83 #errors
84 #document
85 | <!DOCTYPE html>
86 | <html>
87 | <head>
88 | <body>
90 #data
91 <!doctype html> <head>
92 #errors
93 #document
94 | <!DOCTYPE html>
95 | <html>
96 | <head>
97 | <body>
99 #data
100 <!doctype html><table><style> <tr>x </style> </table>
101 #errors
102 #document
103 | <!DOCTYPE html>
104 | <html>
105 | <head>
106 | <body>
107 | <table>
108 | <style>
109 | " <tr>x "
110 | " "
112 #data
113 <!doctype html><table><TBODY><script> <tr>x </script> </table>
114 #errors
115 #document
116 | <!DOCTYPE html>
117 | <html>
118 | <head>
119 | <body>
120 | <table>
121 | <tbody>
122 | <script>
123 | " <tr>x "
124 | " "
126 #data
127 <!doctype html><p><object type="application/x-non-existant-plugin"><p>X</p></object>
128 #errors
129 #document
130 | <!DOCTYPE html>
131 | <html>
132 | <head>
133 | <body>
134 | <p>
135 | <object>
136 | type="application/x-non-existant-plugin"
137 | <p>
138 | "X"
140 #data
141 <!doctype html><listing>
142 X</listing>
143 #errors
144 #document
145 | <!DOCTYPE html>
146 | <html>
147 | <head>
148 | <body>
149 | <listing>
150 | "X"
152 #data
153 <!doctype html><select><input>X
154 #errors
155 Line: 1 Col: 30 Unexpected input start tag in the select phase.
156 #document
157 | <!DOCTYPE html>
158 | <html>
159 | <head>
160 | <body>
161 | <select>
162 | <input>
163 | "X"
165 #data
166 <!doctype html><select><select>X
167 #errors
168 Line: 1 Col: 31 Unexpected select start tag in the select phase treated as select end tag.
169 #document
170 | <!DOCTYPE html>
171 | <html>
172 | <head>
173 | <body>
174 | <select>
175 | "X"
177 #data
178 <!doctype html><table><input type=hidDEN></table>
179 #errors
180 Line: 1 Col: 41 Unexpected input with type hidden in table context.
181 #document
182 | <!DOCTYPE html>
183 | <html>
184 | <head>
185 | <body>
186 | <table>
187 | <input>
188 | type="hidDEN"
190 #data
191 <!doctype html><table>X<input type=hidDEN></table>
192 #errors
193 Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode.
194 #document
195 | <!DOCTYPE html>
196 | <html>
197 | <head>
198 | <body>
199 | "X"
200 | <table>
201 | <input>
202 | type="hidDEN"
204 #data
205 <!doctype html><table> <input type=hidDEN></table>
206 #errors
207 Line: 1 Col: 43 Unexpected input with type hidden in table context.
208 #document
209 | <!DOCTYPE html>
210 | <html>
211 | <head>
212 | <body>
213 | <table>
214 | " "
215 | <input>
216 | type="hidDEN"
218 #data
219 <!doctype html><table> <input type='hidDEN'></table>
220 #errors
221 Line: 1 Col: 45 Unexpected input with type hidden in table context.
222 #document
223 | <!DOCTYPE html>
224 | <html>
225 | <head>
226 | <body>
227 | <table>
228 | " "
229 | <input>
230 | type="hidDEN"
232 #data
233 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
234 #errors
235 Line: 1 Col: 44 Unexpected start tag (input) in table context caused voodoo mode.
236 #document
237 | <!DOCTYPE html>
238 | <html>
239 | <head>
240 | <body>
241 | <input>
242 | type=" hidden"
243 | <table>
244 | <input>
245 | type="hidDEN"
247 #data
248 <!doctype html><table><select>X<tr>
249 #errors
250 Line: 1 Col: 30 Unexpected start tag (select) in table context caused voodoo mode.
251 Line: 1 Col: 35 Unexpected table element start tag (trs) in the select in table phase.
252 Line: 1 Col: 35 Unexpected end of file. Expected table content.
253 #document
254 | <!DOCTYPE html>
255 | <html>
256 | <head>
257 | <body>
258 | <select>
259 | "X"
260 | <table>
261 | <tbody>
262 | <tr>
264 #data
265 <!doctype html><select>X</select>
266 #errors
267 #document
268 | <!DOCTYPE html>
269 | <html>
270 | <head>
271 | <body>
272 | <select>
273 | "X"
275 #data
276 <!DOCTYPE hTmL><html></html>
277 #errors
278 Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element.
279 #document
280 | <!DOCTYPE html>
281 | <html>
282 | <head>
283 | <body>
285 #data
286 <!DOCTYPE HTML><html></html>
287 #errors
288 Line: 1 Col: 28 Unexpected end tag (html) after the (implied) root element.
289 #document
290 | <!DOCTYPE html>
291 | <html>
292 | <head>
293 | <body>
295 #data
296 <body>X</body></body>
297 #errors
298 Line: 1 Col: 21 Unexpected end tag token (body) in the after body phase.
299 Line: 1 Col: 21 Unexpected EOF in inner html mode.
300 #document-fragment
301 html
302 #document
303 | <head>
304 | <body>
305 | "X"
307 #data
308 <div><p>a</x> b
309 #errors
310 Line: 1 Col: 5 Unexpected start tag (div). Expected DOCTYPE.
311 Line: 1 Col: 13 Unexpected end tag (x). Ignored.
312 Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
313 #document
314 | <html>
315 | <head>
316 | <body>
317 | <div>
318 | <p>
319 | "a b"
321 #data
322 <table><tr><td><code></code> </table>
323 #errors
324 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
325 #document
326 | <html>
327 | <head>
328 | <body>
329 | <table>
330 | <tbody>
331 | <tr>
332 | <td>
333 | <code>
334 | " "
336 #data
337 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
338 #errors
339 XXX: Fix me
340 #document
341 | <html>
342 | <head>
343 | <body>
344 | <b>
345 | <b>
346 | "bbb"
347 | <table>
348 | <tbody>
349 | <tr>
350 | <td>
351 | "aaa"
352 | <b>
353 | "ccc"
355 #data
356 A<table><tr> B</tr> B</table>
357 #errors
358 XXX: Fix me
359 #document
360 | <html>
361 | <head>
362 | <body>
363 | "A B B"
364 | <table>
365 | <tbody>
366 | <tr>
368 #data
369 A<table><tr> B</tr> </em>C</table>
370 #errors
371 XXX: Fix me
372 #document
373 | <html>
374 | <head>
375 | <body>
376 | "A BC"
377 | <table>
378 | <tbody>
379 | <tr>
380 | " "
382 #data
383 <select><keygen>
384 #errors
385 Not known
386 #document
387 | <html>
388 | <head>
389 | <body>
390 | <select>
391 | <keygen>