/[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.16 - (show annotations) (download)
Sun Sep 6 10:17:39 2009 UTC (15 years, 2 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +7 -5 lines
++ whatpm/t/ChangeLog	6 Sep 2009 10:17:10 -0000
	* tree-test-1.dat, tree-test-2.dat: Fixed some test results
	related to the handling of </html> end tags.

2009-09-06  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	6 Sep 2009 10:16:48 -0000
	* HTML.pm.src: Changed the handling of </html> end tag of "in
	body" insertion mode according to the latest spec definition.

2009-09-06  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 #document-fragment optgroup
331 | <option>
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 #document-fragment option
344 | <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 </html> in the fragment parsing algorithm
601 text after </body>
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 </html> in the fragment parsing algorithm
612 #document-fragment html
613 | <head>
614 | <body>
615 | <span>
616
617 #data
618 <span></html>a
619 #errors
620 </span> not closed at </body> implied by </html>
621 </html> in the fragment parsing algorithm
622 text after </body>
623 unclosed </span> at the end-of-file
624 #document-fragment html
625 | <head>
626 | <body>
627 | <span>
628 | "a"
629
630 #data
631 </html>
632 #errors
633 unmarched </body> (generated by the algorithm to process </html>)
634 #document-fragment p
635
636 #data
637 </html>a
638 #errors
639 unmarched </body> (generated by the algorithm to process </html>)
640 #document-fragment p
641 | "a"
642
643 #data
644 <span></html>
645 #errors
646 unmarched </body> (generated by the algorithm to process </html>)
647 unclosed </span> at the end-of-file
648 #document-fragment p
649 | <span>
650
651 #data
652 <span></html>a
653 #errors
654 unmatched </html>
655 <span> not closed
656 #document-fragment p
657 | <span>
658 | "a"
659
660 #data escaped
661 aa\u0000b
662 #errors
663 NULL
664 #document-fragment p escaped
665 | "aa\ufffdb"
666
667 #data escaped
668 a\U12345678b
669 #errors
670 #document-fragment p escaped
671 | "a\ufffdb"
672
673 #data
674 <input>
675 #errors
676 #document-fragment form
677 | <input>
678
679 #data
680 <html>
681 #errors
682 <html> in <body>
683 #document-fragment body
684
685 #data
686 <html>
687 #errors
688 <html> in <html>
689 #document-fragment html
690 | <head>
691 | <body>
692
693 #data
694
695 #errors
696 #document-fragment html
697 | <head>
698 | <body>
699
700 #data
701 <head><body>
702 #errors
703 #document-fragment html
704 | <head>
705 | <body>
706
707 #data
708 a
709 #errors
710 #document-fragment html
711 | <head>
712 | <body>
713 | "a"
714
715 #data
716 a b
717 #errors
718 #document-fragment html
719 | <head>
720 | <body>
721 | "a b"
722
723 #data
724 <!----> <body>
725 #errors
726 #document-fragment html
727 | <!-- -->
728 | <head>
729 | <body>
730
731 #data
732 #errors
733 #document-fragment pre
734
735 #data
736 #errors
737 #document-fragment listing
738
739 #data
740 #errors
741 #document-fragment textarea
742
743 #data escaped
744 \u000A
745 #errors
746 #document-fragment pre
747 | "
748 "
749
750 #data escaped
751 \u000A
752 #errors
753 #document-fragment listing
754 | "
755 "
756
757 #data escaped
758 \u000A
759 #errors
760 #document-fragment textarea
761 | "
762 "
763
764 #data escaped
765 \u000Aa
766 #errors
767 #document-fragment pre
768 | "
769 a"
770
771 #data escaped
772 \u000Aa
773 #errors
774 #document-fragment listing
775 | "
776 a"
777
778 #data escaped
779 \u000Aa
780 #errors
781 #document-fragment textarea
782 | "
783 a"
784
785 #data
786 <span>
787 #errors
788 unexpected end-of-file
789 #document-fragment p
790 | <span>
791
792 #data
793 <li>
794 #errors
795 #document-fragment p
796 | <li>
797
798 #data
799 <dt>
800 #errors
801 #document-fragment p
802 | <dt>
803
804 #data
805 <dd>
806 #errors
807 #document-fragment p
808 | <dd>
809
810 #data
811 <p>
812 #errors
813 #document-fragment p
814 | <p>
815
816 #data
817 <thead>
818 #errors
819 #document-fragment table
820 | <thead>
821
822 #data
823 <tbody>
824 #errors
825 #document-fragment table
826 | <tbody>
827
828 #data
829 <tfoot>
830 #errors
831 #document-fragment table
832 | <tfoot>
833
834 #data
835 <tr>
836 #errors
837 #document-fragment table
838 | <tbody>
839 | <tr>
840
841 #data
842 <tr>
843 #errors
844 #document-fragment tbody
845 | <tr>
846
847 #data
848 <td>
849 #errors
850 #document-fragment tr
851 | <td>
852
853 #data
854 <td><a>
855 #errors
856 unexpected end-of-file
857 #document-fragment tr
858 | <td>
859 | <a>
860
861 #data
862 <col>
863 #errors
864 #document-fragment colgroup
865 | <col>
866
867 #data
868 <colgroup>
869 #errors
870 #document-fragment table
871 | <colgroup>
872
873 #data
874 <col>
875 #errors
876 #document-fragment table
877 | <colgroup>
878 | <col>
879
880 #data
881 <frameset>
882 #errors
883 unexpected end-of-file
884 #document-fragment frameset
885 | <frameset>
886
887 #data
888 <frame>
889 #errors
890 #document-fragment frameset
891 | <frame>
892
893 #data
894 <noframes>
895 #errors
896 no </noframes>
897 #document-fragment frameset
898 | <noframes>
899
900 ## NOTE: Scripting is disabled.
901 #data
902 <span>
903 #errors
904 #document-fragment noscript
905 | "<span>"
906
907 ## NOTE: Scripting is disabled.
908 #data
909 <span>
910 #errors
911 #document-fragment noframes
912 | "<span>"

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24