/[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.13 - (show annotations) (download)
Tue Oct 14 07:40:52 2008 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.12: +0 -1 lines
++ whatpm/t/ChangeLog	14 Oct 2008 07:37:19 -0000
	* tree-test-phrasing.dat: Wrong test results fixed.

	* tree-test-foreign.dat: New tests added.

	* testfiles.pl: "#..." line at the end of a test entry was not
	supported.

	* HTML-tree.t: Show the "#data" content in "no #errors" error
	message.

	* tokenizer-test-2.dat: A wrong test result fixed.

2008-10-14  Wakaba  <wakaba@suika.fam.cx>

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24