[HTMLTemplateElement] processTemplateEndTag() needs to check for template in html...
[WebKit-https.git] / LayoutTests / html5lib / resources / template.dat
1 #data
2 <body><template>Hello</template>
3 #errors
4 #document
5 | <html>
6 |   <head>
7 |   <body>
8 |     <template>
9 |       content
10 |         "Hello"
11
12 #data
13 <template>Hello</template>
14 #errors
15 #document
16 | <html>
17 |   <head>
18 |     <template>
19 |       content
20 |         "Hello"
21 |   <body>
22
23 #data
24 <template></template><div></div>
25 #errors
26 #document
27 | <html>
28 |   <head>
29 |     <template>
30 |       content
31 |   <body>
32 |     <div>
33
34 #data
35 <html><template>Hello</template>
36 #errors
37 #document
38 | <html>
39 |   <head>
40 |     <template>
41 |       content
42 |         "Hello"
43 |   <body>
44
45 #data
46 <head><template><div></div></template></head>
47 #errors
48 #document
49 | <html>
50 |   <head>
51 |     <template>
52 |       content
53 |         <div>
54 |   <body>
55
56 #data
57 <div><template><div><span></template><b>
58 #errors
59 #document
60 | <html>
61 |   <head>
62 |   <body>
63 |     <div>
64 |       <template>
65 |         content
66 |           <div>
67 |             <span>
68 |       <b>
69
70 #data
71 <div><template></div>Hello
72 #errors
73 #document
74 | <html>
75 |   <head>
76 |   <body>
77 |     <div>
78 |       <template>
79 |         content
80 |           "Hello"
81
82 #data
83 <div></template></div>
84 #errors
85 #document
86 | <html>
87 |   <head>
88 |   <body>
89 |     <div>
90
91 #data
92 <table><template></template></table>
93 #errors
94 #document
95 | <html>
96 |   <head>
97 |   <body>
98 |     <table>
99 |       <template>
100 |         content
101
102 #data
103 <table><template></template></div>
104 #errors
105 #document
106 | <html>
107 |   <head>
108 |   <body>
109 |     <table>
110 |       <template>
111 |         content
112
113 #data
114 <table><div><template></template></div>
115 #errors
116 #document
117 | <html>
118 |   <head>
119 |   <body>
120 |     <div>
121 |       <template>
122 |         content
123 |     <table>
124
125 #data
126 <table><template></template><div></div>
127 #errors
128 #document
129 | <html>
130 |   <head>
131 |   <body>
132 |     <div>
133 |     <table>
134 |       <template>
135 |         content
136
137 #data
138 <table>   <template></template></table>
139 #errors
140 #document
141 | <html>
142 |   <head>
143 |   <body>
144 |     <table>
145 |       "   "
146 |       <template>
147 |         content
148
149 #data
150 <table><tbody><template></template></tbody>
151 #errors
152 #document
153 | <html>
154 |   <head>
155 |   <body>
156 |     <table>
157 |       <tbody>
158 |         <template>
159 |           content
160
161 #data
162 <table><tbody><template></tbody></template>
163 #errors
164 #document
165 | <html>
166 |   <head>
167 |   <body>
168 |     <table>
169 |       <tbody>
170 |         <template>
171 |           content
172
173 #data
174 <table><tbody><template></template></tbody></table>
175 #errors
176 #document
177 | <html>
178 |   <head>
179 |   <body>
180 |     <table>
181 |       <tbody>
182 |         <template>
183 |           content
184
185 #data
186 <table><thead><template></template></thead>
187 #errors
188 #document
189 | <html>
190 |   <head>
191 |   <body>
192 |     <table>
193 |       <thead>
194 |         <template>
195 |           content
196
197 #data
198 <table><tfoot><template></template></tfoot>
199 #errors
200 #document
201 | <html>
202 |   <head>
203 |   <body>
204 |     <table>
205 |       <tfoot>
206 |         <template>
207 |           content
208
209 #data
210 <select><template></template></select>
211 #errors
212 #document
213 | <html>
214 |   <head>
215 |   <body>
216 |     <select>
217 |       <template>
218 |         content
219
220 #data
221 <select><template><option></option></template></select>
222 #errors
223 #document
224 | <html>
225 |   <head>
226 |   <body>
227 |     <select>
228 |       <template>
229 |         content
230 |           <option>
231
232 #data
233 <template><option></option></select><option></option></template>
234 #errors
235 #document
236 | <html>
237 |   <head>
238 |     <template>
239 |       content
240 |         <option>
241 |         <option>
242 |   <body>
243
244 #data
245 <select><template></template><option></select>
246 #errors
247 #document
248 | <html>
249 |   <head>
250 |   <body>
251 |     <select>
252 |       <template>
253 |         content
254 |       <option>
255
256 #data
257 <select><option><template></template></select>
258 #errors
259 #document
260 | <html>
261 |   <head>
262 |   <body>
263 |     <select>
264 |       <option>
265 |         <template>
266 |           content
267
268 #data
269 <select><template>
270 #errors
271 #document
272 | <html>
273 |   <head>
274 |   <body>
275 |     <select>
276 |       <template>
277 |         content
278
279 #data
280 <select><option></option><template>
281 #errors
282 #document
283 | <html>
284 |   <head>
285 |   <body>
286 |     <select>
287 |       <option>
288 |       <template>
289 |         content
290
291 #data
292 <select><option></option><template><option>
293 #errors
294 #document
295 | <html>
296 |   <head>
297 |   <body>
298 |     <select>
299 |       <option>
300 |       <template>
301 |         content
302 |           <option>
303
304 #data
305 <table><thead><template><td></template></table>
306 #errors
307 #document
308 | <html>
309 |   <head>
310 |   <body>
311 |     <table>
312 |       <thead>
313 |         <template>
314 |           content
315 |             <td>
316
317 #data
318 <table><template><thead></template></table>
319 #errors
320 #document
321 | <html>
322 |   <head>
323 |   <body>
324 |     <table>
325 |       <template>
326 |         content
327 |           <thead>
328
329 #data
330 <body><table><template><td></tr><div></template></table>
331 #errors
332 #document
333 | <html>
334 |   <head>
335 |   <body>
336 |     <table>
337 |       <template>
338 |         content
339 |           <td>
340 |             <div>
341
342 #data
343 <table><template><thead></template></thead></table>
344 #errors
345 #document
346 | <html>
347 |   <head>
348 |   <body>
349 |     <table>
350 |       <template>
351 |         content
352 |           <thead>
353
354 #data
355 <table><thead><template><tr></template></table>
356 #errors
357 #document
358 | <html>
359 |   <head>
360 |   <body>
361 |     <table>
362 |       <thead>
363 |         <template>
364 |           content
365 |             <tr>
366
367 #data
368 <table><template><tr></template></table>
369 #errors
370 #document
371 | <html>
372 |   <head>
373 |   <body>
374 |     <table>
375 |       <template>
376 |         content
377 |           <tr>
378
379 #data
380 <table><tr><template><td>
381 #errors
382 #document
383 | <html>
384 |   <head>
385 |   <body>
386 |     <table>
387 |       <tbody>
388 |         <tr>
389 |           <template>
390 |             content
391 |               <td>
392
393 #data
394 <table><template><tr><template><td></template></tr></template></table>
395 #errors
396 #document
397 | <html>
398 |   <head>
399 |   <body>
400 |     <table>
401 |       <template>
402 |         content
403 |           <tr>
404 |             <template>
405 |               content
406 |                 <td>
407
408 #data
409 <table><template><tr><template><td></td></template></tr></template></table>
410 #errors
411 #document
412 | <html>
413 |   <head>
414 |   <body>
415 |     <table>
416 |       <template>
417 |         content
418 |           <tr>
419 |             <template>
420 |               content
421 |                 <td>
422
423 #data
424 <table><template><td></template>
425 #errors
426 #document
427 | <html>
428 |   <head>
429 |   <body>
430 |     <table>
431 |       <template>
432 |         content
433 |           <td>
434
435 #data
436 <body><template><td></td></template>
437 #errors
438 #document
439 | <html>
440 |   <head>
441 |   <body>
442 |     <template>
443 |       content
444 |         <td>
445
446 #data
447 <body><template><template><tr></tr></template><td></td></template>
448 #errors
449 #document
450 | <html>
451 |   <head>
452 |   <body>
453 |     <template>
454 |       content
455 |         <template>
456 |           content
457 |             <tr>
458 |         <td>
459
460 #data
461 <table><colgroup><template><col>
462 #errors
463 #document
464 | <html>
465 |   <head>
466 |   <body>
467 |     <table>
468 |       <colgroup>
469 |         <template>
470 |           content
471 |             <col>
472
473 #data
474 <frameset><template><frame></frame></template></frameset>
475 #errors
476 #document
477 | <html>
478 |   <head>
479 |   <frameset>
480 |     <template>
481 |       content
482 |         <frame>
483
484 #data
485 <template><frame></frame></frameset><frame></frame></template>
486 #errors
487 #document
488 | <html>
489 |   <head>
490 |     <template>
491 |       content
492 |         <frame>
493 |         <frame>
494 |   <body>
495
496 #data
497 <template><div><frameset><span></span></div><span></span></template>
498 #errors
499 #document
500 | <html>
501 |   <head>
502 |     <template>
503 |       content
504 |         <div>
505 |           <span>
506 |         <span>
507 |   <body>
508
509 #data
510 <body><template><div><frameset><span></span></div><span></span></template></body>
511 #errors
512 #document
513 | <html>
514 |   <head>
515 |   <body>
516 |     <template>
517 |       content
518 |         <div>
519 |           <span>
520 |         <span>
521
522 #data
523 <body><template><script>var i = 1;</script><td></td></template>
524 #errors
525 #document
526 | <html>
527 |   <head>
528 |   <body>
529 |     <template>
530 |       content
531 |         <script>
532 |           "var i = 1;"
533 |         <td>
534
535 #data
536 <body><template><tr><div></div></tr></template>
537 #errors
538 #document
539 | <html>
540 |   <head>
541 |   <body>
542 |     <template>
543 |       content
544 |         <tr>
545 |         <div>
546
547 #data
548 <body><template><tr></tr><td></td></template>
549 #errors
550 #document
551 | <html>
552 |   <head>
553 |   <body>
554 |     <template>
555 |       content
556 |         <tr>
557 |         <tr>
558 |           <td>
559
560 #data
561 <body><template><td></td></tr><td></td></template>
562 #errors
563 #document
564 | <html>
565 |   <head>
566 |   <body>
567 |     <template>
568 |       content
569 |         <td>
570 |         <td>
571
572
573 #data
574 <body><template><td></td><tbody><td></td></template>
575 #errors
576 #document
577 | <html>
578 |   <head>
579 |   <body>
580 |     <template>
581 |       content
582 |         <td>
583 |         <td>
584
585 #data
586 <body><template><td></td><caption></caption><td></td></template>
587 #errors
588 #document
589 | <html>
590 |   <head>
591 |   <body>
592 |     <template>
593 |       content
594 |         <td>
595 |         <td>
596
597 #data
598 <body><template><td></td><colgroup></caption><td></td></template>
599 #errors
600 #document
601 | <html>
602 |   <head>
603 |   <body>
604 |     <template>
605 |       content
606 |         <td>
607 |         <td>
608
609 #data
610 <body><template><td></td></table><td></td></template>
611 #errors
612 #document
613 | <html>
614 |   <head>
615 |   <body>
616 |     <template>
617 |       content
618 |         <td>
619 |         <td>
620
621 #data
622 <body><template><tr></tr><tbody><tr></tr></template>
623 #errors
624 #document
625 | <html>
626 |   <head>
627 |   <body>
628 |     <template>
629 |       content
630 |         <tr>
631 |         <tr>
632
633 #data
634 <body><template><tr></tr><caption><tr></tr></template>
635 #errors
636 #document
637 | <html>
638 |   <head>
639 |   <body>
640 |     <template>
641 |       content
642 |         <tr>
643 |         <tr>
644
645 #data
646 <body><template><tr></tr></table><tr></tr></template>
647 #errors
648 #document
649 | <html>
650 |   <head>
651 |   <body>
652 |     <template>
653 |       content
654 |         <tr>
655 |         <tr>
656
657 #data
658 <body><template><thead></thead><caption></caption><tbody></tbody></template>
659 #errors
660 #document
661 | <html>
662 |   <head>
663 |   <body>
664 |     <template>
665 |       content
666 |         <thead>
667 |         <caption>
668 |         <tbody>
669
670 #data
671 <body><template><thead></thead></table><tbody></tbody></template></body>
672 #errors
673 #document
674 | <html>
675 |   <head>
676 |   <body>
677 |     <template>
678 |       content
679 |         <thead>
680 |         <tbody>
681
682 #data
683 <body><template><div><tr></tr></div></template>
684 #errors
685 #document
686 | <html>
687 |   <head>
688 |   <body>
689 |     <template>
690 |       content
691 |         <div>
692
693 #data
694 <body><template><em>Hello</em></template>
695 #errors
696 #document
697 | <html>
698 |   <head>
699 |   <body>
700 |     <template>
701 |       content
702 |         <em>
703 |           "Hello"
704
705 #data
706 <body><template><!--comment--></template>
707 #errors
708 #document
709 | <html>
710 |   <head>
711 |   <body>
712 |     <template>
713 |       content
714 |         <!-- comment -->
715
716 #data
717 <body><template><style></style><td></td></template>
718 #errors
719 #document
720 | <html>
721 |   <head>
722 |   <body>
723 |     <template>
724 |       content
725 |         <style>
726 |         <td>
727
728 #data
729 <body><template><meta><td></td></template>
730 #errors
731 #document
732 | <html>
733 |   <head>
734 |   <body>
735 |     <template>
736 |       content
737 |         <meta>
738 |         <td>
739
740 #data
741 <body><template><link><td></td></template>
742 #errors
743 #document
744 | <html>
745 |   <head>
746 |   <body>
747 |     <template>
748 |       content
749 |         <link>
750 |         <td>
751
752 #data
753 <body><template><template><tr></tr></template><td></td></template>
754 #errors
755 #document
756 | <html>
757 |   <head>
758 |   <body>
759 |     <template>
760 |       content
761 |         <template>
762 |           content
763 |             <tr>
764 |         <td>
765
766 #data
767 <body><table><colgroup><template><col></col></template></colgroup></table></body>
768 #errors
769 #document
770 | <html>
771 |   <head>
772 |   <body>
773 |     <table>
774 |       <colgroup>
775 |         <template>
776 |           content
777 |             <col>
778
779 #data
780 <body a=b><template><div></div><body c=d><div></div></body></template></body>
781 #errors
782 #document
783 | <html>
784 |   <head>
785 |   <body>
786 |     a="b"
787 |     <template>
788 |       content
789 |         <div>
790 |         <div>
791
792 #data
793 <html a=b><template><div><html b=c><span></template>
794 #errors
795 #document
796 | <html>
797 |   a="b"
798 |   <head>
799 |     <template>
800 |       content
801 |         <div>
802 |           <span>
803 |   <body>
804
805 #data
806 <html a=b><template><col></col><html b=c><col></col></template>
807 #errors
808 #document
809 | <html>
810 |   a="b"
811 |   <head>
812 |     <template>
813 |       content
814 |         <col>
815 |         <col>
816 |   <body>
817
818 #data
819 <html a=b><template><frame></frame><html b=c><frame></frame></template>
820 #errors
821 #document
822 | <html>
823 |   a="b"
824 |   <head>
825 |     <template>
826 |       content
827 |         <frame>
828 |         <frame>
829 |   <body>
830
831 #data
832 <body><template><tr></tr><template></template><td></td></template>
833 #errors
834 #document
835 | <html>
836 |   <head>
837 |   <body>
838 |     <template>
839 |       content
840 |         <tr>
841 |         <template>
842 |           content
843 |         <tr>
844 |           <td>
845
846 #data
847 <body><template><thead></thead><template><tr></tr></template><tr></tr><tfoot></tfoot></template>
848 #errors
849 #document
850 | <html>
851 |   <head>
852 |   <body>
853 |     <template>
854 |       content
855 |         <thead>
856 |         <template>
857 |           content
858 |             <tr>
859 |         <tbody>
860 |           <tr>
861 |         <tfoot>
862
863 #data
864 <body><template><template><b><template></template></template>text</template>
865 #errors
866 #document
867 | <html>
868 |   <head>
869 |   <body>
870 |     <template>
871 |       content
872 |         <template>
873 |           content
874 |             <b>
875 |               <template>
876 |                 content
877 |         "text"
878
879 #data
880 <body><template><col><colgroup>
881 #errors
882 #document
883 | <html>
884 |   <head>
885 |   <body>
886 |     <template>
887 |       content
888 |         <col>
889
890 #data
891 <body><template><col></colgroup>
892 #errors
893 #document
894 | <html>
895 |   <head>
896 |   <body>
897 |     <template>
898 |       content
899 |         <col>
900
901 #data
902 <body><template><col><colgroup></template></body>
903 #errors
904 #document
905 | <html>
906 |   <head>
907 |   <body>
908 |     <template>
909 |       content
910 |         <col>
911
912 #data
913 <body><template><col><div>
914 #errors
915 #document
916 | <html>
917 |   <head>
918 |   <body>
919 |     <template>
920 |       content
921 |         <col>
922
923 #data
924 <body><template><col></div>
925 #errors
926 #document
927 | <html>
928 |   <head>
929 |   <body>
930 |     <template>
931 |       content
932 |         <col>
933
934 #data
935 <body><template><col>Hello
936 #errors
937 #document
938 | <html>
939 |   <head>
940 |   <body>
941 |     <template>
942 |       content
943 |         <col>
944
945 #data
946 <body><template><i><menu>Foo</i>
947 #errors
948 #document
949 | <html>
950 |   <head>
951 |   <body>
952 |     <template>
953 |       content
954 |         <i>
955 |         <menu>
956 |           <i>
957 |             "Foo"
958
959 #data
960 <body><template></div><div>Foo</div><template></template><tr></tr>
961 #errors
962 #document
963 | <html>
964 |   <head>
965 |   <body>
966 |     <template>
967 |       content
968 |         <div>
969 |           "Foo"
970 |         <template>
971 |           content
972
973 #data
974 <body><div><template></div><tr><td>Foo</td></tr></template>
975 #errors
976 #document
977 | <html>
978 |   <head>
979 |   <body>
980 |     <div>
981 |       <template>
982 |         content
983 |           <tr>
984 |             <td>
985 |               "Foo"
986
987 #data
988 <template></figcaption><sub><table></table>
989 #errors
990 #document
991 | <html>
992 |   <head>
993 |     <template>
994 |       content
995 |         <sub>
996 |           <table>
997 |   <body>
998
999 #data
1000 <template><template>
1001 #errors
1002 #document
1003 | <html>
1004 |   <head>
1005 |     <template>
1006 |       content
1007 |         <template>
1008 |           content
1009 |   <body>
1010
1011 #data
1012 <template><div>
1013 #errors
1014 #document
1015 | <html>
1016 |   <head>
1017 |     <template>
1018 |       content
1019 |         <div>
1020 |   <body>
1021
1022 #data
1023 <template><template><div>
1024 #errors
1025 #document
1026 | <html>
1027 |   <head>
1028 |     <template>
1029 |       content
1030 |         <template>
1031 |           content
1032 |             <div>
1033 |   <body>
1034
1035 #data
1036 <template><template><table>
1037 #errors
1038 #document
1039 | <html>
1040 |   <head>
1041 |     <template>
1042 |       content
1043 |         <template>
1044 |           content
1045 |             <table>
1046 |   <body>
1047
1048 #data
1049 <template><template><tbody>
1050 #errors
1051 #document
1052 | <html>
1053 |   <head>
1054 |     <template>
1055 |       content
1056 |         <template>
1057 |           content
1058 |             <tbody>
1059 |   <body>
1060
1061 #data
1062 <template><template><tr>
1063 #errors
1064 #document
1065 | <html>
1066 |   <head>
1067 |     <template>
1068 |       content
1069 |         <template>
1070 |           content
1071 |             <tr>
1072 |   <body>
1073
1074 #data
1075 <template><template><td>
1076 #errors
1077 #document
1078 | <html>
1079 |   <head>
1080 |     <template>
1081 |       content
1082 |         <template>
1083 |           content
1084 |             <td>
1085 |   <body>
1086
1087 #data
1088 <template><template><caption>
1089 #errors
1090 #document
1091 | <html>
1092 |   <head>
1093 |     <template>
1094 |       content
1095 |         <template>
1096 |           content
1097 |             <caption>
1098 |   <body>
1099
1100 #data
1101 <template><template><colgroup>
1102 #errors
1103 #document
1104 | <html>
1105 |   <head>
1106 |     <template>
1107 |       content
1108 |         <template>
1109 |           content
1110 |             <colgroup>
1111 |   <body>
1112
1113 #data
1114 <template><template><col>
1115 #errors
1116 #document
1117 | <html>
1118 |   <head>
1119 |     <template>
1120 |       content
1121 |         <template>
1122 |           content
1123 |             <col>
1124 |   <body>
1125
1126 #data
1127 <template><template><tbody><select>
1128 #errors
1129 #document
1130 | <html>
1131 |   <head>
1132 |     <template>
1133 |       content
1134 |         <template>
1135 |           content
1136 |             <tbody>
1137 |             <select>
1138 |   <body>
1139
1140 #data
1141 <template><template><table>Foo
1142 #errors
1143 #document
1144 | <html>
1145 |   <head>
1146 |     <template>
1147 |       content
1148 |         <template>
1149 |           content
1150 |             <table>
1151 |             "Foo"
1152 |   <body>
1153
1154 #data
1155 <template><template><frame>
1156 #errors
1157 #document
1158 | <html>
1159 |   <head>
1160 |     <template>
1161 |       content
1162 |         <template>
1163 |           content
1164 |             <frame>
1165 |   <body>
1166
1167 #data
1168 <template><template><script>var i
1169 #errors
1170 #document
1171 | <html>
1172 |   <head>
1173 |     <template>
1174 |       content
1175 |         <template>
1176 |           content
1177 |             <script>
1178 |               "var i"
1179 |   <body>
1180
1181 #data
1182 <template><template><style>var i
1183 #errors
1184 #document
1185 | <html>
1186 |   <head>
1187 |     <template>
1188 |       content
1189 |         <template>
1190 |           content
1191 |             <style>
1192 |               "var i"
1193 |   <body>
1194
1195 #data
1196 <template><table></template><body><span>Foo
1197 #errors
1198 #document
1199 | <html>
1200 |   <head>
1201 |     <template>
1202 |       content
1203 |         <table>
1204 |   <body>
1205 |     <span>
1206 |       "Foo"
1207
1208 #data
1209 <template><td></template><body><span>Foo
1210 #errors
1211 #document
1212 | <html>
1213 |   <head>
1214 |     <template>
1215 |       content
1216 |         <td>
1217 |   <body>
1218 |     <span>
1219 |       "Foo"
1220
1221 #data
1222 <template><object></template><body><span>Foo
1223 #errors
1224 #document
1225 | <html>
1226 |   <head>
1227 |     <template>
1228 |       content
1229 |         <object>
1230 |   <body>
1231 |     <span>
1232 |       "Foo"