/[suikacvs]/markup/html/whatpm/t/tree-construction/tests6.dat
Suika

Contents of /markup/html/whatpm/t/tree-construction/tests6.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Sat Mar 8 01:57:51 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +16 -6 lines
html5lib tests updated

1 wakaba 1.1 #data
2     <!doctype html></head> <head>
3     #errors
4 wakaba 1.7 Line: 1 Col: 29 Unexpected start tag head. Ignored.
5 wakaba 1.1 #document
6     | <!DOCTYPE html>
7     | <html>
8     | <head>
9     | " "
10     | <body>
11    
12     #data
13     <!doctype html></html> <head>
14     #errors
15 wakaba 1.7 Line: 1 Col: 29 Unexpected start tag (head). Expected end of file.
16     Line: 1 Col: 29 Unexpected start tag token (head) in the after body phase.
17     Line: 1 Col: 29 Unexpected start tag head. Ignored.
18 wakaba 1.1 #document
19     | <!DOCTYPE html>
20     | <html>
21     | <head>
22     | <body>
23     | " "
24    
25     #data
26     <!doctype html></body><meta>
27     #errors
28 wakaba 1.7 Line: 1 Col: 28 Unexpected start tag token (meta) in the after body phase.
29 wakaba 1.1 #document
30     | <!DOCTYPE html>
31     | <html>
32     | <head>
33     | <body>
34     | <meta>
35 wakaba 1.2
36     #data
37 wakaba 1.9 <!doctype html><form><div></form><div>
38 wakaba 1.2 #errors
39 wakaba 1.7 Line: 1 Col: 33 End tag (form) seen too early. Ignored.
40     Line: 1 Col: 38 Expected closing tag. Unexpected end of file.
41 wakaba 1.2 #document
42 wakaba 1.9 | <!DOCTYPE html>
43 wakaba 1.2 | <html>
44     | <head>
45     | <body>
46     | <form>
47     | <div>
48     | <div>
49    
50     #data
51 wakaba 1.9 <!doctype html><title>&amp;</title>
52 wakaba 1.2 #errors
53     #document
54 wakaba 1.9 | <!DOCTYPE html>
55 wakaba 1.2 | <html>
56     | <head>
57     | <title>
58     | "&"
59     | <body>
60    
61     #data
62 wakaba 1.9 <!doctype html><title><!--&amp;--></title>
63 wakaba 1.2 #errors
64     #document
65 wakaba 1.9 | <!DOCTYPE html>
66 wakaba 1.2 | <html>
67     | <head>
68     | <title>
69     | "<!--&amp;-->"
70 wakaba 1.3 | <body>
71    
72     #data
73     <!doctype>
74     #errors
75 wakaba 1.7 Line: 1 Col: 9 No space after literal string 'DOCTYPE'.
76     Line: 1 Col: 10 Unexpected > character. Expected DOCTYPE name.
77     Line: 1 Col: 10 Erroneous DOCTYPE.
78 wakaba 1.3 #document
79 wakaba 1.4 | <!DOCTYPE >
80 wakaba 1.3 | <html>
81     | <head>
82     | <body>
83    
84     #data
85     <!---x
86     #errors
87 wakaba 1.7 Line: 1 Col: 6 Unexpected end of file in comment.
88     Line: 1 Col: 6 Unexpected End of file. Expected DOCTYPE.
89 wakaba 1.3 #document
90     | <!-- -x -->
91     | <html>
92     | <head>
93 wakaba 1.2 | <body>
94 wakaba 1.5
95     #data
96     <body>
97     <div>
98     #errors
99 wakaba 1.7 Line: 1 Col: 6 Unexpected start tag (body).
100     Line: 2 Col: 5 Expected closing tag. Unexpected end of file.
101 wakaba 1.5 #document-fragment
102     div
103     #document
104     | "
105     "
106     | <div>
107    
108     #data
109     <frameset></frameset>
110     foo
111     #errors
112 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
113     Line: 2 Col: 3 Unexpected non-space characters in the after frameset phase. Ignored.
114 wakaba 1.5 #document
115     | <html>
116     | <head>
117     | <frameset>
118     | "
119     "
120    
121     #data
122     <frameset></frameset>
123     <noframes>
124     #errors
125 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
126     Line: 2 Col: 10 Expected closing tag. Unexpected end of file.
127 wakaba 1.5 #document
128     | <html>
129     | <head>
130     | <frameset>
131     | "
132     "
133     | <noframes>
134    
135     #data
136     <frameset></frameset>
137     <div>
138     #errors
139 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
140     Line: 2 Col: 5 Unexpected start tag (div) in the after frameset phase. Ignored.
141 wakaba 1.5 #document
142     | <html>
143     | <head>
144     | <frameset>
145     | "
146     "
147    
148     #data
149     <frameset></frameset>
150     </html>
151     #errors
152 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
153 wakaba 1.5 #document
154     | <html>
155     | <head>
156     | <frameset>
157     | "
158     "
159    
160     #data
161     <frameset></frameset>
162     </div>
163     #errors
164 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
165     Line: 2 Col: 6 Unexpected end tag (div) in the after frameset phase. Ignored.
166 wakaba 1.5 #document
167     | <html>
168     | <head>
169     | <frameset>
170     | "
171 wakaba 1.6 "
172    
173     #data
174     <form><form>
175     #errors
176 wakaba 1.7 Line: 1 Col: 6 Unexpected start tag (form). Expected DOCTYPE.
177     Line: 1 Col: 12 Unexpected start tag (form).
178     Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
179 wakaba 1.6 #document
180     | <html>
181     | <head>
182     | <body>
183     | <form>
184    
185     #data
186     <button><button>
187     #errors
188 wakaba 1.7 Line: 1 Col: 8 Unexpected start tag (button). Expected DOCTYPE.
189     Line: 1 Col: 16 Unexpected start tag (button) implies end tag (button).
190     Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
191 wakaba 1.6 #document
192     | <html>
193     | <head>
194     | <body>
195     | <button>
196     | <button>
197    
198     #data
199     <table><tr><td></th>
200     #errors
201 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
202     Line: 1 Col: 20 Unexpected end tag (th). Ignored.
203     Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
204 wakaba 1.6 #document
205     | <html>
206     | <head>
207     | <body>
208     | <table>
209     | <tbody>
210     | <tr>
211     | <td>
212    
213     #data
214     <table><caption><td>
215     #errors
216 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
217     Line: 1 Col: 20 Unexpected end tag (td). Ignored.
218     Line: 1 Col: 20 Unexpected table cell start tag (td) in the table body phase.
219     Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
220 wakaba 1.6 #document
221     | <html>
222     | <head>
223     | <body>
224     | <table>
225     | <caption>
226     | <tbody>
227     | <tr>
228     | <td>
229    
230     #data
231     <table><caption><div>
232     #errors
233 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
234     Line: 1 Col: 21 Expected closing tag. Unexpected end of file.
235 wakaba 1.6 #document
236     | <html>
237     | <head>
238     | <body>
239     | <table>
240     | <caption>
241     | <div>
242    
243     #data
244     </caption><div>
245     #errors
246 wakaba 1.7 Line: 1 Col: 10 Unexpected end tag (caption). Ignored.
247     Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
248 wakaba 1.8 #document-fragment
249     caption
250 wakaba 1.6 #document
251     | <div>
252    
253     #data
254     <table><caption><div></caption>
255     #errors
256 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
257     Line: 1 Col: 31 Unexpected end tag (caption). Missing end tag (div).
258     Line: 1 Col: 31 Expected closing tag. Unexpected end of file.
259 wakaba 1.6 #document
260     | <html>
261     | <head>
262     | <body>
263     | <table>
264     | <caption>
265     | <div>
266    
267     #data
268     <table><caption></table>
269     #errors
270 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
271     Line: 1 Col: 24 Unexpected end table tag in caption. Generates implied end caption.
272 wakaba 1.6 #document
273     | <html>
274     | <head>
275     | <body>
276     | <table>
277     | <caption>
278    
279     #data
280     </table><div>
281     #errors
282 wakaba 1.7 Line: 1 Col: 8 Unexpected end table tag in caption. Generates implied end caption.
283     Line: 1 Col: 8 Unexpected end tag (caption). Ignored.
284     Line: 1 Col: 13 Expected closing tag. Unexpected end of file.
285 wakaba 1.8 #document-fragment
286     caption
287 wakaba 1.6 #document
288     | <div>
289    
290     #data
291     <table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr>
292     #errors
293 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
294     Line: 1 Col: 23 Unexpected end tag (body). Ignored.
295     Line: 1 Col: 29 Unexpected end tag (col). Ignored.
296     Line: 1 Col: 40 Unexpected end tag (colgroup). Ignored.
297     Line: 1 Col: 47 Unexpected end tag (html). Ignored.
298     Line: 1 Col: 55 Unexpected end tag (tbody). Ignored.
299     Line: 1 Col: 60 Unexpected end tag (td). Ignored.
300     Line: 1 Col: 68 Unexpected end tag (tfoot). Ignored.
301     Line: 1 Col: 73 Unexpected end tag (th). Ignored.
302     Line: 1 Col: 81 Unexpected end tag (thead). Ignored.
303     Line: 1 Col: 86 Unexpected end tag (tr). Ignored.
304     Line: 1 Col: 86 Expected closing tag. Unexpected end of file.
305 wakaba 1.6 #document
306     | <html>
307     | <head>
308     | <body>
309     | <table>
310     | <caption>
311    
312     #data
313     <table><caption><div></div>
314     #errors
315 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
316     Line: 1 Col: 27 Expected closing tag. Unexpected end of file.
317 wakaba 1.6 #document
318     | <html>
319     | <head>
320     | <body>
321     | <table>
322     | <caption>
323     | <div>
324    
325     #data
326     <table><tr><td></body></caption></col></colgroup></html>
327     #errors
328 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
329     Line: 1 Col: 22 Unexpected end tag (body). Ignored.
330     Line: 1 Col: 32 Unexpected end tag (caption). Ignored.
331     Line: 1 Col: 38 Unexpected end tag (col). Ignored.
332     Line: 1 Col: 49 Unexpected end tag (colgroup). Ignored.
333     Line: 1 Col: 56 Unexpected end tag (html). Ignored.
334     Line: 1 Col: 56 Expected closing tag. Unexpected end of file.
335 wakaba 1.6 #document
336     | <html>
337     | <head>
338     | <body>
339     | <table>
340     | <tbody>
341     | <tr>
342     | <td>
343    
344     #data
345     </table></tbody></tfoot></thead></tr><div>
346     #errors
347 wakaba 1.7 Line: 1 Col: 8 Unexpected end tag (table). Ignored.
348     Line: 1 Col: 16 Unexpected end tag (tbody). Ignored.
349     Line: 1 Col: 24 Unexpected end tag (tfoot). Ignored.
350     Line: 1 Col: 32 Unexpected end tag (thead). Ignored.
351     Line: 1 Col: 37 Unexpected end tag (tr). Ignored.
352     Line: 1 Col: 42 Expected closing tag. Unexpected end of file.
353 wakaba 1.8 #document-fragment
354     td
355 wakaba 1.6 #document
356     | <div>
357    
358     #data
359     <table><colgroup>foo
360     #errors
361 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
362     Line: 1 Col: 20 Unexpected non-space characters in table context caused voodoo mode.
363     Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
364 wakaba 1.6 #document
365     | <html>
366     | <head>
367     | <body>
368     | "foo"
369     | <table>
370     | <colgroup>
371    
372     #data
373     foo<col>
374 wakaba 1.8 #errors
375     Line: 1 Col: 3 Unexpected end tag (colgroup). Ignored.
376 wakaba 1.6 #document-fragment
377     colgroup
378     #document
379     | <col>
380    
381     #data
382     <table><colgroup></col>
383     #errors
384 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
385     Line: 1 Col: 23 This element (col) has no end tag.
386     Line: 1 Col: 23 Expected closing tag. Unexpected end of file.
387 wakaba 1.6 #document
388     | <html>
389     | <head>
390     | <body>
391     | <table>
392     | <colgroup>
393    
394     #data
395     <frameset><div>
396     #errors
397 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
398     Line: 1 Col: 15 Unexpected start tag token (div) in the frameset phase. Ignored.
399     Line: 1 Col: 15 Expected closing tag. Unexpected end of file.
400 wakaba 1.6 #document
401     | <html>
402     | <head>
403     | <frameset>
404    
405     #data
406     </frameset><frame>
407 wakaba 1.8 #errors
408     Line: 1 Col: 11 Unexpected end tag token (frameset) in the frameset phase (innerHTML).
409 wakaba 1.6 #document-fragment
410     frameset
411     #document
412     | <frame>
413    
414     #data
415     <frameset></div>
416     #errors
417 wakaba 1.7 Line: 1 Col: 10 Unexpected start tag (frameset). Expected DOCTYPE.
418     Line: 1 Col: 16 Unexpected end tag token (div) in the frameset phase. Ignored.
419     Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
420 wakaba 1.6 #document
421     | <html>
422     | <head>
423     | <frameset>
424    
425     #data
426     </body><div>
427     #errors
428 wakaba 1.7 Line: 1 Col: 7 Unexpected end tag (body). Ignored.
429     Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
430 wakaba 1.8 #document-fragment
431     body
432 wakaba 1.6 #document
433     | <div>
434    
435     #data
436     <table><tr><div>
437     #errors
438 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
439     Line: 1 Col: 16 Unexpected start tag (div) in table context caused voodoo mode.
440     Line: 1 Col: 16 Expected closing tag. Unexpected end of file.
441 wakaba 1.6 #document
442     | <html>
443     | <head>
444     | <body>
445     | <div>
446     | <table>
447     | <tbody>
448     | <tr>
449    
450     #data
451     </tr><td>
452 wakaba 1.8 #errors
453     Line: 1 Col: 5 Unexpected end tag (tr). Ignored.
454 wakaba 1.6 #document-fragment
455     tr
456     #document
457     | <td>
458    
459     #data
460     </tbody></tfoot></thead><td>
461     #errors
462 wakaba 1.7 Line: 1 Col: 8 Unexpected end tag (tbody). Ignored.
463     Line: 1 Col: 16 Unexpected end tag (tfoot). Ignored.
464     Line: 1 Col: 24 Unexpected end tag (thead). Ignored.
465 wakaba 1.8 #document-fragment
466     tr
467 wakaba 1.6 #document
468     | <td>
469    
470     #data
471     <table><tr><div><td>
472     #errors
473 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
474     Line: 1 Col: 16 Unexpected start tag (div) in table context caused voodoo mode.
475     Line: 1 Col: 20 Unexpected implied end tag (div) in the table row phase.
476     Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
477 wakaba 1.6 #document
478     | <html>
479     | <head>
480     | <body>
481     | <div>
482     | <table>
483     | <tbody>
484     | <tr>
485     | <td>
486    
487     #data
488     <caption><col><colgroup><tbody><tfoot><thead><tr>
489     #errors
490 wakaba 1.7 Line: 1 Col: 9 Unexpected start tag (caption).
491     Line: 1 Col: 14 Unexpected start tag (col).
492     Line: 1 Col: 24 Unexpected start tag (colgroup).
493     Line: 1 Col: 31 Unexpected start tag (tbody).
494     Line: 1 Col: 38 Unexpected start tag (tfoot).
495     Line: 1 Col: 45 Unexpected start tag (thead).
496 wakaba 1.8 #document-fragment
497     tbody
498 wakaba 1.6 #document
499     | <tr>
500    
501     #data
502     <table><tbody></thead>
503     #errors
504 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
505     Line: 1 Col: 22 Unexpected end tag (thead) in the table body phase. Ignored.
506     Line: 1 Col: 22 Expected closing tag. Unexpected end of file.
507 wakaba 1.6 #document
508     | <html>
509     | <head>
510     | <body>
511     | <table>
512     | <tbody>
513    
514     #data
515     </table><tr>
516 wakaba 1.8 #errors
517     Line: 1 Col: 8 Unexpected end tag (table). Ignored.
518 wakaba 1.6 #document-fragment
519     tbody
520     #document
521     | <tr>
522    
523     #data
524     <table><tbody></body></caption></col></colgroup></html></td></th></tr>
525     #errors
526 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
527     Line: 1 Col: 21 Unexpected end tag (body) in the table body phase. Ignored.
528     Line: 1 Col: 31 Unexpected end tag (caption) in the table body phase. Ignored.
529     Line: 1 Col: 37 Unexpected end tag (col) in the table body phase. Ignored.
530     Line: 1 Col: 48 Unexpected end tag (colgroup) in the table body phase. Ignored.
531     Line: 1 Col: 55 Unexpected end tag (html) in the table body phase. Ignored.
532     Line: 1 Col: 60 Unexpected end tag (td) in the table body phase. Ignored.
533     Line: 1 Col: 65 Unexpected end tag (th) in the table body phase. Ignored.
534     Line: 1 Col: 70 Unexpected end tag (tr) in the table body phase. Ignored.
535     Line: 1 Col: 70 Expected closing tag. Unexpected end of file.
536 wakaba 1.6 #document
537     | <html>
538     | <head>
539     | <body>
540     | <table>
541     | <tbody>
542    
543     #data
544     <table><tbody></div>
545     #errors
546 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
547     Line: 1 Col: 20 Unexpected end tag (div) in table context caused voodoo mode.
548     Line: 1 Col: 20 End tag (div) seen too early. Expected other end tag.
549     Line: 1 Col: 20 Expected closing tag. Unexpected end of file.
550 wakaba 1.6 #document
551     | <html>
552     | <head>
553     | <body>
554     | <table>
555     | <tbody>
556    
557     #data
558     <table><table>
559     #errors
560 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
561     Line: 1 Col: 14 Unexpected start tag (table) implies end tag (table).
562     Line: 1 Col: 14 Expected closing tag. Unexpected end of file.
563 wakaba 1.6 #document
564     | <html>
565     | <head>
566     | <body>
567     | <table>
568     | <table>
569    
570     #data
571     <table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr>
572     #errors
573 wakaba 1.7 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE.
574     Line: 1 Col: 14 Unexpected end tag (body). Ignored.
575     Line: 1 Col: 24 Unexpected end tag (caption). Ignored.
576     Line: 1 Col: 30 Unexpected end tag (col). Ignored.
577     Line: 1 Col: 41 Unexpected end tag (colgroup). Ignored.
578     Line: 1 Col: 48 Unexpected end tag (html). Ignored.
579     Line: 1 Col: 56 Unexpected end tag (tbody). Ignored.
580     Line: 1 Col: 61 Unexpected end tag (td). Ignored.
581     Line: 1 Col: 69 Unexpected end tag (tfoot). Ignored.
582     Line: 1 Col: 74 Unexpected end tag (th). Ignored.
583     Line: 1 Col: 82 Unexpected end tag (thead). Ignored.
584     Line: 1 Col: 87 Unexpected end tag (tr). Ignored.
585     Line: 1 Col: 87 Expected closing tag. Unexpected end of file.
586 wakaba 1.6 #document
587     | <html>
588     | <head>
589     | <body>
590     | <table>
591    
592     #data
593     </table><tr>
594     #errors
595 wakaba 1.7 Line: 1 Col: 8 Unexpected end tag (table). Ignored.
596     Line: 1 Col: 12 Expected closing tag. Unexpected end of file.
597 wakaba 1.8 #document-fragment
598     table
599 wakaba 1.6 #document
600     | <tbody>
601     | <tr>
602 wakaba 1.7
603     #data
604     <html></html><!-- foo -->
605     #errors
606     Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
607     #document
608     | <html>
609     | <head>
610     | <body>
611     | <!-- foo -->
612    
613     #data
614     <body></body></html>
615     #errors
616     Line: 1 Col: 20 Unexpected html end tag in inner html mode.
617     Line: 1 Col: 20 Unexpected EOF in inner html mode.
618 wakaba 1.8 #document-fragment
619     html
620 wakaba 1.7 #document
621     | <head>
622     | <body>
623    
624     #data
625     <html><frameset></frameset></html>
626     #errors
627     Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE.
628     #document
629     | <html>
630     | <head>
631     | <frameset>
632     | " "
633 wakaba 1.9
634     #data
635     <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html>
636     #errors
637     doctype-error
638     #document
639     | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "">
640     | <html>
641     | <head>
642     | <body>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24