[HTMLTemplateElement] <template> should be able to be a foster parent
[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 #data
573 <body><template><td></td><tbody><td></td></template>
574 #errors
575 #document
576 | <html>
577 |   <head>
578 |   <body>
579 |     <template>
580 |       content
581 |         <td>
582 |         <td>
583
584 #data
585 <body><template><td></td><caption></caption><td></td></template>
586 #errors
587 #document
588 | <html>
589 |   <head>
590 |   <body>
591 |     <template>
592 |       content
593 |         <td>
594 |         <td>
595
596 #data
597 <body><template><td></td><colgroup></caption><td></td></template>
598 #errors
599 #document
600 | <html>
601 |   <head>
602 |   <body>
603 |     <template>
604 |       content
605 |         <td>
606 |         <td>
607
608 #data
609 <body><template><td></td></table><td></td></template>
610 #errors
611 #document
612 | <html>
613 |   <head>
614 |   <body>
615 |     <template>
616 |       content
617 |         <td>
618 |         <td>
619
620 #data
621 <body><template><tr></tr><tbody><tr></tr></template>
622 #errors
623 #document
624 | <html>
625 |   <head>
626 |   <body>
627 |     <template>
628 |       content
629 |         <tr>
630 |         <tr>
631
632 #data
633 <body><template><tr></tr><caption><tr></tr></template>
634 #errors
635 #document
636 | <html>
637 |   <head>
638 |   <body>
639 |     <template>
640 |       content
641 |         <tr>
642 |         <tr>
643
644 #data
645 <body><template><tr></tr></table><tr></tr></template>
646 #errors
647 #document
648 | <html>
649 |   <head>
650 |   <body>
651 |     <template>
652 |       content
653 |         <tr>
654 |         <tr>
655
656 #data
657 <body><template><thead></thead><caption></caption><tbody></tbody></template>
658 #errors
659 #document
660 | <html>
661 |   <head>
662 |   <body>
663 |     <template>
664 |       content
665 |         <thead>
666 |         <caption>
667 |         <tbody>
668
669 #data
670 <body><template><thead></thead></table><tbody></tbody></template></body>
671 #errors
672 #document
673 | <html>
674 |   <head>
675 |   <body>
676 |     <template>
677 |       content
678 |         <thead>
679 |         <tbody>
680
681 #data
682 <body><template><div><tr></tr></div></template>
683 #errors
684 #document
685 | <html>
686 |   <head>
687 |   <body>
688 |     <template>
689 |       content
690 |         <div>
691
692 #data
693 <body><template><em>Hello</em></template>
694 #errors
695 #document
696 | <html>
697 |   <head>
698 |   <body>
699 |     <template>
700 |       content
701 |         <em>
702 |           "Hello"
703
704 #data
705 <body><template><!--comment--></template>
706 #errors
707 #document
708 | <html>
709 |   <head>
710 |   <body>
711 |     <template>
712 |       content
713 |         <!-- comment -->
714
715 #data
716 <body><template><style></style><td></td></template>
717 #errors
718 #document
719 | <html>
720 |   <head>
721 |   <body>
722 |     <template>
723 |       content
724 |         <style>
725 |         <td>
726
727 #data
728 <body><template><meta><td></td></template>
729 #errors
730 #document
731 | <html>
732 |   <head>
733 |   <body>
734 |     <template>
735 |       content
736 |         <meta>
737 |         <td>
738
739 #data
740 <body><template><link><td></td></template>
741 #errors
742 #document
743 | <html>
744 |   <head>
745 |   <body>
746 |     <template>
747 |       content
748 |         <link>
749 |         <td>
750
751 #data
752 <body><template><template><tr></tr></template><td></td></template>
753 #errors
754 #document
755 | <html>
756 |   <head>
757 |   <body>
758 |     <template>
759 |       content
760 |         <template>
761 |           content
762 |             <tr>
763 |         <td>
764
765 #data
766 <body><table><colgroup><template><col></col></template></colgroup></table></body>
767 #errors
768 #document
769 | <html>
770 |   <head>
771 |   <body>
772 |     <table>
773 |       <colgroup>
774 |         <template>
775 |           content
776 |             <col>
777
778 #data
779 <body a=b><template><div></div><body c=d><div></div></body></template></body>
780 #errors
781 #document
782 | <html>
783 |   <head>
784 |   <body>
785 |     a="b"
786 |     <template>
787 |       content
788 |         <div>
789 |         <div>
790
791 #data
792 <html a=b><template><div><html b=c><span></template>
793 #errors
794 #document
795 | <html>
796 |   a="b"
797 |   <head>
798 |     <template>
799 |       content
800 |         <div>
801 |           <span>
802 |   <body>
803
804 #data
805 <html a=b><template><col></col><html b=c><col></col></template>
806 #errors
807 #document
808 | <html>
809 |   a="b"
810 |   <head>
811 |     <template>
812 |       content
813 |         <col>
814 |         <col>
815 |   <body>
816
817 #data
818 <html a=b><template><frame></frame><html b=c><frame></frame></template>
819 #errors
820 #document
821 | <html>
822 |   a="b"
823 |   <head>
824 |     <template>
825 |       content
826 |         <frame>
827 |         <frame>
828 |   <body>
829
830 #data
831 <body><template><tr></tr><template></template><td></td></template>
832 #errors
833 #document
834 | <html>
835 |   <head>
836 |   <body>
837 |     <template>
838 |       content
839 |         <tr>
840 |         <template>
841 |           content
842 |         <tr>
843 |           <td>
844
845 #data
846 <body><template><thead></thead><template><tr></tr></template><tr></tr><tfoot></tfoot></template>
847 #errors
848 #document
849 | <html>
850 |   <head>
851 |   <body>
852 |     <template>
853 |       content
854 |         <thead>
855 |         <template>
856 |           content
857 |             <tr>
858 |         <tbody>
859 |           <tr>
860 |         <tfoot>
861
862 #data
863 <body><template><template><b><template></template></template>text</template>
864 #errors
865 #document
866 | <html>
867 |   <head>
868 |   <body>
869 |     <template>
870 |       content
871 |         <template>
872 |           content
873 |             <b>
874 |               <template>
875 |                 content
876 |         "text"
877
878 #data
879 <body><template><col><colgroup>
880 #errors
881 #document
882 | <html>
883 |   <head>
884 |   <body>
885 |     <template>
886 |       content
887 |         <col>
888
889 #data
890 <body><template><col></colgroup>
891 #errors
892 #document
893 | <html>
894 |   <head>
895 |   <body>
896 |     <template>
897 |       content
898 |         <col>
899
900 #data
901 <body><template><col><colgroup></template></body>
902 #errors
903 #document
904 | <html>
905 |   <head>
906 |   <body>
907 |     <template>
908 |       content
909 |         <col>
910
911 #data
912 <body><template><col><div>
913 #errors
914 #document
915 | <html>
916 |   <head>
917 |   <body>
918 |     <template>
919 |       content
920 |         <col>
921
922 #data
923 <body><template><col></div>
924 #errors
925 #document
926 | <html>
927 |   <head>
928 |   <body>
929 |     <template>
930 |       content
931 |         <col>
932
933 #data
934 <body><template><col>Hello
935 #errors
936 #document
937 | <html>
938 |   <head>
939 |   <body>
940 |     <template>
941 |       content
942 |         <col>
943
944 #data
945 <body><template><i><menu>Foo</i>
946 #errors
947 #document
948 | <html>
949 |   <head>
950 |   <body>
951 |     <template>
952 |       content
953 |         <i>
954 |         <menu>
955 |           <i>
956 |             "Foo"
957
958 #data
959 <body><template></div><div>Foo</div><template></template><tr></tr>
960 #errors
961 #document
962 | <html>
963 |   <head>
964 |   <body>
965 |     <template>
966 |       content
967 |         <div>
968 |           "Foo"
969 |         <template>
970 |           content
971
972 #data
973 <body><div><template></div><tr><td>Foo</td></tr></template>
974 #errors
975 #document
976 | <html>
977 |   <head>
978 |   <body>
979 |     <div>
980 |       <template>
981 |         content
982 |           <tr>
983 |             <td>
984 |               "Foo"
985
986 #data
987 <template></figcaption><sub><table></table>
988 #errors
989 #document
990 | <html>
991 |   <head>
992 |     <template>
993 |       content
994 |         <sub>
995 |           <table>
996 |   <body>
997
998 #data
999 <template><template>
1000 #errors
1001 #document
1002 | <html>
1003 |   <head>
1004 |     <template>
1005 |       content
1006 |         <template>
1007 |           content
1008 |   <body>
1009
1010 #data
1011 <template><div>
1012 #errors
1013 #document
1014 | <html>
1015 |   <head>
1016 |     <template>
1017 |       content
1018 |         <div>
1019 |   <body>
1020
1021 #data
1022 <template><template><div>
1023 #errors
1024 #document
1025 | <html>
1026 |   <head>
1027 |     <template>
1028 |       content
1029 |         <template>
1030 |           content
1031 |             <div>
1032 |   <body>
1033
1034 #data
1035 <template><template><table>
1036 #errors
1037 #document
1038 | <html>
1039 |   <head>
1040 |     <template>
1041 |       content
1042 |         <template>
1043 |           content
1044 |             <table>
1045 |   <body>
1046
1047 #data
1048 <template><template><tbody>
1049 #errors
1050 #document
1051 | <html>
1052 |   <head>
1053 |     <template>
1054 |       content
1055 |         <template>
1056 |           content
1057 |             <tbody>
1058 |   <body>
1059
1060 #data
1061 <template><template><tr>
1062 #errors
1063 #document
1064 | <html>
1065 |   <head>
1066 |     <template>
1067 |       content
1068 |         <template>
1069 |           content
1070 |             <tr>
1071 |   <body>
1072
1073 #data
1074 <template><template><td>
1075 #errors
1076 #document
1077 | <html>
1078 |   <head>
1079 |     <template>
1080 |       content
1081 |         <template>
1082 |           content
1083 |             <td>
1084 |   <body>
1085
1086 #data
1087 <template><template><caption>
1088 #errors
1089 #document
1090 | <html>
1091 |   <head>
1092 |     <template>
1093 |       content
1094 |         <template>
1095 |           content
1096 |             <caption>
1097 |   <body>
1098
1099 #data
1100 <template><template><colgroup>
1101 #errors
1102 #document
1103 | <html>
1104 |   <head>
1105 |     <template>
1106 |       content
1107 |         <template>
1108 |           content
1109 |             <colgroup>
1110 |   <body>
1111
1112 #data
1113 <template><template><col>
1114 #errors
1115 #document
1116 | <html>
1117 |   <head>
1118 |     <template>
1119 |       content
1120 |         <template>
1121 |           content
1122 |             <col>
1123 |   <body>
1124
1125 #data
1126 <template><template><tbody><select>
1127 #errors
1128 #document
1129 | <html>
1130 |   <head>
1131 |     <template>
1132 |       content
1133 |         <template>
1134 |           content
1135 |             <tbody>
1136 |             <select>
1137 |   <body>
1138
1139 #data
1140 <template><template><table>Foo
1141 #errors
1142 #document
1143 | <html>
1144 |   <head>
1145 |     <template>
1146 |       content
1147 |         <template>
1148 |           content
1149 |             "Foo"
1150 |             <table>
1151 |   <body>
1152
1153 #data
1154 <template><template><frame>
1155 #errors
1156 #document
1157 | <html>
1158 |   <head>
1159 |     <template>
1160 |       content
1161 |         <template>
1162 |           content
1163 |             <frame>
1164 |   <body>
1165
1166 #data
1167 <template><template><script>var i
1168 #errors
1169 #document
1170 | <html>
1171 |   <head>
1172 |     <template>
1173 |       content
1174 |         <template>
1175 |           content
1176 |             <script>
1177 |               "var i"
1178 |   <body>
1179
1180 #data
1181 <template><template><style>var i
1182 #errors
1183 #document
1184 | <html>
1185 |   <head>
1186 |     <template>
1187 |       content
1188 |         <template>
1189 |           content
1190 |             <style>
1191 |               "var i"
1192 |   <body>
1193
1194 #data
1195 <template><table></template><body><span>Foo
1196 #errors
1197 #document
1198 | <html>
1199 |   <head>
1200 |     <template>
1201 |       content
1202 |         <table>
1203 |   <body>
1204 |     <span>
1205 |       "Foo"
1206
1207 #data
1208 <template><td></template><body><span>Foo
1209 #errors
1210 #document
1211 | <html>
1212 |   <head>
1213 |     <template>
1214 |       content
1215 |         <td>
1216 |   <body>
1217 |     <span>
1218 |       "Foo"
1219
1220 #data
1221 <template><object></template><body><span>Foo
1222 #errors
1223 #document
1224 | <html>
1225 |   <head>
1226 |     <template>
1227 |       content
1228 |         <object>
1229 |   <body>
1230 |     <span>
1231 |       "Foo"
1232
1233 #data
1234 <template><svg><template>
1235 #errors
1236 #document
1237 | <html>
1238 |   <head>
1239 |     <template>
1240 |       content
1241 |         <svg svg>
1242 |           <svg template>
1243 |   <body>
1244
1245 #data
1246 <template><svg><foo><template><foreignObject><div></template><div>
1247 #errors
1248 #document
1249 | <html>
1250 |   <head>
1251 |     <template>
1252 |       content
1253 |         <svg svg>
1254 |           <svg foo>
1255 |             <svg template>
1256 |               <svg foreignObject>
1257 |                 <div>
1258 |   <body>
1259 |     <div>
1260
1261 #data
1262 <dummy><template><span></dummy>
1263 #errors
1264 #document
1265 | <html>
1266 |   <head>
1267 |   <body>
1268 |     <dummy>
1269 |       <template>
1270 |         content
1271 |           <span>