/[suikacvs]/markup/html/whatpm/t/tree-test-2.dat
Suika

Contents of /markup/html/whatpm/t/tree-test-2.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Sun Mar 9 10:05:21 2008 UTC (16 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.10: +129 -0 lines
++ whatpm/t/ChangeLog	9 Mar 2008 09:17:01 -0000
	* tree-test-1.dat, tree-test-2.dat: Test data on end-of-file
	are added (c.f. HTML5 revision 1348).

2008-03-09  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1
2     #data
3     <link rel="a" href="b">
4     #errors
5     #document-fragment head
6     | <link>
7     | href="b"
8     | rel="a"
9    
10     #data
11     <meta name="a" content="b">
12     #errors
13     #document-fragment head
14     | <meta>
15     | content="b"
16     | name="a"
17    
18     #data
19     <base href="a" target="b">
20     #errors
21     #document-fragment head
22     | <base>
23     | href="a"
24     | target="b"
25    
26     #data
27     <base href="a" target="b">a
28     #errors
29     #document-fragment head
30     | <base>
31     | href="a"
32     | target="b"
33     | "a"
34    
35    
36     #data
37     </style>
38     #errors
39     #document-fragment style
40     | "</style>"
41    
42     #data
43     </style>abc
44     #errors
45     #document-fragment style
46     | "</style>abc"
47    
48     #data
49     <style>ABC</style>abc
50     #errors
51     #document-fragment style
52     | "<style>ABC</style>abc"
53    
54     #data
55     <style>ABC</style>abc
56     #errors
57     #document-fragment div
58     | <style>
59     | "ABC"
60     | "abc"
61    
62     #data
63     </stylesheet
64     #errors
65     #document-fragment style
66     | "</stylesheet"
67    
68     #data
69     </title>
70     #errors
71     #document-fragment title
72     | "</title>"
73    
74     #data
75     </title>abc
76     #errors
77     #document-fragment title
78     | "</title>abc"
79    
80     #data
81     </titletext
82     #errors
83     #document-fragment title
84     | "</titletext"
85    
86     #data
87     <table><tr><td><table></table>
88     #errors
89     outer <table> not closed
90     #document-fragment div
91     | <table>
92     | <tbody>
93     | <tr>
94     | <td>
95     | <table>
96    
97     #data
98     <table><caption><table></table><tr><td>
99     #errors
100     outer <table> not closed
101     <caption> not closed
102     #document-fragment div
103     | <table>
104     | <caption>
105     | <table>
106     | <tbody>
107     | <tr>
108     | <td>
109    
110 wakaba 1.2 #data
111     <title>a</title>
112     #errors
113     #document-fragment p
114     | <title>
115     | "a"
116    
117     #data
118     <table><title>a</title></table>
119     #errors
120     <title> in table
121     #document-fragment div
122     | <title>
123     | "a"
124     | <table>
125    
126     #data
127     <title>a</title>
128     #errors
129     <title> in table
130     #document-fragment table
131     | <title>
132     | "a"
133 wakaba 1.3
134     #data
135 wakaba 1.6 </table>
136     #errors
137     </table> in <caption>
138     </caption> implied by </table> is ignored
139     #document-fragment caption
140    
141     #data
142     <tbody>
143     #errors
144     <tbody> in <caption>
145     </caption> implied by <tbody> is ignored
146     #document-fragment caption
147    
148     #data
149     <tbody>a
150     #errors
151     <tbody> in <caption>
152     </caption> implied by <tbody> is ignored
153     #document-fragment caption
154     | "a"
155    
156     #data
157     <caption>x
158     #errors
159     <caption> in <caption>
160     </caption> implied by <caption> is ignored
161     #document-fragment caption
162     | "x"
163    
164     #data
165     <tr>
166     #errors
167     <tr> in <caption>
168     </caption> implied by <tr> is ignored
169     #document-fragment caption
170    
171     #data
172     <tr>x
173     #errors
174     <tr> in <caption>
175     </caption> implied by <tr> is ignored
176     #document-fragment caption
177     | "x"
178    
179     #data
180     <td>
181     #errors
182     <td> in <caption>
183     </caption> implied by <td> is ignored
184     #document-fragment caption
185    
186     #data
187     <td>x
188     #errors
189     <td> in <caption>
190     </caption> implied by <td> is ignored
191     #document-fragment caption
192     | "x"
193    
194     #data
195     <th>
196     #errors
197     <th> in <caption>
198     </caption> implied by <th> is ignored
199     #document-fragment caption
200    
201     #data
202     <th>x
203     #errors
204     <th> in <caption>
205     </caption> implied by <th> is ignored
206     #document-fragment caption
207     | "x"
208    
209     #data
210     <col>
211     #errors
212     <col> in <caption>
213     </caption> implied by <col> is ignored
214     #document-fragment caption
215    
216     #data
217     <col>x
218     #errors
219     <col> in <caption>
220     </caption> implied by <col> is ignored
221     #document-fragment caption
222     | "x"
223    
224     #data
225     <caption><tbody>
226     #errors
227     <caption> in <tbody>
228     <tbody> in <tbody>
229     #document-fragment tbody
230    
231     #data
232     <caption>
233     #errors
234     <caption> in <tr>
235     #document-fragment tr
236    
237     #data
238     <caption>x
239     #errors
240     <caption> in <tr>
241     char in <tr>
242     #document-fragment tr
243     | "x"
244    
245     #data
246     </table>
247     #errors
248     </table> in <tr>.innerHTML
249     #document-fragment tr
250    
251     #data
252     </table><td>
253     #errors
254     </table> in <tr>.innerHTML
255     #document-fragment tr
256     | <td>
257    
258     #data
259     </tbody>
260     #errors
261     </tbody> in <tr>.innerHTML
262     #document-fragment tr
263    
264     #data
265     <table>
266     #errors
267     <table> in <table>
268     #document-fragment table
269    
270     #data
271     <table><tr>
272     #errors
273     <table> in <table>
274     #document-fragment table
275     | <tbody>
276     | <tr>
277    
278     #data
279     </colgroup>
280     #errors
281     </colgroup> in <colgroup>.innerHTML
282     #document-fragment colgroup
283    
284     #data
285     </colgroup><col>
286     #errors
287     </colgroup> in <colgroup>.innerHTML
288     #document-fragment colgroup
289     | <col>
290    
291     #data
292     </select>
293     #errors
294     </select> in <select>.innerHTML
295     #document-fragment select
296    
297     #data
298     </select><option>
299     #errors
300     </select> in <select>.innerHTML
301     #document-fragment select
302     | <option>
303    
304     #data
305     <select>
306     #errors
307     <select> in <select> - treated as if </select>
308     </select> in <select>.innerHTML
309     #document-fragment select
310    
311     #data
312     <select><option>
313     #errors
314     <select> in <select> - treated as if </select>
315     </select> in <select>.innerHTML
316     #document-fragment select
317     | <option>
318    
319     #data
320     </optgroup>
321     #errors
322     unmatched </optgroup>
323     #document-fragment optgroup
324    
325     #data
326     </optgroup><option>
327     #errors
328     unmatched </optgroup>
329     <option> in body
330     #document-fragment optgroup
331    
332     #data
333     </optgroup>
334     #errors
335     unmatched </optgroup>
336     #document-fragment option
337    
338     #data
339     </optgroup><option>
340     #errors
341     unmatched </optgroup>
342     <option> in body
343     #document-fragment option
344    
345     #data
346     </optgroup>a
347     #errors
348     unmatched </optgroup>
349     #document-fragment option
350     | "a"
351    
352     #data
353     </optgroup>
354     #errors
355     unmatched </optgroup>
356     #document-fragment select
357    
358     #data
359     </option>
360     #errors
361     unmatched </option>
362     #document-fragment select
363    
364     #data
365     </option>
366     #errors
367     unmatched </option>
368     #document-fragment option
369    
370     #data
371     </table>
372     #errors
373     </table> in <select>
374     #document-fragment select
375    
376     #data
377     </tbody>
378     #errors
379     </tbody> in <select>
380     #document-fragment select
381    
382     #data
383     </thead>
384     #errors
385     </thead> in <select>
386     #document-fragment select
387    
388     #data
389     </tfoot>
390     #errors
391     </tfoot> in <select>
392     #document-fragment select
393    
394     #data
395     </tr>
396     #errors
397     </tr> in <select>
398     #document-fragment select
399    
400     #data
401     <option>
402     #errors
403     #document-fragment select
404     | <option>
405    
406     #data
407     <optgroup>
408     #errors
409     #document-fragment select
410     | <optgroup>
411    
412     #data
413     </tr><option>a
414     #errors
415     </tr> in <select>
416     #document-fragment select
417     | <option>
418     | "a"
419    
420     #data
421     </caption>
422     #errors
423     </caption> in <select>
424     #document-fragment select
425    
426     #data
427     </td>
428     #errors
429     </td> in <select>
430     #document-fragment select
431    
432     #data
433     </th>
434     #errors
435     </th> in <select>
436     #document-fragment select
437    
438     #data
439     </th>aaa
440     #errors
441     unmatched </th>
442     #document-fragment option
443     | "aaa"
444    
445     #data
446 wakaba 1.3 </frameset>
447     #errors
448     unmatched </frameset>
449     #document-fragment frameset
450    
451     #data
452     </frameset></frameset>
453     #errors
454     unmatched </frameset>
455     unmatched </frameset>
456     #document-fragment frameset
457    
458     #data
459     </frameset></frameset></frameset>
460     #errors
461     unmatched </frameset>
462     unmatched </frameset>
463     unmatched </frameset>
464     #document-fragment frameset
465    
466     #data
467     </frameset></html>
468     #errors
469     unmatched </frameset>
470     unmatched </html>
471     #document-fragment frameset
472    
473     #data
474     </frameset></frameset></html>
475     #errors
476     unmatched </frameset>
477     unmatched </frameset>
478     unmatched </html>
479     #document-fragment frameset
480    
481     #data
482     </frameset><frame>
483     #errors
484     unmatched </frameset>
485     #document-fragment frameset
486     | <frame>
487    
488     #data
489     </frameset><!---->
490     #errors
491     unmatched </frameset>
492     #document-fragment frameset
493     | <!-- -->
494    
495     #data
496     </frameset></html><!---->
497     #errors
498     unmatched </frameset>
499     unmatched </html>
500     #document-fragment frameset
501     | <!-- -->
502 wakaba 1.4
503     #data
504     a
505     #errors
506     character in table body
507     #document-fragment tbody
508     | "a"
509    
510     #data
511     a
512     #errors
513     character in table body
514     #document-fragment thead
515     | "a"
516    
517     #data
518     a
519     #errors
520     character in table body
521     #document-fragment tfoot
522     | "a"
523 wakaba 1.5
524     #data
525     a
526     #errors
527     #document-fragment html
528     | <head>
529     | <body>
530     | "a"
531    
532     #data
533     <p>
534     #errors
535     #document-fragment html
536     | <head>
537     | <body>
538     | <p>
539    
540     #data
541     <title>aa
542     #errors
543     EOF in <title>
544     unexpected end of file
545     #document-fragment html
546     | <head>
547     | <title>
548     | "aa"
549    
550     #data
551     <title>aa</title>
552     #errors
553     unexpected end of file
554     #document-fragment html
555     | <head>
556     | <title>
557     | "aa"
558    
559     #data
560     <style></style>
561     #errors
562     unexpected end of file
563     #document-fragment html
564     | <head>
565     | <style>
566 wakaba 1.6
567     #data
568     #errors
569     #document-fragment html
570    
571     #data
572     <head>
573     #errors
574     unexpected end of file (no <body>)
575     #document-fragment html
576     | <head>
577    
578     #data
579     <link>
580     #errors
581     unexpected end of file (no <body>)
582     #document-fragment html
583     | <head>
584     | <link>
585    
586     #data
587     </html>
588     #errors
589     unmarched </html>
590     #document-fragment html
591     | <head>
592     | <body>
593    
594     #data
595     </html>a
596     #errors
597     unmatched </html>
598     char after </body> implied by </html>
599     #document-fragment html
600     | <head>
601     | <body>
602     | "a"
603    
604     #data
605     <span></html>
606     #errors
607     <span> not closed at </body> implied by </html>
608     unmatched </html>
609     unexpected end of file (no </span>)
610     #document-fragment html
611     | <head>
612     | <body>
613     | <span>
614    
615     #data
616     <span></html>a
617     #errors
618     <span> not closed at </body> implied by </html>
619     char after </body> implied by </html>
620     unmatched </html>
621     unexpected end of file (no </span>)
622     #document-fragment html
623     | <head>
624     | <body>
625     | <span>
626     | "a"
627    
628     #data
629     </html>
630     #errors
631     unmarched </html>
632     #document-fragment p
633    
634     #data
635     </html>a
636     #errors
637     unmatched </html>
638     #document-fragment p
639     | "a"
640    
641     #data
642     <span></html>
643     #errors
644     unmatched </html>
645     <span> not closed
646     #document-fragment p
647     | <span>
648    
649     #data
650     <span></html>a
651     #errors
652     unmatched </html>
653     <span> not closed
654     #document-fragment p
655     | <span>
656     | "a"
657    
658     #data escaped
659     aa\u0000b
660     #errors
661     NULL
662     #document-fragment p escaped
663     | "aa\ufffdb"
664    
665     #data escaped
666     a\U12345678b
667     #errors
668     #document-fragment p escaped
669     | "a\ufffdb"
670    
671     #data
672     <input>
673     #errors
674     #document-fragment form
675     | <input>
676 wakaba 1.7
677     #data
678     <html>
679     #errors
680     <html> in <body>
681     #document-fragment body
682    
683     #data
684     <html>
685     #errors
686     <html> in <html>
687     #document-fragment html
688 wakaba 1.9
689     #data
690 wakaba 1.10
691     #errors
692     #document-fragment html
693    
694     #data
695     <head><body>
696     #errors
697     #document-fragment html
698     | <head>
699     | <body>
700    
701     #data
702     a
703     #errors
704     #document-fragment html
705     | <head>
706     | <body>
707     | "a"
708    
709     #data
710     a b
711     #errors
712     #document-fragment html
713     | <head>
714     | <body>
715     | "a b"
716    
717     #data
718     <!----> <body>
719     #errors
720     #document-fragment html
721     | <!-- -->
722     | <head>
723     | <body>
724    
725     #data
726 wakaba 1.9 #errors
727     #document-fragment pre
728    
729     #data
730     #errors
731     #document-fragment listing
732    
733     #data
734     #errors
735     #document-fragment textarea
736    
737     #data escaped
738     \u000A
739     #errors
740     #document-fragment pre
741     | "
742     "
743    
744     #data escaped
745     \u000A
746     #errors
747     #document-fragment listing
748     | "
749     "
750    
751     #data escaped
752     \u000A
753     #errors
754     #document-fragment textarea
755     | "
756     "
757    
758     #data escaped
759     \u000Aa
760     #errors
761     #document-fragment pre
762     | "
763     a"
764    
765     #data escaped
766     \u000Aa
767     #errors
768     #document-fragment listing
769     | "
770     a"
771    
772     #data escaped
773     \u000Aa
774     #errors
775     #document-fragment textarea
776     | "
777     a"
778 wakaba 1.11
779     #data
780     <span>
781     #errors
782     unexpected end-of-file
783     #document-fragment p
784     | <span>
785    
786     #data
787     <li>
788     #errors
789     #document-fragment p
790     | <li>
791    
792     #data
793     <dt>
794     #errors
795     #document-fragment p
796     | <dt>
797    
798     #data
799     <dd>
800     #errors
801     #document-fragment p
802     | <dd>
803    
804     #data
805     <p>
806     #errors
807     #document-fragment p
808     | <p>
809    
810     #data
811     <thead>
812     #errors
813     #document-fragment table
814     | <thead>
815    
816     #data
817     <tbody>
818     #errors
819     #document-fragment table
820     | <tbody>
821    
822     #data
823     <tfoot>
824     #errors
825     #document-fragment table
826     | <tfoot>
827    
828     #data
829     <tr>
830     #errors
831     #document-fragment table
832     | <tbody>
833     | <tr>
834    
835     #data
836     <tr>
837     #errors
838     #document-fragment tbody
839     | <tr>
840    
841     #data
842     <td>
843     #errors
844     #document-fragment tr
845     | <td>
846    
847     #data
848     <td><a>
849     #errors
850     unexpected end-of-file
851     #document-fragment tr
852     | <td>
853     | <a>
854    
855     #data
856     <col>
857     #errors
858     #document-fragment colgroup
859     | <col>
860    
861     #data
862     <colgroup>
863     #errors
864     #document-fragment table
865     | <colgroup>
866    
867     #data
868     <col>
869     #errors
870     #document-fragment table
871     | <colgroup>
872     | <col>
873    
874     #data
875     <frameset>
876     #errors
877     unexpected end-of-file
878     #document-fragment frameset
879     | <frameset>
880    
881     #data
882     <frame>
883     #errors
884     #document-fragment frameset
885     | <frame>
886    
887     #data
888     <noframes>
889     #errors
890     no </noframes>
891     #document-fragment frameset
892     | <noframes>
893    
894     ## NOTE: Scripting is disabled.
895     #data
896     <span>
897     #errors
898     #document-fragment noscript
899     | "<span>"
900    
901     ## NOTE: Scripting is disabled.
902     #data
903     <span>
904     #errors
905     #document-fragment noframes
906     | "<span>"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24