Separate MediaWiki unit and integration tests
[lhc/web/wiklou.git] / tests / phpunit / unit / includes / tidy / html5lib-tests.json
1 {
2 "adoption01.dat": [
3 {
4 "data": "<a><p></a></p>",
5 "errors": [
6 "(1,3): expected-doctype-but-got-start-tag",
7 "(1,10): adoption-agency-1.3"
8 ],
9 "document": {
10 "props": {
11 "tags": {
12 "html": true,
13 "head": true,
14 "body": true,
15 "a": true,
16 "p": true
17 }
18 },
19 "tree": [
20 {
21 "tag": "html",
22 "children": [
23 {
24 "tag": "head"
25 },
26 {
27 "tag": "body",
28 "children": [
29 {
30 "tag": "a"
31 },
32 {
33 "tag": "p",
34 "children": [
35 {
36 "tag": "a"
37 }
38 ]
39 }
40 ]
41 }
42 ]
43 }
44 ],
45 "html": "<html><head></head><body><a></a><p><a></a></p></body></html>",
46 "noQuirksBodyHtml": "<a></a><p><a></a></p>"
47 }
48 },
49 {
50 "data": "<a>1<p>2</a>3</p>",
51 "errors": [
52 "(1,3): expected-doctype-but-got-start-tag",
53 "(1,12): adoption-agency-1.3"
54 ],
55 "document": {
56 "props": {
57 "tags": {
58 "html": true,
59 "head": true,
60 "body": true,
61 "a": true,
62 "p": true
63 }
64 },
65 "tree": [
66 {
67 "tag": "html",
68 "children": [
69 {
70 "tag": "head"
71 },
72 {
73 "tag": "body",
74 "children": [
75 {
76 "tag": "a",
77 "children": [
78 {
79 "text": "1"
80 }
81 ]
82 },
83 {
84 "tag": "p",
85 "children": [
86 {
87 "tag": "a",
88 "children": [
89 {
90 "text": "2"
91 }
92 ]
93 },
94 {
95 "text": "3"
96 }
97 ]
98 }
99 ]
100 }
101 ]
102 }
103 ],
104 "html": "<html><head></head><body><a>1</a><p><a>2</a>3</p></body></html>",
105 "noQuirksBodyHtml": "<a>1</a><p><a>2</a>3</p>"
106 }
107 },
108 {
109 "data": "<a>1<button>2</a>3</button>",
110 "errors": [
111 "(1,3): expected-doctype-but-got-start-tag",
112 "(1,17): adoption-agency-1.3"
113 ],
114 "document": {
115 "props": {
116 "tags": {
117 "html": true,
118 "head": true,
119 "body": true,
120 "a": true,
121 "button": true
122 }
123 },
124 "tree": [
125 {
126 "tag": "html",
127 "children": [
128 {
129 "tag": "head"
130 },
131 {
132 "tag": "body",
133 "children": [
134 {
135 "tag": "a",
136 "children": [
137 {
138 "text": "1"
139 }
140 ]
141 },
142 {
143 "tag": "button",
144 "children": [
145 {
146 "tag": "a",
147 "children": [
148 {
149 "text": "2"
150 }
151 ]
152 },
153 {
154 "text": "3"
155 }
156 ]
157 }
158 ]
159 }
160 ]
161 }
162 ],
163 "html": "<html><head></head><body><a>1</a><button><a>2</a>3</button></body></html>",
164 "noQuirksBodyHtml": "<a>1</a><button><a>2</a>3</button>"
165 }
166 },
167 {
168 "data": "<a>1<b>2</a>3</b>",
169 "errors": [
170 "(1,3): expected-doctype-but-got-start-tag",
171 "(1,12): adoption-agency-1.3"
172 ],
173 "document": {
174 "props": {
175 "tags": {
176 "html": true,
177 "head": true,
178 "body": true,
179 "a": true,
180 "b": true
181 }
182 },
183 "tree": [
184 {
185 "tag": "html",
186 "children": [
187 {
188 "tag": "head"
189 },
190 {
191 "tag": "body",
192 "children": [
193 {
194 "tag": "a",
195 "children": [
196 {
197 "text": "1"
198 },
199 {
200 "tag": "b",
201 "children": [
202 {
203 "text": "2"
204 }
205 ]
206 }
207 ]
208 },
209 {
210 "tag": "b",
211 "children": [
212 {
213 "text": "3"
214 }
215 ]
216 }
217 ]
218 }
219 ]
220 }
221 ],
222 "html": "<html><head></head><body><a>1<b>2</b></a><b>3</b></body></html>",
223 "noQuirksBodyHtml": "<a>1<b>2</b></a><b>3</b>"
224 }
225 },
226 {
227 "data": "<a>1<div>2<div>3</a>4</div>5</div>",
228 "errors": [
229 "(1,3): expected-doctype-but-got-start-tag",
230 "(1,20): adoption-agency-1.3",
231 "(1,20): adoption-agency-1.3"
232 ],
233 "document": {
234 "props": {
235 "tags": {
236 "html": true,
237 "head": true,
238 "body": true,
239 "a": true,
240 "div": true
241 }
242 },
243 "tree": [
244 {
245 "tag": "html",
246 "children": [
247 {
248 "tag": "head"
249 },
250 {
251 "tag": "body",
252 "children": [
253 {
254 "tag": "a",
255 "children": [
256 {
257 "text": "1"
258 }
259 ]
260 },
261 {
262 "tag": "div",
263 "children": [
264 {
265 "tag": "a",
266 "children": [
267 {
268 "text": "2"
269 }
270 ]
271 },
272 {
273 "tag": "div",
274 "children": [
275 {
276 "tag": "a",
277 "children": [
278 {
279 "text": "3"
280 }
281 ]
282 },
283 {
284 "text": "4"
285 }
286 ]
287 },
288 {
289 "text": "5"
290 }
291 ]
292 }
293 ]
294 }
295 ]
296 }
297 ],
298 "html": "<html><head></head><body><a>1</a><div><a>2</a><div><a>3</a>4</div>5</div></body></html>",
299 "noQuirksBodyHtml": "<a>1</a><div><a>2</a><div><a>3</a>4</div>5</div>"
300 }
301 },
302 {
303 "data": "<table><a>1<p>2</a>3</p>",
304 "errors": [
305 "(1,7): expected-doctype-but-got-start-tag",
306 "(1,10): unexpected-start-tag-implies-table-voodoo",
307 "(1,11): unexpected-character-implies-table-voodoo",
308 "(1,14): unexpected-start-tag-implies-table-voodoo",
309 "(1,15): unexpected-character-implies-table-voodoo",
310 "(1,19): unexpected-end-tag-implies-table-voodoo",
311 "(1,19): adoption-agency-1.3",
312 "(1,20): unexpected-character-implies-table-voodoo",
313 "(1,24): unexpected-end-tag-implies-table-voodoo",
314 "(1,24): eof-in-table"
315 ],
316 "document": {
317 "props": {
318 "tags": {
319 "html": true,
320 "head": true,
321 "body": true,
322 "a": true,
323 "p": true,
324 "table": true
325 }
326 },
327 "tree": [
328 {
329 "tag": "html",
330 "children": [
331 {
332 "tag": "head"
333 },
334 {
335 "tag": "body",
336 "children": [
337 {
338 "tag": "a",
339 "children": [
340 {
341 "text": "1"
342 }
343 ]
344 },
345 {
346 "tag": "p",
347 "children": [
348 {
349 "tag": "a",
350 "children": [
351 {
352 "text": "2"
353 }
354 ]
355 },
356 {
357 "text": "3"
358 }
359 ]
360 },
361 {
362 "tag": "table"
363 }
364 ]
365 }
366 ]
367 }
368 ],
369 "html": "<html><head></head><body><a>1</a><p><a>2</a>3</p><table></table></body></html>",
370 "noQuirksBodyHtml": "<a>1</a><p><a>2</a>3</p><table></table>"
371 }
372 },
373 {
374 "data": "<b><b><a><p></a>",
375 "errors": [
376 "(1,3): expected-doctype-but-got-start-tag",
377 "(1,16): adoption-agency-1.3",
378 "(1,16): expected-closing-tag-but-got-eof"
379 ],
380 "document": {
381 "props": {
382 "tags": {
383 "html": true,
384 "head": true,
385 "body": true,
386 "b": true,
387 "a": true,
388 "p": true
389 }
390 },
391 "tree": [
392 {
393 "tag": "html",
394 "children": [
395 {
396 "tag": "head"
397 },
398 {
399 "tag": "body",
400 "children": [
401 {
402 "tag": "b",
403 "children": [
404 {
405 "tag": "b",
406 "children": [
407 {
408 "tag": "a"
409 },
410 {
411 "tag": "p",
412 "children": [
413 {
414 "tag": "a"
415 }
416 ]
417 }
418 ]
419 }
420 ]
421 }
422 ]
423 }
424 ]
425 }
426 ],
427 "html": "<html><head></head><body><b><b><a></a><p><a></a></p></b></b></body></html>",
428 "noQuirksBodyHtml": "<b><b><a></a><p><a></a></p></b></b>"
429 }
430 },
431 {
432 "data": "<b><a><b><p></a>",
433 "errors": [
434 "(1,3): expected-doctype-but-got-start-tag",
435 "(1,16): adoption-agency-1.3",
436 "(1,16): expected-closing-tag-but-got-eof"
437 ],
438 "document": {
439 "props": {
440 "tags": {
441 "html": true,
442 "head": true,
443 "body": true,
444 "b": true,
445 "a": true,
446 "p": true
447 }
448 },
449 "tree": [
450 {
451 "tag": "html",
452 "children": [
453 {
454 "tag": "head"
455 },
456 {
457 "tag": "body",
458 "children": [
459 {
460 "tag": "b",
461 "children": [
462 {
463 "tag": "a",
464 "children": [
465 {
466 "tag": "b"
467 }
468 ]
469 },
470 {
471 "tag": "b",
472 "children": [
473 {
474 "tag": "p",
475 "children": [
476 {
477 "tag": "a"
478 }
479 ]
480 }
481 ]
482 }
483 ]
484 }
485 ]
486 }
487 ]
488 }
489 ],
490 "html": "<html><head></head><body><b><a><b></b></a><b><p><a></a></p></b></b></body></html>",
491 "noQuirksBodyHtml": "<b><a><b></b></a><b><p><a></a></p></b></b>"
492 }
493 },
494 {
495 "data": "<a><b><b><p></a>",
496 "errors": [
497 "(1,3): expected-doctype-but-got-start-tag",
498 "(1,16): adoption-agency-1.3",
499 "(1,16): expected-closing-tag-but-got-eof"
500 ],
501 "document": {
502 "props": {
503 "tags": {
504 "html": true,
505 "head": true,
506 "body": true,
507 "a": true,
508 "b": true,
509 "p": true
510 }
511 },
512 "tree": [
513 {
514 "tag": "html",
515 "children": [
516 {
517 "tag": "head"
518 },
519 {
520 "tag": "body",
521 "children": [
522 {
523 "tag": "a",
524 "children": [
525 {
526 "tag": "b",
527 "children": [
528 {
529 "tag": "b"
530 }
531 ]
532 }
533 ]
534 },
535 {
536 "tag": "b",
537 "children": [
538 {
539 "tag": "b",
540 "children": [
541 {
542 "tag": "p",
543 "children": [
544 {
545 "tag": "a"
546 }
547 ]
548 }
549 ]
550 }
551 ]
552 }
553 ]
554 }
555 ]
556 }
557 ],
558 "html": "<html><head></head><body><a><b><b></b></b></a><b><b><p><a></a></p></b></b></body></html>",
559 "noQuirksBodyHtml": "<a><b><b></b></b></a><b><b><p><a></a></p></b></b>"
560 }
561 },
562 {
563 "data": "<p>1<s id=\"A\">2<b id=\"B\">3</p>4</s>5</b>",
564 "errors": [
565 "(1,3): expected-doctype-but-got-start-tag",
566 "(1,30): unexpected-end-tag",
567 "(1,35): adoption-agency-1.3"
568 ],
569 "document": {
570 "props": {
571 "tags": {
572 "html": true,
573 "head": true,
574 "body": true,
575 "p": true,
576 "s": true,
577 "b": true
578 }
579 },
580 "tree": [
581 {
582 "tag": "html",
583 "children": [
584 {
585 "tag": "head"
586 },
587 {
588 "tag": "body",
589 "children": [
590 {
591 "tag": "p",
592 "children": [
593 {
594 "text": "1"
595 },
596 {
597 "tag": "s",
598 "attrs": [
599 {
600 "name": "id",
601 "value": "A"
602 }
603 ],
604 "children": [
605 {
606 "text": "2"
607 },
608 {
609 "tag": "b",
610 "attrs": [
611 {
612 "name": "id",
613 "value": "B"
614 }
615 ],
616 "children": [
617 {
618 "text": "3"
619 }
620 ]
621 }
622 ]
623 }
624 ]
625 },
626 {
627 "tag": "s",
628 "attrs": [
629 {
630 "name": "id",
631 "value": "A"
632 }
633 ],
634 "children": [
635 {
636 "tag": "b",
637 "attrs": [
638 {
639 "name": "id",
640 "value": "B"
641 }
642 ],
643 "children": [
644 {
645 "text": "4"
646 }
647 ]
648 }
649 ]
650 },
651 {
652 "tag": "b",
653 "attrs": [
654 {
655 "name": "id",
656 "value": "B"
657 }
658 ],
659 "children": [
660 {
661 "text": "5"
662 }
663 ]
664 }
665 ]
666 }
667 ]
668 }
669 ],
670 "html": "<html><head></head><body><p>1<s id=\"A\">2<b id=\"B\">3</b></s></p><s id=\"A\"><b id=\"B\">4</b></s><b id=\"B\">5</b></body></html>",
671 "noQuirksBodyHtml": "<p>1<s id=\"A\">2<b id=\"B\">3</b></s></p><s id=\"A\"><b id=\"B\">4</b></s><b id=\"B\">5</b>"
672 }
673 },
674 {
675 "data": "<table><a>1<td>2</td>3</table>",
676 "errors": [
677 "(1,7): expected-doctype-but-got-start-tag",
678 "(1,10): unexpected-start-tag-implies-table-voodoo",
679 "(1,11): unexpected-character-implies-table-voodoo",
680 "(1,15): unexpected-cell-in-table-body",
681 "(1,30): unexpected-implied-end-tag-in-table-view"
682 ],
683 "document": {
684 "props": {
685 "tags": {
686 "html": true,
687 "head": true,
688 "body": true,
689 "a": true,
690 "table": true,
691 "tbody": true,
692 "tr": true,
693 "td": true
694 }
695 },
696 "tree": [
697 {
698 "tag": "html",
699 "children": [
700 {
701 "tag": "head"
702 },
703 {
704 "tag": "body",
705 "children": [
706 {
707 "tag": "a",
708 "children": [
709 {
710 "text": "1"
711 }
712 ]
713 },
714 {
715 "tag": "a",
716 "children": [
717 {
718 "text": "3"
719 }
720 ]
721 },
722 {
723 "tag": "table",
724 "children": [
725 {
726 "tag": "tbody",
727 "children": [
728 {
729 "tag": "tr",
730 "children": [
731 {
732 "tag": "td",
733 "children": [
734 {
735 "text": "2"
736 }
737 ]
738 }
739 ]
740 }
741 ]
742 }
743 ]
744 }
745 ]
746 }
747 ]
748 }
749 ],
750 "html": "<html><head></head><body><a>1</a><a>3</a><table><tbody><tr><td>2</td></tr></tbody></table></body></html>",
751 "noQuirksBodyHtml": "<a>1</a><a>3</a><table><tbody><tr><td>2</td></tr></tbody></table>"
752 }
753 },
754 {
755 "data": "<table>A<td>B</td>C</table>",
756 "errors": [
757 "(1,7): expected-doctype-but-got-start-tag",
758 "(1,8): unexpected-character-implies-table-voodoo",
759 "(1,12): unexpected-cell-in-table-body",
760 "(1,22): unexpected-character-implies-table-voodoo"
761 ],
762 "document": {
763 "props": {
764 "tags": {
765 "html": true,
766 "head": true,
767 "body": true,
768 "table": true,
769 "tbody": true,
770 "tr": true,
771 "td": true
772 }
773 },
774 "tree": [
775 {
776 "tag": "html",
777 "children": [
778 {
779 "tag": "head"
780 },
781 {
782 "tag": "body",
783 "children": [
784 {
785 "text": "AC"
786 },
787 {
788 "tag": "table",
789 "children": [
790 {
791 "tag": "tbody",
792 "children": [
793 {
794 "tag": "tr",
795 "children": [
796 {
797 "tag": "td",
798 "children": [
799 {
800 "text": "B"
801 }
802 ]
803 }
804 ]
805 }
806 ]
807 }
808 ]
809 }
810 ]
811 }
812 ]
813 }
814 ],
815 "html": "<html><head></head><body>AC<table><tbody><tr><td>B</td></tr></tbody></table></body></html>",
816 "noQuirksBodyHtml": "AC<table><tbody><tr><td>B</td></tr></tbody></table>"
817 }
818 },
819 {
820 "data": "<a><svg><tr><input></a>",
821 "errors": [
822 "(1,3): expected-doctype-but-got-start-tag",
823 "(1,23): unexpected-end-tag",
824 "(1,23): adoption-agency-1.3"
825 ],
826 "document": {
827 "props": {
828 "tags": {
829 "html": true,
830 "head": true,
831 "body": true,
832 "a": true,
833 "svg svg": true,
834 "svg tr": true,
835 "svg input": true
836 }
837 },
838 "tree": [
839 {
840 "tag": "html",
841 "children": [
842 {
843 "tag": "head"
844 },
845 {
846 "tag": "body",
847 "children": [
848 {
849 "tag": "a",
850 "children": [
851 {
852 "tag": "svg",
853 "ns": "http://www.w3.org/2000/svg",
854 "children": [
855 {
856 "tag": "tr",
857 "ns": "http://www.w3.org/2000/svg",
858 "children": [
859 {
860 "tag": "input",
861 "ns": "http://www.w3.org/2000/svg"
862 }
863 ]
864 }
865 ]
866 }
867 ]
868 }
869 ]
870 }
871 ]
872 }
873 ],
874 "html": "<html><head></head><body><a><svg><tr><input></input></tr></svg></a></body></html>",
875 "noQuirksBodyHtml": "<a><svg><tr><input></input></tr></svg></a>"
876 }
877 },
878 {
879 "data": "<div><a><b><div><div><div><div><div><div><div><div><div><div></a>",
880 "errors": [
881 "(1,5): expected-doctype-but-got-start-tag",
882 "(1,65): adoption-agency-1.3",
883 "(1,65): adoption-agency-1.3",
884 "(1,65): adoption-agency-1.3",
885 "(1,65): adoption-agency-1.3",
886 "(1,65): adoption-agency-1.3",
887 "(1,65): adoption-agency-1.3",
888 "(1,65): adoption-agency-1.3",
889 "(1,65): adoption-agency-1.3",
890 "(1,65): expected-closing-tag-but-got-eof"
891 ],
892 "document": {
893 "props": {
894 "tags": {
895 "html": true,
896 "head": true,
897 "body": true,
898 "div": true,
899 "a": true,
900 "b": true
901 }
902 },
903 "tree": [
904 {
905 "tag": "html",
906 "children": [
907 {
908 "tag": "head"
909 },
910 {
911 "tag": "body",
912 "children": [
913 {
914 "tag": "div",
915 "children": [
916 {
917 "tag": "a",
918 "children": [
919 {
920 "tag": "b"
921 }
922 ]
923 },
924 {
925 "tag": "b",
926 "children": [
927 {
928 "tag": "div",
929 "children": [
930 {
931 "tag": "a"
932 },
933 {
934 "tag": "div",
935 "children": [
936 {
937 "tag": "a"
938 },
939 {
940 "tag": "div",
941 "children": [
942 {
943 "tag": "a"
944 },
945 {
946 "tag": "div",
947 "children": [
948 {
949 "tag": "a"
950 },
951 {
952 "tag": "div",
953 "children": [
954 {
955 "tag": "a"
956 },
957 {
958 "tag": "div",
959 "children": [
960 {
961 "tag": "a"
962 },
963 {
964 "tag": "div",
965 "children": [
966 {
967 "tag": "a"
968 },
969 {
970 "tag": "div",
971 "children": [
972 {
973 "tag": "a",
974 "children": [
975 {
976 "tag": "div",
977 "children": [
978 {
979 "tag": "div"
980 }
981 ]
982 }
983 ]
984 }
985 ]
986 }
987 ]
988 }
989 ]
990 }
991 ]
992 }
993 ]
994 }
995 ]
996 }
997 ]
998 }
999 ]
1000 }
1001 ]
1002 }
1003 ]
1004 }
1005 ]
1006 }
1007 ]
1008 }
1009 ],
1010 "html": "<html><head></head><body><div><a><b></b></a><b><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a><div><div></div></div></a></div></div></div></div></div></div></div></div></b></div></body></html>",
1011 "noQuirksBodyHtml": "<div><a><b></b></a><b><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a></a><div><a><div><div></div></div></a></div></div></div></div></div></div></div></div></b></div>"
1012 }
1013 },
1014 {
1015 "data": "<div><a><b><u><i><code><div></a>",
1016 "errors": [
1017 "(1,5): expected-doctype-but-got-start-tag",
1018 "(1,32): adoption-agency-1.3",
1019 "(1,32): expected-closing-tag-but-got-eof"
1020 ],
1021 "document": {
1022 "props": {
1023 "tags": {
1024 "html": true,
1025 "head": true,
1026 "body": true,
1027 "div": true,
1028 "a": true,
1029 "b": true,
1030 "u": true,
1031 "i": true,
1032 "code": true
1033 }
1034 },
1035 "tree": [
1036 {
1037 "tag": "html",
1038 "children": [
1039 {
1040 "tag": "head"
1041 },
1042 {
1043 "tag": "body",
1044 "children": [
1045 {
1046 "tag": "div",
1047 "children": [
1048 {
1049 "tag": "a",
1050 "children": [
1051 {
1052 "tag": "b",
1053 "children": [
1054 {
1055 "tag": "u",
1056 "children": [
1057 {
1058 "tag": "i",
1059 "children": [
1060 {
1061 "tag": "code"
1062 }
1063 ]
1064 }
1065 ]
1066 }
1067 ]
1068 }
1069 ]
1070 },
1071 {
1072 "tag": "u",
1073 "children": [
1074 {
1075 "tag": "i",
1076 "children": [
1077 {
1078 "tag": "code",
1079 "children": [
1080 {
1081 "tag": "div",
1082 "children": [
1083 {
1084 "tag": "a"
1085 }
1086 ]
1087 }
1088 ]
1089 }
1090 ]
1091 }
1092 ]
1093 }
1094 ]
1095 }
1096 ]
1097 }
1098 ]
1099 }
1100 ],
1101 "html": "<html><head></head><body><div><a><b><u><i><code></code></i></u></b></a><u><i><code><div><a></a></div></code></i></u></div></body></html>",
1102 "noQuirksBodyHtml": "<div><a><b><u><i><code></code></i></u></b></a><u><i><code><div><a></a></div></code></i></u></div>"
1103 }
1104 },
1105 {
1106 "data": "<b><b><b><b>x</b></b></b></b>y",
1107 "errors": [
1108 "(1,3): expected-doctype-but-got-start-tag"
1109 ],
1110 "document": {
1111 "props": {
1112 "tags": {
1113 "html": true,
1114 "head": true,
1115 "body": true,
1116 "b": true
1117 }
1118 },
1119 "tree": [
1120 {
1121 "tag": "html",
1122 "children": [
1123 {
1124 "tag": "head"
1125 },
1126 {
1127 "tag": "body",
1128 "children": [
1129 {
1130 "tag": "b",
1131 "children": [
1132 {
1133 "tag": "b",
1134 "children": [
1135 {
1136 "tag": "b",
1137 "children": [
1138 {
1139 "tag": "b",
1140 "children": [
1141 {
1142 "text": "x"
1143 }
1144 ]
1145 }
1146 ]
1147 }
1148 ]
1149 }
1150 ]
1151 },
1152 {
1153 "text": "y"
1154 }
1155 ]
1156 }
1157 ]
1158 }
1159 ],
1160 "html": "<html><head></head><body><b><b><b><b>x</b></b></b></b>y</body></html>",
1161 "noQuirksBodyHtml": "<b><b><b><b>x</b></b></b></b>y"
1162 }
1163 },
1164 {
1165 "data": "<p><b><b><b><b><p>x",
1166 "errors": [
1167 "(1,3): expected-doctype-but-got-start-tag",
1168 "(1,18): unexpected-end-tag",
1169 "(1,19): expected-closing-tag-but-got-eof"
1170 ],
1171 "document": {
1172 "props": {
1173 "tags": {
1174 "html": true,
1175 "head": true,
1176 "body": true,
1177 "p": true,
1178 "b": true
1179 }
1180 },
1181 "tree": [
1182 {
1183 "tag": "html",
1184 "children": [
1185 {
1186 "tag": "head"
1187 },
1188 {
1189 "tag": "body",
1190 "children": [
1191 {
1192 "tag": "p",
1193 "children": [
1194 {
1195 "tag": "b",
1196 "children": [
1197 {
1198 "tag": "b",
1199 "children": [
1200 {
1201 "tag": "b",
1202 "children": [
1203 {
1204 "tag": "b"
1205 }
1206 ]
1207 }
1208 ]
1209 }
1210 ]
1211 }
1212 ]
1213 },
1214 {
1215 "tag": "p",
1216 "children": [
1217 {
1218 "tag": "b",
1219 "children": [
1220 {
1221 "tag": "b",
1222 "children": [
1223 {
1224 "tag": "b",
1225 "children": [
1226 {
1227 "text": "x"
1228 }
1229 ]
1230 }
1231 ]
1232 }
1233 ]
1234 }
1235 ]
1236 }
1237 ]
1238 }
1239 ]
1240 }
1241 ],
1242 "html": "<html><head></head><body><p><b><b><b><b></b></b></b></b></p><p><b><b><b>x</b></b></b></p></body></html>",
1243 "noQuirksBodyHtml": "<p><b><b><b><b></b></b></b></b></p><p><b><b><b>x</b></b></b></p>"
1244 }
1245 },
1246 {
1247 "data": "<b><em><foo><foob><fooc><aside></b></em>",
1248 "errors": [
1249 "(1,35): adoption-agency-1.3",
1250 "(1,40): adoption-agency-1.3",
1251 "(1,40): expected-closing-tag-but-got-eof"
1252 ],
1253 "fragment": {
1254 "name": "div"
1255 },
1256 "document": {
1257 "props": {
1258 "tags": {
1259 "b": true,
1260 "em": true,
1261 "foo": true,
1262 "foob": true,
1263 "fooc": true,
1264 "aside": true
1265 }
1266 },
1267 "tree": [
1268 {
1269 "tag": "b",
1270 "children": [
1271 {
1272 "tag": "em",
1273 "children": [
1274 {
1275 "tag": "foo",
1276 "children": [
1277 {
1278 "tag": "foob",
1279 "children": [
1280 {
1281 "tag": "fooc"
1282 }
1283 ]
1284 }
1285 ]
1286 }
1287 ]
1288 }
1289 ]
1290 },
1291 {
1292 "tag": "aside",
1293 "children": [
1294 {
1295 "tag": "b"
1296 }
1297 ]
1298 }
1299 ],
1300 "html": "<b><em><foo><foob><fooc></fooc></foob></foo></em></b><aside><b></b></aside>",
1301 "noQuirksBodyHtml": "<b><em><foo><foob><fooc></fooc></foob></foo></em></b><aside><b></b></aside>"
1302 }
1303 }
1304 ],
1305 "adoption02.dat": [
1306 {
1307 "data": "<b>1<i>2<p>3</b>4",
1308 "errors": [
1309 "(1,3): expected-doctype-but-got-start-tag",
1310 "(1,16): adoption-agency-1.3",
1311 "(1,17): expected-closing-tag-but-got-eof"
1312 ],
1313 "document": {
1314 "props": {
1315 "tags": {
1316 "html": true,
1317 "head": true,
1318 "body": true,
1319 "b": true,
1320 "i": true,
1321 "p": true
1322 }
1323 },
1324 "tree": [
1325 {
1326 "tag": "html",
1327 "children": [
1328 {
1329 "tag": "head"
1330 },
1331 {
1332 "tag": "body",
1333 "children": [
1334 {
1335 "tag": "b",
1336 "children": [
1337 {
1338 "text": "1"
1339 },
1340 {
1341 "tag": "i",
1342 "children": [
1343 {
1344 "text": "2"
1345 }
1346 ]
1347 }
1348 ]
1349 },
1350 {
1351 "tag": "i",
1352 "children": [
1353 {
1354 "tag": "p",
1355 "children": [
1356 {
1357 "tag": "b",
1358 "children": [
1359 {
1360 "text": "3"
1361 }
1362 ]
1363 },
1364 {
1365 "text": "4"
1366 }
1367 ]
1368 }
1369 ]
1370 }
1371 ]
1372 }
1373 ]
1374 }
1375 ],
1376 "html": "<html><head></head><body><b>1<i>2</i></b><i><p><b>3</b>4</p></i></body></html>",
1377 "noQuirksBodyHtml": "<b>1<i>2</i></b><i><p><b>3</b>4</p></i>"
1378 }
1379 },
1380 {
1381 "data": "<a><div><style></style><address><a>",
1382 "errors": [
1383 "(1,3): expected-doctype-but-got-start-tag",
1384 "(1,35): unexpected-start-tag-implies-end-tag",
1385 "(1,35): adoption-agency-1.3",
1386 "(1,35): adoption-agency-1.3",
1387 "(1,35): expected-closing-tag-but-got-eof"
1388 ],
1389 "document": {
1390 "props": {
1391 "tags": {
1392 "html": true,
1393 "head": true,
1394 "body": true,
1395 "a": true,
1396 "div": true,
1397 "style": true,
1398 "address": true
1399 }
1400 },
1401 "tree": [
1402 {
1403 "tag": "html",
1404 "children": [
1405 {
1406 "tag": "head"
1407 },
1408 {
1409 "tag": "body",
1410 "children": [
1411 {
1412 "tag": "a"
1413 },
1414 {
1415 "tag": "div",
1416 "children": [
1417 {
1418 "tag": "a",
1419 "children": [
1420 {
1421 "tag": "style"
1422 }
1423 ]
1424 },
1425 {
1426 "tag": "address",
1427 "children": [
1428 {
1429 "tag": "a"
1430 },
1431 {
1432 "tag": "a"
1433 }
1434 ]
1435 }
1436 ]
1437 }
1438 ]
1439 }
1440 ]
1441 }
1442 ],
1443 "html": "<html><head></head><body><a></a><div><a><style></style></a><address><a></a><a></a></address></div></body></html>",
1444 "noQuirksBodyHtml": "<a></a><div><a><style></style></a><address><a></a><a></a></address></div>"
1445 }
1446 }
1447 ],
1448 "comments01.dat": [
1449 {
1450 "data": "FOO<!-- BAR -->BAZ",
1451 "errors": [
1452 "(1,3): expected-doctype-but-got-chars"
1453 ],
1454 "document": {
1455 "props": {
1456 "tags": {
1457 "html": true,
1458 "head": true,
1459 "body": true
1460 },
1461 "comment": true
1462 },
1463 "tree": [
1464 {
1465 "tag": "html",
1466 "children": [
1467 {
1468 "tag": "head"
1469 },
1470 {
1471 "tag": "body",
1472 "children": [
1473 {
1474 "text": "FOO"
1475 },
1476 {
1477 "comment": " BAR "
1478 },
1479 {
1480 "text": "BAZ"
1481 }
1482 ]
1483 }
1484 ]
1485 }
1486 ],
1487 "html": "<html><head></head><body>FOO<!-- BAR -->BAZ</body></html>",
1488 "noQuirksBodyHtml": "FOO<!-- BAR -->BAZ"
1489 }
1490 },
1491 {
1492 "data": "FOO<!-- BAR --!>BAZ",
1493 "errors": [
1494 "(1,3): expected-doctype-but-got-chars",
1495 "(1,15): unexpected-bang-after-double-dash-in-comment"
1496 ],
1497 "document": {
1498 "props": {
1499 "tags": {
1500 "html": true,
1501 "head": true,
1502 "body": true
1503 },
1504 "comment": true
1505 },
1506 "tree": [
1507 {
1508 "tag": "html",
1509 "children": [
1510 {
1511 "tag": "head"
1512 },
1513 {
1514 "tag": "body",
1515 "children": [
1516 {
1517 "text": "FOO"
1518 },
1519 {
1520 "comment": " BAR "
1521 },
1522 {
1523 "text": "BAZ"
1524 }
1525 ]
1526 }
1527 ]
1528 }
1529 ],
1530 "html": "<html><head></head><body>FOO<!-- BAR -->BAZ</body></html>",
1531 "noQuirksBodyHtml": "FOO<!-- BAR -->BAZ"
1532 }
1533 },
1534 {
1535 "data": "FOO<!-- BAR -- >BAZ",
1536 "errors": [
1537 "(1,3): expected-doctype-but-got-chars",
1538 "(1,15): unexpected-char-in-comment",
1539 "(1,21): eof-in-comment"
1540 ],
1541 "document": {
1542 "props": {
1543 "tags": {
1544 "html": true,
1545 "head": true,
1546 "body": true
1547 },
1548 "comment": true
1549 },
1550 "tree": [
1551 {
1552 "tag": "html",
1553 "children": [
1554 {
1555 "tag": "head"
1556 },
1557 {
1558 "tag": "body",
1559 "children": [
1560 {
1561 "text": "FOO"
1562 },
1563 {
1564 "comment": " BAR -- >BAZ"
1565 }
1566 ]
1567 }
1568 ]
1569 }
1570 ],
1571 "html": "<html><head></head><body>FOO<!-- BAR -- >BAZ--></body></html>",
1572 "noQuirksBodyHtml": "FOO<!-- BAR -- >BAZ-->"
1573 }
1574 },
1575 {
1576 "data": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ",
1577 "errors": [
1578 "(1,3): expected-doctype-but-got-chars",
1579 "(1,15): unexpected-char-in-comment",
1580 "(1,24): unexpected-char-in-comment"
1581 ],
1582 "document": {
1583 "props": {
1584 "tags": {
1585 "html": true,
1586 "head": true,
1587 "body": true
1588 },
1589 "comment": true
1590 },
1591 "tree": [
1592 {
1593 "tag": "html",
1594 "children": [
1595 {
1596 "tag": "head"
1597 },
1598 {
1599 "tag": "body",
1600 "children": [
1601 {
1602 "text": "FOO"
1603 },
1604 {
1605 "comment": " BAR -- <QUX> -- MUX "
1606 },
1607 {
1608 "text": "BAZ"
1609 }
1610 ]
1611 }
1612 ]
1613 }
1614 ],
1615 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -->BAZ</body></html>",
1616 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ"
1617 }
1618 },
1619 {
1620 "data": "FOO<!-- BAR -- <QUX> -- MUX --!>BAZ",
1621 "errors": [
1622 "(1,3): expected-doctype-but-got-chars",
1623 "(1,15): unexpected-char-in-comment",
1624 "(1,24): unexpected-char-in-comment",
1625 "(1,31): unexpected-bang-after-double-dash-in-comment"
1626 ],
1627 "document": {
1628 "props": {
1629 "tags": {
1630 "html": true,
1631 "head": true,
1632 "body": true
1633 },
1634 "comment": true
1635 },
1636 "tree": [
1637 {
1638 "tag": "html",
1639 "children": [
1640 {
1641 "tag": "head"
1642 },
1643 {
1644 "tag": "body",
1645 "children": [
1646 {
1647 "text": "FOO"
1648 },
1649 {
1650 "comment": " BAR -- <QUX> -- MUX "
1651 },
1652 {
1653 "text": "BAZ"
1654 }
1655 ]
1656 }
1657 ]
1658 }
1659 ],
1660 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -->BAZ</body></html>",
1661 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ"
1662 }
1663 },
1664 {
1665 "data": "FOO<!-- BAR -- <QUX> -- MUX -- >BAZ",
1666 "errors": [
1667 "(1,3): expected-doctype-but-got-chars",
1668 "(1,15): unexpected-char-in-comment",
1669 "(1,24): unexpected-char-in-comment",
1670 "(1,31): unexpected-char-in-comment",
1671 "(1,35): eof-in-comment"
1672 ],
1673 "document": {
1674 "props": {
1675 "tags": {
1676 "html": true,
1677 "head": true,
1678 "body": true
1679 },
1680 "comment": true
1681 },
1682 "tree": [
1683 {
1684 "tag": "html",
1685 "children": [
1686 {
1687 "tag": "head"
1688 },
1689 {
1690 "tag": "body",
1691 "children": [
1692 {
1693 "text": "FOO"
1694 },
1695 {
1696 "comment": " BAR -- <QUX> -- MUX -- >BAZ"
1697 }
1698 ]
1699 }
1700 ]
1701 }
1702 ],
1703 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -- >BAZ--></body></html>",
1704 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -- >BAZ-->"
1705 }
1706 },
1707 {
1708 "data": "FOO<!---->BAZ",
1709 "errors": [
1710 "(1,3): expected-doctype-but-got-chars"
1711 ],
1712 "document": {
1713 "props": {
1714 "tags": {
1715 "html": true,
1716 "head": true,
1717 "body": true
1718 },
1719 "comment": true
1720 },
1721 "tree": [
1722 {
1723 "tag": "html",
1724 "children": [
1725 {
1726 "tag": "head"
1727 },
1728 {
1729 "tag": "body",
1730 "children": [
1731 {
1732 "text": "FOO"
1733 },
1734 {
1735 "comment": ""
1736 },
1737 {
1738 "text": "BAZ"
1739 }
1740 ]
1741 }
1742 ]
1743 }
1744 ],
1745 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1746 "noQuirksBodyHtml": "FOO<!---->BAZ"
1747 }
1748 },
1749 {
1750 "data": "FOO<!--->BAZ",
1751 "errors": [
1752 "(1,3): expected-doctype-but-got-chars",
1753 "(1,9): incorrect-comment"
1754 ],
1755 "document": {
1756 "props": {
1757 "tags": {
1758 "html": true,
1759 "head": true,
1760 "body": true
1761 },
1762 "comment": true
1763 },
1764 "tree": [
1765 {
1766 "tag": "html",
1767 "children": [
1768 {
1769 "tag": "head"
1770 },
1771 {
1772 "tag": "body",
1773 "children": [
1774 {
1775 "text": "FOO"
1776 },
1777 {
1778 "comment": ""
1779 },
1780 {
1781 "text": "BAZ"
1782 }
1783 ]
1784 }
1785 ]
1786 }
1787 ],
1788 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1789 "noQuirksBodyHtml": "FOO<!---->BAZ"
1790 }
1791 },
1792 {
1793 "data": "FOO<!-->BAZ",
1794 "errors": [
1795 "(1,3): expected-doctype-but-got-chars",
1796 "(1,8): incorrect-comment"
1797 ],
1798 "document": {
1799 "props": {
1800 "tags": {
1801 "html": true,
1802 "head": true,
1803 "body": true
1804 },
1805 "comment": true
1806 },
1807 "tree": [
1808 {
1809 "tag": "html",
1810 "children": [
1811 {
1812 "tag": "head"
1813 },
1814 {
1815 "tag": "body",
1816 "children": [
1817 {
1818 "text": "FOO"
1819 },
1820 {
1821 "comment": ""
1822 },
1823 {
1824 "text": "BAZ"
1825 }
1826 ]
1827 }
1828 ]
1829 }
1830 ],
1831 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1832 "noQuirksBodyHtml": "FOO<!---->BAZ"
1833 }
1834 },
1835 {
1836 "data": "<?xml version=\"1.0\">Hi",
1837 "errors": [
1838 "(1,1): expected-tag-name-but-got-question-mark",
1839 "(1,22): expected-doctype-but-got-chars"
1840 ],
1841 "document": {
1842 "props": {
1843 "tags": {
1844 "html": true,
1845 "head": true,
1846 "body": true
1847 },
1848 "comment": true
1849 },
1850 "tree": [
1851 {
1852 "comment": "?xml version=\"1.0\""
1853 },
1854 {
1855 "tag": "html",
1856 "children": [
1857 {
1858 "tag": "head"
1859 },
1860 {
1861 "tag": "body",
1862 "children": [
1863 {
1864 "text": "Hi"
1865 }
1866 ]
1867 }
1868 ]
1869 }
1870 ],
1871 "html": "<!--?xml version=\"1.0\"--><html><head></head><body>Hi</body></html>",
1872 "noQuirksBodyHtml": "<!--?xml version=\"1.0\"-->Hi"
1873 }
1874 },
1875 {
1876 "data": "<?xml version=\"1.0\">",
1877 "errors": [
1878 "(1,1): expected-tag-name-but-got-question-mark",
1879 "(1,20): expected-doctype-but-got-eof"
1880 ],
1881 "document": {
1882 "props": {
1883 "tags": {
1884 "html": true,
1885 "head": true,
1886 "body": true
1887 },
1888 "comment": true
1889 },
1890 "tree": [
1891 {
1892 "comment": "?xml version=\"1.0\""
1893 },
1894 {
1895 "tag": "html",
1896 "children": [
1897 {
1898 "tag": "head"
1899 },
1900 {
1901 "tag": "body"
1902 }
1903 ]
1904 }
1905 ],
1906 "html": "<!--?xml version=\"1.0\"--><html><head></head><body></body></html>",
1907 "noQuirksBodyHtml": "<!--?xml version=\"1.0\"-->"
1908 }
1909 },
1910 {
1911 "data": "<?xml version",
1912 "errors": [
1913 "(1,1): expected-tag-name-but-got-question-mark",
1914 "(1,13): expected-doctype-but-got-eof"
1915 ],
1916 "document": {
1917 "props": {
1918 "tags": {
1919 "html": true,
1920 "head": true,
1921 "body": true
1922 },
1923 "comment": true
1924 },
1925 "tree": [
1926 {
1927 "comment": "?xml version"
1928 },
1929 {
1930 "tag": "html",
1931 "children": [
1932 {
1933 "tag": "head"
1934 },
1935 {
1936 "tag": "body"
1937 }
1938 ]
1939 }
1940 ],
1941 "html": "<!--?xml version--><html><head></head><body></body></html>",
1942 "noQuirksBodyHtml": "<!--?xml version-->"
1943 }
1944 },
1945 {
1946 "data": "FOO<!----->BAZ",
1947 "errors": [
1948 "(1,3): expected-doctype-but-got-chars",
1949 "(1,10): unexpected-dash-after-double-dash-in-comment"
1950 ],
1951 "document": {
1952 "props": {
1953 "tags": {
1954 "html": true,
1955 "head": true,
1956 "body": true
1957 },
1958 "comment": true
1959 },
1960 "tree": [
1961 {
1962 "tag": "html",
1963 "children": [
1964 {
1965 "tag": "head"
1966 },
1967 {
1968 "tag": "body",
1969 "children": [
1970 {
1971 "text": "FOO"
1972 },
1973 {
1974 "comment": "-"
1975 },
1976 {
1977 "text": "BAZ"
1978 }
1979 ]
1980 }
1981 ]
1982 }
1983 ],
1984 "html": "<html><head></head><body>FOO<!----->BAZ</body></html>",
1985 "noQuirksBodyHtml": "FOO<!----->BAZ"
1986 }
1987 },
1988 {
1989 "data": "<html><!-- comment --><title>Comment before head</title>",
1990 "errors": [
1991 "(1,6): expected-doctype-but-got-start-tag"
1992 ],
1993 "document": {
1994 "props": {
1995 "tags": {
1996 "html": true,
1997 "head": true,
1998 "title": true,
1999 "body": true
2000 },
2001 "comment": true
2002 },
2003 "tree": [
2004 {
2005 "tag": "html",
2006 "children": [
2007 {
2008 "comment": " comment "
2009 },
2010 {
2011 "tag": "head",
2012 "children": [
2013 {
2014 "tag": "title",
2015 "children": [
2016 {
2017 "text": "Comment before head"
2018 }
2019 ]
2020 }
2021 ]
2022 },
2023 {
2024 "tag": "body"
2025 }
2026 ]
2027 }
2028 ],
2029 "html": "<html><!-- comment --><head><title>Comment before head</title></head><body></body></html>",
2030 "noQuirksBodyHtml": "<!-- comment --><title>Comment before head</title>"
2031 }
2032 }
2033 ],
2034 "doctype01.dat": [
2035 {
2036 "data": "<!DOCTYPE html>Hello",
2037 "errors": [],
2038 "document": {
2039 "props": {
2040 "tags": {
2041 "html": true,
2042 "head": true,
2043 "body": true
2044 },
2045 "doctype": true
2046 },
2047 "tree": [
2048 {
2049 "doctype": "html"
2050 },
2051 {
2052 "tag": "html",
2053 "children": [
2054 {
2055 "tag": "head"
2056 },
2057 {
2058 "tag": "body",
2059 "children": [
2060 {
2061 "text": "Hello"
2062 }
2063 ]
2064 }
2065 ]
2066 }
2067 ],
2068 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2069 "noQuirksBodyHtml": "Hello"
2070 }
2071 },
2072 {
2073 "data": "<!dOctYpE HtMl>Hello",
2074 "errors": [],
2075 "document": {
2076 "props": {
2077 "tags": {
2078 "html": true,
2079 "head": true,
2080 "body": true
2081 },
2082 "doctype": true
2083 },
2084 "tree": [
2085 {
2086 "doctype": "html"
2087 },
2088 {
2089 "tag": "html",
2090 "children": [
2091 {
2092 "tag": "head"
2093 },
2094 {
2095 "tag": "body",
2096 "children": [
2097 {
2098 "text": "Hello"
2099 }
2100 ]
2101 }
2102 ]
2103 }
2104 ],
2105 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2106 "noQuirksBodyHtml": "Hello"
2107 }
2108 },
2109 {
2110 "data": "<!DOCTYPEhtml>Hello",
2111 "errors": [
2112 "(1,9): need-space-after-doctype"
2113 ],
2114 "document": {
2115 "props": {
2116 "tags": {
2117 "html": true,
2118 "head": true,
2119 "body": true
2120 },
2121 "doctype": true
2122 },
2123 "tree": [
2124 {
2125 "doctype": "html"
2126 },
2127 {
2128 "tag": "html",
2129 "children": [
2130 {
2131 "tag": "head"
2132 },
2133 {
2134 "tag": "body",
2135 "children": [
2136 {
2137 "text": "Hello"
2138 }
2139 ]
2140 }
2141 ]
2142 }
2143 ],
2144 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2145 "noQuirksBodyHtml": "Hello"
2146 }
2147 },
2148 {
2149 "data": "<!DOCTYPE>Hello",
2150 "errors": [
2151 "(1,9): need-space-after-doctype",
2152 "(1,10): expected-doctype-name-but-got-right-bracket",
2153 "(1,10): unknown-doctype"
2154 ],
2155 "document": {
2156 "props": {
2157 "tags": {
2158 "html": true,
2159 "head": true,
2160 "body": true
2161 },
2162 "doctype": true
2163 },
2164 "tree": [
2165 {
2166 "doctype": ""
2167 },
2168 {
2169 "tag": "html",
2170 "children": [
2171 {
2172 "tag": "head"
2173 },
2174 {
2175 "tag": "body",
2176 "children": [
2177 {
2178 "text": "Hello"
2179 }
2180 ]
2181 }
2182 ]
2183 }
2184 ],
2185 "html": "<!DOCTYPE ><html><head></head><body>Hello</body></html>",
2186 "noQuirksBodyHtml": "Hello"
2187 }
2188 },
2189 {
2190 "data": "<!DOCTYPE >Hello",
2191 "errors": [
2192 "(1,11): expected-doctype-name-but-got-right-bracket",
2193 "(1,11): unknown-doctype"
2194 ],
2195 "document": {
2196 "props": {
2197 "tags": {
2198 "html": true,
2199 "head": true,
2200 "body": true
2201 },
2202 "doctype": true
2203 },
2204 "tree": [
2205 {
2206 "doctype": ""
2207 },
2208 {
2209 "tag": "html",
2210 "children": [
2211 {
2212 "tag": "head"
2213 },
2214 {
2215 "tag": "body",
2216 "children": [
2217 {
2218 "text": "Hello"
2219 }
2220 ]
2221 }
2222 ]
2223 }
2224 ],
2225 "html": "<!DOCTYPE ><html><head></head><body>Hello</body></html>",
2226 "noQuirksBodyHtml": "Hello"
2227 }
2228 },
2229 {
2230 "data": "<!DOCTYPE potato>Hello",
2231 "errors": [
2232 "(1,17): unknown-doctype"
2233 ],
2234 "document": {
2235 "props": {
2236 "tags": {
2237 "html": true,
2238 "head": true,
2239 "body": true
2240 },
2241 "doctype": true
2242 },
2243 "tree": [
2244 {
2245 "doctype": "potato"
2246 },
2247 {
2248 "tag": "html",
2249 "children": [
2250 {
2251 "tag": "head"
2252 },
2253 {
2254 "tag": "body",
2255 "children": [
2256 {
2257 "text": "Hello"
2258 }
2259 ]
2260 }
2261 ]
2262 }
2263 ],
2264 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2265 "noQuirksBodyHtml": "Hello"
2266 }
2267 },
2268 {
2269 "data": "<!DOCTYPE potato >Hello",
2270 "errors": [
2271 "(1,18): unknown-doctype"
2272 ],
2273 "document": {
2274 "props": {
2275 "tags": {
2276 "html": true,
2277 "head": true,
2278 "body": true
2279 },
2280 "doctype": true
2281 },
2282 "tree": [
2283 {
2284 "doctype": "potato"
2285 },
2286 {
2287 "tag": "html",
2288 "children": [
2289 {
2290 "tag": "head"
2291 },
2292 {
2293 "tag": "body",
2294 "children": [
2295 {
2296 "text": "Hello"
2297 }
2298 ]
2299 }
2300 ]
2301 }
2302 ],
2303 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2304 "noQuirksBodyHtml": "Hello"
2305 }
2306 },
2307 {
2308 "data": "<!DOCTYPE potato taco>Hello",
2309 "errors": [
2310 "(1,17): expected-space-or-right-bracket-in-doctype",
2311 "(1,22): unknown-doctype"
2312 ],
2313 "document": {
2314 "props": {
2315 "tags": {
2316 "html": true,
2317 "head": true,
2318 "body": true
2319 },
2320 "doctype": true
2321 },
2322 "tree": [
2323 {
2324 "doctype": "potato"
2325 },
2326 {
2327 "tag": "html",
2328 "children": [
2329 {
2330 "tag": "head"
2331 },
2332 {
2333 "tag": "body",
2334 "children": [
2335 {
2336 "text": "Hello"
2337 }
2338 ]
2339 }
2340 ]
2341 }
2342 ],
2343 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2344 "noQuirksBodyHtml": "Hello"
2345 }
2346 },
2347 {
2348 "data": "<!DOCTYPE potato taco \"ddd>Hello",
2349 "errors": [
2350 "(1,17): expected-space-or-right-bracket-in-doctype",
2351 "(1,27): unknown-doctype"
2352 ],
2353 "document": {
2354 "props": {
2355 "tags": {
2356 "html": true,
2357 "head": true,
2358 "body": true
2359 },
2360 "doctype": true
2361 },
2362 "tree": [
2363 {
2364 "doctype": "potato"
2365 },
2366 {
2367 "tag": "html",
2368 "children": [
2369 {
2370 "tag": "head"
2371 },
2372 {
2373 "tag": "body",
2374 "children": [
2375 {
2376 "text": "Hello"
2377 }
2378 ]
2379 }
2380 ]
2381 }
2382 ],
2383 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2384 "noQuirksBodyHtml": "Hello"
2385 }
2386 },
2387 {
2388 "data": "<!DOCTYPE potato sYstEM>Hello",
2389 "errors": [
2390 "(1,24): unexpected-char-in-doctype",
2391 "(1,24): unknown-doctype"
2392 ],
2393 "document": {
2394 "props": {
2395 "tags": {
2396 "html": true,
2397 "head": true,
2398 "body": true
2399 },
2400 "doctype": true
2401 },
2402 "tree": [
2403 {
2404 "doctype": "potato"
2405 },
2406 {
2407 "tag": "html",
2408 "children": [
2409 {
2410 "tag": "head"
2411 },
2412 {
2413 "tag": "body",
2414 "children": [
2415 {
2416 "text": "Hello"
2417 }
2418 ]
2419 }
2420 ]
2421 }
2422 ],
2423 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2424 "noQuirksBodyHtml": "Hello"
2425 }
2426 },
2427 {
2428 "data": "<!DOCTYPE potato sYstEM >Hello",
2429 "errors": [
2430 "(1,28): unexpected-char-in-doctype",
2431 "(1,28): unknown-doctype"
2432 ],
2433 "document": {
2434 "props": {
2435 "tags": {
2436 "html": true,
2437 "head": true,
2438 "body": true
2439 },
2440 "doctype": true
2441 },
2442 "tree": [
2443 {
2444 "doctype": "potato"
2445 },
2446 {
2447 "tag": "html",
2448 "children": [
2449 {
2450 "tag": "head"
2451 },
2452 {
2453 "tag": "body",
2454 "children": [
2455 {
2456 "text": "Hello"
2457 }
2458 ]
2459 }
2460 ]
2461 }
2462 ],
2463 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2464 "noQuirksBodyHtml": "Hello"
2465 }
2466 },
2467 {
2468 "data": "<!DOCTYPE potato sYstEM ggg>Hello",
2469 "errors": [
2470 "(1,34): unexpected-char-in-doctype",
2471 "(1,37): unknown-doctype"
2472 ],
2473 "document": {
2474 "props": {
2475 "tags": {
2476 "html": true,
2477 "head": true,
2478 "body": true
2479 },
2480 "doctype": true
2481 },
2482 "tree": [
2483 {
2484 "doctype": "potato"
2485 },
2486 {
2487 "tag": "html",
2488 "children": [
2489 {
2490 "tag": "head"
2491 },
2492 {
2493 "tag": "body",
2494 "children": [
2495 {
2496 "text": "Hello"
2497 }
2498 ]
2499 }
2500 ]
2501 }
2502 ],
2503 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2504 "noQuirksBodyHtml": "Hello"
2505 }
2506 },
2507 {
2508 "data": "<!DOCTYPE potato SYSTEM taco >Hello",
2509 "errors": [
2510 "(1,25): unexpected-char-in-doctype",
2511 "(1,31): unknown-doctype"
2512 ],
2513 "document": {
2514 "props": {
2515 "tags": {
2516 "html": true,
2517 "head": true,
2518 "body": true
2519 },
2520 "doctype": true
2521 },
2522 "tree": [
2523 {
2524 "doctype": "potato"
2525 },
2526 {
2527 "tag": "html",
2528 "children": [
2529 {
2530 "tag": "head"
2531 },
2532 {
2533 "tag": "body",
2534 "children": [
2535 {
2536 "text": "Hello"
2537 }
2538 ]
2539 }
2540 ]
2541 }
2542 ],
2543 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2544 "noQuirksBodyHtml": "Hello"
2545 }
2546 },
2547 {
2548 "data": "<!DOCTYPE potato SYSTEM 'taco\"'>Hello",
2549 "errors": [
2550 "(1,32): unknown-doctype"
2551 ],
2552 "document": {
2553 "props": {
2554 "tags": {
2555 "html": true,
2556 "head": true,
2557 "body": true
2558 },
2559 "doctype": true
2560 },
2561 "tree": [
2562 {
2563 "doctype": "potato \"\" \"taco\"\""
2564 },
2565 {
2566 "tag": "html",
2567 "children": [
2568 {
2569 "tag": "head"
2570 },
2571 {
2572 "tag": "body",
2573 "children": [
2574 {
2575 "text": "Hello"
2576 }
2577 ]
2578 }
2579 ]
2580 }
2581 ],
2582 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2583 "noQuirksBodyHtml": "Hello"
2584 }
2585 },
2586 {
2587 "data": "<!DOCTYPE potato SYSTEM \"taco\">Hello",
2588 "errors": [
2589 "(1,31): unknown-doctype"
2590 ],
2591 "document": {
2592 "props": {
2593 "tags": {
2594 "html": true,
2595 "head": true,
2596 "body": true
2597 },
2598 "doctype": true
2599 },
2600 "tree": [
2601 {
2602 "doctype": "potato \"\" \"taco\""
2603 },
2604 {
2605 "tag": "html",
2606 "children": [
2607 {
2608 "tag": "head"
2609 },
2610 {
2611 "tag": "body",
2612 "children": [
2613 {
2614 "text": "Hello"
2615 }
2616 ]
2617 }
2618 ]
2619 }
2620 ],
2621 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2622 "noQuirksBodyHtml": "Hello"
2623 }
2624 },
2625 {
2626 "data": "<!DOCTYPE potato SYSTEM \"tai'co\">Hello",
2627 "errors": [
2628 "(1,33): unknown-doctype"
2629 ],
2630 "document": {
2631 "props": {
2632 "tags": {
2633 "html": true,
2634 "head": true,
2635 "body": true
2636 },
2637 "doctype": true
2638 },
2639 "tree": [
2640 {
2641 "doctype": "potato \"\" \"tai'co\""
2642 },
2643 {
2644 "tag": "html",
2645 "children": [
2646 {
2647 "tag": "head"
2648 },
2649 {
2650 "tag": "body",
2651 "children": [
2652 {
2653 "text": "Hello"
2654 }
2655 ]
2656 }
2657 ]
2658 }
2659 ],
2660 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2661 "noQuirksBodyHtml": "Hello"
2662 }
2663 },
2664 {
2665 "data": "<!DOCTYPE potato SYSTEMtaco \"ddd\">Hello",
2666 "errors": [
2667 "(1,24): unexpected-char-in-doctype",
2668 "(1,34): unknown-doctype"
2669 ],
2670 "document": {
2671 "props": {
2672 "tags": {
2673 "html": true,
2674 "head": true,
2675 "body": true
2676 },
2677 "doctype": true
2678 },
2679 "tree": [
2680 {
2681 "doctype": "potato"
2682 },
2683 {
2684 "tag": "html",
2685 "children": [
2686 {
2687 "tag": "head"
2688 },
2689 {
2690 "tag": "body",
2691 "children": [
2692 {
2693 "text": "Hello"
2694 }
2695 ]
2696 }
2697 ]
2698 }
2699 ],
2700 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2701 "noQuirksBodyHtml": "Hello"
2702 }
2703 },
2704 {
2705 "data": "<!DOCTYPE potato grass SYSTEM taco>Hello",
2706 "errors": [
2707 "(1,17): expected-space-or-right-bracket-in-doctype",
2708 "(1,35): unknown-doctype"
2709 ],
2710 "document": {
2711 "props": {
2712 "tags": {
2713 "html": true,
2714 "head": true,
2715 "body": true
2716 },
2717 "doctype": true
2718 },
2719 "tree": [
2720 {
2721 "doctype": "potato"
2722 },
2723 {
2724 "tag": "html",
2725 "children": [
2726 {
2727 "tag": "head"
2728 },
2729 {
2730 "tag": "body",
2731 "children": [
2732 {
2733 "text": "Hello"
2734 }
2735 ]
2736 }
2737 ]
2738 }
2739 ],
2740 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2741 "noQuirksBodyHtml": "Hello"
2742 }
2743 },
2744 {
2745 "data": "<!DOCTYPE potato pUbLIc>Hello",
2746 "errors": [
2747 "(1,24): unexpected-end-of-doctype",
2748 "(1,24): unknown-doctype"
2749 ],
2750 "document": {
2751 "props": {
2752 "tags": {
2753 "html": true,
2754 "head": true,
2755 "body": true
2756 },
2757 "doctype": true
2758 },
2759 "tree": [
2760 {
2761 "doctype": "potato"
2762 },
2763 {
2764 "tag": "html",
2765 "children": [
2766 {
2767 "tag": "head"
2768 },
2769 {
2770 "tag": "body",
2771 "children": [
2772 {
2773 "text": "Hello"
2774 }
2775 ]
2776 }
2777 ]
2778 }
2779 ],
2780 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2781 "noQuirksBodyHtml": "Hello"
2782 }
2783 },
2784 {
2785 "data": "<!DOCTYPE potato pUbLIc >Hello",
2786 "errors": [
2787 "(1,25): unexpected-end-of-doctype",
2788 "(1,25): unknown-doctype"
2789 ],
2790 "document": {
2791 "props": {
2792 "tags": {
2793 "html": true,
2794 "head": true,
2795 "body": true
2796 },
2797 "doctype": true
2798 },
2799 "tree": [
2800 {
2801 "doctype": "potato"
2802 },
2803 {
2804 "tag": "html",
2805 "children": [
2806 {
2807 "tag": "head"
2808 },
2809 {
2810 "tag": "body",
2811 "children": [
2812 {
2813 "text": "Hello"
2814 }
2815 ]
2816 }
2817 ]
2818 }
2819 ],
2820 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2821 "noQuirksBodyHtml": "Hello"
2822 }
2823 },
2824 {
2825 "data": "<!DOCTYPE potato pUbLIcgoof>Hello",
2826 "errors": [
2827 "(1,24): unexpected-char-in-doctype",
2828 "(1,28): unknown-doctype"
2829 ],
2830 "document": {
2831 "props": {
2832 "tags": {
2833 "html": true,
2834 "head": true,
2835 "body": true
2836 },
2837 "doctype": true
2838 },
2839 "tree": [
2840 {
2841 "doctype": "potato"
2842 },
2843 {
2844 "tag": "html",
2845 "children": [
2846 {
2847 "tag": "head"
2848 },
2849 {
2850 "tag": "body",
2851 "children": [
2852 {
2853 "text": "Hello"
2854 }
2855 ]
2856 }
2857 ]
2858 }
2859 ],
2860 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2861 "noQuirksBodyHtml": "Hello"
2862 }
2863 },
2864 {
2865 "data": "<!DOCTYPE potato PUBLIC goof>Hello",
2866 "errors": [
2867 "(1,25): unexpected-char-in-doctype",
2868 "(1,29): unknown-doctype"
2869 ],
2870 "document": {
2871 "props": {
2872 "tags": {
2873 "html": true,
2874 "head": true,
2875 "body": true
2876 },
2877 "doctype": true
2878 },
2879 "tree": [
2880 {
2881 "doctype": "potato"
2882 },
2883 {
2884 "tag": "html",
2885 "children": [
2886 {
2887 "tag": "head"
2888 },
2889 {
2890 "tag": "body",
2891 "children": [
2892 {
2893 "text": "Hello"
2894 }
2895 ]
2896 }
2897 ]
2898 }
2899 ],
2900 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2901 "noQuirksBodyHtml": "Hello"
2902 }
2903 },
2904 {
2905 "data": "<!DOCTYPE potato PUBLIC \"go'of\">Hello",
2906 "errors": [
2907 "(1,32): unknown-doctype"
2908 ],
2909 "document": {
2910 "props": {
2911 "tags": {
2912 "html": true,
2913 "head": true,
2914 "body": true
2915 },
2916 "doctype": true
2917 },
2918 "tree": [
2919 {
2920 "doctype": "potato \"go'of\" \"\""
2921 },
2922 {
2923 "tag": "html",
2924 "children": [
2925 {
2926 "tag": "head"
2927 },
2928 {
2929 "tag": "body",
2930 "children": [
2931 {
2932 "text": "Hello"
2933 }
2934 ]
2935 }
2936 ]
2937 }
2938 ],
2939 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2940 "noQuirksBodyHtml": "Hello"
2941 }
2942 },
2943 {
2944 "data": "<!DOCTYPE potato PUBLIC 'go'of'>Hello",
2945 "errors": [
2946 "(1,29): unexpected-char-in-doctype",
2947 "(1,32): unknown-doctype"
2948 ],
2949 "document": {
2950 "props": {
2951 "tags": {
2952 "html": true,
2953 "head": true,
2954 "body": true
2955 },
2956 "doctype": true
2957 },
2958 "tree": [
2959 {
2960 "doctype": "potato \"go\" \"\""
2961 },
2962 {
2963 "tag": "html",
2964 "children": [
2965 {
2966 "tag": "head"
2967 },
2968 {
2969 "tag": "body",
2970 "children": [
2971 {
2972 "text": "Hello"
2973 }
2974 ]
2975 }
2976 ]
2977 }
2978 ],
2979 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2980 "noQuirksBodyHtml": "Hello"
2981 }
2982 },
2983 {
2984 "data": "<!DOCTYPE potato PUBLIC 'go:hh of' >Hello",
2985 "errors": [
2986 "(1,38): unknown-doctype"
2987 ],
2988 "document": {
2989 "props": {
2990 "tags": {
2991 "html": true,
2992 "head": true,
2993 "body": true
2994 },
2995 "doctype": true
2996 },
2997 "tree": [
2998 {
2999 "doctype": "potato \"go:hh of\" \"\""
3000 },
3001 {
3002 "tag": "html",
3003 "children": [
3004 {
3005 "tag": "head"
3006 },
3007 {
3008 "tag": "body",
3009 "children": [
3010 {
3011 "text": "Hello"
3012 }
3013 ]
3014 }
3015 ]
3016 }
3017 ],
3018 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
3019 "noQuirksBodyHtml": "Hello"
3020 }
3021 },
3022 {
3023 "data": "<!DOCTYPE potato PUBLIC \"W3C-//dfdf\" SYSTEM ggg>Hello",
3024 "errors": [
3025 "(1,38): unexpected-char-in-doctype",
3026 "(1,48): unknown-doctype"
3027 ],
3028 "document": {
3029 "props": {
3030 "tags": {
3031 "html": true,
3032 "head": true,
3033 "body": true
3034 },
3035 "doctype": true
3036 },
3037 "tree": [
3038 {
3039 "doctype": "potato \"W3C-//dfdf\" \"\""
3040 },
3041 {
3042 "tag": "html",
3043 "children": [
3044 {
3045 "tag": "head"
3046 },
3047 {
3048 "tag": "body",
3049 "children": [
3050 {
3051 "text": "Hello"
3052 }
3053 ]
3054 }
3055 ]
3056 }
3057 ],
3058 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
3059 "noQuirksBodyHtml": "Hello"
3060 }
3061 },
3062 {
3063 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">Hello",
3064 "errors": [],
3065 "document": {
3066 "props": {
3067 "tags": {
3068 "html": true,
3069 "head": true,
3070 "body": true
3071 },
3072 "doctype": true
3073 },
3074 "tree": [
3075 {
3076 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3077 },
3078 {
3079 "tag": "html",
3080 "children": [
3081 {
3082 "tag": "head"
3083 },
3084 {
3085 "tag": "body",
3086 "children": [
3087 {
3088 "text": "Hello"
3089 }
3090 ]
3091 }
3092 ]
3093 }
3094 ],
3095 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
3096 "noQuirksBodyHtml": "Hello"
3097 }
3098 },
3099 {
3100 "data": "<!DOCTYPE ...>Hello",
3101 "errors": [
3102 "(1,14): unknown-doctype"
3103 ],
3104 "document": {
3105 "props": {
3106 "tags": {
3107 "html": true,
3108 "head": true,
3109 "body": true
3110 },
3111 "doctype": true
3112 },
3113 "tree": [
3114 {
3115 "doctype": "..."
3116 },
3117 {
3118 "tag": "html",
3119 "children": [
3120 {
3121 "tag": "head"
3122 },
3123 {
3124 "tag": "body",
3125 "children": [
3126 {
3127 "text": "Hello"
3128 }
3129 ]
3130 }
3131 ]
3132 }
3133 ],
3134 "html": "<!DOCTYPE ...><html><head></head><body>Hello</body></html>",
3135 "noQuirksBodyHtml": "Hello"
3136 }
3137 },
3138 {
3139 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
3140 "errors": [
3141 "(2,58): unknown-doctype"
3142 ],
3143 "document": {
3144 "props": {
3145 "tags": {
3146 "html": true,
3147 "head": true,
3148 "body": true
3149 },
3150 "doctype": true
3151 },
3152 "tree": [
3153 {
3154 "doctype": "html \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
3155 },
3156 {
3157 "tag": "html",
3158 "children": [
3159 {
3160 "tag": "head"
3161 },
3162 {
3163 "tag": "body"
3164 }
3165 ]
3166 }
3167 ],
3168 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3169 "noQuirksBodyHtml": ""
3170 }
3171 },
3172 {
3173 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">",
3174 "errors": [
3175 "(2,54): unknown-doctype"
3176 ],
3177 "document": {
3178 "props": {
3179 "tags": {
3180 "html": true,
3181 "head": true,
3182 "body": true
3183 },
3184 "doctype": true
3185 },
3186 "tree": [
3187 {
3188 "doctype": "html \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\""
3189 },
3190 {
3191 "tag": "html",
3192 "children": [
3193 {
3194 "tag": "head"
3195 },
3196 {
3197 "tag": "body"
3198 }
3199 ]
3200 }
3201 ],
3202 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3203 "noQuirksBodyHtml": ""
3204 }
3205 },
3206 {
3207 "data": "<!DOCTYPE root-element [SYSTEM OR PUBLIC FPI] \"uri\" [ \n<!-- internal declarations -->\n]>",
3208 "errors": [
3209 "(1,23): expected-space-or-right-bracket-in-doctype",
3210 "(2,30): unknown-doctype"
3211 ],
3212 "document": {
3213 "props": {
3214 "tags": {
3215 "html": true,
3216 "head": true,
3217 "body": true
3218 },
3219 "doctype": true,
3220 "escaped": true
3221 },
3222 "tree": [
3223 {
3224 "doctype": "root-element"
3225 },
3226 {
3227 "tag": "html",
3228 "children": [
3229 {
3230 "tag": "head"
3231 },
3232 {
3233 "tag": "body",
3234 "children": [
3235 {
3236 "text": "]>",
3237 "escaped": true
3238 }
3239 ]
3240 }
3241 ]
3242 }
3243 ],
3244 "html": "<!DOCTYPE root-element><html><head></head><body>]&gt;</body></html>",
3245 "noQuirksBodyHtml": "\n]&gt;"
3246 }
3247 },
3248 {
3249 "data": "<!DOCTYPE html PUBLIC\n \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\n \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">",
3250 "errors": [
3251 "(3,53): unknown-doctype"
3252 ],
3253 "document": {
3254 "props": {
3255 "tags": {
3256 "html": true,
3257 "head": true,
3258 "body": true
3259 },
3260 "doctype": true
3261 },
3262 "tree": [
3263 {
3264 "doctype": "html \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\""
3265 },
3266 {
3267 "tag": "html",
3268 "children": [
3269 {
3270 "tag": "head"
3271 },
3272 {
3273 "tag": "body"
3274 }
3275 ]
3276 }
3277 ],
3278 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3279 "noQuirksBodyHtml": ""
3280 }
3281 },
3282 {
3283 "data": "<!DOCTYPE HTML SYSTEM \"http://www.w3.org/DTD/HTML4-strict.dtd\"><body><b>Mine!</b></body>",
3284 "errors": [
3285 "(1,63): unknown-doctype"
3286 ],
3287 "document": {
3288 "props": {
3289 "tags": {
3290 "html": true,
3291 "head": true,
3292 "body": true,
3293 "b": true
3294 },
3295 "doctype": true
3296 },
3297 "tree": [
3298 {
3299 "doctype": "html \"\" \"http://www.w3.org/DTD/HTML4-strict.dtd\""
3300 },
3301 {
3302 "tag": "html",
3303 "children": [
3304 {
3305 "tag": "head"
3306 },
3307 {
3308 "tag": "body",
3309 "children": [
3310 {
3311 "tag": "b",
3312 "children": [
3313 {
3314 "text": "Mine!"
3315 }
3316 ]
3317 }
3318 ]
3319 }
3320 ]
3321 }
3322 ],
3323 "html": "<!DOCTYPE html><html><head></head><body><b>Mine!</b></body></html>",
3324 "noQuirksBodyHtml": "<b>Mine!</b>"
3325 }
3326 },
3327 {
3328 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">",
3329 "errors": [
3330 "(1,50): unexpected-char-in-doctype"
3331 ],
3332 "document": {
3333 "props": {
3334 "tags": {
3335 "html": true,
3336 "head": true,
3337 "body": true
3338 },
3339 "doctype": true
3340 },
3341 "tree": [
3342 {
3343 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3344 },
3345 {
3346 "tag": "html",
3347 "children": [
3348 {
3349 "tag": "head"
3350 },
3351 {
3352 "tag": "body"
3353 }
3354 ]
3355 }
3356 ],
3357 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3358 "noQuirksBodyHtml": ""
3359 }
3360 },
3361 {
3362 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>",
3363 "errors": [
3364 "(1,50): unexpected-char-in-doctype"
3365 ],
3366 "document": {
3367 "props": {
3368 "tags": {
3369 "html": true,
3370 "head": true,
3371 "body": true
3372 },
3373 "doctype": true
3374 },
3375 "tree": [
3376 {
3377 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3378 },
3379 {
3380 "tag": "html",
3381 "children": [
3382 {
3383 "tag": "head"
3384 },
3385 {
3386 "tag": "body"
3387 }
3388 ]
3389 }
3390 ],
3391 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3392 "noQuirksBodyHtml": ""
3393 }
3394 },
3395 {
3396 "data": "<!DOCTYPE HTML PUBLIC\"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>",
3397 "errors": [
3398 "(1,21): unexpected-char-in-doctype",
3399 "(1,49): unexpected-char-in-doctype"
3400 ],
3401 "document": {
3402 "props": {
3403 "tags": {
3404 "html": true,
3405 "head": true,
3406 "body": true
3407 },
3408 "doctype": true
3409 },
3410 "tree": [
3411 {
3412 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3413 },
3414 {
3415 "tag": "html",
3416 "children": [
3417 {
3418 "tag": "head"
3419 },
3420 {
3421 "tag": "body"
3422 }
3423 ]
3424 }
3425 ],
3426 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3427 "noQuirksBodyHtml": ""
3428 }
3429 },
3430 {
3431 "data": "<!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 4.01//EN''http://www.w3.org/TR/html4/strict.dtd'>",
3432 "errors": [
3433 "(1,21): unexpected-char-in-doctype",
3434 "(1,49): unexpected-char-in-doctype"
3435 ],
3436 "document": {
3437 "props": {
3438 "tags": {
3439 "html": true,
3440 "head": true,
3441 "body": true
3442 },
3443 "doctype": true
3444 },
3445 "tree": [
3446 {
3447 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3448 },
3449 {
3450 "tag": "html",
3451 "children": [
3452 {
3453 "tag": "head"
3454 },
3455 {
3456 "tag": "body"
3457 }
3458 ]
3459 }
3460 ],
3461 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3462 "noQuirksBodyHtml": ""
3463 }
3464 }
3465 ],
3466 "domjs-unsafe.dat": [
3467 {
3468 "data": "<svg><![CDATA[foo\nbar]]>",
3469 "errors": [
3470 "(1,5): expected-doctype-but-got-start-tag",
3471 "(2,6): expected-closing-tag-but-got-eof"
3472 ],
3473 "document": {
3474 "props": {
3475 "tags": {
3476 "html": true,
3477 "head": true,
3478 "body": true,
3479 "svg svg": true
3480 }
3481 },
3482 "tree": [
3483 {
3484 "tag": "html",
3485 "children": [
3486 {
3487 "tag": "head"
3488 },
3489 {
3490 "tag": "body",
3491 "children": [
3492 {
3493 "tag": "svg",
3494 "ns": "http://www.w3.org/2000/svg",
3495 "children": [
3496 {
3497 "text": "foo\nbar"
3498 }
3499 ]
3500 }
3501 ]
3502 }
3503 ]
3504 }
3505 ],
3506 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3507 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3508 }
3509 },
3510 {
3511 "data": "<svg><![CDATA[foo\rbar]]>",
3512 "errors": [
3513 "(1,5): expected-doctype-but-got-start-tag",
3514 "(2,6): expected-closing-tag-but-got-eof"
3515 ],
3516 "document": {
3517 "props": {
3518 "tags": {
3519 "html": true,
3520 "head": true,
3521 "body": true,
3522 "svg svg": true
3523 }
3524 },
3525 "tree": [
3526 {
3527 "tag": "html",
3528 "children": [
3529 {
3530 "tag": "head"
3531 },
3532 {
3533 "tag": "body",
3534 "children": [
3535 {
3536 "tag": "svg",
3537 "ns": "http://www.w3.org/2000/svg",
3538 "children": [
3539 {
3540 "text": "foo\nbar"
3541 }
3542 ]
3543 }
3544 ]
3545 }
3546 ]
3547 }
3548 ],
3549 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3550 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3551 }
3552 },
3553 {
3554 "data": "<svg><![CDATA[foo\r\nbar]]>",
3555 "errors": [
3556 "(1,5): expected-doctype-but-got-start-tag",
3557 "(2,6): expected-closing-tag-but-got-eof"
3558 ],
3559 "document": {
3560 "props": {
3561 "tags": {
3562 "html": true,
3563 "head": true,
3564 "body": true,
3565 "svg svg": true
3566 }
3567 },
3568 "tree": [
3569 {
3570 "tag": "html",
3571 "children": [
3572 {
3573 "tag": "head"
3574 },
3575 {
3576 "tag": "body",
3577 "children": [
3578 {
3579 "tag": "svg",
3580 "ns": "http://www.w3.org/2000/svg",
3581 "children": [
3582 {
3583 "text": "foo\nbar"
3584 }
3585 ]
3586 }
3587 ]
3588 }
3589 ]
3590 }
3591 ],
3592 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3593 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3594 }
3595 },
3596 {
3597 "data": "<script>a='\u0000'</script>",
3598 "errors": [
3599 "(1,8): expected-doctype-but-got-start-tag",
3600 "(1,12): invalid-codepoint"
3601 ],
3602 "document": {
3603 "props": {
3604 "tags": {
3605 "html": true,
3606 "head": true,
3607 "script": true,
3608 "body": true
3609 },
3610 "no_escape": true
3611 },
3612 "tree": [
3613 {
3614 "tag": "html",
3615 "children": [
3616 {
3617 "tag": "head",
3618 "children": [
3619 {
3620 "tag": "script",
3621 "children": [
3622 {
3623 "text": "a='�'",
3624 "no_escape": true
3625 }
3626 ]
3627 }
3628 ]
3629 },
3630 {
3631 "tag": "body"
3632 }
3633 ]
3634 }
3635 ],
3636 "html": "<html><head><script>a='�'</script></head><body></body></html>",
3637 "noQuirksBodyHtml": "<script>a='�'</script>"
3638 }
3639 },
3640 {
3641 "data": "<script type=\"data\"><!--\u0000</script>",
3642 "errors": [
3643 "(1,20): expected-doctype-but-got-start-tag",
3644 "(1,25): invalid-codepoint"
3645 ],
3646 "document": {
3647 "props": {
3648 "tags": {
3649 "html": true,
3650 "head": true,
3651 "script": true,
3652 "body": true
3653 },
3654 "no_escape": true
3655 },
3656 "tree": [
3657 {
3658 "tag": "html",
3659 "children": [
3660 {
3661 "tag": "head",
3662 "children": [
3663 {
3664 "tag": "script",
3665 "attrs": [
3666 {
3667 "name": "type",
3668 "value": "data"
3669 }
3670 ],
3671 "children": [
3672 {
3673 "text": "<!--�",
3674 "no_escape": true
3675 }
3676 ]
3677 }
3678 ]
3679 },
3680 {
3681 "tag": "body"
3682 }
3683 ]
3684 }
3685 ],
3686 "html": "<html><head><script type=\"data\"><!--�</script></head><body></body></html>",
3687 "noQuirksBodyHtml": "<script type=\"data\"><!--�</script>"
3688 }
3689 },
3690 {
3691 "data": "<script type=\"data\"><!--foo\u0000</script>",
3692 "errors": [
3693 "(1,20): expected-doctype-but-got-start-tag",
3694 "(1,28): invalid-codepoint"
3695 ],
3696 "document": {
3697 "props": {
3698 "tags": {
3699 "html": true,
3700 "head": true,
3701 "script": true,
3702 "body": true
3703 },
3704 "no_escape": true
3705 },
3706 "tree": [
3707 {
3708 "tag": "html",
3709 "children": [
3710 {
3711 "tag": "head",
3712 "children": [
3713 {
3714 "tag": "script",
3715 "attrs": [
3716 {
3717 "name": "type",
3718 "value": "data"
3719 }
3720 ],
3721 "children": [
3722 {
3723 "text": "<!--foo�",
3724 "no_escape": true
3725 }
3726 ]
3727 }
3728 ]
3729 },
3730 {
3731 "tag": "body"
3732 }
3733 ]
3734 }
3735 ],
3736 "html": "<html><head><script type=\"data\"><!--foo�</script></head><body></body></html>",
3737 "noQuirksBodyHtml": "<script type=\"data\"><!--foo�</script>"
3738 }
3739 },
3740 {
3741 "data": "<script type=\"data\"><!-- foo-\u0000</script>",
3742 "errors": [
3743 "(1,20): expected-doctype-but-got-start-tag",
3744 "(1,30): invalid-codepoint"
3745 ],
3746 "document": {
3747 "props": {
3748 "tags": {
3749 "html": true,
3750 "head": true,
3751 "script": true,
3752 "body": true
3753 },
3754 "no_escape": true
3755 },
3756 "tree": [
3757 {
3758 "tag": "html",
3759 "children": [
3760 {
3761 "tag": "head",
3762 "children": [
3763 {
3764 "tag": "script",
3765 "attrs": [
3766 {
3767 "name": "type",
3768 "value": "data"
3769 }
3770 ],
3771 "children": [
3772 {
3773 "text": "<!-- foo-�",
3774 "no_escape": true
3775 }
3776 ]
3777 }
3778 ]
3779 },
3780 {
3781 "tag": "body"
3782 }
3783 ]
3784 }
3785 ],
3786 "html": "<html><head><script type=\"data\"><!-- foo-�</script></head><body></body></html>",
3787 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-�</script>"
3788 }
3789 },
3790 {
3791 "data": "<script type=\"data\"><!-- foo--\u0000</script>",
3792 "errors": [
3793 "(1,20): expected-doctype-but-got-start-tag",
3794 "(1,31): invalid-codepoint"
3795 ],
3796 "document": {
3797 "props": {
3798 "tags": {
3799 "html": true,
3800 "head": true,
3801 "script": true,
3802 "body": true
3803 },
3804 "no_escape": true
3805 },
3806 "tree": [
3807 {
3808 "tag": "html",
3809 "children": [
3810 {
3811 "tag": "head",
3812 "children": [
3813 {
3814 "tag": "script",
3815 "attrs": [
3816 {
3817 "name": "type",
3818 "value": "data"
3819 }
3820 ],
3821 "children": [
3822 {
3823 "text": "<!-- foo--�",
3824 "no_escape": true
3825 }
3826 ]
3827 }
3828 ]
3829 },
3830 {
3831 "tag": "body"
3832 }
3833 ]
3834 }
3835 ],
3836 "html": "<html><head><script type=\"data\"><!-- foo--�</script></head><body></body></html>",
3837 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo--�</script>"
3838 }
3839 },
3840 {
3841 "data": "<script type=\"data\"><!-- foo-",
3842 "errors": [
3843 "(1,20): expected-doctype-but-got-start-tag",
3844 "(1,29): expected-script-data-but-got-eof",
3845 "(1,29): expected-named-closing-tag-but-got-eof"
3846 ],
3847 "document": {
3848 "props": {
3849 "tags": {
3850 "html": true,
3851 "head": true,
3852 "script": true,
3853 "body": true
3854 },
3855 "no_escape": true
3856 },
3857 "tree": [
3858 {
3859 "tag": "html",
3860 "children": [
3861 {
3862 "tag": "head",
3863 "children": [
3864 {
3865 "tag": "script",
3866 "attrs": [
3867 {
3868 "name": "type",
3869 "value": "data"
3870 }
3871 ],
3872 "children": [
3873 {
3874 "text": "<!-- foo-",
3875 "no_escape": true
3876 }
3877 ]
3878 }
3879 ]
3880 },
3881 {
3882 "tag": "body"
3883 }
3884 ]
3885 }
3886 ],
3887 "html": "<html><head><script type=\"data\"><!-- foo-</script></head><body></body></html>",
3888 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-</script>"
3889 }
3890 },
3891 {
3892 "data": "<script type=\"data\"><!-- foo-<</script>",
3893 "errors": [
3894 "(1,20): expected-doctype-but-got-start-tag"
3895 ],
3896 "document": {
3897 "props": {
3898 "tags": {
3899 "html": true,
3900 "head": true,
3901 "script": true,
3902 "body": true
3903 },
3904 "no_escape": true
3905 },
3906 "tree": [
3907 {
3908 "tag": "html",
3909 "children": [
3910 {
3911 "tag": "head",
3912 "children": [
3913 {
3914 "tag": "script",
3915 "attrs": [
3916 {
3917 "name": "type",
3918 "value": "data"
3919 }
3920 ],
3921 "children": [
3922 {
3923 "text": "<!-- foo-<",
3924 "no_escape": true
3925 }
3926 ]
3927 }
3928 ]
3929 },
3930 {
3931 "tag": "body"
3932 }
3933 ]
3934 }
3935 ],
3936 "html": "<html><head><script type=\"data\"><!-- foo-<</script></head><body></body></html>",
3937 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-<</script>"
3938 }
3939 },
3940 {
3941 "data": "<script type=\"data\"><!-- foo-<S",
3942 "errors": [
3943 "(1,20): expected-doctype-but-got-start-tag",
3944 "(1,31): expected-script-data-but-got-eof",
3945 "(1,31): expected-named-closing-tag-but-got-eof"
3946 ],
3947 "document": {
3948 "props": {
3949 "tags": {
3950 "html": true,
3951 "head": true,
3952 "script": true,
3953 "body": true
3954 },
3955 "no_escape": true
3956 },
3957 "tree": [
3958 {
3959 "tag": "html",
3960 "children": [
3961 {
3962 "tag": "head",
3963 "children": [
3964 {
3965 "tag": "script",
3966 "attrs": [
3967 {
3968 "name": "type",
3969 "value": "data"
3970 }
3971 ],
3972 "children": [
3973 {
3974 "text": "<!-- foo-<S",
3975 "no_escape": true
3976 }
3977 ]
3978 }
3979 ]
3980 },
3981 {
3982 "tag": "body"
3983 }
3984 ]
3985 }
3986 ],
3987 "html": "<html><head><script type=\"data\"><!-- foo-<S</script></head><body></body></html>",
3988 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-<S</script>"
3989 }
3990 },
3991 {
3992 "data": "<script type=\"data\"><!-- foo-</SCRIPT>",
3993 "errors": [
3994 "(1,20): expected-doctype-but-got-start-tag"
3995 ],
3996 "document": {
3997 "props": {
3998 "tags": {
3999 "html": true,
4000 "head": true,
4001 "script": true,
4002 "body": true
4003 },
4004 "no_escape": true
4005 },
4006 "tree": [
4007 {
4008 "tag": "html",
4009 "children": [
4010 {
4011 "tag": "head",
4012 "children": [
4013 {
4014 "tag": "script",
4015 "attrs": [
4016 {
4017 "name": "type",
4018 "value": "data"
4019 }
4020 ],
4021 "children": [
4022 {
4023 "text": "<!-- foo-",
4024 "no_escape": true
4025 }
4026 ]
4027 }
4028 ]
4029 },
4030 {
4031 "tag": "body"
4032 }
4033 ]
4034 }
4035 ],
4036 "html": "<html><head><script type=\"data\"><!-- foo-</script></head><body></body></html>",
4037 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-</script>"
4038 }
4039 },
4040 {
4041 "data": "<script type=\"data\"><!--<p></script>",
4042 "errors": [
4043 "(1,20): expected-doctype-but-got-start-tag"
4044 ],
4045 "document": {
4046 "props": {
4047 "tags": {
4048 "html": true,
4049 "head": true,
4050 "script": true,
4051 "body": true
4052 },
4053 "no_escape": true
4054 },
4055 "tree": [
4056 {
4057 "tag": "html",
4058 "children": [
4059 {
4060 "tag": "head",
4061 "children": [
4062 {
4063 "tag": "script",
4064 "attrs": [
4065 {
4066 "name": "type",
4067 "value": "data"
4068 }
4069 ],
4070 "children": [
4071 {
4072 "text": "<!--<p>",
4073 "no_escape": true
4074 }
4075 ]
4076 }
4077 ]
4078 },
4079 {
4080 "tag": "body"
4081 }
4082 ]
4083 }
4084 ],
4085 "html": "<html><head><script type=\"data\"><!--<p></script></head><body></body></html>",
4086 "noQuirksBodyHtml": "<script type=\"data\"><!--<p></script>"
4087 }
4088 },
4089 {
4090 "data": "<script type=\"data\"><!--<script></script></script>",
4091 "errors": [
4092 "(1,20): expected-doctype-but-got-start-tag"
4093 ],
4094 "document": {
4095 "props": {
4096 "tags": {
4097 "html": true,
4098 "head": true,
4099 "script": true,
4100 "body": true
4101 },
4102 "no_escape": true
4103 },
4104 "tree": [
4105 {
4106 "tag": "html",
4107 "children": [
4108 {
4109 "tag": "head",
4110 "children": [
4111 {
4112 "tag": "script",
4113 "attrs": [
4114 {
4115 "name": "type",
4116 "value": "data"
4117 }
4118 ],
4119 "children": [
4120 {
4121 "text": "<!--<script></script>",
4122 "no_escape": true
4123 }
4124 ]
4125 }
4126 ]
4127 },
4128 {
4129 "tag": "body"
4130 }
4131 ]
4132 }
4133 ],
4134 "html": "<html><head><script type=\"data\"><!--<script></script></script></head><body></body></html>",
4135 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></script></script>"
4136 }
4137 },
4138 {
4139 "data": "<script type=\"data\"><!--<script>\u0000</script></script>",
4140 "errors": [
4141 "(1,20): expected-doctype-but-got-start-tag",
4142 "(1,33): invalid-codepoint"
4143 ],
4144 "document": {
4145 "props": {
4146 "tags": {
4147 "html": true,
4148 "head": true,
4149 "script": true,
4150 "body": true
4151 },
4152 "no_escape": true
4153 },
4154 "tree": [
4155 {
4156 "tag": "html",
4157 "children": [
4158 {
4159 "tag": "head",
4160 "children": [
4161 {
4162 "tag": "script",
4163 "attrs": [
4164 {
4165 "name": "type",
4166 "value": "data"
4167 }
4168 ],
4169 "children": [
4170 {
4171 "text": "<!--<script>�</script>",
4172 "no_escape": true
4173 }
4174 ]
4175 }
4176 ]
4177 },
4178 {
4179 "tag": "body"
4180 }
4181 ]
4182 }
4183 ],
4184 "html": "<html><head><script type=\"data\"><!--<script>�</script></script></head><body></body></html>",
4185 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>�</script></script>"
4186 }
4187 },
4188 {
4189 "data": "<script type=\"data\"><!--<script>-\u0000</script></script>",
4190 "errors": [
4191 "(1,20): expected-doctype-but-got-start-tag",
4192 "(1,34): invalid-codepoint"
4193 ],
4194 "document": {
4195 "props": {
4196 "tags": {
4197 "html": true,
4198 "head": true,
4199 "script": true,
4200 "body": true
4201 },
4202 "no_escape": true
4203 },
4204 "tree": [
4205 {
4206 "tag": "html",
4207 "children": [
4208 {
4209 "tag": "head",
4210 "children": [
4211 {
4212 "tag": "script",
4213 "attrs": [
4214 {
4215 "name": "type",
4216 "value": "data"
4217 }
4218 ],
4219 "children": [
4220 {
4221 "text": "<!--<script>-�</script>",
4222 "no_escape": true
4223 }
4224 ]
4225 }
4226 ]
4227 },
4228 {
4229 "tag": "body"
4230 }
4231 ]
4232 }
4233 ],
4234 "html": "<html><head><script type=\"data\"><!--<script>-�</script></script></head><body></body></html>",
4235 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>-�</script></script>"
4236 }
4237 },
4238 {
4239 "data": "<script type=\"data\"><!--<script>--\u0000</script></script>",
4240 "errors": [
4241 "(1,20): expected-doctype-but-got-start-tag",
4242 "(1,35): invalid-codepoint"
4243 ],
4244 "document": {
4245 "props": {
4246 "tags": {
4247 "html": true,
4248 "head": true,
4249 "script": true,
4250 "body": true
4251 },
4252 "no_escape": true
4253 },
4254 "tree": [
4255 {
4256 "tag": "html",
4257 "children": [
4258 {
4259 "tag": "head",
4260 "children": [
4261 {
4262 "tag": "script",
4263 "attrs": [
4264 {
4265 "name": "type",
4266 "value": "data"
4267 }
4268 ],
4269 "children": [
4270 {
4271 "text": "<!--<script>--�</script>",
4272 "no_escape": true
4273 }
4274 ]
4275 }
4276 ]
4277 },
4278 {
4279 "tag": "body"
4280 }
4281 ]
4282 }
4283 ],
4284 "html": "<html><head><script type=\"data\"><!--<script>--�</script></script></head><body></body></html>",
4285 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>--�</script></script>"
4286 }
4287 },
4288 {
4289 "data": "<script type=\"data\"><!--<script>---</script></script>",
4290 "errors": [
4291 "(1,20): expected-doctype-but-got-start-tag"
4292 ],
4293 "document": {
4294 "props": {
4295 "tags": {
4296 "html": true,
4297 "head": true,
4298 "script": true,
4299 "body": true
4300 },
4301 "no_escape": true
4302 },
4303 "tree": [
4304 {
4305 "tag": "html",
4306 "children": [
4307 {
4308 "tag": "head",
4309 "children": [
4310 {
4311 "tag": "script",
4312 "attrs": [
4313 {
4314 "name": "type",
4315 "value": "data"
4316 }
4317 ],
4318 "children": [
4319 {
4320 "text": "<!--<script>---</script>",
4321 "no_escape": true
4322 }
4323 ]
4324 }
4325 ]
4326 },
4327 {
4328 "tag": "body"
4329 }
4330 ]
4331 }
4332 ],
4333 "html": "<html><head><script type=\"data\"><!--<script>---</script></script></head><body></body></html>",
4334 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>---</script></script>"
4335 }
4336 },
4337 {
4338 "data": "<script type=\"data\"><!--<script></scrip></SCRIPT></script>",
4339 "errors": [
4340 "(1,20): expected-doctype-but-got-start-tag"
4341 ],
4342 "document": {
4343 "props": {
4344 "tags": {
4345 "html": true,
4346 "head": true,
4347 "script": true,
4348 "body": true
4349 },
4350 "no_escape": true
4351 },
4352 "tree": [
4353 {
4354 "tag": "html",
4355 "children": [
4356 {
4357 "tag": "head",
4358 "children": [
4359 {
4360 "tag": "script",
4361 "attrs": [
4362 {
4363 "name": "type",
4364 "value": "data"
4365 }
4366 ],
4367 "children": [
4368 {
4369 "text": "<!--<script></scrip></SCRIPT>",
4370 "no_escape": true
4371 }
4372 ]
4373 }
4374 ]
4375 },
4376 {
4377 "tag": "body"
4378 }
4379 ]
4380 }
4381 ],
4382 "html": "<html><head><script type=\"data\"><!--<script></scrip></SCRIPT></script></head><body></body></html>",
4383 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip></SCRIPT></script>"
4384 }
4385 },
4386 {
4387 "data": "<script type=\"data\"><!--<script></scrip </SCRIPT></script>",
4388 "errors": [
4389 "(1,20): expected-doctype-but-got-start-tag"
4390 ],
4391 "document": {
4392 "props": {
4393 "tags": {
4394 "html": true,
4395 "head": true,
4396 "script": true,
4397 "body": true
4398 },
4399 "no_escape": true
4400 },
4401 "tree": [
4402 {
4403 "tag": "html",
4404 "children": [
4405 {
4406 "tag": "head",
4407 "children": [
4408 {
4409 "tag": "script",
4410 "attrs": [
4411 {
4412 "name": "type",
4413 "value": "data"
4414 }
4415 ],
4416 "children": [
4417 {
4418 "text": "<!--<script></scrip </SCRIPT>",
4419 "no_escape": true
4420 }
4421 ]
4422 }
4423 ]
4424 },
4425 {
4426 "tag": "body"
4427 }
4428 ]
4429 }
4430 ],
4431 "html": "<html><head><script type=\"data\"><!--<script></scrip </SCRIPT></script></head><body></body></html>",
4432 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip </SCRIPT></script>"
4433 }
4434 },
4435 {
4436 "data": "<script type=\"data\"><!--<script></scrip/</SCRIPT></script>",
4437 "errors": [
4438 "(1,20): expected-doctype-but-got-start-tag"
4439 ],
4440 "document": {
4441 "props": {
4442 "tags": {
4443 "html": true,
4444 "head": true,
4445 "script": true,
4446 "body": true
4447 },
4448 "no_escape": true
4449 },
4450 "tree": [
4451 {
4452 "tag": "html",
4453 "children": [
4454 {
4455 "tag": "head",
4456 "children": [
4457 {
4458 "tag": "script",
4459 "attrs": [
4460 {
4461 "name": "type",
4462 "value": "data"
4463 }
4464 ],
4465 "children": [
4466 {
4467 "text": "<!--<script></scrip/</SCRIPT>",
4468 "no_escape": true
4469 }
4470 ]
4471 }
4472 ]
4473 },
4474 {
4475 "tag": "body"
4476 }
4477 ]
4478 }
4479 ],
4480 "html": "<html><head><script type=\"data\"><!--<script></scrip/</SCRIPT></script></head><body></body></html>",
4481 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip/</SCRIPT></script>"
4482 }
4483 },
4484 {
4485 "data": "<script type=\"data\"></scrip/></script>",
4486 "errors": [
4487 "(1,20): expected-doctype-but-got-start-tag"
4488 ],
4489 "document": {
4490 "props": {
4491 "tags": {
4492 "html": true,
4493 "head": true,
4494 "script": true,
4495 "body": true
4496 },
4497 "no_escape": true
4498 },
4499 "tree": [
4500 {
4501 "tag": "html",
4502 "children": [
4503 {
4504 "tag": "head",
4505 "children": [
4506 {
4507 "tag": "script",
4508 "attrs": [
4509 {
4510 "name": "type",
4511 "value": "data"
4512 }
4513 ],
4514 "children": [
4515 {
4516 "text": "</scrip/>",
4517 "no_escape": true
4518 }
4519 ]
4520 }
4521 ]
4522 },
4523 {
4524 "tag": "body"
4525 }
4526 ]
4527 }
4528 ],
4529 "html": "<html><head><script type=\"data\"></scrip/></script></head><body></body></html>",
4530 "noQuirksBodyHtml": "<script type=\"data\"></scrip/></script>"
4531 }
4532 },
4533 {
4534 "data": "<script type=\"data\"></scrip ></script>",
4535 "errors": [
4536 "(1,20): expected-doctype-but-got-start-tag"
4537 ],
4538 "document": {
4539 "props": {
4540 "tags": {
4541 "html": true,
4542 "head": true,
4543 "script": true,
4544 "body": true
4545 },
4546 "no_escape": true
4547 },
4548 "tree": [
4549 {
4550 "tag": "html",
4551 "children": [
4552 {
4553 "tag": "head",
4554 "children": [
4555 {
4556 "tag": "script",
4557 "attrs": [
4558 {
4559 "name": "type",
4560 "value": "data"
4561 }
4562 ],
4563 "children": [
4564 {
4565 "text": "</scrip >",
4566 "no_escape": true
4567 }
4568 ]
4569 }
4570 ]
4571 },
4572 {
4573 "tag": "body"
4574 }
4575 ]
4576 }
4577 ],
4578 "html": "<html><head><script type=\"data\"></scrip ></script></head><body></body></html>",
4579 "noQuirksBodyHtml": "<script type=\"data\"></scrip ></script>"
4580 }
4581 },
4582 {
4583 "data": "<script type=\"data\"><!--</scrip></script>",
4584 "errors": [
4585 "(1,20): expected-doctype-but-got-start-tag"
4586 ],
4587 "document": {
4588 "props": {
4589 "tags": {
4590 "html": true,
4591 "head": true,
4592 "script": true,
4593 "body": true
4594 },
4595 "no_escape": true
4596 },
4597 "tree": [
4598 {
4599 "tag": "html",
4600 "children": [
4601 {
4602 "tag": "head",
4603 "children": [
4604 {
4605 "tag": "script",
4606 "attrs": [
4607 {
4608 "name": "type",
4609 "value": "data"
4610 }
4611 ],
4612 "children": [
4613 {
4614 "text": "<!--</scrip>",
4615 "no_escape": true
4616 }
4617 ]
4618 }
4619 ]
4620 },
4621 {
4622 "tag": "body"
4623 }
4624 ]
4625 }
4626 ],
4627 "html": "<html><head><script type=\"data\"><!--</scrip></script></head><body></body></html>",
4628 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip></script>"
4629 }
4630 },
4631 {
4632 "data": "<script type=\"data\"><!--</scrip </script>",
4633 "errors": [
4634 "(1,20): expected-doctype-but-got-start-tag"
4635 ],
4636 "document": {
4637 "props": {
4638 "tags": {
4639 "html": true,
4640 "head": true,
4641 "script": true,
4642 "body": true
4643 },
4644 "no_escape": true
4645 },
4646 "tree": [
4647 {
4648 "tag": "html",
4649 "children": [
4650 {
4651 "tag": "head",
4652 "children": [
4653 {
4654 "tag": "script",
4655 "attrs": [
4656 {
4657 "name": "type",
4658 "value": "data"
4659 }
4660 ],
4661 "children": [
4662 {
4663 "text": "<!--</scrip ",
4664 "no_escape": true
4665 }
4666 ]
4667 }
4668 ]
4669 },
4670 {
4671 "tag": "body"
4672 }
4673 ]
4674 }
4675 ],
4676 "html": "<html><head><script type=\"data\"><!--</scrip </script></head><body></body></html>",
4677 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip </script>"
4678 }
4679 },
4680 {
4681 "data": "<script type=\"data\"><!--</scrip/</script>",
4682 "errors": [
4683 "(1,20): expected-doctype-but-got-start-tag"
4684 ],
4685 "document": {
4686 "props": {
4687 "tags": {
4688 "html": true,
4689 "head": true,
4690 "script": true,
4691 "body": true
4692 },
4693 "no_escape": true
4694 },
4695 "tree": [
4696 {
4697 "tag": "html",
4698 "children": [
4699 {
4700 "tag": "head",
4701 "children": [
4702 {
4703 "tag": "script",
4704 "attrs": [
4705 {
4706 "name": "type",
4707 "value": "data"
4708 }
4709 ],
4710 "children": [
4711 {
4712 "text": "<!--</scrip/",
4713 "no_escape": true
4714 }
4715 ]
4716 }
4717 ]
4718 },
4719 {
4720 "tag": "body"
4721 }
4722 ]
4723 }
4724 ],
4725 "html": "<html><head><script type=\"data\"><!--</scrip/</script></head><body></body></html>",
4726 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip/</script>"
4727 }
4728 },
4729 {
4730 "data": "<!DOCTYPE html><!DOCTYPE html>",
4731 "errors": [
4732 "(1,30): unexpected-doctype"
4733 ],
4734 "document": {
4735 "props": {
4736 "tags": {
4737 "html": true,
4738 "head": true,
4739 "body": true
4740 },
4741 "doctype": true
4742 },
4743 "tree": [
4744 {
4745 "doctype": "html"
4746 },
4747 {
4748 "tag": "html",
4749 "children": [
4750 {
4751 "tag": "head"
4752 },
4753 {
4754 "tag": "body"
4755 }
4756 ]
4757 }
4758 ],
4759 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
4760 "noQuirksBodyHtml": ""
4761 }
4762 },
4763 {
4764 "data": "<html><!DOCTYPE html>",
4765 "errors": [
4766 "(1,6): expected-doctype-but-got-start-tag",
4767 "(1,21): unexpected-doctype"
4768 ],
4769 "document": {
4770 "props": {
4771 "tags": {
4772 "html": true,
4773 "head": true,
4774 "body": true
4775 }
4776 },
4777 "tree": [
4778 {
4779 "tag": "html",
4780 "children": [
4781 {
4782 "tag": "head"
4783 },
4784 {
4785 "tag": "body"
4786 }
4787 ]
4788 }
4789 ],
4790 "html": "<html><head></head><body></body></html>",
4791 "noQuirksBodyHtml": ""
4792 }
4793 },
4794 {
4795 "data": "<html><head><!DOCTYPE html></head>",
4796 "errors": [
4797 "(1,6): expected-doctype-but-got-start-tag",
4798 "(1,27): unexpected-doctype"
4799 ],
4800 "document": {
4801 "props": {
4802 "tags": {
4803 "html": true,
4804 "head": true,
4805 "body": true
4806 }
4807 },
4808 "tree": [
4809 {
4810 "tag": "html",
4811 "children": [
4812 {
4813 "tag": "head"
4814 },
4815 {
4816 "tag": "body"
4817 }
4818 ]
4819 }
4820 ],
4821 "html": "<html><head></head><body></body></html>",
4822 "noQuirksBodyHtml": ""
4823 }
4824 },
4825 {
4826 "data": "<html><head></head><!DOCTYPE html>",
4827 "errors": [
4828 "(1,6): expected-doctype-but-got-start-tag",
4829 "(1,34): unexpected-doctype"
4830 ],
4831 "document": {
4832 "props": {
4833 "tags": {
4834 "html": true,
4835 "head": true,
4836 "body": true
4837 }
4838 },
4839 "tree": [
4840 {
4841 "tag": "html",
4842 "children": [
4843 {
4844 "tag": "head"
4845 },
4846 {
4847 "tag": "body"
4848 }
4849 ]
4850 }
4851 ],
4852 "html": "<html><head></head><body></body></html>",
4853 "noQuirksBodyHtml": ""
4854 }
4855 },
4856 {
4857 "data": "<body></body><!DOCTYPE html>",
4858 "errors": [
4859 "(1,6): expected-doctype-but-got-start-tag",
4860 "(1,28): unexpected-doctype"
4861 ],
4862 "document": {
4863 "props": {
4864 "tags": {
4865 "html": true,
4866 "head": true,
4867 "body": true
4868 }
4869 },
4870 "tree": [
4871 {
4872 "tag": "html",
4873 "children": [
4874 {
4875 "tag": "head"
4876 },
4877 {
4878 "tag": "body"
4879 }
4880 ]
4881 }
4882 ],
4883 "html": "<html><head></head><body></body></html>",
4884 "noQuirksBodyHtml": ""
4885 }
4886 },
4887 {
4888 "data": "<table><!DOCTYPE html></table>",
4889 "errors": [
4890 "(1,7): expected-doctype-but-got-start-tag",
4891 "(1,22): unexpected-doctype"
4892 ],
4893 "document": {
4894 "props": {
4895 "tags": {
4896 "html": true,
4897 "head": true,
4898 "body": true,
4899 "table": true
4900 }
4901 },
4902 "tree": [
4903 {
4904 "tag": "html",
4905 "children": [
4906 {
4907 "tag": "head"
4908 },
4909 {
4910 "tag": "body",
4911 "children": [
4912 {
4913 "tag": "table"
4914 }
4915 ]
4916 }
4917 ]
4918 }
4919 ],
4920 "html": "<html><head></head><body><table></table></body></html>",
4921 "noQuirksBodyHtml": "<table></table>"
4922 }
4923 },
4924 {
4925 "data": "<select><!DOCTYPE html></select>",
4926 "errors": [
4927 "(1,8): expected-doctype-but-got-start-tag",
4928 "(1,23): unexpected-doctype"
4929 ],
4930 "document": {
4931 "props": {
4932 "tags": {
4933 "html": true,
4934 "head": true,
4935 "body": true,
4936 "select": true
4937 }
4938 },
4939 "tree": [
4940 {
4941 "tag": "html",
4942 "children": [
4943 {
4944 "tag": "head"
4945 },
4946 {
4947 "tag": "body",
4948 "children": [
4949 {
4950 "tag": "select"
4951 }
4952 ]
4953 }
4954 ]
4955 }
4956 ],
4957 "html": "<html><head></head><body><select></select></body></html>",
4958 "noQuirksBodyHtml": "<select></select>"
4959 }
4960 },
4961 {
4962 "data": "<table><colgroup><!DOCTYPE html></colgroup></table>",
4963 "errors": [
4964 "(1,7): expected-doctype-but-got-start-tag",
4965 "(1,32): unexpected-doctype"
4966 ],
4967 "document": {
4968 "props": {
4969 "tags": {
4970 "html": true,
4971 "head": true,
4972 "body": true,
4973 "table": true,
4974 "colgroup": true
4975 }
4976 },
4977 "tree": [
4978 {
4979 "tag": "html",
4980 "children": [
4981 {
4982 "tag": "head"
4983 },
4984 {
4985 "tag": "body",
4986 "children": [
4987 {
4988 "tag": "table",
4989 "children": [
4990 {
4991 "tag": "colgroup"
4992 }
4993 ]
4994 }
4995 ]
4996 }
4997 ]
4998 }
4999 ],
5000 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
5001 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
5002 }
5003 },
5004 {
5005 "data": "<table><colgroup><!--test--></colgroup></table>",
5006 "errors": [
5007 "(1,7): expected-doctype-but-got-start-tag"
5008 ],
5009 "document": {
5010 "props": {
5011 "tags": {
5012 "html": true,
5013 "head": true,
5014 "body": true,
5015 "table": true,
5016 "colgroup": true
5017 },
5018 "comment": true
5019 },
5020 "tree": [
5021 {
5022 "tag": "html",
5023 "children": [
5024 {
5025 "tag": "head"
5026 },
5027 {
5028 "tag": "body",
5029 "children": [
5030 {
5031 "tag": "table",
5032 "children": [
5033 {
5034 "tag": "colgroup",
5035 "children": [
5036 {
5037 "comment": "test"
5038 }
5039 ]
5040 }
5041 ]
5042 }
5043 ]
5044 }
5045 ]
5046 }
5047 ],
5048 "html": "<html><head></head><body><table><colgroup><!--test--></colgroup></table></body></html>",
5049 "noQuirksBodyHtml": "<table><colgroup><!--test--></colgroup></table>"
5050 }
5051 },
5052 {
5053 "data": "<table><colgroup><html></colgroup></table>",
5054 "errors": [
5055 "(1,7): expected-doctype-but-got-start-tag",
5056 "(1,23): non-html-root"
5057 ],
5058 "document": {
5059 "props": {
5060 "tags": {
5061 "html": true,
5062 "head": true,
5063 "body": true,
5064 "table": true,
5065 "colgroup": true
5066 }
5067 },
5068 "tree": [
5069 {
5070 "tag": "html",
5071 "children": [
5072 {
5073 "tag": "head"
5074 },
5075 {
5076 "tag": "body",
5077 "children": [
5078 {
5079 "tag": "table",
5080 "children": [
5081 {
5082 "tag": "colgroup"
5083 }
5084 ]
5085 }
5086 ]
5087 }
5088 ]
5089 }
5090 ],
5091 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
5092 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
5093 }
5094 },
5095 {
5096 "data": "<table><colgroup> foo</colgroup></table>",
5097 "errors": [
5098 "(1,7): expected-doctype-but-got-start-tag",
5099 "(1,32): foster-parenting-character-in-table",
5100 "(1,32): foster-parenting-character-in-table",
5101 "(1,32): foster-parenting-character-in-table",
5102 "(1,32): unexpected-end-tag"
5103 ],
5104 "document": {
5105 "props": {
5106 "tags": {
5107 "html": true,
5108 "head": true,
5109 "body": true,
5110 "table": true,
5111 "colgroup": true
5112 }
5113 },
5114 "tree": [
5115 {
5116 "tag": "html",
5117 "children": [
5118 {
5119 "tag": "head"
5120 },
5121 {
5122 "tag": "body",
5123 "children": [
5124 {
5125 "text": "foo"
5126 },
5127 {
5128 "tag": "table",
5129 "children": [
5130 {
5131 "tag": "colgroup",
5132 "children": [
5133 {
5134 "text": " "
5135 }
5136 ]
5137 }
5138 ]
5139 }
5140 ]
5141 }
5142 ]
5143 }
5144 ],
5145 "html": "<html><head></head><body>foo<table><colgroup> </colgroup></table></body></html>",
5146 "noQuirksBodyHtml": "foo<table><colgroup> </colgroup></table>"
5147 }
5148 },
5149 {
5150 "data": "<select><!--test--></select>",
5151 "errors": [
5152 "(1,8): expected-doctype-but-got-start-tag"
5153 ],
5154 "document": {
5155 "props": {
5156 "tags": {
5157 "html": true,
5158 "head": true,
5159 "body": true,
5160 "select": true
5161 },
5162 "comment": true
5163 },
5164 "tree": [
5165 {
5166 "tag": "html",
5167 "children": [
5168 {
5169 "tag": "head"
5170 },
5171 {
5172 "tag": "body",
5173 "children": [
5174 {
5175 "tag": "select",
5176 "children": [
5177 {
5178 "comment": "test"
5179 }
5180 ]
5181 }
5182 ]
5183 }
5184 ]
5185 }
5186 ],
5187 "html": "<html><head></head><body><select><!--test--></select></body></html>",
5188 "noQuirksBodyHtml": "<select><!--test--></select>"
5189 }
5190 },
5191 {
5192 "data": "<select><html></select>",
5193 "errors": [
5194 "(1,8): expected-doctype-but-got-start-tag",
5195 "(1,14): non-html-root"
5196 ],
5197 "document": {
5198 "props": {
5199 "tags": {
5200 "html": true,
5201 "head": true,
5202 "body": true,
5203 "select": true
5204 }
5205 },
5206 "tree": [
5207 {
5208 "tag": "html",
5209 "children": [
5210 {
5211 "tag": "head"
5212 },
5213 {
5214 "tag": "body",
5215 "children": [
5216 {
5217 "tag": "select"
5218 }
5219 ]
5220 }
5221 ]
5222 }
5223 ],
5224 "html": "<html><head></head><body><select></select></body></html>",
5225 "noQuirksBodyHtml": "<select></select>"
5226 }
5227 },
5228 {
5229 "data": "<frameset><html></frameset>",
5230 "errors": [
5231 "(1,10): expected-doctype-but-got-start-tag",
5232 "(1,16): non-html-root"
5233 ],
5234 "document": {
5235 "props": {
5236 "tags": {
5237 "html": true,
5238 "head": true,
5239 "frameset": true
5240 }
5241 },
5242 "tree": [
5243 {
5244 "tag": "html",
5245 "children": [
5246 {
5247 "tag": "head"
5248 },
5249 {
5250 "tag": "frameset"
5251 }
5252 ]
5253 }
5254 ],
5255 "html": "<html><head></head><frameset></frameset></html>",
5256 "noQuirksBodyHtml": ""
5257 }
5258 },
5259 {
5260 "data": "<frameset></frameset><html>",
5261 "errors": [
5262 "(1,10): expected-doctype-but-got-start-tag",
5263 "(1,27): non-html-root"
5264 ],
5265 "document": {
5266 "props": {
5267 "tags": {
5268 "html": true,
5269 "head": true,
5270 "frameset": true
5271 }
5272 },
5273 "tree": [
5274 {
5275 "tag": "html",
5276 "children": [
5277 {
5278 "tag": "head"
5279 },
5280 {
5281 "tag": "frameset"
5282 }
5283 ]
5284 }
5285 ],
5286 "html": "<html><head></head><frameset></frameset></html>",
5287 "noQuirksBodyHtml": ""
5288 }
5289 },
5290 {
5291 "data": "<frameset></frameset><!DOCTYPE html>",
5292 "errors": [
5293 "(1,10): expected-doctype-but-got-start-tag",
5294 "(1,36): unexpected-doctype"
5295 ],
5296 "document": {
5297 "props": {
5298 "tags": {
5299 "html": true,
5300 "head": true,
5301 "frameset": true
5302 }
5303 },
5304 "tree": [
5305 {
5306 "tag": "html",
5307 "children": [
5308 {
5309 "tag": "head"
5310 },
5311 {
5312 "tag": "frameset"
5313 }
5314 ]
5315 }
5316 ],
5317 "html": "<html><head></head><frameset></frameset></html>",
5318 "noQuirksBodyHtml": ""
5319 }
5320 },
5321 {
5322 "data": "<html><body></body></html><!DOCTYPE html>",
5323 "errors": [
5324 "(1,6): expected-doctype-but-got-start-tag",
5325 "(1,41): unexpected-doctype"
5326 ],
5327 "document": {
5328 "props": {
5329 "tags": {
5330 "html": true,
5331 "head": true,
5332 "body": true
5333 }
5334 },
5335 "tree": [
5336 {
5337 "tag": "html",
5338 "children": [
5339 {
5340 "tag": "head"
5341 },
5342 {
5343 "tag": "body"
5344 }
5345 ]
5346 }
5347 ],
5348 "html": "<html><head></head><body></body></html>",
5349 "noQuirksBodyHtml": ""
5350 }
5351 },
5352 {
5353 "data": "<svg><!DOCTYPE html></svg>",
5354 "errors": [
5355 "(1,5): expected-doctype-but-got-start-tag",
5356 "(1,20): unexpected-doctype"
5357 ],
5358 "document": {
5359 "props": {
5360 "tags": {
5361 "html": true,
5362 "head": true,
5363 "body": true,
5364 "svg svg": true
5365 }
5366 },
5367 "tree": [
5368 {
5369 "tag": "html",
5370 "children": [
5371 {
5372 "tag": "head"
5373 },
5374 {
5375 "tag": "body",
5376 "children": [
5377 {
5378 "tag": "svg",
5379 "ns": "http://www.w3.org/2000/svg"
5380 }
5381 ]
5382 }
5383 ]
5384 }
5385 ],
5386 "html": "<html><head></head><body><svg></svg></body></html>",
5387 "noQuirksBodyHtml": "<svg></svg>"
5388 }
5389 },
5390 {
5391 "data": "<svg><font></font></svg>",
5392 "errors": [
5393 "(1,5): expected-doctype-but-got-start-tag"
5394 ],
5395 "document": {
5396 "props": {
5397 "tags": {
5398 "html": true,
5399 "head": true,
5400 "body": true,
5401 "svg svg": true,
5402 "svg font": true
5403 }
5404 },
5405 "tree": [
5406 {
5407 "tag": "html",
5408 "children": [
5409 {
5410 "tag": "head"
5411 },
5412 {
5413 "tag": "body",
5414 "children": [
5415 {
5416 "tag": "svg",
5417 "ns": "http://www.w3.org/2000/svg",
5418 "children": [
5419 {
5420 "tag": "font",
5421 "ns": "http://www.w3.org/2000/svg"
5422 }
5423 ]
5424 }
5425 ]
5426 }
5427 ]
5428 }
5429 ],
5430 "html": "<html><head></head><body><svg><font></font></svg></body></html>",
5431 "noQuirksBodyHtml": "<svg><font></font></svg>"
5432 }
5433 },
5434 {
5435 "data": "<svg><font id=foo></font></svg>",
5436 "errors": [
5437 "(1,5): expected-doctype-but-got-start-tag"
5438 ],
5439 "document": {
5440 "props": {
5441 "tags": {
5442 "html": true,
5443 "head": true,
5444 "body": true,
5445 "svg svg": true,
5446 "svg font": true
5447 }
5448 },
5449 "tree": [
5450 {
5451 "tag": "html",
5452 "children": [
5453 {
5454 "tag": "head"
5455 },
5456 {
5457 "tag": "body",
5458 "children": [
5459 {
5460 "tag": "svg",
5461 "ns": "http://www.w3.org/2000/svg",
5462 "children": [
5463 {
5464 "tag": "font",
5465 "ns": "http://www.w3.org/2000/svg",
5466 "attrs": [
5467 {
5468 "name": "id",
5469 "value": "foo"
5470 }
5471 ]
5472 }
5473 ]
5474 }
5475 ]
5476 }
5477 ]
5478 }
5479 ],
5480 "html": "<html><head></head><body><svg><font id=\"foo\"></font></svg></body></html>",
5481 "noQuirksBodyHtml": "<svg><font id=\"foo\"></font></svg>"
5482 }
5483 },
5484 {
5485 "data": "<svg><font size=4></font></svg>",
5486 "errors": [
5487 "(1,5): expected-doctype-but-got-start-tag",
5488 "(1,18): unexpected-html-element-in-foreign-content",
5489 "(1,31): unexpected-end-tag"
5490 ],
5491 "document": {
5492 "props": {
5493 "tags": {
5494 "html": true,
5495 "head": true,
5496 "body": true,
5497 "svg svg": true,
5498 "font": true
5499 }
5500 },
5501 "tree": [
5502 {
5503 "tag": "html",
5504 "children": [
5505 {
5506 "tag": "head"
5507 },
5508 {
5509 "tag": "body",
5510 "children": [
5511 {
5512 "tag": "svg",
5513 "ns": "http://www.w3.org/2000/svg"
5514 },
5515 {
5516 "tag": "font",
5517 "attrs": [
5518 {
5519 "name": "size",
5520 "value": "4"
5521 }
5522 ]
5523 }
5524 ]
5525 }
5526 ]
5527 }
5528 ],
5529 "html": "<html><head></head><body><svg></svg><font size=\"4\"></font></body></html>",
5530 "noQuirksBodyHtml": "<svg><font size=\"4\"></font></svg>"
5531 }
5532 },
5533 {
5534 "data": "<svg><font color=red></font></svg>",
5535 "errors": [
5536 "(1,5): expected-doctype-but-got-start-tag",
5537 "(1,21): unexpected-html-element-in-foreign-content",
5538 "(1,34): unexpected-end-tag"
5539 ],
5540 "document": {
5541 "props": {
5542 "tags": {
5543 "html": true,
5544 "head": true,
5545 "body": true,
5546 "svg svg": true,
5547 "font": true
5548 }
5549 },
5550 "tree": [
5551 {
5552 "tag": "html",
5553 "children": [
5554 {
5555 "tag": "head"
5556 },
5557 {
5558 "tag": "body",
5559 "children": [
5560 {
5561 "tag": "svg",
5562 "ns": "http://www.w3.org/2000/svg"
5563 },
5564 {
5565 "tag": "font",
5566 "attrs": [
5567 {
5568 "name": "color",
5569 "value": "red"
5570 }
5571 ]
5572 }
5573 ]
5574 }
5575 ]
5576 }
5577 ],
5578 "html": "<html><head></head><body><svg></svg><font color=\"red\"></font></body></html>",
5579 "noQuirksBodyHtml": "<svg><font color=\"red\"></font></svg>"
5580 }
5581 },
5582 {
5583 "data": "<svg><font font=sans></font></svg>",
5584 "errors": [
5585 "(1,5): expected-doctype-but-got-start-tag"
5586 ],
5587 "document": {
5588 "props": {
5589 "tags": {
5590 "html": true,
5591 "head": true,
5592 "body": true,
5593 "svg svg": true,
5594 "svg font": true
5595 }
5596 },
5597 "tree": [
5598 {
5599 "tag": "html",
5600 "children": [
5601 {
5602 "tag": "head"
5603 },
5604 {
5605 "tag": "body",
5606 "children": [
5607 {
5608 "tag": "svg",
5609 "ns": "http://www.w3.org/2000/svg",
5610 "children": [
5611 {
5612 "tag": "font",
5613 "ns": "http://www.w3.org/2000/svg",
5614 "attrs": [
5615 {
5616 "name": "font",
5617 "value": "sans"
5618 }
5619 ]
5620 }
5621 ]
5622 }
5623 ]
5624 }
5625 ]
5626 }
5627 ],
5628 "html": "<html><head></head><body><svg><font font=\"sans\"></font></svg></body></html>",
5629 "noQuirksBodyHtml": "<svg><font font=\"sans\"></font></svg>"
5630 }
5631 }
5632 ],
5633 "entities01.dat": [
5634 {
5635 "data": "FOO&gt;BAR",
5636 "errors": [
5637 "(1,3): expected-doctype-but-got-chars"
5638 ],
5639 "document": {
5640 "props": {
5641 "tags": {
5642 "html": true,
5643 "head": true,
5644 "body": true
5645 },
5646 "escaped": true
5647 },
5648 "tree": [
5649 {
5650 "tag": "html",
5651 "children": [
5652 {
5653 "tag": "head"
5654 },
5655 {
5656 "tag": "body",
5657 "children": [
5658 {
5659 "text": "FOO>BAR",
5660 "escaped": true
5661 }
5662 ]
5663 }
5664 ]
5665 }
5666 ],
5667 "html": "<html><head></head><body>FOO&gt;BAR</body></html>",
5668 "noQuirksBodyHtml": "FOO&gt;BAR"
5669 }
5670 },
5671 {
5672 "data": "FOO&gtBAR",
5673 "errors": [
5674 "(1,3): expected-doctype-but-got-chars",
5675 "(1,6): named-entity-without-semicolon"
5676 ],
5677 "document": {
5678 "props": {
5679 "tags": {
5680 "html": true,
5681 "head": true,
5682 "body": true
5683 },
5684 "escaped": true
5685 },
5686 "tree": [
5687 {
5688 "tag": "html",
5689 "children": [
5690 {
5691 "tag": "head"
5692 },
5693 {
5694 "tag": "body",
5695 "children": [
5696 {
5697 "text": "FOO>BAR",
5698 "escaped": true
5699 }
5700 ]
5701 }
5702 ]
5703 }
5704 ],
5705 "html": "<html><head></head><body>FOO&gt;BAR</body></html>",
5706 "noQuirksBodyHtml": "FOO&gt;BAR"
5707 }
5708 },
5709 {
5710 "data": "FOO&gt BAR",
5711 "errors": [
5712 "(1,3): expected-doctype-but-got-chars",
5713 "(1,6): named-entity-without-semicolon"
5714 ],
5715 "document": {
5716 "props": {
5717 "tags": {
5718 "html": true,
5719 "head": true,
5720 "body": true
5721 },
5722 "escaped": true
5723 },
5724 "tree": [
5725 {
5726 "tag": "html",
5727 "children": [
5728 {
5729 "tag": "head"
5730 },
5731 {
5732 "tag": "body",
5733 "children": [
5734 {
5735 "text": "FOO> BAR",
5736 "escaped": true
5737 }
5738 ]
5739 }
5740 ]
5741 }
5742 ],
5743 "html": "<html><head></head><body>FOO&gt; BAR</body></html>",
5744 "noQuirksBodyHtml": "FOO&gt; BAR"
5745 }
5746 },
5747 {
5748 "data": "FOO&gt;;;BAR",
5749 "errors": [
5750 "(1,3): expected-doctype-but-got-chars"
5751 ],
5752 "document": {
5753 "props": {
5754 "tags": {
5755 "html": true,
5756 "head": true,
5757 "body": true
5758 },
5759 "escaped": true
5760 },
5761 "tree": [
5762 {
5763 "tag": "html",
5764 "children": [
5765 {
5766 "tag": "head"
5767 },
5768 {
5769 "tag": "body",
5770 "children": [
5771 {
5772 "text": "FOO>;;BAR",
5773 "escaped": true
5774 }
5775 ]
5776 }
5777 ]
5778 }
5779 ],
5780 "html": "<html><head></head><body>FOO&gt;;;BAR</body></html>",
5781 "noQuirksBodyHtml": "FOO&gt;;;BAR"
5782 }
5783 },
5784 {
5785 "data": "I'm &notit; I tell you",
5786 "errors": [
5787 "(1,4): expected-doctype-but-got-chars",
5788 "(1,9): named-entity-without-semicolon"
5789 ],
5790 "document": {
5791 "props": {
5792 "tags": {
5793 "html": true,
5794 "head": true,
5795 "body": true
5796 }
5797 },
5798 "tree": [
5799 {
5800 "tag": "html",
5801 "children": [
5802 {
5803 "tag": "head"
5804 },
5805 {
5806 "tag": "body",
5807 "children": [
5808 {
5809 "text": "I'm ¬it; I tell you"
5810 }
5811 ]
5812 }
5813 ]
5814 }
5815 ],
5816 "html": "<html><head></head><body>I'm ¬it; I tell you</body></html>",
5817 "noQuirksBodyHtml": "I'm ¬it; I tell you"
5818 }
5819 },
5820 {
5821 "data": "I'm &notin; I tell you",
5822 "errors": [
5823 "(1,4): expected-doctype-but-got-chars"
5824 ],
5825 "document": {
5826 "props": {
5827 "tags": {
5828 "html": true,
5829 "head": true,
5830 "body": true
5831 }
5832 },
5833 "tree": [
5834 {
5835 "tag": "html",
5836 "children": [
5837 {
5838 "tag": "head"
5839 },
5840 {
5841 "tag": "body",
5842 "children": [
5843 {
5844 "text": "I'm ∉ I tell you"
5845 }
5846 ]
5847 }
5848 ]
5849 }
5850 ],
5851 "html": "<html><head></head><body>I'm ∉ I tell you</body></html>",
5852 "noQuirksBodyHtml": "I'm ∉ I tell you"
5853 }
5854 },
5855 {
5856 "data": "FOO& BAR",
5857 "errors": [
5858 "(1,3): expected-doctype-but-got-chars"
5859 ],
5860 "document": {
5861 "props": {
5862 "tags": {
5863 "html": true,
5864 "head": true,
5865 "body": true
5866 },
5867 "escaped": true
5868 },
5869 "tree": [
5870 {
5871 "tag": "html",
5872 "children": [
5873 {
5874 "tag": "head"
5875 },
5876 {
5877 "tag": "body",
5878 "children": [
5879 {
5880 "text": "FOO& BAR",
5881 "escaped": true
5882 }
5883 ]
5884 }
5885 ]
5886 }
5887 ],
5888 "html": "<html><head></head><body>FOO&amp; BAR</body></html>",
5889 "noQuirksBodyHtml": "FOO&amp; BAR"
5890 }
5891 },
5892 {
5893 "data": "FOO&<BAR>",
5894 "errors": [
5895 "(1,3): expected-doctype-but-got-chars",
5896 "(1,9): expected-closing-tag-but-got-eof"
5897 ],
5898 "document": {
5899 "props": {
5900 "tags": {
5901 "html": true,
5902 "head": true,
5903 "body": true,
5904 "bar": true
5905 },
5906 "escaped": true
5907 },
5908 "tree": [
5909 {
5910 "tag": "html",
5911 "children": [
5912 {
5913 "tag": "head"
5914 },
5915 {
5916 "tag": "body",
5917 "children": [
5918 {
5919 "text": "FOO&",
5920 "escaped": true
5921 },
5922 {
5923 "tag": "bar"
5924 }
5925 ]
5926 }
5927 ]
5928 }
5929 ],
5930 "html": "<html><head></head><body>FOO&amp;<bar></bar></body></html>",
5931 "noQuirksBodyHtml": "FOO&amp;<bar></bar>"
5932 }
5933 },
5934 {
5935 "data": "FOO&&&&gt;BAR",
5936 "errors": [
5937 "(1,3): expected-doctype-but-got-chars"
5938 ],
5939 "document": {
5940 "props": {
5941 "tags": {
5942 "html": true,
5943 "head": true,
5944 "body": true
5945 },
5946 "escaped": true
5947 },
5948 "tree": [
5949 {
5950 "tag": "html",
5951 "children": [
5952 {
5953 "tag": "head"
5954 },
5955 {
5956 "tag": "body",
5957 "children": [
5958 {
5959 "text": "FOO&&&>BAR",
5960 "escaped": true
5961 }
5962 ]
5963 }
5964 ]
5965 }
5966 ],
5967 "html": "<html><head></head><body>FOO&amp;&amp;&amp;&gt;BAR</body></html>",
5968 "noQuirksBodyHtml": "FOO&amp;&amp;&amp;&gt;BAR"
5969 }
5970 },
5971 {
5972 "data": "FOO&#41;BAR",
5973 "errors": [
5974 "(1,3): expected-doctype-but-got-chars"
5975 ],
5976 "document": {
5977 "props": {
5978 "tags": {
5979 "html": true,
5980 "head": true,
5981 "body": true
5982 }
5983 },
5984 "tree": [
5985 {
5986 "tag": "html",
5987 "children": [
5988 {
5989 "tag": "head"
5990 },
5991 {
5992 "tag": "body",
5993 "children": [
5994 {
5995 "text": "FOO)BAR"
5996 }
5997 ]
5998 }
5999 ]
6000 }
6001 ],
6002 "html": "<html><head></head><body>FOO)BAR</body></html>",
6003 "noQuirksBodyHtml": "FOO)BAR"
6004 }
6005 },
6006 {
6007 "data": "FOO&#x41;BAR",
6008 "errors": [
6009 "(1,3): expected-doctype-but-got-chars"
6010 ],
6011 "document": {
6012 "props": {
6013 "tags": {
6014 "html": true,
6015 "head": true,
6016 "body": true
6017 }
6018 },
6019 "tree": [
6020 {
6021 "tag": "html",
6022 "children": [
6023 {
6024 "tag": "head"
6025 },
6026 {
6027 "tag": "body",
6028 "children": [
6029 {
6030 "text": "FOOABAR"
6031 }
6032 ]
6033 }
6034 ]
6035 }
6036 ],
6037 "html": "<html><head></head><body>FOOABAR</body></html>",
6038 "noQuirksBodyHtml": "FOOABAR"
6039 }
6040 },
6041 {
6042 "data": "FOO&#X41;BAR",
6043 "errors": [
6044 "(1,3): expected-doctype-but-got-chars"
6045 ],
6046 "document": {
6047 "props": {
6048 "tags": {
6049 "html": true,
6050 "head": true,
6051 "body": true
6052 }
6053 },
6054 "tree": [
6055 {
6056 "tag": "html",
6057 "children": [
6058 {
6059 "tag": "head"
6060 },
6061 {
6062 "tag": "body",
6063 "children": [
6064 {
6065 "text": "FOOABAR"
6066 }
6067 ]
6068 }
6069 ]
6070 }
6071 ],
6072 "html": "<html><head></head><body>FOOABAR</body></html>",
6073 "noQuirksBodyHtml": "FOOABAR"
6074 }
6075 },
6076 {
6077 "data": "FOO&#BAR",
6078 "errors": [
6079 "(1,3): expected-doctype-but-got-chars",
6080 "(1,5): expected-numeric-entity"
6081 ],
6082 "document": {
6083 "props": {
6084 "tags": {
6085 "html": true,
6086 "head": true,
6087 "body": true
6088 },
6089 "escaped": true
6090 },
6091 "tree": [
6092 {
6093 "tag": "html",
6094 "children": [
6095 {
6096 "tag": "head"
6097 },
6098 {
6099 "tag": "body",
6100 "children": [
6101 {
6102 "text": "FOO&#BAR",
6103 "escaped": true
6104 }
6105 ]
6106 }
6107 ]
6108 }
6109 ],
6110 "html": "<html><head></head><body>FOO&amp;#BAR</body></html>",
6111 "noQuirksBodyHtml": "FOO&amp;#BAR"
6112 }
6113 },
6114 {
6115 "data": "FOO&#ZOO",
6116 "errors": [
6117 "(1,3): expected-doctype-but-got-chars",
6118 "(1,5): expected-numeric-entity"
6119 ],
6120 "document": {
6121 "props": {
6122 "tags": {
6123 "html": true,
6124 "head": true,
6125 "body": true
6126 },
6127 "escaped": true
6128 },
6129 "tree": [
6130 {
6131 "tag": "html",
6132 "children": [
6133 {
6134 "tag": "head"
6135 },
6136 {
6137 "tag": "body",
6138 "children": [
6139 {
6140 "text": "FOO&#ZOO",
6141 "escaped": true
6142 }
6143 ]
6144 }
6145 ]
6146 }
6147 ],
6148 "html": "<html><head></head><body>FOO&amp;#ZOO</body></html>",
6149 "noQuirksBodyHtml": "FOO&amp;#ZOO"
6150 }
6151 },
6152 {
6153 "data": "FOO&#xBAR",
6154 "errors": [
6155 "(1,3): expected-doctype-but-got-chars",
6156 "(1,7): expected-numeric-entity"
6157 ],
6158 "document": {
6159 "props": {
6160 "tags": {
6161 "html": true,
6162 "head": true,
6163 "body": true
6164 }
6165 },
6166 "tree": [
6167 {
6168 "tag": "html",
6169 "children": [
6170 {
6171 "tag": "head"
6172 },
6173 {
6174 "tag": "body",
6175 "children": [
6176 {
6177 "text": "FOOºR"
6178 }
6179 ]
6180 }
6181 ]
6182 }
6183 ],
6184 "html": "<html><head></head><body>FOOºR</body></html>",
6185 "noQuirksBodyHtml": "FOOºR"
6186 }
6187 },
6188 {
6189 "data": "FOO&#xZOO",
6190 "errors": [
6191 "(1,3): expected-doctype-but-got-chars",
6192 "(1,6): expected-numeric-entity"
6193 ],
6194 "document": {
6195 "props": {
6196 "tags": {
6197 "html": true,
6198 "head": true,
6199 "body": true
6200 },
6201 "escaped": true
6202 },
6203 "tree": [
6204 {
6205 "tag": "html",
6206 "children": [
6207 {
6208 "tag": "head"
6209 },
6210 {
6211 "tag": "body",
6212 "children": [
6213 {
6214 "text": "FOO&#xZOO",
6215 "escaped": true
6216 }
6217 ]
6218 }
6219 ]
6220 }
6221 ],
6222 "html": "<html><head></head><body>FOO&amp;#xZOO</body></html>",
6223 "noQuirksBodyHtml": "FOO&amp;#xZOO"
6224 }
6225 },
6226 {
6227 "data": "FOO&#XZOO",
6228 "errors": [
6229 "(1,3): expected-doctype-but-got-chars",
6230 "(1,6): expected-numeric-entity"
6231 ],
6232 "document": {
6233 "props": {
6234 "tags": {
6235 "html": true,
6236 "head": true,
6237 "body": true
6238 },
6239 "escaped": true
6240 },
6241 "tree": [
6242 {
6243 "tag": "html",
6244 "children": [
6245 {
6246 "tag": "head"
6247 },
6248 {
6249 "tag": "body",
6250 "children": [
6251 {
6252 "text": "FOO&#XZOO",
6253 "escaped": true
6254 }
6255 ]
6256 }
6257 ]
6258 }
6259 ],
6260 "html": "<html><head></head><body>FOO&amp;#XZOO</body></html>",
6261 "noQuirksBodyHtml": "FOO&amp;#XZOO"
6262 }
6263 },
6264 {
6265 "data": "FOO&#41BAR",
6266 "errors": [
6267 "(1,3): expected-doctype-but-got-chars",
6268 "(1,7): numeric-entity-without-semicolon"
6269 ],
6270 "document": {
6271 "props": {
6272 "tags": {
6273 "html": true,
6274 "head": true,
6275 "body": true
6276 }
6277 },
6278 "tree": [
6279 {
6280 "tag": "html",
6281 "children": [
6282 {
6283 "tag": "head"
6284 },
6285 {
6286 "tag": "body",
6287 "children": [
6288 {
6289 "text": "FOO)BAR"
6290 }
6291 ]
6292 }
6293 ]
6294 }
6295 ],
6296 "html": "<html><head></head><body>FOO)BAR</body></html>",
6297 "noQuirksBodyHtml": "FOO)BAR"
6298 }
6299 },
6300 {
6301 "data": "FOO&#x41BAR",
6302 "errors": [
6303 "(1,3): expected-doctype-but-got-chars",
6304 "(1,10): numeric-entity-without-semicolon"
6305 ],
6306 "document": {
6307 "props": {
6308 "tags": {
6309 "html": true,
6310 "head": true,
6311 "body": true
6312 }
6313 },
6314 "tree": [
6315 {
6316 "tag": "html",
6317 "children": [
6318 {
6319 "tag": "head"
6320 },
6321 {
6322 "tag": "body",
6323 "children": [
6324 {
6325 "text": "FOO䆺R"
6326 }
6327 ]
6328 }
6329 ]
6330 }
6331 ],
6332 "html": "<html><head></head><body>FOO䆺R</body></html>",
6333 "noQuirksBodyHtml": "FOO䆺R"
6334 }
6335 },
6336 {
6337 "data": "FOO&#x41ZOO",
6338 "errors": [
6339 "(1,3): expected-doctype-but-got-chars",
6340 "(1,8): numeric-entity-without-semicolon"
6341 ],
6342 "document": {
6343 "props": {
6344 "tags": {
6345 "html": true,
6346 "head": true,
6347 "body": true
6348 }
6349 },
6350 "tree": [
6351 {
6352 "tag": "html",
6353 "children": [
6354 {
6355 "tag": "head"
6356 },
6357 {
6358 "tag": "body",
6359 "children": [
6360 {
6361 "text": "FOOAZOO"
6362 }
6363 ]
6364 }
6365 ]
6366 }
6367 ],
6368 "html": "<html><head></head><body>FOOAZOO</body></html>",
6369 "noQuirksBodyHtml": "FOOAZOO"
6370 }
6371 },
6372 {
6373 "data": "FOO&#x0000;ZOO",
6374 "errors": [
6375 "(1,3): expected-doctype-but-got-chars",
6376 "(1,11): illegal-codepoint-for-numeric-entity"
6377 ],
6378 "document": {
6379 "props": {
6380 "tags": {
6381 "html": true,
6382 "head": true,
6383 "body": true
6384 }
6385 },
6386 "tree": [
6387 {
6388 "tag": "html",
6389 "children": [
6390 {
6391 "tag": "head"
6392 },
6393 {
6394 "tag": "body",
6395 "children": [
6396 {
6397 "text": "FOO�ZOO"
6398 }
6399 ]
6400 }
6401 ]
6402 }
6403 ],
6404 "html": "<html><head></head><body>FOO�ZOO</body></html>",
6405 "noQuirksBodyHtml": "FOO�ZOO"
6406 }
6407 },
6408 {
6409 "data": "FOO&#x0078;ZOO",
6410 "errors": [
6411 "(1,3): expected-doctype-but-got-chars"
6412 ],
6413 "document": {
6414 "props": {
6415 "tags": {
6416 "html": true,
6417 "head": true,
6418 "body": true
6419 }
6420 },
6421 "tree": [
6422 {
6423 "tag": "html",
6424 "children": [
6425 {
6426 "tag": "head"
6427 },
6428 {
6429 "tag": "body",
6430 "children": [
6431 {
6432 "text": "FOOxZOO"
6433 }
6434 ]
6435 }
6436 ]
6437 }
6438 ],
6439 "html": "<html><head></head><body>FOOxZOO</body></html>",
6440 "noQuirksBodyHtml": "FOOxZOO"
6441 }
6442 },
6443 {
6444 "data": "FOO&#x0079;ZOO",
6445 "errors": [
6446 "(1,3): expected-doctype-but-got-chars"
6447 ],
6448 "document": {
6449 "props": {
6450 "tags": {
6451 "html": true,
6452 "head": true,
6453 "body": true
6454 }
6455 },
6456 "tree": [
6457 {
6458 "tag": "html",
6459 "children": [
6460 {
6461 "tag": "head"
6462 },
6463 {
6464 "tag": "body",
6465 "children": [
6466 {
6467 "text": "FOOyZOO"
6468 }
6469 ]
6470 }
6471 ]
6472 }
6473 ],
6474 "html": "<html><head></head><body>FOOyZOO</body></html>",
6475 "noQuirksBodyHtml": "FOOyZOO"
6476 }
6477 },
6478 {
6479 "data": "FOO&#x0080;ZOO",
6480 "errors": [
6481 "(1,3): expected-doctype-but-got-chars",
6482 "(1,11): illegal-codepoint-for-numeric-entity"
6483 ],
6484 "document": {
6485 "props": {
6486 "tags": {
6487 "html": true,
6488 "head": true,
6489 "body": true
6490 }
6491 },
6492 "tree": [
6493 {
6494 "tag": "html",
6495 "children": [
6496 {
6497 "tag": "head"
6498 },
6499 {
6500 "tag": "body",
6501 "children": [
6502 {
6503 "text": "FOO€ZOO"
6504 }
6505 ]
6506 }
6507 ]
6508 }
6509 ],
6510 "html": "<html><head></head><body>FOO€ZOO</body></html>",
6511 "noQuirksBodyHtml": "FOO€ZOO"
6512 }
6513 },
6514 {
6515 "data": "FOO&#x0081;ZOO",
6516 "errors": [
6517 "(1,3): expected-doctype-but-got-chars",
6518 "(1,11): illegal-codepoint-for-numeric-entity"
6519 ],
6520 "document": {
6521 "props": {
6522 "tags": {
6523 "html": true,
6524 "head": true,
6525 "body": true
6526 }
6527 },
6528 "tree": [
6529 {
6530 "tag": "html",
6531 "children": [
6532 {
6533 "tag": "head"
6534 },
6535 {
6536 "tag": "body",
6537 "children": [
6538 {
6539 "text": "FOO\81ZOO"
6540 }
6541 ]
6542 }
6543 ]
6544 }
6545 ],
6546 "html": "<html><head></head><body>FOO\81ZOO</body></html>",
6547 "noQuirksBodyHtml": "FOO\81ZOO"
6548 }
6549 },
6550 {
6551 "data": "FOO&#x0082;ZOO",
6552 "errors": [
6553 "(1,3): expected-doctype-but-got-chars",
6554 "(1,11): illegal-codepoint-for-numeric-entity"
6555 ],
6556 "document": {
6557 "props": {
6558 "tags": {
6559 "html": true,
6560 "head": true,
6561 "body": true
6562 }
6563 },
6564 "tree": [
6565 {
6566 "tag": "html",
6567 "children": [
6568 {
6569 "tag": "head"
6570 },
6571 {
6572 "tag": "body",
6573 "children": [
6574 {
6575 "text": "FOO‚ZOO"
6576 }
6577 ]
6578 }
6579 ]
6580 }
6581 ],
6582 "html": "<html><head></head><body>FOO‚ZOO</body></html>",
6583 "noQuirksBodyHtml": "FOO‚ZOO"
6584 }
6585 },
6586 {
6587 "data": "FOO&#x0083;ZOO",
6588 "errors": [
6589 "(1,3): expected-doctype-but-got-chars",
6590 "(1,11): illegal-codepoint-for-numeric-entity"
6591 ],
6592 "document": {
6593 "props": {
6594 "tags": {
6595 "html": true,
6596 "head": true,
6597 "body": true
6598 }
6599 },
6600 "tree": [
6601 {
6602 "tag": "html",
6603 "children": [
6604 {
6605 "tag": "head"
6606 },
6607 {
6608 "tag": "body",
6609 "children": [
6610 {
6611 "text": "FOOƒZOO"
6612 }
6613 ]
6614 }
6615 ]
6616 }
6617 ],
6618 "html": "<html><head></head><body>FOOƒZOO</body></html>",
6619 "noQuirksBodyHtml": "FOOƒZOO"
6620 }
6621 },
6622 {
6623 "data": "FOO&#x0084;ZOO",
6624 "errors": [
6625 "(1,3): expected-doctype-but-got-chars",
6626 "(1,11): illegal-codepoint-for-numeric-entity"
6627 ],
6628 "document": {
6629 "props": {
6630 "tags": {
6631 "html": true,
6632 "head": true,
6633 "body": true
6634 }
6635 },
6636 "tree": [
6637 {
6638 "tag": "html",
6639 "children": [
6640 {
6641 "tag": "head"
6642 },
6643 {
6644 "tag": "body",
6645 "children": [
6646 {
6647 "text": "FOO„ZOO"
6648 }
6649 ]
6650 }
6651 ]
6652 }
6653 ],
6654 "html": "<html><head></head><body>FOO„ZOO</body></html>",
6655 "noQuirksBodyHtml": "FOO„ZOO"
6656 }
6657 },
6658 {
6659 "data": "FOO&#x0085;ZOO",
6660 "errors": [
6661 "(1,3): expected-doctype-but-got-chars",
6662 "(1,11): illegal-codepoint-for-numeric-entity"
6663 ],
6664 "document": {
6665 "props": {
6666 "tags": {
6667 "html": true,
6668 "head": true,
6669 "body": true
6670 }
6671 },
6672 "tree": [
6673 {
6674 "tag": "html",
6675 "children": [
6676 {
6677 "tag": "head"
6678 },
6679 {
6680 "tag": "body",
6681 "children": [
6682 {
6683 "text": "FOO…ZOO"
6684 }
6685 ]
6686 }
6687 ]
6688 }
6689 ],
6690 "html": "<html><head></head><body>FOO…ZOO</body></html>",
6691 "noQuirksBodyHtml": "FOO…ZOO"
6692 }
6693 },
6694 {
6695 "data": "FOO&#x0086;ZOO",
6696 "errors": [
6697 "(1,3): expected-doctype-but-got-chars",
6698 "(1,11): illegal-codepoint-for-numeric-entity"
6699 ],
6700 "document": {
6701 "props": {
6702 "tags": {
6703 "html": true,
6704 "head": true,
6705 "body": true
6706 }
6707 },
6708 "tree": [
6709 {
6710 "tag": "html",
6711 "children": [
6712 {
6713 "tag": "head"
6714 },
6715 {
6716 "tag": "body",
6717 "children": [
6718 {
6719 "text": "FOO†ZOO"
6720 }
6721 ]
6722 }
6723 ]
6724 }
6725 ],
6726 "html": "<html><head></head><body>FOO†ZOO</body></html>",
6727 "noQuirksBodyHtml": "FOO†ZOO"
6728 }
6729 },
6730 {
6731 "data": "FOO&#x0087;ZOO",
6732 "errors": [
6733 "(1,3): expected-doctype-but-got-chars",
6734 "(1,11): illegal-codepoint-for-numeric-entity"
6735 ],
6736 "document": {
6737 "props": {
6738 "tags": {
6739 "html": true,
6740 "head": true,
6741 "body": true
6742 }
6743 },
6744 "tree": [
6745 {
6746 "tag": "html",
6747 "children": [
6748 {
6749 "tag": "head"
6750 },
6751 {
6752 "tag": "body",
6753 "children": [
6754 {
6755 "text": "FOO‡ZOO"
6756 }
6757 ]
6758 }
6759 ]
6760 }
6761 ],
6762 "html": "<html><head></head><body>FOO‡ZOO</body></html>",
6763 "noQuirksBodyHtml": "FOO‡ZOO"
6764 }
6765 },
6766 {
6767 "data": "FOO&#x0088;ZOO",
6768 "errors": [
6769 "(1,3): expected-doctype-but-got-chars",
6770 "(1,11): illegal-codepoint-for-numeric-entity"
6771 ],
6772 "document": {
6773 "props": {
6774 "tags": {
6775 "html": true,
6776 "head": true,
6777 "body": true
6778 }
6779 },
6780 "tree": [
6781 {
6782 "tag": "html",
6783 "children": [
6784 {
6785 "tag": "head"
6786 },
6787 {
6788 "tag": "body",
6789 "children": [
6790 {
6791 "text": "FOOˆZOO"
6792 }
6793 ]
6794 }
6795 ]
6796 }
6797 ],
6798 "html": "<html><head></head><body>FOOˆZOO</body></html>",
6799 "noQuirksBodyHtml": "FOOˆZOO"
6800 }
6801 },
6802 {
6803 "data": "FOO&#x0089;ZOO",
6804 "errors": [
6805 "(1,3): expected-doctype-but-got-chars",
6806 "(1,11): illegal-codepoint-for-numeric-entity"
6807 ],
6808 "document": {
6809 "props": {
6810 "tags": {
6811 "html": true,
6812 "head": true,
6813 "body": true
6814 }
6815 },
6816 "tree": [
6817 {
6818 "tag": "html",
6819 "children": [
6820 {
6821 "tag": "head"
6822 },
6823 {
6824 "tag": "body",
6825 "children": [
6826 {
6827 "text": "FOO‰ZOO"
6828 }
6829 ]
6830 }
6831 ]
6832 }
6833 ],
6834 "html": "<html><head></head><body>FOO‰ZOO</body></html>",
6835 "noQuirksBodyHtml": "FOO‰ZOO"
6836 }
6837 },
6838 {
6839 "data": "FOO&#x008A;ZOO",
6840 "errors": [
6841 "(1,3): expected-doctype-but-got-chars",
6842 "(1,11): illegal-codepoint-for-numeric-entity"
6843 ],
6844 "document": {
6845 "props": {
6846 "tags": {
6847 "html": true,
6848 "head": true,
6849 "body": true
6850 }
6851 },
6852 "tree": [
6853 {
6854 "tag": "html",
6855 "children": [
6856 {
6857 "tag": "head"
6858 },
6859 {
6860 "tag": "body",
6861 "children": [
6862 {
6863 "text": "FOOŠZOO"
6864 }
6865 ]
6866 }
6867 ]
6868 }
6869 ],
6870 "html": "<html><head></head><body>FOOŠZOO</body></html>",
6871 "noQuirksBodyHtml": "FOOŠZOO"
6872 }
6873 },
6874 {
6875 "data": "FOO&#x008B;ZOO",
6876 "errors": [
6877 "(1,3): expected-doctype-but-got-chars",
6878 "(1,11): illegal-codepoint-for-numeric-entity"
6879 ],
6880 "document": {
6881 "props": {
6882 "tags": {
6883 "html": true,
6884 "head": true,
6885 "body": true
6886 }
6887 },
6888 "tree": [
6889 {
6890 "tag": "html",
6891 "children": [
6892 {
6893 "tag": "head"
6894 },
6895 {
6896 "tag": "body",
6897 "children": [
6898 {
6899 "text": "FOO‹ZOO"
6900 }
6901 ]
6902 }
6903 ]
6904 }
6905 ],
6906 "html": "<html><head></head><body>FOO‹ZOO</body></html>",
6907 "noQuirksBodyHtml": "FOO‹ZOO"
6908 }
6909 },
6910 {
6911 "data": "FOO&#x008C;ZOO",
6912 "errors": [
6913 "(1,3): expected-doctype-but-got-chars",
6914 "(1,11): illegal-codepoint-for-numeric-entity"
6915 ],
6916 "document": {
6917 "props": {
6918 "tags": {
6919 "html": true,
6920 "head": true,
6921 "body": true
6922 }
6923 },
6924 "tree": [
6925 {
6926 "tag": "html",
6927 "children": [
6928 {
6929 "tag": "head"
6930 },
6931 {
6932 "tag": "body",
6933 "children": [
6934 {
6935 "text": "FOOŒZOO"
6936 }
6937 ]
6938 }
6939 ]
6940 }
6941 ],
6942 "html": "<html><head></head><body>FOOŒZOO</body></html>",
6943 "noQuirksBodyHtml": "FOOŒZOO"
6944 }
6945 },
6946 {
6947 "data": "FOO&#x008D;ZOO",
6948 "errors": [
6949 "(1,3): expected-doctype-but-got-chars",
6950 "(1,11): illegal-codepoint-for-numeric-entity"
6951 ],
6952 "document": {
6953 "props": {
6954 "tags": {
6955 "html": true,
6956 "head": true,
6957 "body": true
6958 }
6959 },
6960 "tree": [
6961 {
6962 "tag": "html",
6963 "children": [
6964 {
6965 "tag": "head"
6966 },
6967 {
6968 "tag": "body",
6969 "children": [
6970 {
6971 "text": "FOO\8dZOO"
6972 }
6973 ]
6974 }
6975 ]
6976 }
6977 ],
6978 "html": "<html><head></head><body>FOO\8dZOO</body></html>",
6979 "noQuirksBodyHtml": "FOO\8dZOO"
6980 }
6981 },
6982 {
6983 "data": "FOO&#x008E;ZOO",
6984 "errors": [
6985 "(1,3): expected-doctype-but-got-chars",
6986 "(1,11): illegal-codepoint-for-numeric-entity"
6987 ],
6988 "document": {
6989 "props": {
6990 "tags": {
6991 "html": true,
6992 "head": true,
6993 "body": true
6994 }
6995 },
6996 "tree": [
6997 {
6998 "tag": "html",
6999 "children": [
7000 {
7001 "tag": "head"
7002 },
7003 {
7004 "tag": "body",
7005 "children": [
7006 {
7007 "text": "FOOŽZOO"
7008 }
7009 ]
7010 }
7011 ]
7012 }
7013 ],
7014 "html": "<html><head></head><body>FOOŽZOO</body></html>",
7015 "noQuirksBodyHtml": "FOOŽZOO"
7016 }
7017 },
7018 {
7019 "data": "FOO&#x008F;ZOO",
7020 "errors": [
7021 "(1,3): expected-doctype-but-got-chars",
7022 "(1,11): illegal-codepoint-for-numeric-entity"
7023 ],
7024 "document": {
7025 "props": {
7026 "tags": {
7027 "html": true,
7028 "head": true,
7029 "body": true
7030 }
7031 },
7032 "tree": [
7033 {
7034 "tag": "html",
7035 "children": [
7036 {
7037 "tag": "head"
7038 },
7039 {
7040 "tag": "body",
7041 "children": [
7042 {
7043 "text": "FOO\8fZOO"
7044 }
7045 ]
7046 }
7047 ]
7048 }
7049 ],
7050 "html": "<html><head></head><body>FOO\8fZOO</body></html>",
7051 "noQuirksBodyHtml": "FOO\8fZOO"
7052 }
7053 },
7054 {
7055 "data": "FOO&#x0090;ZOO",
7056 "errors": [
7057 "(1,3): expected-doctype-but-got-chars",
7058 "(1,11): illegal-codepoint-for-numeric-entity"
7059 ],
7060 "document": {
7061 "props": {
7062 "tags": {
7063 "html": true,
7064 "head": true,
7065 "body": true
7066 }
7067 },
7068 "tree": [
7069 {
7070 "tag": "html",
7071 "children": [
7072 {
7073 "tag": "head"
7074 },
7075 {
7076 "tag": "body",
7077 "children": [
7078 {
7079 "text": "FOO\90ZOO"
7080 }
7081 ]
7082 }
7083 ]
7084 }
7085 ],
7086 "html": "<html><head></head><body>FOO\90ZOO</body></html>",
7087 "noQuirksBodyHtml": "FOO\90ZOO"
7088 }
7089 },
7090 {
7091 "data": "FOO&#x0091;ZOO",
7092 "errors": [
7093 "(1,3): expected-doctype-but-got-chars",
7094 "(1,11): illegal-codepoint-for-numeric-entity"
7095 ],
7096 "document": {
7097 "props": {
7098 "tags": {
7099 "html": true,
7100 "head": true,
7101 "body": true
7102 }
7103 },
7104 "tree": [
7105 {
7106 "tag": "html",
7107 "children": [
7108 {
7109 "tag": "head"
7110 },
7111 {
7112 "tag": "body",
7113 "children": [
7114 {
7115 "text": "FOO‘ZOO"
7116 }
7117 ]
7118 }
7119 ]
7120 }
7121 ],
7122 "html": "<html><head></head><body>FOO‘ZOO</body></html>",
7123 "noQuirksBodyHtml": "FOO‘ZOO"
7124 }
7125 },
7126 {
7127 "data": "FOO&#x0092;ZOO",
7128 "errors": [
7129 "(1,3): expected-doctype-but-got-chars",
7130 "(1,11): illegal-codepoint-for-numeric-entity"
7131 ],
7132 "document": {
7133 "props": {
7134 "tags": {
7135 "html": true,
7136 "head": true,
7137 "body": true
7138 }
7139 },
7140 "tree": [
7141 {
7142 "tag": "html",
7143 "children": [
7144 {
7145 "tag": "head"
7146 },
7147 {
7148 "tag": "body",
7149 "children": [
7150 {
7151 "text": "FOO’ZOO"
7152 }
7153 ]
7154 }
7155 ]
7156 }
7157 ],
7158 "html": "<html><head></head><body>FOO’ZOO</body></html>",
7159 "noQuirksBodyHtml": "FOO’ZOO"
7160 }
7161 },
7162 {
7163 "data": "FOO&#x0093;ZOO",
7164 "errors": [
7165 "(1,3): expected-doctype-but-got-chars",
7166 "(1,11): illegal-codepoint-for-numeric-entity"
7167 ],
7168 "document": {
7169 "props": {
7170 "tags": {
7171 "html": true,
7172 "head": true,
7173 "body": true
7174 }
7175 },
7176 "tree": [
7177 {
7178 "tag": "html",
7179 "children": [
7180 {
7181 "tag": "head"
7182 },
7183 {
7184 "tag": "body",
7185 "children": [
7186 {
7187 "text": "FOO“ZOO"
7188 }
7189 ]
7190 }
7191 ]
7192 }
7193 ],
7194 "html": "<html><head></head><body>FOO“ZOO</body></html>",
7195 "noQuirksBodyHtml": "FOO“ZOO"
7196 }
7197 },
7198 {
7199 "data": "FOO&#x0094;ZOO",
7200 "errors": [
7201 "(1,3): expected-doctype-but-got-chars",
7202 "(1,11): illegal-codepoint-for-numeric-entity"
7203 ],
7204 "document": {
7205 "props": {
7206 "tags": {
7207 "html": true,
7208 "head": true,
7209 "body": true
7210 }
7211 },
7212 "tree": [
7213 {
7214 "tag": "html",
7215 "children": [
7216 {
7217 "tag": "head"
7218 },
7219 {
7220 "tag": "body",
7221 "children": [
7222 {
7223 "text": "FOO”ZOO"
7224 }
7225 ]
7226 }
7227 ]
7228 }
7229 ],
7230 "html": "<html><head></head><body>FOO”ZOO</body></html>",
7231 "noQuirksBodyHtml": "FOO”ZOO"
7232 }
7233 },
7234 {
7235 "data": "FOO&#x0095;ZOO",
7236 "errors": [
7237 "(1,3): expected-doctype-but-got-chars",
7238 "(1,11): illegal-codepoint-for-numeric-entity"
7239 ],
7240 "document": {
7241 "props": {
7242 "tags": {
7243 "html": true,
7244 "head": true,
7245 "body": true
7246 }
7247 },
7248 "tree": [
7249 {
7250 "tag": "html",
7251 "children": [
7252 {
7253 "tag": "head"
7254 },
7255 {
7256 "tag": "body",
7257 "children": [
7258 {
7259 "text": "FOO•ZOO"
7260 }
7261 ]
7262 }
7263 ]
7264 }
7265 ],
7266 "html": "<html><head></head><body>FOO•ZOO</body></html>",
7267 "noQuirksBodyHtml": "FOO•ZOO"
7268 }
7269 },
7270 {
7271 "data": "FOO&#x0096;ZOO",
7272 "errors": [
7273 "(1,3): expected-doctype-but-got-chars",
7274 "(1,11): illegal-codepoint-for-numeric-entity"
7275 ],
7276 "document": {
7277 "props": {
7278 "tags": {
7279 "html": true,
7280 "head": true,
7281 "body": true
7282 }
7283 },
7284 "tree": [
7285 {
7286 "tag": "html",
7287 "children": [
7288 {
7289 "tag": "head"
7290 },
7291 {
7292 "tag": "body",
7293 "children": [
7294 {
7295 "text": "FOO–ZOO"
7296 }
7297 ]
7298 }
7299 ]
7300 }
7301 ],
7302 "html": "<html><head></head><body>FOO–ZOO</body></html>",
7303 "noQuirksBodyHtml": "FOO–ZOO"
7304 }
7305 },
7306 {
7307 "data": "FOO&#x0097;ZOO",
7308 "errors": [
7309 "(1,3): expected-doctype-but-got-chars",
7310 "(1,11): illegal-codepoint-for-numeric-entity"
7311 ],
7312 "document": {
7313 "props": {
7314 "tags": {
7315 "html": true,
7316 "head": true,
7317 "body": true
7318 }
7319 },
7320 "tree": [
7321 {
7322 "tag": "html",
7323 "children": [
7324 {
7325 "tag": "head"
7326 },
7327 {
7328 "tag": "body",
7329 "children": [
7330 {
7331 "text": "FOO—ZOO"
7332 }
7333 ]
7334 }
7335 ]
7336 }
7337 ],
7338 "html": "<html><head></head><body>FOO—ZOO</body></html>",
7339 "noQuirksBodyHtml": "FOO—ZOO"
7340 }
7341 },
7342 {
7343 "data": "FOO&#x0098;ZOO",
7344 "errors": [
7345 "(1,3): expected-doctype-but-got-chars",
7346 "(1,11): illegal-codepoint-for-numeric-entity"
7347 ],
7348 "document": {
7349 "props": {
7350 "tags": {
7351 "html": true,
7352 "head": true,
7353 "body": true
7354 }
7355 },
7356 "tree": [
7357 {
7358 "tag": "html",
7359 "children": [
7360 {
7361 "tag": "head"
7362 },
7363 {
7364 "tag": "body",
7365 "children": [
7366 {
7367 "text": "FOO˜ZOO"
7368 }
7369 ]
7370 }
7371 ]
7372 }
7373 ],
7374 "html": "<html><head></head><body>FOO˜ZOO</body></html>",
7375 "noQuirksBodyHtml": "FOO˜ZOO"
7376 }
7377 },
7378 {
7379 "data": "FOO&#x0099;ZOO",
7380 "errors": [
7381 "(1,3): expected-doctype-but-got-chars",
7382 "(1,11): illegal-codepoint-for-numeric-entity"
7383 ],
7384 "document": {
7385 "props": {
7386 "tags": {
7387 "html": true,
7388 "head": true,
7389 "body": true
7390 }
7391 },
7392 "tree": [
7393 {
7394 "tag": "html",
7395 "children": [
7396 {
7397 "tag": "head"
7398 },
7399 {
7400 "tag": "body",
7401 "children": [
7402 {
7403 "text": "FOO™ZOO"
7404 }
7405 ]
7406 }
7407 ]
7408 }
7409 ],
7410 "html": "<html><head></head><body>FOO™ZOO</body></html>",
7411 "noQuirksBodyHtml": "FOO™ZOO"
7412 }
7413 },
7414 {
7415 "data": "FOO&#x009A;ZOO",
7416 "errors": [
7417 "(1,3): expected-doctype-but-got-chars",
7418 "(1,11): illegal-codepoint-for-numeric-entity"
7419 ],
7420 "document": {
7421 "props": {
7422 "tags": {
7423 "html": true,
7424 "head": true,
7425 "body": true
7426 }
7427 },
7428 "tree": [
7429 {
7430 "tag": "html",
7431 "children": [
7432 {
7433 "tag": "head"
7434 },
7435 {
7436 "tag": "body",
7437 "children": [
7438 {
7439 "text": "FOOšZOO"
7440 }
7441 ]
7442 }
7443 ]
7444 }
7445 ],
7446 "html": "<html><head></head><body>FOOšZOO</body></html>",
7447 "noQuirksBodyHtml": "FOOšZOO"
7448 }
7449 },
7450 {
7451 "data": "FOO&#x009B;ZOO",
7452 "errors": [
7453 "(1,3): expected-doctype-but-got-chars",
7454 "(1,11): illegal-codepoint-for-numeric-entity"
7455 ],
7456 "document": {
7457 "props": {
7458 "tags": {
7459 "html": true,
7460 "head": true,
7461 "body": true
7462 }
7463 },
7464 "tree": [
7465 {
7466 "tag": "html",
7467 "children": [
7468 {
7469 "tag": "head"
7470 },
7471 {
7472 "tag": "body",
7473 "children": [
7474 {
7475 "text": "FOO›ZOO"
7476 }
7477 ]
7478 }
7479 ]
7480 }
7481 ],
7482 "html": "<html><head></head><body>FOO›ZOO</body></html>",
7483 "noQuirksBodyHtml": "FOO›ZOO"
7484 }
7485 },
7486 {
7487 "data": "FOO&#x009C;ZOO",
7488 "errors": [
7489 "(1,3): expected-doctype-but-got-chars",
7490 "(1,11): illegal-codepoint-for-numeric-entity"
7491 ],
7492 "document": {
7493 "props": {
7494 "tags": {
7495 "html": true,
7496 "head": true,
7497 "body": true
7498 }
7499 },
7500 "tree": [
7501 {
7502 "tag": "html",
7503 "children": [
7504 {
7505 "tag": "head"
7506 },
7507 {
7508 "tag": "body",
7509 "children": [
7510 {
7511 "text": "FOOœZOO"
7512 }
7513 ]
7514 }
7515 ]
7516 }
7517 ],
7518 "html": "<html><head></head><body>FOOœZOO</body></html>",
7519 "noQuirksBodyHtml": "FOOœZOO"
7520 }
7521 },
7522 {
7523 "data": "FOO&#x009D;ZOO",
7524 "errors": [
7525 "(1,3): expected-doctype-but-got-chars",
7526 "(1,11): illegal-codepoint-for-numeric-entity"
7527 ],
7528 "document": {
7529 "props": {
7530 "tags": {
7531 "html": true,
7532 "head": true,
7533 "body": true
7534 }
7535 },
7536 "tree": [
7537 {
7538 "tag": "html",
7539 "children": [
7540 {
7541 "tag": "head"
7542 },
7543 {
7544 "tag": "body",
7545 "children": [
7546 {
7547 "text": "FOO\9dZOO"
7548 }
7549 ]
7550 }
7551 ]
7552 }
7553 ],
7554 "html": "<html><head></head><body>FOO\9dZOO</body></html>",
7555 "noQuirksBodyHtml": "FOO\9dZOO"
7556 }
7557 },
7558 {
7559 "data": "FOO&#x009E;ZOO",
7560 "errors": [
7561 "(1,3): expected-doctype-but-got-chars",
7562 "(1,11): illegal-codepoint-for-numeric-entity"
7563 ],
7564 "document": {
7565 "props": {
7566 "tags": {
7567 "html": true,
7568 "head": true,
7569 "body": true
7570 }
7571 },
7572 "tree": [
7573 {
7574 "tag": "html",
7575 "children": [
7576 {
7577 "tag": "head"
7578 },
7579 {
7580 "tag": "body",
7581 "children": [
7582 {
7583 "text": "FOOžZOO"
7584 }
7585 ]
7586 }
7587 ]
7588 }
7589 ],
7590 "html": "<html><head></head><body>FOOžZOO</body></html>",
7591 "noQuirksBodyHtml": "FOOžZOO"
7592 }
7593 },
7594 {
7595 "data": "FOO&#x009F;ZOO",
7596 "errors": [
7597 "(1,3): expected-doctype-but-got-chars",
7598 "(1,11): illegal-codepoint-for-numeric-entity"
7599 ],
7600 "document": {
7601 "props": {
7602 "tags": {
7603 "html": true,
7604 "head": true,
7605 "body": true
7606 }
7607 },
7608 "tree": [
7609 {
7610 "tag": "html",
7611 "children": [
7612 {
7613 "tag": "head"
7614 },
7615 {
7616 "tag": "body",
7617 "children": [
7618 {
7619 "text": "FOOŸZOO"
7620 }
7621 ]
7622 }
7623 ]
7624 }
7625 ],
7626 "html": "<html><head></head><body>FOOŸZOO</body></html>",
7627 "noQuirksBodyHtml": "FOOŸZOO"
7628 }
7629 },
7630 {
7631 "data": "FOO&#x00A0;ZOO",
7632 "errors": [
7633 "(1,3): expected-doctype-but-got-chars"
7634 ],
7635 "document": {
7636 "props": {
7637 "tags": {
7638 "html": true,
7639 "head": true,
7640 "body": true
7641 },
7642 "escaped": true
7643 },
7644 "tree": [
7645 {
7646 "tag": "html",
7647 "children": [
7648 {
7649 "tag": "head"
7650 },
7651 {
7652 "tag": "body",
7653 "children": [
7654 {
7655 "text": "FOO ZOO",
7656 "escaped": true
7657 }
7658 ]
7659 }
7660 ]
7661 }
7662 ],
7663 "html": "<html><head></head><body>FOO&nbsp;ZOO</body></html>",
7664 "noQuirksBodyHtml": "FOO&nbsp;ZOO"
7665 }
7666 },
7667 {
7668 "data": "FOO&#xD7FF;ZOO",
7669 "errors": [
7670 "(1,3): expected-doctype-but-got-chars"
7671 ],
7672 "document": {
7673 "props": {
7674 "tags": {
7675 "html": true,
7676 "head": true,
7677 "body": true
7678 }
7679 },
7680 "tree": [
7681 {
7682 "tag": "html",
7683 "children": [
7684 {
7685 "tag": "head"
7686 },
7687 {
7688 "tag": "body",
7689 "children": [
7690 {
7691 "text": "FOO퟿ZOO"
7692 }
7693 ]
7694 }
7695 ]
7696 }
7697 ],
7698 "html": "<html><head></head><body>FOO퟿ZOO</body></html>",
7699 "noQuirksBodyHtml": "FOO퟿ZOO"
7700 }
7701 },
7702 {
7703 "data": "FOO&#xD800;ZOO",
7704 "errors": [
7705 "(1,3): expected-doctype-but-got-chars",
7706 "(1,11): illegal-codepoint-for-numeric-entity"
7707 ],
7708 "document": {
7709 "props": {
7710 "tags": {
7711 "html": true,
7712 "head": true,
7713 "body": true
7714 }
7715 },
7716 "tree": [
7717 {
7718 "tag": "html",
7719 "children": [
7720 {
7721 "tag": "head"
7722 },
7723 {
7724 "tag": "body",
7725 "children": [
7726 {
7727 "text": "FOO�ZOO"
7728 }
7729 ]
7730 }
7731 ]
7732 }
7733 ],
7734 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7735 "noQuirksBodyHtml": "FOO�ZOO"
7736 }
7737 },
7738 {
7739 "data": "FOO&#xD801;ZOO",
7740 "errors": [
7741 "(1,3): expected-doctype-but-got-chars",
7742 "(1,11): illegal-codepoint-for-numeric-entity"
7743 ],
7744 "document": {
7745 "props": {
7746 "tags": {
7747 "html": true,
7748 "head": true,
7749 "body": true
7750 }
7751 },
7752 "tree": [
7753 {
7754 "tag": "html",
7755 "children": [
7756 {
7757 "tag": "head"
7758 },
7759 {
7760 "tag": "body",
7761 "children": [
7762 {
7763 "text": "FOO�ZOO"
7764 }
7765 ]
7766 }
7767 ]
7768 }
7769 ],
7770 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7771 "noQuirksBodyHtml": "FOO�ZOO"
7772 }
7773 },
7774 {
7775 "data": "FOO&#xDFFE;ZOO",
7776 "errors": [
7777 "(1,3): expected-doctype-but-got-chars",
7778 "(1,11): illegal-codepoint-for-numeric-entity"
7779 ],
7780 "document": {
7781 "props": {
7782 "tags": {
7783 "html": true,
7784 "head": true,
7785 "body": true
7786 }
7787 },
7788 "tree": [
7789 {
7790 "tag": "html",
7791 "children": [
7792 {
7793 "tag": "head"
7794 },
7795 {
7796 "tag": "body",
7797 "children": [
7798 {
7799 "text": "FOO�ZOO"
7800 }
7801 ]
7802 }
7803 ]
7804 }
7805 ],
7806 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7807 "noQuirksBodyHtml": "FOO�ZOO"
7808 }
7809 },
7810 {
7811 "data": "FOO&#xDFFF;ZOO",
7812 "errors": [
7813 "(1,3): expected-doctype-but-got-chars",
7814 "(1,11): illegal-codepoint-for-numeric-entity"
7815 ],
7816 "document": {
7817 "props": {
7818 "tags": {
7819 "html": true,
7820 "head": true,
7821 "body": true
7822 }
7823 },
7824 "tree": [
7825 {
7826 "tag": "html",
7827 "children": [
7828 {
7829 "tag": "head"
7830 },
7831 {
7832 "tag": "body",
7833 "children": [
7834 {
7835 "text": "FOO�ZOO"
7836 }
7837 ]
7838 }
7839 ]
7840 }
7841 ],
7842 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7843 "noQuirksBodyHtml": "FOO�ZOO"
7844 }
7845 },
7846 {
7847 "data": "FOO&#xE000;ZOO",
7848 "errors": [
7849 "(1,3): expected-doctype-but-got-chars"
7850 ],
7851 "document": {
7852 "props": {
7853 "tags": {
7854 "html": true,
7855 "head": true,
7856 "body": true
7857 }
7858 },
7859 "tree": [
7860 {
7861 "tag": "html",
7862 "children": [
7863 {
7864 "tag": "head"
7865 },
7866 {
7867 "tag": "body",
7868 "children": [
7869 {
7870 "text": "FOOZOO"
7871 }
7872 ]
7873 }
7874 ]
7875 }
7876 ],
7877 "html": "<html><head></head><body>FOOZOO</body></html>",
7878 "noQuirksBodyHtml": "FOOZOO"
7879 }
7880 },
7881 {
7882 "data": "FOO&#x10FFFE;ZOO",
7883 "errors": [
7884 "(1,3): expected-doctype-but-got-chars",
7885 "(1,13): illegal-codepoint-for-numeric-entity"
7886 ],
7887 "document": {
7888 "props": {
7889 "tags": {
7890 "html": true,
7891 "head": true,
7892 "body": true
7893 }
7894 },
7895 "tree": [
7896 {
7897 "tag": "html",
7898 "children": [
7899 {
7900 "tag": "head"
7901 },
7902 {
7903 "tag": "body",
7904 "children": [
7905 {
7906 "text": "FOO􏿾ZOO"
7907 }
7908 ]
7909 }
7910 ]
7911 }
7912 ],
7913 "html": "<html><head></head><body>FOO􏿾ZOO</body></html>",
7914 "noQuirksBodyHtml": "FOO􏿾ZOO"
7915 }
7916 },
7917 {
7918 "data": "FOO&#x1087D4;ZOO",
7919 "errors": [
7920 "(1,3): expected-doctype-but-got-chars"
7921 ],
7922 "document": {
7923 "props": {
7924 "tags": {
7925 "html": true,
7926 "head": true,
7927 "body": true
7928 }
7929 },
7930 "tree": [
7931 {
7932 "tag": "html",
7933 "children": [
7934 {
7935 "tag": "head"
7936 },
7937 {
7938 "tag": "body",
7939 "children": [
7940 {
7941 "text": "FOO􈟔ZOO"
7942 }
7943 ]
7944 }
7945 ]
7946 }
7947 ],
7948 "html": "<html><head></head><body>FOO􈟔ZOO</body></html>",
7949 "noQuirksBodyHtml": "FOO􈟔ZOO"
7950 }
7951 },
7952 {
7953 "data": "FOO&#x10FFFF;ZOO",
7954 "errors": [
7955 "(1,3): expected-doctype-but-got-chars",
7956 "(1,13): illegal-codepoint-for-numeric-entity"
7957 ],
7958 "document": {
7959 "props": {
7960 "tags": {
7961 "html": true,
7962 "head": true,
7963 "body": true
7964 }
7965 },
7966 "tree": [
7967 {
7968 "tag": "html",
7969 "children": [
7970 {
7971 "tag": "head"
7972 },
7973 {
7974 "tag": "body",
7975 "children": [
7976 {
7977 "text": "FOO􏿿ZOO"
7978 }
7979 ]
7980 }
7981 ]
7982 }
7983 ],
7984 "html": "<html><head></head><body>FOO􏿿ZOO</body></html>",
7985 "noQuirksBodyHtml": "FOO􏿿ZOO"
7986 }
7987 },
7988 {
7989 "data": "FOO&#x110000;ZOO",
7990 "errors": [
7991 "(1,3): expected-doctype-but-got-chars",
7992 "(1,13): illegal-codepoint-for-numeric-entity"
7993 ],
7994 "document": {
7995 "props": {
7996 "tags": {
7997 "html": true,
7998 "head": true,
7999 "body": true
8000 }
8001 },
8002 "tree": [
8003 {
8004 "tag": "html",
8005 "children": [
8006 {
8007 "tag": "head"
8008 },
8009 {
8010 "tag": "body",
8011 "children": [
8012 {
8013 "text": "FOO�ZOO"
8014 }
8015 ]
8016 }
8017 ]
8018 }
8019 ],
8020 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8021 "noQuirksBodyHtml": "FOO�ZOO"
8022 }
8023 },
8024 {
8025 "data": "FOO&#xFFFFFF;ZOO",
8026 "errors": [
8027 "(1,3): expected-doctype-but-got-chars",
8028 "(1,13): illegal-codepoint-for-numeric-entity"
8029 ],
8030 "document": {
8031 "props": {
8032 "tags": {
8033 "html": true,
8034 "head": true,
8035 "body": true
8036 }
8037 },
8038 "tree": [
8039 {
8040 "tag": "html",
8041 "children": [
8042 {
8043 "tag": "head"
8044 },
8045 {
8046 "tag": "body",
8047 "children": [
8048 {
8049 "text": "FOO�ZOO"
8050 }
8051 ]
8052 }
8053 ]
8054 }
8055 ],
8056 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8057 "noQuirksBodyHtml": "FOO�ZOO"
8058 }
8059 },
8060 {
8061 "data": "FOO&#11111111111",
8062 "errors": [
8063 "(1,3): expected-doctype-but-got-chars",
8064 "(1,13): illegal-codepoint-for-numeric-entity",
8065 "(1,13): eof-in-numeric-entity"
8066 ],
8067 "document": {
8068 "props": {
8069 "tags": {
8070 "html": true,
8071 "head": true,
8072 "body": true
8073 }
8074 },
8075 "tree": [
8076 {
8077 "tag": "html",
8078 "children": [
8079 {
8080 "tag": "head"
8081 },
8082 {
8083 "tag": "body",
8084 "children": [
8085 {
8086 "text": "FOO�"
8087 }
8088 ]
8089 }
8090 ]
8091 }
8092 ],
8093 "html": "<html><head></head><body>FOO�</body></html>",
8094 "noQuirksBodyHtml": "FOO�"
8095 }
8096 },
8097 {
8098 "data": "FOO&#1111111111",
8099 "errors": [
8100 "(1,3): expected-doctype-but-got-chars",
8101 "(1,13): illegal-codepoint-for-numeric-entity",
8102 "(1,13): eof-in-numeric-entity"
8103 ],
8104 "document": {
8105 "props": {
8106 "tags": {
8107 "html": true,
8108 "head": true,
8109 "body": true
8110 }
8111 },
8112 "tree": [
8113 {
8114 "tag": "html",
8115 "children": [
8116 {
8117 "tag": "head"
8118 },
8119 {
8120 "tag": "body",
8121 "children": [
8122 {
8123 "text": "FOO�"
8124 }
8125 ]
8126 }
8127 ]
8128 }
8129 ],
8130 "html": "<html><head></head><body>FOO�</body></html>",
8131 "noQuirksBodyHtml": "FOO�"
8132 }
8133 },
8134 {
8135 "data": "FOO&#111111111111",
8136 "errors": [
8137 "(1,3): expected-doctype-but-got-chars",
8138 "(1,13): illegal-codepoint-for-numeric-entity",
8139 "(1,13): eof-in-numeric-entity"
8140 ],
8141 "document": {
8142 "props": {
8143 "tags": {
8144 "html": true,
8145 "head": true,
8146 "body": true
8147 }
8148 },
8149 "tree": [
8150 {
8151 "tag": "html",
8152 "children": [
8153 {
8154 "tag": "head"
8155 },
8156 {
8157 "tag": "body",
8158 "children": [
8159 {
8160 "text": "FOO�"
8161 }
8162 ]
8163 }
8164 ]
8165 }
8166 ],
8167 "html": "<html><head></head><body>FOO�</body></html>",
8168 "noQuirksBodyHtml": "FOO�"
8169 }
8170 },
8171 {
8172 "data": "FOO&#11111111111ZOO",
8173 "errors": [
8174 "(1,3): expected-doctype-but-got-chars",
8175 "(1,16): numeric-entity-without-semicolon",
8176 "(1,16): illegal-codepoint-for-numeric-entity"
8177 ],
8178 "document": {
8179 "props": {
8180 "tags": {
8181 "html": true,
8182 "head": true,
8183 "body": true
8184 }
8185 },
8186 "tree": [
8187 {
8188 "tag": "html",
8189 "children": [
8190 {
8191 "tag": "head"
8192 },
8193 {
8194 "tag": "body",
8195 "children": [
8196 {
8197 "text": "FOO�ZOO"
8198 }
8199 ]
8200 }
8201 ]
8202 }
8203 ],
8204 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8205 "noQuirksBodyHtml": "FOO�ZOO"
8206 }
8207 },
8208 {
8209 "data": "FOO&#1111111111ZOO",
8210 "errors": [
8211 "(1,3): expected-doctype-but-got-chars",
8212 "(1,15): numeric-entity-without-semicolon",
8213 "(1,15): illegal-codepoint-for-numeric-entity"
8214 ],
8215 "document": {
8216 "props": {
8217 "tags": {
8218 "html": true,
8219 "head": true,
8220 "body": true
8221 }
8222 },
8223 "tree": [
8224 {
8225 "tag": "html",
8226 "children": [
8227 {
8228 "tag": "head"
8229 },
8230 {
8231 "tag": "body",
8232 "children": [
8233 {
8234 "text": "FOO�ZOO"
8235 }
8236 ]
8237 }
8238 ]
8239 }
8240 ],
8241 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8242 "noQuirksBodyHtml": "FOO�ZOO"
8243 }
8244 },
8245 {
8246 "data": "FOO&#111111111111ZOO",
8247 "errors": [
8248 "(1,3): expected-doctype-but-got-chars",
8249 "(1,17): numeric-entity-without-semicolon",
8250 "(1,17): illegal-codepoint-for-numeric-entity"
8251 ],
8252 "document": {
8253 "props": {
8254 "tags": {
8255 "html": true,
8256 "head": true,
8257 "body": true
8258 }
8259 },
8260 "tree": [
8261 {
8262 "tag": "html",
8263 "children": [
8264 {
8265 "tag": "head"
8266 },
8267 {
8268 "tag": "body",
8269 "children": [
8270 {
8271 "text": "FOO�ZOO"
8272 }
8273 ]
8274 }
8275 ]
8276 }
8277 ],
8278 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8279 "noQuirksBodyHtml": "FOO�ZOO"
8280 }
8281 }
8282 ],
8283 "entities02.dat": [
8284 {
8285 "data": "<div bar=\"ZZ&gt;YY\"></div>",
8286 "errors": [
8287 "(1,20): expected-doctype-but-got-start-tag"
8288 ],
8289 "document": {
8290 "props": {
8291 "tags": {
8292 "html": true,
8293 "head": true,
8294 "body": true,
8295 "div": true
8296 }
8297 },
8298 "tree": [
8299 {
8300 "tag": "html",
8301 "children": [
8302 {
8303 "tag": "head"
8304 },
8305 {
8306 "tag": "body",
8307 "children": [
8308 {
8309 "tag": "div",
8310 "attrs": [
8311 {
8312 "name": "bar",
8313 "value": "ZZ>YY"
8314 }
8315 ]
8316 }
8317 ]
8318 }
8319 ]
8320 }
8321 ],
8322 "html": "<html><head></head><body><div bar=\"ZZ>YY\"></div></body></html>",
8323 "noQuirksBodyHtml": "<div bar=\"ZZ>YY\"></div>"
8324 }
8325 },
8326 {
8327 "data": "<div bar=\"ZZ&\"></div>",
8328 "errors": [
8329 "(1,15): expected-doctype-but-got-start-tag"
8330 ],
8331 "document": {
8332 "props": {
8333 "tags": {
8334 "html": true,
8335 "head": true,
8336 "body": true,
8337 "div": true
8338 },
8339 "escaped": true
8340 },
8341 "tree": [
8342 {
8343 "tag": "html",
8344 "children": [
8345 {
8346 "tag": "head"
8347 },
8348 {
8349 "tag": "body",
8350 "children": [
8351 {
8352 "tag": "div",
8353 "attrs": [
8354 {
8355 "name": "bar",
8356 "value": "ZZ&",
8357 "escaped": true
8358 }
8359 ]
8360 }
8361 ]
8362 }
8363 ]
8364 }
8365 ],
8366 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8367 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8368 }
8369 },
8370 {
8371 "data": "<div bar='ZZ&'></div>",
8372 "errors": [
8373 "(1,15): expected-doctype-but-got-start-tag"
8374 ],
8375 "document": {
8376 "props": {
8377 "tags": {
8378 "html": true,
8379 "head": true,
8380 "body": true,
8381 "div": true
8382 },
8383 "escaped": true
8384 },
8385 "tree": [
8386 {
8387 "tag": "html",
8388 "children": [
8389 {
8390 "tag": "head"
8391 },
8392 {
8393 "tag": "body",
8394 "children": [
8395 {
8396 "tag": "div",
8397 "attrs": [
8398 {
8399 "name": "bar",
8400 "value": "ZZ&",
8401 "escaped": true
8402 }
8403 ]
8404 }
8405 ]
8406 }
8407 ]
8408 }
8409 ],
8410 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8411 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8412 }
8413 },
8414 {
8415 "data": "<div bar=ZZ&></div>",
8416 "errors": [
8417 "(1,13): expected-doctype-but-got-start-tag"
8418 ],
8419 "document": {
8420 "props": {
8421 "tags": {
8422 "html": true,
8423 "head": true,
8424 "body": true,
8425 "div": true
8426 },
8427 "escaped": true
8428 },
8429 "tree": [
8430 {
8431 "tag": "html",
8432 "children": [
8433 {
8434 "tag": "head"
8435 },
8436 {
8437 "tag": "body",
8438 "children": [
8439 {
8440 "tag": "div",
8441 "attrs": [
8442 {
8443 "name": "bar",
8444 "value": "ZZ&",
8445 "escaped": true
8446 }
8447 ]
8448 }
8449 ]
8450 }
8451 ]
8452 }
8453 ],
8454 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8455 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8456 }
8457 },
8458 {
8459 "data": "<div bar=\"ZZ&gt=YY\"></div>",
8460 "errors": [
8461 "(1,15): named-entity-without-semicolon",
8462 "(1,20): expected-doctype-but-got-start-tag"
8463 ],
8464 "document": {
8465 "props": {
8466 "tags": {
8467 "html": true,
8468 "head": true,
8469 "body": true,
8470 "div": true
8471 },
8472 "escaped": true
8473 },
8474 "tree": [
8475 {
8476 "tag": "html",
8477 "children": [
8478 {
8479 "tag": "head"
8480 },
8481 {
8482 "tag": "body",
8483 "children": [
8484 {
8485 "tag": "div",
8486 "attrs": [
8487 {
8488 "name": "bar",
8489 "value": "ZZ&gt=YY",
8490 "escaped": true
8491 }
8492 ]
8493 }
8494 ]
8495 }
8496 ]
8497 }
8498 ],
8499 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt=YY\"></div></body></html>",
8500 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt=YY\"></div>"
8501 }
8502 },
8503 {
8504 "data": "<div bar=\"ZZ&gt0YY\"></div>",
8505 "errors": [
8506 "(1,20): expected-doctype-but-got-start-tag"
8507 ],
8508 "document": {
8509 "props": {
8510 "tags": {
8511 "html": true,
8512 "head": true,
8513 "body": true,
8514 "div": true
8515 },
8516 "escaped": true
8517 },
8518 "tree": [
8519 {
8520 "tag": "html",
8521 "children": [
8522 {
8523 "tag": "head"
8524 },
8525 {
8526 "tag": "body",
8527 "children": [
8528 {
8529 "tag": "div",
8530 "attrs": [
8531 {
8532 "name": "bar",
8533 "value": "ZZ&gt0YY",
8534 "escaped": true
8535 }
8536 ]
8537 }
8538 ]
8539 }
8540 ]
8541 }
8542 ],
8543 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt0YY\"></div></body></html>",
8544 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt0YY\"></div>"
8545 }
8546 },
8547 {
8548 "data": "<div bar=\"ZZ&gt9YY\"></div>",
8549 "errors": [
8550 "(1,20): expected-doctype-but-got-start-tag"
8551 ],
8552 "document": {
8553 "props": {
8554 "tags": {
8555 "html": true,
8556 "head": true,
8557 "body": true,
8558 "div": true
8559 },
8560 "escaped": true
8561 },
8562 "tree": [
8563 {
8564 "tag": "html",
8565 "children": [
8566 {
8567 "tag": "head"
8568 },
8569 {
8570 "tag": "body",
8571 "children": [
8572 {
8573 "tag": "div",
8574 "attrs": [
8575 {
8576 "name": "bar",
8577 "value": "ZZ&gt9YY",
8578 "escaped": true
8579 }
8580 ]
8581 }
8582 ]
8583 }
8584 ]
8585 }
8586 ],
8587 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt9YY\"></div></body></html>",
8588 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt9YY\"></div>"
8589 }
8590 },
8591 {
8592 "data": "<div bar=\"ZZ&gtaYY\"></div>",
8593 "errors": [
8594 "(1,20): expected-doctype-but-got-start-tag"
8595 ],
8596 "document": {
8597 "props": {
8598 "tags": {
8599 "html": true,
8600 "head": true,
8601 "body": true,
8602 "div": true
8603 },
8604 "escaped": true
8605 },
8606 "tree": [
8607 {
8608 "tag": "html",
8609 "children": [
8610 {
8611 "tag": "head"
8612 },
8613 {
8614 "tag": "body",
8615 "children": [
8616 {
8617 "tag": "div",
8618 "attrs": [
8619 {
8620 "name": "bar",
8621 "value": "ZZ&gtaYY",
8622 "escaped": true
8623 }
8624 ]
8625 }
8626 ]
8627 }
8628 ]
8629 }
8630 ],
8631 "html": "<html><head></head><body><div bar=\"ZZ&amp;gtaYY\"></div></body></html>",
8632 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gtaYY\"></div>"
8633 }
8634 },
8635 {
8636 "data": "<div bar=\"ZZ&gtZYY\"></div>",
8637 "errors": [
8638 "(1,20): expected-doctype-but-got-start-tag"
8639 ],
8640 "document": {
8641 "props": {
8642 "tags": {
8643 "html": true,
8644 "head": true,
8645 "body": true,
8646 "div": true
8647 },
8648 "escaped": true
8649 },
8650 "tree": [
8651 {
8652 "tag": "html",
8653 "children": [
8654 {
8655 "tag": "head"
8656 },
8657 {
8658 "tag": "body",
8659 "children": [
8660 {
8661 "tag": "div",
8662 "attrs": [
8663 {
8664 "name": "bar",
8665 "value": "ZZ&gtZYY",
8666 "escaped": true
8667 }
8668 ]
8669 }
8670 ]
8671 }
8672 ]
8673 }
8674 ],
8675 "html": "<html><head></head><body><div bar=\"ZZ&amp;gtZYY\"></div></body></html>",
8676 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gtZYY\"></div>"
8677 }
8678 },
8679 {
8680 "data": "<div bar=\"ZZ&gt YY\"></div>",
8681 "errors": [
8682 "(1,15): named-entity-without-semicolon",
8683 "(1,20): expected-doctype-but-got-start-tag"
8684 ],
8685 "document": {
8686 "props": {
8687 "tags": {
8688 "html": true,
8689 "head": true,
8690 "body": true,
8691 "div": true
8692 }
8693 },
8694 "tree": [
8695 {
8696 "tag": "html",
8697 "children": [
8698 {
8699 "tag": "head"
8700 },
8701 {
8702 "tag": "body",
8703 "children": [
8704 {
8705 "tag": "div",
8706 "attrs": [
8707 {
8708 "name": "bar",
8709 "value": "ZZ> YY"
8710 }
8711 ]
8712 }
8713 ]
8714 }
8715 ]
8716 }
8717 ],
8718 "html": "<html><head></head><body><div bar=\"ZZ> YY\"></div></body></html>",
8719 "noQuirksBodyHtml": "<div bar=\"ZZ> YY\"></div>"
8720 }
8721 },
8722 {
8723 "data": "<div bar=\"ZZ&gt\"></div>",
8724 "errors": [
8725 "(1,15): named-entity-without-semicolon",
8726 "(1,17): expected-doctype-but-got-start-tag"
8727 ],
8728 "document": {
8729 "props": {
8730 "tags": {
8731 "html": true,
8732 "head": true,
8733 "body": true,
8734 "div": true
8735 }
8736 },
8737 "tree": [
8738 {
8739 "tag": "html",
8740 "children": [
8741 {
8742 "tag": "head"
8743 },
8744 {
8745 "tag": "body",
8746 "children": [
8747 {
8748 "tag": "div",
8749 "attrs": [
8750 {
8751 "name": "bar",
8752 "value": "ZZ>"
8753 }
8754 ]
8755 }
8756 ]
8757 }
8758 ]
8759 }
8760 ],
8761 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8762 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8763 }
8764 },
8765 {
8766 "data": "<div bar='ZZ&gt'></div>",
8767 "errors": [
8768 "(1,15): named-entity-without-semicolon",
8769 "(1,17): expected-doctype-but-got-start-tag"
8770 ],
8771 "document": {
8772 "props": {
8773 "tags": {
8774 "html": true,
8775 "head": true,
8776 "body": true,
8777 "div": true
8778 }
8779 },
8780 "tree": [
8781 {
8782 "tag": "html",
8783 "children": [
8784 {
8785 "tag": "head"
8786 },
8787 {
8788 "tag": "body",
8789 "children": [
8790 {
8791 "tag": "div",
8792 "attrs": [
8793 {
8794 "name": "bar",
8795 "value": "ZZ>"
8796 }
8797 ]
8798 }
8799 ]
8800 }
8801 ]
8802 }
8803 ],
8804 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8805 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8806 }
8807 },
8808 {
8809 "data": "<div bar=ZZ&gt></div>",
8810 "errors": [
8811 "(1,14): named-entity-without-semicolon",
8812 "(1,15): expected-doctype-but-got-start-tag"
8813 ],
8814 "document": {
8815 "props": {
8816 "tags": {
8817 "html": true,
8818 "head": true,
8819 "body": true,
8820 "div": true
8821 }
8822 },
8823 "tree": [
8824 {
8825 "tag": "html",
8826 "children": [
8827 {
8828 "tag": "head"
8829 },
8830 {
8831 "tag": "body",
8832 "children": [
8833 {
8834 "tag": "div",
8835 "attrs": [
8836 {
8837 "name": "bar",
8838 "value": "ZZ>"
8839 }
8840 ]
8841 }
8842 ]
8843 }
8844 ]
8845 }
8846 ],
8847 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8848 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8849 }
8850 },
8851 {
8852 "data": "<div bar=\"ZZ&pound_id=23\"></div>",
8853 "errors": [
8854 "(1,18): named-entity-without-semicolon",
8855 "(1,26): expected-doctype-but-got-start-tag"
8856 ],
8857 "document": {
8858 "props": {
8859 "tags": {
8860 "html": true,
8861 "head": true,
8862 "body": true,
8863 "div": true
8864 }
8865 },
8866 "tree": [
8867 {
8868 "tag": "html",
8869 "children": [
8870 {
8871 "tag": "head"
8872 },
8873 {
8874 "tag": "body",
8875 "children": [
8876 {
8877 "tag": "div",
8878 "attrs": [
8879 {
8880 "name": "bar",
8881 "value": "ZZ£_id=23"
8882 }
8883 ]
8884 }
8885 ]
8886 }
8887 ]
8888 }
8889 ],
8890 "html": "<html><head></head><body><div bar=\"ZZ£_id=23\"></div></body></html>",
8891 "noQuirksBodyHtml": "<div bar=\"ZZ£_id=23\"></div>"
8892 }
8893 },
8894 {
8895 "data": "<div bar=\"ZZ&prod_id=23\"></div>",
8896 "errors": [
8897 "(1,25): expected-doctype-but-got-start-tag"
8898 ],
8899 "document": {
8900 "props": {
8901 "tags": {
8902 "html": true,
8903 "head": true,
8904 "body": true,
8905 "div": true
8906 },
8907 "escaped": true
8908 },
8909 "tree": [
8910 {
8911 "tag": "html",
8912 "children": [
8913 {
8914 "tag": "head"
8915 },
8916 {
8917 "tag": "body",
8918 "children": [
8919 {
8920 "tag": "div",
8921 "attrs": [
8922 {
8923 "name": "bar",
8924 "value": "ZZ&prod_id=23",
8925 "escaped": true
8926 }
8927 ]
8928 }
8929 ]
8930 }
8931 ]
8932 }
8933 ],
8934 "html": "<html><head></head><body><div bar=\"ZZ&amp;prod_id=23\"></div></body></html>",
8935 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;prod_id=23\"></div>"
8936 }
8937 },
8938 {
8939 "data": "<div bar=\"ZZ&pound;_id=23\"></div>",
8940 "errors": [
8941 "(1,27): expected-doctype-but-got-start-tag"
8942 ],
8943 "document": {
8944 "props": {
8945 "tags": {
8946 "html": true,
8947 "head": true,
8948 "body": true,
8949 "div": true
8950 }
8951 },
8952 "tree": [
8953 {
8954 "tag": "html",
8955 "children": [
8956 {
8957 "tag": "head"
8958 },
8959 {
8960 "tag": "body",
8961 "children": [
8962 {
8963 "tag": "div",
8964 "attrs": [
8965 {
8966 "name": "bar",
8967 "value": "ZZ£_id=23"
8968 }
8969 ]
8970 }
8971 ]
8972 }
8973 ]
8974 }
8975 ],
8976 "html": "<html><head></head><body><div bar=\"ZZ£_id=23\"></div></body></html>",
8977 "noQuirksBodyHtml": "<div bar=\"ZZ£_id=23\"></div>"
8978 }
8979 },
8980 {
8981 "data": "<div bar=\"ZZ&prod;_id=23\"></div>",
8982 "errors": [
8983 "(1,26): expected-doctype-but-got-start-tag"
8984 ],
8985 "document": {
8986 "props": {
8987 "tags": {
8988 "html": true,
8989 "head": true,
8990 "body": true,
8991 "div": true
8992 }
8993 },
8994 "tree": [
8995 {
8996 "tag": "html",
8997 "children": [
8998 {
8999 "tag": "head"
9000 },
9001 {
9002 "tag": "body",
9003 "children": [
9004 {
9005 "tag": "div",
9006 "attrs": [
9007 {
9008 "name": "bar",
9009 "value": "ZZ∏_id=23"
9010 }
9011 ]
9012 }
9013 ]
9014 }
9015 ]
9016 }
9017 ],
9018 "html": "<html><head></head><body><div bar=\"ZZ∏_id=23\"></div></body></html>",
9019 "noQuirksBodyHtml": "<div bar=\"ZZ∏_id=23\"></div>"
9020 }
9021 },
9022 {
9023 "data": "<div bar=\"ZZ&pound=23\"></div>",
9024 "errors": [
9025 "(1,18): named-entity-without-semicolon",
9026 "(1,23): expected-doctype-but-got-start-tag"
9027 ],
9028 "document": {
9029 "props": {
9030 "tags": {
9031 "html": true,
9032 "head": true,
9033 "body": true,
9034 "div": true
9035 },
9036 "escaped": true
9037 },
9038 "tree": [
9039 {
9040 "tag": "html",
9041 "children": [
9042 {
9043 "tag": "head"
9044 },
9045 {
9046 "tag": "body",
9047 "children": [
9048 {
9049 "tag": "div",
9050 "attrs": [
9051 {
9052 "name": "bar",
9053 "value": "ZZ&pound=23",
9054 "escaped": true
9055 }
9056 ]
9057 }
9058 ]
9059 }
9060 ]
9061 }
9062 ],
9063 "html": "<html><head></head><body><div bar=\"ZZ&amp;pound=23\"></div></body></html>",
9064 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;pound=23\"></div>"
9065 }
9066 },
9067 {
9068 "data": "<div bar=\"ZZ&prod=23\"></div>",
9069 "errors": [
9070 "(1,22): expected-doctype-but-got-start-tag"
9071 ],
9072 "document": {
9073 "props": {
9074 "tags": {
9075 "html": true,
9076 "head": true,
9077 "body": true,
9078 "div": true
9079 },
9080 "escaped": true
9081 },
9082 "tree": [
9083 {
9084 "tag": "html",
9085 "children": [
9086 {
9087 "tag": "head"
9088 },
9089 {
9090 "tag": "body",
9091 "children": [
9092 {
9093 "tag": "div",
9094 "attrs": [
9095 {
9096 "name": "bar",
9097 "value": "ZZ&prod=23",
9098 "escaped": true
9099 }
9100 ]
9101 }
9102 ]
9103 }
9104 ]
9105 }
9106 ],
9107 "html": "<html><head></head><body><div bar=\"ZZ&amp;prod=23\"></div></body></html>",
9108 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;prod=23\"></div>"
9109 }
9110 },
9111 {
9112 "data": "<div>ZZ&pound_id=23</div>",
9113 "errors": [
9114 "(1,5): expected-doctype-but-got-start-tag",
9115 "(1,13): named-entity-without-semicolon"
9116 ],
9117 "document": {
9118 "props": {
9119 "tags": {
9120 "html": true,
9121 "head": true,
9122 "body": true,
9123 "div": true
9124 }
9125 },
9126 "tree": [
9127 {
9128 "tag": "html",
9129 "children": [
9130 {
9131 "tag": "head"
9132 },
9133 {
9134 "tag": "body",
9135 "children": [
9136 {
9137 "tag": "div",
9138 "children": [
9139 {
9140 "text": "ZZ£_id=23"
9141 }
9142 ]
9143 }
9144 ]
9145 }
9146 ]
9147 }
9148 ],
9149 "html": "<html><head></head><body><div>ZZ£_id=23</div></body></html>",
9150 "noQuirksBodyHtml": "<div>ZZ£_id=23</div>"
9151 }
9152 },
9153 {
9154 "data": "<div>ZZ&prod_id=23</div>",
9155 "errors": [
9156 "(1,5): expected-doctype-but-got-start-tag"
9157 ],
9158 "document": {
9159 "props": {
9160 "tags": {
9161 "html": true,
9162 "head": true,
9163 "body": true,
9164 "div": true
9165 },
9166 "escaped": true
9167 },
9168 "tree": [
9169 {
9170 "tag": "html",
9171 "children": [
9172 {
9173 "tag": "head"
9174 },
9175 {
9176 "tag": "body",
9177 "children": [
9178 {
9179 "tag": "div",
9180 "children": [
9181 {
9182 "text": "ZZ&prod_id=23",
9183 "escaped": true
9184 }
9185 ]
9186 }
9187 ]
9188 }
9189 ]
9190 }
9191 ],
9192 "html": "<html><head></head><body><div>ZZ&amp;prod_id=23</div></body></html>",
9193 "noQuirksBodyHtml": "<div>ZZ&amp;prod_id=23</div>"
9194 }
9195 },
9196 {
9197 "data": "<div>ZZ&pound;_id=23</div>",
9198 "errors": [
9199 "(1,5): expected-doctype-but-got-start-tag"
9200 ],
9201 "document": {
9202 "props": {
9203 "tags": {
9204 "html": true,
9205 "head": true,
9206 "body": true,
9207 "div": true
9208 }
9209 },
9210 "tree": [
9211 {
9212 "tag": "html",
9213 "children": [
9214 {
9215 "tag": "head"
9216 },
9217 {
9218 "tag": "body",
9219 "children": [
9220 {
9221 "tag": "div",
9222 "children": [
9223 {
9224 "text": "ZZ£_id=23"
9225 }
9226 ]
9227 }
9228 ]
9229 }
9230 ]
9231 }
9232 ],
9233 "html": "<html><head></head><body><div>ZZ£_id=23</div></body></html>",
9234 "noQuirksBodyHtml": "<div>ZZ£_id=23</div>"
9235 }
9236 },
9237 {
9238 "data": "<div>ZZ&prod;_id=23</div>",
9239 "errors": [
9240 "(1,5): expected-doctype-but-got-start-tag"
9241 ],
9242 "document": {
9243 "props": {
9244 "tags": {
9245 "html": true,
9246 "head": true,
9247 "body": true,
9248 "div": true
9249 }
9250 },
9251 "tree": [
9252 {
9253 "tag": "html",
9254 "children": [
9255 {
9256 "tag": "head"
9257 },
9258 {
9259 "tag": "body",
9260 "children": [
9261 {
9262 "tag": "div",
9263 "children": [
9264 {
9265 "text": "ZZ∏_id=23"
9266 }
9267 ]
9268 }
9269 ]
9270 }
9271 ]
9272 }
9273 ],
9274 "html": "<html><head></head><body><div>ZZ∏_id=23</div></body></html>",
9275 "noQuirksBodyHtml": "<div>ZZ∏_id=23</div>"
9276 }
9277 },
9278 {
9279 "data": "<div>ZZ&pound=23</div>",
9280 "errors": [
9281 "(1,5): expected-doctype-but-got-start-tag",
9282 "(1,13): named-entity-without-semicolon"
9283 ],
9284 "document": {
9285 "props": {
9286 "tags": {
9287 "html": true,
9288 "head": true,
9289 "body": true,
9290 "div": true
9291 }
9292 },
9293 "tree": [
9294 {
9295 "tag": "html",
9296 "children": [
9297 {
9298 "tag": "head"
9299 },
9300 {
9301 "tag": "body",
9302 "children": [
9303 {
9304 "tag": "div",
9305 "children": [
9306 {
9307 "text": "ZZ£=23"
9308 }
9309 ]
9310 }
9311 ]
9312 }
9313 ]
9314 }
9315 ],
9316 "html": "<html><head></head><body><div>ZZ£=23</div></body></html>",
9317 "noQuirksBodyHtml": "<div>ZZ£=23</div>"
9318 }
9319 },
9320 {
9321 "data": "<div>ZZ&prod=23</div>",
9322 "errors": [
9323 "(1,5): expected-doctype-but-got-start-tag"
9324 ],
9325 "document": {
9326 "props": {
9327 "tags": {
9328 "html": true,
9329 "head": true,
9330 "body": true,
9331 "div": true
9332 },
9333 "escaped": true
9334 },
9335 "tree": [
9336 {
9337 "tag": "html",
9338 "children": [
9339 {
9340 "tag": "head"
9341 },
9342 {
9343 "tag": "body",
9344 "children": [
9345 {
9346 "tag": "div",
9347 "children": [
9348 {
9349 "text": "ZZ&prod=23",
9350 "escaped": true
9351 }
9352 ]
9353 }
9354 ]
9355 }
9356 ]
9357 }
9358 ],
9359 "html": "<html><head></head><body><div>ZZ&amp;prod=23</div></body></html>",
9360 "noQuirksBodyHtml": "<div>ZZ&amp;prod=23</div>"
9361 }
9362 },
9363 {
9364 "data": "<div>ZZ&AElig=</div>",
9365 "errors": [],
9366 "document": {
9367 "props": {
9368 "tags": {
9369 "html": true,
9370 "head": true,
9371 "body": true,
9372 "div": true
9373 }
9374 },
9375 "tree": [
9376 {
9377 "tag": "html",
9378 "children": [
9379 {
9380 "tag": "head"
9381 },
9382 {
9383 "tag": "body",
9384 "children": [
9385 {
9386 "tag": "div",
9387 "children": [
9388 {
9389 "text": "ZZÆ="
9390 }
9391 ]
9392 }
9393 ]
9394 }
9395 ]
9396 }
9397 ],
9398 "html": "<html><head></head><body><div>ZZÆ=</div></body></html>",
9399 "noQuirksBodyHtml": "<div>ZZÆ=</div>"
9400 }
9401 }
9402 ],
9403 "foreign-fragment.dat": [
9404 {
9405 "data": "<nobr>X",
9406 "errors": [
9407 "6: HTML start tag “nobr” in a foreign namespace context.",
9408 "7: End of file seen and there were open elements.",
9409 "6: Unclosed element “nobr”."
9410 ],
9411 "fragment": {
9412 "name": "path",
9413 "ns": "http://www.w3.org/2000/svg"
9414 },
9415 "document": {
9416 "props": {
9417 "tags": {
9418 "svg nobr": true
9419 }
9420 },
9421 "tree": [
9422 {
9423 "tag": "nobr",
9424 "ns": "http://www.w3.org/2000/svg",
9425 "children": [
9426 {
9427 "text": "X"
9428 }
9429 ]
9430 }
9431 ],
9432 "html": "<nobr>X</nobr>",
9433 "noQuirksBodyHtml": "<nobr>X</nobr>"
9434 }
9435 },
9436 {
9437 "data": "<font color></font>X",
9438 "errors": [
9439 "12: HTML start tag “font” in a foreign namespace context."
9440 ],
9441 "fragment": {
9442 "name": "path",
9443 "ns": "http://www.w3.org/2000/svg"
9444 },
9445 "document": {
9446 "props": {
9447 "tags": {
9448 "svg font": true
9449 }
9450 },
9451 "tree": [
9452 {
9453 "tag": "font",
9454 "ns": "http://www.w3.org/2000/svg",
9455 "attrs": [
9456 {
9457 "name": "color",
9458 "value": ""
9459 }
9460 ]
9461 },
9462 {
9463 "text": "X"
9464 }
9465 ],
9466 "html": "<font color=\"\"></font>X",
9467 "noQuirksBodyHtml": "<font color=\"\"></font>X"
9468 }
9469 },
9470 {
9471 "data": "<font></font>X",
9472 "errors": [],
9473 "fragment": {
9474 "name": "path",
9475 "ns": "http://www.w3.org/2000/svg"
9476 },
9477 "document": {
9478 "props": {
9479 "tags": {
9480 "svg font": true
9481 }
9482 },
9483 "tree": [
9484 {
9485 "tag": "font",
9486 "ns": "http://www.w3.org/2000/svg"
9487 },
9488 {
9489 "text": "X"
9490 }
9491 ],
9492 "html": "<font></font>X",
9493 "noQuirksBodyHtml": "<font></font>X"
9494 }
9495 },
9496 {
9497 "data": "<g></path>X",
9498 "errors": [
9499 "10: End tag “path” did not match the name of the current open element (“g”).",
9500 "11: End of file seen and there were open elements.",
9501 "3: Unclosed element “g”."
9502 ],
9503 "fragment": {
9504 "name": "path",
9505 "ns": "http://www.w3.org/2000/svg"
9506 },
9507 "document": {
9508 "props": {
9509 "tags": {
9510 "svg g": true
9511 }
9512 },
9513 "tree": [
9514 {
9515 "tag": "g",
9516 "ns": "http://www.w3.org/2000/svg",
9517 "children": [
9518 {
9519 "text": "X"
9520 }
9521 ]
9522 }
9523 ],
9524 "html": "<g>X</g>",
9525 "noQuirksBodyHtml": "<g>X</g>"
9526 }
9527 },
9528 {
9529 "data": "</path>X",
9530 "errors": [
9531 "5: Stray end tag “path”."
9532 ],
9533 "fragment": {
9534 "name": "path",
9535 "ns": "http://www.w3.org/2000/svg"
9536 },
9537 "document": {
9538 "props": {
9539 "tags": {}
9540 },
9541 "tree": [
9542 {
9543 "text": "X"
9544 }
9545 ],
9546 "html": "X",
9547 "noQuirksBodyHtml": "X"
9548 }
9549 },
9550 {
9551 "data": "</foreignObject>X",
9552 "errors": [
9553 "5: Stray end tag “foreignobject”."
9554 ],
9555 "fragment": {
9556 "name": "foreignObject",
9557 "ns": "http://www.w3.org/2000/svg"
9558 },
9559 "document": {
9560 "props": {
9561 "tags": {}
9562 },
9563 "tree": [
9564 {
9565 "text": "X"
9566 }
9567 ],
9568 "html": "X",
9569 "noQuirksBodyHtml": "X"
9570 }
9571 },
9572 {
9573 "data": "</desc>X",
9574 "errors": [
9575 "5: Stray end tag “desc”."
9576 ],
9577 "fragment": {
9578 "name": "desc",
9579 "ns": "http://www.w3.org/2000/svg"
9580 },
9581 "document": {
9582 "props": {
9583 "tags": {}
9584 },
9585 "tree": [
9586 {
9587 "text": "X"
9588 }
9589 ],
9590 "html": "X",
9591 "noQuirksBodyHtml": "X"
9592 }
9593 },
9594 {
9595 "data": "</title>X",
9596 "errors": [
9597 "5: Stray end tag “title”."
9598 ],
9599 "fragment": {
9600 "name": "title",
9601 "ns": "http://www.w3.org/2000/svg"
9602 },
9603 "document": {
9604 "props": {
9605 "tags": {}
9606 },
9607 "tree": [
9608 {
9609 "text": "X"
9610 }
9611 ],
9612 "html": "X",
9613 "noQuirksBodyHtml": "X"
9614 }
9615 },
9616 {
9617 "data": "</svg>X",
9618 "errors": [
9619 "5: Stray end tag “svg”."
9620 ],
9621 "fragment": {
9622 "name": "svg",
9623 "ns": "http://www.w3.org/2000/svg"
9624 },
9625 "document": {
9626 "props": {
9627 "tags": {}
9628 },
9629 "tree": [
9630 {
9631 "text": "X"
9632 }
9633 ],
9634 "html": "X",
9635 "noQuirksBodyHtml": "X"
9636 }
9637 },
9638 {
9639 "data": "</mfenced>X",
9640 "errors": [
9641 "5: Stray end tag “mfenced”."
9642 ],
9643 "fragment": {
9644 "name": "mfenced",
9645 "ns": "http://www.w3.org/1998/Math/MathML"
9646 },
9647 "document": {
9648 "props": {
9649 "tags": {}
9650 },
9651 "tree": [
9652 {
9653 "text": "X"
9654 }
9655 ],
9656 "html": "X",
9657 "noQuirksBodyHtml": "X"
9658 }
9659 },
9660 {
9661 "data": "</malignmark>X",
9662 "errors": [
9663 "5: Stray end tag “malignmark”."
9664 ],
9665 "fragment": {
9666 "name": "malignmark",
9667 "ns": "http://www.w3.org/1998/Math/MathML"
9668 },
9669 "document": {
9670 "props": {
9671 "tags": {}
9672 },
9673 "tree": [
9674 {
9675 "text": "X"
9676 }
9677 ],
9678 "html": "X",
9679 "noQuirksBodyHtml": "X"
9680 }
9681 },
9682 {
9683 "data": "</math>X",
9684 "errors": [
9685 "5: Stray end tag “math”."
9686 ],
9687 "fragment": {
9688 "name": "math",
9689 "ns": "http://www.w3.org/1998/Math/MathML"
9690 },
9691 "document": {
9692 "props": {
9693 "tags": {}
9694 },
9695 "tree": [
9696 {
9697 "text": "X"
9698 }
9699 ],
9700 "html": "X",
9701 "noQuirksBodyHtml": "X"
9702 }
9703 },
9704 {
9705 "data": "</annotation-xml>X",
9706 "errors": [
9707 "5: Stray end tag “annotation-xml”."
9708 ],
9709 "fragment": {
9710 "name": "annotation-xml",
9711 "ns": "http://www.w3.org/1998/Math/MathML"
9712 },
9713 "document": {
9714 "props": {
9715 "tags": {}
9716 },
9717 "tree": [
9718 {
9719 "text": "X"
9720 }
9721 ],
9722 "html": "X",
9723 "noQuirksBodyHtml": "X"
9724 }
9725 },
9726 {
9727 "data": "</mtext>X",
9728 "errors": [
9729 "5: Stray end tag “mtext”."
9730 ],
9731 "fragment": {
9732 "name": "mtext",
9733 "ns": "http://www.w3.org/1998/Math/MathML"
9734 },
9735 "document": {
9736 "props": {
9737 "tags": {}
9738 },
9739 "tree": [
9740 {
9741 "text": "X"
9742 }
9743 ],
9744 "html": "X",
9745 "noQuirksBodyHtml": "X"
9746 }
9747 },
9748 {
9749 "data": "</mi>X",
9750 "errors": [
9751 "5: Stray end tag “mi”."
9752 ],
9753 "fragment": {
9754 "name": "mi",
9755 "ns": "http://www.w3.org/1998/Math/MathML"
9756 },
9757 "document": {
9758 "props": {
9759 "tags": {}
9760 },
9761 "tree": [
9762 {
9763 "text": "X"
9764 }
9765 ],
9766 "html": "X",
9767 "noQuirksBodyHtml": "X"
9768 }
9769 },
9770 {
9771 "data": "</mo>X",
9772 "errors": [
9773 "5: Stray end tag “mo”."
9774 ],
9775 "fragment": {
9776 "name": "mo",
9777 "ns": "http://www.w3.org/1998/Math/MathML"
9778 },
9779 "document": {
9780 "props": {
9781 "tags": {}
9782 },
9783 "tree": [
9784 {
9785 "text": "X"
9786 }
9787 ],
9788 "html": "X",
9789 "noQuirksBodyHtml": "X"
9790 }
9791 },
9792 {
9793 "data": "</mn>X",
9794 "errors": [
9795 "5: Stray end tag “mn”."
9796 ],
9797 "fragment": {
9798 "name": "mn",
9799 "ns": "http://www.w3.org/1998/Math/MathML"
9800 },
9801 "document": {
9802 "props": {
9803 "tags": {}
9804 },
9805 "tree": [
9806 {
9807 "text": "X"
9808 }
9809 ],
9810 "html": "X",
9811 "noQuirksBodyHtml": "X"
9812 }
9813 },
9814 {
9815 "data": "</ms>X",
9816 "errors": [
9817 "5: Stray end tag “ms”."
9818 ],
9819 "fragment": {
9820 "name": "ms",
9821 "ns": "http://www.w3.org/1998/Math/MathML"
9822 },
9823 "document": {
9824 "props": {
9825 "tags": {}
9826 },
9827 "tree": [
9828 {
9829 "text": "X"
9830 }
9831 ],
9832 "html": "X",
9833 "noQuirksBodyHtml": "X"
9834 }
9835 },
9836 {
9837 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><ms/>X",
9838 "errors": [
9839 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
9840 "52: End of file seen and there were open elements.",
9841 "51: Unclosed element “ms”."
9842 ],
9843 "fragment": {
9844 "name": "ms",
9845 "ns": "http://www.w3.org/1998/Math/MathML"
9846 },
9847 "document": {
9848 "props": {
9849 "tags": {
9850 "b": true,
9851 "math mglyph": true,
9852 "i": true,
9853 "math malignmark": true,
9854 "u": true,
9855 "ms": true
9856 }
9857 },
9858 "tree": [
9859 {
9860 "tag": "b"
9861 },
9862 {
9863 "tag": "mglyph",
9864 "ns": "http://www.w3.org/1998/Math/MathML"
9865 },
9866 {
9867 "tag": "i"
9868 },
9869 {
9870 "tag": "malignmark",
9871 "ns": "http://www.w3.org/1998/Math/MathML"
9872 },
9873 {
9874 "tag": "u"
9875 },
9876 {
9877 "tag": "ms",
9878 "children": [
9879 {
9880 "text": "X"
9881 }
9882 ]
9883 }
9884 ],
9885 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><ms>X</ms>",
9886 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><ms>X</ms></malignmark></mglyph>"
9887 }
9888 },
9889 {
9890 "data": "<malignmark></malignmark>",
9891 "errors": [],
9892 "fragment": {
9893 "name": "ms",
9894 "ns": "http://www.w3.org/1998/Math/MathML"
9895 },
9896 "document": {
9897 "props": {
9898 "tags": {
9899 "math malignmark": true
9900 }
9901 },
9902 "tree": [
9903 {
9904 "tag": "malignmark",
9905 "ns": "http://www.w3.org/1998/Math/MathML"
9906 }
9907 ],
9908 "html": "<malignmark></malignmark>",
9909 "noQuirksBodyHtml": "<malignmark></malignmark>"
9910 }
9911 },
9912 {
9913 "data": "<div></div>",
9914 "errors": [],
9915 "fragment": {
9916 "name": "ms",
9917 "ns": "http://www.w3.org/1998/Math/MathML"
9918 },
9919 "document": {
9920 "props": {
9921 "tags": {
9922 "div": true
9923 }
9924 },
9925 "tree": [
9926 {
9927 "tag": "div"
9928 }
9929 ],
9930 "html": "<div></div>",
9931 "noQuirksBodyHtml": "<div></div>"
9932 }
9933 },
9934 {
9935 "data": "<figure></figure>",
9936 "errors": [],
9937 "fragment": {
9938 "name": "ms",
9939 "ns": "http://www.w3.org/1998/Math/MathML"
9940 },
9941 "document": {
9942 "props": {
9943 "tags": {
9944 "figure": true
9945 }
9946 },
9947 "tree": [
9948 {
9949 "tag": "figure"
9950 }
9951 ],
9952 "html": "<figure></figure>",
9953 "noQuirksBodyHtml": "<figure></figure>"
9954 }
9955 },
9956 {
9957 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mn/>X",
9958 "errors": [
9959 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
9960 "52: End of file seen and there were open elements.",
9961 "51: Unclosed element “mn”."
9962 ],
9963 "fragment": {
9964 "name": "mn",
9965 "ns": "http://www.w3.org/1998/Math/MathML"
9966 },
9967 "document": {
9968 "props": {
9969 "tags": {
9970 "b": true,
9971 "math mglyph": true,
9972 "i": true,
9973 "math malignmark": true,
9974 "u": true,
9975 "mn": true
9976 }
9977 },
9978 "tree": [
9979 {
9980 "tag": "b"
9981 },
9982 {
9983 "tag": "mglyph",
9984 "ns": "http://www.w3.org/1998/Math/MathML"
9985 },
9986 {
9987 "tag": "i"
9988 },
9989 {
9990 "tag": "malignmark",
9991 "ns": "http://www.w3.org/1998/Math/MathML"
9992 },
9993 {
9994 "tag": "u"
9995 },
9996 {
9997 "tag": "mn",
9998 "children": [
9999 {
10000 "text": "X"
10001 }
10002 ]
10003 }
10004 ],
10005 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mn>X</mn>",
10006 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mn>X</mn></malignmark></mglyph>"
10007 }
10008 },
10009 {
10010 "data": "<malignmark></malignmark>",
10011 "errors": [],
10012 "fragment": {
10013 "name": "mn",
10014 "ns": "http://www.w3.org/1998/Math/MathML"
10015 },
10016 "document": {
10017 "props": {
10018 "tags": {
10019 "math malignmark": true
10020 }
10021 },
10022 "tree": [
10023 {
10024 "tag": "malignmark",
10025 "ns": "http://www.w3.org/1998/Math/MathML"
10026 }
10027 ],
10028 "html": "<malignmark></malignmark>",
10029 "noQuirksBodyHtml": "<malignmark></malignmark>"
10030 }
10031 },
10032 {
10033 "data": "<div></div>",
10034 "errors": [],
10035 "fragment": {
10036 "name": "mn",
10037 "ns": "http://www.w3.org/1998/Math/MathML"
10038 },
10039 "document": {
10040 "props": {
10041 "tags": {
10042 "div": true
10043 }
10044 },
10045 "tree": [
10046 {
10047 "tag": "div"
10048 }
10049 ],
10050 "html": "<div></div>",
10051 "noQuirksBodyHtml": "<div></div>"
10052 }
10053 },
10054 {
10055 "data": "<figure></figure>",
10056 "errors": [],
10057 "fragment": {
10058 "name": "mn",
10059 "ns": "http://www.w3.org/1998/Math/MathML"
10060 },
10061 "document": {
10062 "props": {
10063 "tags": {
10064 "figure": true
10065 }
10066 },
10067 "tree": [
10068 {
10069 "tag": "figure"
10070 }
10071 ],
10072 "html": "<figure></figure>",
10073 "noQuirksBodyHtml": "<figure></figure>"
10074 }
10075 },
10076 {
10077 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mo/>X",
10078 "errors": [
10079 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10080 "52: End of file seen and there were open elements.",
10081 "51: Unclosed element “mo”."
10082 ],
10083 "fragment": {
10084 "name": "mo",
10085 "ns": "http://www.w3.org/1998/Math/MathML"
10086 },
10087 "document": {
10088 "props": {
10089 "tags": {
10090 "b": true,
10091 "math mglyph": true,
10092 "i": true,
10093 "math malignmark": true,
10094 "u": true,
10095 "mo": true
10096 }
10097 },
10098 "tree": [
10099 {
10100 "tag": "b"
10101 },
10102 {
10103 "tag": "mglyph",
10104 "ns": "http://www.w3.org/1998/Math/MathML"
10105 },
10106 {
10107 "tag": "i"
10108 },
10109 {
10110 "tag": "malignmark",
10111 "ns": "http://www.w3.org/1998/Math/MathML"
10112 },
10113 {
10114 "tag": "u"
10115 },
10116 {
10117 "tag": "mo",
10118 "children": [
10119 {
10120 "text": "X"
10121 }
10122 ]
10123 }
10124 ],
10125 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mo>X</mo>",
10126 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mo>X</mo></malignmark></mglyph>"
10127 }
10128 },
10129 {
10130 "data": "<malignmark></malignmark>",
10131 "errors": [],
10132 "fragment": {
10133 "name": "mo",
10134 "ns": "http://www.w3.org/1998/Math/MathML"
10135 },
10136 "document": {
10137 "props": {
10138 "tags": {
10139 "math malignmark": true
10140 }
10141 },
10142 "tree": [
10143 {
10144 "tag": "malignmark",
10145 "ns": "http://www.w3.org/1998/Math/MathML"
10146 }
10147 ],
10148 "html": "<malignmark></malignmark>",
10149 "noQuirksBodyHtml": "<malignmark></malignmark>"
10150 }
10151 },
10152 {
10153 "data": "<div></div>",
10154 "errors": [],
10155 "fragment": {
10156 "name": "mo",
10157 "ns": "http://www.w3.org/1998/Math/MathML"
10158 },
10159 "document": {
10160 "props": {
10161 "tags": {
10162 "div": true
10163 }
10164 },
10165 "tree": [
10166 {
10167 "tag": "div"
10168 }
10169 ],
10170 "html": "<div></div>",
10171 "noQuirksBodyHtml": "<div></div>"
10172 }
10173 },
10174 {
10175 "data": "<figure></figure>",
10176 "errors": [],
10177 "fragment": {
10178 "name": "mo",
10179 "ns": "http://www.w3.org/1998/Math/MathML"
10180 },
10181 "document": {
10182 "props": {
10183 "tags": {
10184 "figure": true
10185 }
10186 },
10187 "tree": [
10188 {
10189 "tag": "figure"
10190 }
10191 ],
10192 "html": "<figure></figure>",
10193 "noQuirksBodyHtml": "<figure></figure>"
10194 }
10195 },
10196 {
10197 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mi/>X",
10198 "errors": [
10199 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10200 "52: End of file seen and there were open elements.",
10201 "51: Unclosed element “mi”."
10202 ],
10203 "fragment": {
10204 "name": "mi",
10205 "ns": "http://www.w3.org/1998/Math/MathML"
10206 },
10207 "document": {
10208 "props": {
10209 "tags": {
10210 "b": true,
10211 "math mglyph": true,
10212 "i": true,
10213 "math malignmark": true,
10214 "u": true,
10215 "mi": true
10216 }
10217 },
10218 "tree": [
10219 {
10220 "tag": "b"
10221 },
10222 {
10223 "tag": "mglyph",
10224 "ns": "http://www.w3.org/1998/Math/MathML"
10225 },
10226 {
10227 "tag": "i"
10228 },
10229 {
10230 "tag": "malignmark",
10231 "ns": "http://www.w3.org/1998/Math/MathML"
10232 },
10233 {
10234 "tag": "u"
10235 },
10236 {
10237 "tag": "mi",
10238 "children": [
10239 {
10240 "text": "X"
10241 }
10242 ]
10243 }
10244 ],
10245 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mi>X</mi>",
10246 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mi>X</mi></malignmark></mglyph>"
10247 }
10248 },
10249 {
10250 "data": "<malignmark></malignmark>",
10251 "errors": [],
10252 "fragment": {
10253 "name": "mi",
10254 "ns": "http://www.w3.org/1998/Math/MathML"
10255 },
10256 "document": {
10257 "props": {
10258 "tags": {
10259 "math malignmark": true
10260 }
10261 },
10262 "tree": [
10263 {
10264 "tag": "malignmark",
10265 "ns": "http://www.w3.org/1998/Math/MathML"
10266 }
10267 ],
10268 "html": "<malignmark></malignmark>",
10269 "noQuirksBodyHtml": "<malignmark></malignmark>"
10270 }
10271 },
10272 {
10273 "data": "<div></div>",
10274 "errors": [],
10275 "fragment": {
10276 "name": "mi",
10277 "ns": "http://www.w3.org/1998/Math/MathML"
10278 },
10279 "document": {
10280 "props": {
10281 "tags": {
10282 "div": true
10283 }
10284 },
10285 "tree": [
10286 {
10287 "tag": "div"
10288 }
10289 ],
10290 "html": "<div></div>",
10291 "noQuirksBodyHtml": "<div></div>"
10292 }
10293 },
10294 {
10295 "data": "<figure></figure>",
10296 "errors": [],
10297 "fragment": {
10298 "name": "mi",
10299 "ns": "http://www.w3.org/1998/Math/MathML"
10300 },
10301 "document": {
10302 "props": {
10303 "tags": {
10304 "figure": true
10305 }
10306 },
10307 "tree": [
10308 {
10309 "tag": "figure"
10310 }
10311 ],
10312 "html": "<figure></figure>",
10313 "noQuirksBodyHtml": "<figure></figure>"
10314 }
10315 },
10316 {
10317 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mtext/>X",
10318 "errors": [
10319 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10320 "52: End of file seen and there were open elements.",
10321 "51: Unclosed element “mtext”."
10322 ],
10323 "fragment": {
10324 "name": "mtext",
10325 "ns": "http://www.w3.org/1998/Math/MathML"
10326 },
10327 "document": {
10328 "props": {
10329 "tags": {
10330 "b": true,
10331 "math mglyph": true,
10332 "i": true,
10333 "math malignmark": true,
10334 "u": true,
10335 "mtext": true
10336 }
10337 },
10338 "tree": [
10339 {
10340 "tag": "b"
10341 },
10342 {
10343 "tag": "mglyph",
10344 "ns": "http://www.w3.org/1998/Math/MathML"
10345 },
10346 {
10347 "tag": "i"
10348 },
10349 {
10350 "tag": "malignmark",
10351 "ns": "http://www.w3.org/1998/Math/MathML"
10352 },
10353 {
10354 "tag": "u"
10355 },
10356 {
10357 "tag": "mtext",
10358 "children": [
10359 {
10360 "text": "X"
10361 }
10362 ]
10363 }
10364 ],
10365 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mtext>X</mtext>",
10366 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mtext>X</mtext></malignmark></mglyph>"
10367 }
10368 },
10369 {
10370 "data": "<malignmark></malignmark>",
10371 "errors": [],
10372 "fragment": {
10373 "name": "mtext",
10374 "ns": "http://www.w3.org/1998/Math/MathML"
10375 },
10376 "document": {
10377 "props": {
10378 "tags": {
10379 "math malignmark": true
10380 }
10381 },
10382 "tree": [
10383 {
10384 "tag": "malignmark",
10385 "ns": "http://www.w3.org/1998/Math/MathML"
10386 }
10387 ],
10388 "html": "<malignmark></malignmark>",
10389 "noQuirksBodyHtml": "<malignmark></malignmark>"
10390 }
10391 },
10392 {
10393 "data": "<div></div>",
10394 "errors": [],
10395 "fragment": {
10396 "name": "mtext",
10397 "ns": "http://www.w3.org/1998/Math/MathML"
10398 },
10399 "document": {
10400 "props": {
10401 "tags": {
10402 "div": true
10403 }
10404 },
10405 "tree": [
10406 {
10407 "tag": "div"
10408 }
10409 ],
10410 "html": "<div></div>",
10411 "noQuirksBodyHtml": "<div></div>"
10412 }
10413 },
10414 {
10415 "data": "<figure></figure>",
10416 "errors": [],
10417 "fragment": {
10418 "name": "mtext",
10419 "ns": "http://www.w3.org/1998/Math/MathML"
10420 },
10421 "document": {
10422 "props": {
10423 "tags": {
10424 "figure": true
10425 }
10426 },
10427 "tree": [
10428 {
10429 "tag": "figure"
10430 }
10431 ],
10432 "html": "<figure></figure>",
10433 "noQuirksBodyHtml": "<figure></figure>"
10434 }
10435 },
10436 {
10437 "data": "<div></div>",
10438 "errors": [
10439 "5: HTML start tag “div” in a foreign namespace context."
10440 ],
10441 "fragment": {
10442 "name": "annotation-xml",
10443 "ns": "http://www.w3.org/1998/Math/MathML"
10444 },
10445 "document": {
10446 "props": {
10447 "tags": {
10448 "math div": true
10449 }
10450 },
10451 "tree": [
10452 {
10453 "tag": "div",
10454 "ns": "http://www.w3.org/1998/Math/MathML"
10455 }
10456 ],
10457 "html": "<div></div>",
10458 "noQuirksBodyHtml": "<div></div>"
10459 }
10460 },
10461 {
10462 "data": "<figure></figure>",
10463 "errors": [],
10464 "fragment": {
10465 "name": "annotation-xml",
10466 "ns": "http://www.w3.org/1998/Math/MathML"
10467 },
10468 "document": {
10469 "props": {
10470 "tags": {
10471 "math figure": true
10472 }
10473 },
10474 "tree": [
10475 {
10476 "tag": "figure",
10477 "ns": "http://www.w3.org/1998/Math/MathML"
10478 }
10479 ],
10480 "html": "<figure></figure>",
10481 "noQuirksBodyHtml": "<figure></figure>"
10482 }
10483 },
10484 {
10485 "data": "<div></div>",
10486 "errors": [
10487 "5: HTML start tag “div” in a foreign namespace context."
10488 ],
10489 "fragment": {
10490 "name": "math",
10491 "ns": "http://www.w3.org/1998/Math/MathML"
10492 },
10493 "document": {
10494 "props": {
10495 "tags": {
10496 "math div": true
10497 }
10498 },
10499 "tree": [
10500 {
10501 "tag": "div",
10502 "ns": "http://www.w3.org/1998/Math/MathML"
10503 }
10504 ],
10505 "html": "<div></div>",
10506 "noQuirksBodyHtml": "<div></div>"
10507 }
10508 },
10509 {
10510 "data": "<figure></figure>",
10511 "errors": [],
10512 "fragment": {
10513 "name": "math",
10514 "ns": "http://www.w3.org/1998/Math/MathML"
10515 },
10516 "document": {
10517 "props": {
10518 "tags": {
10519 "math figure": true
10520 }
10521 },
10522 "tree": [
10523 {
10524 "tag": "figure",
10525 "ns": "http://www.w3.org/1998/Math/MathML"
10526 }
10527 ],
10528 "html": "<figure></figure>",
10529 "noQuirksBodyHtml": "<figure></figure>"
10530 }
10531 },
10532 {
10533 "data": "<div></div>",
10534 "errors": [],
10535 "fragment": {
10536 "name": "foreignObject",
10537 "ns": "http://www.w3.org/2000/svg"
10538 },
10539 "document": {
10540 "props": {
10541 "tags": {
10542 "div": true
10543 }
10544 },
10545 "tree": [
10546 {
10547 "tag": "div"
10548 }
10549 ],
10550 "html": "<div></div>",
10551 "noQuirksBodyHtml": "<div></div>"
10552 }
10553 },
10554 {
10555 "data": "<figure></figure>",
10556 "errors": [],
10557 "fragment": {
10558 "name": "foreignObject",
10559 "ns": "http://www.w3.org/2000/svg"
10560 },
10561 "document": {
10562 "props": {
10563 "tags": {
10564 "figure": true
10565 }
10566 },
10567 "tree": [
10568 {
10569 "tag": "figure"
10570 }
10571 ],
10572 "html": "<figure></figure>",
10573 "noQuirksBodyHtml": "<figure></figure>"
10574 }
10575 },
10576 {
10577 "data": "<div></div>",
10578 "errors": [],
10579 "fragment": {
10580 "name": "title",
10581 "ns": "http://www.w3.org/2000/svg"
10582 },
10583 "document": {
10584 "props": {
10585 "tags": {
10586 "div": true
10587 }
10588 },
10589 "tree": [
10590 {
10591 "tag": "div"
10592 }
10593 ],
10594 "html": "<div></div>",
10595 "noQuirksBodyHtml": "<div></div>"
10596 }
10597 },
10598 {
10599 "data": "<figure></figure>",
10600 "errors": [],
10601 "fragment": {
10602 "name": "title",
10603 "ns": "http://www.w3.org/2000/svg"
10604 },
10605 "document": {
10606 "props": {
10607 "tags": {
10608 "figure": true
10609 }
10610 },
10611 "tree": [
10612 {
10613 "tag": "figure"
10614 }
10615 ],
10616 "html": "<figure></figure>",
10617 "noQuirksBodyHtml": "<figure></figure>"
10618 }
10619 },
10620 {
10621 "data": "<figure></figure>",
10622 "errors": [],
10623 "fragment": {
10624 "name": "desc",
10625 "ns": "http://www.w3.org/2000/svg"
10626 },
10627 "document": {
10628 "props": {
10629 "tags": {
10630 "figure": true
10631 }
10632 },
10633 "tree": [
10634 {
10635 "tag": "figure"
10636 }
10637 ],
10638 "html": "<figure></figure>",
10639 "noQuirksBodyHtml": "<figure></figure>"
10640 }
10641 },
10642 {
10643 "data": "<div><h1>X</h1></div>",
10644 "errors": [
10645 "5: HTML start tag “div” in a foreign namespace context.",
10646 "9: HTML start tag “h1” in a foreign namespace context."
10647 ],
10648 "fragment": {
10649 "name": "svg",
10650 "ns": "http://www.w3.org/2000/svg"
10651 },
10652 "document": {
10653 "props": {
10654 "tags": {
10655 "svg div": true,
10656 "svg h1": true
10657 }
10658 },
10659 "tree": [
10660 {
10661 "tag": "div",
10662 "ns": "http://www.w3.org/2000/svg",
10663 "children": [
10664 {
10665 "tag": "h1",
10666 "ns": "http://www.w3.org/2000/svg",
10667 "children": [
10668 {
10669 "text": "X"
10670 }
10671 ]
10672 }
10673 ]
10674 }
10675 ],
10676 "html": "<div><h1>X</h1></div>",
10677 "noQuirksBodyHtml": "<div><h1>X</h1></div>"
10678 }
10679 },
10680 {
10681 "data": "<div></div>",
10682 "errors": [
10683 "5: HTML start tag “div” in a foreign namespace context."
10684 ],
10685 "fragment": {
10686 "name": "svg",
10687 "ns": "http://www.w3.org/2000/svg"
10688 },
10689 "document": {
10690 "props": {
10691 "tags": {
10692 "svg div": true
10693 }
10694 },
10695 "tree": [
10696 {
10697 "tag": "div",
10698 "ns": "http://www.w3.org/2000/svg"
10699 }
10700 ],
10701 "html": "<div></div>",
10702 "noQuirksBodyHtml": "<div></div>"
10703 }
10704 },
10705 {
10706 "data": "<div></div>",
10707 "errors": [],
10708 "fragment": {
10709 "name": "desc",
10710 "ns": "http://www.w3.org/2000/svg"
10711 },
10712 "document": {
10713 "props": {
10714 "tags": {
10715 "div": true
10716 }
10717 },
10718 "tree": [
10719 {
10720 "tag": "div"
10721 }
10722 ],
10723 "html": "<div></div>",
10724 "noQuirksBodyHtml": "<div></div>"
10725 }
10726 },
10727 {
10728 "data": "<figure></figure>",
10729 "errors": [],
10730 "fragment": {
10731 "name": "desc",
10732 "ns": "http://www.w3.org/2000/svg"
10733 },
10734 "document": {
10735 "props": {
10736 "tags": {
10737 "figure": true
10738 }
10739 },
10740 "tree": [
10741 {
10742 "tag": "figure"
10743 }
10744 ],
10745 "html": "<figure></figure>",
10746 "noQuirksBodyHtml": "<figure></figure>"
10747 }
10748 },
10749 {
10750 "data": "<plaintext><foo>",
10751 "errors": [
10752 "(1,16): expected-closing-tag-but-got-eof"
10753 ],
10754 "fragment": {
10755 "name": "desc",
10756 "ns": "http://www.w3.org/2000/svg"
10757 },
10758 "document": {
10759 "props": {
10760 "tags": {
10761 "plaintext": true
10762 },
10763 "no_escape": true
10764 },
10765 "tree": [
10766 {
10767 "tag": "plaintext",
10768 "children": [
10769 {
10770 "text": "<foo>",
10771 "no_escape": true
10772 }
10773 ]
10774 }
10775 ],
10776 "html": "<plaintext><foo></plaintext>",
10777 "noQuirksBodyHtml": "<plaintext><foo></plaintext>"
10778 }
10779 },
10780 {
10781 "data": "<frameset>X",
10782 "errors": [
10783 "6: Stray start tag “frameset”."
10784 ],
10785 "fragment": {
10786 "name": "desc",
10787 "ns": "http://www.w3.org/2000/svg"
10788 },
10789 "document": {
10790 "props": {
10791 "tags": {}
10792 },
10793 "tree": [
10794 {
10795 "text": "X"
10796 }
10797 ],
10798 "html": "X",
10799 "noQuirksBodyHtml": "X"
10800 }
10801 },
10802 {
10803 "data": "<head>X",
10804 "errors": [
10805 "6: Stray start tag “head”."
10806 ],
10807 "fragment": {
10808 "name": "desc",
10809 "ns": "http://www.w3.org/2000/svg"
10810 },
10811 "document": {
10812 "props": {
10813 "tags": {}
10814 },
10815 "tree": [
10816 {
10817 "text": "X"
10818 }
10819 ],
10820 "html": "X",
10821 "noQuirksBodyHtml": "X"
10822 }
10823 },
10824 {
10825 "data": "<body>X",
10826 "errors": [
10827 "6: Stray start tag “body”."
10828 ],
10829 "fragment": {
10830 "name": "desc",
10831 "ns": "http://www.w3.org/2000/svg"
10832 },
10833 "document": {
10834 "props": {
10835 "tags": {}
10836 },
10837 "tree": [
10838 {
10839 "text": "X"
10840 }
10841 ],
10842 "html": "X",
10843 "noQuirksBodyHtml": "X"
10844 }
10845 },
10846 {
10847 "data": "<html>X",
10848 "errors": [
10849 "6: Stray start tag “html”."
10850 ],
10851 "fragment": {
10852 "name": "desc",
10853 "ns": "http://www.w3.org/2000/svg"
10854 },
10855 "document": {
10856 "props": {
10857 "tags": {}
10858 },
10859 "tree": [
10860 {
10861 "text": "X"
10862 }
10863 ],
10864 "html": "X",
10865 "noQuirksBodyHtml": "X"
10866 }
10867 },
10868 {
10869 "data": "<html class=\"foo\">X",
10870 "errors": [
10871 "6: Stray start tag “html”."
10872 ],
10873 "fragment": {
10874 "name": "desc",
10875 "ns": "http://www.w3.org/2000/svg"
10876 },
10877 "document": {
10878 "props": {
10879 "tags": {}
10880 },
10881 "tree": [
10882 {
10883 "text": "X"
10884 }
10885 ],
10886 "html": "X",
10887 "noQuirksBodyHtml": "X"
10888 }
10889 },
10890 {
10891 "data": "<body class=\"foo\">X",
10892 "errors": [
10893 "6: Stray start tag “body”."
10894 ],
10895 "fragment": {
10896 "name": "desc",
10897 "ns": "http://www.w3.org/2000/svg"
10898 },
10899 "document": {
10900 "props": {
10901 "tags": {}
10902 },
10903 "tree": [
10904 {
10905 "text": "X"
10906 }
10907 ],
10908 "html": "X",
10909 "noQuirksBodyHtml": "X"
10910 }
10911 }
10912 ],
10913 "html5test-com.dat": [
10914 {
10915 "data": "<div<div>",
10916 "errors": [
10917 "(1,9): expected-doctype-but-got-start-tag",
10918 "(1,9): expected-closing-tag-but-got-eof"
10919 ],
10920 "document": {
10921 "props": {
10922 "tags": {
10923 "html": true,
10924 "head": true,
10925 "body": true,
10926 "div<div": true
10927 },
10928 "tagWithLt": true
10929 },
10930 "tree": [
10931 {
10932 "tag": "html",
10933 "children": [
10934 {
10935 "tag": "head"
10936 },
10937 {
10938 "tag": "body",
10939 "children": [
10940 {
10941 "tag": "div<div"
10942 }
10943 ]
10944 }
10945 ]
10946 }
10947 ],
10948 "html": "<html><head></head><body><div<div></div<div></body></html>",
10949 "noQuirksBodyHtml": "<div<div></div<div>"
10950 }
10951 },
10952 {
10953 "data": "<div foo<bar=''>",
10954 "errors": [
10955 "(1,9): invalid-character-in-attribute-name",
10956 "(1,16): expected-doctype-but-got-start-tag",
10957 "(1,16): expected-closing-tag-but-got-eof"
10958 ],
10959 "document": {
10960 "props": {
10961 "tags": {
10962 "html": true,
10963 "head": true,
10964 "body": true,
10965 "div": true
10966 },
10967 "attrWithFunnyChar": true
10968 },
10969 "tree": [
10970 {
10971 "tag": "html",
10972 "children": [
10973 {
10974 "tag": "head"
10975 },
10976 {
10977 "tag": "body",
10978 "children": [
10979 {
10980 "tag": "div",
10981 "attrs": [
10982 {
10983 "name": "foo<bar",
10984 "value": ""
10985 }
10986 ]
10987 }
10988 ]
10989 }
10990 ]
10991 }
10992 ],
10993 "html": "<html><head></head><body><div foo<bar=\"\"></div></body></html>",
10994 "noQuirksBodyHtml": "<div foo<bar=\"\"></div>"
10995 }
10996 },
10997 {
10998 "data": "<div foo=`bar`>",
10999 "errors": [
11000 "(1,10): equals-in-unquoted-attribute-value",
11001 "(1,14): unexpected-character-in-unquoted-attribute-value",
11002 "(1,15): expected-doctype-but-got-start-tag",
11003 "(1,15): expected-closing-tag-but-got-eof"
11004 ],
11005 "document": {
11006 "props": {
11007 "tags": {
11008 "html": true,
11009 "head": true,
11010 "body": true,
11011 "div": true
11012 }
11013 },
11014 "tree": [
11015 {
11016 "tag": "html",
11017 "children": [
11018 {
11019 "tag": "head"
11020 },
11021 {
11022 "tag": "body",
11023 "children": [
11024 {
11025 "tag": "div",
11026 "attrs": [
11027 {
11028 "name": "foo",
11029 "value": "`bar`"
11030 }
11031 ]
11032 }
11033 ]
11034 }
11035 ]
11036 }
11037 ],
11038 "html": "<html><head></head><body><div foo=\"`bar`\"></div></body></html>",
11039 "noQuirksBodyHtml": "<div foo=\"`bar`\"></div>"
11040 }
11041 },
11042 {
11043 "data": "<div \\\"foo=''>",
11044 "errors": [
11045 "(1,7): invalid-character-in-attribute-name",
11046 "(1,14): expected-doctype-but-got-start-tag",
11047 "(1,14): expected-closing-tag-but-got-eof"
11048 ],
11049 "document": {
11050 "props": {
11051 "tags": {
11052 "html": true,
11053 "head": true,
11054 "body": true,
11055 "div": true
11056 },
11057 "attrWithFunnyChar": true
11058 },
11059 "tree": [
11060 {
11061 "tag": "html",
11062 "children": [
11063 {
11064 "tag": "head"
11065 },
11066 {
11067 "tag": "body",
11068 "children": [
11069 {
11070 "tag": "div",
11071 "attrs": [
11072 {
11073 "name": "\\\"foo",
11074 "value": ""
11075 }
11076 ]
11077 }
11078 ]
11079 }
11080 ]
11081 }
11082 ],
11083 "html": "<html><head></head><body><div \\\"foo=\"\"></div></body></html>",
11084 "noQuirksBodyHtml": "<div \\\"foo=\"\"></div>"
11085 }
11086 },
11087 {
11088 "data": "<a href='\\nbar'></a>",
11089 "errors": [
11090 "(1,16): expected-doctype-but-got-start-tag"
11091 ],
11092 "document": {
11093 "props": {
11094 "tags": {
11095 "html": true,
11096 "head": true,
11097 "body": true,
11098 "a": true
11099 }
11100 },
11101 "tree": [
11102 {
11103 "tag": "html",
11104 "children": [
11105 {
11106 "tag": "head"
11107 },
11108 {
11109 "tag": "body",
11110 "children": [
11111 {
11112 "tag": "a",
11113 "attrs": [
11114 {
11115 "name": "href",
11116 "value": "\\nbar"
11117 }
11118 ]
11119 }
11120 ]
11121 }
11122 ]
11123 }
11124 ],
11125 "html": "<html><head></head><body><a href=\"\\nbar\"></a></body></html>",
11126 "noQuirksBodyHtml": "<a href=\"\\nbar\"></a>"
11127 }
11128 },
11129 {
11130 "data": "<!DOCTYPE html>",
11131 "errors": [],
11132 "document": {
11133 "props": {
11134 "tags": {
11135 "html": true,
11136 "head": true,
11137 "body": true
11138 },
11139 "doctype": true
11140 },
11141 "tree": [
11142 {
11143 "doctype": "html"
11144 },
11145 {
11146 "tag": "html",
11147 "children": [
11148 {
11149 "tag": "head"
11150 },
11151 {
11152 "tag": "body"
11153 }
11154 ]
11155 }
11156 ],
11157 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
11158 "noQuirksBodyHtml": ""
11159 }
11160 },
11161 {
11162 "data": "&lang;&rang;",
11163 "errors": [
11164 "(1,6): expected-doctype-but-got-chars"
11165 ],
11166 "document": {
11167 "props": {
11168 "tags": {
11169 "html": true,
11170 "head": true,
11171 "body": true
11172 }
11173 },
11174 "tree": [
11175 {
11176 "tag": "html",
11177 "children": [
11178 {
11179 "tag": "head"
11180 },
11181 {
11182 "tag": "body",
11183 "children": [
11184 {
11185 "text": "⟨⟩"
11186 }
11187 ]
11188 }
11189 ]
11190 }
11191 ],
11192 "html": "<html><head></head><body>⟨⟩</body></html>",
11193 "noQuirksBodyHtml": "⟨⟩"
11194 }
11195 },
11196 {
11197 "data": "&apos;",
11198 "errors": [
11199 "(1,6): expected-doctype-but-got-chars"
11200 ],
11201 "document": {
11202 "props": {
11203 "tags": {
11204 "html": true,
11205 "head": true,
11206 "body": true
11207 }
11208 },
11209 "tree": [
11210 {
11211 "tag": "html",
11212 "children": [
11213 {
11214 "tag": "head"
11215 },
11216 {
11217 "tag": "body",
11218 "children": [
11219 {
11220 "text": "'"
11221 }
11222 ]
11223 }
11224 ]
11225 }
11226 ],
11227 "html": "<html><head></head><body>'</body></html>",
11228 "noQuirksBodyHtml": "'"
11229 }
11230 },
11231 {
11232 "data": "&ImaginaryI;",
11233 "errors": [
11234 "(1,12): expected-doctype-but-got-chars"
11235 ],
11236 "document": {
11237 "props": {
11238 "tags": {
11239 "html": true,
11240 "head": true,
11241 "body": true
11242 }
11243 },
11244 "tree": [
11245 {
11246 "tag": "html",
11247 "children": [
11248 {
11249 "tag": "head"
11250 },
11251 {
11252 "tag": "body",
11253 "children": [
11254 {
11255 "text": "ⅈ"
11256 }
11257 ]
11258 }
11259 ]
11260 }
11261 ],
11262 "html": "<html><head></head><body>ⅈ</body></html>",
11263 "noQuirksBodyHtml": "ⅈ"
11264 }
11265 },
11266 {
11267 "data": "&Kopf;",
11268 "errors": [
11269 "(1,6): expected-doctype-but-got-chars"
11270 ],
11271 "document": {
11272 "props": {
11273 "tags": {
11274 "html": true,
11275 "head": true,
11276 "body": true
11277 }
11278 },
11279 "tree": [
11280 {
11281 "tag": "html",
11282 "children": [
11283 {
11284 "tag": "head"
11285 },
11286 {
11287 "tag": "body",
11288 "children": [
11289 {
11290 "text": "𝕂"
11291 }
11292 ]
11293 }
11294 ]
11295 }
11296 ],
11297 "html": "<html><head></head><body>𝕂</body></html>",
11298 "noQuirksBodyHtml": "𝕂"
11299 }
11300 },
11301 {
11302 "data": "&notinva;",
11303 "errors": [
11304 "(1,9): expected-doctype-but-got-chars"
11305 ],
11306 "document": {
11307 "props": {
11308 "tags": {
11309 "html": true,
11310 "head": true,
11311 "body": true
11312 }
11313 },
11314 "tree": [
11315 {
11316 "tag": "html",
11317 "children": [
11318 {
11319 "tag": "head"
11320 },
11321 {
11322 "tag": "body",
11323 "children": [
11324 {
11325 "text": "∉"
11326 }
11327 ]
11328 }
11329 ]
11330 }
11331 ],
11332 "html": "<html><head></head><body>∉</body></html>",
11333 "noQuirksBodyHtml": "∉"
11334 }
11335 },
11336 {
11337 "data": "<?import namespace=\"foo\" implementation=\"#bar\">",
11338 "errors": [
11339 "(1,1): expected-tag-name-but-got-question-mark",
11340 "(1,47): expected-doctype-but-got-eof"
11341 ],
11342 "document": {
11343 "props": {
11344 "tags": {
11345 "html": true,
11346 "head": true,
11347 "body": true
11348 },
11349 "comment": true
11350 },
11351 "tree": [
11352 {
11353 "comment": "?import namespace=\"foo\" implementation=\"#bar\""
11354 },
11355 {
11356 "tag": "html",
11357 "children": [
11358 {
11359 "tag": "head"
11360 },
11361 {
11362 "tag": "body"
11363 }
11364 ]
11365 }
11366 ],
11367 "html": "<!--?import namespace=\"foo\" implementation=\"#bar\"--><html><head></head><body></body></html>",
11368 "noQuirksBodyHtml": "<!--?import namespace=\"foo\" implementation=\"#bar\"-->"
11369 }
11370 },
11371 {
11372 "data": "<!--foo--bar-->",
11373 "errors": [
11374 "(1,10): unexpected-char-in-comment",
11375 "(1,15): expected-doctype-but-got-eof"
11376 ],
11377 "document": {
11378 "props": {
11379 "tags": {
11380 "html": true,
11381 "head": true,
11382 "body": true
11383 },
11384 "comment": true
11385 },
11386 "tree": [
11387 {
11388 "comment": "foo--bar"
11389 },
11390 {
11391 "tag": "html",
11392 "children": [
11393 {
11394 "tag": "head"
11395 },
11396 {
11397 "tag": "body"
11398 }
11399 ]
11400 }
11401 ],
11402 "html": "<!--foo--bar--><html><head></head><body></body></html>",
11403 "noQuirksBodyHtml": "<!--foo--bar-->"
11404 }
11405 },
11406 {
11407 "data": "<![CDATA[x]]>",
11408 "errors": [
11409 "(1,2): expected-dashes-or-doctype",
11410 "(1,13): expected-doctype-but-got-eof"
11411 ],
11412 "document": {
11413 "props": {
11414 "tags": {
11415 "html": true,
11416 "head": true,
11417 "body": true
11418 },
11419 "comment": true
11420 },
11421 "tree": [
11422 {
11423 "comment": "[CDATA[x]]"
11424 },
11425 {
11426 "tag": "html",
11427 "children": [
11428 {
11429 "tag": "head"
11430 },
11431 {
11432 "tag": "body"
11433 }
11434 ]
11435 }
11436 ],
11437 "html": "<!--[CDATA[x]]--><html><head></head><body></body></html>",
11438 "noQuirksBodyHtml": "<!--[CDATA[x]]-->"
11439 }
11440 },
11441 {
11442 "data": "<textarea><!--</textarea>--></textarea>",
11443 "errors": [
11444 "(1,10): expected-doctype-but-got-start-tag",
11445 "(1,39): unexpected-end-tag"
11446 ],
11447 "document": {
11448 "props": {
11449 "tags": {
11450 "html": true,
11451 "head": true,
11452 "body": true,
11453 "textarea": true
11454 },
11455 "escaped": true
11456 },
11457 "tree": [
11458 {
11459 "tag": "html",
11460 "children": [
11461 {
11462 "tag": "head"
11463 },
11464 {
11465 "tag": "body",
11466 "children": [
11467 {
11468 "tag": "textarea",
11469 "children": [
11470 {
11471 "text": "<!--",
11472 "escaped": true
11473 }
11474 ]
11475 },
11476 {
11477 "text": "-->",
11478 "escaped": true
11479 }
11480 ]
11481 }
11482 ]
11483 }
11484 ],
11485 "html": "<html><head></head><body><textarea>&lt;!--</textarea>--&gt;</body></html>",
11486 "noQuirksBodyHtml": "<textarea>&lt;!--</textarea>--&gt;"
11487 }
11488 },
11489 {
11490 "data": "<textarea><!--</textarea>-->",
11491 "errors": [
11492 "(1,10): expected-doctype-but-got-start-tag"
11493 ],
11494 "document": {
11495 "props": {
11496 "tags": {
11497 "html": true,
11498 "head": true,
11499 "body": true,
11500 "textarea": true
11501 },
11502 "escaped": true
11503 },
11504 "tree": [
11505 {
11506 "tag": "html",
11507 "children": [
11508 {
11509 "tag": "head"
11510 },
11511 {
11512 "tag": "body",
11513 "children": [
11514 {
11515 "tag": "textarea",
11516 "children": [
11517 {
11518 "text": "<!--",
11519 "escaped": true
11520 }
11521 ]
11522 },
11523 {
11524 "text": "-->",
11525 "escaped": true
11526 }
11527 ]
11528 }
11529 ]
11530 }
11531 ],
11532 "html": "<html><head></head><body><textarea>&lt;!--</textarea>--&gt;</body></html>",
11533 "noQuirksBodyHtml": "<textarea>&lt;!--</textarea>--&gt;"
11534 }
11535 },
11536 {
11537 "data": "<style><!--</style>--></style>",
11538 "errors": [
11539 "(1,7): expected-doctype-but-got-start-tag",
11540 "(1,30): unexpected-end-tag"
11541 ],
11542 "document": {
11543 "props": {
11544 "tags": {
11545 "html": true,
11546 "head": true,
11547 "style": true,
11548 "body": true
11549 },
11550 "no_escape": true,
11551 "escaped": true
11552 },
11553 "tree": [
11554 {
11555 "tag": "html",
11556 "children": [
11557 {
11558 "tag": "head",
11559 "children": [
11560 {
11561 "tag": "style",
11562 "children": [
11563 {
11564 "text": "<!--",
11565 "no_escape": true
11566 }
11567 ]
11568 }
11569 ]
11570 },
11571 {
11572 "tag": "body",
11573 "children": [
11574 {
11575 "text": "-->",
11576 "escaped": true
11577 }
11578 ]
11579 }
11580 ]
11581 }
11582 ],
11583 "html": "<html><head><style><!--</style></head><body>--&gt;</body></html>",
11584 "noQuirksBodyHtml": "<style><!--</style>--&gt;"
11585 }
11586 },
11587 {
11588 "data": "<style><!--</style>-->",
11589 "errors": [
11590 "(1,7): expected-doctype-but-got-start-tag"
11591 ],
11592 "document": {
11593 "props": {
11594 "tags": {
11595 "html": true,
11596 "head": true,
11597 "style": true,
11598 "body": true
11599 },
11600 "no_escape": true,
11601 "escaped": true
11602 },
11603 "tree": [
11604 {
11605 "tag": "html",
11606 "children": [
11607 {
11608 "tag": "head",
11609 "children": [
11610 {
11611 "tag": "style",
11612 "children": [
11613 {
11614 "text": "<!--",
11615 "no_escape": true
11616 }
11617 ]
11618 }
11619 ]
11620 },
11621 {
11622 "tag": "body",
11623 "children": [
11624 {
11625 "text": "-->",
11626 "escaped": true
11627 }
11628 ]
11629 }
11630 ]
11631 }
11632 ],
11633 "html": "<html><head><style><!--</style></head><body>--&gt;</body></html>",
11634 "noQuirksBodyHtml": "<style><!--</style>--&gt;"
11635 }
11636 },
11637 {
11638 "data": "<ul><li>A </li> <li>B</li></ul>",
11639 "errors": [
11640 "(1,4): expected-doctype-but-got-start-tag"
11641 ],
11642 "document": {
11643 "props": {
11644 "tags": {
11645 "html": true,
11646 "head": true,
11647 "body": true,
11648 "ul": true,
11649 "li": true
11650 }
11651 },
11652 "tree": [
11653 {
11654 "tag": "html",
11655 "children": [
11656 {
11657 "tag": "head"
11658 },
11659 {
11660 "tag": "body",
11661 "children": [
11662 {
11663 "tag": "ul",
11664 "children": [
11665 {
11666 "tag": "li",
11667 "children": [
11668 {
11669 "text": "A "
11670 }
11671 ]
11672 },
11673 {
11674 "text": " "
11675 },
11676 {
11677 "tag": "li",
11678 "children": [
11679 {
11680 "text": "B"
11681 }
11682 ]
11683 }
11684 ]
11685 }
11686 ]
11687 }
11688 ]
11689 }
11690 ],
11691 "html": "<html><head></head><body><ul><li>A </li> <li>B</li></ul></body></html>",
11692 "noQuirksBodyHtml": "<ul><li>A </li> <li>B</li></ul>"
11693 }
11694 },
11695 {
11696 "data": "<table><form><input type=hidden><input></form><div></div></table>",
11697 "errors": [
11698 "(1,7): expected-doctype-but-got-start-tag",
11699 "(1,13): unexpected-form-in-table",
11700 "(1,32): unexpected-hidden-input-in-table",
11701 "(1,39): unexpected-start-tag-implies-table-voodoo",
11702 "(1,46): unexpected-end-tag-implies-table-voodoo",
11703 "(1,46): unexpected-end-tag",
11704 "(1,51): unexpected-start-tag-implies-table-voodoo",
11705 "(1,57): unexpected-end-tag-implies-table-voodoo"
11706 ],
11707 "document": {
11708 "props": {
11709 "tags": {
11710 "html": true,
11711 "head": true,
11712 "body": true,
11713 "input": true,
11714 "div": true,
11715 "table": true,
11716 "form": true
11717 }
11718 },
11719 "tree": [
11720 {
11721 "tag": "html",
11722 "children": [
11723 {
11724 "tag": "head"
11725 },
11726 {
11727 "tag": "body",
11728 "children": [
11729 {
11730 "tag": "input"
11731 },
11732 {
11733 "tag": "div"
11734 },
11735 {
11736 "tag": "table",
11737 "children": [
11738 {
11739 "tag": "form"
11740 },
11741 {
11742 "tag": "input",
11743 "attrs": [
11744 {
11745 "name": "type",
11746 "value": "hidden"
11747 }
11748 ]
11749 }
11750 ]
11751 }
11752 ]
11753 }
11754 ]
11755 }
11756 ],
11757 "html": "<html><head></head><body><input><div></div><table><form></form><input type=\"hidden\"></table></body></html>",
11758 "noQuirksBodyHtml": "<input><div></div><table><form></form><input type=\"hidden\"></table>"
11759 }
11760 },
11761 {
11762 "data": "<i>A<b>B<p></i>C</b>D",
11763 "errors": [
11764 "(1,3): expected-doctype-but-got-start-tag",
11765 "(1,15): adoption-agency-1.3",
11766 "(1,20): adoption-agency-1.3"
11767 ],
11768 "document": {
11769 "props": {
11770 "tags": {
11771 "html": true,
11772 "head": true,
11773 "body": true,
11774 "i": true,
11775 "b": true,
11776 "p": true
11777 }
11778 },
11779 "tree": [
11780 {
11781 "tag": "html",
11782 "children": [
11783 {
11784 "tag": "head"
11785 },
11786 {
11787 "tag": "body",
11788 "children": [
11789 {
11790 "tag": "i",
11791 "children": [
11792 {
11793 "text": "A"
11794 },
11795 {
11796 "tag": "b",
11797 "children": [
11798 {
11799 "text": "B"
11800 }
11801 ]
11802 }
11803 ]
11804 },
11805 {
11806 "tag": "b"
11807 },
11808 {
11809 "tag": "p",
11810 "children": [
11811 {
11812 "tag": "b",
11813 "children": [
11814 {
11815 "tag": "i"
11816 },
11817 {
11818 "text": "C"
11819 }
11820 ]
11821 },
11822 {
11823 "text": "D"
11824 }
11825 ]
11826 }
11827 ]
11828 }
11829 ]
11830 }
11831 ],
11832 "html": "<html><head></head><body><i>A<b>B</b></i><b></b><p><b><i></i>C</b>D</p></body></html>",
11833 "noQuirksBodyHtml": "<i>A<b>B</b></i><b></b><p><b><i></i>C</b>D</p>"
11834 }
11835 },
11836 {
11837 "data": "<div></div>",
11838 "errors": [
11839 "(1,5): expected-doctype-but-got-start-tag"
11840 ],
11841 "document": {
11842 "props": {
11843 "tags": {
11844 "html": true,
11845 "head": true,
11846 "body": true,
11847 "div": true
11848 }
11849 },
11850 "tree": [
11851 {
11852 "tag": "html",
11853 "children": [
11854 {
11855 "tag": "head"
11856 },
11857 {
11858 "tag": "body",
11859 "children": [
11860 {
11861 "tag": "div"
11862 }
11863 ]
11864 }
11865 ]
11866 }
11867 ],
11868 "html": "<html><head></head><body><div></div></body></html>",
11869 "noQuirksBodyHtml": "<div></div>"
11870 }
11871 },
11872 {
11873 "data": "<svg></svg>",
11874 "errors": [
11875 "(1,5): expected-doctype-but-got-start-tag"
11876 ],
11877 "document": {
11878 "props": {
11879 "tags": {
11880 "html": true,
11881 "head": true,
11882 "body": true,
11883 "svg svg": true
11884 }
11885 },
11886 "tree": [
11887 {
11888 "tag": "html",
11889 "children": [
11890 {
11891 "tag": "head"
11892 },
11893 {
11894 "tag": "body",
11895 "children": [
11896 {
11897 "tag": "svg",
11898 "ns": "http://www.w3.org/2000/svg"
11899 }
11900 ]
11901 }
11902 ]
11903 }
11904 ],
11905 "html": "<html><head></head><body><svg></svg></body></html>",
11906 "noQuirksBodyHtml": "<svg></svg>"
11907 }
11908 },
11909 {
11910 "data": "<math></math>",
11911 "errors": [
11912 "(1,6): expected-doctype-but-got-start-tag"
11913 ],
11914 "document": {
11915 "props": {
11916 "tags": {
11917 "html": true,
11918 "head": true,
11919 "body": true,
11920 "math math": true
11921 }
11922 },
11923 "tree": [
11924 {
11925 "tag": "html",
11926 "children": [
11927 {
11928 "tag": "head"
11929 },
11930 {
11931 "tag": "body",
11932 "children": [
11933 {
11934 "tag": "math",
11935 "ns": "http://www.w3.org/1998/Math/MathML"
11936 }
11937 ]
11938 }
11939 ]
11940 }
11941 ],
11942 "html": "<html><head></head><body><math></math></body></html>",
11943 "noQuirksBodyHtml": "<math></math>"
11944 }
11945 }
11946 ],
11947 "inbody01.dat": [
11948 {
11949 "data": "<button>1</foo>",
11950 "errors": [
11951 "(1,8): expected-doctype-but-got-start-tag",
11952 "(1,15): unexpected-end-tag",
11953 "(1,15): expected-closing-tag-but-got-eof"
11954 ],
11955 "document": {
11956 "props": {
11957 "tags": {
11958 "html": true,
11959 "head": true,
11960 "body": true,
11961 "button": true
11962 }
11963 },
11964 "tree": [
11965 {
11966 "tag": "html",
11967 "children": [
11968 {
11969 "tag": "head"
11970 },
11971 {
11972 "tag": "body",
11973 "children": [
11974 {
11975 "tag": "button",
11976 "children": [
11977 {
11978 "text": "1"
11979 }
11980 ]
11981 }
11982 ]
11983 }
11984 ]
11985 }
11986 ],
11987 "html": "<html><head></head><body><button>1</button></body></html>",
11988 "noQuirksBodyHtml": "<button>1</button>"
11989 }
11990 },
11991 {
11992 "data": "<foo>1<p>2</foo>",
11993 "errors": [
11994 "(1,5): expected-doctype-but-got-start-tag",
11995 "(1,16): unexpected-end-tag",
11996 "(1,16): expected-closing-tag-but-got-eof"
11997 ],
11998 "document": {
11999 "props": {
12000 "tags": {
12001 "html": true,
12002 "head": true,
12003 "body": true,
12004 "foo": true,
12005 "p": true
12006 }
12007 },
12008 "tree": [
12009 {
12010 "tag": "html",
12011 "children": [
12012 {
12013 "tag": "head"
12014 },
12015 {
12016 "tag": "body",
12017 "children": [
12018 {
12019 "tag": "foo",
12020 "children": [
12021 {
12022 "text": "1"
12023 },
12024 {
12025 "tag": "p",
12026 "children": [
12027 {
12028 "text": "2"
12029 }
12030 ]
12031 }
12032 ]
12033 }
12034 ]
12035 }
12036 ]
12037 }
12038 ],
12039 "html": "<html><head></head><body><foo>1<p>2</p></foo></body></html>",
12040 "noQuirksBodyHtml": "<foo>1<p>2</p></foo>"
12041 }
12042 },
12043 {
12044 "data": "<dd>1</foo>",
12045 "errors": [
12046 "(1,4): expected-doctype-but-got-start-tag",
12047 "(1,11): unexpected-end-tag"
12048 ],
12049 "document": {
12050 "props": {
12051 "tags": {
12052 "html": true,
12053 "head": true,
12054 "body": true,
12055 "dd": true
12056 }
12057 },
12058 "tree": [
12059 {
12060 "tag": "html",
12061 "children": [
12062 {
12063 "tag": "head"
12064 },
12065 {
12066 "tag": "body",
12067 "children": [
12068 {
12069 "tag": "dd",
12070 "children": [
12071 {
12072 "text": "1"
12073 }
12074 ]
12075 }
12076 ]
12077 }
12078 ]
12079 }
12080 ],
12081 "html": "<html><head></head><body><dd>1</dd></body></html>",
12082 "noQuirksBodyHtml": "<dd>1</dd>"
12083 }
12084 },
12085 {
12086 "data": "<foo>1<dd>2</foo>",
12087 "errors": [
12088 "(1,5): expected-doctype-but-got-start-tag",
12089 "(1,17): unexpected-end-tag",
12090 "(1,17): expected-closing-tag-but-got-eof"
12091 ],
12092 "document": {
12093 "props": {
12094 "tags": {
12095 "html": true,
12096 "head": true,
12097 "body": true,
12098 "foo": true,
12099 "dd": true
12100 }
12101 },
12102 "tree": [
12103 {
12104 "tag": "html",
12105 "children": [
12106 {
12107 "tag": "head"
12108 },
12109 {
12110 "tag": "body",
12111 "children": [
12112 {
12113 "tag": "foo",
12114 "children": [
12115 {
12116 "text": "1"
12117 },
12118 {
12119 "tag": "dd",
12120 "children": [
12121 {
12122 "text": "2"
12123 }
12124 ]
12125 }
12126 ]
12127 }
12128 ]
12129 }
12130 ]
12131 }
12132 ],
12133 "html": "<html><head></head><body><foo>1<dd>2</dd></foo></body></html>",
12134 "noQuirksBodyHtml": "<foo>1<dd>2</dd></foo>"
12135 }
12136 }
12137 ],
12138 "isindex.dat": [
12139 {
12140 "data": "<isindex>",
12141 "errors": [
12142 "(1,9): expected-doctype-but-got-start-tag",
12143 "(1,9): expected-closing-tag-but-got-eof"
12144 ],
12145 "document": {
12146 "props": {
12147 "tags": {
12148 "html": true,
12149 "head": true,
12150 "body": true,
12151 "isindex": true
12152 }
12153 },
12154 "tree": [
12155 {
12156 "tag": "html",
12157 "children": [
12158 {
12159 "tag": "head"
12160 },
12161 {
12162 "tag": "body",
12163 "children": [
12164 {
12165 "tag": "isindex"
12166 }
12167 ]
12168 }
12169 ]
12170 }
12171 ],
12172 "html": "<html><head></head><body><isindex></isindex></body></html>",
12173 "noQuirksBodyHtml": "<isindex></isindex>"
12174 }
12175 },
12176 {
12177 "data": "<isindex name=\"A\" action=\"B\" prompt=\"C\" foo=\"D\">",
12178 "errors": [
12179 "(1,48): expected-doctype-but-got-start-tag",
12180 "(1,48): expected-closing-tag-but-got-eof"
12181 ],
12182 "document": {
12183 "props": {
12184 "tags": {
12185 "html": true,
12186 "head": true,
12187 "body": true,
12188 "isindex": true
12189 }
12190 },
12191 "tree": [
12192 {
12193 "tag": "html",
12194 "children": [
12195 {
12196 "tag": "head"
12197 },
12198 {
12199 "tag": "body",
12200 "children": [
12201 {
12202 "tag": "isindex",
12203 "attrs": [
12204 {
12205 "name": "action",
12206 "value": "B"
12207 },
12208 {
12209 "name": "foo",
12210 "value": "D"
12211 },
12212 {
12213 "name": "name",
12214 "value": "A"
12215 },
12216 {
12217 "name": "prompt",
12218 "value": "C"
12219 }
12220 ]
12221 }
12222 ]
12223 }
12224 ]
12225 }
12226 ],
12227 "html": "<html><head></head><body><isindex name=\"A\" action=\"B\" prompt=\"C\" foo=\"D\"></isindex></body></html>",
12228 "noQuirksBodyHtml": "<isindex name=\"A\" action=\"B\" prompt=\"C\" foo=\"D\"></isindex>"
12229 }
12230 },
12231 {
12232 "data": "<form><isindex>",
12233 "errors": [
12234 "(1,6): expected-doctype-but-got-start-tag",
12235 "(1,15): expected-closing-tag-but-got-eof"
12236 ],
12237 "document": {
12238 "props": {
12239 "tags": {
12240 "html": true,
12241 "head": true,
12242 "body": true,
12243 "form": true,
12244 "isindex": true
12245 }
12246 },
12247 "tree": [
12248 {
12249 "tag": "html",
12250 "children": [
12251 {
12252 "tag": "head"
12253 },
12254 {
12255 "tag": "body",
12256 "children": [
12257 {
12258 "tag": "form",
12259 "children": [
12260 {
12261 "tag": "isindex"
12262 }
12263 ]
12264 }
12265 ]
12266 }
12267 ]
12268 }
12269 ],
12270 "html": "<html><head></head><body><form><isindex></isindex></form></body></html>",
12271 "noQuirksBodyHtml": "<form><isindex></isindex></form>"
12272 }
12273 },
12274 {
12275 "data": "<!doctype html><isindex>x</isindex>x",
12276 "errors": [],
12277 "document": {
12278 "props": {
12279 "tags": {
12280 "html": true,
12281 "head": true,
12282 "body": true,
12283 "isindex": true
12284 },
12285 "doctype": true
12286 },
12287 "tree": [
12288 {
12289 "doctype": "html"
12290 },
12291 {
12292 "tag": "html",
12293 "children": [
12294 {
12295 "tag": "head"
12296 },
12297 {
12298 "tag": "body",
12299 "children": [
12300 {
12301 "tag": "isindex",
12302 "children": [
12303 {
12304 "text": "x"
12305 }
12306 ]
12307 },
12308 {
12309 "text": "x"
12310 }
12311 ]
12312 }
12313 ]
12314 }
12315 ],
12316 "html": "<!DOCTYPE html><html><head></head><body><isindex>x</isindex>x</body></html>",
12317 "noQuirksBodyHtml": "<isindex>x</isindex>x"
12318 }
12319 }
12320 ],
12321 "main-element.dat": [
12322 {
12323 "data": "<!doctype html><p>foo<main>bar<p>baz",
12324 "errors": [
12325 "(1,36): expected-closing-tag-but-got-eof"
12326 ],
12327 "document": {
12328 "props": {
12329 "tags": {
12330 "html": true,
12331 "head": true,
12332 "body": true,
12333 "p": true,
12334 "main": true
12335 },
12336 "doctype": true
12337 },
12338 "tree": [
12339 {
12340 "doctype": "html"
12341 },
12342 {
12343 "tag": "html",
12344 "children": [
12345 {
12346 "tag": "head"
12347 },
12348 {
12349 "tag": "body",
12350 "children": [
12351 {
12352 "tag": "p",
12353 "children": [
12354 {
12355 "text": "foo"
12356 }
12357 ]
12358 },
12359 {
12360 "tag": "main",
12361 "children": [
12362 {
12363 "text": "bar"
12364 },
12365 {
12366 "tag": "p",
12367 "children": [
12368 {
12369 "text": "baz"
12370 }
12371 ]
12372 }
12373 ]
12374 }
12375 ]
12376 }
12377 ]
12378 }
12379 ],
12380 "html": "<!DOCTYPE html><html><head></head><body><p>foo</p><main>bar<p>baz</p></main></body></html>",
12381 "noQuirksBodyHtml": "<p>foo</p><main>bar<p>baz</p></main>"
12382 }
12383 },
12384 {
12385 "data": "<!doctype html><main><p>foo</main>bar",
12386 "errors": [],
12387 "document": {
12388 "props": {
12389 "tags": {
12390 "html": true,
12391 "head": true,
12392 "body": true,
12393 "main": true,
12394 "p": true
12395 },
12396 "doctype": true
12397 },
12398 "tree": [
12399 {
12400 "doctype": "html"
12401 },
12402 {
12403 "tag": "html",
12404 "children": [
12405 {
12406 "tag": "head"
12407 },
12408 {
12409 "tag": "body",
12410 "children": [
12411 {
12412 "tag": "main",
12413 "children": [
12414 {
12415 "tag": "p",
12416 "children": [
12417 {
12418 "text": "foo"
12419 }
12420 ]
12421 }
12422 ]
12423 },
12424 {
12425 "text": "bar"
12426 }
12427 ]
12428 }
12429 ]
12430 }
12431 ],
12432 "html": "<!DOCTYPE html><html><head></head><body><main><p>foo</p></main>bar</body></html>",
12433 "noQuirksBodyHtml": "<main><p>foo</p></main>bar"
12434 }
12435 },
12436 {
12437 "data": "<!DOCTYPE html>xxx<svg><x><g><a><main><b>",
12438 "errors": [
12439 " * (1,42) unexpected HTML-like start tag token in foreign content",
12440 " * (1,42) unexpected end of file"
12441 ],
12442 "document": {
12443 "props": {
12444 "tags": {
12445 "html": true,
12446 "head": true,
12447 "body": true,
12448 "svg svg": true,
12449 "svg x": true,
12450 "svg g": true,
12451 "svg a": true,
12452 "svg main": true,
12453 "b": true
12454 },
12455 "doctype": true
12456 },
12457 "tree": [
12458 {
12459 "doctype": "html"
12460 },
12461 {
12462 "tag": "html",
12463 "children": [
12464 {
12465 "tag": "head"
12466 },
12467 {
12468 "tag": "body",
12469 "children": [
12470 {
12471 "text": "xxx"
12472 },
12473 {
12474 "tag": "svg",
12475 "ns": "http://www.w3.org/2000/svg",
12476 "children": [
12477 {
12478 "tag": "x",
12479 "ns": "http://www.w3.org/2000/svg",
12480 "children": [
12481 {
12482 "tag": "g",
12483 "ns": "http://www.w3.org/2000/svg",
12484 "children": [
12485 {
12486 "tag": "a",
12487 "ns": "http://www.w3.org/2000/svg",
12488 "children": [
12489 {
12490 "tag": "main",
12491 "ns": "http://www.w3.org/2000/svg"
12492 }
12493 ]
12494 }
12495 ]
12496 }
12497 ]
12498 }
12499 ]
12500 },
12501 {
12502 "tag": "b"
12503 }
12504 ]
12505 }
12506 ]
12507 }
12508 ],
12509 "html": "<!DOCTYPE html><html><head></head><body>xxx<svg><x><g><a><main></main></a></g></x></svg><b></b></body></html>",
12510 "noQuirksBodyHtml": "xxx<svg><x><g><a><main><b></b></main></a></g></x></svg>"
12511 }
12512 }
12513 ],
12514 "math.dat": [
12515 {
12516 "data": "<math><tr><td><mo><tr>",
12517 "errors": [],
12518 "fragment": {
12519 "name": "td"
12520 },
12521 "document": {
12522 "props": {
12523 "tags": {
12524 "math math": true,
12525 "math tr": true,
12526 "math td": true,
12527 "math mo": true
12528 }
12529 },
12530 "tree": [
12531 {
12532 "tag": "math",
12533 "ns": "http://www.w3.org/1998/Math/MathML",
12534 "children": [
12535 {
12536 "tag": "tr",
12537 "ns": "http://www.w3.org/1998/Math/MathML",
12538 "children": [
12539 {
12540 "tag": "td",
12541 "ns": "http://www.w3.org/1998/Math/MathML",
12542 "children": [
12543 {
12544 "tag": "mo",
12545 "ns": "http://www.w3.org/1998/Math/MathML"
12546 }
12547 ]
12548 }
12549 ]
12550 }
12551 ]
12552 }
12553 ],
12554 "html": "<math><tr><td><mo></mo></td></tr></math>",
12555 "noQuirksBodyHtml": "<math><tr><td><mo></mo></td></tr></math>"
12556 }
12557 },
12558 {
12559 "data": "<math><tr><td><mo><tr>",
12560 "errors": [],
12561 "fragment": {
12562 "name": "tr"
12563 },
12564 "document": {
12565 "props": {
12566 "tags": {
12567 "math math": true,
12568 "math tr": true,
12569 "math td": true,
12570 "math mo": true
12571 }
12572 },
12573 "tree": [
12574 {
12575 "tag": "math",
12576 "ns": "http://www.w3.org/1998/Math/MathML",
12577 "children": [
12578 {
12579 "tag": "tr",
12580 "ns": "http://www.w3.org/1998/Math/MathML",
12581 "children": [
12582 {
12583 "tag": "td",
12584 "ns": "http://www.w3.org/1998/Math/MathML",
12585 "children": [
12586 {
12587 "tag": "mo",
12588 "ns": "http://www.w3.org/1998/Math/MathML"
12589 }
12590 ]
12591 }
12592 ]
12593 }
12594 ]
12595 }
12596 ],
12597 "html": "<math><tr><td><mo></mo></td></tr></math>",
12598 "noQuirksBodyHtml": "<math><tr><td><mo></mo></td></tr></math>"
12599 }
12600 },
12601 {
12602 "data": "<math><thead><mo><tbody>",
12603 "errors": [],
12604 "fragment": {
12605 "name": "thead"
12606 },
12607 "document": {
12608 "props": {
12609 "tags": {
12610 "math math": true,
12611 "math thead": true,
12612 "math mo": true
12613 }
12614 },
12615 "tree": [
12616 {
12617 "tag": "math",
12618 "ns": "http://www.w3.org/1998/Math/MathML",
12619 "children": [
12620 {
12621 "tag": "thead",
12622 "ns": "http://www.w3.org/1998/Math/MathML",
12623 "children": [
12624 {
12625 "tag": "mo",
12626 "ns": "http://www.w3.org/1998/Math/MathML"
12627 }
12628 ]
12629 }
12630 ]
12631 }
12632 ],
12633 "html": "<math><thead><mo></mo></thead></math>",
12634 "noQuirksBodyHtml": "<math><thead><mo></mo></thead></math>"
12635 }
12636 },
12637 {
12638 "data": "<math><tfoot><mo><tbody>",
12639 "errors": [],
12640 "fragment": {
12641 "name": "tfoot"
12642 },
12643 "document": {
12644 "props": {
12645 "tags": {
12646 "math math": true,
12647 "math tfoot": true,
12648 "math mo": true
12649 }
12650 },
12651 "tree": [
12652 {
12653 "tag": "math",
12654 "ns": "http://www.w3.org/1998/Math/MathML",
12655 "children": [
12656 {
12657 "tag": "tfoot",
12658 "ns": "http://www.w3.org/1998/Math/MathML",
12659 "children": [
12660 {
12661 "tag": "mo",
12662 "ns": "http://www.w3.org/1998/Math/MathML"
12663 }
12664 ]
12665 }
12666 ]
12667 }
12668 ],
12669 "html": "<math><tfoot><mo></mo></tfoot></math>",
12670 "noQuirksBodyHtml": "<math><tfoot><mo></mo></tfoot></math>"
12671 }
12672 },
12673 {
12674 "data": "<math><tbody><mo><tfoot>",
12675 "errors": [],
12676 "fragment": {
12677 "name": "tbody"
12678 },
12679 "document": {
12680 "props": {
12681 "tags": {
12682 "math math": true,
12683 "math tbody": true,
12684 "math mo": true
12685 }
12686 },
12687 "tree": [
12688 {
12689 "tag": "math",
12690 "ns": "http://www.w3.org/1998/Math/MathML",
12691 "children": [
12692 {
12693 "tag": "tbody",
12694 "ns": "http://www.w3.org/1998/Math/MathML",
12695 "children": [
12696 {
12697 "tag": "mo",
12698 "ns": "http://www.w3.org/1998/Math/MathML"
12699 }
12700 ]
12701 }
12702 ]
12703 }
12704 ],
12705 "html": "<math><tbody><mo></mo></tbody></math>",
12706 "noQuirksBodyHtml": "<math><tbody><mo></mo></tbody></math>"
12707 }
12708 },
12709 {
12710 "data": "<math><tbody><mo></table>",
12711 "errors": [],
12712 "fragment": {
12713 "name": "tbody"
12714 },
12715 "document": {
12716 "props": {
12717 "tags": {
12718 "math math": true,
12719 "math tbody": true,
12720 "math mo": true
12721 }
12722 },
12723 "tree": [
12724 {
12725 "tag": "math",
12726 "ns": "http://www.w3.org/1998/Math/MathML",
12727 "children": [
12728 {
12729 "tag": "tbody",
12730 "ns": "http://www.w3.org/1998/Math/MathML",
12731 "children": [
12732 {
12733 "tag": "mo",
12734 "ns": "http://www.w3.org/1998/Math/MathML"
12735 }
12736 ]
12737 }
12738 ]
12739 }
12740 ],
12741 "html": "<math><tbody><mo></mo></tbody></math>",
12742 "noQuirksBodyHtml": "<math><tbody><mo></mo></tbody></math>"
12743 }
12744 },
12745 {
12746 "data": "<math><thead><mo></table>",
12747 "errors": [],
12748 "fragment": {
12749 "name": "tbody"
12750 },
12751 "document": {
12752 "props": {
12753 "tags": {
12754 "math math": true,
12755 "math thead": true,
12756 "math mo": true
12757 }
12758 },
12759 "tree": [
12760 {
12761 "tag": "math",
12762 "ns": "http://www.w3.org/1998/Math/MathML",
12763 "children": [
12764 {
12765 "tag": "thead",
12766 "ns": "http://www.w3.org/1998/Math/MathML",
12767 "children": [
12768 {
12769 "tag": "mo",
12770 "ns": "http://www.w3.org/1998/Math/MathML"
12771 }
12772 ]
12773 }
12774 ]
12775 }
12776 ],
12777 "html": "<math><thead><mo></mo></thead></math>",
12778 "noQuirksBodyHtml": "<math><thead><mo></mo></thead></math>"
12779 }
12780 },
12781 {
12782 "data": "<math><tfoot><mo></table>",
12783 "errors": [],
12784 "fragment": {
12785 "name": "tbody"
12786 },
12787 "document": {
12788 "props": {
12789 "tags": {
12790 "math math": true,
12791 "math tfoot": true,
12792 "math mo": true
12793 }
12794 },
12795 "tree": [
12796 {
12797 "tag": "math",
12798 "ns": "http://www.w3.org/1998/Math/MathML",
12799 "children": [
12800 {
12801 "tag": "tfoot",
12802 "ns": "http://www.w3.org/1998/Math/MathML",
12803 "children": [
12804 {
12805 "tag": "mo",
12806 "ns": "http://www.w3.org/1998/Math/MathML"
12807 }
12808 ]
12809 }
12810 ]
12811 }
12812 ],
12813 "html": "<math><tfoot><mo></mo></tfoot></math>",
12814 "noQuirksBodyHtml": "<math><tfoot><mo></mo></tfoot></math>"
12815 }
12816 }
12817 ],
12818 "menuitem-element.dat": [
12819 {
12820 "data": "<menuitem>",
12821 "errors": [
12822 "10: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”."
12823 ],
12824 "document": {
12825 "props": {
12826 "tags": {
12827 "html": true,
12828 "head": true,
12829 "body": true,
12830 "menuitem": true
12831 }
12832 },
12833 "tree": [
12834 {
12835 "tag": "html",
12836 "children": [
12837 {
12838 "tag": "head"
12839 },
12840 {
12841 "tag": "body",
12842 "children": [
12843 {
12844 "tag": "menuitem"
12845 }
12846 ]
12847 }
12848 ]
12849 }
12850 ],
12851 "html": "<html><head></head><body><menuitem></menuitem></body></html>",
12852 "noQuirksBodyHtml": "<menuitem></menuitem>"
12853 }
12854 },
12855 {
12856 "data": "</menuitem>",
12857 "errors": [
12858 "11: End tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.",
12859 "11: Stray end tag “menuitem”."
12860 ],
12861 "document": {
12862 "props": {
12863 "tags": {
12864 "html": true,
12865 "head": true,
12866 "body": true
12867 }
12868 },
12869 "tree": [
12870 {
12871 "tag": "html",
12872 "children": [
12873 {
12874 "tag": "head"
12875 },
12876 {
12877 "tag": "body"
12878 }
12879 ]
12880 }
12881 ],
12882 "html": "<html><head></head><body></body></html>",
12883 "noQuirksBodyHtml": ""
12884 }
12885 },
12886 {
12887 "data": "<!DOCTYPE html><body><menuitem>A",
12888 "errors": [],
12889 "document": {
12890 "props": {
12891 "tags": {
12892 "html": true,
12893 "head": true,
12894 "body": true,
12895 "menuitem": true
12896 },
12897 "doctype": true
12898 },
12899 "tree": [
12900 {
12901 "doctype": "html"
12902 },
12903 {
12904 "tag": "html",
12905 "children": [
12906 {
12907 "tag": "head"
12908 },
12909 {
12910 "tag": "body",
12911 "children": [
12912 {
12913 "tag": "menuitem",
12914 "children": [
12915 {
12916 "text": "A"
12917 }
12918 ]
12919 }
12920 ]
12921 }
12922 ]
12923 }
12924 ],
12925 "html": "<!DOCTYPE html><html><head></head><body><menuitem>A</menuitem></body></html>",
12926 "noQuirksBodyHtml": "<menuitem>A</menuitem>"
12927 }
12928 },
12929 {
12930 "data": "<!DOCTYPE html><body><menuitem>A<menuitem>B",
12931 "errors": [],
12932 "document": {
12933 "props": {
12934 "tags": {
12935 "html": true,
12936 "head": true,
12937 "body": true,
12938 "menuitem": true
12939 },
12940 "doctype": true
12941 },
12942 "tree": [
12943 {
12944 "doctype": "html"
12945 },
12946 {
12947 "tag": "html",
12948 "children": [
12949 {
12950 "tag": "head"
12951 },
12952 {
12953 "tag": "body",
12954 "children": [
12955 {
12956 "tag": "menuitem",
12957 "children": [
12958 {
12959 "text": "A"
12960 }
12961 ]
12962 },
12963 {
12964 "tag": "menuitem",
12965 "children": [
12966 {
12967 "text": "B"
12968 }
12969 ]
12970 }
12971 ]
12972 }
12973 ]
12974 }
12975 ],
12976 "html": "<!DOCTYPE html><html><head></head><body><menuitem>A</menuitem><menuitem>B</menuitem></body></html>",
12977 "noQuirksBodyHtml": "<menuitem>A</menuitem><menuitem>B</menuitem>"
12978 }
12979 },
12980 {
12981 "data": "<!DOCTYPE html><body><menuitem>A<menu>B</menu>",
12982 "errors": [],
12983 "document": {
12984 "props": {
12985 "tags": {
12986 "html": true,
12987 "head": true,
12988 "body": true,
12989 "menuitem": true,
12990 "menu": true
12991 },
12992 "doctype": true
12993 },
12994 "tree": [
12995 {
12996 "doctype": "html"
12997 },
12998 {
12999 "tag": "html",
13000 "children": [
13001 {
13002 "tag": "head"
13003 },
13004 {
13005 "tag": "body",
13006 "children": [
13007 {
13008 "tag": "menuitem",
13009 "children": [
13010 {
13011 "text": "A"
13012 }
13013 ]
13014 },
13015 {
13016 "tag": "menu",
13017 "children": [
13018 {
13019 "text": "B"
13020 }
13021 ]
13022 }
13023 ]
13024 }
13025 ]
13026 }
13027 ],
13028 "html": "<!DOCTYPE html><html><head></head><body><menuitem>A</menuitem><menu>B</menu></body></html>",
13029 "noQuirksBodyHtml": "<menuitem>A</menuitem><menu>B</menu>"
13030 }
13031 },
13032 {
13033 "data": "<!DOCTYPE html><body><menuitem>A<hr>B",
13034 "errors": [],
13035 "document": {
13036 "props": {
13037 "tags": {
13038 "html": true,
13039 "head": true,
13040 "body": true,
13041 "menuitem": true,
13042 "hr": true
13043 },
13044 "doctype": true
13045 },
13046 "tree": [
13047 {
13048 "doctype": "html"
13049 },
13050 {
13051 "tag": "html",
13052 "children": [
13053 {
13054 "tag": "head"
13055 },
13056 {
13057 "tag": "body",
13058 "children": [
13059 {
13060 "tag": "menuitem",
13061 "children": [
13062 {
13063 "text": "A"
13064 }
13065 ]
13066 },
13067 {
13068 "tag": "hr"
13069 },
13070 {
13071 "text": "B"
13072 }
13073 ]
13074 }
13075 ]
13076 }
13077 ],
13078 "html": "<!DOCTYPE html><html><head></head><body><menuitem>A</menuitem><hr>B</body></html>",
13079 "noQuirksBodyHtml": "<menuitem>A</menuitem><hr>B"
13080 }
13081 },
13082 {
13083 "data": "<!DOCTYPE html><li><menuitem><li>",
13084 "errors": [],
13085 "document": {
13086 "props": {
13087 "tags": {
13088 "html": true,
13089 "head": true,
13090 "body": true,
13091 "li": true,
13092 "menuitem": true
13093 },
13094 "doctype": true
13095 },
13096 "tree": [
13097 {
13098 "doctype": "html"
13099 },
13100 {
13101 "tag": "html",
13102 "children": [
13103 {
13104 "tag": "head"
13105 },
13106 {
13107 "tag": "body",
13108 "children": [
13109 {
13110 "tag": "li",
13111 "children": [
13112 {
13113 "tag": "menuitem"
13114 }
13115 ]
13116 },
13117 {
13118 "tag": "li"
13119 }
13120 ]
13121 }
13122 ]
13123 }
13124 ],
13125 "html": "<!DOCTYPE html><html><head></head><body><li><menuitem></menuitem></li><li></li></body></html>",
13126 "noQuirksBodyHtml": "<li><menuitem></menuitem></li><li></li>"
13127 }
13128 },
13129 {
13130 "data": "<!DOCTYPE html><menuitem><p></menuitem>x",
13131 "errors": [
13132 "39: Stray end tag “menuitem”."
13133 ],
13134 "document": {
13135 "props": {
13136 "tags": {
13137 "html": true,
13138 "head": true,
13139 "body": true,
13140 "menuitem": true,
13141 "p": true
13142 },
13143 "doctype": true
13144 },
13145 "tree": [
13146 {
13147 "doctype": "html"
13148 },
13149 {
13150 "tag": "html",
13151 "children": [
13152 {
13153 "tag": "head"
13154 },
13155 {
13156 "tag": "body",
13157 "children": [
13158 {
13159 "tag": "menuitem",
13160 "children": [
13161 {
13162 "tag": "p",
13163 "children": [
13164 {
13165 "text": "x"
13166 }
13167 ]
13168 }
13169 ]
13170 }
13171 ]
13172 }
13173 ]
13174 }
13175 ],
13176 "html": "<!DOCTYPE html><html><head></head><body><menuitem><p>x</p></menuitem></body></html>",
13177 "noQuirksBodyHtml": "<menuitem><p>x</p></menuitem>"
13178 }
13179 },
13180 {
13181 "data": "<!DOCTYPE html><p><b></p><menuitem>",
13182 "errors": [
13183 "25: End tag “p” seen, but there were open elements.",
13184 "21: Unclosed element “b”.",
13185 "35: End of file seen and there were open elements."
13186 ],
13187 "document": {
13188 "props": {
13189 "tags": {
13190 "html": true,
13191 "head": true,
13192 "body": true,
13193 "p": true,
13194 "b": true,
13195 "menuitem": true
13196 },
13197 "doctype": true
13198 },
13199 "tree": [
13200 {
13201 "doctype": "html"
13202 },
13203 {
13204 "tag": "html",
13205 "children": [
13206 {
13207 "tag": "head"
13208 },
13209 {
13210 "tag": "body",
13211 "children": [
13212 {
13213 "tag": "p",
13214 "children": [
13215 {
13216 "tag": "b"
13217 }
13218 ]
13219 },
13220 {
13221 "tag": "b",
13222 "children": [
13223 {
13224 "tag": "menuitem"
13225 }
13226 ]
13227 }
13228 ]
13229 }
13230 ]
13231 }
13232 ],
13233 "html": "<!DOCTYPE html><html><head></head><body><p><b></b></p><b><menuitem></menuitem></b></body></html>",
13234 "noQuirksBodyHtml": "<p><b></b></p><b><menuitem></menuitem></b>"
13235 }
13236 },
13237 {
13238 "data": "<!DOCTYPE html><menuitem><asdf></menuitem>x",
13239 "errors": [
13240 "40: End tag “menuitem” seen, but there were open elements.",
13241 "31: Unclosed element “asdf”."
13242 ],
13243 "document": {
13244 "props": {
13245 "tags": {
13246 "html": true,
13247 "head": true,
13248 "body": true,
13249 "menuitem": true,
13250 "asdf": true
13251 },
13252 "doctype": true
13253 },
13254 "tree": [
13255 {
13256 "doctype": "html"
13257 },
13258 {
13259 "tag": "html",
13260 "children": [
13261 {
13262 "tag": "head"
13263 },
13264 {
13265 "tag": "body",
13266 "children": [
13267 {
13268 "tag": "menuitem",
13269 "children": [
13270 {
13271 "tag": "asdf"
13272 }
13273 ]
13274 },
13275 {
13276 "text": "x"
13277 }
13278 ]
13279 }
13280 ]
13281 }
13282 ],
13283 "html": "<!DOCTYPE html><html><head></head><body><menuitem><asdf></asdf></menuitem>x</body></html>",
13284 "noQuirksBodyHtml": "<menuitem><asdf></asdf></menuitem>x"
13285 }
13286 },
13287 {
13288 "data": "<!DOCTYPE html></menuitem>",
13289 "errors": [
13290 "26: Stray end tag “menuitem”."
13291 ],
13292 "document": {
13293 "props": {
13294 "tags": {
13295 "html": true,
13296 "head": true,
13297 "body": true
13298 },
13299 "doctype": true
13300 },
13301 "tree": [
13302 {
13303 "doctype": "html"
13304 },
13305 {
13306 "tag": "html",
13307 "children": [
13308 {
13309 "tag": "head"
13310 },
13311 {
13312 "tag": "body"
13313 }
13314 ]
13315 }
13316 ],
13317 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
13318 "noQuirksBodyHtml": ""
13319 }
13320 },
13321 {
13322 "data": "<!DOCTYPE html><html></menuitem>",
13323 "errors": [
13324 "26: Stray end tag “menuitem”."
13325 ],
13326 "document": {
13327 "props": {
13328 "tags": {
13329 "html": true,
13330 "head": true,
13331 "body": true
13332 },
13333 "doctype": true
13334 },
13335 "tree": [
13336 {
13337 "doctype": "html"
13338 },
13339 {
13340 "tag": "html",
13341 "children": [
13342 {
13343 "tag": "head"
13344 },
13345 {
13346 "tag": "body"
13347 }
13348 ]
13349 }
13350 ],
13351 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
13352 "noQuirksBodyHtml": ""
13353 }
13354 },
13355 {
13356 "data": "<!DOCTYPE html><head></menuitem>",
13357 "errors": [
13358 "26: Stray end tag “menuitem”."
13359 ],
13360 "document": {
13361 "props": {
13362 "tags": {
13363 "html": true,
13364 "head": true,
13365 "body": true
13366 },
13367 "doctype": true
13368 },
13369 "tree": [
13370 {
13371 "doctype": "html"
13372 },
13373 {
13374 "tag": "html",
13375 "children": [
13376 {
13377 "tag": "head"
13378 },
13379 {
13380 "tag": "body"
13381 }
13382 ]
13383 }
13384 ],
13385 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
13386 "noQuirksBodyHtml": ""
13387 }
13388 },
13389 {
13390 "data": "<!DOCTYPE html><select><menuitem></select>",
13391 "errors": [
13392 "33: Stray start tag “menuitem”."
13393 ],
13394 "document": {
13395 "props": {
13396 "tags": {
13397 "html": true,
13398 "head": true,
13399 "body": true,
13400 "select": true
13401 },
13402 "doctype": true
13403 },
13404 "tree": [
13405 {
13406 "doctype": "html"
13407 },
13408 {
13409 "tag": "html",
13410 "children": [
13411 {
13412 "tag": "head"
13413 },
13414 {
13415 "tag": "body",
13416 "children": [
13417 {
13418 "tag": "select"
13419 }
13420 ]
13421 }
13422 ]
13423 }
13424 ],
13425 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
13426 "noQuirksBodyHtml": "<select></select>"
13427 }
13428 },
13429 {
13430 "data": "<!DOCTYPE html><option><menuitem>",
13431 "errors": [],
13432 "document": {
13433 "props": {
13434 "tags": {
13435 "html": true,
13436 "head": true,
13437 "body": true,
13438 "option": true,
13439 "menuitem": true
13440 },
13441 "doctype": true
13442 },
13443 "tree": [
13444 {
13445 "doctype": "html"
13446 },
13447 {
13448 "tag": "html",
13449 "children": [
13450 {
13451 "tag": "head"
13452 },
13453 {
13454 "tag": "body",
13455 "children": [
13456 {
13457 "tag": "option",
13458 "children": [
13459 {
13460 "tag": "menuitem"
13461 }
13462 ]
13463 }
13464 ]
13465 }
13466 ]
13467 }
13468 ],
13469 "html": "<!DOCTYPE html><html><head></head><body><option><menuitem></menuitem></option></body></html>",
13470 "noQuirksBodyHtml": "<option><menuitem></menuitem></option>"
13471 }
13472 },
13473 {
13474 "data": "<!DOCTYPE html><menuitem><option>",
13475 "errors": [],
13476 "document": {
13477 "props": {
13478 "tags": {
13479 "html": true,
13480 "head": true,
13481 "body": true,
13482 "menuitem": true,
13483 "option": true
13484 },
13485 "doctype": true
13486 },
13487 "tree": [
13488 {
13489 "doctype": "html"
13490 },
13491 {
13492 "tag": "html",
13493 "children": [
13494 {
13495 "tag": "head"
13496 },
13497 {
13498 "tag": "body",
13499 "children": [
13500 {
13501 "tag": "menuitem",
13502 "children": [
13503 {
13504 "tag": "option"
13505 }
13506 ]
13507 }
13508 ]
13509 }
13510 ]
13511 }
13512 ],
13513 "html": "<!DOCTYPE html><html><head></head><body><menuitem><option></option></menuitem></body></html>",
13514 "noQuirksBodyHtml": "<menuitem><option></option></menuitem>"
13515 }
13516 },
13517 {
13518 "data": "<!DOCTYPE html><menuitem></body>",
13519 "errors": [],
13520 "document": {
13521 "props": {
13522 "tags": {
13523 "html": true,
13524 "head": true,
13525 "body": true,
13526 "menuitem": true
13527 },
13528 "doctype": true
13529 },
13530 "tree": [
13531 {
13532 "doctype": "html"
13533 },
13534 {
13535 "tag": "html",
13536 "children": [
13537 {
13538 "tag": "head"
13539 },
13540 {
13541 "tag": "body",
13542 "children": [
13543 {
13544 "tag": "menuitem"
13545 }
13546 ]
13547 }
13548 ]
13549 }
13550 ],
13551 "html": "<!DOCTYPE html><html><head></head><body><menuitem></menuitem></body></html>",
13552 "noQuirksBodyHtml": "<menuitem></menuitem>"
13553 }
13554 },
13555 {
13556 "data": "<!DOCTYPE html><menuitem></html>",
13557 "errors": [],
13558 "document": {
13559 "props": {
13560 "tags": {
13561 "html": true,
13562 "head": true,
13563 "body": true,
13564 "menuitem": true
13565 },
13566 "doctype": true
13567 },
13568 "tree": [
13569 {
13570 "doctype": "html"
13571 },
13572 {
13573 "tag": "html",
13574 "children": [
13575 {
13576 "tag": "head"
13577 },
13578 {
13579 "tag": "body",
13580 "children": [
13581 {
13582 "tag": "menuitem"
13583 }
13584 ]
13585 }
13586 ]
13587 }
13588 ],
13589 "html": "<!DOCTYPE html><html><head></head><body><menuitem></menuitem></body></html>",
13590 "noQuirksBodyHtml": "<menuitem></menuitem>"
13591 }
13592 },
13593 {
13594 "data": "<!DOCTYPE html><menuitem><p>",
13595 "errors": [],
13596 "document": {
13597 "props": {
13598 "tags": {
13599 "html": true,
13600 "head": true,
13601 "body": true,
13602 "menuitem": true,
13603 "p": true
13604 },
13605 "doctype": true
13606 },
13607 "tree": [
13608 {
13609 "doctype": "html"
13610 },
13611 {
13612 "tag": "html",
13613 "children": [
13614 {
13615 "tag": "head"
13616 },
13617 {
13618 "tag": "body",
13619 "children": [
13620 {
13621 "tag": "menuitem",
13622 "children": [
13623 {
13624 "tag": "p"
13625 }
13626 ]
13627 }
13628 ]
13629 }
13630 ]
13631 }
13632 ],
13633 "html": "<!DOCTYPE html><html><head></head><body><menuitem><p></p></menuitem></body></html>",
13634 "noQuirksBodyHtml": "<menuitem><p></p></menuitem>"
13635 }
13636 },
13637 {
13638 "data": "<!DOCTYPE html><menuitem><li>",
13639 "errors": [],
13640 "document": {
13641 "props": {
13642 "tags": {
13643 "html": true,
13644 "head": true,
13645 "body": true,
13646 "menuitem": true,
13647 "li": true
13648 },
13649 "doctype": true
13650 },
13651 "tree": [
13652 {
13653 "doctype": "html"
13654 },
13655 {
13656 "tag": "html",
13657 "children": [
13658 {
13659 "tag": "head"
13660 },
13661 {
13662 "tag": "body",
13663 "children": [
13664 {
13665 "tag": "menuitem",
13666 "children": [
13667 {
13668 "tag": "li"
13669 }
13670 ]
13671 }
13672 ]
13673 }
13674 ]
13675 }
13676 ],
13677 "html": "<!DOCTYPE html><html><head></head><body><menuitem><li></li></menuitem></body></html>",
13678 "noQuirksBodyHtml": "<menuitem><li></li></menuitem>"
13679 }
13680 }
13681 ],
13682 "namespace-sensitivity.dat": [
13683 {
13684 "data": "<body><table><tr><td><svg><td><foreignObject><span></td>Foo",
13685 "errors": [],
13686 "document": {
13687 "props": {
13688 "tags": {
13689 "html": true,
13690 "head": true,
13691 "body": true,
13692 "table": true,
13693 "tbody": true,
13694 "tr": true,
13695 "td": true,
13696 "svg svg": true,
13697 "svg td": true,
13698 "svg foreignObject": true,
13699 "span": true
13700 }
13701 },
13702 "tree": [
13703 {
13704 "tag": "html",
13705 "children": [
13706 {
13707 "tag": "head"
13708 },
13709 {
13710 "tag": "body",
13711 "children": [
13712 {
13713 "text": "Foo"
13714 },
13715 {
13716 "tag": "table",
13717 "children": [
13718 {
13719 "tag": "tbody",
13720 "children": [
13721 {
13722 "tag": "tr",
13723 "children": [
13724 {
13725 "tag": "td",
13726 "children": [
13727 {
13728 "tag": "svg",
13729 "ns": "http://www.w3.org/2000/svg",
13730 "children": [
13731 {
13732 "tag": "td",
13733 "ns": "http://www.w3.org/2000/svg",
13734 "children": [
13735 {
13736 "tag": "foreignObject",
13737 "ns": "http://www.w3.org/2000/svg",
13738 "children": [
13739 {
13740 "tag": "span"
13741 }
13742 ]
13743 }
13744 ]
13745 }
13746 ]
13747 }
13748 ]
13749 }
13750 ]
13751 }
13752 ]
13753 }
13754 ]
13755 }
13756 ]
13757 }
13758 ]
13759 }
13760 ],
13761 "html": "<html><head></head><body>Foo<table><tbody><tr><td><svg><td><foreignObject><span></span></foreignObject></td></svg></td></tr></tbody></table></body></html>",
13762 "noQuirksBodyHtml": "Foo<table><tbody><tr><td><svg><td><foreignObject><span></span></foreignObject></td></svg></td></tr></tbody></table>"
13763 }
13764 }
13765 ],
13766 "noscript01.dat": [
13767 {
13768 "data": "<head><noscript><!doctype html><!--foo--></noscript>",
13769 "errors": [
13770 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
13771 "Line: 1 Col: 31 Unexpected DOCTYPE. Ignored."
13772 ],
13773 "script": "off",
13774 "document": {
13775 "props": {
13776 "tags": {
13777 "html": true,
13778 "head": true,
13779 "noscript": true,
13780 "body": true
13781 },
13782 "comment": true
13783 },
13784 "tree": [
13785 {
13786 "tag": "html",
13787 "children": [
13788 {
13789 "tag": "head",
13790 "children": [
13791 {
13792 "tag": "noscript",
13793 "children": [
13794 {
13795 "comment": "foo"
13796 }
13797 ]
13798 }
13799 ]
13800 },
13801 {
13802 "tag": "body"
13803 }
13804 ]
13805 }
13806 ],
13807 "html": "<html><head><noscript><!--foo--></noscript></head><body></body></html>",
13808 "noQuirksBodyHtml": "<noscript><!--foo--></noscript>"
13809 }
13810 },
13811 {
13812 "data": "<head><noscript><html class=\"foo\"><!--foo--></noscript>",
13813 "errors": [
13814 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
13815 "Line: 1 Col: 34 html needs to be the first start tag."
13816 ],
13817 "script": "off",
13818 "document": {
13819 "props": {
13820 "tags": {
13821 "html": true,
13822 "head": true,
13823 "noscript": true,
13824 "body": true
13825 },
13826 "comment": true
13827 },
13828 "tree": [
13829 {
13830 "tag": "html",
13831 "attrs": [
13832 {
13833 "name": "class",
13834 "value": "foo"
13835 }
13836 ],
13837 "children": [
13838 {
13839 "tag": "head",
13840 "children": [
13841 {
13842 "tag": "noscript",
13843 "children": [
13844 {
13845 "comment": "foo"
13846 }
13847 ]
13848 }
13849 ]
13850 },
13851 {
13852 "tag": "body"
13853 }
13854 ]
13855 }
13856 ],
13857 "html": "<html class=\"foo\"><head><noscript><!--foo--></noscript></head><body></body></html>",
13858 "noQuirksBodyHtml": "<noscript><!--foo--></noscript>"
13859 }
13860 },
13861 {
13862 "data": "<head><noscript></noscript>",
13863 "errors": [
13864 "(1,6): expected-doctype-but-got-tag"
13865 ],
13866 "script": "off",
13867 "document": {
13868 "props": {
13869 "tags": {
13870 "html": true,
13871 "head": true,
13872 "noscript": true,
13873 "body": true
13874 }
13875 },
13876 "tree": [
13877 {
13878 "tag": "html",
13879 "children": [
13880 {
13881 "tag": "head",
13882 "children": [
13883 {
13884 "tag": "noscript"
13885 }
13886 ]
13887 },
13888 {
13889 "tag": "body"
13890 }
13891 ]
13892 }
13893 ],
13894 "html": "<html><head><noscript></noscript></head><body></body></html>",
13895 "noQuirksBodyHtml": "<noscript></noscript>"
13896 }
13897 },
13898 {
13899 "data": "<head><noscript> </noscript>",
13900 "errors": [
13901 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
13902 ],
13903 "script": "off",
13904 "document": {
13905 "props": {
13906 "tags": {
13907 "html": true,
13908 "head": true,
13909 "noscript": true,
13910 "body": true
13911 },
13912 "no_escape": true
13913 },
13914 "tree": [
13915 {
13916 "tag": "html",
13917 "children": [
13918 {
13919 "tag": "head",
13920 "children": [
13921 {
13922 "tag": "noscript",
13923 "children": [
13924 {
13925 "text": " ",
13926 "no_escape": true
13927 }
13928 ]
13929 }
13930 ]
13931 },
13932 {
13933 "tag": "body"
13934 }
13935 ]
13936 }
13937 ],
13938 "html": "<html><head><noscript> </noscript></head><body></body></html>",
13939 "noQuirksBodyHtml": "<noscript> </noscript>"
13940 }
13941 },
13942 {
13943 "data": "<head><noscript><!--foo--></noscript>",
13944 "errors": [
13945 "(1,6): expected-doctype-but-got-tag"
13946 ],
13947 "script": "off",
13948 "document": {
13949 "props": {
13950 "tags": {
13951 "html": true,
13952 "head": true,
13953 "noscript": true,
13954 "body": true
13955 },
13956 "comment": true
13957 },
13958 "tree": [
13959 {
13960 "tag": "html",
13961 "children": [
13962 {
13963 "tag": "head",
13964 "children": [
13965 {
13966 "tag": "noscript",
13967 "children": [
13968 {
13969 "comment": "foo"
13970 }
13971 ]
13972 }
13973 ]
13974 },
13975 {
13976 "tag": "body"
13977 }
13978 ]
13979 }
13980 ],
13981 "html": "<html><head><noscript><!--foo--></noscript></head><body></body></html>",
13982 "noQuirksBodyHtml": "<noscript><!--foo--></noscript>"
13983 }
13984 },
13985 {
13986 "data": "<head><noscript><basefont><!--foo--></noscript>",
13987 "errors": [
13988 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
13989 ],
13990 "script": "off",
13991 "document": {
13992 "props": {
13993 "tags": {
13994 "html": true,
13995 "head": true,
13996 "noscript": true,
13997 "basefont": true,
13998 "body": true
13999 },
14000 "comment": true
14001 },
14002 "tree": [
14003 {
14004 "tag": "html",
14005 "children": [
14006 {
14007 "tag": "head",
14008 "children": [
14009 {
14010 "tag": "noscript",
14011 "children": [
14012 {
14013 "tag": "basefont"
14014 },
14015 {
14016 "comment": "foo"
14017 }
14018 ]
14019 }
14020 ]
14021 },
14022 {
14023 "tag": "body"
14024 }
14025 ]
14026 }
14027 ],
14028 "html": "<html><head><noscript><basefont><!--foo--></noscript></head><body></body></html>",
14029 "noQuirksBodyHtml": "<noscript><basefont><!--foo--></noscript>"
14030 }
14031 },
14032 {
14033 "data": "<head><noscript><bgsound><!--foo--></noscript>",
14034 "errors": [
14035 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
14036 ],
14037 "script": "off",
14038 "document": {
14039 "props": {
14040 "tags": {
14041 "html": true,
14042 "head": true,
14043 "noscript": true,
14044 "bgsound": true,
14045 "body": true
14046 },
14047 "comment": true
14048 },
14049 "tree": [
14050 {
14051 "tag": "html",
14052 "children": [
14053 {
14054 "tag": "head",
14055 "children": [
14056 {
14057 "tag": "noscript",
14058 "children": [
14059 {
14060 "tag": "bgsound"
14061 },
14062 {
14063 "comment": "foo"
14064 }
14065 ]
14066 }
14067 ]
14068 },
14069 {
14070 "tag": "body"
14071 }
14072 ]
14073 }
14074 ],
14075 "html": "<html><head><noscript><bgsound><!--foo--></noscript></head><body></body></html>",
14076 "noQuirksBodyHtml": "<noscript><bgsound><!--foo--></noscript>"
14077 }
14078 },
14079 {
14080 "data": "<head><noscript><link><!--foo--></noscript>",
14081 "errors": [
14082 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
14083 ],
14084 "script": "off",
14085 "document": {
14086 "props": {
14087 "tags": {
14088 "html": true,
14089 "head": true,
14090 "noscript": true,
14091 "link": true,
14092 "body": true
14093 },
14094 "comment": true
14095 },
14096 "tree": [
14097 {
14098 "tag": "html",
14099 "children": [
14100 {
14101 "tag": "head",
14102 "children": [
14103 {
14104 "tag": "noscript",
14105 "children": [
14106 {
14107 "tag": "link"
14108 },
14109 {
14110 "comment": "foo"
14111 }
14112 ]
14113 }
14114 ]
14115 },
14116 {
14117 "tag": "body"
14118 }
14119 ]
14120 }
14121 ],
14122 "html": "<html><head><noscript><link><!--foo--></noscript></head><body></body></html>",
14123 "noQuirksBodyHtml": "<noscript><link><!--foo--></noscript>"
14124 }
14125 },
14126 {
14127 "data": "<head><noscript><meta><!--foo--></noscript>",
14128 "errors": [
14129 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
14130 ],
14131 "script": "off",
14132 "document": {
14133 "props": {
14134 "tags": {
14135 "html": true,
14136 "head": true,
14137 "noscript": true,
14138 "meta": true,
14139 "body": true
14140 },
14141 "comment": true
14142 },
14143 "tree": [
14144 {
14145 "tag": "html",
14146 "children": [
14147 {
14148 "tag": "head",
14149 "children": [
14150 {
14151 "tag": "noscript",
14152 "children": [
14153 {
14154 "tag": "meta"
14155 },
14156 {
14157 "comment": "foo"
14158 }
14159 ]
14160 }
14161 ]
14162 },
14163 {
14164 "tag": "body"
14165 }
14166 ]
14167 }
14168 ],
14169 "html": "<html><head><noscript><meta><!--foo--></noscript></head><body></body></html>",
14170 "noQuirksBodyHtml": "<noscript><meta><!--foo--></noscript>"
14171 }
14172 },
14173 {
14174 "data": "<head><noscript><noframes>XXX</noscript></noframes></noscript>",
14175 "errors": [
14176 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
14177 ],
14178 "script": "off",
14179 "document": {
14180 "props": {
14181 "tags": {
14182 "html": true,
14183 "head": true,
14184 "noscript": true,
14185 "noframes": true,
14186 "body": true
14187 },
14188 "no_escape": true
14189 },
14190 "tree": [
14191 {
14192 "tag": "html",
14193 "children": [
14194 {
14195 "tag": "head",
14196 "children": [
14197 {
14198 "tag": "noscript",
14199 "children": [
14200 {
14201 "tag": "noframes",
14202 "children": [
14203 {
14204 "text": "XXX</noscript>",
14205 "no_escape": true
14206 }
14207 ]
14208 }
14209 ]
14210 }
14211 ]
14212 },
14213 {
14214 "tag": "body"
14215 }
14216 ]
14217 }
14218 ],
14219 "html": "<html><head><noscript><noframes>XXX</noscript></noframes></noscript></head><body></body></html>",
14220 "noQuirksBodyHtml": "<noscript><noframes>XXX</noscript></noframes></noscript>"
14221 }
14222 },
14223 {
14224 "data": "<head><noscript><style>XXX</style></noscript>",
14225 "errors": [
14226 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE."
14227 ],
14228 "script": "off",
14229 "document": {
14230 "props": {
14231 "tags": {
14232 "html": true,
14233 "head": true,
14234 "noscript": true,
14235 "style": true,
14236 "body": true
14237 },
14238 "no_escape": true
14239 },
14240 "tree": [
14241 {
14242 "tag": "html",
14243 "children": [
14244 {
14245 "tag": "head",
14246 "children": [
14247 {
14248 "tag": "noscript",
14249 "children": [
14250 {
14251 "tag": "style",
14252 "children": [
14253 {
14254 "text": "XXX",
14255 "no_escape": true
14256 }
14257 ]
14258 }
14259 ]
14260 }
14261 ]
14262 },
14263 {
14264 "tag": "body"
14265 }
14266 ]
14267 }
14268 ],
14269 "html": "<html><head><noscript><style>XXX</style></noscript></head><body></body></html>",
14270 "noQuirksBodyHtml": "<noscript><style>XXX</style></noscript>"
14271 }
14272 },
14273 {
14274 "data": "<head><noscript></br><!--foo--></noscript>",
14275 "errors": [
14276 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14277 "Line: 1 Col: 21 Element br not allowed in a inhead-noscript context",
14278 "Line: 1 Col: 21 Unexpected end tag (br). Treated as br element.",
14279 "Line: 1 Col: 42 Unexpected end tag (noscript). Ignored."
14280 ],
14281 "script": "off",
14282 "document": {
14283 "props": {
14284 "tags": {
14285 "html": true,
14286 "head": true,
14287 "noscript": true,
14288 "body": true,
14289 "br": true
14290 },
14291 "comment": true
14292 },
14293 "tree": [
14294 {
14295 "tag": "html",
14296 "children": [
14297 {
14298 "tag": "head",
14299 "children": [
14300 {
14301 "tag": "noscript"
14302 }
14303 ]
14304 },
14305 {
14306 "tag": "body",
14307 "children": [
14308 {
14309 "tag": "br"
14310 },
14311 {
14312 "comment": "foo"
14313 }
14314 ]
14315 }
14316 ]
14317 }
14318 ],
14319 "html": "<html><head><noscript></noscript></head><body><br><!--foo--></body></html>",
14320 "noQuirksBodyHtml": "<noscript><br><!--foo--></noscript>"
14321 }
14322 },
14323 {
14324 "data": "<head><noscript><head class=\"foo\"><!--foo--></noscript>",
14325 "errors": [
14326 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14327 "Line: 1 Col: 34 Unexpected start tag (head)."
14328 ],
14329 "script": "off",
14330 "document": {
14331 "props": {
14332 "tags": {
14333 "html": true,
14334 "head": true,
14335 "noscript": true,
14336 "body": true
14337 },
14338 "comment": true
14339 },
14340 "tree": [
14341 {
14342 "tag": "html",
14343 "children": [
14344 {
14345 "tag": "head",
14346 "children": [
14347 {
14348 "tag": "noscript",
14349 "children": [
14350 {
14351 "comment": "foo"
14352 }
14353 ]
14354 }
14355 ]
14356 },
14357 {
14358 "tag": "body"
14359 }
14360 ]
14361 }
14362 ],
14363 "html": "<html><head><noscript><!--foo--></noscript></head><body></body></html>",
14364 "noQuirksBodyHtml": "<noscript><!--foo--></noscript>"
14365 }
14366 },
14367 {
14368 "data": "<head><noscript><noscript class=\"foo\"><!--foo--></noscript>",
14369 "errors": [
14370 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14371 "Line: 1 Col: 34 Unexpected start tag (noscript)."
14372 ],
14373 "script": "off",
14374 "document": {
14375 "props": {
14376 "tags": {
14377 "html": true,
14378 "head": true,
14379 "noscript": true,
14380 "body": true
14381 },
14382 "comment": true
14383 },
14384 "tree": [
14385 {
14386 "tag": "html",
14387 "children": [
14388 {
14389 "tag": "head",
14390 "children": [
14391 {
14392 "tag": "noscript",
14393 "children": [
14394 {
14395 "comment": "foo"
14396 }
14397 ]
14398 }
14399 ]
14400 },
14401 {
14402 "tag": "body"
14403 }
14404 ]
14405 }
14406 ],
14407 "html": "<html><head><noscript><!--foo--></noscript></head><body></body></html>",
14408 "noQuirksBodyHtml": "<noscript><noscript class=\"foo\"><!--foo--></noscript></noscript>"
14409 }
14410 },
14411 {
14412 "data": "<head><noscript></p><!--foo--></noscript>",
14413 "errors": [
14414 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14415 "Line: 1 Col: 20 Unexpected end tag (p). Ignored."
14416 ],
14417 "script": "off",
14418 "document": {
14419 "props": {
14420 "tags": {
14421 "html": true,
14422 "head": true,
14423 "noscript": true,
14424 "body": true
14425 },
14426 "comment": true
14427 },
14428 "tree": [
14429 {
14430 "tag": "html",
14431 "children": [
14432 {
14433 "tag": "head",
14434 "children": [
14435 {
14436 "tag": "noscript",
14437 "children": [
14438 {
14439 "comment": "foo"
14440 }
14441 ]
14442 }
14443 ]
14444 },
14445 {
14446 "tag": "body"
14447 }
14448 ]
14449 }
14450 ],
14451 "html": "<html><head><noscript><!--foo--></noscript></head><body></body></html>",
14452 "noQuirksBodyHtml": "<noscript><p></p><!--foo--></noscript>"
14453 }
14454 },
14455 {
14456 "data": "<head><noscript><p><!--foo--></noscript>",
14457 "errors": [
14458 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14459 "Line: 1 Col: 19 Element p not allowed in a inhead-noscript context",
14460 "Line: 1 Col: 40 Unexpected end tag (noscript). Ignored."
14461 ],
14462 "script": "off",
14463 "document": {
14464 "props": {
14465 "tags": {
14466 "html": true,
14467 "head": true,
14468 "noscript": true,
14469 "body": true,
14470 "p": true
14471 },
14472 "comment": true
14473 },
14474 "tree": [
14475 {
14476 "tag": "html",
14477 "children": [
14478 {
14479 "tag": "head",
14480 "children": [
14481 {
14482 "tag": "noscript"
14483 }
14484 ]
14485 },
14486 {
14487 "tag": "body",
14488 "children": [
14489 {
14490 "tag": "p",
14491 "children": [
14492 {
14493 "comment": "foo"
14494 }
14495 ]
14496 }
14497 ]
14498 }
14499 ]
14500 }
14501 ],
14502 "html": "<html><head><noscript></noscript></head><body><p><!--foo--></p></body></html>",
14503 "noQuirksBodyHtml": "<noscript><p><!--foo--></p></noscript>"
14504 }
14505 },
14506 {
14507 "data": "<head><noscript>XXX<!--foo--></noscript></head>",
14508 "errors": [
14509 "Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.",
14510 "Line: 1 Col: 19 Unexpected non-space character. Expected inhead-noscript content",
14511 "Line: 1 Col: 30 Unexpected end tag (noscript). Ignored.",
14512 "Line: 1 Col: 37 Unexpected end tag (head). Ignored."
14513 ],
14514 "script": "off",
14515 "document": {
14516 "props": {
14517 "tags": {
14518 "html": true,
14519 "head": true,
14520 "noscript": true,
14521 "body": true
14522 },
14523 "comment": true
14524 },
14525 "tree": [
14526 {
14527 "tag": "html",
14528 "children": [
14529 {
14530 "tag": "head",
14531 "children": [
14532 {
14533 "tag": "noscript"
14534 }
14535 ]
14536 },
14537 {
14538 "tag": "body",
14539 "children": [
14540 {
14541 "text": "XXX"
14542 },
14543 {
14544 "comment": "foo"
14545 }
14546 ]
14547 }
14548 ]
14549 }
14550 ],
14551 "html": "<html><head><noscript></noscript></head><body>XXX<!--foo--></body></html>",
14552 "noQuirksBodyHtml": "<noscript>XXX<!--foo--></noscript>"
14553 }
14554 },
14555 {
14556 "data": "<head><noscript>",
14557 "errors": [
14558 "(1,6): expected-doctype-but-got-tag",
14559 "(1,6): eof-in-head-noscript"
14560 ],
14561 "script": "off",
14562 "document": {
14563 "props": {
14564 "tags": {
14565 "html": true,
14566 "head": true,
14567 "noscript": true,
14568 "body": true
14569 }
14570 },
14571 "tree": [
14572 {
14573 "tag": "html",
14574 "children": [
14575 {
14576 "tag": "head",
14577 "children": [
14578 {
14579 "tag": "noscript"
14580 }
14581 ]
14582 },
14583 {
14584 "tag": "body"
14585 }
14586 ]
14587 }
14588 ],
14589 "html": "<html><head><noscript></noscript></head><body></body></html>",
14590 "noQuirksBodyHtml": "<noscript></noscript>"
14591 }
14592 }
14593 ],
14594 "pending-spec-changes-plain-text-unsafe.dat": [
14595 {
14596 "data": "<body><table>\u0000filler\u0000text\u0000",
14597 "errors": [
14598 "(1,6): expected-doctype-but-got-start-tag",
14599 "(1,14): invalid-codepoint",
14600 "(1,14): invalid-codepoint-in-table-text",
14601 "(1,21): invalid-codepoint",
14602 "(1,21): invalid-codepoint-in-table-text",
14603 "(1,26): invalid-codepoint",
14604 "(1,26): invalid-codepoint-in-table-text",
14605 "(1,26): foster-parenting-character-in-table",
14606 "(1,26): foster-parenting-character-in-table",
14607 "(1,26): foster-parenting-character-in-table",
14608 "(1,26): foster-parenting-character-in-table",
14609 "(1,26): foster-parenting-character-in-table",
14610 "(1,26): foster-parenting-character-in-table",
14611 "(1,26): foster-parenting-character-in-table",
14612 "(1,26): foster-parenting-character-in-table",
14613 "(1,26): foster-parenting-character-in-table",
14614 "(1,26): foster-parenting-character-in-table",
14615 "(1,26): eof-in-table"
14616 ],
14617 "document": {
14618 "props": {
14619 "tags": {
14620 "html": true,
14621 "head": true,
14622 "body": true,
14623 "table": true
14624 }
14625 },
14626 "tree": [
14627 {
14628 "tag": "html",
14629 "children": [
14630 {
14631 "tag": "head"
14632 },
14633 {
14634 "tag": "body",
14635 "children": [
14636 {
14637 "text": "fillertext"
14638 },
14639 {
14640 "tag": "table"
14641 }
14642 ]
14643 }
14644 ]
14645 }
14646 ],
14647 "html": "<html><head></head><body>fillertext<table></table></body></html>",
14648 "noQuirksBodyHtml": "fillertext<table></table>"
14649 }
14650 }
14651 ],
14652 "pending-spec-changes.dat": [
14653 {
14654 "data": "<input type=\"hidden\"><frameset>",
14655 "errors": [
14656 "(1,21): expected-doctype-but-got-start-tag",
14657 "(1,31): unexpected-start-tag",
14658 "(1,31): eof-in-frameset"
14659 ],
14660 "document": {
14661 "props": {
14662 "tags": {
14663 "html": true,
14664 "head": true,
14665 "frameset": true
14666 }
14667 },
14668 "tree": [
14669 {
14670 "tag": "html",
14671 "children": [
14672 {
14673 "tag": "head"
14674 },
14675 {
14676 "tag": "frameset"
14677 }
14678 ]
14679 }
14680 ],
14681 "html": "<html><head></head><frameset></frameset></html>",
14682 "noQuirksBodyHtml": "<input type=\"hidden\">"
14683 }
14684 },
14685 {
14686 "data": "<!DOCTYPE html><table><caption><svg>foo</table>bar",
14687 "errors": [
14688 "(1,47): unexpected-end-tag",
14689 "(1,47): end-table-tag-in-caption"
14690 ],
14691 "document": {
14692 "props": {
14693 "tags": {
14694 "html": true,
14695 "head": true,
14696 "body": true,
14697 "table": true,
14698 "caption": true,
14699 "svg svg": true
14700 },
14701 "doctype": true
14702 },
14703 "tree": [
14704 {
14705 "doctype": "html"
14706 },
14707 {
14708 "tag": "html",
14709 "children": [
14710 {
14711 "tag": "head"
14712 },
14713 {
14714 "tag": "body",
14715 "children": [
14716 {
14717 "tag": "table",
14718 "children": [
14719 {
14720 "tag": "caption",
14721 "children": [
14722 {
14723 "tag": "svg",
14724 "ns": "http://www.w3.org/2000/svg",
14725 "children": [
14726 {
14727 "text": "foo"
14728 }
14729 ]
14730 }
14731 ]
14732 }
14733 ]
14734 },
14735 {
14736 "text": "bar"
14737 }
14738 ]
14739 }
14740 ]
14741 }
14742 ],
14743 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg>foo</svg></caption></table>bar</body></html>",
14744 "noQuirksBodyHtml": "<table><caption><svg>foo</svg></caption></table>bar"
14745 }
14746 },
14747 {
14748 "data": "<table><tr><td><svg><desc><td></desc><circle>",
14749 "errors": [
14750 "(1,7): expected-doctype-but-got-start-tag",
14751 "(1,30): unexpected-cell-end-tag",
14752 "(1,37): unexpected-end-tag",
14753 "(1,45): expected-closing-tag-but-got-eof"
14754 ],
14755 "document": {
14756 "props": {
14757 "tags": {
14758 "html": true,
14759 "head": true,
14760 "body": true,
14761 "table": true,
14762 "tbody": true,
14763 "tr": true,
14764 "td": true,
14765 "svg svg": true,
14766 "svg desc": true,
14767 "circle": true
14768 }
14769 },
14770 "tree": [
14771 {
14772 "tag": "html",
14773 "children": [
14774 {
14775 "tag": "head"
14776 },
14777 {
14778 "tag": "body",
14779 "children": [
14780 {
14781 "tag": "table",
14782 "children": [
14783 {
14784 "tag": "tbody",
14785 "children": [
14786 {
14787 "tag": "tr",
14788 "children": [
14789 {
14790 "tag": "td",
14791 "children": [
14792 {
14793 "tag": "svg",
14794 "ns": "http://www.w3.org/2000/svg",
14795 "children": [
14796 {
14797 "tag": "desc",
14798 "ns": "http://www.w3.org/2000/svg"
14799 }
14800 ]
14801 }
14802 ]
14803 },
14804 {
14805 "tag": "td",
14806 "children": [
14807 {
14808 "tag": "circle"
14809 }
14810 ]
14811 }
14812 ]
14813 }
14814 ]
14815 }
14816 ]
14817 }
14818 ]
14819 }
14820 ]
14821 }
14822 ],
14823 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table></body></html>",
14824 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table>"
14825 }
14826 }
14827 ],
14828 "plain-text-unsafe.dat": [
14829 {
14830 "data": "FOO&#x000D;ZOO",
14831 "errors": [
14832 "(1,3): expected-doctype-but-got-chars",
14833 "(1,11): illegal-codepoint-for-numeric-entity"
14834 ],
14835 "document": {
14836 "props": {
14837 "tags": {
14838 "html": true,
14839 "head": true,
14840 "body": true
14841 }
14842 },
14843 "tree": [
14844 {
14845 "tag": "html",
14846 "children": [
14847 {
14848 "tag": "head"
14849 },
14850 {
14851 "tag": "body",
14852 "children": [
14853 {
14854 "text": "FOO\rZOO"
14855 }
14856 ]
14857 }
14858 ]
14859 }
14860 ],
14861 "html": "<html><head></head><body>FOO\rZOO</body></html>",
14862 "noQuirksBodyHtml": "FOO\rZOO"
14863 }
14864 },
14865 {
14866 "data": "<html>\u0000<frameset></frameset>",
14867 "errors": [
14868 "(1,6): expected-doctype-but-got-start-tag",
14869 "(1,7): invalid-codepoint",
14870 "(1,7): invalid-codepoint-in-body",
14871 "(1,17): unexpected-start-tag"
14872 ],
14873 "document": {
14874 "props": {
14875 "tags": {
14876 "html": true,
14877 "head": true,
14878 "frameset": true
14879 }
14880 },
14881 "tree": [
14882 {
14883 "tag": "html",
14884 "children": [
14885 {
14886 "tag": "head"
14887 },
14888 {
14889 "tag": "frameset"
14890 }
14891 ]
14892 }
14893 ],
14894 "html": "<html><head></head><frameset></frameset></html>",
14895 "noQuirksBodyHtml": ""
14896 }
14897 },
14898 {
14899 "data": "<html> \u0000 <frameset></frameset>",
14900 "errors": [
14901 "(1,6): expected-doctype-but-got-start-tag",
14902 "(1,8): invalid-codepoint",
14903 "(1,8): invalid-codepoint-in-body",
14904 "(1,19): unexpected-start-tag"
14905 ],
14906 "document": {
14907 "props": {
14908 "tags": {
14909 "html": true,
14910 "head": true,
14911 "frameset": true
14912 }
14913 },
14914 "tree": [
14915 {
14916 "tag": "html",
14917 "children": [
14918 {
14919 "tag": "head"
14920 },
14921 {
14922 "tag": "frameset"
14923 }
14924 ]
14925 }
14926 ],
14927 "html": "<html><head></head><frameset></frameset></html>",
14928 "noQuirksBodyHtml": " "
14929 }
14930 },
14931 {
14932 "data": "<html>a\u0000a<frameset></frameset>",
14933 "errors": [
14934 "(1,6): expected-doctype-but-got-start-tag",
14935 "(1,8): invalid-codepoint",
14936 "(1,8): invalid-codepoint-in-body",
14937 "(1,19): unexpected-start-tag",
14938 "(1,30): unexpected-end-tag"
14939 ],
14940 "document": {
14941 "props": {
14942 "tags": {
14943 "html": true,
14944 "head": true,
14945 "body": true
14946 }
14947 },
14948 "tree": [
14949 {
14950 "tag": "html",
14951 "children": [
14952 {
14953 "tag": "head"
14954 },
14955 {
14956 "tag": "body",
14957 "children": [
14958 {
14959 "text": "aa"
14960 }
14961 ]
14962 }
14963 ]
14964 }
14965 ],
14966 "html": "<html><head></head><body>aa</body></html>",
14967 "noQuirksBodyHtml": "aa"
14968 }
14969 },
14970 {
14971 "data": "<html>\u0000\u0000<frameset></frameset>",
14972 "errors": [
14973 "(1,6): expected-doctype-but-got-start-tag",
14974 "(1,7): invalid-codepoint",
14975 "(1,7): invalid-codepoint-in-body",
14976 "(1,8): invalid-codepoint",
14977 "(1,8): invalid-codepoint-in-body",
14978 "(1,18): unexpected-start-tag"
14979 ],
14980 "document": {
14981 "props": {
14982 "tags": {
14983 "html": true,
14984 "head": true,
14985 "frameset": true
14986 }
14987 },
14988 "tree": [
14989 {
14990 "tag": "html",
14991 "children": [
14992 {
14993 "tag": "head"
14994 },
14995 {
14996 "tag": "frameset"
14997 }
14998 ]
14999 }
15000 ],
15001 "html": "<html><head></head><frameset></frameset></html>",
15002 "noQuirksBodyHtml": ""
15003 }
15004 },
15005 {
15006 "data": "<html>\u0000\n <frameset></frameset>",
15007 "errors": [
15008 "(1,6): expected-doctype-but-got-start-tag",
15009 "(1,7): invalid-codepoint",
15010 "(1,7): invalid-codepoint-in-body",
15011 "(2,11): unexpected-start-tag"
15012 ],
15013 "document": {
15014 "props": {
15015 "tags": {
15016 "html": true,
15017 "head": true,
15018 "frameset": true
15019 }
15020 },
15021 "tree": [
15022 {
15023 "tag": "html",
15024 "children": [
15025 {
15026 "tag": "head"
15027 },
15028 {
15029 "tag": "frameset"
15030 }
15031 ]
15032 }
15033 ],
15034 "html": "<html><head></head><frameset></frameset></html>",
15035 "noQuirksBodyHtml": "\n "
15036 }
15037 },
15038 {
15039 "data": "<html><select>\u0000",
15040 "errors": [
15041 "(1,6): expected-doctype-but-got-start-tag",
15042 "(1,15): invalid-codepoint",
15043 "(1,15): invalid-codepoint-in-select",
15044 "(1,15): eof-in-select"
15045 ],
15046 "document": {
15047 "props": {
15048 "tags": {
15049 "html": true,
15050 "head": true,
15051 "body": true,
15052 "select": true
15053 }
15054 },
15055 "tree": [
15056 {
15057 "tag": "html",
15058 "children": [
15059 {
15060 "tag": "head"
15061 },
15062 {
15063 "tag": "body",
15064 "children": [
15065 {
15066 "tag": "select"
15067 }
15068 ]
15069 }
15070 ]
15071 }
15072 ],
15073 "html": "<html><head></head><body><select></select></body></html>",
15074 "noQuirksBodyHtml": "<select></select>"
15075 }
15076 },
15077 {
15078 "data": "\u0000",
15079 "errors": [
15080 "(1,1): invalid-codepoint",
15081 "(1,1): expected-doctype-but-got-chars",
15082 "(1,1): invalid-codepoint-in-body"
15083 ],
15084 "document": {
15085 "props": {
15086 "tags": {
15087 "html": true,
15088 "head": true,
15089 "body": true
15090 }
15091 },
15092 "tree": [
15093 {
15094 "tag": "html",
15095 "children": [
15096 {
15097 "tag": "head"
15098 },
15099 {
15100 "tag": "body"
15101 }
15102 ]
15103 }
15104 ],
15105 "html": "<html><head></head><body></body></html>",
15106 "noQuirksBodyHtml": ""
15107 }
15108 },
15109 {
15110 "data": "<body>\u0000",
15111 "errors": [
15112 "(1,6): expected-doctype-but-got-start-tag",
15113 "(1,7): invalid-codepoint",
15114 "(1,7): invalid-codepoint-in-body"
15115 ],
15116 "document": {
15117 "props": {
15118 "tags": {
15119 "html": true,
15120 "head": true,
15121 "body": true
15122 }
15123 },
15124 "tree": [
15125 {
15126 "tag": "html",
15127 "children": [
15128 {
15129 "tag": "head"
15130 },
15131 {
15132 "tag": "body"
15133 }
15134 ]
15135 }
15136 ],
15137 "html": "<html><head></head><body></body></html>",
15138 "noQuirksBodyHtml": ""
15139 }
15140 },
15141 {
15142 "data": "<plaintext>\u0000filler\u0000text\u0000",
15143 "errors": [
15144 "(1,11): expected-doctype-but-got-start-tag",
15145 "(1,12): invalid-codepoint",
15146 "(1,19): invalid-codepoint",
15147 "(1,24): invalid-codepoint",
15148 "(1,24): expected-closing-tag-but-got-eof"
15149 ],
15150 "document": {
15151 "props": {
15152 "tags": {
15153 "html": true,
15154 "head": true,
15155 "body": true,
15156 "plaintext": true
15157 },
15158 "no_escape": true
15159 },
15160 "tree": [
15161 {
15162 "tag": "html",
15163 "children": [
15164 {
15165 "tag": "head"
15166 },
15167 {
15168 "tag": "body",
15169 "children": [
15170 {
15171 "tag": "plaintext",
15172 "children": [
15173 {
15174 "text": "�filler�text�",
15175 "no_escape": true
15176 }
15177 ]
15178 }
15179 ]
15180 }
15181 ]
15182 }
15183 ],
15184 "html": "<html><head></head><body><plaintext>�filler�text�</plaintext></body></html>",
15185 "noQuirksBodyHtml": "<plaintext>�filler�text�</plaintext>"
15186 }
15187 },
15188 {
15189 "data": "<svg><![CDATA[\u0000filler\u0000text\u0000]]>",
15190 "errors": [
15191 "(1,5): expected-doctype-but-got-start-tag",
15192 "(1,30): invalid-codepoint",
15193 "(1,30): invalid-codepoint",
15194 "(1,30): invalid-codepoint",
15195 "(1,30): expected-closing-tag-but-got-eof"
15196 ],
15197 "document": {
15198 "props": {
15199 "tags": {
15200 "html": true,
15201 "head": true,
15202 "body": true,
15203 "svg svg": true
15204 }
15205 },
15206 "tree": [
15207 {
15208 "tag": "html",
15209 "children": [
15210 {
15211 "tag": "head"
15212 },
15213 {
15214 "tag": "body",
15215 "children": [
15216 {
15217 "tag": "svg",
15218 "ns": "http://www.w3.org/2000/svg",
15219 "children": [
15220 {
15221 "text": "�filler�text�"
15222 }
15223 ]
15224 }
15225 ]
15226 }
15227 ]
15228 }
15229 ],
15230 "html": "<html><head></head><body><svg>�filler�text�</svg></body></html>",
15231 "noQuirksBodyHtml": "<svg>�filler�text�</svg>"
15232 }
15233 },
15234 {
15235 "data": "<body><!\u0000>",
15236 "errors": [
15237 "(1,6): expected-doctype-but-got-start-tag",
15238 "(1,8): expected-dashes-or-doctype"
15239 ],
15240 "document": {
15241 "props": {
15242 "tags": {
15243 "html": true,
15244 "head": true,
15245 "body": true
15246 },
15247 "comment": true
15248 },
15249 "tree": [
15250 {
15251 "tag": "html",
15252 "children": [
15253 {
15254 "tag": "head"
15255 },
15256 {
15257 "tag": "body",
15258 "children": [
15259 {
15260 "comment": "�"
15261 }
15262 ]
15263 }
15264 ]
15265 }
15266 ],
15267 "html": "<html><head></head><body><!--�--></body></html>",
15268 "noQuirksBodyHtml": "<!--�-->"
15269 }
15270 },
15271 {
15272 "data": "<body><!\u0000filler\u0000text>",
15273 "errors": [
15274 "(1,6): expected-doctype-but-got-start-tag",
15275 "(1,8): expected-dashes-or-doctype"
15276 ],
15277 "document": {
15278 "props": {
15279 "tags": {
15280 "html": true,
15281 "head": true,
15282 "body": true
15283 },
15284 "comment": true
15285 },
15286 "tree": [
15287 {
15288 "tag": "html",
15289 "children": [
15290 {
15291 "tag": "head"
15292 },
15293 {
15294 "tag": "body",
15295 "children": [
15296 {
15297 "comment": "�filler�text"
15298 }
15299 ]
15300 }
15301 ]
15302 }
15303 ],
15304 "html": "<html><head></head><body><!--�filler�text--></body></html>",
15305 "noQuirksBodyHtml": "<!--�filler�text-->"
15306 }
15307 },
15308 {
15309 "data": "<body><svg><foreignObject>\u0000filler\u0000text",
15310 "errors": [
15311 "(1,6): expected-doctype-but-got-start-tag",
15312 "(1,27): invalid-codepoint",
15313 "(1,27): invalid-codepoint-in-body",
15314 "(1,34): invalid-codepoint",
15315 "(1,34): invalid-codepoint-in-body",
15316 "(1,38): expected-closing-tag-but-got-eof"
15317 ],
15318 "document": {
15319 "props": {
15320 "tags": {
15321 "html": true,
15322 "head": true,
15323 "body": true,
15324 "svg svg": true,
15325 "svg foreignObject": true
15326 }
15327 },
15328 "tree": [
15329 {
15330 "tag": "html",
15331 "children": [
15332 {
15333 "tag": "head"
15334 },
15335 {
15336 "tag": "body",
15337 "children": [
15338 {
15339 "tag": "svg",
15340 "ns": "http://www.w3.org/2000/svg",
15341 "children": [
15342 {
15343 "tag": "foreignObject",
15344 "ns": "http://www.w3.org/2000/svg",
15345 "children": [
15346 {
15347 "text": "fillertext"
15348 }
15349 ]
15350 }
15351 ]
15352 }
15353 ]
15354 }
15355 ]
15356 }
15357 ],
15358 "html": "<html><head></head><body><svg><foreignObject>fillertext</foreignObject></svg></body></html>",
15359 "noQuirksBodyHtml": "<svg><foreignObject>fillertext</foreignObject></svg>"
15360 }
15361 },
15362 {
15363 "data": "<svg>\u0000filler\u0000text",
15364 "errors": [
15365 "(1,5): expected-doctype-but-got-start-tag",
15366 "(1,6): invalid-codepoint",
15367 "(1,6): invalid-codepoint-in-foreign-content",
15368 "(1,13): invalid-codepoint",
15369 "(1,13): invalid-codepoint-in-foreign-content",
15370 "(1,17): expected-closing-tag-but-got-eof"
15371 ],
15372 "document": {
15373 "props": {
15374 "tags": {
15375 "html": true,
15376 "head": true,
15377 "body": true,
15378 "svg svg": true
15379 }
15380 },
15381 "tree": [
15382 {
15383 "tag": "html",
15384 "children": [
15385 {
15386 "tag": "head"
15387 },
15388 {
15389 "tag": "body",
15390 "children": [
15391 {
15392 "tag": "svg",
15393 "ns": "http://www.w3.org/2000/svg",
15394 "children": [
15395 {
15396 "text": "�filler�text"
15397 }
15398 ]
15399 }
15400 ]
15401 }
15402 ]
15403 }
15404 ],
15405 "html": "<html><head></head><body><svg>�filler�text</svg></body></html>",
15406 "noQuirksBodyHtml": "<svg>�filler�text</svg>"
15407 }
15408 },
15409 {
15410 "data": "<svg>\u0000<frameset>",
15411 "errors": [
15412 "(1,5): expected-doctype-but-got-start-tag",
15413 "(1,6): invalid-codepoint",
15414 "(1,6): invalid-codepoint-in-foreign-content",
15415 "(1,16): expected-closing-tag-but-got-eof"
15416 ],
15417 "document": {
15418 "props": {
15419 "tags": {
15420 "html": true,
15421 "head": true,
15422 "body": true,
15423 "svg svg": true,
15424 "svg frameset": true
15425 }
15426 },
15427 "tree": [
15428 {
15429 "tag": "html",
15430 "children": [
15431 {
15432 "tag": "head"
15433 },
15434 {
15435 "tag": "body",
15436 "children": [
15437 {
15438 "tag": "svg",
15439 "ns": "http://www.w3.org/2000/svg",
15440 "children": [
15441 {
15442 "text": "�"
15443 },
15444 {
15445 "tag": "frameset",
15446 "ns": "http://www.w3.org/2000/svg"
15447 }
15448 ]
15449 }
15450 ]
15451 }
15452 ]
15453 }
15454 ],
15455 "html": "<html><head></head><body><svg>�<frameset></frameset></svg></body></html>",
15456 "noQuirksBodyHtml": "<svg>�<frameset></frameset></svg>"
15457 }
15458 },
15459 {
15460 "data": "<svg>\u0000 <frameset>",
15461 "errors": [
15462 "(1,5): expected-doctype-but-got-start-tag",
15463 "(1,6): invalid-codepoint",
15464 "(1,6): invalid-codepoint-in-foreign-content",
15465 "(1,17): expected-closing-tag-but-got-eof"
15466 ],
15467 "document": {
15468 "props": {
15469 "tags": {
15470 "html": true,
15471 "head": true,
15472 "body": true,
15473 "svg svg": true,
15474 "svg frameset": true
15475 }
15476 },
15477 "tree": [
15478 {
15479 "tag": "html",
15480 "children": [
15481 {
15482 "tag": "head"
15483 },
15484 {
15485 "tag": "body",
15486 "children": [
15487 {
15488 "tag": "svg",
15489 "ns": "http://www.w3.org/2000/svg",
15490 "children": [
15491 {
15492 "text": "� "
15493 },
15494 {
15495 "tag": "frameset",
15496 "ns": "http://www.w3.org/2000/svg"
15497 }
15498 ]
15499 }
15500 ]
15501 }
15502 ]
15503 }
15504 ],
15505 "html": "<html><head></head><body><svg>� <frameset></frameset></svg></body></html>",
15506 "noQuirksBodyHtml": "<svg>� <frameset></frameset></svg>"
15507 }
15508 },
15509 {
15510 "data": "<svg>\u0000a<frameset>",
15511 "errors": [
15512 "(1,5): expected-doctype-but-got-start-tag",
15513 "(1,6): invalid-codepoint",
15514 "(1,6): invalid-codepoint-in-foreign-content",
15515 "(1,17): expected-closing-tag-but-got-eof"
15516 ],
15517 "document": {
15518 "props": {
15519 "tags": {
15520 "html": true,
15521 "head": true,
15522 "body": true,
15523 "svg svg": true,
15524 "svg frameset": true
15525 }
15526 },
15527 "tree": [
15528 {
15529 "tag": "html",
15530 "children": [
15531 {
15532 "tag": "head"
15533 },
15534 {
15535 "tag": "body",
15536 "children": [
15537 {
15538 "tag": "svg",
15539 "ns": "http://www.w3.org/2000/svg",
15540 "children": [
15541 {
15542 "text": "�a"
15543 },
15544 {
15545 "tag": "frameset",
15546 "ns": "http://www.w3.org/2000/svg"
15547 }
15548 ]
15549 }
15550 ]
15551 }
15552 ]
15553 }
15554 ],
15555 "html": "<html><head></head><body><svg>�a<frameset></frameset></svg></body></html>",
15556 "noQuirksBodyHtml": "<svg>�a<frameset></frameset></svg>"
15557 }
15558 },
15559 {
15560 "data": "<svg>\u0000</svg><frameset>",
15561 "errors": [
15562 "(1,5): expected-doctype-but-got-start-tag",
15563 "(1,6): invalid-codepoint",
15564 "(1,6): invalid-codepoint-in-foreign-content",
15565 "(1,22): unexpected-start-tag",
15566 "(1,22): eof-in-frameset"
15567 ],
15568 "document": {
15569 "props": {
15570 "tags": {
15571 "html": true,
15572 "head": true,
15573 "frameset": true
15574 }
15575 },
15576 "tree": [
15577 {
15578 "tag": "html",
15579 "children": [
15580 {
15581 "tag": "head"
15582 },
15583 {
15584 "tag": "frameset"
15585 }
15586 ]
15587 }
15588 ],
15589 "html": "<html><head></head><frameset></frameset></html>",
15590 "noQuirksBodyHtml": "<svg>�</svg>"
15591 }
15592 },
15593 {
15594 "data": "<svg>\u0000 </svg><frameset>",
15595 "errors": [
15596 "(1,5): expected-doctype-but-got-start-tag",
15597 "(1,6): invalid-codepoint",
15598 "(1,6): invalid-codepoint-in-foreign-content",
15599 "(1,23): unexpected-start-tag",
15600 "(1,23): eof-in-frameset"
15601 ],
15602 "document": {
15603 "props": {
15604 "tags": {
15605 "html": true,
15606 "head": true,
15607 "frameset": true
15608 }
15609 },
15610 "tree": [
15611 {
15612 "tag": "html",
15613 "children": [
15614 {
15615 "tag": "head"
15616 },
15617 {
15618 "tag": "frameset"
15619 }
15620 ]
15621 }
15622 ],
15623 "html": "<html><head></head><frameset></frameset></html>",
15624 "noQuirksBodyHtml": "<svg>� </svg>"
15625 }
15626 },
15627 {
15628 "data": "<svg>\u0000a</svg><frameset>",
15629 "errors": [
15630 "(1,5): expected-doctype-but-got-start-tag",
15631 "(1,6): invalid-codepoint",
15632 "(1,6): invalid-codepoint-in-foreign-content",
15633 "(1,23): unexpected-start-tag"
15634 ],
15635 "document": {
15636 "props": {
15637 "tags": {
15638 "html": true,
15639 "head": true,
15640 "body": true,
15641 "svg svg": true
15642 }
15643 },
15644 "tree": [
15645 {
15646 "tag": "html",
15647 "children": [
15648 {
15649 "tag": "head"
15650 },
15651 {
15652 "tag": "body",
15653 "children": [
15654 {
15655 "tag": "svg",
15656 "ns": "http://www.w3.org/2000/svg",
15657 "children": [
15658 {
15659 "text": "�a"
15660 }
15661 ]
15662 }
15663 ]
15664 }
15665 ]
15666 }
15667 ],
15668 "html": "<html><head></head><body><svg>�a</svg></body></html>",
15669 "noQuirksBodyHtml": "<svg>�a</svg>"
15670 }
15671 },
15672 {
15673 "data": "<svg><path></path></svg><frameset>",
15674 "errors": [
15675 "(1,5): expected-doctype-but-got-start-tag",
15676 "(1,34): unexpected-start-tag",
15677 "(1,34): eof-in-frameset"
15678 ],
15679 "document": {
15680 "props": {
15681 "tags": {
15682 "html": true,
15683 "head": true,
15684 "frameset": true
15685 }
15686 },
15687 "tree": [
15688 {
15689 "tag": "html",
15690 "children": [
15691 {
15692 "tag": "head"
15693 },
15694 {
15695 "tag": "frameset"
15696 }
15697 ]
15698 }
15699 ],
15700 "html": "<html><head></head><frameset></frameset></html>",
15701 "noQuirksBodyHtml": "<svg><path></path></svg>"
15702 }
15703 },
15704 {
15705 "data": "<svg><p><frameset>",
15706 "errors": [
15707 "(1, 5) expected-doctype-but-got-start-tag",
15708 "(1, 8) unexpected-html-element-in-foreign-content",
15709 "(1, 18) unexpected-start-tag",
15710 "(1, 18) eof-in-frameset"
15711 ],
15712 "document": {
15713 "props": {
15714 "tags": {
15715 "html": true,
15716 "head": true,
15717 "frameset": true
15718 }
15719 },
15720 "tree": [
15721 {
15722 "tag": "html",
15723 "children": [
15724 {
15725 "tag": "head"
15726 },
15727 {
15728 "tag": "frameset"
15729 }
15730 ]
15731 }
15732 ],
15733 "html": "<html><head></head><frameset></frameset></html>",
15734 "noQuirksBodyHtml": "<svg><p><frameset></frameset></p></svg>"
15735 }
15736 },
15737 {
15738 "data": "<!DOCTYPE html><pre>\r\n\r\nA</pre>",
15739 "errors": [],
15740 "document": {
15741 "props": {
15742 "tags": {
15743 "html": true,
15744 "head": true,
15745 "body": true,
15746 "pre": true
15747 },
15748 "doctype": true
15749 },
15750 "tree": [
15751 {
15752 "doctype": "html"
15753 },
15754 {
15755 "tag": "html",
15756 "children": [
15757 {
15758 "tag": "head"
15759 },
15760 {
15761 "tag": "body",
15762 "children": [
15763 {
15764 "tag": "pre",
15765 "children": [
15766 {
15767 "text": "\nA"
15768 }
15769 ]
15770 }
15771 ]
15772 }
15773 ]
15774 }
15775 ],
15776 "html": "<!DOCTYPE html><html><head></head><body><pre>\nA</pre></body></html>",
15777 "noQuirksBodyHtml": "<pre>\nA</pre>"
15778 }
15779 },
15780 {
15781 "data": "<!DOCTYPE html><pre>\r\rA</pre>",
15782 "errors": [],
15783 "document": {
15784 "props": {
15785 "tags": {
15786 "html": true,
15787 "head": true,
15788 "body": true,
15789 "pre": true
15790 },
15791 "doctype": true
15792 },
15793 "tree": [
15794 {
15795 "doctype": "html"
15796 },
15797 {
15798 "tag": "html",
15799 "children": [
15800 {
15801 "tag": "head"
15802 },
15803 {
15804 "tag": "body",
15805 "children": [
15806 {
15807 "tag": "pre",
15808 "children": [
15809 {
15810 "text": "\nA"
15811 }
15812 ]
15813 }
15814 ]
15815 }
15816 ]
15817 }
15818 ],
15819 "html": "<!DOCTYPE html><html><head></head><body><pre>\nA</pre></body></html>",
15820 "noQuirksBodyHtml": "<pre>\nA</pre>"
15821 }
15822 },
15823 {
15824 "data": "<!DOCTYPE html><pre>\rA</pre>",
15825 "errors": [],
15826 "document": {
15827 "props": {
15828 "tags": {
15829 "html": true,
15830 "head": true,
15831 "body": true,
15832 "pre": true
15833 },
15834 "doctype": true
15835 },
15836 "tree": [
15837 {
15838 "doctype": "html"
15839 },
15840 {
15841 "tag": "html",
15842 "children": [
15843 {
15844 "tag": "head"
15845 },
15846 {
15847 "tag": "body",
15848 "children": [
15849 {
15850 "tag": "pre",
15851 "children": [
15852 {
15853 "text": "A"
15854 }
15855 ]
15856 }
15857 ]
15858 }
15859 ]
15860 }
15861 ],
15862 "html": "<!DOCTYPE html><html><head></head><body><pre>A</pre></body></html>",
15863 "noQuirksBodyHtml": "<pre>A</pre>"
15864 }
15865 },
15866 {
15867 "data": "<!DOCTYPE html><table><tr><td><math><mtext>\u0000a",
15868 "errors": [
15869 "(1,44): invalid-codepoint",
15870 "(1,44): invalid-codepoint-in-body",
15871 "(1,45): expected-closing-tag-but-got-eof"
15872 ],
15873 "document": {
15874 "props": {
15875 "tags": {
15876 "html": true,
15877 "head": true,
15878 "body": true,
15879 "table": true,
15880 "tbody": true,
15881 "tr": true,
15882 "td": true,
15883 "math math": true,
15884 "math mtext": true
15885 },
15886 "doctype": true
15887 },
15888 "tree": [
15889 {
15890 "doctype": "html"
15891 },
15892 {
15893 "tag": "html",
15894 "children": [
15895 {
15896 "tag": "head"
15897 },
15898 {
15899 "tag": "body",
15900 "children": [
15901 {
15902 "tag": "table",
15903 "children": [
15904 {
15905 "tag": "tbody",
15906 "children": [
15907 {
15908 "tag": "tr",
15909 "children": [
15910 {
15911 "tag": "td",
15912 "children": [
15913 {
15914 "tag": "math",
15915 "ns": "http://www.w3.org/1998/Math/MathML",
15916 "children": [
15917 {
15918 "tag": "mtext",
15919 "ns": "http://www.w3.org/1998/Math/MathML",
15920 "children": [
15921 {
15922 "text": "a"
15923 }
15924 ]
15925 }
15926 ]
15927 }
15928 ]
15929 }
15930 ]
15931 }
15932 ]
15933 }
15934 ]
15935 }
15936 ]
15937 }
15938 ]
15939 }
15940 ],
15941 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><math><mtext>a</mtext></math></td></tr></tbody></table></body></html>",
15942 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mtext>a</mtext></math></td></tr></tbody></table>"
15943 }
15944 },
15945 {
15946 "data": "<!DOCTYPE html><table><tr><td><svg><foreignObject>\u0000a",
15947 "errors": [
15948 "(1,51): invalid-codepoint",
15949 "(1,51): invalid-codepoint-in-body",
15950 "(1,52): expected-closing-tag-but-got-eof"
15951 ],
15952 "document": {
15953 "props": {
15954 "tags": {
15955 "html": true,
15956 "head": true,
15957 "body": true,
15958 "table": true,
15959 "tbody": true,
15960 "tr": true,
15961 "td": true,
15962 "svg svg": true,
15963 "svg foreignObject": true
15964 },
15965 "doctype": true
15966 },
15967 "tree": [
15968 {
15969 "doctype": "html"
15970 },
15971 {
15972 "tag": "html",
15973 "children": [
15974 {
15975 "tag": "head"
15976 },
15977 {
15978 "tag": "body",
15979 "children": [
15980 {
15981 "tag": "table",
15982 "children": [
15983 {
15984 "tag": "tbody",
15985 "children": [
15986 {
15987 "tag": "tr",
15988 "children": [
15989 {
15990 "tag": "td",
15991 "children": [
15992 {
15993 "tag": "svg",
15994 "ns": "http://www.w3.org/2000/svg",
15995 "children": [
15996 {
15997 "tag": "foreignObject",
15998 "ns": "http://www.w3.org/2000/svg",
15999 "children": [
16000 {
16001 "text": "a"
16002 }
16003 ]
16004 }
16005 ]
16006 }
16007 ]
16008 }
16009 ]
16010 }
16011 ]
16012 }
16013 ]
16014 }
16015 ]
16016 }
16017 ]
16018 }
16019 ],
16020 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg><foreignObject>a</foreignObject></svg></td></tr></tbody></table></body></html>",
16021 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><foreignObject>a</foreignObject></svg></td></tr></tbody></table>"
16022 }
16023 },
16024 {
16025 "data": "<!DOCTYPE html><math><mi>a\u0000b",
16026 "errors": [
16027 "(1,27): invalid-codepoint",
16028 "(1,27): invalid-codepoint-in-body",
16029 "(1,28): expected-closing-tag-but-got-eof"
16030 ],
16031 "document": {
16032 "props": {
16033 "tags": {
16034 "html": true,
16035 "head": true,
16036 "body": true,
16037 "math math": true,
16038 "math mi": true
16039 },
16040 "doctype": true
16041 },
16042 "tree": [
16043 {
16044 "doctype": "html"
16045 },
16046 {
16047 "tag": "html",
16048 "children": [
16049 {
16050 "tag": "head"
16051 },
16052 {
16053 "tag": "body",
16054 "children": [
16055 {
16056 "tag": "math",
16057 "ns": "http://www.w3.org/1998/Math/MathML",
16058 "children": [
16059 {
16060 "tag": "mi",
16061 "ns": "http://www.w3.org/1998/Math/MathML",
16062 "children": [
16063 {
16064 "text": "ab"
16065 }
16066 ]
16067 }
16068 ]
16069 }
16070 ]
16071 }
16072 ]
16073 }
16074 ],
16075 "html": "<!DOCTYPE html><html><head></head><body><math><mi>ab</mi></math></body></html>",
16076 "noQuirksBodyHtml": "<math><mi>ab</mi></math>"
16077 }
16078 },
16079 {
16080 "data": "<!DOCTYPE html><math><mo>a\u0000b",
16081 "errors": [
16082 "(1,27): invalid-codepoint",
16083 "(1,27): invalid-codepoint-in-body",
16084 "(1,28): expected-closing-tag-but-got-eof"
16085 ],
16086 "document": {
16087 "props": {
16088 "tags": {
16089 "html": true,
16090 "head": true,
16091 "body": true,
16092 "math math": true,
16093 "math mo": true
16094 },
16095 "doctype": true
16096 },
16097 "tree": [
16098 {
16099 "doctype": "html"
16100 },
16101 {
16102 "tag": "html",
16103 "children": [
16104 {
16105 "tag": "head"
16106 },
16107 {
16108 "tag": "body",
16109 "children": [
16110 {
16111 "tag": "math",
16112 "ns": "http://www.w3.org/1998/Math/MathML",
16113 "children": [
16114 {
16115 "tag": "mo",
16116 "ns": "http://www.w3.org/1998/Math/MathML",
16117 "children": [
16118 {
16119 "text": "ab"
16120 }
16121 ]
16122 }
16123 ]
16124 }
16125 ]
16126 }
16127 ]
16128 }
16129 ],
16130 "html": "<!DOCTYPE html><html><head></head><body><math><mo>ab</mo></math></body></html>",
16131 "noQuirksBodyHtml": "<math><mo>ab</mo></math>"
16132 }
16133 },
16134 {
16135 "data": "<!DOCTYPE html><math><mn>a\u0000b",
16136 "errors": [
16137 "(1,27): invalid-codepoint",
16138 "(1,27): invalid-codepoint-in-body",
16139 "(1,28): expected-closing-tag-but-got-eof"
16140 ],
16141 "document": {
16142 "props": {
16143 "tags": {
16144 "html": true,
16145 "head": true,
16146 "body": true,
16147 "math math": true,
16148 "math mn": true
16149 },
16150 "doctype": true
16151 },
16152 "tree": [
16153 {
16154 "doctype": "html"
16155 },
16156 {
16157 "tag": "html",
16158 "children": [
16159 {
16160 "tag": "head"
16161 },
16162 {
16163 "tag": "body",
16164 "children": [
16165 {
16166 "tag": "math",
16167 "ns": "http://www.w3.org/1998/Math/MathML",
16168 "children": [
16169 {
16170 "tag": "mn",
16171 "ns": "http://www.w3.org/1998/Math/MathML",
16172 "children": [
16173 {
16174 "text": "ab"
16175 }
16176 ]
16177 }
16178 ]
16179 }
16180 ]
16181 }
16182 ]
16183 }
16184 ],
16185 "html": "<!DOCTYPE html><html><head></head><body><math><mn>ab</mn></math></body></html>",
16186 "noQuirksBodyHtml": "<math><mn>ab</mn></math>"
16187 }
16188 },
16189 {
16190 "data": "<!DOCTYPE html><math><ms>a\u0000b",
16191 "errors": [
16192 "(1,27): invalid-codepoint",
16193 "(1,27): invalid-codepoint-in-body",
16194 "(1,28): expected-closing-tag-but-got-eof"
16195 ],
16196 "document": {
16197 "props": {
16198 "tags": {
16199 "html": true,
16200 "head": true,
16201 "body": true,
16202 "math math": true,
16203 "math ms": true
16204 },
16205 "doctype": true
16206 },
16207 "tree": [
16208 {
16209 "doctype": "html"
16210 },
16211 {
16212 "tag": "html",
16213 "children": [
16214 {
16215 "tag": "head"
16216 },
16217 {
16218 "tag": "body",
16219 "children": [
16220 {
16221 "tag": "math",
16222 "ns": "http://www.w3.org/1998/Math/MathML",
16223 "children": [
16224 {
16225 "tag": "ms",
16226 "ns": "http://www.w3.org/1998/Math/MathML",
16227 "children": [
16228 {
16229 "text": "ab"
16230 }
16231 ]
16232 }
16233 ]
16234 }
16235 ]
16236 }
16237 ]
16238 }
16239 ],
16240 "html": "<!DOCTYPE html><html><head></head><body><math><ms>ab</ms></math></body></html>",
16241 "noQuirksBodyHtml": "<math><ms>ab</ms></math>"
16242 }
16243 },
16244 {
16245 "data": "<!DOCTYPE html><math><mtext>a\u0000b",
16246 "errors": [
16247 "(1,30): invalid-codepoint",
16248 "(1,30): invalid-codepoint-in-body",
16249 "(1,31): expected-closing-tag-but-got-eof"
16250 ],
16251 "document": {
16252 "props": {
16253 "tags": {
16254 "html": true,
16255 "head": true,
16256 "body": true,
16257 "math math": true,
16258 "math mtext": true
16259 },
16260 "doctype": true
16261 },
16262 "tree": [
16263 {
16264 "doctype": "html"
16265 },
16266 {
16267 "tag": "html",
16268 "children": [
16269 {
16270 "tag": "head"
16271 },
16272 {
16273 "tag": "body",
16274 "children": [
16275 {
16276 "tag": "math",
16277 "ns": "http://www.w3.org/1998/Math/MathML",
16278 "children": [
16279 {
16280 "tag": "mtext",
16281 "ns": "http://www.w3.org/1998/Math/MathML",
16282 "children": [
16283 {
16284 "text": "ab"
16285 }
16286 ]
16287 }
16288 ]
16289 }
16290 ]
16291 }
16292 ]
16293 }
16294 ],
16295 "html": "<!DOCTYPE html><html><head></head><body><math><mtext>ab</mtext></math></body></html>",
16296 "noQuirksBodyHtml": "<math><mtext>ab</mtext></math>"
16297 }
16298 }
16299 ],
16300 "ruby.dat": [
16301 {
16302 "data": "<html><ruby>a<rb>b<rb></ruby></html>",
16303 "errors": [
16304 "(1,6): expected-doctype-but-got-start-tag"
16305 ],
16306 "document": {
16307 "props": {
16308 "tags": {
16309 "html": true,
16310 "head": true,
16311 "body": true,
16312 "ruby": true,
16313 "rb": true
16314 }
16315 },
16316 "tree": [
16317 {
16318 "tag": "html",
16319 "children": [
16320 {
16321 "tag": "head"
16322 },
16323 {
16324 "tag": "body",
16325 "children": [
16326 {
16327 "tag": "ruby",
16328 "children": [
16329 {
16330 "text": "a"
16331 },
16332 {
16333 "tag": "rb",
16334 "children": [
16335 {
16336 "text": "b"
16337 }
16338 ]
16339 },
16340 {
16341 "tag": "rb"
16342 }
16343 ]
16344 }
16345 ]
16346 }
16347 ]
16348 }
16349 ],
16350 "html": "<html><head></head><body><ruby>a<rb>b</rb><rb></rb></ruby></body></html>",
16351 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rb></rb></ruby>"
16352 }
16353 },
16354 {
16355 "data": "<html><ruby>a<rb>b<rt></ruby></html>",
16356 "errors": [
16357 "(1,6): expected-doctype-but-got-start-tag"
16358 ],
16359 "document": {
16360 "props": {
16361 "tags": {
16362 "html": true,
16363 "head": true,
16364 "body": true,
16365 "ruby": true,
16366 "rb": true,
16367 "rt": true
16368 }
16369 },
16370 "tree": [
16371 {
16372 "tag": "html",
16373 "children": [
16374 {
16375 "tag": "head"
16376 },
16377 {
16378 "tag": "body",
16379 "children": [
16380 {
16381 "tag": "ruby",
16382 "children": [
16383 {
16384 "text": "a"
16385 },
16386 {
16387 "tag": "rb",
16388 "children": [
16389 {
16390 "text": "b"
16391 }
16392 ]
16393 },
16394 {
16395 "tag": "rt"
16396 }
16397 ]
16398 }
16399 ]
16400 }
16401 ]
16402 }
16403 ],
16404 "html": "<html><head></head><body><ruby>a<rb>b</rb><rt></rt></ruby></body></html>",
16405 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rt></rt></ruby>"
16406 }
16407 },
16408 {
16409 "data": "<html><ruby>a<rb>b<rtc></ruby></html>",
16410 "errors": [
16411 "(1,6): expected-doctype-but-got-start-tag"
16412 ],
16413 "document": {
16414 "props": {
16415 "tags": {
16416 "html": true,
16417 "head": true,
16418 "body": true,
16419 "ruby": true,
16420 "rb": true,
16421 "rtc": true
16422 }
16423 },
16424 "tree": [
16425 {
16426 "tag": "html",
16427 "children": [
16428 {
16429 "tag": "head"
16430 },
16431 {
16432 "tag": "body",
16433 "children": [
16434 {
16435 "tag": "ruby",
16436 "children": [
16437 {
16438 "text": "a"
16439 },
16440 {
16441 "tag": "rb",
16442 "children": [
16443 {
16444 "text": "b"
16445 }
16446 ]
16447 },
16448 {
16449 "tag": "rtc"
16450 }
16451 ]
16452 }
16453 ]
16454 }
16455 ]
16456 }
16457 ],
16458 "html": "<html><head></head><body><ruby>a<rb>b</rb><rtc></rtc></ruby></body></html>",
16459 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rtc></rtc></ruby>"
16460 }
16461 },
16462 {
16463 "data": "<html><ruby>a<rb>b<rp></ruby></html>",
16464 "errors": [
16465 "(1,6): expected-doctype-but-got-start-tag"
16466 ],
16467 "document": {
16468 "props": {
16469 "tags": {
16470 "html": true,
16471 "head": true,
16472 "body": true,
16473 "ruby": true,
16474 "rb": true,
16475 "rp": true
16476 }
16477 },
16478 "tree": [
16479 {
16480 "tag": "html",
16481 "children": [
16482 {
16483 "tag": "head"
16484 },
16485 {
16486 "tag": "body",
16487 "children": [
16488 {
16489 "tag": "ruby",
16490 "children": [
16491 {
16492 "text": "a"
16493 },
16494 {
16495 "tag": "rb",
16496 "children": [
16497 {
16498 "text": "b"
16499 }
16500 ]
16501 },
16502 {
16503 "tag": "rp"
16504 }
16505 ]
16506 }
16507 ]
16508 }
16509 ]
16510 }
16511 ],
16512 "html": "<html><head></head><body><ruby>a<rb>b</rb><rp></rp></ruby></body></html>",
16513 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rp></rp></ruby>"
16514 }
16515 },
16516 {
16517 "data": "<html><ruby>a<rb>b<span></ruby></html>",
16518 "errors": [
16519 "(1,6): expected-doctype-but-got-start-tag",
16520 "(1,31): unexpected-end-tag"
16521 ],
16522 "document": {
16523 "props": {
16524 "tags": {
16525 "html": true,
16526 "head": true,
16527 "body": true,
16528 "ruby": true,
16529 "rb": true,
16530 "span": true
16531 }
16532 },
16533 "tree": [
16534 {
16535 "tag": "html",
16536 "children": [
16537 {
16538 "tag": "head"
16539 },
16540 {
16541 "tag": "body",
16542 "children": [
16543 {
16544 "tag": "ruby",
16545 "children": [
16546 {
16547 "text": "a"
16548 },
16549 {
16550 "tag": "rb",
16551 "children": [
16552 {
16553 "text": "b"
16554 },
16555 {
16556 "tag": "span"
16557 }
16558 ]
16559 }
16560 ]
16561 }
16562 ]
16563 }
16564 ]
16565 }
16566 ],
16567 "html": "<html><head></head><body><ruby>a<rb>b<span></span></rb></ruby></body></html>",
16568 "noQuirksBodyHtml": "<ruby>a<rb>b<span></span></rb></ruby>"
16569 }
16570 },
16571 {
16572 "data": "<html><ruby>a<rt>b<rb></ruby></html>",
16573 "errors": [
16574 "(1,6): expected-doctype-but-got-start-tag"
16575 ],
16576 "document": {
16577 "props": {
16578 "tags": {
16579 "html": true,
16580 "head": true,
16581 "body": true,
16582 "ruby": true,
16583 "rt": true,
16584 "rb": true
16585 }
16586 },
16587 "tree": [
16588 {
16589 "tag": "html",
16590 "children": [
16591 {
16592 "tag": "head"
16593 },
16594 {
16595 "tag": "body",
16596 "children": [
16597 {
16598 "tag": "ruby",
16599 "children": [
16600 {
16601 "text": "a"
16602 },
16603 {
16604 "tag": "rt",
16605 "children": [
16606 {
16607 "text": "b"
16608 }
16609 ]
16610 },
16611 {
16612 "tag": "rb"
16613 }
16614 ]
16615 }
16616 ]
16617 }
16618 ]
16619 }
16620 ],
16621 "html": "<html><head></head><body><ruby>a<rt>b</rt><rb></rb></ruby></body></html>",
16622 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rb></rb></ruby>"
16623 }
16624 },
16625 {
16626 "data": "<html><ruby>a<rt>b<rt></ruby></html>",
16627 "errors": [
16628 "(1,6): expected-doctype-but-got-start-tag"
16629 ],
16630 "document": {
16631 "props": {
16632 "tags": {
16633 "html": true,
16634 "head": true,
16635 "body": true,
16636 "ruby": true,
16637 "rt": true
16638 }
16639 },
16640 "tree": [
16641 {
16642 "tag": "html",
16643 "children": [
16644 {
16645 "tag": "head"
16646 },
16647 {
16648 "tag": "body",
16649 "children": [
16650 {
16651 "tag": "ruby",
16652 "children": [
16653 {
16654 "text": "a"
16655 },
16656 {
16657 "tag": "rt",
16658 "children": [
16659 {
16660 "text": "b"
16661 }
16662 ]
16663 },
16664 {
16665 "tag": "rt"
16666 }
16667 ]
16668 }
16669 ]
16670 }
16671 ]
16672 }
16673 ],
16674 "html": "<html><head></head><body><ruby>a<rt>b</rt><rt></rt></ruby></body></html>",
16675 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rt></rt></ruby>"
16676 }
16677 },
16678 {
16679 "data": "<html><ruby>a<rt>b<rtc></ruby></html>",
16680 "errors": [
16681 "(1,6): expected-doctype-but-got-start-tag"
16682 ],
16683 "document": {
16684 "props": {
16685 "tags": {
16686 "html": true,
16687 "head": true,
16688 "body": true,
16689 "ruby": true,
16690 "rt": true,
16691 "rtc": true
16692 }
16693 },
16694 "tree": [
16695 {
16696 "tag": "html",
16697 "children": [
16698 {
16699 "tag": "head"
16700 },
16701 {
16702 "tag": "body",
16703 "children": [
16704 {
16705 "tag": "ruby",
16706 "children": [
16707 {
16708 "text": "a"
16709 },
16710 {
16711 "tag": "rt",
16712 "children": [
16713 {
16714 "text": "b"
16715 }
16716 ]
16717 },
16718 {
16719 "tag": "rtc"
16720 }
16721 ]
16722 }
16723 ]
16724 }
16725 ]
16726 }
16727 ],
16728 "html": "<html><head></head><body><ruby>a<rt>b</rt><rtc></rtc></ruby></body></html>",
16729 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rtc></rtc></ruby>"
16730 }
16731 },
16732 {
16733 "data": "<html><ruby>a<rt>b<rp></ruby></html>",
16734 "errors": [
16735 "(1,6): expected-doctype-but-got-start-tag"
16736 ],
16737 "document": {
16738 "props": {
16739 "tags": {
16740 "html": true,
16741 "head": true,
16742 "body": true,
16743 "ruby": true,
16744 "rt": true,
16745 "rp": true
16746 }
16747 },
16748 "tree": [
16749 {
16750 "tag": "html",
16751 "children": [
16752 {
16753 "tag": "head"
16754 },
16755 {
16756 "tag": "body",
16757 "children": [
16758 {
16759 "tag": "ruby",
16760 "children": [
16761 {
16762 "text": "a"
16763 },
16764 {
16765 "tag": "rt",
16766 "children": [
16767 {
16768 "text": "b"
16769 }
16770 ]
16771 },
16772 {
16773 "tag": "rp"
16774 }
16775 ]
16776 }
16777 ]
16778 }
16779 ]
16780 }
16781 ],
16782 "html": "<html><head></head><body><ruby>a<rt>b</rt><rp></rp></ruby></body></html>",
16783 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rp></rp></ruby>"
16784 }
16785 },
16786 {
16787 "data": "<html><ruby>a<rt>b<span></ruby></html>",
16788 "errors": [
16789 "(1,6): expected-doctype-but-got-start-tag",
16790 "(1,31): unexpected-end-tag"
16791 ],
16792 "document": {
16793 "props": {
16794 "tags": {
16795 "html": true,
16796 "head": true,
16797 "body": true,
16798 "ruby": true,
16799 "rt": true,
16800 "span": true
16801 }
16802 },
16803 "tree": [
16804 {
16805 "tag": "html",
16806 "children": [
16807 {
16808 "tag": "head"
16809 },
16810 {
16811 "tag": "body",
16812 "children": [
16813 {
16814 "tag": "ruby",
16815 "children": [
16816 {
16817 "text": "a"
16818 },
16819 {
16820 "tag": "rt",
16821 "children": [
16822 {
16823 "text": "b"
16824 },
16825 {
16826 "tag": "span"
16827 }
16828 ]
16829 }
16830 ]
16831 }
16832 ]
16833 }
16834 ]
16835 }
16836 ],
16837 "html": "<html><head></head><body><ruby>a<rt>b<span></span></rt></ruby></body></html>",
16838 "noQuirksBodyHtml": "<ruby>a<rt>b<span></span></rt></ruby>"
16839 }
16840 },
16841 {
16842 "data": "<html><ruby>a<rtc>b<rb></ruby></html>",
16843 "errors": [
16844 "(1,6): expected-doctype-but-got-start-tag"
16845 ],
16846 "document": {
16847 "props": {
16848 "tags": {
16849 "html": true,
16850 "head": true,
16851 "body": true,
16852 "ruby": true,
16853 "rtc": true,
16854 "rb": true
16855 }
16856 },
16857 "tree": [
16858 {
16859 "tag": "html",
16860 "children": [
16861 {
16862 "tag": "head"
16863 },
16864 {
16865 "tag": "body",
16866 "children": [
16867 {
16868 "tag": "ruby",
16869 "children": [
16870 {
16871 "text": "a"
16872 },
16873 {
16874 "tag": "rtc",
16875 "children": [
16876 {
16877 "text": "b"
16878 }
16879 ]
16880 },
16881 {
16882 "tag": "rb"
16883 }
16884 ]
16885 }
16886 ]
16887 }
16888 ]
16889 }
16890 ],
16891 "html": "<html><head></head><body><ruby>a<rtc>b</rtc><rb></rb></ruby></body></html>",
16892 "noQuirksBodyHtml": "<ruby>a<rtc>b</rtc><rb></rb></ruby>"
16893 }
16894 },
16895 {
16896 "data": "<html><ruby>a<rtc>b<rt>c<rt>d</ruby></html>",
16897 "errors": [
16898 "(1,6): expected-doctype-but-got-start-tag"
16899 ],
16900 "document": {
16901 "props": {
16902 "tags": {
16903 "html": true,
16904 "head": true,
16905 "body": true,
16906 "ruby": true,
16907 "rtc": true,
16908 "rt": true
16909 }
16910 },
16911 "tree": [
16912 {
16913 "tag": "html",
16914 "children": [
16915 {
16916 "tag": "head"
16917 },
16918 {
16919 "tag": "body",
16920 "children": [
16921 {
16922 "tag": "ruby",
16923 "children": [
16924 {
16925 "text": "a"
16926 },
16927 {
16928 "tag": "rtc",
16929 "children": [
16930 {
16931 "text": "b"
16932 },
16933 {
16934 "tag": "rt",
16935 "children": [
16936 {
16937 "text": "c"
16938 }
16939 ]
16940 },
16941 {
16942 "tag": "rt",
16943 "children": [
16944 {
16945 "text": "d"
16946 }
16947 ]
16948 }
16949 ]
16950 }
16951 ]
16952 }
16953 ]
16954 }
16955 ]
16956 }
16957 ],
16958 "html": "<html><head></head><body><ruby>a<rtc>b<rt>c</rt><rt>d</rt></rtc></ruby></body></html>",
16959 "noQuirksBodyHtml": "<ruby>a<rtc>b<rt>c</rt><rt>d</rt></rtc></ruby>"
16960 }
16961 },
16962 {
16963 "data": "<html><ruby>a<rtc>b<rtc></ruby></html>",
16964 "errors": [
16965 "(1,6): expected-doctype-but-got-start-tag"
16966 ],
16967 "document": {
16968 "props": {
16969 "tags": {
16970 "html": true,
16971 "head": true,
16972 "body": true,
16973 "ruby": true,
16974 "rtc": true
16975 }
16976 },
16977 "tree": [
16978 {
16979 "tag": "html",
16980 "children": [
16981 {
16982 "tag": "head"
16983 },
16984 {
16985 "tag": "body",
16986 "children": [
16987 {
16988 "tag": "ruby",
16989 "children": [
16990 {
16991 "text": "a"
16992 },
16993 {
16994 "tag": "rtc",
16995 "children": [
16996 {
16997 "text": "b"
16998 }
16999 ]
17000 },
17001 {
17002 "tag": "rtc"
17003 }
17004 ]
17005 }
17006 ]
17007 }
17008 ]
17009 }
17010 ],
17011 "html": "<html><head></head><body><ruby>a<rtc>b</rtc><rtc></rtc></ruby></body></html>",
17012 "noQuirksBodyHtml": "<ruby>a<rtc>b</rtc><rtc></rtc></ruby>"
17013 }
17014 },
17015 {
17016 "data": "<html><ruby>a<rtc>b<rp></ruby></html>",
17017 "errors": [
17018 "(1,6): expected-doctype-but-got-start-tag"
17019 ],
17020 "document": {
17021 "props": {
17022 "tags": {
17023 "html": true,
17024 "head": true,
17025 "body": true,
17026 "ruby": true,
17027 "rtc": true,
17028 "rp": true
17029 }
17030 },
17031 "tree": [
17032 {
17033 "tag": "html",
17034 "children": [
17035 {
17036 "tag": "head"
17037 },
17038 {
17039 "tag": "body",
17040 "children": [
17041 {
17042 "tag": "ruby",
17043 "children": [
17044 {
17045 "text": "a"
17046 },
17047 {
17048 "tag": "rtc",
17049 "children": [
17050 {
17051 "text": "b"
17052 },
17053 {
17054 "tag": "rp"
17055 }
17056 ]
17057 }
17058 ]
17059 }
17060 ]
17061 }
17062 ]
17063 }
17064 ],
17065 "html": "<html><head></head><body><ruby>a<rtc>b<rp></rp></rtc></ruby></body></html>",
17066 "noQuirksBodyHtml": "<ruby>a<rtc>b<rp></rp></rtc></ruby>"
17067 }
17068 },
17069 {
17070 "data": "<html><ruby>a<rtc>b<span></ruby></html>",
17071 "errors": [
17072 "(1,6): expected-doctype-but-got-start-tag"
17073 ],
17074 "document": {
17075 "props": {
17076 "tags": {
17077 "html": true,
17078 "head": true,
17079 "body": true,
17080 "ruby": true,
17081 "rtc": true,
17082 "span": true
17083 }
17084 },
17085 "tree": [
17086 {
17087 "tag": "html",
17088 "children": [
17089 {
17090 "tag": "head"
17091 },
17092 {
17093 "tag": "body",
17094 "children": [
17095 {
17096 "tag": "ruby",
17097 "children": [
17098 {
17099 "text": "a"
17100 },
17101 {
17102 "tag": "rtc",
17103 "children": [
17104 {
17105 "text": "b"
17106 },
17107 {
17108 "tag": "span"
17109 }
17110 ]
17111 }
17112 ]
17113 }
17114 ]
17115 }
17116 ]
17117 }
17118 ],
17119 "html": "<html><head></head><body><ruby>a<rtc>b<span></span></rtc></ruby></body></html>",
17120 "noQuirksBodyHtml": "<ruby>a<rtc>b<span></span></rtc></ruby>"
17121 }
17122 },
17123 {
17124 "data": "<html><ruby>a<rp>b<rb></ruby></html>",
17125 "errors": [
17126 "(1,6): expected-doctype-but-got-start-tag"
17127 ],
17128 "document": {
17129 "props": {
17130 "tags": {
17131 "html": true,
17132 "head": true,
17133 "body": true,
17134 "ruby": true,
17135 "rp": true,
17136 "rb": true
17137 }
17138 },
17139 "tree": [
17140 {
17141 "tag": "html",
17142 "children": [
17143 {
17144 "tag": "head"
17145 },
17146 {
17147 "tag": "body",
17148 "children": [
17149 {
17150 "tag": "ruby",
17151 "children": [
17152 {
17153 "text": "a"
17154 },
17155 {
17156 "tag": "rp",
17157 "children": [
17158 {
17159 "text": "b"
17160 }
17161 ]
17162 },
17163 {
17164 "tag": "rb"
17165 }
17166 ]
17167 }
17168 ]
17169 }
17170 ]
17171 }
17172 ],
17173 "html": "<html><head></head><body><ruby>a<rp>b</rp><rb></rb></ruby></body></html>",
17174 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rb></rb></ruby>"
17175 }
17176 },
17177 {
17178 "data": "<html><ruby>a<rp>b<rt></ruby></html>",
17179 "errors": [
17180 "(1,6): expected-doctype-but-got-start-tag"
17181 ],
17182 "document": {
17183 "props": {
17184 "tags": {
17185 "html": true,
17186 "head": true,
17187 "body": true,
17188 "ruby": true,
17189 "rp": true,
17190 "rt": true
17191 }
17192 },
17193 "tree": [
17194 {
17195 "tag": "html",
17196 "children": [
17197 {
17198 "tag": "head"
17199 },
17200 {
17201 "tag": "body",
17202 "children": [
17203 {
17204 "tag": "ruby",
17205 "children": [
17206 {
17207 "text": "a"
17208 },
17209 {
17210 "tag": "rp",
17211 "children": [
17212 {
17213 "text": "b"
17214 }
17215 ]
17216 },
17217 {
17218 "tag": "rt"
17219 }
17220 ]
17221 }
17222 ]
17223 }
17224 ]
17225 }
17226 ],
17227 "html": "<html><head></head><body><ruby>a<rp>b</rp><rt></rt></ruby></body></html>",
17228 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rt></rt></ruby>"
17229 }
17230 },
17231 {
17232 "data": "<html><ruby>a<rp>b<rtc></ruby></html>",
17233 "errors": [
17234 "(1,6): expected-doctype-but-got-start-tag"
17235 ],
17236 "document": {
17237 "props": {
17238 "tags": {
17239 "html": true,
17240 "head": true,
17241 "body": true,
17242 "ruby": true,
17243 "rp": true,
17244 "rtc": true
17245 }
17246 },
17247 "tree": [
17248 {
17249 "tag": "html",
17250 "children": [
17251 {
17252 "tag": "head"
17253 },
17254 {
17255 "tag": "body",
17256 "children": [
17257 {
17258 "tag": "ruby",
17259 "children": [
17260 {
17261 "text": "a"
17262 },
17263 {
17264 "tag": "rp",
17265 "children": [
17266 {
17267 "text": "b"
17268 }
17269 ]
17270 },
17271 {
17272 "tag": "rtc"
17273 }
17274 ]
17275 }
17276 ]
17277 }
17278 ]
17279 }
17280 ],
17281 "html": "<html><head></head><body><ruby>a<rp>b</rp><rtc></rtc></ruby></body></html>",
17282 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rtc></rtc></ruby>"
17283 }
17284 },
17285 {
17286 "data": "<html><ruby>a<rp>b<rp></ruby></html>",
17287 "errors": [
17288 "(1,6): expected-doctype-but-got-start-tag"
17289 ],
17290 "document": {
17291 "props": {
17292 "tags": {
17293 "html": true,
17294 "head": true,
17295 "body": true,
17296 "ruby": true,
17297 "rp": true
17298 }
17299 },
17300 "tree": [
17301 {
17302 "tag": "html",
17303 "children": [
17304 {
17305 "tag": "head"
17306 },
17307 {
17308 "tag": "body",
17309 "children": [
17310 {
17311 "tag": "ruby",
17312 "children": [
17313 {
17314 "text": "a"
17315 },
17316 {
17317 "tag": "rp",
17318 "children": [
17319 {
17320 "text": "b"
17321 }
17322 ]
17323 },
17324 {
17325 "tag": "rp"
17326 }
17327 ]
17328 }
17329 ]
17330 }
17331 ]
17332 }
17333 ],
17334 "html": "<html><head></head><body><ruby>a<rp>b</rp><rp></rp></ruby></body></html>",
17335 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rp></rp></ruby>"
17336 }
17337 },
17338 {
17339 "data": "<html><ruby>a<rp>b<span></ruby></html>",
17340 "errors": [
17341 "(1,6): expected-doctype-but-got-start-tag",
17342 "(1,31): unexpected-end-tag"
17343 ],
17344 "document": {
17345 "props": {
17346 "tags": {
17347 "html": true,
17348 "head": true,
17349 "body": true,
17350 "ruby": true,
17351 "rp": true,
17352 "span": true
17353 }
17354 },
17355 "tree": [
17356 {
17357 "tag": "html",
17358 "children": [
17359 {
17360 "tag": "head"
17361 },
17362 {
17363 "tag": "body",
17364 "children": [
17365 {
17366 "tag": "ruby",
17367 "children": [
17368 {
17369 "text": "a"
17370 },
17371 {
17372 "tag": "rp",
17373 "children": [
17374 {
17375 "text": "b"
17376 },
17377 {
17378 "tag": "span"
17379 }
17380 ]
17381 }
17382 ]
17383 }
17384 ]
17385 }
17386 ]
17387 }
17388 ],
17389 "html": "<html><head></head><body><ruby>a<rp>b<span></span></rp></ruby></body></html>",
17390 "noQuirksBodyHtml": "<ruby>a<rp>b<span></span></rp></ruby>"
17391 }
17392 },
17393 {
17394 "data": "<html><ruby><rtc><ruby>a<rb>b<rt></ruby></ruby></html>",
17395 "errors": [
17396 "(1,6): expected-doctype-but-got-start-tag"
17397 ],
17398 "document": {
17399 "props": {
17400 "tags": {
17401 "html": true,
17402 "head": true,
17403 "body": true,
17404 "ruby": true,
17405 "rtc": true,
17406 "rb": true,
17407 "rt": true
17408 }
17409 },
17410 "tree": [
17411 {
17412 "tag": "html",
17413 "children": [
17414 {
17415 "tag": "head"
17416 },
17417 {
17418 "tag": "body",
17419 "children": [
17420 {
17421 "tag": "ruby",
17422 "children": [
17423 {
17424 "tag": "rtc",
17425 "children": [
17426 {
17427 "tag": "ruby",
17428 "children": [
17429 {
17430 "text": "a"
17431 },
17432 {
17433 "tag": "rb",
17434 "children": [
17435 {
17436 "text": "b"
17437 }
17438 ]
17439 },
17440 {
17441 "tag": "rt"
17442 }
17443 ]
17444 }
17445 ]
17446 }
17447 ]
17448 }
17449 ]
17450 }
17451 ]
17452 }
17453 ],
17454 "html": "<html><head></head><body><ruby><rtc><ruby>a<rb>b</rb><rt></rt></ruby></rtc></ruby></body></html>",
17455 "noQuirksBodyHtml": "<ruby><rtc><ruby>a<rb>b</rb><rt></rt></ruby></rtc></ruby>"
17456 }
17457 }
17458 ],
17459 "scriptdata01.dat": [
17460 {
17461 "data": "FOO<script>'Hello'</script>BAR",
17462 "errors": [
17463 "(1,3): expected-doctype-but-got-chars"
17464 ],
17465 "document": {
17466 "props": {
17467 "tags": {
17468 "html": true,
17469 "head": true,
17470 "body": true,
17471 "script": true
17472 },
17473 "no_escape": true
17474 },
17475 "tree": [
17476 {
17477 "tag": "html",
17478 "children": [
17479 {
17480 "tag": "head"
17481 },
17482 {
17483 "tag": "body",
17484 "children": [
17485 {
17486 "text": "FOO"
17487 },
17488 {
17489 "tag": "script",
17490 "children": [
17491 {
17492 "text": "'Hello'",
17493 "no_escape": true
17494 }
17495 ]
17496 },
17497 {
17498 "text": "BAR"
17499 }
17500 ]
17501 }
17502 ]
17503 }
17504 ],
17505 "html": "<html><head></head><body>FOO<script>'Hello'</script>BAR</body></html>",
17506 "noQuirksBodyHtml": "FOO<script>'Hello'</script>BAR"
17507 }
17508 },
17509 {
17510 "data": "FOO<script></script>BAR",
17511 "errors": [
17512 "(1,3): expected-doctype-but-got-chars"
17513 ],
17514 "document": {
17515 "props": {
17516 "tags": {
17517 "html": true,
17518 "head": true,
17519 "body": true,
17520 "script": true
17521 }
17522 },
17523 "tree": [
17524 {
17525 "tag": "html",
17526 "children": [
17527 {
17528 "tag": "head"
17529 },
17530 {
17531 "tag": "body",
17532 "children": [
17533 {
17534 "text": "FOO"
17535 },
17536 {
17537 "tag": "script"
17538 },
17539 {
17540 "text": "BAR"
17541 }
17542 ]
17543 }
17544 ]
17545 }
17546 ],
17547 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
17548 "noQuirksBodyHtml": "FOO<script></script>BAR"
17549 }
17550 },
17551 {
17552 "data": "FOO<script></script >BAR",
17553 "errors": [
17554 "(1,3): expected-doctype-but-got-chars"
17555 ],
17556 "document": {
17557 "props": {
17558 "tags": {
17559 "html": true,
17560 "head": true,
17561 "body": true,
17562 "script": true
17563 }
17564 },
17565 "tree": [
17566 {
17567 "tag": "html",
17568 "children": [
17569 {
17570 "tag": "head"
17571 },
17572 {
17573 "tag": "body",
17574 "children": [
17575 {
17576 "text": "FOO"
17577 },
17578 {
17579 "tag": "script"
17580 },
17581 {
17582 "text": "BAR"
17583 }
17584 ]
17585 }
17586 ]
17587 }
17588 ],
17589 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
17590 "noQuirksBodyHtml": "FOO<script></script>BAR"
17591 }
17592 },
17593 {
17594 "data": "FOO<script></script/>BAR",
17595 "errors": [
17596 "(1,3): expected-doctype-but-got-chars",
17597 "(1,21): self-closing-flag-on-end-tag"
17598 ],
17599 "document": {
17600 "props": {
17601 "tags": {
17602 "html": true,
17603 "head": true,
17604 "body": true,
17605 "script": true
17606 }
17607 },
17608 "tree": [
17609 {
17610 "tag": "html",
17611 "children": [
17612 {
17613 "tag": "head"
17614 },
17615 {
17616 "tag": "body",
17617 "children": [
17618 {
17619 "text": "FOO"
17620 },
17621 {
17622 "tag": "script"
17623 },
17624 {
17625 "text": "BAR"
17626 }
17627 ]
17628 }
17629 ]
17630 }
17631 ],
17632 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
17633 "noQuirksBodyHtml": "FOO<script></script>BAR"
17634 }
17635 },
17636 {
17637 "data": "FOO<script></script/ >BAR",
17638 "errors": [
17639 "(1,3): expected-doctype-but-got-chars",
17640 "(1,20): unexpected-character-after-solidus-in-tag"
17641 ],
17642 "document": {
17643 "props": {
17644 "tags": {
17645 "html": true,
17646 "head": true,
17647 "body": true,
17648 "script": true
17649 }
17650 },
17651 "tree": [
17652 {
17653 "tag": "html",
17654 "children": [
17655 {
17656 "tag": "head"
17657 },
17658 {
17659 "tag": "body",
17660 "children": [
17661 {
17662 "text": "FOO"
17663 },
17664 {
17665 "tag": "script"
17666 },
17667 {
17668 "text": "BAR"
17669 }
17670 ]
17671 }
17672 ]
17673 }
17674 ],
17675 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
17676 "noQuirksBodyHtml": "FOO<script></script>BAR"
17677 }
17678 },
17679 {
17680 "data": "FOO<script type=\"text/plain\"></scriptx>BAR",
17681 "errors": [
17682 "(1,3): expected-doctype-but-got-chars",
17683 "(1,42): expected-named-closing-tag-but-got-eof"
17684 ],
17685 "document": {
17686 "props": {
17687 "tags": {
17688 "html": true,
17689 "head": true,
17690 "body": true,
17691 "script": true
17692 },
17693 "no_escape": true
17694 },
17695 "tree": [
17696 {
17697 "tag": "html",
17698 "children": [
17699 {
17700 "tag": "head"
17701 },
17702 {
17703 "tag": "body",
17704 "children": [
17705 {
17706 "text": "FOO"
17707 },
17708 {
17709 "tag": "script",
17710 "attrs": [
17711 {
17712 "name": "type",
17713 "value": "text/plain"
17714 }
17715 ],
17716 "children": [
17717 {
17718 "text": "</scriptx>BAR",
17719 "no_escape": true
17720 }
17721 ]
17722 }
17723 ]
17724 }
17725 ]
17726 }
17727 ],
17728 "html": "<html><head></head><body>FOO<script type=\"text/plain\"></scriptx>BAR</script></body></html>",
17729 "noQuirksBodyHtml": "FOO<script type=\"text/plain\"></scriptx>BAR</script>"
17730 }
17731 },
17732 {
17733 "data": "FOO<script></script foo=\">\" dd>BAR",
17734 "errors": [
17735 "(1,3): expected-doctype-but-got-chars",
17736 "(1,31): attributes-in-end-tag"
17737 ],
17738 "document": {
17739 "props": {
17740 "tags": {
17741 "html": true,
17742 "head": true,
17743 "body": true,
17744 "script": true
17745 }
17746 },
17747 "tree": [
17748 {
17749 "tag": "html",
17750 "children": [
17751 {
17752 "tag": "head"
17753 },
17754 {
17755 "tag": "body",
17756 "children": [
17757 {
17758 "text": "FOO"
17759 },
17760 {
17761 "tag": "script"
17762 },
17763 {
17764 "text": "BAR"
17765 }
17766 ]
17767 }
17768 ]
17769 }
17770 ],
17771 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
17772 "noQuirksBodyHtml": "FOO<script></script>BAR"
17773 }
17774 },
17775 {
17776 "data": "FOO<script>'<'</script>BAR",
17777 "errors": [
17778 "(1,3): expected-doctype-but-got-chars"
17779 ],
17780 "document": {
17781 "props": {
17782 "tags": {
17783 "html": true,
17784 "head": true,
17785 "body": true,
17786 "script": true
17787 },
17788 "no_escape": true
17789 },
17790 "tree": [
17791 {
17792 "tag": "html",
17793 "children": [
17794 {
17795 "tag": "head"
17796 },
17797 {
17798 "tag": "body",
17799 "children": [
17800 {
17801 "text": "FOO"
17802 },
17803 {
17804 "tag": "script",
17805 "children": [
17806 {
17807 "text": "'<'",
17808 "no_escape": true
17809 }
17810 ]
17811 },
17812 {
17813 "text": "BAR"
17814 }
17815 ]
17816 }
17817 ]
17818 }
17819 ],
17820 "html": "<html><head></head><body>FOO<script>'<'</script>BAR</body></html>",
17821 "noQuirksBodyHtml": "FOO<script>'<'</script>BAR"
17822 }
17823 },
17824 {
17825 "data": "FOO<script>'<!'</script>BAR",
17826 "errors": [
17827 "(1,3): expected-doctype-but-got-chars"
17828 ],
17829 "document": {
17830 "props": {
17831 "tags": {
17832 "html": true,
17833 "head": true,
17834 "body": true,
17835 "script": true
17836 },
17837 "no_escape": true
17838 },
17839 "tree": [
17840 {
17841 "tag": "html",
17842 "children": [
17843 {
17844 "tag": "head"
17845 },
17846 {
17847 "tag": "body",
17848 "children": [
17849 {
17850 "text": "FOO"
17851 },
17852 {
17853 "tag": "script",
17854 "children": [
17855 {
17856 "text": "'<!'",
17857 "no_escape": true
17858 }
17859 ]
17860 },
17861 {
17862 "text": "BAR"
17863 }
17864 ]
17865 }
17866 ]
17867 }
17868 ],
17869 "html": "<html><head></head><body>FOO<script>'<!'</script>BAR</body></html>",
17870 "noQuirksBodyHtml": "FOO<script>'<!'</script>BAR"
17871 }
17872 },
17873 {
17874 "data": "FOO<script>'<!-'</script>BAR",
17875 "errors": [
17876 "(1,3): expected-doctype-but-got-chars"
17877 ],
17878 "document": {
17879 "props": {
17880 "tags": {
17881 "html": true,
17882 "head": true,
17883 "body": true,
17884 "script": true
17885 },
17886 "no_escape": true
17887 },
17888 "tree": [
17889 {
17890 "tag": "html",
17891 "children": [
17892 {
17893 "tag": "head"
17894 },
17895 {
17896 "tag": "body",
17897 "children": [
17898 {
17899 "text": "FOO"
17900 },
17901 {
17902 "tag": "script",
17903 "children": [
17904 {
17905 "text": "'<!-'",
17906 "no_escape": true
17907 }
17908 ]
17909 },
17910 {
17911 "text": "BAR"
17912 }
17913 ]
17914 }
17915 ]
17916 }
17917 ],
17918 "html": "<html><head></head><body>FOO<script>'<!-'</script>BAR</body></html>",
17919 "noQuirksBodyHtml": "FOO<script>'<!-'</script>BAR"
17920 }
17921 },
17922 {
17923 "data": "FOO<script>'<!--'</script>BAR",
17924 "errors": [
17925 "(1,3): expected-doctype-but-got-chars"
17926 ],
17927 "document": {
17928 "props": {
17929 "tags": {
17930 "html": true,
17931 "head": true,
17932 "body": true,
17933 "script": true
17934 },
17935 "no_escape": true
17936 },
17937 "tree": [
17938 {
17939 "tag": "html",
17940 "children": [
17941 {
17942 "tag": "head"
17943 },
17944 {
17945 "tag": "body",
17946 "children": [
17947 {
17948 "text": "FOO"
17949 },
17950 {
17951 "tag": "script",
17952 "children": [
17953 {
17954 "text": "'<!--'",
17955 "no_escape": true
17956 }
17957 ]
17958 },
17959 {
17960 "text": "BAR"
17961 }
17962 ]
17963 }
17964 ]
17965 }
17966 ],
17967 "html": "<html><head></head><body>FOO<script>'<!--'</script>BAR</body></html>",
17968 "noQuirksBodyHtml": "FOO<script>'<!--'</script>BAR"
17969 }
17970 },
17971 {
17972 "data": "FOO<script>'<!---'</script>BAR",
17973 "errors": [
17974 "(1,3): expected-doctype-but-got-chars"
17975 ],
17976 "document": {
17977 "props": {
17978 "tags": {
17979 "html": true,
17980 "head": true,
17981 "body": true,
17982 "script": true
17983 },
17984 "no_escape": true
17985 },
17986 "tree": [
17987 {
17988 "tag": "html",
17989 "children": [
17990 {
17991 "tag": "head"
17992 },
17993 {
17994 "tag": "body",
17995 "children": [
17996 {
17997 "text": "FOO"
17998 },
17999 {
18000 "tag": "script",
18001 "children": [
18002 {
18003 "text": "'<!---'",
18004 "no_escape": true
18005 }
18006 ]
18007 },
18008 {
18009 "text": "BAR"
18010 }
18011 ]
18012 }
18013 ]
18014 }
18015 ],
18016 "html": "<html><head></head><body>FOO<script>'<!---'</script>BAR</body></html>",
18017 "noQuirksBodyHtml": "FOO<script>'<!---'</script>BAR"
18018 }
18019 },
18020 {
18021 "data": "FOO<script>'<!-->'</script>BAR",
18022 "errors": [
18023 "(1,3): expected-doctype-but-got-chars"
18024 ],
18025 "document": {
18026 "props": {
18027 "tags": {
18028 "html": true,
18029 "head": true,
18030 "body": true,
18031 "script": true
18032 },
18033 "no_escape": true
18034 },
18035 "tree": [
18036 {
18037 "tag": "html",
18038 "children": [
18039 {
18040 "tag": "head"
18041 },
18042 {
18043 "tag": "body",
18044 "children": [
18045 {
18046 "text": "FOO"
18047 },
18048 {
18049 "tag": "script",
18050 "children": [
18051 {
18052 "text": "'<!-->'",
18053 "no_escape": true
18054 }
18055 ]
18056 },
18057 {
18058 "text": "BAR"
18059 }
18060 ]
18061 }
18062 ]
18063 }
18064 ],
18065 "html": "<html><head></head><body>FOO<script>'<!-->'</script>BAR</body></html>",
18066 "noQuirksBodyHtml": "FOO<script>'<!-->'</script>BAR"
18067 }
18068 },
18069 {
18070 "data": "FOO<script>'<!-->'</script>BAR",
18071 "errors": [
18072 "(1,3): expected-doctype-but-got-chars"
18073 ],
18074 "document": {
18075 "props": {
18076 "tags": {
18077 "html": true,
18078 "head": true,
18079 "body": true,
18080 "script": true
18081 },
18082 "no_escape": true
18083 },
18084 "tree": [
18085 {
18086 "tag": "html",
18087 "children": [
18088 {
18089 "tag": "head"
18090 },
18091 {
18092 "tag": "body",
18093 "children": [
18094 {
18095 "text": "FOO"
18096 },
18097 {
18098 "tag": "script",
18099 "children": [
18100 {
18101 "text": "'<!-->'",
18102 "no_escape": true
18103 }
18104 ]
18105 },
18106 {
18107 "text": "BAR"
18108 }
18109 ]
18110 }
18111 ]
18112 }
18113 ],
18114 "html": "<html><head></head><body>FOO<script>'<!-->'</script>BAR</body></html>",
18115 "noQuirksBodyHtml": "FOO<script>'<!-->'</script>BAR"
18116 }
18117 },
18118 {
18119 "data": "FOO<script>'<!-- potato'</script>BAR",
18120 "errors": [
18121 "(1,3): expected-doctype-but-got-chars"
18122 ],
18123 "document": {
18124 "props": {
18125 "tags": {
18126 "html": true,
18127 "head": true,
18128 "body": true,
18129 "script": true
18130 },
18131 "no_escape": true
18132 },
18133 "tree": [
18134 {
18135 "tag": "html",
18136 "children": [
18137 {
18138 "tag": "head"
18139 },
18140 {
18141 "tag": "body",
18142 "children": [
18143 {
18144 "text": "FOO"
18145 },
18146 {
18147 "tag": "script",
18148 "children": [
18149 {
18150 "text": "'<!-- potato'",
18151 "no_escape": true
18152 }
18153 ]
18154 },
18155 {
18156 "text": "BAR"
18157 }
18158 ]
18159 }
18160 ]
18161 }
18162 ],
18163 "html": "<html><head></head><body>FOO<script>'<!-- potato'</script>BAR</body></html>",
18164 "noQuirksBodyHtml": "FOO<script>'<!-- potato'</script>BAR"
18165 }
18166 },
18167 {
18168 "data": "FOO<script>'<!-- <sCrIpt'</script>BAR",
18169 "errors": [
18170 "(1,3): expected-doctype-but-got-chars"
18171 ],
18172 "document": {
18173 "props": {
18174 "tags": {
18175 "html": true,
18176 "head": true,
18177 "body": true,
18178 "script": true
18179 },
18180 "no_escape": true
18181 },
18182 "tree": [
18183 {
18184 "tag": "html",
18185 "children": [
18186 {
18187 "tag": "head"
18188 },
18189 {
18190 "tag": "body",
18191 "children": [
18192 {
18193 "text": "FOO"
18194 },
18195 {
18196 "tag": "script",
18197 "children": [
18198 {
18199 "text": "'<!-- <sCrIpt'",
18200 "no_escape": true
18201 }
18202 ]
18203 },
18204 {
18205 "text": "BAR"
18206 }
18207 ]
18208 }
18209 ]
18210 }
18211 ],
18212 "html": "<html><head></head><body>FOO<script>'<!-- <sCrIpt'</script>BAR</body></html>",
18213 "noQuirksBodyHtml": "FOO<script>'<!-- <sCrIpt'</script>BAR"
18214 }
18215 },
18216 {
18217 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR",
18218 "errors": [
18219 "(1,3): expected-doctype-but-got-chars",
18220 "(1,56): expected-script-data-but-got-eof",
18221 "(1,56): expected-named-closing-tag-but-got-eof"
18222 ],
18223 "document": {
18224 "props": {
18225 "tags": {
18226 "html": true,
18227 "head": true,
18228 "body": true,
18229 "script": true
18230 },
18231 "no_escape": true
18232 },
18233 "tree": [
18234 {
18235 "tag": "html",
18236 "children": [
18237 {
18238 "tag": "head"
18239 },
18240 {
18241 "tag": "body",
18242 "children": [
18243 {
18244 "text": "FOO"
18245 },
18246 {
18247 "tag": "script",
18248 "attrs": [
18249 {
18250 "name": "type",
18251 "value": "text/plain"
18252 }
18253 ],
18254 "children": [
18255 {
18256 "text": "'<!-- <sCrIpt>'</script>BAR",
18257 "no_escape": true
18258 }
18259 ]
18260 }
18261 ]
18262 }
18263 ]
18264 }
18265 ],
18266 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR</script></body></html>",
18267 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR</script>"
18268 }
18269 },
18270 {
18271 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR",
18272 "errors": [
18273 "(1,3): expected-doctype-but-got-chars",
18274 "(1,58): expected-script-data-but-got-eof",
18275 "(1,58): expected-named-closing-tag-but-got-eof"
18276 ],
18277 "document": {
18278 "props": {
18279 "tags": {
18280 "html": true,
18281 "head": true,
18282 "body": true,
18283 "script": true
18284 },
18285 "no_escape": true
18286 },
18287 "tree": [
18288 {
18289 "tag": "html",
18290 "children": [
18291 {
18292 "tag": "head"
18293 },
18294 {
18295 "tag": "body",
18296 "children": [
18297 {
18298 "text": "FOO"
18299 },
18300 {
18301 "tag": "script",
18302 "attrs": [
18303 {
18304 "name": "type",
18305 "value": "text/plain"
18306 }
18307 ],
18308 "children": [
18309 {
18310 "text": "'<!-- <sCrIpt> -'</script>BAR",
18311 "no_escape": true
18312 }
18313 ]
18314 }
18315 ]
18316 }
18317 ]
18318 }
18319 ],
18320 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR</script></body></html>",
18321 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR</script>"
18322 }
18323 },
18324 {
18325 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR",
18326 "errors": [
18327 "(1,3): expected-doctype-but-got-chars",
18328 "(1,59): expected-script-data-but-got-eof",
18329 "(1,59): expected-named-closing-tag-but-got-eof"
18330 ],
18331 "document": {
18332 "props": {
18333 "tags": {
18334 "html": true,
18335 "head": true,
18336 "body": true,
18337 "script": true
18338 },
18339 "no_escape": true
18340 },
18341 "tree": [
18342 {
18343 "tag": "html",
18344 "children": [
18345 {
18346 "tag": "head"
18347 },
18348 {
18349 "tag": "body",
18350 "children": [
18351 {
18352 "text": "FOO"
18353 },
18354 {
18355 "tag": "script",
18356 "attrs": [
18357 {
18358 "name": "type",
18359 "value": "text/plain"
18360 }
18361 ],
18362 "children": [
18363 {
18364 "text": "'<!-- <sCrIpt> --'</script>BAR",
18365 "no_escape": true
18366 }
18367 ]
18368 }
18369 ]
18370 }
18371 ]
18372 }
18373 ],
18374 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR</script></body></html>",
18375 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR</script>"
18376 }
18377 },
18378 {
18379 "data": "FOO<script>'<!-- <sCrIpt> -->'</script>BAR",
18380 "errors": [
18381 "(1,3): expected-doctype-but-got-chars"
18382 ],
18383 "document": {
18384 "props": {
18385 "tags": {
18386 "html": true,
18387 "head": true,
18388 "body": true,
18389 "script": true
18390 },
18391 "no_escape": true
18392 },
18393 "tree": [
18394 {
18395 "tag": "html",
18396 "children": [
18397 {
18398 "tag": "head"
18399 },
18400 {
18401 "tag": "body",
18402 "children": [
18403 {
18404 "text": "FOO"
18405 },
18406 {
18407 "tag": "script",
18408 "children": [
18409 {
18410 "text": "'<!-- <sCrIpt> -->'",
18411 "no_escape": true
18412 }
18413 ]
18414 },
18415 {
18416 "text": "BAR"
18417 }
18418 ]
18419 }
18420 ]
18421 }
18422 ],
18423 "html": "<html><head></head><body>FOO<script>'<!-- <sCrIpt> -->'</script>BAR</body></html>",
18424 "noQuirksBodyHtml": "FOO<script>'<!-- <sCrIpt> -->'</script>BAR"
18425 }
18426 },
18427 {
18428 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR",
18429 "errors": [
18430 "(1,3): expected-doctype-but-got-chars",
18431 "(1,61): expected-script-data-but-got-eof",
18432 "(1,61): expected-named-closing-tag-but-got-eof"
18433 ],
18434 "document": {
18435 "props": {
18436 "tags": {
18437 "html": true,
18438 "head": true,
18439 "body": true,
18440 "script": true
18441 },
18442 "no_escape": true
18443 },
18444 "tree": [
18445 {
18446 "tag": "html",
18447 "children": [
18448 {
18449 "tag": "head"
18450 },
18451 {
18452 "tag": "body",
18453 "children": [
18454 {
18455 "text": "FOO"
18456 },
18457 {
18458 "tag": "script",
18459 "attrs": [
18460 {
18461 "name": "type",
18462 "value": "text/plain"
18463 }
18464 ],
18465 "children": [
18466 {
18467 "text": "'<!-- <sCrIpt> --!>'</script>BAR",
18468 "no_escape": true
18469 }
18470 ]
18471 }
18472 ]
18473 }
18474 ]
18475 }
18476 ],
18477 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR</script></body></html>",
18478 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR</script>"
18479 }
18480 },
18481 {
18482 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR",
18483 "errors": [
18484 "(1,3): expected-doctype-but-got-chars",
18485 "(1,61): expected-script-data-but-got-eof",
18486 "(1,61): expected-named-closing-tag-but-got-eof"
18487 ],
18488 "document": {
18489 "props": {
18490 "tags": {
18491 "html": true,
18492 "head": true,
18493 "body": true,
18494 "script": true
18495 },
18496 "no_escape": true
18497 },
18498 "tree": [
18499 {
18500 "tag": "html",
18501 "children": [
18502 {
18503 "tag": "head"
18504 },
18505 {
18506 "tag": "body",
18507 "children": [
18508 {
18509 "text": "FOO"
18510 },
18511 {
18512 "tag": "script",
18513 "attrs": [
18514 {
18515 "name": "type",
18516 "value": "text/plain"
18517 }
18518 ],
18519 "children": [
18520 {
18521 "text": "'<!-- <sCrIpt> -- >'</script>BAR",
18522 "no_escape": true
18523 }
18524 ]
18525 }
18526 ]
18527 }
18528 ]
18529 }
18530 ],
18531 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR</script></body></html>",
18532 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR</script>"
18533 }
18534 },
18535 {
18536 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR",
18537 "errors": [
18538 "(1,3): expected-doctype-but-got-chars",
18539 "(1,56): expected-script-data-but-got-eof",
18540 "(1,56): expected-named-closing-tag-but-got-eof"
18541 ],
18542 "document": {
18543 "props": {
18544 "tags": {
18545 "html": true,
18546 "head": true,
18547 "body": true,
18548 "script": true
18549 },
18550 "no_escape": true
18551 },
18552 "tree": [
18553 {
18554 "tag": "html",
18555 "children": [
18556 {
18557 "tag": "head"
18558 },
18559 {
18560 "tag": "body",
18561 "children": [
18562 {
18563 "text": "FOO"
18564 },
18565 {
18566 "tag": "script",
18567 "attrs": [
18568 {
18569 "name": "type",
18570 "value": "text/plain"
18571 }
18572 ],
18573 "children": [
18574 {
18575 "text": "'<!-- <sCrIpt '</script>BAR",
18576 "no_escape": true
18577 }
18578 ]
18579 }
18580 ]
18581 }
18582 ]
18583 }
18584 ],
18585 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR</script></body></html>",
18586 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR</script>"
18587 }
18588 },
18589 {
18590 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR",
18591 "errors": [
18592 "(1,3): expected-doctype-but-got-chars",
18593 "(1,56): expected-script-data-but-got-eof",
18594 "(1,56): expected-named-closing-tag-but-got-eof"
18595 ],
18596 "document": {
18597 "props": {
18598 "tags": {
18599 "html": true,
18600 "head": true,
18601 "body": true,
18602 "script": true
18603 },
18604 "no_escape": true
18605 },
18606 "tree": [
18607 {
18608 "tag": "html",
18609 "children": [
18610 {
18611 "tag": "head"
18612 },
18613 {
18614 "tag": "body",
18615 "children": [
18616 {
18617 "text": "FOO"
18618 },
18619 {
18620 "tag": "script",
18621 "attrs": [
18622 {
18623 "name": "type",
18624 "value": "text/plain"
18625 }
18626 ],
18627 "children": [
18628 {
18629 "text": "'<!-- <sCrIpt/'</script>BAR",
18630 "no_escape": true
18631 }
18632 ]
18633 }
18634 ]
18635 }
18636 ]
18637 }
18638 ],
18639 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script></body></html>",
18640 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>"
18641 }
18642 },
18643 {
18644 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR",
18645 "errors": [
18646 "(1,3): expected-doctype-but-got-chars"
18647 ],
18648 "document": {
18649 "props": {
18650 "tags": {
18651 "html": true,
18652 "head": true,
18653 "body": true,
18654 "script": true
18655 },
18656 "no_escape": true
18657 },
18658 "tree": [
18659 {
18660 "tag": "html",
18661 "children": [
18662 {
18663 "tag": "head"
18664 },
18665 {
18666 "tag": "body",
18667 "children": [
18668 {
18669 "text": "FOO"
18670 },
18671 {
18672 "tag": "script",
18673 "attrs": [
18674 {
18675 "name": "type",
18676 "value": "text/plain"
18677 }
18678 ],
18679 "children": [
18680 {
18681 "text": "'<!-- <sCrIpt\\'",
18682 "no_escape": true
18683 }
18684 ]
18685 },
18686 {
18687 "text": "BAR"
18688 }
18689 ]
18690 }
18691 ]
18692 }
18693 ],
18694 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR</body></html>",
18695 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR"
18696 }
18697 },
18698 {
18699 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX",
18700 "errors": [
18701 "(1,3): expected-doctype-but-got-chars"
18702 ],
18703 "document": {
18704 "props": {
18705 "tags": {
18706 "html": true,
18707 "head": true,
18708 "body": true,
18709 "script": true
18710 },
18711 "no_escape": true
18712 },
18713 "tree": [
18714 {
18715 "tag": "html",
18716 "children": [
18717 {
18718 "tag": "head"
18719 },
18720 {
18721 "tag": "body",
18722 "children": [
18723 {
18724 "text": "FOO"
18725 },
18726 {
18727 "tag": "script",
18728 "attrs": [
18729 {
18730 "name": "type",
18731 "value": "text/plain"
18732 }
18733 ],
18734 "children": [
18735 {
18736 "text": "'<!-- <sCrIpt/'</script>BAR",
18737 "no_escape": true
18738 }
18739 ]
18740 },
18741 {
18742 "text": "QUX"
18743 }
18744 ]
18745 }
18746 ]
18747 }
18748 ],
18749 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX</body></html>",
18750 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX"
18751 }
18752 },
18753 {
18754 "data": "FOO<script><!--<script>-></script>--></script>QUX",
18755 "errors": [
18756 "(1,3): expected-doctype-but-got-chars"
18757 ],
18758 "document": {
18759 "props": {
18760 "tags": {
18761 "html": true,
18762 "head": true,
18763 "body": true,
18764 "script": true
18765 },
18766 "no_escape": true
18767 },
18768 "tree": [
18769 {
18770 "tag": "html",
18771 "children": [
18772 {
18773 "tag": "head"
18774 },
18775 {
18776 "tag": "body",
18777 "children": [
18778 {
18779 "text": "FOO"
18780 },
18781 {
18782 "tag": "script",
18783 "children": [
18784 {
18785 "text": "<!--<script>-></script>-->",
18786 "no_escape": true
18787 }
18788 ]
18789 },
18790 {
18791 "text": "QUX"
18792 }
18793 ]
18794 }
18795 ]
18796 }
18797 ],
18798 "html": "<html><head></head><body>FOO<script><!--<script>-></script>--></script>QUX</body></html>",
18799 "noQuirksBodyHtml": "FOO<script><!--<script>-></script>--></script>QUX"
18800 }
18801 }
18802 ],
18803 "tables01.dat": [
18804 {
18805 "data": "<table><th>",
18806 "errors": [
18807 "(1,7): expected-doctype-but-got-start-tag",
18808 "(1,11): unexpected-cell-in-table-body",
18809 "(1,11): expected-closing-tag-but-got-eof"
18810 ],
18811 "document": {
18812 "props": {
18813 "tags": {
18814 "html": true,
18815 "head": true,
18816 "body": true,
18817 "table": true,
18818 "tbody": true,
18819 "tr": true,
18820 "th": true
18821 }
18822 },
18823 "tree": [
18824 {
18825 "tag": "html",
18826 "children": [
18827 {
18828 "tag": "head"
18829 },
18830 {
18831 "tag": "body",
18832 "children": [
18833 {
18834 "tag": "table",
18835 "children": [
18836 {
18837 "tag": "tbody",
18838 "children": [
18839 {
18840 "tag": "tr",
18841 "children": [
18842 {
18843 "tag": "th"
18844 }
18845 ]
18846 }
18847 ]
18848 }
18849 ]
18850 }
18851 ]
18852 }
18853 ]
18854 }
18855 ],
18856 "html": "<html><head></head><body><table><tbody><tr><th></th></tr></tbody></table></body></html>",
18857 "noQuirksBodyHtml": "<table><tbody><tr><th></th></tr></tbody></table>"
18858 }
18859 },
18860 {
18861 "data": "<table><td>",
18862 "errors": [
18863 "(1,7): expected-doctype-but-got-start-tag",
18864 "(1,11): unexpected-cell-in-table-body",
18865 "(1,11): expected-closing-tag-but-got-eof"
18866 ],
18867 "document": {
18868 "props": {
18869 "tags": {
18870 "html": true,
18871 "head": true,
18872 "body": true,
18873 "table": true,
18874 "tbody": true,
18875 "tr": true,
18876 "td": true
18877 }
18878 },
18879 "tree": [
18880 {
18881 "tag": "html",
18882 "children": [
18883 {
18884 "tag": "head"
18885 },
18886 {
18887 "tag": "body",
18888 "children": [
18889 {
18890 "tag": "table",
18891 "children": [
18892 {
18893 "tag": "tbody",
18894 "children": [
18895 {
18896 "tag": "tr",
18897 "children": [
18898 {
18899 "tag": "td"
18900 }
18901 ]
18902 }
18903 ]
18904 }
18905 ]
18906 }
18907 ]
18908 }
18909 ]
18910 }
18911 ],
18912 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
18913 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
18914 }
18915 },
18916 {
18917 "data": "<table><col foo='bar'>",
18918 "errors": [
18919 "(1,7): expected-doctype-but-got-start-tag",
18920 "(1,22): eof-in-table"
18921 ],
18922 "document": {
18923 "props": {
18924 "tags": {
18925 "html": true,
18926 "head": true,
18927 "body": true,
18928 "table": true,
18929 "colgroup": true,
18930 "col": true
18931 }
18932 },
18933 "tree": [
18934 {
18935 "tag": "html",
18936 "children": [
18937 {
18938 "tag": "head"
18939 },
18940 {
18941 "tag": "body",
18942 "children": [
18943 {
18944 "tag": "table",
18945 "children": [
18946 {
18947 "tag": "colgroup",
18948 "children": [
18949 {
18950 "tag": "col",
18951 "attrs": [
18952 {
18953 "name": "foo",
18954 "value": "bar"
18955 }
18956 ]
18957 }
18958 ]
18959 }
18960 ]
18961 }
18962 ]
18963 }
18964 ]
18965 }
18966 ],
18967 "html": "<html><head></head><body><table><colgroup><col foo=\"bar\"></colgroup></table></body></html>",
18968 "noQuirksBodyHtml": "<table><colgroup><col foo=\"bar\"></colgroup></table>"
18969 }
18970 },
18971 {
18972 "data": "<table><colgroup></html>foo",
18973 "errors": [
18974 "(1,7): expected-doctype-but-got-start-tag",
18975 "(1,24): unexpected-end-tag",
18976 "(1,27): foster-parenting-character-in-table",
18977 "(1,27): foster-parenting-character-in-table",
18978 "(1,27): foster-parenting-character-in-table",
18979 "(1,27): eof-in-table"
18980 ],
18981 "document": {
18982 "props": {
18983 "tags": {
18984 "html": true,
18985 "head": true,
18986 "body": true,
18987 "table": true,
18988 "colgroup": true
18989 }
18990 },
18991 "tree": [
18992 {
18993 "tag": "html",
18994 "children": [
18995 {
18996 "tag": "head"
18997 },
18998 {
18999 "tag": "body",
19000 "children": [
19001 {
19002 "text": "foo"
19003 },
19004 {
19005 "tag": "table",
19006 "children": [
19007 {
19008 "tag": "colgroup"
19009 }
19010 ]
19011 }
19012 ]
19013 }
19014 ]
19015 }
19016 ],
19017 "html": "<html><head></head><body>foo<table><colgroup></colgroup></table></body></html>",
19018 "noQuirksBodyHtml": "foo<table><colgroup></colgroup></table>"
19019 }
19020 },
19021 {
19022 "data": "<table></table><p>foo",
19023 "errors": [
19024 "(1,7): expected-doctype-but-got-start-tag"
19025 ],
19026 "document": {
19027 "props": {
19028 "tags": {
19029 "html": true,
19030 "head": true,
19031 "body": true,
19032 "table": true,
19033 "p": true
19034 }
19035 },
19036 "tree": [
19037 {
19038 "tag": "html",
19039 "children": [
19040 {
19041 "tag": "head"
19042 },
19043 {
19044 "tag": "body",
19045 "children": [
19046 {
19047 "tag": "table"
19048 },
19049 {
19050 "tag": "p",
19051 "children": [
19052 {
19053 "text": "foo"
19054 }
19055 ]
19056 }
19057 ]
19058 }
19059 ]
19060 }
19061 ],
19062 "html": "<html><head></head><body><table></table><p>foo</p></body></html>",
19063 "noQuirksBodyHtml": "<table></table><p>foo</p>"
19064 }
19065 },
19066 {
19067 "data": "<table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr><td>",
19068 "errors": [
19069 "(1,7): expected-doctype-but-got-start-tag",
19070 "(1,14): unexpected-end-tag",
19071 "(1,24): unexpected-end-tag",
19072 "(1,30): unexpected-end-tag",
19073 "(1,41): unexpected-end-tag",
19074 "(1,48): unexpected-end-tag",
19075 "(1,56): unexpected-end-tag",
19076 "(1,61): unexpected-end-tag",
19077 "(1,69): unexpected-end-tag",
19078 "(1,74): unexpected-end-tag",
19079 "(1,82): unexpected-end-tag",
19080 "(1,87): unexpected-end-tag",
19081 "(1,91): unexpected-cell-in-table-body",
19082 "(1,91): expected-closing-tag-but-got-eof"
19083 ],
19084 "document": {
19085 "props": {
19086 "tags": {
19087 "html": true,
19088 "head": true,
19089 "body": true,
19090 "table": true,
19091 "tbody": true,
19092 "tr": true,
19093 "td": true
19094 }
19095 },
19096 "tree": [
19097 {
19098 "tag": "html",
19099 "children": [
19100 {
19101 "tag": "head"
19102 },
19103 {
19104 "tag": "body",
19105 "children": [
19106 {
19107 "tag": "table",
19108 "children": [
19109 {
19110 "tag": "tbody",
19111 "children": [
19112 {
19113 "tag": "tr",
19114 "children": [
19115 {
19116 "tag": "td"
19117 }
19118 ]
19119 }
19120 ]
19121 }
19122 ]
19123 }
19124 ]
19125 }
19126 ]
19127 }
19128 ],
19129 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
19130 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
19131 }
19132 },
19133 {
19134 "data": "<table><select><option>3</select></table>",
19135 "errors": [
19136 "(1,7): expected-doctype-but-got-start-tag",
19137 "(1,15): unexpected-start-tag-implies-table-voodoo"
19138 ],
19139 "document": {
19140 "props": {
19141 "tags": {
19142 "html": true,
19143 "head": true,
19144 "body": true,
19145 "select": true,
19146 "option": true,
19147 "table": true
19148 }
19149 },
19150 "tree": [
19151 {
19152 "tag": "html",
19153 "children": [
19154 {
19155 "tag": "head"
19156 },
19157 {
19158 "tag": "body",
19159 "children": [
19160 {
19161 "tag": "select",
19162 "children": [
19163 {
19164 "tag": "option",
19165 "children": [
19166 {
19167 "text": "3"
19168 }
19169 ]
19170 }
19171 ]
19172 },
19173 {
19174 "tag": "table"
19175 }
19176 ]
19177 }
19178 ]
19179 }
19180 ],
19181 "html": "<html><head></head><body><select><option>3</option></select><table></table></body></html>",
19182 "noQuirksBodyHtml": "<select><option>3</option></select><table></table>"
19183 }
19184 },
19185 {
19186 "data": "<table><select><table></table></select></table>",
19187 "errors": [
19188 "(1,7): expected-doctype-but-got-start-tag",
19189 "(1,15): unexpected-start-tag-implies-table-voodoo",
19190 "(1,22): unexpected-table-element-start-tag-in-select-in-table",
19191 "(1,22): unexpected-start-tag-implies-end-tag",
19192 "(1,39): unexpected-end-tag",
19193 "(1,47): unexpected-end-tag"
19194 ],
19195 "document": {
19196 "props": {
19197 "tags": {
19198 "html": true,
19199 "head": true,
19200 "body": true,
19201 "select": true,
19202 "table": true
19203 }
19204 },
19205 "tree": [
19206 {
19207 "tag": "html",
19208 "children": [
19209 {
19210 "tag": "head"
19211 },
19212 {
19213 "tag": "body",
19214 "children": [
19215 {
19216 "tag": "select"
19217 },
19218 {
19219 "tag": "table"
19220 },
19221 {
19222 "tag": "table"
19223 }
19224 ]
19225 }
19226 ]
19227 }
19228 ],
19229 "html": "<html><head></head><body><select></select><table></table><table></table></body></html>",
19230 "noQuirksBodyHtml": "<select></select><table></table><table></table>"
19231 }
19232 },
19233 {
19234 "data": "<table><select></table>",
19235 "errors": [
19236 "(1,7): expected-doctype-but-got-start-tag",
19237 "(1,15): unexpected-start-tag-implies-table-voodoo",
19238 "(1,23): unexpected-table-element-end-tag-in-select-in-table"
19239 ],
19240 "document": {
19241 "props": {
19242 "tags": {
19243 "html": true,
19244 "head": true,
19245 "body": true,
19246 "select": true,
19247 "table": true
19248 }
19249 },
19250 "tree": [
19251 {
19252 "tag": "html",
19253 "children": [
19254 {
19255 "tag": "head"
19256 },
19257 {
19258 "tag": "body",
19259 "children": [
19260 {
19261 "tag": "select"
19262 },
19263 {
19264 "tag": "table"
19265 }
19266 ]
19267 }
19268 ]
19269 }
19270 ],
19271 "html": "<html><head></head><body><select></select><table></table></body></html>",
19272 "noQuirksBodyHtml": "<select></select><table></table>"
19273 }
19274 },
19275 {
19276 "data": "<table><select><option>A<tr><td>B</td></tr></table>",
19277 "errors": [
19278 "(1,7): expected-doctype-but-got-start-tag",
19279 "(1,15): unexpected-start-tag-implies-table-voodoo",
19280 "(1,28): unexpected-table-element-start-tag-in-select-in-table"
19281 ],
19282 "document": {
19283 "props": {
19284 "tags": {
19285 "html": true,
19286 "head": true,
19287 "body": true,
19288 "select": true,
19289 "option": true,
19290 "table": true,
19291 "tbody": true,
19292 "tr": true,
19293 "td": true
19294 }
19295 },
19296 "tree": [
19297 {
19298 "tag": "html",
19299 "children": [
19300 {
19301 "tag": "head"
19302 },
19303 {
19304 "tag": "body",
19305 "children": [
19306 {
19307 "tag": "select",
19308 "children": [
19309 {
19310 "tag": "option",
19311 "children": [
19312 {
19313 "text": "A"
19314 }
19315 ]
19316 }
19317 ]
19318 },
19319 {
19320 "tag": "table",
19321 "children": [
19322 {
19323 "tag": "tbody",
19324 "children": [
19325 {
19326 "tag": "tr",
19327 "children": [
19328 {
19329 "tag": "td",
19330 "children": [
19331 {
19332 "text": "B"
19333 }
19334 ]
19335 }
19336 ]
19337 }
19338 ]
19339 }
19340 ]
19341 }
19342 ]
19343 }
19344 ]
19345 }
19346 ],
19347 "html": "<html><head></head><body><select><option>A</option></select><table><tbody><tr><td>B</td></tr></tbody></table></body></html>",
19348 "noQuirksBodyHtml": "<select><option>A</option></select><table><tbody><tr><td>B</td></tr></tbody></table>"
19349 }
19350 },
19351 {
19352 "data": "<table><td></body></caption></col></colgroup></html>foo",
19353 "errors": [
19354 "(1,7): expected-doctype-but-got-start-tag",
19355 "(1,11): unexpected-cell-in-table-body",
19356 "(1,18): unexpected-end-tag",
19357 "(1,28): unexpected-end-tag",
19358 "(1,34): unexpected-end-tag",
19359 "(1,45): unexpected-end-tag",
19360 "(1,52): unexpected-end-tag",
19361 "(1,55): expected-closing-tag-but-got-eof"
19362 ],
19363 "document": {
19364 "props": {
19365 "tags": {
19366 "html": true,
19367 "head": true,
19368 "body": true,
19369 "table": true,
19370 "tbody": true,
19371 "tr": true,
19372 "td": true
19373 }
19374 },
19375 "tree": [
19376 {
19377 "tag": "html",
19378 "children": [
19379 {
19380 "tag": "head"
19381 },
19382 {
19383 "tag": "body",
19384 "children": [
19385 {
19386 "tag": "table",
19387 "children": [
19388 {
19389 "tag": "tbody",
19390 "children": [
19391 {
19392 "tag": "tr",
19393 "children": [
19394 {
19395 "tag": "td",
19396 "children": [
19397 {
19398 "text": "foo"
19399 }
19400 ]
19401 }
19402 ]
19403 }
19404 ]
19405 }
19406 ]
19407 }
19408 ]
19409 }
19410 ]
19411 }
19412 ],
19413 "html": "<html><head></head><body><table><tbody><tr><td>foo</td></tr></tbody></table></body></html>",
19414 "noQuirksBodyHtml": "<table><tbody><tr><td>foo</td></tr></tbody></table>"
19415 }
19416 },
19417 {
19418 "data": "<table><td>A</table>B",
19419 "errors": [
19420 "(1,7): expected-doctype-but-got-start-tag",
19421 "(1,11): unexpected-cell-in-table-body"
19422 ],
19423 "document": {
19424 "props": {
19425 "tags": {
19426 "html": true,
19427 "head": true,
19428 "body": true,
19429 "table": true,
19430 "tbody": true,
19431 "tr": true,
19432 "td": true
19433 }
19434 },
19435 "tree": [
19436 {
19437 "tag": "html",
19438 "children": [
19439 {
19440 "tag": "head"
19441 },
19442 {
19443 "tag": "body",
19444 "children": [
19445 {
19446 "tag": "table",
19447 "children": [
19448 {
19449 "tag": "tbody",
19450 "children": [
19451 {
19452 "tag": "tr",
19453 "children": [
19454 {
19455 "tag": "td",
19456 "children": [
19457 {
19458 "text": "A"
19459 }
19460 ]
19461 }
19462 ]
19463 }
19464 ]
19465 }
19466 ]
19467 },
19468 {
19469 "text": "B"
19470 }
19471 ]
19472 }
19473 ]
19474 }
19475 ],
19476 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table>B</body></html>",
19477 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>B"
19478 }
19479 },
19480 {
19481 "data": "<table><tr><caption>",
19482 "errors": [
19483 "(1,7): expected-doctype-but-got-start-tag",
19484 "(1,20): expected-closing-tag-but-got-eof"
19485 ],
19486 "document": {
19487 "props": {
19488 "tags": {
19489 "html": true,
19490 "head": true,
19491 "body": true,
19492 "table": true,
19493 "tbody": true,
19494 "tr": true,
19495 "caption": true
19496 }
19497 },
19498 "tree": [
19499 {
19500 "tag": "html",
19501 "children": [
19502 {
19503 "tag": "head"
19504 },
19505 {
19506 "tag": "body",
19507 "children": [
19508 {
19509 "tag": "table",
19510 "children": [
19511 {
19512 "tag": "tbody",
19513 "children": [
19514 {
19515 "tag": "tr"
19516 }
19517 ]
19518 },
19519 {
19520 "tag": "caption"
19521 }
19522 ]
19523 }
19524 ]
19525 }
19526 ]
19527 }
19528 ],
19529 "html": "<html><head></head><body><table><tbody><tr></tr></tbody><caption></caption></table></body></html>",
19530 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody><caption></caption></table>"
19531 }
19532 },
19533 {
19534 "data": "<table><tr></body></caption></col></colgroup></html></td></th><td>foo",
19535 "errors": [
19536 "(1,7): expected-doctype-but-got-start-tag",
19537 "(1,18): unexpected-end-tag-in-table-row",
19538 "(1,28): unexpected-end-tag-in-table-row",
19539 "(1,34): unexpected-end-tag-in-table-row",
19540 "(1,45): unexpected-end-tag-in-table-row",
19541 "(1,52): unexpected-end-tag-in-table-row",
19542 "(1,57): unexpected-end-tag-in-table-row",
19543 "(1,62): unexpected-end-tag-in-table-row",
19544 "(1,69): expected-closing-tag-but-got-eof"
19545 ],
19546 "document": {
19547 "props": {
19548 "tags": {
19549 "html": true,
19550 "head": true,
19551 "body": true,
19552 "table": true,
19553 "tbody": true,
19554 "tr": true,
19555 "td": true
19556 }
19557 },
19558 "tree": [
19559 {
19560 "tag": "html",
19561 "children": [
19562 {
19563 "tag": "head"
19564 },
19565 {
19566 "tag": "body",
19567 "children": [
19568 {
19569 "tag": "table",
19570 "children": [
19571 {
19572 "tag": "tbody",
19573 "children": [
19574 {
19575 "tag": "tr",
19576 "children": [
19577 {
19578 "tag": "td",
19579 "children": [
19580 {
19581 "text": "foo"
19582 }
19583 ]
19584 }
19585 ]
19586 }
19587 ]
19588 }
19589 ]
19590 }
19591 ]
19592 }
19593 ]
19594 }
19595 ],
19596 "html": "<html><head></head><body><table><tbody><tr><td>foo</td></tr></tbody></table></body></html>",
19597 "noQuirksBodyHtml": "<table><tbody><tr><td>foo</td></tr></tbody></table>"
19598 }
19599 },
19600 {
19601 "data": "<table><td><tr>",
19602 "errors": [
19603 "(1,7): expected-doctype-but-got-start-tag",
19604 "(1,11): unexpected-cell-in-table-body",
19605 "(1,15): eof-in-table"
19606 ],
19607 "document": {
19608 "props": {
19609 "tags": {
19610 "html": true,
19611 "head": true,
19612 "body": true,
19613 "table": true,
19614 "tbody": true,
19615 "tr": true,
19616 "td": true
19617 }
19618 },
19619 "tree": [
19620 {
19621 "tag": "html",
19622 "children": [
19623 {
19624 "tag": "head"
19625 },
19626 {
19627 "tag": "body",
19628 "children": [
19629 {
19630 "tag": "table",
19631 "children": [
19632 {
19633 "tag": "tbody",
19634 "children": [
19635 {
19636 "tag": "tr",
19637 "children": [
19638 {
19639 "tag": "td"
19640 }
19641 ]
19642 },
19643 {
19644 "tag": "tr"
19645 }
19646 ]
19647 }
19648 ]
19649 }
19650 ]
19651 }
19652 ]
19653 }
19654 ],
19655 "html": "<html><head></head><body><table><tbody><tr><td></td></tr><tr></tr></tbody></table></body></html>",
19656 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr><tr></tr></tbody></table>"
19657 }
19658 },
19659 {
19660 "data": "<table><td><button><td>",
19661 "errors": [
19662 "(1,7): expected-doctype-but-got-start-tag",
19663 "(1,11): unexpected-cell-in-table-body",
19664 "(1,23): unexpected-cell-end-tag",
19665 "(1,23): expected-closing-tag-but-got-eof"
19666 ],
19667 "document": {
19668 "props": {
19669 "tags": {
19670 "html": true,
19671 "head": true,
19672 "body": true,
19673 "table": true,
19674 "tbody": true,
19675 "tr": true,
19676 "td": true,
19677 "button": true
19678 }
19679 },
19680 "tree": [
19681 {
19682 "tag": "html",
19683 "children": [
19684 {
19685 "tag": "head"
19686 },
19687 {
19688 "tag": "body",
19689 "children": [
19690 {
19691 "tag": "table",
19692 "children": [
19693 {
19694 "tag": "tbody",
19695 "children": [
19696 {
19697 "tag": "tr",
19698 "children": [
19699 {
19700 "tag": "td",
19701 "children": [
19702 {
19703 "tag": "button"
19704 }
19705 ]
19706 },
19707 {
19708 "tag": "td"
19709 }
19710 ]
19711 }
19712 ]
19713 }
19714 ]
19715 }
19716 ]
19717 }
19718 ]
19719 }
19720 ],
19721 "html": "<html><head></head><body><table><tbody><tr><td><button></button></td><td></td></tr></tbody></table></body></html>",
19722 "noQuirksBodyHtml": "<table><tbody><tr><td><button></button></td><td></td></tr></tbody></table>"
19723 }
19724 },
19725 {
19726 "data": "<table><tr><td><svg><desc><td>",
19727 "errors": [
19728 "(1,7): expected-doctype-but-got-start-tag",
19729 "(1,30): unexpected-cell-end-tag",
19730 "(1,30): expected-closing-tag-but-got-eof"
19731 ],
19732 "document": {
19733 "props": {
19734 "tags": {
19735 "html": true,
19736 "head": true,
19737 "body": true,
19738 "table": true,
19739 "tbody": true,
19740 "tr": true,
19741 "td": true,
19742 "svg svg": true,
19743 "svg desc": true
19744 }
19745 },
19746 "tree": [
19747 {
19748 "tag": "html",
19749 "children": [
19750 {
19751 "tag": "head"
19752 },
19753 {
19754 "tag": "body",
19755 "children": [
19756 {
19757 "tag": "table",
19758 "children": [
19759 {
19760 "tag": "tbody",
19761 "children": [
19762 {
19763 "tag": "tr",
19764 "children": [
19765 {
19766 "tag": "td",
19767 "children": [
19768 {
19769 "tag": "svg",
19770 "ns": "http://www.w3.org/2000/svg",
19771 "children": [
19772 {
19773 "tag": "desc",
19774 "ns": "http://www.w3.org/2000/svg"
19775 }
19776 ]
19777 }
19778 ]
19779 },
19780 {
19781 "tag": "td"
19782 }
19783 ]
19784 }
19785 ]
19786 }
19787 ]
19788 }
19789 ]
19790 }
19791 ]
19792 }
19793 ],
19794 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td></td></tr></tbody></table></body></html>",
19795 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td></td></tr></tbody></table>"
19796 }
19797 }
19798 ],
19799 "template.dat": [
19800 {
19801 "data": "<body><template>Hello</template>",
19802 "errors": [
19803 "no doctype"
19804 ],
19805 "document": {
19806 "props": {
19807 "tags": {
19808 "html": true,
19809 "head": true,
19810 "body": true,
19811 "template": true
19812 },
19813 "template": true
19814 },
19815 "tree": [
19816 {
19817 "tag": "html",
19818 "children": [
19819 {
19820 "tag": "head"
19821 },
19822 {
19823 "tag": "body",
19824 "children": [
19825 {
19826 "tag": "template",
19827 "children": [
19828 {
19829 "content": true,
19830 "children": [
19831 {
19832 "text": "Hello"
19833 }
19834 ]
19835 }
19836 ]
19837 }
19838 ]
19839 }
19840 ]
19841 }
19842 ],
19843 "html": "<html><head></head><body><template>Hello</template></body></html>",
19844 "noQuirksBodyHtml": "<template>Hello</template>"
19845 }
19846 },
19847 {
19848 "data": "<template>Hello</template>",
19849 "errors": [
19850 "no doctype"
19851 ],
19852 "document": {
19853 "props": {
19854 "tags": {
19855 "html": true,
19856 "head": true,
19857 "template": true,
19858 "body": true
19859 },
19860 "template": true
19861 },
19862 "tree": [
19863 {
19864 "tag": "html",
19865 "children": [
19866 {
19867 "tag": "head",
19868 "children": [
19869 {
19870 "tag": "template",
19871 "children": [
19872 {
19873 "content": true,
19874 "children": [
19875 {
19876 "text": "Hello"
19877 }
19878 ]
19879 }
19880 ]
19881 }
19882 ]
19883 },
19884 {
19885 "tag": "body"
19886 }
19887 ]
19888 }
19889 ],
19890 "html": "<html><head><template>Hello</template></head><body></body></html>",
19891 "noQuirksBodyHtml": "<template>Hello</template>"
19892 }
19893 },
19894 {
19895 "data": "<template></template><div></div>",
19896 "errors": [
19897 "no doctype"
19898 ],
19899 "document": {
19900 "props": {
19901 "tags": {
19902 "html": true,
19903 "head": true,
19904 "template": true,
19905 "body": true,
19906 "div": true
19907 },
19908 "template": true
19909 },
19910 "tree": [
19911 {
19912 "tag": "html",
19913 "children": [
19914 {
19915 "tag": "head",
19916 "children": [
19917 {
19918 "tag": "template",
19919 "children": [
19920 {
19921 "content": true
19922 }
19923 ]
19924 }
19925 ]
19926 },
19927 {
19928 "tag": "body",
19929 "children": [
19930 {
19931 "tag": "div"
19932 }
19933 ]
19934 }
19935 ]
19936 }
19937 ],
19938 "html": "<html><head><template></template></head><body><div></div></body></html>",
19939 "noQuirksBodyHtml": "<template></template><div></div>"
19940 }
19941 },
19942 {
19943 "data": "<html><template>Hello</template>",
19944 "errors": [
19945 "no doctype"
19946 ],
19947 "document": {
19948 "props": {
19949 "tags": {
19950 "html": true,
19951 "head": true,
19952 "template": true,
19953 "body": true
19954 },
19955 "template": true
19956 },
19957 "tree": [
19958 {
19959 "tag": "html",
19960 "children": [
19961 {
19962 "tag": "head",
19963 "children": [
19964 {
19965 "tag": "template",
19966 "children": [
19967 {
19968 "content": true,
19969 "children": [
19970 {
19971 "text": "Hello"
19972 }
19973 ]
19974 }
19975 ]
19976 }
19977 ]
19978 },
19979 {
19980 "tag": "body"
19981 }
19982 ]
19983 }
19984 ],
19985 "html": "<html><head><template>Hello</template></head><body></body></html>",
19986 "noQuirksBodyHtml": "<template>Hello</template>"
19987 }
19988 },
19989 {
19990 "data": "<head><template><div></div></template></head>",
19991 "errors": [
19992 "no doctype"
19993 ],
19994 "document": {
19995 "props": {
19996 "tags": {
19997 "html": true,
19998 "head": true,
19999 "template": true,
20000 "div": true,
20001 "body": true
20002 },
20003 "template": true
20004 },
20005 "tree": [
20006 {
20007 "tag": "html",
20008 "children": [
20009 {
20010 "tag": "head",
20011 "children": [
20012 {
20013 "tag": "template",
20014 "children": [
20015 {
20016 "content": true,
20017 "children": [
20018 {
20019 "tag": "div"
20020 }
20021 ]
20022 }
20023 ]
20024 }
20025 ]
20026 },
20027 {
20028 "tag": "body"
20029 }
20030 ]
20031 }
20032 ],
20033 "html": "<html><head><template><div></div></template></head><body></body></html>",
20034 "noQuirksBodyHtml": "<template><div></div></template>"
20035 }
20036 },
20037 {
20038 "data": "<div><template><div><span></template><b>",
20039 "errors": [
20040 " * (1,6) missing DOCTYPE",
20041 " * (1,38) mismatched template end tag",
20042 " * (1,41) unexpected end of file"
20043 ],
20044 "document": {
20045 "props": {
20046 "tags": {
20047 "html": true,
20048 "head": true,
20049 "body": true,
20050 "div": true,
20051 "template": true,
20052 "span": true,
20053 "b": true
20054 },
20055 "template": true
20056 },
20057 "tree": [
20058 {
20059 "tag": "html",
20060 "children": [
20061 {
20062 "tag": "head"
20063 },
20064 {
20065 "tag": "body",
20066 "children": [
20067 {
20068 "tag": "div",
20069 "children": [
20070 {
20071 "tag": "template",
20072 "children": [
20073 {
20074 "content": true,
20075 "children": [
20076 {
20077 "tag": "div",
20078 "children": [
20079 {
20080 "tag": "span"
20081 }
20082 ]
20083 }
20084 ]
20085 }
20086 ]
20087 },
20088 {
20089 "tag": "b"
20090 }
20091 ]
20092 }
20093 ]
20094 }
20095 ]
20096 }
20097 ],
20098 "html": "<html><head></head><body><div><template><div><span></span></div></template><b></b></div></body></html>",
20099 "noQuirksBodyHtml": "<div><template><div><span></span></div></template><b></b></div>"
20100 }
20101 },
20102 {
20103 "data": "<div><template></div>Hello",
20104 "errors": [
20105 " * (1,6) missing DOCTYPE",
20106 " * (1,22) unexpected token in template",
20107 " * (1,27) unexpected end of file in template",
20108 " * (1,27) unexpected end of file"
20109 ],
20110 "document": {
20111 "props": {
20112 "tags": {
20113 "html": true,
20114 "head": true,
20115 "body": true,
20116 "div": true,
20117 "template": true
20118 },
20119 "template": true
20120 },
20121 "tree": [
20122 {
20123 "tag": "html",
20124 "children": [
20125 {
20126 "tag": "head"
20127 },
20128 {
20129 "tag": "body",
20130 "children": [
20131 {
20132 "tag": "div",
20133 "children": [
20134 {
20135 "tag": "template",
20136 "children": [
20137 {
20138 "content": true,
20139 "children": [
20140 {
20141 "text": "Hello"
20142 }
20143 ]
20144 }
20145 ]
20146 }
20147 ]
20148 }
20149 ]
20150 }
20151 ]
20152 }
20153 ],
20154 "html": "<html><head></head><body><div><template>Hello</template></div></body></html>",
20155 "noQuirksBodyHtml": "<div><template>Hello</template></div>"
20156 }
20157 },
20158 {
20159 "data": "<div></template></div>",
20160 "errors": [
20161 " * (1,6) missing DOCTYPE",
20162 " * (1,17) unexpected template end tag"
20163 ],
20164 "document": {
20165 "props": {
20166 "tags": {
20167 "html": true,
20168 "head": true,
20169 "body": true,
20170 "div": true
20171 }
20172 },
20173 "tree": [
20174 {
20175 "tag": "html",
20176 "children": [
20177 {
20178 "tag": "head"
20179 },
20180 {
20181 "tag": "body",
20182 "children": [
20183 {
20184 "tag": "div"
20185 }
20186 ]
20187 }
20188 ]
20189 }
20190 ],
20191 "html": "<html><head></head><body><div></div></body></html>",
20192 "noQuirksBodyHtml": "<div></div>"
20193 }
20194 },
20195 {
20196 "data": "<table><template></template></table>",
20197 "errors": [
20198 "no doctype"
20199 ],
20200 "document": {
20201 "props": {
20202 "tags": {
20203 "html": true,
20204 "head": true,
20205 "body": true,
20206 "table": true,
20207 "template": true
20208 },
20209 "template": true
20210 },
20211 "tree": [
20212 {
20213 "tag": "html",
20214 "children": [
20215 {
20216 "tag": "head"
20217 },
20218 {
20219 "tag": "body",
20220 "children": [
20221 {
20222 "tag": "table",
20223 "children": [
20224 {
20225 "tag": "template",
20226 "children": [
20227 {
20228 "content": true
20229 }
20230 ]
20231 }
20232 ]
20233 }
20234 ]
20235 }
20236 ]
20237 }
20238 ],
20239 "html": "<html><head></head><body><table><template></template></table></body></html>",
20240 "noQuirksBodyHtml": "<table><template></template></table>"
20241 }
20242 },
20243 {
20244 "data": "<table><template></template></div>",
20245 "errors": [
20246 " * (1,8) missing DOCTYPE",
20247 " * (1,35) unexpected token in table - foster parenting",
20248 " * (1,35) unexpected end tag",
20249 " * (1,35) unexpected end of file"
20250 ],
20251 "document": {
20252 "props": {
20253 "tags": {
20254 "html": true,
20255 "head": true,
20256 "body": true,
20257 "table": true,
20258 "template": true
20259 },
20260 "template": true
20261 },
20262 "tree": [
20263 {
20264 "tag": "html",
20265 "children": [
20266 {
20267 "tag": "head"
20268 },
20269 {
20270 "tag": "body",
20271 "children": [
20272 {
20273 "tag": "table",
20274 "children": [
20275 {
20276 "tag": "template",
20277 "children": [
20278 {
20279 "content": true
20280 }
20281 ]
20282 }
20283 ]
20284 }
20285 ]
20286 }
20287 ]
20288 }
20289 ],
20290 "html": "<html><head></head><body><table><template></template></table></body></html>",
20291 "noQuirksBodyHtml": "<table><template></template></table>"
20292 }
20293 },
20294 {
20295 "data": "<table><div><template></template></div>",
20296 "errors": [
20297 " * (1,8) missing DOCTYPE",
20298 " * (1,13) unexpected token in table - foster parenting",
20299 " * (1,40) unexpected token in table - foster parenting",
20300 " * (1,40) unexpected end of file"
20301 ],
20302 "document": {
20303 "props": {
20304 "tags": {
20305 "html": true,
20306 "head": true,
20307 "body": true,
20308 "div": true,
20309 "template": true,
20310 "table": true
20311 },
20312 "template": true
20313 },
20314 "tree": [
20315 {
20316 "tag": "html",
20317 "children": [
20318 {
20319 "tag": "head"
20320 },
20321 {
20322 "tag": "body",
20323 "children": [
20324 {
20325 "tag": "div",
20326 "children": [
20327 {
20328 "tag": "template",
20329 "children": [
20330 {
20331 "content": true
20332 }
20333 ]
20334 }
20335 ]
20336 },
20337 {
20338 "tag": "table"
20339 }
20340 ]
20341 }
20342 ]
20343 }
20344 ],
20345 "html": "<html><head></head><body><div><template></template></div><table></table></body></html>",
20346 "noQuirksBodyHtml": "<div><template></template></div><table></table>"
20347 }
20348 },
20349 {
20350 "data": "<table><template></template><div></div>",
20351 "errors": [
20352 "no doctype",
20353 "bad div in table",
20354 "bad /div in table",
20355 "eof in table"
20356 ],
20357 "document": {
20358 "props": {
20359 "tags": {
20360 "html": true,
20361 "head": true,
20362 "body": true,
20363 "div": true,
20364 "table": true,
20365 "template": true
20366 },
20367 "template": true
20368 },
20369 "tree": [
20370 {
20371 "tag": "html",
20372 "children": [
20373 {
20374 "tag": "head"
20375 },
20376 {
20377 "tag": "body",
20378 "children": [
20379 {
20380 "tag": "div"
20381 },
20382 {
20383 "tag": "table",
20384 "children": [
20385 {
20386 "tag": "template",
20387 "children": [
20388 {
20389 "content": true
20390 }
20391 ]
20392 }
20393 ]
20394 }
20395 ]
20396 }
20397 ]
20398 }
20399 ],
20400 "html": "<html><head></head><body><div></div><table><template></template></table></body></html>",
20401 "noQuirksBodyHtml": "<div></div><table><template></template></table>"
20402 }
20403 },
20404 {
20405 "data": "<table> <template></template></table>",
20406 "errors": [
20407 "no doctype"
20408 ],
20409 "document": {
20410 "props": {
20411 "tags": {
20412 "html": true,
20413 "head": true,
20414 "body": true,
20415 "table": true,
20416 "template": true
20417 },
20418 "template": true
20419 },
20420 "tree": [
20421 {
20422 "tag": "html",
20423 "children": [
20424 {
20425 "tag": "head"
20426 },
20427 {
20428 "tag": "body",
20429 "children": [
20430 {
20431 "tag": "table",
20432 "children": [
20433 {
20434 "text": " "
20435 },
20436 {
20437 "tag": "template",
20438 "children": [
20439 {
20440 "content": true
20441 }
20442 ]
20443 }
20444 ]
20445 }
20446 ]
20447 }
20448 ]
20449 }
20450 ],
20451 "html": "<html><head></head><body><table> <template></template></table></body></html>",
20452 "noQuirksBodyHtml": "<table> <template></template></table>"
20453 }
20454 },
20455 {
20456 "data": "<table><tbody><template></template></tbody>",
20457 "errors": [
20458 "no doctype",
20459 "eof in table"
20460 ],
20461 "document": {
20462 "props": {
20463 "tags": {
20464 "html": true,
20465 "head": true,
20466 "body": true,
20467 "table": true,
20468 "tbody": true,
20469 "template": true
20470 },
20471 "template": true
20472 },
20473 "tree": [
20474 {
20475 "tag": "html",
20476 "children": [
20477 {
20478 "tag": "head"
20479 },
20480 {
20481 "tag": "body",
20482 "children": [
20483 {
20484 "tag": "table",
20485 "children": [
20486 {
20487 "tag": "tbody",
20488 "children": [
20489 {
20490 "tag": "template",
20491 "children": [
20492 {
20493 "content": true
20494 }
20495 ]
20496 }
20497 ]
20498 }
20499 ]
20500 }
20501 ]
20502 }
20503 ]
20504 }
20505 ],
20506 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
20507 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
20508 }
20509 },
20510 {
20511 "data": "<table><tbody><template></tbody></template>",
20512 "errors": [
20513 "no doctype",
20514 "bad /tbody",
20515 "eof in table"
20516 ],
20517 "document": {
20518 "props": {
20519 "tags": {
20520 "html": true,
20521 "head": true,
20522 "body": true,
20523 "table": true,
20524 "tbody": true,
20525 "template": true
20526 },
20527 "template": true
20528 },
20529 "tree": [
20530 {
20531 "tag": "html",
20532 "children": [
20533 {
20534 "tag": "head"
20535 },
20536 {
20537 "tag": "body",
20538 "children": [
20539 {
20540 "tag": "table",
20541 "children": [
20542 {
20543 "tag": "tbody",
20544 "children": [
20545 {
20546 "tag": "template",
20547 "children": [
20548 {
20549 "content": true
20550 }
20551 ]
20552 }
20553 ]
20554 }
20555 ]
20556 }
20557 ]
20558 }
20559 ]
20560 }
20561 ],
20562 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
20563 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
20564 }
20565 },
20566 {
20567 "data": "<table><tbody><template></template></tbody></table>",
20568 "errors": [
20569 "no doctype"
20570 ],
20571 "document": {
20572 "props": {
20573 "tags": {
20574 "html": true,
20575 "head": true,
20576 "body": true,
20577 "table": true,
20578 "tbody": true,
20579 "template": true
20580 },
20581 "template": true
20582 },
20583 "tree": [
20584 {
20585 "tag": "html",
20586 "children": [
20587 {
20588 "tag": "head"
20589 },
20590 {
20591 "tag": "body",
20592 "children": [
20593 {
20594 "tag": "table",
20595 "children": [
20596 {
20597 "tag": "tbody",
20598 "children": [
20599 {
20600 "tag": "template",
20601 "children": [
20602 {
20603 "content": true
20604 }
20605 ]
20606 }
20607 ]
20608 }
20609 ]
20610 }
20611 ]
20612 }
20613 ]
20614 }
20615 ],
20616 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
20617 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
20618 }
20619 },
20620 {
20621 "data": "<table><thead><template></template></thead>",
20622 "errors": [
20623 "no doctype",
20624 "eof in table"
20625 ],
20626 "document": {
20627 "props": {
20628 "tags": {
20629 "html": true,
20630 "head": true,
20631 "body": true,
20632 "table": true,
20633 "thead": true,
20634 "template": true
20635 },
20636 "template": true
20637 },
20638 "tree": [
20639 {
20640 "tag": "html",
20641 "children": [
20642 {
20643 "tag": "head"
20644 },
20645 {
20646 "tag": "body",
20647 "children": [
20648 {
20649 "tag": "table",
20650 "children": [
20651 {
20652 "tag": "thead",
20653 "children": [
20654 {
20655 "tag": "template",
20656 "children": [
20657 {
20658 "content": true
20659 }
20660 ]
20661 }
20662 ]
20663 }
20664 ]
20665 }
20666 ]
20667 }
20668 ]
20669 }
20670 ],
20671 "html": "<html><head></head><body><table><thead><template></template></thead></table></body></html>",
20672 "noQuirksBodyHtml": "<table><thead><template></template></thead></table>"
20673 }
20674 },
20675 {
20676 "data": "<table><tfoot><template></template></tfoot>",
20677 "errors": [
20678 "no doctype",
20679 "eof in table"
20680 ],
20681 "document": {
20682 "props": {
20683 "tags": {
20684 "html": true,
20685 "head": true,
20686 "body": true,
20687 "table": true,
20688 "tfoot": true,
20689 "template": true
20690 },
20691 "template": true
20692 },
20693 "tree": [
20694 {
20695 "tag": "html",
20696 "children": [
20697 {
20698 "tag": "head"
20699 },
20700 {
20701 "tag": "body",
20702 "children": [
20703 {
20704 "tag": "table",
20705 "children": [
20706 {
20707 "tag": "tfoot",
20708 "children": [
20709 {
20710 "tag": "template",
20711 "children": [
20712 {
20713 "content": true
20714 }
20715 ]
20716 }
20717 ]
20718 }
20719 ]
20720 }
20721 ]
20722 }
20723 ]
20724 }
20725 ],
20726 "html": "<html><head></head><body><table><tfoot><template></template></tfoot></table></body></html>",
20727 "noQuirksBodyHtml": "<table><tfoot><template></template></tfoot></table>"
20728 }
20729 },
20730 {
20731 "data": "<select><template></template></select>",
20732 "errors": [
20733 "no doctype"
20734 ],
20735 "document": {
20736 "props": {
20737 "tags": {
20738 "html": true,
20739 "head": true,
20740 "body": true,
20741 "select": true,
20742 "template": true
20743 },
20744 "template": true
20745 },
20746 "tree": [
20747 {
20748 "tag": "html",
20749 "children": [
20750 {
20751 "tag": "head"
20752 },
20753 {
20754 "tag": "body",
20755 "children": [
20756 {
20757 "tag": "select",
20758 "children": [
20759 {
20760 "tag": "template",
20761 "children": [
20762 {
20763 "content": true
20764 }
20765 ]
20766 }
20767 ]
20768 }
20769 ]
20770 }
20771 ]
20772 }
20773 ],
20774 "html": "<html><head></head><body><select><template></template></select></body></html>",
20775 "noQuirksBodyHtml": "<select><template></template></select>"
20776 }
20777 },
20778 {
20779 "data": "<select><template><option></option></template></select>",
20780 "errors": [
20781 "no doctype"
20782 ],
20783 "document": {
20784 "props": {
20785 "tags": {
20786 "html": true,
20787 "head": true,
20788 "body": true,
20789 "select": true,
20790 "template": true,
20791 "option": true
20792 },
20793 "template": true
20794 },
20795 "tree": [
20796 {
20797 "tag": "html",
20798 "children": [
20799 {
20800 "tag": "head"
20801 },
20802 {
20803 "tag": "body",
20804 "children": [
20805 {
20806 "tag": "select",
20807 "children": [
20808 {
20809 "tag": "template",
20810 "children": [
20811 {
20812 "content": true,
20813 "children": [
20814 {
20815 "tag": "option"
20816 }
20817 ]
20818 }
20819 ]
20820 }
20821 ]
20822 }
20823 ]
20824 }
20825 ]
20826 }
20827 ],
20828 "html": "<html><head></head><body><select><template><option></option></template></select></body></html>",
20829 "noQuirksBodyHtml": "<select><template><option></option></template></select>"
20830 }
20831 },
20832 {
20833 "data": "<template><option></option></select><option></option></template>",
20834 "errors": [
20835 "no doctype",
20836 "bad /select"
20837 ],
20838 "document": {
20839 "props": {
20840 "tags": {
20841 "html": true,
20842 "head": true,
20843 "template": true,
20844 "option": true,
20845 "body": true
20846 },
20847 "template": true
20848 },
20849 "tree": [
20850 {
20851 "tag": "html",
20852 "children": [
20853 {
20854 "tag": "head",
20855 "children": [
20856 {
20857 "tag": "template",
20858 "children": [
20859 {
20860 "content": true,
20861 "children": [
20862 {
20863 "tag": "option"
20864 },
20865 {
20866 "tag": "option"
20867 }
20868 ]
20869 }
20870 ]
20871 }
20872 ]
20873 },
20874 {
20875 "tag": "body"
20876 }
20877 ]
20878 }
20879 ],
20880 "html": "<html><head><template><option></option><option></option></template></head><body></body></html>",
20881 "noQuirksBodyHtml": "<template><option></option><option></option></template>"
20882 }
20883 },
20884 {
20885 "data": "<select><template></template><option></select>",
20886 "errors": [
20887 "no doctype"
20888 ],
20889 "document": {
20890 "props": {
20891 "tags": {
20892 "html": true,
20893 "head": true,
20894 "body": true,
20895 "select": true,
20896 "template": true,
20897 "option": true
20898 },
20899 "template": true
20900 },
20901 "tree": [
20902 {
20903 "tag": "html",
20904 "children": [
20905 {
20906 "tag": "head"
20907 },
20908 {
20909 "tag": "body",
20910 "children": [
20911 {
20912 "tag": "select",
20913 "children": [
20914 {
20915 "tag": "template",
20916 "children": [
20917 {
20918 "content": true
20919 }
20920 ]
20921 },
20922 {
20923 "tag": "option"
20924 }
20925 ]
20926 }
20927 ]
20928 }
20929 ]
20930 }
20931 ],
20932 "html": "<html><head></head><body><select><template></template><option></option></select></body></html>",
20933 "noQuirksBodyHtml": "<select><template></template><option></option></select>"
20934 }
20935 },
20936 {
20937 "data": "<select><option><template></template></select>",
20938 "errors": [
20939 "no doctype"
20940 ],
20941 "document": {
20942 "props": {
20943 "tags": {
20944 "html": true,
20945 "head": true,
20946 "body": true,
20947 "select": true,
20948 "option": true,
20949 "template": true
20950 },
20951 "template": true
20952 },
20953 "tree": [
20954 {
20955 "tag": "html",
20956 "children": [
20957 {
20958 "tag": "head"
20959 },
20960 {
20961 "tag": "body",
20962 "children": [
20963 {
20964 "tag": "select",
20965 "children": [
20966 {
20967 "tag": "option",
20968 "children": [
20969 {
20970 "tag": "template",
20971 "children": [
20972 {
20973 "content": true
20974 }
20975 ]
20976 }
20977 ]
20978 }
20979 ]
20980 }
20981 ]
20982 }
20983 ]
20984 }
20985 ],
20986 "html": "<html><head></head><body><select><option><template></template></option></select></body></html>",
20987 "noQuirksBodyHtml": "<select><option><template></template></option></select>"
20988 }
20989 },
20990 {
20991 "data": "<select><template>",
20992 "errors": [
20993 "no doctype",
20994 "eof in template",
20995 "eof in select"
20996 ],
20997 "document": {
20998 "props": {
20999 "tags": {
21000 "html": true,
21001 "head": true,
21002 "body": true,
21003 "select": true,
21004 "template": true
21005 },
21006 "template": true
21007 },
21008 "tree": [
21009 {
21010 "tag": "html",
21011 "children": [
21012 {
21013 "tag": "head"
21014 },
21015 {
21016 "tag": "body",
21017 "children": [
21018 {
21019 "tag": "select",
21020 "children": [
21021 {
21022 "tag": "template",
21023 "children": [
21024 {
21025 "content": true
21026 }
21027 ]
21028 }
21029 ]
21030 }
21031 ]
21032 }
21033 ]
21034 }
21035 ],
21036 "html": "<html><head></head><body><select><template></template></select></body></html>",
21037 "noQuirksBodyHtml": "<select><template></template></select>"
21038 }
21039 },
21040 {
21041 "data": "<select><option></option><template>",
21042 "errors": [
21043 "no doctype",
21044 "eof in template",
21045 "eof in select"
21046 ],
21047 "document": {
21048 "props": {
21049 "tags": {
21050 "html": true,
21051 "head": true,
21052 "body": true,
21053 "select": true,
21054 "option": true,
21055 "template": true
21056 },
21057 "template": true
21058 },
21059 "tree": [
21060 {
21061 "tag": "html",
21062 "children": [
21063 {
21064 "tag": "head"
21065 },
21066 {
21067 "tag": "body",
21068 "children": [
21069 {
21070 "tag": "select",
21071 "children": [
21072 {
21073 "tag": "option"
21074 },
21075 {
21076 "tag": "template",
21077 "children": [
21078 {
21079 "content": true
21080 }
21081 ]
21082 }
21083 ]
21084 }
21085 ]
21086 }
21087 ]
21088 }
21089 ],
21090 "html": "<html><head></head><body><select><option></option><template></template></select></body></html>",
21091 "noQuirksBodyHtml": "<select><option></option><template></template></select>"
21092 }
21093 },
21094 {
21095 "data": "<select><option></option><template><option>",
21096 "errors": [
21097 "no doctype",
21098 "eof in template",
21099 "eof in select"
21100 ],
21101 "document": {
21102 "props": {
21103 "tags": {
21104 "html": true,
21105 "head": true,
21106 "body": true,
21107 "select": true,
21108 "option": true,
21109 "template": true
21110 },
21111 "template": true
21112 },
21113 "tree": [
21114 {
21115 "tag": "html",
21116 "children": [
21117 {
21118 "tag": "head"
21119 },
21120 {
21121 "tag": "body",
21122 "children": [
21123 {
21124 "tag": "select",
21125 "children": [
21126 {
21127 "tag": "option"
21128 },
21129 {
21130 "tag": "template",
21131 "children": [
21132 {
21133 "content": true,
21134 "children": [
21135 {
21136 "tag": "option"
21137 }
21138 ]
21139 }
21140 ]
21141 }
21142 ]
21143 }
21144 ]
21145 }
21146 ]
21147 }
21148 ],
21149 "html": "<html><head></head><body><select><option></option><template><option></option></template></select></body></html>",
21150 "noQuirksBodyHtml": "<select><option></option><template><option></option></template></select>"
21151 }
21152 },
21153 {
21154 "data": "<table><thead><template><td></template></table>",
21155 "errors": [
21156 " * (1,8) missing DOCTYPE"
21157 ],
21158 "document": {
21159 "props": {
21160 "tags": {
21161 "html": true,
21162 "head": true,
21163 "body": true,
21164 "table": true,
21165 "thead": true,
21166 "template": true,
21167 "td": true
21168 },
21169 "template": true
21170 },
21171 "tree": [
21172 {
21173 "tag": "html",
21174 "children": [
21175 {
21176 "tag": "head"
21177 },
21178 {
21179 "tag": "body",
21180 "children": [
21181 {
21182 "tag": "table",
21183 "children": [
21184 {
21185 "tag": "thead",
21186 "children": [
21187 {
21188 "tag": "template",
21189 "children": [
21190 {
21191 "content": true,
21192 "children": [
21193 {
21194 "tag": "td"
21195 }
21196 ]
21197 }
21198 ]
21199 }
21200 ]
21201 }
21202 ]
21203 }
21204 ]
21205 }
21206 ]
21207 }
21208 ],
21209 "html": "<html><head></head><body><table><thead><template><td></td></template></thead></table></body></html>",
21210 "noQuirksBodyHtml": "<table><thead><template><td></td></template></thead></table>"
21211 }
21212 },
21213 {
21214 "data": "<table><template><thead></template></table>",
21215 "errors": [
21216 "no doctype"
21217 ],
21218 "document": {
21219 "props": {
21220 "tags": {
21221 "html": true,
21222 "head": true,
21223 "body": true,
21224 "table": true,
21225 "template": true,
21226 "thead": true
21227 },
21228 "template": true
21229 },
21230 "tree": [
21231 {
21232 "tag": "html",
21233 "children": [
21234 {
21235 "tag": "head"
21236 },
21237 {
21238 "tag": "body",
21239 "children": [
21240 {
21241 "tag": "table",
21242 "children": [
21243 {
21244 "tag": "template",
21245 "children": [
21246 {
21247 "content": true,
21248 "children": [
21249 {
21250 "tag": "thead"
21251 }
21252 ]
21253 }
21254 ]
21255 }
21256 ]
21257 }
21258 ]
21259 }
21260 ]
21261 }
21262 ],
21263 "html": "<html><head></head><body><table><template><thead></thead></template></table></body></html>",
21264 "noQuirksBodyHtml": "<table><template><thead></thead></template></table>"
21265 }
21266 },
21267 {
21268 "data": "<body><table><template><td></tr><div></template></table>",
21269 "errors": [
21270 "no doctype",
21271 "bad </tr>",
21272 "missing </div>"
21273 ],
21274 "document": {
21275 "props": {
21276 "tags": {
21277 "html": true,
21278 "head": true,
21279 "body": true,
21280 "table": true,
21281 "template": true,
21282 "td": true,
21283 "div": true
21284 },
21285 "template": true
21286 },
21287 "tree": [
21288 {
21289 "tag": "html",
21290 "children": [
21291 {
21292 "tag": "head"
21293 },
21294 {
21295 "tag": "body",
21296 "children": [
21297 {
21298 "tag": "table",
21299 "children": [
21300 {
21301 "tag": "template",
21302 "children": [
21303 {
21304 "content": true,
21305 "children": [
21306 {
21307 "tag": "td",
21308 "children": [
21309 {
21310 "tag": "div"
21311 }
21312 ]
21313 }
21314 ]
21315 }
21316 ]
21317 }
21318 ]
21319 }
21320 ]
21321 }
21322 ]
21323 }
21324 ],
21325 "html": "<html><head></head><body><table><template><td><div></div></td></template></table></body></html>",
21326 "noQuirksBodyHtml": "<table><template><td><div></div></td></template></table>"
21327 }
21328 },
21329 {
21330 "data": "<table><template><thead></template></thead></table>",
21331 "errors": [
21332 "no doctype",
21333 "bad /thead after /template"
21334 ],
21335 "document": {
21336 "props": {
21337 "tags": {
21338 "html": true,
21339 "head": true,
21340 "body": true,
21341 "table": true,
21342 "template": true,
21343 "thead": true
21344 },
21345 "template": true
21346 },
21347 "tree": [
21348 {
21349 "tag": "html",
21350 "children": [
21351 {
21352 "tag": "head"
21353 },
21354 {
21355 "tag": "body",
21356 "children": [
21357 {
21358 "tag": "table",
21359 "children": [
21360 {
21361 "tag": "template",
21362 "children": [
21363 {
21364 "content": true,
21365 "children": [
21366 {
21367 "tag": "thead"
21368 }
21369 ]
21370 }
21371 ]
21372 }
21373 ]
21374 }
21375 ]
21376 }
21377 ]
21378 }
21379 ],
21380 "html": "<html><head></head><body><table><template><thead></thead></template></table></body></html>",
21381 "noQuirksBodyHtml": "<table><template><thead></thead></template></table>"
21382 }
21383 },
21384 {
21385 "data": "<table><thead><template><tr></template></table>",
21386 "errors": [
21387 "no doctype"
21388 ],
21389 "document": {
21390 "props": {
21391 "tags": {
21392 "html": true,
21393 "head": true,
21394 "body": true,
21395 "table": true,
21396 "thead": true,
21397 "template": true,
21398 "tr": true
21399 },
21400 "template": true
21401 },
21402 "tree": [
21403 {
21404 "tag": "html",
21405 "children": [
21406 {
21407 "tag": "head"
21408 },
21409 {
21410 "tag": "body",
21411 "children": [
21412 {
21413 "tag": "table",
21414 "children": [
21415 {
21416 "tag": "thead",
21417 "children": [
21418 {
21419 "tag": "template",
21420 "children": [
21421 {
21422 "content": true,
21423 "children": [
21424 {
21425 "tag": "tr"
21426 }
21427 ]
21428 }
21429 ]
21430 }
21431 ]
21432 }
21433 ]
21434 }
21435 ]
21436 }
21437 ]
21438 }
21439 ],
21440 "html": "<html><head></head><body><table><thead><template><tr></tr></template></thead></table></body></html>",
21441 "noQuirksBodyHtml": "<table><thead><template><tr></tr></template></thead></table>"
21442 }
21443 },
21444 {
21445 "data": "<table><template><tr></template></table>",
21446 "errors": [
21447 "no doctype"
21448 ],
21449 "document": {
21450 "props": {
21451 "tags": {
21452 "html": true,
21453 "head": true,
21454 "body": true,
21455 "table": true,
21456 "template": true,
21457 "tr": true
21458 },
21459 "template": true
21460 },
21461 "tree": [
21462 {
21463 "tag": "html",
21464 "children": [
21465 {
21466 "tag": "head"
21467 },
21468 {
21469 "tag": "body",
21470 "children": [
21471 {
21472 "tag": "table",
21473 "children": [
21474 {
21475 "tag": "template",
21476 "children": [
21477 {
21478 "content": true,
21479 "children": [
21480 {
21481 "tag": "tr"
21482 }
21483 ]
21484 }
21485 ]
21486 }
21487 ]
21488 }
21489 ]
21490 }
21491 ]
21492 }
21493 ],
21494 "html": "<html><head></head><body><table><template><tr></tr></template></table></body></html>",
21495 "noQuirksBodyHtml": "<table><template><tr></tr></template></table>"
21496 }
21497 },
21498 {
21499 "data": "<table><tr><template><td>",
21500 "errors": [
21501 "no doctype",
21502 "eof in template",
21503 "eof in table"
21504 ],
21505 "document": {
21506 "props": {
21507 "tags": {
21508 "html": true,
21509 "head": true,
21510 "body": true,
21511 "table": true,
21512 "tbody": true,
21513 "tr": true,
21514 "template": true,
21515 "td": true
21516 },
21517 "template": true
21518 },
21519 "tree": [
21520 {
21521 "tag": "html",
21522 "children": [
21523 {
21524 "tag": "head"
21525 },
21526 {
21527 "tag": "body",
21528 "children": [
21529 {
21530 "tag": "table",
21531 "children": [
21532 {
21533 "tag": "tbody",
21534 "children": [
21535 {
21536 "tag": "tr",
21537 "children": [
21538 {
21539 "tag": "template",
21540 "children": [
21541 {
21542 "content": true,
21543 "children": [
21544 {
21545 "tag": "td"
21546 }
21547 ]
21548 }
21549 ]
21550 }
21551 ]
21552 }
21553 ]
21554 }
21555 ]
21556 }
21557 ]
21558 }
21559 ]
21560 }
21561 ],
21562 "html": "<html><head></head><body><table><tbody><tr><template><td></td></template></tr></tbody></table></body></html>",
21563 "noQuirksBodyHtml": "<table><tbody><tr><template><td></td></template></tr></tbody></table>"
21564 }
21565 },
21566 {
21567 "data": "<table><template><tr><template><td></template></tr></template></table>",
21568 "errors": [
21569 "no doctype"
21570 ],
21571 "document": {
21572 "props": {
21573 "tags": {
21574 "html": true,
21575 "head": true,
21576 "body": true,
21577 "table": true,
21578 "template": true,
21579 "tr": true,
21580 "td": true
21581 },
21582 "template": true
21583 },
21584 "tree": [
21585 {
21586 "tag": "html",
21587 "children": [
21588 {
21589 "tag": "head"
21590 },
21591 {
21592 "tag": "body",
21593 "children": [
21594 {
21595 "tag": "table",
21596 "children": [
21597 {
21598 "tag": "template",
21599 "children": [
21600 {
21601 "content": true,
21602 "children": [
21603 {
21604 "tag": "tr",
21605 "children": [
21606 {
21607 "tag": "template",
21608 "children": [
21609 {
21610 "content": true,
21611 "children": [
21612 {
21613 "tag": "td"
21614 }
21615 ]
21616 }
21617 ]
21618 }
21619 ]
21620 }
21621 ]
21622 }
21623 ]
21624 }
21625 ]
21626 }
21627 ]
21628 }
21629 ]
21630 }
21631 ],
21632 "html": "<html><head></head><body><table><template><tr><template><td></td></template></tr></template></table></body></html>",
21633 "noQuirksBodyHtml": "<table><template><tr><template><td></td></template></tr></template></table>"
21634 }
21635 },
21636 {
21637 "data": "<table><template><tr><template><td></td></template></tr></template></table>",
21638 "errors": [
21639 "no doctype"
21640 ],
21641 "document": {
21642 "props": {
21643 "tags": {
21644 "html": true,
21645 "head": true,
21646 "body": true,
21647 "table": true,
21648 "template": true,
21649 "tr": true,
21650 "td": true
21651 },
21652 "template": true
21653 },
21654 "tree": [
21655 {
21656 "tag": "html",
21657 "children": [
21658 {
21659 "tag": "head"
21660 },
21661 {
21662 "tag": "body",
21663 "children": [
21664 {
21665 "tag": "table",
21666 "children": [
21667 {
21668 "tag": "template",
21669 "children": [
21670 {
21671 "content": true,
21672 "children": [
21673 {
21674 "tag": "tr",
21675 "children": [
21676 {
21677 "tag": "template",
21678 "children": [
21679 {
21680 "content": true,
21681 "children": [
21682 {
21683 "tag": "td"
21684 }
21685 ]
21686 }
21687 ]
21688 }
21689 ]
21690 }
21691 ]
21692 }
21693 ]
21694 }
21695 ]
21696 }
21697 ]
21698 }
21699 ]
21700 }
21701 ],
21702 "html": "<html><head></head><body><table><template><tr><template><td></td></template></tr></template></table></body></html>",
21703 "noQuirksBodyHtml": "<table><template><tr><template><td></td></template></tr></template></table>"
21704 }
21705 },
21706 {
21707 "data": "<table><template><td></template>",
21708 "errors": [
21709 "no doctype",
21710 "eof in table"
21711 ],
21712 "document": {
21713 "props": {
21714 "tags": {
21715 "html": true,
21716 "head": true,
21717 "body": true,
21718 "table": true,
21719 "template": true,
21720 "td": true
21721 },
21722 "template": true
21723 },
21724 "tree": [
21725 {
21726 "tag": "html",
21727 "children": [
21728 {
21729 "tag": "head"
21730 },
21731 {
21732 "tag": "body",
21733 "children": [
21734 {
21735 "tag": "table",
21736 "children": [
21737 {
21738 "tag": "template",
21739 "children": [
21740 {
21741 "content": true,
21742 "children": [
21743 {
21744 "tag": "td"
21745 }
21746 ]
21747 }
21748 ]
21749 }
21750 ]
21751 }
21752 ]
21753 }
21754 ]
21755 }
21756 ],
21757 "html": "<html><head></head><body><table><template><td></td></template></table></body></html>",
21758 "noQuirksBodyHtml": "<table><template><td></td></template></table>"
21759 }
21760 },
21761 {
21762 "data": "<body><template><td></td></template>",
21763 "errors": [
21764 "no doctype"
21765 ],
21766 "document": {
21767 "props": {
21768 "tags": {
21769 "html": true,
21770 "head": true,
21771 "body": true,
21772 "template": true,
21773 "td": true
21774 },
21775 "template": true
21776 },
21777 "tree": [
21778 {
21779 "tag": "html",
21780 "children": [
21781 {
21782 "tag": "head"
21783 },
21784 {
21785 "tag": "body",
21786 "children": [
21787 {
21788 "tag": "template",
21789 "children": [
21790 {
21791 "content": true,
21792 "children": [
21793 {
21794 "tag": "td"
21795 }
21796 ]
21797 }
21798 ]
21799 }
21800 ]
21801 }
21802 ]
21803 }
21804 ],
21805 "html": "<html><head></head><body><template><td></td></template></body></html>",
21806 "noQuirksBodyHtml": "<template><td></td></template>"
21807 }
21808 },
21809 {
21810 "data": "<body><template><template><tr></tr></template><td></td></template>",
21811 "errors": [
21812 "no doctype"
21813 ],
21814 "document": {
21815 "props": {
21816 "tags": {
21817 "html": true,
21818 "head": true,
21819 "body": true,
21820 "template": true,
21821 "tr": true,
21822 "td": true
21823 },
21824 "template": true
21825 },
21826 "tree": [
21827 {
21828 "tag": "html",
21829 "children": [
21830 {
21831 "tag": "head"
21832 },
21833 {
21834 "tag": "body",
21835 "children": [
21836 {
21837 "tag": "template",
21838 "children": [
21839 {
21840 "content": true,
21841 "children": [
21842 {
21843 "tag": "template",
21844 "children": [
21845 {
21846 "content": true,
21847 "children": [
21848 {
21849 "tag": "tr"
21850 }
21851 ]
21852 }
21853 ]
21854 },
21855 {
21856 "tag": "td"
21857 }
21858 ]
21859 }
21860 ]
21861 }
21862 ]
21863 }
21864 ]
21865 }
21866 ],
21867 "html": "<html><head></head><body><template><template><tr></tr></template><td></td></template></body></html>",
21868 "noQuirksBodyHtml": "<template><template><tr></tr></template><td></td></template>"
21869 }
21870 },
21871 {
21872 "data": "<table><colgroup><template><col>",
21873 "errors": [
21874 "no doctype",
21875 "eof in template",
21876 "eof in table"
21877 ],
21878 "document": {
21879 "props": {
21880 "tags": {
21881 "html": true,
21882 "head": true,
21883 "body": true,
21884 "table": true,
21885 "colgroup": true,
21886 "template": true,
21887 "col": true
21888 },
21889 "template": true
21890 },
21891 "tree": [
21892 {
21893 "tag": "html",
21894 "children": [
21895 {
21896 "tag": "head"
21897 },
21898 {
21899 "tag": "body",
21900 "children": [
21901 {
21902 "tag": "table",
21903 "children": [
21904 {
21905 "tag": "colgroup",
21906 "children": [
21907 {
21908 "tag": "template",
21909 "children": [
21910 {
21911 "content": true,
21912 "children": [
21913 {
21914 "tag": "col"
21915 }
21916 ]
21917 }
21918 ]
21919 }
21920 ]
21921 }
21922 ]
21923 }
21924 ]
21925 }
21926 ]
21927 }
21928 ],
21929 "html": "<html><head></head><body><table><colgroup><template><col></template></colgroup></table></body></html>",
21930 "noQuirksBodyHtml": "<table><colgroup><template><col></template></colgroup></table>"
21931 }
21932 },
21933 {
21934 "data": "<frameset><template><frame></frame></template></frameset>",
21935 "errors": [
21936 " * (1,11) missing DOCTYPE",
21937 " * (1,21) unexpected start tag token",
21938 " * (1,36) unexpected end tag token",
21939 " * (1,47) unexpected end tag token"
21940 ],
21941 "document": {
21942 "props": {
21943 "tags": {
21944 "html": true,
21945 "head": true,
21946 "frameset": true,
21947 "frame": true
21948 }
21949 },
21950 "tree": [
21951 {
21952 "tag": "html",
21953 "children": [
21954 {
21955 "tag": "head"
21956 },
21957 {
21958 "tag": "frameset",
21959 "children": [
21960 {
21961 "tag": "frame"
21962 }
21963 ]
21964 }
21965 ]
21966 }
21967 ],
21968 "html": "<html><head></head><frameset><frame></frameset></html>",
21969 "noQuirksBodyHtml": "<template></template>"
21970 }
21971 },
21972 {
21973 "data": "<template><frame></frame></frameset><frame></frame></template>",
21974 "errors": [
21975 " * (1,11) missing DOCTYPE",
21976 " * (1,18) unexpected start tag",
21977 " * (1,26) unexpected end tag",
21978 " * (1,37) unexpected end tag",
21979 " * (1,44) unexpected start tag",
21980 " * (1,52) unexpected end tag"
21981 ],
21982 "document": {
21983 "props": {
21984 "tags": {
21985 "html": true,
21986 "head": true,
21987 "template": true,
21988 "body": true
21989 },
21990 "template": true
21991 },
21992 "tree": [
21993 {
21994 "tag": "html",
21995 "children": [
21996 {
21997 "tag": "head",
21998 "children": [
21999 {
22000 "tag": "template",
22001 "children": [
22002 {
22003 "content": true
22004 }
22005 ]
22006 }
22007 ]
22008 },
22009 {
22010 "tag": "body"
22011 }
22012 ]
22013 }
22014 ],
22015 "html": "<html><head><template></template></head><body></body></html>",
22016 "noQuirksBodyHtml": "<template></template>"
22017 }
22018 },
22019 {
22020 "data": "<template><div><frameset><span></span></div><span></span></template>",
22021 "errors": [
22022 "no doctype",
22023 "bad frameset"
22024 ],
22025 "document": {
22026 "props": {
22027 "tags": {
22028 "html": true,
22029 "head": true,
22030 "template": true,
22031 "div": true,
22032 "span": true,
22033 "body": true
22034 },
22035 "template": true
22036 },
22037 "tree": [
22038 {
22039 "tag": "html",
22040 "children": [
22041 {
22042 "tag": "head",
22043 "children": [
22044 {
22045 "tag": "template",
22046 "children": [
22047 {
22048 "content": true,
22049 "children": [
22050 {
22051 "tag": "div",
22052 "children": [
22053 {
22054 "tag": "span"
22055 }
22056 ]
22057 },
22058 {
22059 "tag": "span"
22060 }
22061 ]
22062 }
22063 ]
22064 }
22065 ]
22066 },
22067 {
22068 "tag": "body"
22069 }
22070 ]
22071 }
22072 ],
22073 "html": "<html><head><template><div><span></span></div><span></span></template></head><body></body></html>",
22074 "noQuirksBodyHtml": "<template><div><span></span></div><span></span></template>"
22075 }
22076 },
22077 {
22078 "data": "<body><template><div><frameset><span></span></div><span></span></template></body>",
22079 "errors": [
22080 "no doctype",
22081 "bad frameset"
22082 ],
22083 "document": {
22084 "props": {
22085 "tags": {
22086 "html": true,
22087 "head": true,
22088 "body": true,
22089 "template": true,
22090 "div": true,
22091 "span": true
22092 },
22093 "template": true
22094 },
22095 "tree": [
22096 {
22097 "tag": "html",
22098 "children": [
22099 {
22100 "tag": "head"
22101 },
22102 {
22103 "tag": "body",
22104 "children": [
22105 {
22106 "tag": "template",
22107 "children": [
22108 {
22109 "content": true,
22110 "children": [
22111 {
22112 "tag": "div",
22113 "children": [
22114 {
22115 "tag": "span"
22116 }
22117 ]
22118 },
22119 {
22120 "tag": "span"
22121 }
22122 ]
22123 }
22124 ]
22125 }
22126 ]
22127 }
22128 ]
22129 }
22130 ],
22131 "html": "<html><head></head><body><template><div><span></span></div><span></span></template></body></html>",
22132 "noQuirksBodyHtml": "<template><div><span></span></div><span></span></template>"
22133 }
22134 },
22135 {
22136 "data": "<body><template><script>var i = 1;</script><td></td></template>",
22137 "errors": [
22138 "no doctype"
22139 ],
22140 "document": {
22141 "props": {
22142 "tags": {
22143 "html": true,
22144 "head": true,
22145 "body": true,
22146 "template": true,
22147 "script": true,
22148 "td": true
22149 },
22150 "template": true,
22151 "no_escape": true
22152 },
22153 "tree": [
22154 {
22155 "tag": "html",
22156 "children": [
22157 {
22158 "tag": "head"
22159 },
22160 {
22161 "tag": "body",
22162 "children": [
22163 {
22164 "tag": "template",
22165 "children": [
22166 {
22167 "content": true,
22168 "children": [
22169 {
22170 "tag": "script",
22171 "children": [
22172 {
22173 "text": "var i = 1;",
22174 "no_escape": true
22175 }
22176 ]
22177 },
22178 {
22179 "tag": "td"
22180 }
22181 ]
22182 }
22183 ]
22184 }
22185 ]
22186 }
22187 ]
22188 }
22189 ],
22190 "html": "<html><head></head><body><template><script>var i = 1;</script><td></td></template></body></html>",
22191 "noQuirksBodyHtml": "<template><script>var i = 1;</script><td></td></template>"
22192 }
22193 },
22194 {
22195 "data": "<body><template><tr><div></div></tr></template>",
22196 "errors": [
22197 "no doctype",
22198 "foster-parented div",
22199 "foster-parented /div"
22200 ],
22201 "document": {
22202 "props": {
22203 "tags": {
22204 "html": true,
22205 "head": true,
22206 "body": true,
22207 "template": true,
22208 "tr": true,
22209 "div": true
22210 },
22211 "template": true
22212 },
22213 "tree": [
22214 {
22215 "tag": "html",
22216 "children": [
22217 {
22218 "tag": "head"
22219 },
22220 {
22221 "tag": "body",
22222 "children": [
22223 {
22224 "tag": "template",
22225 "children": [
22226 {
22227 "content": true,
22228 "children": [
22229 {
22230 "tag": "tr"
22231 },
22232 {
22233 "tag": "div"
22234 }
22235 ]
22236 }
22237 ]
22238 }
22239 ]
22240 }
22241 ]
22242 }
22243 ],
22244 "html": "<html><head></head><body><template><tr></tr><div></div></template></body></html>",
22245 "noQuirksBodyHtml": "<template><tr></tr><div></div></template>"
22246 }
22247 },
22248 {
22249 "data": "<body><template><tr></tr><td></td></template>",
22250 "errors": [
22251 "no doctype",
22252 "unexpected <td>"
22253 ],
22254 "document": {
22255 "props": {
22256 "tags": {
22257 "html": true,
22258 "head": true,
22259 "body": true,
22260 "template": true,
22261 "tr": true,
22262 "td": true
22263 },
22264 "template": true
22265 },
22266 "tree": [
22267 {
22268 "tag": "html",
22269 "children": [
22270 {
22271 "tag": "head"
22272 },
22273 {
22274 "tag": "body",
22275 "children": [
22276 {
22277 "tag": "template",
22278 "children": [
22279 {
22280 "content": true,
22281 "children": [
22282 {
22283 "tag": "tr"
22284 },
22285 {
22286 "tag": "tr",
22287 "children": [
22288 {
22289 "tag": "td"
22290 }
22291 ]
22292 }
22293 ]
22294 }
22295 ]
22296 }
22297 ]
22298 }
22299 ]
22300 }
22301 ],
22302 "html": "<html><head></head><body><template><tr></tr><tr><td></td></tr></template></body></html>",
22303 "noQuirksBodyHtml": "<template><tr></tr><tr><td></td></tr></template>"
22304 }
22305 },
22306 {
22307 "data": "<body><template><td></td></tr><td></td></template>",
22308 "errors": [
22309 "no doctype",
22310 "bad </tr>"
22311 ],
22312 "document": {
22313 "props": {
22314 "tags": {
22315 "html": true,
22316 "head": true,
22317 "body": true,
22318 "template": true,
22319 "td": true
22320 },
22321 "template": true
22322 },
22323 "tree": [
22324 {
22325 "tag": "html",
22326 "children": [
22327 {
22328 "tag": "head"
22329 },
22330 {
22331 "tag": "body",
22332 "children": [
22333 {
22334 "tag": "template",
22335 "children": [
22336 {
22337 "content": true,
22338 "children": [
22339 {
22340 "tag": "td"
22341 },
22342 {
22343 "tag": "td"
22344 }
22345 ]
22346 }
22347 ]
22348 }
22349 ]
22350 }
22351 ]
22352 }
22353 ],
22354 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
22355 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
22356 }
22357 },
22358 {
22359 "data": "<body><template><td></td><tbody><td></td></template>",
22360 "errors": [
22361 "no doctype",
22362 "bad <tbody>"
22363 ],
22364 "document": {
22365 "props": {
22366 "tags": {
22367 "html": true,
22368 "head": true,
22369 "body": true,
22370 "template": true,
22371 "td": true
22372 },
22373 "template": true
22374 },
22375 "tree": [
22376 {
22377 "tag": "html",
22378 "children": [
22379 {
22380 "tag": "head"
22381 },
22382 {
22383 "tag": "body",
22384 "children": [
22385 {
22386 "tag": "template",
22387 "children": [
22388 {
22389 "content": true,
22390 "children": [
22391 {
22392 "tag": "td"
22393 },
22394 {
22395 "tag": "td"
22396 }
22397 ]
22398 }
22399 ]
22400 }
22401 ]
22402 }
22403 ]
22404 }
22405 ],
22406 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
22407 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
22408 }
22409 },
22410 {
22411 "data": "<body><template><td></td><caption></caption><td></td></template>",
22412 "errors": [
22413 " * (1,7) missing DOCTYPE",
22414 " * (1,35) unexpected start tag in table row",
22415 " * (1,45) unexpected end tag in table row"
22416 ],
22417 "document": {
22418 "props": {
22419 "tags": {
22420 "html": true,
22421 "head": true,
22422 "body": true,
22423 "template": true,
22424 "td": true
22425 },
22426 "template": true
22427 },
22428 "tree": [
22429 {
22430 "tag": "html",
22431 "children": [
22432 {
22433 "tag": "head"
22434 },
22435 {
22436 "tag": "body",
22437 "children": [
22438 {
22439 "tag": "template",
22440 "children": [
22441 {
22442 "content": true,
22443 "children": [
22444 {
22445 "tag": "td"
22446 },
22447 {
22448 "tag": "td"
22449 }
22450 ]
22451 }
22452 ]
22453 }
22454 ]
22455 }
22456 ]
22457 }
22458 ],
22459 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
22460 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
22461 }
22462 },
22463 {
22464 "data": "<body><template><td></td><colgroup></caption><td></td></template>",
22465 "errors": [
22466 " * (1,7) missing DOCTYPE",
22467 " * (1,36) unexpected start tag in table row",
22468 " * (1,46) unexpected end tag in table row"
22469 ],
22470 "document": {
22471 "props": {
22472 "tags": {
22473 "html": true,
22474 "head": true,
22475 "body": true,
22476 "template": true,
22477 "td": true
22478 },
22479 "template": true
22480 },
22481 "tree": [
22482 {
22483 "tag": "html",
22484 "children": [
22485 {
22486 "tag": "head"
22487 },
22488 {
22489 "tag": "body",
22490 "children": [
22491 {
22492 "tag": "template",
22493 "children": [
22494 {
22495 "content": true,
22496 "children": [
22497 {
22498 "tag": "td"
22499 },
22500 {
22501 "tag": "td"
22502 }
22503 ]
22504 }
22505 ]
22506 }
22507 ]
22508 }
22509 ]
22510 }
22511 ],
22512 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
22513 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
22514 }
22515 },
22516 {
22517 "data": "<body><template><td></td></table><td></td></template>",
22518 "errors": [
22519 "no doctype",
22520 "bad </table>"
22521 ],
22522 "document": {
22523 "props": {
22524 "tags": {
22525 "html": true,
22526 "head": true,
22527 "body": true,
22528 "template": true,
22529 "td": true
22530 },
22531 "template": true
22532 },
22533 "tree": [
22534 {
22535 "tag": "html",
22536 "children": [
22537 {
22538 "tag": "head"
22539 },
22540 {
22541 "tag": "body",
22542 "children": [
22543 {
22544 "tag": "template",
22545 "children": [
22546 {
22547 "content": true,
22548 "children": [
22549 {
22550 "tag": "td"
22551 },
22552 {
22553 "tag": "td"
22554 }
22555 ]
22556 }
22557 ]
22558 }
22559 ]
22560 }
22561 ]
22562 }
22563 ],
22564 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
22565 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
22566 }
22567 },
22568 {
22569 "data": "<body><template><tr></tr><tbody><tr></tr></template>",
22570 "errors": [
22571 "no doctype",
22572 "bad <tbody>"
22573 ],
22574 "document": {
22575 "props": {
22576 "tags": {
22577 "html": true,
22578 "head": true,
22579 "body": true,
22580 "template": true,
22581 "tr": true
22582 },
22583 "template": true
22584 },
22585 "tree": [
22586 {
22587 "tag": "html",
22588 "children": [
22589 {
22590 "tag": "head"
22591 },
22592 {
22593 "tag": "body",
22594 "children": [
22595 {
22596 "tag": "template",
22597 "children": [
22598 {
22599 "content": true,
22600 "children": [
22601 {
22602 "tag": "tr"
22603 },
22604 {
22605 "tag": "tr"
22606 }
22607 ]
22608 }
22609 ]
22610 }
22611 ]
22612 }
22613 ]
22614 }
22615 ],
22616 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
22617 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
22618 }
22619 },
22620 {
22621 "data": "<body><template><tr></tr><caption><tr></tr></template>",
22622 "errors": [
22623 "no doctype",
22624 "bad <caption>"
22625 ],
22626 "document": {
22627 "props": {
22628 "tags": {
22629 "html": true,
22630 "head": true,
22631 "body": true,
22632 "template": true,
22633 "tr": true
22634 },
22635 "template": true
22636 },
22637 "tree": [
22638 {
22639 "tag": "html",
22640 "children": [
22641 {
22642 "tag": "head"
22643 },
22644 {
22645 "tag": "body",
22646 "children": [
22647 {
22648 "tag": "template",
22649 "children": [
22650 {
22651 "content": true,
22652 "children": [
22653 {
22654 "tag": "tr"
22655 },
22656 {
22657 "tag": "tr"
22658 }
22659 ]
22660 }
22661 ]
22662 }
22663 ]
22664 }
22665 ]
22666 }
22667 ],
22668 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
22669 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
22670 }
22671 },
22672 {
22673 "data": "<body><template><tr></tr></table><tr></tr></template>",
22674 "errors": [
22675 "no doctype",
22676 "bad </table>"
22677 ],
22678 "document": {
22679 "props": {
22680 "tags": {
22681 "html": true,
22682 "head": true,
22683 "body": true,
22684 "template": true,
22685 "tr": true
22686 },
22687 "template": true
22688 },
22689 "tree": [
22690 {
22691 "tag": "html",
22692 "children": [
22693 {
22694 "tag": "head"
22695 },
22696 {
22697 "tag": "body",
22698 "children": [
22699 {
22700 "tag": "template",
22701 "children": [
22702 {
22703 "content": true,
22704 "children": [
22705 {
22706 "tag": "tr"
22707 },
22708 {
22709 "tag": "tr"
22710 }
22711 ]
22712 }
22713 ]
22714 }
22715 ]
22716 }
22717 ]
22718 }
22719 ],
22720 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
22721 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
22722 }
22723 },
22724 {
22725 "data": "<body><template><thead></thead><caption></caption><tbody></tbody></template>",
22726 "errors": [
22727 "no doctype"
22728 ],
22729 "document": {
22730 "props": {
22731 "tags": {
22732 "html": true,
22733 "head": true,
22734 "body": true,
22735 "template": true,
22736 "thead": true,
22737 "caption": true,
22738 "tbody": true
22739 },
22740 "template": true
22741 },
22742 "tree": [
22743 {
22744 "tag": "html",
22745 "children": [
22746 {
22747 "tag": "head"
22748 },
22749 {
22750 "tag": "body",
22751 "children": [
22752 {
22753 "tag": "template",
22754 "children": [
22755 {
22756 "content": true,
22757 "children": [
22758 {
22759 "tag": "thead"
22760 },
22761 {
22762 "tag": "caption"
22763 },
22764 {
22765 "tag": "tbody"
22766 }
22767 ]
22768 }
22769 ]
22770 }
22771 ]
22772 }
22773 ]
22774 }
22775 ],
22776 "html": "<html><head></head><body><template><thead></thead><caption></caption><tbody></tbody></template></body></html>",
22777 "noQuirksBodyHtml": "<template><thead></thead><caption></caption><tbody></tbody></template>"
22778 }
22779 },
22780 {
22781 "data": "<body><template><thead></thead></table><tbody></tbody></template></body>",
22782 "errors": [
22783 "no doctype",
22784 "bad </table>"
22785 ],
22786 "document": {
22787 "props": {
22788 "tags": {
22789 "html": true,
22790 "head": true,
22791 "body": true,
22792 "template": true,
22793 "thead": true,
22794 "tbody": true
22795 },
22796 "template": true
22797 },
22798 "tree": [
22799 {
22800 "tag": "html",
22801 "children": [
22802 {
22803 "tag": "head"
22804 },
22805 {
22806 "tag": "body",
22807 "children": [
22808 {
22809 "tag": "template",
22810 "children": [
22811 {
22812 "content": true,
22813 "children": [
22814 {
22815 "tag": "thead"
22816 },
22817 {
22818 "tag": "tbody"
22819 }
22820 ]
22821 }
22822 ]
22823 }
22824 ]
22825 }
22826 ]
22827 }
22828 ],
22829 "html": "<html><head></head><body><template><thead></thead><tbody></tbody></template></body></html>",
22830 "noQuirksBodyHtml": "<template><thead></thead><tbody></tbody></template>"
22831 }
22832 },
22833 {
22834 "data": "<body><template><div><tr></tr></div></template>",
22835 "errors": [
22836 "no doctype",
22837 "bad tr",
22838 "bad /tr"
22839 ],
22840 "document": {
22841 "props": {
22842 "tags": {
22843 "html": true,
22844 "head": true,
22845 "body": true,
22846 "template": true,
22847 "div": true
22848 },
22849 "template": true
22850 },
22851 "tree": [
22852 {
22853 "tag": "html",
22854 "children": [
22855 {
22856 "tag": "head"
22857 },
22858 {
22859 "tag": "body",
22860 "children": [
22861 {
22862 "tag": "template",
22863 "children": [
22864 {
22865 "content": true,
22866 "children": [
22867 {
22868 "tag": "div"
22869 }
22870 ]
22871 }
22872 ]
22873 }
22874 ]
22875 }
22876 ]
22877 }
22878 ],
22879 "html": "<html><head></head><body><template><div></div></template></body></html>",
22880 "noQuirksBodyHtml": "<template><div></div></template>"
22881 }
22882 },
22883 {
22884 "data": "<body><template><em>Hello</em></template>",
22885 "errors": [
22886 "no doctype"
22887 ],
22888 "document": {
22889 "props": {
22890 "tags": {
22891 "html": true,
22892 "head": true,
22893 "body": true,
22894 "template": true,
22895 "em": true
22896 },
22897 "template": true
22898 },
22899 "tree": [
22900 {
22901 "tag": "html",
22902 "children": [
22903 {
22904 "tag": "head"
22905 },
22906 {
22907 "tag": "body",
22908 "children": [
22909 {
22910 "tag": "template",
22911 "children": [
22912 {
22913 "content": true,
22914 "children": [
22915 {
22916 "tag": "em",
22917 "children": [
22918 {
22919 "text": "Hello"
22920 }
22921 ]
22922 }
22923 ]
22924 }
22925 ]
22926 }
22927 ]
22928 }
22929 ]
22930 }
22931 ],
22932 "html": "<html><head></head><body><template><em>Hello</em></template></body></html>",
22933 "noQuirksBodyHtml": "<template><em>Hello</em></template>"
22934 }
22935 },
22936 {
22937 "data": "<body><template><!--comment--></template>",
22938 "errors": [
22939 "no doctype"
22940 ],
22941 "document": {
22942 "props": {
22943 "tags": {
22944 "html": true,
22945 "head": true,
22946 "body": true,
22947 "template": true
22948 },
22949 "template": true,
22950 "comment": true
22951 },
22952 "tree": [
22953 {
22954 "tag": "html",
22955 "children": [
22956 {
22957 "tag": "head"
22958 },
22959 {
22960 "tag": "body",
22961 "children": [
22962 {
22963 "tag": "template",
22964 "children": [
22965 {
22966 "content": true,
22967 "children": [
22968 {
22969 "comment": "comment"
22970 }
22971 ]
22972 }
22973 ]
22974 }
22975 ]
22976 }
22977 ]
22978 }
22979 ],
22980 "html": "<html><head></head><body><template><!--comment--></template></body></html>",
22981 "noQuirksBodyHtml": "<template><!--comment--></template>"
22982 }
22983 },
22984 {
22985 "data": "<body><template><style></style><td></td></template>",
22986 "errors": [
22987 "no doctype"
22988 ],
22989 "document": {
22990 "props": {
22991 "tags": {
22992 "html": true,
22993 "head": true,
22994 "body": true,
22995 "template": true,
22996 "style": true,
22997 "td": true
22998 },
22999 "template": true
23000 },
23001 "tree": [
23002 {
23003 "tag": "html",
23004 "children": [
23005 {
23006 "tag": "head"
23007 },
23008 {
23009 "tag": "body",
23010 "children": [
23011 {
23012 "tag": "template",
23013 "children": [
23014 {
23015 "content": true,
23016 "children": [
23017 {
23018 "tag": "style"
23019 },
23020 {
23021 "tag": "td"
23022 }
23023 ]
23024 }
23025 ]
23026 }
23027 ]
23028 }
23029 ]
23030 }
23031 ],
23032 "html": "<html><head></head><body><template><style></style><td></td></template></body></html>",
23033 "noQuirksBodyHtml": "<template><style></style><td></td></template>"
23034 }
23035 },
23036 {
23037 "data": "<body><template><meta><td></td></template>",
23038 "errors": [
23039 "no doctype"
23040 ],
23041 "document": {
23042 "props": {
23043 "tags": {
23044 "html": true,
23045 "head": true,
23046 "body": true,
23047 "template": true,
23048 "meta": true,
23049 "td": true
23050 },
23051 "template": true
23052 },
23053 "tree": [
23054 {
23055 "tag": "html",
23056 "children": [
23057 {
23058 "tag": "head"
23059 },
23060 {
23061 "tag": "body",
23062 "children": [
23063 {
23064 "tag": "template",
23065 "children": [
23066 {
23067 "content": true,
23068 "children": [
23069 {
23070 "tag": "meta"
23071 },
23072 {
23073 "tag": "td"
23074 }
23075 ]
23076 }
23077 ]
23078 }
23079 ]
23080 }
23081 ]
23082 }
23083 ],
23084 "html": "<html><head></head><body><template><meta><td></td></template></body></html>",
23085 "noQuirksBodyHtml": "<template><meta><td></td></template>"
23086 }
23087 },
23088 {
23089 "data": "<body><template><link><td></td></template>",
23090 "errors": [
23091 "no doctype"
23092 ],
23093 "document": {
23094 "props": {
23095 "tags": {
23096 "html": true,
23097 "head": true,
23098 "body": true,
23099 "template": true,
23100 "link": true,
23101 "td": true
23102 },
23103 "template": true
23104 },
23105 "tree": [
23106 {
23107 "tag": "html",
23108 "children": [
23109 {
23110 "tag": "head"
23111 },
23112 {
23113 "tag": "body",
23114 "children": [
23115 {
23116 "tag": "template",
23117 "children": [
23118 {
23119 "content": true,
23120 "children": [
23121 {
23122 "tag": "link"
23123 },
23124 {
23125 "tag": "td"
23126 }
23127 ]
23128 }
23129 ]
23130 }
23131 ]
23132 }
23133 ]
23134 }
23135 ],
23136 "html": "<html><head></head><body><template><link><td></td></template></body></html>",
23137 "noQuirksBodyHtml": "<template><link><td></td></template>"
23138 }
23139 },
23140 {
23141 "data": "<body><template><template><tr></tr></template><td></td></template>",
23142 "errors": [
23143 "no doctype"
23144 ],
23145 "document": {
23146 "props": {
23147 "tags": {
23148 "html": true,
23149 "head": true,
23150 "body": true,
23151 "template": true,
23152 "tr": true,
23153 "td": true
23154 },
23155 "template": true
23156 },
23157 "tree": [
23158 {
23159 "tag": "html",
23160 "children": [
23161 {
23162 "tag": "head"
23163 },
23164 {
23165 "tag": "body",
23166 "children": [
23167 {
23168 "tag": "template",
23169 "children": [
23170 {
23171 "content": true,
23172 "children": [
23173 {
23174 "tag": "template",
23175 "children": [
23176 {
23177 "content": true,
23178 "children": [
23179 {
23180 "tag": "tr"
23181 }
23182 ]
23183 }
23184 ]
23185 },
23186 {
23187 "tag": "td"
23188 }
23189 ]
23190 }
23191 ]
23192 }
23193 ]
23194 }
23195 ]
23196 }
23197 ],
23198 "html": "<html><head></head><body><template><template><tr></tr></template><td></td></template></body></html>",
23199 "noQuirksBodyHtml": "<template><template><tr></tr></template><td></td></template>"
23200 }
23201 },
23202 {
23203 "data": "<body><table><colgroup><template><col></col></template></colgroup></table></body>",
23204 "errors": [
23205 "no doctype",
23206 "bad /col"
23207 ],
23208 "document": {
23209 "props": {
23210 "tags": {
23211 "html": true,
23212 "head": true,
23213 "body": true,
23214 "table": true,
23215 "colgroup": true,
23216 "template": true,
23217 "col": true
23218 },
23219 "template": true
23220 },
23221 "tree": [
23222 {
23223 "tag": "html",
23224 "children": [
23225 {
23226 "tag": "head"
23227 },
23228 {
23229 "tag": "body",
23230 "children": [
23231 {
23232 "tag": "table",
23233 "children": [
23234 {
23235 "tag": "colgroup",
23236 "children": [
23237 {
23238 "tag": "template",
23239 "children": [
23240 {
23241 "content": true,
23242 "children": [
23243 {
23244 "tag": "col"
23245 }
23246 ]
23247 }
23248 ]
23249 }
23250 ]
23251 }
23252 ]
23253 }
23254 ]
23255 }
23256 ]
23257 }
23258 ],
23259 "html": "<html><head></head><body><table><colgroup><template><col></template></colgroup></table></body></html>",
23260 "noQuirksBodyHtml": "<table><colgroup><template><col></template></colgroup></table>"
23261 }
23262 },
23263 {
23264 "data": "<body a=b><template><div></div><body c=d><div></div></body></template></body>",
23265 "errors": [
23266 "no doctype",
23267 "bad <body>",
23268 "bad </body>"
23269 ],
23270 "document": {
23271 "props": {
23272 "tags": {
23273 "html": true,
23274 "head": true,
23275 "body": true,
23276 "template": true,
23277 "div": true
23278 },
23279 "template": true
23280 },
23281 "tree": [
23282 {
23283 "tag": "html",
23284 "children": [
23285 {
23286 "tag": "head"
23287 },
23288 {
23289 "tag": "body",
23290 "attrs": [
23291 {
23292 "name": "a",
23293 "value": "b"
23294 }
23295 ],
23296 "children": [
23297 {
23298 "tag": "template",
23299 "children": [
23300 {
23301 "content": true,
23302 "children": [
23303 {
23304 "tag": "div"
23305 },
23306 {
23307 "tag": "div"
23308 }
23309 ]
23310 }
23311 ]
23312 }
23313 ]
23314 }
23315 ]
23316 }
23317 ],
23318 "html": "<html><head></head><body a=\"b\"><template><div></div><div></div></template></body></html>",
23319 "noQuirksBodyHtml": "<template><div></div><div></div></template>"
23320 }
23321 },
23322 {
23323 "data": "<html a=b><template><div><html b=c><span></template>",
23324 "errors": [
23325 "no doctype",
23326 "bad <html>",
23327 "missing end tags in template"
23328 ],
23329 "document": {
23330 "props": {
23331 "tags": {
23332 "html": true,
23333 "head": true,
23334 "template": true,
23335 "div": true,
23336 "span": true,
23337 "body": true
23338 },
23339 "template": true
23340 },
23341 "tree": [
23342 {
23343 "tag": "html",
23344 "attrs": [
23345 {
23346 "name": "a",
23347 "value": "b"
23348 }
23349 ],
23350 "children": [
23351 {
23352 "tag": "head",
23353 "children": [
23354 {
23355 "tag": "template",
23356 "children": [
23357 {
23358 "content": true,
23359 "children": [
23360 {
23361 "tag": "div",
23362 "children": [
23363 {
23364 "tag": "span"
23365 }
23366 ]
23367 }
23368 ]
23369 }
23370 ]
23371 }
23372 ]
23373 },
23374 {
23375 "tag": "body"
23376 }
23377 ]
23378 }
23379 ],
23380 "html": "<html a=\"b\"><head><template><div><span></span></div></template></head><body></body></html>",
23381 "noQuirksBodyHtml": "<template><div><span></span></div></template>"
23382 }
23383 },
23384 {
23385 "data": "<html a=b><template><col></col><html b=c><col></col></template>",
23386 "errors": [
23387 "no doctype",
23388 "bad /col",
23389 "bad html",
23390 "bad /col"
23391 ],
23392 "document": {
23393 "props": {
23394 "tags": {
23395 "html": true,
23396 "head": true,
23397 "template": true,
23398 "col": true,
23399 "body": true
23400 },
23401 "template": true
23402 },
23403 "tree": [
23404 {
23405 "tag": "html",
23406 "attrs": [
23407 {
23408 "name": "a",
23409 "value": "b"
23410 }
23411 ],
23412 "children": [
23413 {
23414 "tag": "head",
23415 "children": [
23416 {
23417 "tag": "template",
23418 "children": [
23419 {
23420 "content": true,
23421 "children": [
23422 {
23423 "tag": "col"
23424 },
23425 {
23426 "tag": "col"
23427 }
23428 ]
23429 }
23430 ]
23431 }
23432 ]
23433 },
23434 {
23435 "tag": "body"
23436 }
23437 ]
23438 }
23439 ],
23440 "html": "<html a=\"b\"><head><template><col><col></template></head><body></body></html>",
23441 "noQuirksBodyHtml": "<template><col><col></template>"
23442 }
23443 },
23444 {
23445 "data": "<html a=b><template><frame></frame><html b=c><frame></frame></template>",
23446 "errors": [
23447 "no doctype",
23448 "bad frame",
23449 "bad /frame",
23450 "bad html",
23451 "bad frame",
23452 "bad /frame"
23453 ],
23454 "document": {
23455 "props": {
23456 "tags": {
23457 "html": true,
23458 "head": true,
23459 "template": true,
23460 "body": true
23461 },
23462 "template": true
23463 },
23464 "tree": [
23465 {
23466 "tag": "html",
23467 "attrs": [
23468 {
23469 "name": "a",
23470 "value": "b"
23471 }
23472 ],
23473 "children": [
23474 {
23475 "tag": "head",
23476 "children": [
23477 {
23478 "tag": "template",
23479 "children": [
23480 {
23481 "content": true
23482 }
23483 ]
23484 }
23485 ]
23486 },
23487 {
23488 "tag": "body"
23489 }
23490 ]
23491 }
23492 ],
23493 "html": "<html a=\"b\"><head><template></template></head><body></body></html>",
23494 "noQuirksBodyHtml": "<template></template>"
23495 }
23496 },
23497 {
23498 "data": "<body><template><tr></tr><template></template><td></td></template>",
23499 "errors": [
23500 "no doctype",
23501 "unexpected <td>"
23502 ],
23503 "document": {
23504 "props": {
23505 "tags": {
23506 "html": true,
23507 "head": true,
23508 "body": true,
23509 "template": true,
23510 "tr": true,
23511 "td": true
23512 },
23513 "template": true
23514 },
23515 "tree": [
23516 {
23517 "tag": "html",
23518 "children": [
23519 {
23520 "tag": "head"
23521 },
23522 {
23523 "tag": "body",
23524 "children": [
23525 {
23526 "tag": "template",
23527 "children": [
23528 {
23529 "content": true,
23530 "children": [
23531 {
23532 "tag": "tr"
23533 },
23534 {
23535 "tag": "template",
23536 "children": [
23537 {
23538 "content": true
23539 }
23540 ]
23541 },
23542 {
23543 "tag": "tr",
23544 "children": [
23545 {
23546 "tag": "td"
23547 }
23548 ]
23549 }
23550 ]
23551 }
23552 ]
23553 }
23554 ]
23555 }
23556 ]
23557 }
23558 ],
23559 "html": "<html><head></head><body><template><tr></tr><template></template><tr><td></td></tr></template></body></html>",
23560 "noQuirksBodyHtml": "<template><tr></tr><template></template><tr><td></td></tr></template>"
23561 }
23562 },
23563 {
23564 "data": "<body><template><thead></thead><template><tr></tr></template><tr></tr><tfoot></tfoot></template>",
23565 "errors": [
23566 "no doctype"
23567 ],
23568 "document": {
23569 "props": {
23570 "tags": {
23571 "html": true,
23572 "head": true,
23573 "body": true,
23574 "template": true,
23575 "thead": true,
23576 "tr": true,
23577 "tbody": true,
23578 "tfoot": true
23579 },
23580 "template": true
23581 },
23582 "tree": [
23583 {
23584 "tag": "html",
23585 "children": [
23586 {
23587 "tag": "head"
23588 },
23589 {
23590 "tag": "body",
23591 "children": [
23592 {
23593 "tag": "template",
23594 "children": [
23595 {
23596 "content": true,
23597 "children": [
23598 {
23599 "tag": "thead"
23600 },
23601 {
23602 "tag": "template",
23603 "children": [
23604 {
23605 "content": true,
23606 "children": [
23607 {
23608 "tag": "tr"
23609 }
23610 ]
23611 }
23612 ]
23613 },
23614 {
23615 "tag": "tbody",
23616 "children": [
23617 {
23618 "tag": "tr"
23619 }
23620 ]
23621 },
23622 {
23623 "tag": "tfoot"
23624 }
23625 ]
23626 }
23627 ]
23628 }
23629 ]
23630 }
23631 ]
23632 }
23633 ],
23634 "html": "<html><head></head><body><template><thead></thead><template><tr></tr></template><tbody><tr></tr></tbody><tfoot></tfoot></template></body></html>",
23635 "noQuirksBodyHtml": "<template><thead></thead><template><tr></tr></template><tbody><tr></tr></tbody><tfoot></tfoot></template>"
23636 }
23637 },
23638 {
23639 "data": "<body><template><template><b><template></template></template>text</template>",
23640 "errors": [
23641 "no doctype",
23642 "missing </b>"
23643 ],
23644 "document": {
23645 "props": {
23646 "tags": {
23647 "html": true,
23648 "head": true,
23649 "body": true,
23650 "template": true,
23651 "b": true
23652 },
23653 "template": true
23654 },
23655 "tree": [
23656 {
23657 "tag": "html",
23658 "children": [
23659 {
23660 "tag": "head"
23661 },
23662 {
23663 "tag": "body",
23664 "children": [
23665 {
23666 "tag": "template",
23667 "children": [
23668 {
23669 "content": true,
23670 "children": [
23671 {
23672 "tag": "template",
23673 "children": [
23674 {
23675 "content": true,
23676 "children": [
23677 {
23678 "tag": "b",
23679 "children": [
23680 {
23681 "tag": "template",
23682 "children": [
23683 {
23684 "content": true
23685 }
23686 ]
23687 }
23688 ]
23689 }
23690 ]
23691 }
23692 ]
23693 },
23694 {
23695 "text": "text"
23696 }
23697 ]
23698 }
23699 ]
23700 }
23701 ]
23702 }
23703 ]
23704 }
23705 ],
23706 "html": "<html><head></head><body><template><template><b><template></template></b></template>text</template></body></html>",
23707 "noQuirksBodyHtml": "<template><template><b><template></template></b></template>text</template>"
23708 }
23709 },
23710 {
23711 "data": "<body><template><col><colgroup>",
23712 "errors": [
23713 "no doctype",
23714 "bad colgroup",
23715 "eof in template"
23716 ],
23717 "document": {
23718 "props": {
23719 "tags": {
23720 "html": true,
23721 "head": true,
23722 "body": true,
23723 "template": true,
23724 "col": true
23725 },
23726 "template": true
23727 },
23728 "tree": [
23729 {
23730 "tag": "html",
23731 "children": [
23732 {
23733 "tag": "head"
23734 },
23735 {
23736 "tag": "body",
23737 "children": [
23738 {
23739 "tag": "template",
23740 "children": [
23741 {
23742 "content": true,
23743 "children": [
23744 {
23745 "tag": "col"
23746 }
23747 ]
23748 }
23749 ]
23750 }
23751 ]
23752 }
23753 ]
23754 }
23755 ],
23756 "html": "<html><head></head><body><template><col></template></body></html>",
23757 "noQuirksBodyHtml": "<template><col></template>"
23758 }
23759 },
23760 {
23761 "data": "<body><template><col></colgroup>",
23762 "errors": [
23763 "no doctype",
23764 "bogus /colgroup",
23765 "eof in template"
23766 ],
23767 "document": {
23768 "props": {
23769 "tags": {
23770 "html": true,
23771 "head": true,
23772 "body": true,
23773 "template": true,
23774 "col": true
23775 },
23776 "template": true
23777 },
23778 "tree": [
23779 {
23780 "tag": "html",
23781 "children": [
23782 {
23783 "tag": "head"
23784 },
23785 {
23786 "tag": "body",
23787 "children": [
23788 {
23789 "tag": "template",
23790 "children": [
23791 {
23792 "content": true,
23793 "children": [
23794 {
23795 "tag": "col"
23796 }
23797 ]
23798 }
23799 ]
23800 }
23801 ]
23802 }
23803 ]
23804 }
23805 ],
23806 "html": "<html><head></head><body><template><col></template></body></html>",
23807 "noQuirksBodyHtml": "<template><col></template>"
23808 }
23809 },
23810 {
23811 "data": "<body><template><col><colgroup></template></body>",
23812 "errors": [
23813 "no doctype",
23814 "bad colgroup"
23815 ],
23816 "document": {
23817 "props": {
23818 "tags": {
23819 "html": true,
23820 "head": true,
23821 "body": true,
23822 "template": true,
23823 "col": true
23824 },
23825 "template": true
23826 },
23827 "tree": [
23828 {
23829 "tag": "html",
23830 "children": [
23831 {
23832 "tag": "head"
23833 },
23834 {
23835 "tag": "body",
23836 "children": [
23837 {
23838 "tag": "template",
23839 "children": [
23840 {
23841 "content": true,
23842 "children": [
23843 {
23844 "tag": "col"
23845 }
23846 ]
23847 }
23848 ]
23849 }
23850 ]
23851 }
23852 ]
23853 }
23854 ],
23855 "html": "<html><head></head><body><template><col></template></body></html>",
23856 "noQuirksBodyHtml": "<template><col></template>"
23857 }
23858 },
23859 {
23860 "data": "<body><template><col><div>",
23861 "errors": [
23862 " * (1,7) missing DOCTYPE",
23863 " * (1,27) unexpected token",
23864 " * (1,27) unexpected end of file in template"
23865 ],
23866 "document": {
23867 "props": {
23868 "tags": {
23869 "html": true,
23870 "head": true,
23871 "body": true,
23872 "template": true,
23873 "col": true
23874 },
23875 "template": true
23876 },
23877 "tree": [
23878 {
23879 "tag": "html",
23880 "children": [
23881 {
23882 "tag": "head"
23883 },
23884 {
23885 "tag": "body",
23886 "children": [
23887 {
23888 "tag": "template",
23889 "children": [
23890 {
23891 "content": true,
23892 "children": [
23893 {
23894 "tag": "col"
23895 }
23896 ]
23897 }
23898 ]
23899 }
23900 ]
23901 }
23902 ]
23903 }
23904 ],
23905 "html": "<html><head></head><body><template><col></template></body></html>",
23906 "noQuirksBodyHtml": "<template><col></template>"
23907 }
23908 },
23909 {
23910 "data": "<body><template><col></div>",
23911 "errors": [
23912 "no doctype",
23913 "bad /div",
23914 "eof in template"
23915 ],
23916 "document": {
23917 "props": {
23918 "tags": {
23919 "html": true,
23920 "head": true,
23921 "body": true,
23922 "template": true,
23923 "col": true
23924 },
23925 "template": true
23926 },
23927 "tree": [
23928 {
23929 "tag": "html",
23930 "children": [
23931 {
23932 "tag": "head"
23933 },
23934 {
23935 "tag": "body",
23936 "children": [
23937 {
23938 "tag": "template",
23939 "children": [
23940 {
23941 "content": true,
23942 "children": [
23943 {
23944 "tag": "col"
23945 }
23946 ]
23947 }
23948 ]
23949 }
23950 ]
23951 }
23952 ]
23953 }
23954 ],
23955 "html": "<html><head></head><body><template><col></template></body></html>",
23956 "noQuirksBodyHtml": "<template><col></template>"
23957 }
23958 },
23959 {
23960 "data": "<body><template><col>Hello",
23961 "errors": [
23962 "no doctype",
23963 "unexpected text",
23964 "eof in template"
23965 ],
23966 "document": {
23967 "props": {
23968 "tags": {
23969 "html": true,
23970 "head": true,
23971 "body": true,
23972 "template": true,
23973 "col": true
23974 },
23975 "template": true
23976 },
23977 "tree": [
23978 {
23979 "tag": "html",
23980 "children": [
23981 {
23982 "tag": "head"
23983 },
23984 {
23985 "tag": "body",
23986 "children": [
23987 {
23988 "tag": "template",
23989 "children": [
23990 {
23991 "content": true,
23992 "children": [
23993 {
23994 "tag": "col"
23995 }
23996 ]
23997 }
23998 ]
23999 }
24000 ]
24001 }
24002 ]
24003 }
24004 ],
24005 "html": "<html><head></head><body><template><col></template></body></html>",
24006 "noQuirksBodyHtml": "<template><col></template>"
24007 }
24008 },
24009 {
24010 "data": "<body><template><i><menu>Foo</i>",
24011 "errors": [
24012 "no doctype",
24013 "mising /menu",
24014 "eof in template"
24015 ],
24016 "document": {
24017 "props": {
24018 "tags": {
24019 "html": true,
24020 "head": true,
24021 "body": true,
24022 "template": true,
24023 "i": true,
24024 "menu": true
24025 },
24026 "template": true
24027 },
24028 "tree": [
24029 {
24030 "tag": "html",
24031 "children": [
24032 {
24033 "tag": "head"
24034 },
24035 {
24036 "tag": "body",
24037 "children": [
24038 {
24039 "tag": "template",
24040 "children": [
24041 {
24042 "content": true,
24043 "children": [
24044 {
24045 "tag": "i"
24046 },
24047 {
24048 "tag": "menu",
24049 "children": [
24050 {
24051 "tag": "i",
24052 "children": [
24053 {
24054 "text": "Foo"
24055 }
24056 ]
24057 }
24058 ]
24059 }
24060 ]
24061 }
24062 ]
24063 }
24064 ]
24065 }
24066 ]
24067 }
24068 ],
24069 "html": "<html><head></head><body><template><i></i><menu><i>Foo</i></menu></template></body></html>",
24070 "noQuirksBodyHtml": "<template><i></i><menu><i>Foo</i></menu></template>"
24071 }
24072 },
24073 {
24074 "data": "<body><template></div><div>Foo</div><template></template><tr></tr>",
24075 "errors": [
24076 "no doctype",
24077 "bogus /div",
24078 "bogus tr",
24079 "bogus /tr",
24080 "eof in template"
24081 ],
24082 "document": {
24083 "props": {
24084 "tags": {
24085 "html": true,
24086 "head": true,
24087 "body": true,
24088 "template": true,
24089 "div": true
24090 },
24091 "template": true
24092 },
24093 "tree": [
24094 {
24095 "tag": "html",
24096 "children": [
24097 {
24098 "tag": "head"
24099 },
24100 {
24101 "tag": "body",
24102 "children": [
24103 {
24104 "tag": "template",
24105 "children": [
24106 {
24107 "content": true,
24108 "children": [
24109 {
24110 "tag": "div",
24111 "children": [
24112 {
24113 "text": "Foo"
24114 }
24115 ]
24116 },
24117 {
24118 "tag": "template",
24119 "children": [
24120 {
24121 "content": true
24122 }
24123 ]
24124 }
24125 ]
24126 }
24127 ]
24128 }
24129 ]
24130 }
24131 ]
24132 }
24133 ],
24134 "html": "<html><head></head><body><template><div>Foo</div><template></template></template></body></html>",
24135 "noQuirksBodyHtml": "<template><div>Foo</div><template></template></template>"
24136 }
24137 },
24138 {
24139 "data": "<body><div><template></div><tr><td>Foo</td></tr></template>",
24140 "errors": [
24141 " * (1,7) missing DOCTYPE",
24142 " * (1,28) unexpected token in template",
24143 " * (1,60) unexpected end of file"
24144 ],
24145 "document": {
24146 "props": {
24147 "tags": {
24148 "html": true,
24149 "head": true,
24150 "body": true,
24151 "div": true,
24152 "template": true,
24153 "tr": true,
24154 "td": true
24155 },
24156 "template": true
24157 },
24158 "tree": [
24159 {
24160 "tag": "html",
24161 "children": [
24162 {
24163 "tag": "head"
24164 },
24165 {
24166 "tag": "body",
24167 "children": [
24168 {
24169 "tag": "div",
24170 "children": [
24171 {
24172 "tag": "template",
24173 "children": [
24174 {
24175 "content": true,
24176 "children": [
24177 {
24178 "tag": "tr",
24179 "children": [
24180 {
24181 "tag": "td",
24182 "children": [
24183 {
24184 "text": "Foo"
24185 }
24186 ]
24187 }
24188 ]
24189 }
24190 ]
24191 }
24192 ]
24193 }
24194 ]
24195 }
24196 ]
24197 }
24198 ]
24199 }
24200 ],
24201 "html": "<html><head></head><body><div><template><tr><td>Foo</td></tr></template></div></body></html>",
24202 "noQuirksBodyHtml": "<div><template><tr><td>Foo</td></tr></template></div>"
24203 }
24204 },
24205 {
24206 "data": "<template></figcaption><sub><table></table>",
24207 "errors": [
24208 "no doctype",
24209 "bad /figcaption",
24210 "eof in template"
24211 ],
24212 "document": {
24213 "props": {
24214 "tags": {
24215 "html": true,
24216 "head": true,
24217 "template": true,
24218 "sub": true,
24219 "table": true,
24220 "body": true
24221 },
24222 "template": true
24223 },
24224 "tree": [
24225 {
24226 "tag": "html",
24227 "children": [
24228 {
24229 "tag": "head",
24230 "children": [
24231 {
24232 "tag": "template",
24233 "children": [
24234 {
24235 "content": true,
24236 "children": [
24237 {
24238 "tag": "sub",
24239 "children": [
24240 {
24241 "tag": "table"
24242 }
24243 ]
24244 }
24245 ]
24246 }
24247 ]
24248 }
24249 ]
24250 },
24251 {
24252 "tag": "body"
24253 }
24254 ]
24255 }
24256 ],
24257 "html": "<html><head><template><sub><table></table></sub></template></head><body></body></html>",
24258 "noQuirksBodyHtml": "<template><sub><table></table></sub></template>"
24259 }
24260 },
24261 {
24262 "data": "<template><template>",
24263 "errors": [
24264 "no doctype",
24265 "eof in template",
24266 "eof in template"
24267 ],
24268 "document": {
24269 "props": {
24270 "tags": {
24271 "html": true,
24272 "head": true,
24273 "template": true,
24274 "body": true
24275 },
24276 "template": true
24277 },
24278 "tree": [
24279 {
24280 "tag": "html",
24281 "children": [
24282 {
24283 "tag": "head",
24284 "children": [
24285 {
24286 "tag": "template",
24287 "children": [
24288 {
24289 "content": true,
24290 "children": [
24291 {
24292 "tag": "template",
24293 "children": [
24294 {
24295 "content": true
24296 }
24297 ]
24298 }
24299 ]
24300 }
24301 ]
24302 }
24303 ]
24304 },
24305 {
24306 "tag": "body"
24307 }
24308 ]
24309 }
24310 ],
24311 "html": "<html><head><template><template></template></template></head><body></body></html>",
24312 "noQuirksBodyHtml": "<template><template></template></template>"
24313 }
24314 },
24315 {
24316 "data": "<template><div>",
24317 "errors": [
24318 "no doctype",
24319 "eof in template"
24320 ],
24321 "document": {
24322 "props": {
24323 "tags": {
24324 "html": true,
24325 "head": true,
24326 "template": true,
24327 "div": true,
24328 "body": true
24329 },
24330 "template": true
24331 },
24332 "tree": [
24333 {
24334 "tag": "html",
24335 "children": [
24336 {
24337 "tag": "head",
24338 "children": [
24339 {
24340 "tag": "template",
24341 "children": [
24342 {
24343 "content": true,
24344 "children": [
24345 {
24346 "tag": "div"
24347 }
24348 ]
24349 }
24350 ]
24351 }
24352 ]
24353 },
24354 {
24355 "tag": "body"
24356 }
24357 ]
24358 }
24359 ],
24360 "html": "<html><head><template><div></div></template></head><body></body></html>",
24361 "noQuirksBodyHtml": "<template><div></div></template>"
24362 }
24363 },
24364 {
24365 "data": "<template><template><div>",
24366 "errors": [
24367 "no doctype",
24368 "eof in template",
24369 "eof in template"
24370 ],
24371 "document": {
24372 "props": {
24373 "tags": {
24374 "html": true,
24375 "head": true,
24376 "template": true,
24377 "div": true,
24378 "body": true
24379 },
24380 "template": true
24381 },
24382 "tree": [
24383 {
24384 "tag": "html",
24385 "children": [
24386 {
24387 "tag": "head",
24388 "children": [
24389 {
24390 "tag": "template",
24391 "children": [
24392 {
24393 "content": true,
24394 "children": [
24395 {
24396 "tag": "template",
24397 "children": [
24398 {
24399 "content": true,
24400 "children": [
24401 {
24402 "tag": "div"
24403 }
24404 ]
24405 }
24406 ]
24407 }
24408 ]
24409 }
24410 ]
24411 }
24412 ]
24413 },
24414 {
24415 "tag": "body"
24416 }
24417 ]
24418 }
24419 ],
24420 "html": "<html><head><template><template><div></div></template></template></head><body></body></html>",
24421 "noQuirksBodyHtml": "<template><template><div></div></template></template>"
24422 }
24423 },
24424 {
24425 "data": "<template><template><table>",
24426 "errors": [
24427 "no doctype",
24428 "eof in template",
24429 "eof in template"
24430 ],
24431 "document": {
24432 "props": {
24433 "tags": {
24434 "html": true,
24435 "head": true,
24436 "template": true,
24437 "table": true,
24438 "body": true
24439 },
24440 "template": true
24441 },
24442 "tree": [
24443 {
24444 "tag": "html",
24445 "children": [
24446 {
24447 "tag": "head",
24448 "children": [
24449 {
24450 "tag": "template",
24451 "children": [
24452 {
24453 "content": true,
24454 "children": [
24455 {
24456 "tag": "template",
24457 "children": [
24458 {
24459 "content": true,
24460 "children": [
24461 {
24462 "tag": "table"
24463 }
24464 ]
24465 }
24466 ]
24467 }
24468 ]
24469 }
24470 ]
24471 }
24472 ]
24473 },
24474 {
24475 "tag": "body"
24476 }
24477 ]
24478 }
24479 ],
24480 "html": "<html><head><template><template><table></table></template></template></head><body></body></html>",
24481 "noQuirksBodyHtml": "<template><template><table></table></template></template>"
24482 }
24483 },
24484 {
24485 "data": "<template><template><tbody>",
24486 "errors": [
24487 "no doctype",
24488 "eof in template",
24489 "eof in template"
24490 ],
24491 "document": {
24492 "props": {
24493 "tags": {
24494 "html": true,
24495 "head": true,
24496 "template": true,
24497 "tbody": true,
24498 "body": true
24499 },
24500 "template": true
24501 },
24502 "tree": [
24503 {
24504 "tag": "html",
24505 "children": [
24506 {
24507 "tag": "head",
24508 "children": [
24509 {
24510 "tag": "template",
24511 "children": [
24512 {
24513 "content": true,
24514 "children": [
24515 {
24516 "tag": "template",
24517 "children": [
24518 {
24519 "content": true,
24520 "children": [
24521 {
24522 "tag": "tbody"
24523 }
24524 ]
24525 }
24526 ]
24527 }
24528 ]
24529 }
24530 ]
24531 }
24532 ]
24533 },
24534 {
24535 "tag": "body"
24536 }
24537 ]
24538 }
24539 ],
24540 "html": "<html><head><template><template><tbody></tbody></template></template></head><body></body></html>",
24541 "noQuirksBodyHtml": "<template><template><tbody></tbody></template></template>"
24542 }
24543 },
24544 {
24545 "data": "<template><template><tr>",
24546 "errors": [
24547 "no doctype",
24548 "eof in template",
24549 "eof in template"
24550 ],
24551 "document": {
24552 "props": {
24553 "tags": {
24554 "html": true,
24555 "head": true,
24556 "template": true,
24557 "tr": true,
24558 "body": true
24559 },
24560 "template": true
24561 },
24562 "tree": [
24563 {
24564 "tag": "html",
24565 "children": [
24566 {
24567 "tag": "head",
24568 "children": [
24569 {
24570 "tag": "template",
24571 "children": [
24572 {
24573 "content": true,
24574 "children": [
24575 {
24576 "tag": "template",
24577 "children": [
24578 {
24579 "content": true,
24580 "children": [
24581 {
24582 "tag": "tr"
24583 }
24584 ]
24585 }
24586 ]
24587 }
24588 ]
24589 }
24590 ]
24591 }
24592 ]
24593 },
24594 {
24595 "tag": "body"
24596 }
24597 ]
24598 }
24599 ],
24600 "html": "<html><head><template><template><tr></tr></template></template></head><body></body></html>",
24601 "noQuirksBodyHtml": "<template><template><tr></tr></template></template>"
24602 }
24603 },
24604 {
24605 "data": "<template><template><td>",
24606 "errors": [
24607 "no doctype",
24608 "eof in template",
24609 "eof in template"
24610 ],
24611 "document": {
24612 "props": {
24613 "tags": {
24614 "html": true,
24615 "head": true,
24616 "template": true,
24617 "td": true,
24618 "body": true
24619 },
24620 "template": true
24621 },
24622 "tree": [
24623 {
24624 "tag": "html",
24625 "children": [
24626 {
24627 "tag": "head",
24628 "children": [
24629 {
24630 "tag": "template",
24631 "children": [
24632 {
24633 "content": true,
24634 "children": [
24635 {
24636 "tag": "template",
24637 "children": [
24638 {
24639 "content": true,
24640 "children": [
24641 {
24642 "tag": "td"
24643 }
24644 ]
24645 }
24646 ]
24647 }
24648 ]
24649 }
24650 ]
24651 }
24652 ]
24653 },
24654 {
24655 "tag": "body"
24656 }
24657 ]
24658 }
24659 ],
24660 "html": "<html><head><template><template><td></td></template></template></head><body></body></html>",
24661 "noQuirksBodyHtml": "<template><template><td></td></template></template>"
24662 }
24663 },
24664 {
24665 "data": "<template><template><caption>",
24666 "errors": [
24667 "no doctype",
24668 "eof in template",
24669 "eof in template"
24670 ],
24671 "document": {
24672 "props": {
24673 "tags": {
24674 "html": true,
24675 "head": true,
24676 "template": true,
24677 "caption": true,
24678 "body": true
24679 },
24680 "template": true
24681 },
24682 "tree": [
24683 {
24684 "tag": "html",
24685 "children": [
24686 {
24687 "tag": "head",
24688 "children": [
24689 {
24690 "tag": "template",
24691 "children": [
24692 {
24693 "content": true,
24694 "children": [
24695 {
24696 "tag": "template",
24697 "children": [
24698 {
24699 "content": true,
24700 "children": [
24701 {
24702 "tag": "caption"
24703 }
24704 ]
24705 }
24706 ]
24707 }
24708 ]
24709 }
24710 ]
24711 }
24712 ]
24713 },
24714 {
24715 "tag": "body"
24716 }
24717 ]
24718 }
24719 ],
24720 "html": "<html><head><template><template><caption></caption></template></template></head><body></body></html>",
24721 "noQuirksBodyHtml": "<template><template><caption></caption></template></template>"
24722 }
24723 },
24724 {
24725 "data": "<template><template><colgroup>",
24726 "errors": [
24727 "no doctype",
24728 "eof in template",
24729 "eof in template"
24730 ],
24731 "document": {
24732 "props": {
24733 "tags": {
24734 "html": true,
24735 "head": true,
24736 "template": true,
24737 "colgroup": true,
24738 "body": true
24739 },
24740 "template": true
24741 },
24742 "tree": [
24743 {
24744 "tag": "html",
24745 "children": [
24746 {
24747 "tag": "head",
24748 "children": [
24749 {
24750 "tag": "template",
24751 "children": [
24752 {
24753 "content": true,
24754 "children": [
24755 {
24756 "tag": "template",
24757 "children": [
24758 {
24759 "content": true,
24760 "children": [
24761 {
24762 "tag": "colgroup"
24763 }
24764 ]
24765 }
24766 ]
24767 }
24768 ]
24769 }
24770 ]
24771 }
24772 ]
24773 },
24774 {
24775 "tag": "body"
24776 }
24777 ]
24778 }
24779 ],
24780 "html": "<html><head><template><template><colgroup></colgroup></template></template></head><body></body></html>",
24781 "noQuirksBodyHtml": "<template><template><colgroup></colgroup></template></template>"
24782 }
24783 },
24784 {
24785 "data": "<template><template><col>",
24786 "errors": [
24787 "no doctype",
24788 "eof in template",
24789 "eof in template"
24790 ],
24791 "document": {
24792 "props": {
24793 "tags": {
24794 "html": true,
24795 "head": true,
24796 "template": true,
24797 "col": true,
24798 "body": true
24799 },
24800 "template": true
24801 },
24802 "tree": [
24803 {
24804 "tag": "html",
24805 "children": [
24806 {
24807 "tag": "head",
24808 "children": [
24809 {
24810 "tag": "template",
24811 "children": [
24812 {
24813 "content": true,
24814 "children": [
24815 {
24816 "tag": "template",
24817 "children": [
24818 {
24819 "content": true,
24820 "children": [
24821 {
24822 "tag": "col"
24823 }
24824 ]
24825 }
24826 ]
24827 }
24828 ]
24829 }
24830 ]
24831 }
24832 ]
24833 },
24834 {
24835 "tag": "body"
24836 }
24837 ]
24838 }
24839 ],
24840 "html": "<html><head><template><template><col></template></template></head><body></body></html>",
24841 "noQuirksBodyHtml": "<template><template><col></template></template>"
24842 }
24843 },
24844 {
24845 "data": "<template><template><tbody><select>",
24846 "errors": [
24847 " * (1,11) missing DOCTYPE",
24848 " * (1,36) unexpected token in table - foster parenting",
24849 " * (1,36) unexpected end of file in template",
24850 " * (1,36) unexpected end of file in template"
24851 ],
24852 "document": {
24853 "props": {
24854 "tags": {
24855 "html": true,
24856 "head": true,
24857 "template": true,
24858 "tbody": true,
24859 "select": true,
24860 "body": true
24861 },
24862 "template": true
24863 },
24864 "tree": [
24865 {
24866 "tag": "html",
24867 "children": [
24868 {
24869 "tag": "head",
24870 "children": [
24871 {
24872 "tag": "template",
24873 "children": [
24874 {
24875 "content": true,
24876 "children": [
24877 {
24878 "tag": "template",
24879 "children": [
24880 {
24881 "content": true,
24882 "children": [
24883 {
24884 "tag": "tbody"
24885 },
24886 {
24887 "tag": "select"
24888 }
24889 ]
24890 }
24891 ]
24892 }
24893 ]
24894 }
24895 ]
24896 }
24897 ]
24898 },
24899 {
24900 "tag": "body"
24901 }
24902 ]
24903 }
24904 ],
24905 "html": "<html><head><template><template><tbody></tbody><select></select></template></template></head><body></body></html>",
24906 "noQuirksBodyHtml": "<template><template><tbody></tbody><select></select></template></template>"
24907 }
24908 },
24909 {
24910 "data": "<template><template><table>Foo",
24911 "errors": [
24912 "no doctype",
24913 "foster-parenting text F",
24914 "foster-parenting text o",
24915 "foster-parenting text o",
24916 "eof",
24917 "eof"
24918 ],
24919 "document": {
24920 "props": {
24921 "tags": {
24922 "html": true,
24923 "head": true,
24924 "template": true,
24925 "table": true,
24926 "body": true
24927 },
24928 "template": true
24929 },
24930 "tree": [
24931 {
24932 "tag": "html",
24933 "children": [
24934 {
24935 "tag": "head",
24936 "children": [
24937 {
24938 "tag": "template",
24939 "children": [
24940 {
24941 "content": true,
24942 "children": [
24943 {
24944 "tag": "template",
24945 "children": [
24946 {
24947 "content": true,
24948 "children": [
24949 {
24950 "text": "Foo"
24951 },
24952 {
24953 "tag": "table"
24954 }
24955 ]
24956 }
24957 ]
24958 }
24959 ]
24960 }
24961 ]
24962 }
24963 ]
24964 },
24965 {
24966 "tag": "body"
24967 }
24968 ]
24969 }
24970 ],
24971 "html": "<html><head><template><template>Foo<table></table></template></template></head><body></body></html>",
24972 "noQuirksBodyHtml": "<template><template>Foo<table></table></template></template>"
24973 }
24974 },
24975 {
24976 "data": "<template><template><frame>",
24977 "errors": [
24978 "no doctype",
24979 "bad tag",
24980 "eof",
24981 "eof"
24982 ],
24983 "document": {
24984 "props": {
24985 "tags": {
24986 "html": true,
24987 "head": true,
24988 "template": true,
24989 "body": true
24990 },
24991 "template": true
24992 },
24993 "tree": [
24994 {
24995 "tag": "html",
24996 "children": [
24997 {
24998 "tag": "head",
24999 "children": [
25000 {
25001 "tag": "template",
25002 "children": [
25003 {
25004 "content": true,
25005 "children": [
25006 {
25007 "tag": "template",
25008 "children": [
25009 {
25010 "content": true
25011 }
25012 ]
25013 }
25014 ]
25015 }
25016 ]
25017 }
25018 ]
25019 },
25020 {
25021 "tag": "body"
25022 }
25023 ]
25024 }
25025 ],
25026 "html": "<html><head><template><template></template></template></head><body></body></html>",
25027 "noQuirksBodyHtml": "<template><template></template></template>"
25028 }
25029 },
25030 {
25031 "data": "<template><template><script>var i",
25032 "errors": [
25033 "no doctype",
25034 "eof in script",
25035 "eof in template",
25036 "eof in template"
25037 ],
25038 "document": {
25039 "props": {
25040 "tags": {
25041 "html": true,
25042 "head": true,
25043 "template": true,
25044 "script": true,
25045 "body": true
25046 },
25047 "template": true,
25048 "no_escape": true
25049 },
25050 "tree": [
25051 {
25052 "tag": "html",
25053 "children": [
25054 {
25055 "tag": "head",
25056 "children": [
25057 {
25058 "tag": "template",
25059 "children": [
25060 {
25061 "content": true,
25062 "children": [
25063 {
25064 "tag": "template",
25065 "children": [
25066 {
25067 "content": true,
25068 "children": [
25069 {
25070 "tag": "script",
25071 "children": [
25072 {
25073 "text": "var i",
25074 "no_escape": true
25075 }
25076 ]
25077 }
25078 ]
25079 }
25080 ]
25081 }
25082 ]
25083 }
25084 ]
25085 }
25086 ]
25087 },
25088 {
25089 "tag": "body"
25090 }
25091 ]
25092 }
25093 ],
25094 "html": "<html><head><template><template><script>var i</script></template></template></head><body></body></html>",
25095 "noQuirksBodyHtml": "<template><template><script>var i</script></template></template>"
25096 }
25097 },
25098 {
25099 "data": "<template><template><style>var i",
25100 "errors": [
25101 "no doctype",
25102 "eof in style",
25103 "eof in template",
25104 "eof in template"
25105 ],
25106 "document": {
25107 "props": {
25108 "tags": {
25109 "html": true,
25110 "head": true,
25111 "template": true,
25112 "style": true,
25113 "body": true
25114 },
25115 "template": true,
25116 "no_escape": true
25117 },
25118 "tree": [
25119 {
25120 "tag": "html",
25121 "children": [
25122 {
25123 "tag": "head",
25124 "children": [
25125 {
25126 "tag": "template",
25127 "children": [
25128 {
25129 "content": true,
25130 "children": [
25131 {
25132 "tag": "template",
25133 "children": [
25134 {
25135 "content": true,
25136 "children": [
25137 {
25138 "tag": "style",
25139 "children": [
25140 {
25141 "text": "var i",
25142 "no_escape": true
25143 }
25144 ]
25145 }
25146 ]
25147 }
25148 ]
25149 }
25150 ]
25151 }
25152 ]
25153 }
25154 ]
25155 },
25156 {
25157 "tag": "body"
25158 }
25159 ]
25160 }
25161 ],
25162 "html": "<html><head><template><template><style>var i</style></template></template></head><body></body></html>",
25163 "noQuirksBodyHtml": "<template><template><style>var i</style></template></template>"
25164 }
25165 },
25166 {
25167 "data": "<template><table></template><body><span>Foo",
25168 "errors": [
25169 "no doctype",
25170 "missing /table",
25171 "bad eof"
25172 ],
25173 "document": {
25174 "props": {
25175 "tags": {
25176 "html": true,
25177 "head": true,
25178 "template": true,
25179 "table": true,
25180 "body": true,
25181 "span": true
25182 },
25183 "template": true
25184 },
25185 "tree": [
25186 {
25187 "tag": "html",
25188 "children": [
25189 {
25190 "tag": "head",
25191 "children": [
25192 {
25193 "tag": "template",
25194 "children": [
25195 {
25196 "content": true,
25197 "children": [
25198 {
25199 "tag": "table"
25200 }
25201 ]
25202 }
25203 ]
25204 }
25205 ]
25206 },
25207 {
25208 "tag": "body",
25209 "children": [
25210 {
25211 "tag": "span",
25212 "children": [
25213 {
25214 "text": "Foo"
25215 }
25216 ]
25217 }
25218 ]
25219 }
25220 ]
25221 }
25222 ],
25223 "html": "<html><head><template><table></table></template></head><body><span>Foo</span></body></html>",
25224 "noQuirksBodyHtml": "<template><table></table></template><span>Foo</span>"
25225 }
25226 },
25227 {
25228 "data": "<template><td></template><body><span>Foo",
25229 "errors": [
25230 "no doctype",
25231 "bad eof"
25232 ],
25233 "document": {
25234 "props": {
25235 "tags": {
25236 "html": true,
25237 "head": true,
25238 "template": true,
25239 "td": true,
25240 "body": true,
25241 "span": true
25242 },
25243 "template": true
25244 },
25245 "tree": [
25246 {
25247 "tag": "html",
25248 "children": [
25249 {
25250 "tag": "head",
25251 "children": [
25252 {
25253 "tag": "template",
25254 "children": [
25255 {
25256 "content": true,
25257 "children": [
25258 {
25259 "tag": "td"
25260 }
25261 ]
25262 }
25263 ]
25264 }
25265 ]
25266 },
25267 {
25268 "tag": "body",
25269 "children": [
25270 {
25271 "tag": "span",
25272 "children": [
25273 {
25274 "text": "Foo"
25275 }
25276 ]
25277 }
25278 ]
25279 }
25280 ]
25281 }
25282 ],
25283 "html": "<html><head><template><td></td></template></head><body><span>Foo</span></body></html>",
25284 "noQuirksBodyHtml": "<template><td></td></template><span>Foo</span>"
25285 }
25286 },
25287 {
25288 "data": "<template><object></template><body><span>Foo",
25289 "errors": [
25290 "no doctype",
25291 "missing /object",
25292 "bad eof"
25293 ],
25294 "document": {
25295 "props": {
25296 "tags": {
25297 "html": true,
25298 "head": true,
25299 "template": true,
25300 "object": true,
25301 "body": true,
25302 "span": true
25303 },
25304 "template": true
25305 },
25306 "tree": [
25307 {
25308 "tag": "html",
25309 "children": [
25310 {
25311 "tag": "head",
25312 "children": [
25313 {
25314 "tag": "template",
25315 "children": [
25316 {
25317 "content": true,
25318 "children": [
25319 {
25320 "tag": "object"
25321 }
25322 ]
25323 }
25324 ]
25325 }
25326 ]
25327 },
25328 {
25329 "tag": "body",
25330 "children": [
25331 {
25332 "tag": "span",
25333 "children": [
25334 {
25335 "text": "Foo"
25336 }
25337 ]
25338 }
25339 ]
25340 }
25341 ]
25342 }
25343 ],
25344 "html": "<html><head><template><object></object></template></head><body><span>Foo</span></body></html>",
25345 "noQuirksBodyHtml": "<template><object></object></template><span>Foo</span>"
25346 }
25347 },
25348 {
25349 "data": "<template><svg><template>",
25350 "errors": [
25351 "no doctype",
25352 "eof in template"
25353 ],
25354 "document": {
25355 "props": {
25356 "tags": {
25357 "html": true,
25358 "head": true,
25359 "template": true,
25360 "svg svg": true,
25361 "svg template": true,
25362 "body": true
25363 },
25364 "template": true
25365 },
25366 "tree": [
25367 {
25368 "tag": "html",
25369 "children": [
25370 {
25371 "tag": "head",
25372 "children": [
25373 {
25374 "tag": "template",
25375 "children": [
25376 {
25377 "content": true,
25378 "children": [
25379 {
25380 "tag": "svg",
25381 "ns": "http://www.w3.org/2000/svg",
25382 "children": [
25383 {
25384 "tag": "template",
25385 "ns": "http://www.w3.org/2000/svg"
25386 }
25387 ]
25388 }
25389 ]
25390 }
25391 ]
25392 }
25393 ]
25394 },
25395 {
25396 "tag": "body"
25397 }
25398 ]
25399 }
25400 ],
25401 "html": "<html><head><template><svg><template></template></svg></template></head><body></body></html>",
25402 "noQuirksBodyHtml": "<template><svg><template></template></svg></template>"
25403 }
25404 },
25405 {
25406 "data": "<template><svg><foo><template><foreignObject><div></template><div>",
25407 "errors": [
25408 "no doctype",
25409 "ugly template closure",
25410 "bad eof"
25411 ],
25412 "document": {
25413 "props": {
25414 "tags": {
25415 "html": true,
25416 "head": true,
25417 "template": true,
25418 "svg svg": true,
25419 "svg foo": true,
25420 "svg template": true,
25421 "svg foreignObject": true,
25422 "div": true,
25423 "body": true
25424 },
25425 "template": true
25426 },
25427 "tree": [
25428 {
25429 "tag": "html",
25430 "children": [
25431 {
25432 "tag": "head",
25433 "children": [
25434 {
25435 "tag": "template",
25436 "children": [
25437 {
25438 "content": true,
25439 "children": [
25440 {
25441 "tag": "svg",
25442 "ns": "http://www.w3.org/2000/svg",
25443 "children": [
25444 {
25445 "tag": "foo",
25446 "ns": "http://www.w3.org/2000/svg",
25447 "children": [
25448 {
25449 "tag": "template",
25450 "ns": "http://www.w3.org/2000/svg",
25451 "children": [
25452 {
25453 "tag": "foreignObject",
25454 "ns": "http://www.w3.org/2000/svg",
25455 "children": [
25456 {
25457 "tag": "div"
25458 }
25459 ]
25460 }
25461 ]
25462 }
25463 ]
25464 }
25465 ]
25466 }
25467 ]
25468 }
25469 ]
25470 }
25471 ]
25472 },
25473 {
25474 "tag": "body",
25475 "children": [
25476 {
25477 "tag": "div"
25478 }
25479 ]
25480 }
25481 ]
25482 }
25483 ],
25484 "html": "<html><head><template><svg><foo><template><foreignObject><div></div></foreignObject></template></foo></svg></template></head><body><div></div></body></html>",
25485 "noQuirksBodyHtml": "<template><svg><foo><template><foreignObject><div></div></foreignObject></template></foo></svg></template><div></div>"
25486 }
25487 },
25488 {
25489 "data": "<dummy><template><span></dummy>",
25490 "errors": [
25491 "no doctype",
25492 "bad end tag </dummy>",
25493 "eof in template",
25494 "eof in dummy"
25495 ],
25496 "document": {
25497 "props": {
25498 "tags": {
25499 "html": true,
25500 "head": true,
25501 "body": true,
25502 "dummy": true,
25503 "template": true,
25504 "span": true
25505 },
25506 "template": true
25507 },
25508 "tree": [
25509 {
25510 "tag": "html",
25511 "children": [
25512 {
25513 "tag": "head"
25514 },
25515 {
25516 "tag": "body",
25517 "children": [
25518 {
25519 "tag": "dummy",
25520 "children": [
25521 {
25522 "tag": "template",
25523 "children": [
25524 {
25525 "content": true,
25526 "children": [
25527 {
25528 "tag": "span"
25529 }
25530 ]
25531 }
25532 ]
25533 }
25534 ]
25535 }
25536 ]
25537 }
25538 ]
25539 }
25540 ],
25541 "html": "<html><head></head><body><dummy><template><span></span></template></dummy></body></html>",
25542 "noQuirksBodyHtml": "<dummy><template><span></span></template></dummy>"
25543 }
25544 },
25545 {
25546 "data": "<body><table><tr><td><select><template>Foo</template><caption>A</table>",
25547 "errors": [
25548 "no doctype",
25549 "(1,62): unexpected-caption-in-select-in-table"
25550 ],
25551 "document": {
25552 "props": {
25553 "tags": {
25554 "html": true,
25555 "head": true,
25556 "body": true,
25557 "table": true,
25558 "tbody": true,
25559 "tr": true,
25560 "td": true,
25561 "select": true,
25562 "template": true,
25563 "caption": true
25564 },
25565 "template": true
25566 },
25567 "tree": [
25568 {
25569 "tag": "html",
25570 "children": [
25571 {
25572 "tag": "head"
25573 },
25574 {
25575 "tag": "body",
25576 "children": [
25577 {
25578 "tag": "table",
25579 "children": [
25580 {
25581 "tag": "tbody",
25582 "children": [
25583 {
25584 "tag": "tr",
25585 "children": [
25586 {
25587 "tag": "td",
25588 "children": [
25589 {
25590 "tag": "select",
25591 "children": [
25592 {
25593 "tag": "template",
25594 "children": [
25595 {
25596 "content": true,
25597 "children": [
25598 {
25599 "text": "Foo"
25600 }
25601 ]
25602 }
25603 ]
25604 }
25605 ]
25606 }
25607 ]
25608 }
25609 ]
25610 }
25611 ]
25612 },
25613 {
25614 "tag": "caption",
25615 "children": [
25616 {
25617 "text": "A"
25618 }
25619 ]
25620 }
25621 ]
25622 }
25623 ]
25624 }
25625 ]
25626 }
25627 ],
25628 "html": "<html><head></head><body><table><tbody><tr><td><select><template>Foo</template></select></td></tr></tbody><caption>A</caption></table></body></html>",
25629 "noQuirksBodyHtml": "<table><tbody><tr><td><select><template>Foo</template></select></td></tr></tbody><caption>A</caption></table>"
25630 }
25631 },
25632 {
25633 "data": "<body></body><template>",
25634 "errors": [
25635 "no doctype",
25636 "(1,23): template-after-body",
25637 "(1,24): eof-in-template"
25638 ],
25639 "document": {
25640 "props": {
25641 "tags": {
25642 "html": true,
25643 "head": true,
25644 "body": true,
25645 "template": true
25646 },
25647 "template": true
25648 },
25649 "tree": [
25650 {
25651 "tag": "html",
25652 "children": [
25653 {
25654 "tag": "head"
25655 },
25656 {
25657 "tag": "body",
25658 "children": [
25659 {
25660 "tag": "template",
25661 "children": [
25662 {
25663 "content": true
25664 }
25665 ]
25666 }
25667 ]
25668 }
25669 ]
25670 }
25671 ],
25672 "html": "<html><head></head><body><template></template></body></html>",
25673 "noQuirksBodyHtml": "<template></template>"
25674 }
25675 },
25676 {
25677 "data": "<head></head><template>",
25678 "errors": [
25679 "no doctype",
25680 "(1,23): template-after-head",
25681 "(1,24): eof-in-template"
25682 ],
25683 "document": {
25684 "props": {
25685 "tags": {
25686 "html": true,
25687 "head": true,
25688 "template": true,
25689 "body": true
25690 },
25691 "template": true
25692 },
25693 "tree": [
25694 {
25695 "tag": "html",
25696 "children": [
25697 {
25698 "tag": "head",
25699 "children": [
25700 {
25701 "tag": "template",
25702 "children": [
25703 {
25704 "content": true
25705 }
25706 ]
25707 }
25708 ]
25709 },
25710 {
25711 "tag": "body"
25712 }
25713 ]
25714 }
25715 ],
25716 "html": "<html><head><template></template></head><body></body></html>",
25717 "noQuirksBodyHtml": "<template></template>"
25718 }
25719 },
25720 {
25721 "data": "<head></head><template>Foo</template>",
25722 "errors": [
25723 "no doctype",
25724 "(1,23): template-after-head"
25725 ],
25726 "document": {
25727 "props": {
25728 "tags": {
25729 "html": true,
25730 "head": true,
25731 "template": true,
25732 "body": true
25733 },
25734 "template": true
25735 },
25736 "tree": [
25737 {
25738 "tag": "html",
25739 "children": [
25740 {
25741 "tag": "head",
25742 "children": [
25743 {
25744 "tag": "template",
25745 "children": [
25746 {
25747 "content": true,
25748 "children": [
25749 {
25750 "text": "Foo"
25751 }
25752 ]
25753 }
25754 ]
25755 }
25756 ]
25757 },
25758 {
25759 "tag": "body"
25760 }
25761 ]
25762 }
25763 ],
25764 "html": "<html><head><template>Foo</template></head><body></body></html>",
25765 "noQuirksBodyHtml": "<template>Foo</template>"
25766 }
25767 },
25768 {
25769 "data": "<!DOCTYPE HTML><dummy><table><template><table><template><table><script>",
25770 "errors": [
25771 "eof script",
25772 "eof template",
25773 "eof template",
25774 "eof table"
25775 ],
25776 "document": {
25777 "props": {
25778 "tags": {
25779 "html": true,
25780 "head": true,
25781 "body": true,
25782 "dummy": true,
25783 "table": true,
25784 "template": true,
25785 "script": true
25786 },
25787 "doctype": true,
25788 "template": true
25789 },
25790 "tree": [
25791 {
25792 "doctype": "html"
25793 },
25794 {
25795 "tag": "html",
25796 "children": [
25797 {
25798 "tag": "head"
25799 },
25800 {
25801 "tag": "body",
25802 "children": [
25803 {
25804 "tag": "dummy",
25805 "children": [
25806 {
25807 "tag": "table",
25808 "children": [
25809 {
25810 "tag": "template",
25811 "children": [
25812 {
25813 "content": true,
25814 "children": [
25815 {
25816 "tag": "table",
25817 "children": [
25818 {
25819 "tag": "template",
25820 "children": [
25821 {
25822 "content": true,
25823 "children": [
25824 {
25825 "tag": "table",
25826 "children": [
25827 {
25828 "tag": "script"
25829 }
25830 ]
25831 }
25832 ]
25833 }
25834 ]
25835 }
25836 ]
25837 }
25838 ]
25839 }
25840 ]
25841 }
25842 ]
25843 }
25844 ]
25845 }
25846 ]
25847 }
25848 ]
25849 }
25850 ],
25851 "html": "<!DOCTYPE html><html><head></head><body><dummy><table><template><table><template><table><script></script></table></template></table></template></table></dummy></body></html>",
25852 "noQuirksBodyHtml": "<dummy><table><template><table><template><table><script></script></table></template></table></template></table></dummy>"
25853 }
25854 },
25855 {
25856 "data": "<template><a><table><a>",
25857 "errors": [],
25858 "document": {
25859 "props": {
25860 "tags": {
25861 "html": true,
25862 "head": true,
25863 "template": true,
25864 "a": true,
25865 "table": true,
25866 "body": true
25867 },
25868 "template": true
25869 },
25870 "tree": [
25871 {
25872 "tag": "html",
25873 "children": [
25874 {
25875 "tag": "head",
25876 "children": [
25877 {
25878 "tag": "template",
25879 "children": [
25880 {
25881 "content": true,
25882 "children": [
25883 {
25884 "tag": "a",
25885 "children": [
25886 {
25887 "tag": "a"
25888 },
25889 {
25890 "tag": "table"
25891 }
25892 ]
25893 }
25894 ]
25895 }
25896 ]
25897 }
25898 ]
25899 },
25900 {
25901 "tag": "body"
25902 }
25903 ]
25904 }
25905 ],
25906 "html": "<html><head><template><a><a></a><table></table></a></template></head><body></body></html>",
25907 "noQuirksBodyHtml": "<template><a><a></a><table></table></a></template>"
25908 }
25909 }
25910 ],
25911 "tests1.dat": [
25912 {
25913 "data": "Test",
25914 "errors": [
25915 "(1,0): expected-doctype-but-got-chars"
25916 ],
25917 "document": {
25918 "props": {
25919 "tags": {
25920 "html": true,
25921 "head": true,
25922 "body": true
25923 }
25924 },
25925 "tree": [
25926 {
25927 "tag": "html",
25928 "children": [
25929 {
25930 "tag": "head"
25931 },
25932 {
25933 "tag": "body",
25934 "children": [
25935 {
25936 "text": "Test"
25937 }
25938 ]
25939 }
25940 ]
25941 }
25942 ],
25943 "html": "<html><head></head><body>Test</body></html>",
25944 "noQuirksBodyHtml": "Test"
25945 }
25946 },
25947 {
25948 "data": "<p>One<p>Two",
25949 "errors": [
25950 "(1,3): expected-doctype-but-got-start-tag"
25951 ],
25952 "document": {
25953 "props": {
25954 "tags": {
25955 "html": true,
25956 "head": true,
25957 "body": true,
25958 "p": true
25959 }
25960 },
25961 "tree": [
25962 {
25963 "tag": "html",
25964 "children": [
25965 {
25966 "tag": "head"
25967 },
25968 {
25969 "tag": "body",
25970 "children": [
25971 {
25972 "tag": "p",
25973 "children": [
25974 {
25975 "text": "One"
25976 }
25977 ]
25978 },
25979 {
25980 "tag": "p",
25981 "children": [
25982 {
25983 "text": "Two"
25984 }
25985 ]
25986 }
25987 ]
25988 }
25989 ]
25990 }
25991 ],
25992 "html": "<html><head></head><body><p>One</p><p>Two</p></body></html>",
25993 "noQuirksBodyHtml": "<p>One</p><p>Two</p>"
25994 }
25995 },
25996 {
25997 "data": "Line1<br>Line2<br>Line3<br>Line4",
25998 "errors": [
25999 "(1,0): expected-doctype-but-got-chars"
26000 ],
26001 "document": {
26002 "props": {
26003 "tags": {
26004 "html": true,
26005 "head": true,
26006 "body": true,
26007 "br": true
26008 }
26009 },
26010 "tree": [
26011 {
26012 "tag": "html",
26013 "children": [
26014 {
26015 "tag": "head"
26016 },
26017 {
26018 "tag": "body",
26019 "children": [
26020 {
26021 "text": "Line1"
26022 },
26023 {
26024 "tag": "br"
26025 },
26026 {
26027 "text": "Line2"
26028 },
26029 {
26030 "tag": "br"
26031 },
26032 {
26033 "text": "Line3"
26034 },
26035 {
26036 "tag": "br"
26037 },
26038 {
26039 "text": "Line4"
26040 }
26041 ]
26042 }
26043 ]
26044 }
26045 ],
26046 "html": "<html><head></head><body>Line1<br>Line2<br>Line3<br>Line4</body></html>",
26047 "noQuirksBodyHtml": "Line1<br>Line2<br>Line3<br>Line4"
26048 }
26049 },
26050 {
26051 "data": "<html>",
26052 "errors": [
26053 "(1,6): expected-doctype-but-got-start-tag"
26054 ],
26055 "document": {
26056 "props": {
26057 "tags": {
26058 "html": true,
26059 "head": true,
26060 "body": true
26061 }
26062 },
26063 "tree": [
26064 {
26065 "tag": "html",
26066 "children": [
26067 {
26068 "tag": "head"
26069 },
26070 {
26071 "tag": "body"
26072 }
26073 ]
26074 }
26075 ],
26076 "html": "<html><head></head><body></body></html>",
26077 "noQuirksBodyHtml": ""
26078 }
26079 },
26080 {
26081 "data": "<head>",
26082 "errors": [
26083 "(1,6): expected-doctype-but-got-start-tag"
26084 ],
26085 "document": {
26086 "props": {
26087 "tags": {
26088 "html": true,
26089 "head": true,
26090 "body": true
26091 }
26092 },
26093 "tree": [
26094 {
26095 "tag": "html",
26096 "children": [
26097 {
26098 "tag": "head"
26099 },
26100 {
26101 "tag": "body"
26102 }
26103 ]
26104 }
26105 ],
26106 "html": "<html><head></head><body></body></html>",
26107 "noQuirksBodyHtml": ""
26108 }
26109 },
26110 {
26111 "data": "<body>",
26112 "errors": [
26113 "(1,6): expected-doctype-but-got-start-tag"
26114 ],
26115 "document": {
26116 "props": {
26117 "tags": {
26118 "html": true,
26119 "head": true,
26120 "body": true
26121 }
26122 },
26123 "tree": [
26124 {
26125 "tag": "html",
26126 "children": [
26127 {
26128 "tag": "head"
26129 },
26130 {
26131 "tag": "body"
26132 }
26133 ]
26134 }
26135 ],
26136 "html": "<html><head></head><body></body></html>",
26137 "noQuirksBodyHtml": ""
26138 }
26139 },
26140 {
26141 "data": "<html><head>",
26142 "errors": [
26143 "(1,6): expected-doctype-but-got-start-tag"
26144 ],
26145 "document": {
26146 "props": {
26147 "tags": {
26148 "html": true,
26149 "head": true,
26150 "body": true
26151 }
26152 },
26153 "tree": [
26154 {
26155 "tag": "html",
26156 "children": [
26157 {
26158 "tag": "head"
26159 },
26160 {
26161 "tag": "body"
26162 }
26163 ]
26164 }
26165 ],
26166 "html": "<html><head></head><body></body></html>",
26167 "noQuirksBodyHtml": ""
26168 }
26169 },
26170 {
26171 "data": "<html><head></head>",
26172 "errors": [
26173 "(1,6): expected-doctype-but-got-start-tag"
26174 ],
26175 "document": {
26176 "props": {
26177 "tags": {
26178 "html": true,
26179 "head": true,
26180 "body": true
26181 }
26182 },
26183 "tree": [
26184 {
26185 "tag": "html",
26186 "children": [
26187 {
26188 "tag": "head"
26189 },
26190 {
26191 "tag": "body"
26192 }
26193 ]
26194 }
26195 ],
26196 "html": "<html><head></head><body></body></html>",
26197 "noQuirksBodyHtml": ""
26198 }
26199 },
26200 {
26201 "data": "<html><head></head><body>",
26202 "errors": [
26203 "(1,6): expected-doctype-but-got-start-tag"
26204 ],
26205 "document": {
26206 "props": {
26207 "tags": {
26208 "html": true,
26209 "head": true,
26210 "body": true
26211 }
26212 },
26213 "tree": [
26214 {
26215 "tag": "html",
26216 "children": [
26217 {
26218 "tag": "head"
26219 },
26220 {
26221 "tag": "body"
26222 }
26223 ]
26224 }
26225 ],
26226 "html": "<html><head></head><body></body></html>",
26227 "noQuirksBodyHtml": ""
26228 }
26229 },
26230 {
26231 "data": "<html><head></head><body></body>",
26232 "errors": [
26233 "(1,6): expected-doctype-but-got-start-tag"
26234 ],
26235 "document": {
26236 "props": {
26237 "tags": {
26238 "html": true,
26239 "head": true,
26240 "body": true
26241 }
26242 },
26243 "tree": [
26244 {
26245 "tag": "html",
26246 "children": [
26247 {
26248 "tag": "head"
26249 },
26250 {
26251 "tag": "body"
26252 }
26253 ]
26254 }
26255 ],
26256 "html": "<html><head></head><body></body></html>",
26257 "noQuirksBodyHtml": ""
26258 }
26259 },
26260 {
26261 "data": "<html><head><body></body></html>",
26262 "errors": [
26263 "(1,6): expected-doctype-but-got-start-tag"
26264 ],
26265 "document": {
26266 "props": {
26267 "tags": {
26268 "html": true,
26269 "head": true,
26270 "body": true
26271 }
26272 },
26273 "tree": [
26274 {
26275 "tag": "html",
26276 "children": [
26277 {
26278 "tag": "head"
26279 },
26280 {
26281 "tag": "body"
26282 }
26283 ]
26284 }
26285 ],
26286 "html": "<html><head></head><body></body></html>",
26287 "noQuirksBodyHtml": ""
26288 }
26289 },
26290 {
26291 "data": "<html><head></body></html>",
26292 "errors": [
26293 "(1,6): expected-doctype-but-got-start-tag"
26294 ],
26295 "document": {
26296 "props": {
26297 "tags": {
26298 "html": true,
26299 "head": true,
26300 "body": true
26301 }
26302 },
26303 "tree": [
26304 {
26305 "tag": "html",
26306 "children": [
26307 {
26308 "tag": "head"
26309 },
26310 {
26311 "tag": "body"
26312 }
26313 ]
26314 }
26315 ],
26316 "html": "<html><head></head><body></body></html>",
26317 "noQuirksBodyHtml": ""
26318 }
26319 },
26320 {
26321 "data": "<html><head><body></html>",
26322 "errors": [
26323 "(1,6): expected-doctype-but-got-start-tag"
26324 ],
26325 "document": {
26326 "props": {
26327 "tags": {
26328 "html": true,
26329 "head": true,
26330 "body": true
26331 }
26332 },
26333 "tree": [
26334 {
26335 "tag": "html",
26336 "children": [
26337 {
26338 "tag": "head"
26339 },
26340 {
26341 "tag": "body"
26342 }
26343 ]
26344 }
26345 ],
26346 "html": "<html><head></head><body></body></html>",
26347 "noQuirksBodyHtml": ""
26348 }
26349 },
26350 {
26351 "data": "<html><body></html>",
26352 "errors": [
26353 "(1,6): expected-doctype-but-got-start-tag"
26354 ],
26355 "document": {
26356 "props": {
26357 "tags": {
26358 "html": true,
26359 "head": true,
26360 "body": true
26361 }
26362 },
26363 "tree": [
26364 {
26365 "tag": "html",
26366 "children": [
26367 {
26368 "tag": "head"
26369 },
26370 {
26371 "tag": "body"
26372 }
26373 ]
26374 }
26375 ],
26376 "html": "<html><head></head><body></body></html>",
26377 "noQuirksBodyHtml": ""
26378 }
26379 },
26380 {
26381 "data": "<body></html>",
26382 "errors": [
26383 "(1,6): expected-doctype-but-got-start-tag"
26384 ],
26385 "document": {
26386 "props": {
26387 "tags": {
26388 "html": true,
26389 "head": true,
26390 "body": true
26391 }
26392 },
26393 "tree": [
26394 {
26395 "tag": "html",
26396 "children": [
26397 {
26398 "tag": "head"
26399 },
26400 {
26401 "tag": "body"
26402 }
26403 ]
26404 }
26405 ],
26406 "html": "<html><head></head><body></body></html>",
26407 "noQuirksBodyHtml": ""
26408 }
26409 },
26410 {
26411 "data": "<head></html>",
26412 "errors": [
26413 "(1,6): expected-doctype-but-got-start-tag"
26414 ],
26415 "document": {
26416 "props": {
26417 "tags": {
26418 "html": true,
26419 "head": true,
26420 "body": true
26421 }
26422 },
26423 "tree": [
26424 {
26425 "tag": "html",
26426 "children": [
26427 {
26428 "tag": "head"
26429 },
26430 {
26431 "tag": "body"
26432 }
26433 ]
26434 }
26435 ],
26436 "html": "<html><head></head><body></body></html>",
26437 "noQuirksBodyHtml": ""
26438 }
26439 },
26440 {
26441 "data": "</head>",
26442 "errors": [
26443 "(1,7): expected-doctype-but-got-end-tag"
26444 ],
26445 "document": {
26446 "props": {
26447 "tags": {
26448 "html": true,
26449 "head": true,
26450 "body": true
26451 }
26452 },
26453 "tree": [
26454 {
26455 "tag": "html",
26456 "children": [
26457 {
26458 "tag": "head"
26459 },
26460 {
26461 "tag": "body"
26462 }
26463 ]
26464 }
26465 ],
26466 "html": "<html><head></head><body></body></html>",
26467 "noQuirksBodyHtml": ""
26468 }
26469 },
26470 {
26471 "data": "</body>",
26472 "errors": [
26473 "(1,7): expected-doctype-but-got-end-tag element."
26474 ],
26475 "document": {
26476 "props": {
26477 "tags": {
26478 "html": true,
26479 "head": true,
26480 "body": true
26481 }
26482 },
26483 "tree": [
26484 {
26485 "tag": "html",
26486 "children": [
26487 {
26488 "tag": "head"
26489 },
26490 {
26491 "tag": "body"
26492 }
26493 ]
26494 }
26495 ],
26496 "html": "<html><head></head><body></body></html>",
26497 "noQuirksBodyHtml": ""
26498 }
26499 },
26500 {
26501 "data": "</html>",
26502 "errors": [
26503 "(1,7): expected-doctype-but-got-end-tag element."
26504 ],
26505 "document": {
26506 "props": {
26507 "tags": {
26508 "html": true,
26509 "head": true,
26510 "body": true
26511 }
26512 },
26513 "tree": [
26514 {
26515 "tag": "html",
26516 "children": [
26517 {
26518 "tag": "head"
26519 },
26520 {
26521 "tag": "body"
26522 }
26523 ]
26524 }
26525 ],
26526 "html": "<html><head></head><body></body></html>",
26527 "noQuirksBodyHtml": ""
26528 }
26529 },
26530 {
26531 "data": "<b><table><td><i></table>",
26532 "errors": [
26533 "(1,3): expected-doctype-but-got-start-tag",
26534 "(1,14): unexpected-cell-in-table-body",
26535 "(1,25): unexpected-cell-end-tag",
26536 "(1,25): expected-closing-tag-but-got-eof"
26537 ],
26538 "document": {
26539 "props": {
26540 "tags": {
26541 "html": true,
26542 "head": true,
26543 "body": true,
26544 "b": true,
26545 "table": true,
26546 "tbody": true,
26547 "tr": true,
26548 "td": true,
26549 "i": true
26550 }
26551 },
26552 "tree": [
26553 {
26554 "tag": "html",
26555 "children": [
26556 {
26557 "tag": "head"
26558 },
26559 {
26560 "tag": "body",
26561 "children": [
26562 {
26563 "tag": "b",
26564 "children": [
26565 {
26566 "tag": "table",
26567 "children": [
26568 {
26569 "tag": "tbody",
26570 "children": [
26571 {
26572 "tag": "tr",
26573 "children": [
26574 {
26575 "tag": "td",
26576 "children": [
26577 {
26578 "tag": "i"
26579 }
26580 ]
26581 }
26582 ]
26583 }
26584 ]
26585 }
26586 ]
26587 }
26588 ]
26589 }
26590 ]
26591 }
26592 ]
26593 }
26594 ],
26595 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
26596 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
26597 }
26598 },
26599 {
26600 "data": "<b><table><td></b><i></table>X",
26601 "errors": [
26602 "(1,3): expected-doctype-but-got-start-tag",
26603 "(1,14): unexpected-cell-in-table-body",
26604 "(1,18): unexpected-end-tag",
26605 "(1,29): unexpected-cell-end-tag",
26606 "(1,30): expected-closing-tag-but-got-eof"
26607 ],
26608 "document": {
26609 "props": {
26610 "tags": {
26611 "html": true,
26612 "head": true,
26613 "body": true,
26614 "b": true,
26615 "table": true,
26616 "tbody": true,
26617 "tr": true,
26618 "td": true,
26619 "i": true
26620 }
26621 },
26622 "tree": [
26623 {
26624 "tag": "html",
26625 "children": [
26626 {
26627 "tag": "head"
26628 },
26629 {
26630 "tag": "body",
26631 "children": [
26632 {
26633 "tag": "b",
26634 "children": [
26635 {
26636 "tag": "table",
26637 "children": [
26638 {
26639 "tag": "tbody",
26640 "children": [
26641 {
26642 "tag": "tr",
26643 "children": [
26644 {
26645 "tag": "td",
26646 "children": [
26647 {
26648 "tag": "i"
26649 }
26650 ]
26651 }
26652 ]
26653 }
26654 ]
26655 }
26656 ]
26657 },
26658 {
26659 "text": "X"
26660 }
26661 ]
26662 }
26663 ]
26664 }
26665 ]
26666 }
26667 ],
26668 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table>X</b></body></html>",
26669 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table>X</b>"
26670 }
26671 },
26672 {
26673 "data": "<h1>Hello<h2>World",
26674 "errors": [
26675 "(1,4): expected-doctype-but-got-start-tag",
26676 "(1,13): unexpected-start-tag",
26677 "(1,18): expected-closing-tag-but-got-eof"
26678 ],
26679 "document": {
26680 "props": {
26681 "tags": {
26682 "html": true,
26683 "head": true,
26684 "body": true,
26685 "h1": true,
26686 "h2": true
26687 }
26688 },
26689 "tree": [
26690 {
26691 "tag": "html",
26692 "children": [
26693 {
26694 "tag": "head"
26695 },
26696 {
26697 "tag": "body",
26698 "children": [
26699 {
26700 "tag": "h1",
26701 "children": [
26702 {
26703 "text": "Hello"
26704 }
26705 ]
26706 },
26707 {
26708 "tag": "h2",
26709 "children": [
26710 {
26711 "text": "World"
26712 }
26713 ]
26714 }
26715 ]
26716 }
26717 ]
26718 }
26719 ],
26720 "html": "<html><head></head><body><h1>Hello</h1><h2>World</h2></body></html>",
26721 "noQuirksBodyHtml": "<h1>Hello</h1><h2>World</h2>"
26722 }
26723 },
26724 {
26725 "data": "<a><p>X<a>Y</a>Z</p></a>",
26726 "errors": [
26727 "(1,3): expected-doctype-but-got-start-tag",
26728 "(1,10): unexpected-start-tag-implies-end-tag",
26729 "(1,10): adoption-agency-1.3",
26730 "(1,24): unexpected-end-tag"
26731 ],
26732 "document": {
26733 "props": {
26734 "tags": {
26735 "html": true,
26736 "head": true,
26737 "body": true,
26738 "a": true,
26739 "p": true
26740 }
26741 },
26742 "tree": [
26743 {
26744 "tag": "html",
26745 "children": [
26746 {
26747 "tag": "head"
26748 },
26749 {
26750 "tag": "body",
26751 "children": [
26752 {
26753 "tag": "a"
26754 },
26755 {
26756 "tag": "p",
26757 "children": [
26758 {
26759 "tag": "a",
26760 "children": [
26761 {
26762 "text": "X"
26763 }
26764 ]
26765 },
26766 {
26767 "tag": "a",
26768 "children": [
26769 {
26770 "text": "Y"
26771 }
26772 ]
26773 },
26774 {
26775 "text": "Z"
26776 }
26777 ]
26778 }
26779 ]
26780 }
26781 ]
26782 }
26783 ],
26784 "html": "<html><head></head><body><a></a><p><a>X</a><a>Y</a>Z</p></body></html>",
26785 "noQuirksBodyHtml": "<a></a><p><a>X</a><a>Y</a>Z</p>"
26786 }
26787 },
26788 {
26789 "data": "<b><button>foo</b>bar",
26790 "errors": [
26791 "(1,3): expected-doctype-but-got-start-tag",
26792 "(1,18): adoption-agency-1.3",
26793 "(1,21): expected-closing-tag-but-got-eof"
26794 ],
26795 "document": {
26796 "props": {
26797 "tags": {
26798 "html": true,
26799 "head": true,
26800 "body": true,
26801 "b": true,
26802 "button": true
26803 }
26804 },
26805 "tree": [
26806 {
26807 "tag": "html",
26808 "children": [
26809 {
26810 "tag": "head"
26811 },
26812 {
26813 "tag": "body",
26814 "children": [
26815 {
26816 "tag": "b"
26817 },
26818 {
26819 "tag": "button",
26820 "children": [
26821 {
26822 "tag": "b",
26823 "children": [
26824 {
26825 "text": "foo"
26826 }
26827 ]
26828 },
26829 {
26830 "text": "bar"
26831 }
26832 ]
26833 }
26834 ]
26835 }
26836 ]
26837 }
26838 ],
26839 "html": "<html><head></head><body><b></b><button><b>foo</b>bar</button></body></html>",
26840 "noQuirksBodyHtml": "<b></b><button><b>foo</b>bar</button>"
26841 }
26842 },
26843 {
26844 "data": "<!DOCTYPE html><span><button>foo</span>bar",
26845 "errors": [
26846 "(1,39): unexpected-end-tag",
26847 "(1,42): expected-closing-tag-but-got-eof"
26848 ],
26849 "document": {
26850 "props": {
26851 "tags": {
26852 "html": true,
26853 "head": true,
26854 "body": true,
26855 "span": true,
26856 "button": true
26857 },
26858 "doctype": true
26859 },
26860 "tree": [
26861 {
26862 "doctype": "html"
26863 },
26864 {
26865 "tag": "html",
26866 "children": [
26867 {
26868 "tag": "head"
26869 },
26870 {
26871 "tag": "body",
26872 "children": [
26873 {
26874 "tag": "span",
26875 "children": [
26876 {
26877 "tag": "button",
26878 "children": [
26879 {
26880 "text": "foobar"
26881 }
26882 ]
26883 }
26884 ]
26885 }
26886 ]
26887 }
26888 ]
26889 }
26890 ],
26891 "html": "<!DOCTYPE html><html><head></head><body><span><button>foobar</button></span></body></html>",
26892 "noQuirksBodyHtml": "<span><button>foobar</button></span>"
26893 }
26894 },
26895 {
26896 "data": "<p><b><div><marquee></p></b></div>X",
26897 "errors": [
26898 "(1,3): expected-doctype-but-got-start-tag",
26899 "(1,11): unexpected-end-tag",
26900 "(1,24): unexpected-end-tag",
26901 "(1,28): unexpected-end-tag",
26902 "(1,34): end-tag-too-early",
26903 "(1,35): expected-closing-tag-but-got-eof"
26904 ],
26905 "document": {
26906 "props": {
26907 "tags": {
26908 "html": true,
26909 "head": true,
26910 "body": true,
26911 "p": true,
26912 "b": true,
26913 "div": true,
26914 "marquee": true
26915 }
26916 },
26917 "tree": [
26918 {
26919 "tag": "html",
26920 "children": [
26921 {
26922 "tag": "head"
26923 },
26924 {
26925 "tag": "body",
26926 "children": [
26927 {
26928 "tag": "p",
26929 "children": [
26930 {
26931 "tag": "b"
26932 }
26933 ]
26934 },
26935 {
26936 "tag": "div",
26937 "children": [
26938 {
26939 "tag": "b",
26940 "children": [
26941 {
26942 "tag": "marquee",
26943 "children": [
26944 {
26945 "tag": "p"
26946 },
26947 {
26948 "text": "X"
26949 }
26950 ]
26951 }
26952 ]
26953 }
26954 ]
26955 }
26956 ]
26957 }
26958 ]
26959 }
26960 ],
26961 "html": "<html><head></head><body><p><b></b></p><div><b><marquee><p></p>X</marquee></b></div></body></html>",
26962 "noQuirksBodyHtml": "<p><b></b></p><div><b><marquee><p></p>X</marquee></b></div>"
26963 }
26964 },
26965 {
26966 "data": "<script><div></script></div><title><p></title><p><p>",
26967 "errors": [
26968 "(1,8): expected-doctype-but-got-start-tag",
26969 "(1,28): unexpected-end-tag"
26970 ],
26971 "document": {
26972 "props": {
26973 "tags": {
26974 "html": true,
26975 "head": true,
26976 "script": true,
26977 "title": true,
26978 "body": true,
26979 "p": true
26980 },
26981 "no_escape": true,
26982 "escaped": true
26983 },
26984 "tree": [
26985 {
26986 "tag": "html",
26987 "children": [
26988 {
26989 "tag": "head",
26990 "children": [
26991 {
26992 "tag": "script",
26993 "children": [
26994 {
26995 "text": "<div>",
26996 "no_escape": true
26997 }
26998 ]
26999 },
27000 {
27001 "tag": "title",
27002 "children": [
27003 {
27004 "text": "<p>",
27005 "escaped": true
27006 }
27007 ]
27008 }
27009 ]
27010 },
27011 {
27012 "tag": "body",
27013 "children": [
27014 {
27015 "tag": "p"
27016 },
27017 {
27018 "tag": "p"
27019 }
27020 ]
27021 }
27022 ]
27023 }
27024 ],
27025 "html": "<html><head><script><div></script><title>&lt;p&gt;</title></head><body><p></p><p></p></body></html>",
27026 "noQuirksBodyHtml": "<script><div></script><title>&lt;p&gt;</title><p></p><p></p>"
27027 }
27028 },
27029 {
27030 "data": "<!--><div>--<!-->",
27031 "errors": [
27032 "(1,5): incorrect-comment",
27033 "(1,10): expected-doctype-but-got-start-tag",
27034 "(1,17): incorrect-comment",
27035 "(1,17): expected-closing-tag-but-got-eof"
27036 ],
27037 "document": {
27038 "props": {
27039 "tags": {
27040 "html": true,
27041 "head": true,
27042 "body": true,
27043 "div": true
27044 },
27045 "comment": true
27046 },
27047 "tree": [
27048 {
27049 "comment": ""
27050 },
27051 {
27052 "tag": "html",
27053 "children": [
27054 {
27055 "tag": "head"
27056 },
27057 {
27058 "tag": "body",
27059 "children": [
27060 {
27061 "tag": "div",
27062 "children": [
27063 {
27064 "text": "--"
27065 },
27066 {
27067 "comment": ""
27068 }
27069 ]
27070 }
27071 ]
27072 }
27073 ]
27074 }
27075 ],
27076 "html": "<!----><html><head></head><body><div>--<!----></div></body></html>",
27077 "noQuirksBodyHtml": "<!----><div>--<!----></div>"
27078 }
27079 },
27080 {
27081 "data": "<p><hr></p>",
27082 "errors": [
27083 "(1,3): expected-doctype-but-got-start-tag",
27084 "(1,11): unexpected-end-tag"
27085 ],
27086 "document": {
27087 "props": {
27088 "tags": {
27089 "html": true,
27090 "head": true,
27091 "body": true,
27092 "p": true,
27093 "hr": true
27094 }
27095 },
27096 "tree": [
27097 {
27098 "tag": "html",
27099 "children": [
27100 {
27101 "tag": "head"
27102 },
27103 {
27104 "tag": "body",
27105 "children": [
27106 {
27107 "tag": "p"
27108 },
27109 {
27110 "tag": "hr"
27111 },
27112 {
27113 "tag": "p"
27114 }
27115 ]
27116 }
27117 ]
27118 }
27119 ],
27120 "html": "<html><head></head><body><p></p><hr><p></p></body></html>",
27121 "noQuirksBodyHtml": "<p></p><hr><p></p>"
27122 }
27123 },
27124 {
27125 "data": "<select><b><option><select><option></b></select>X",
27126 "errors": [
27127 "(1,8): expected-doctype-but-got-start-tag",
27128 "(1,11): unexpected-start-tag-in-select",
27129 "(1,27): unexpected-select-in-select",
27130 "(1,39): unexpected-end-tag",
27131 "(1,48): unexpected-end-tag"
27132 ],
27133 "document": {
27134 "props": {
27135 "tags": {
27136 "html": true,
27137 "head": true,
27138 "body": true,
27139 "select": true,
27140 "option": true
27141 }
27142 },
27143 "tree": [
27144 {
27145 "tag": "html",
27146 "children": [
27147 {
27148 "tag": "head"
27149 },
27150 {
27151 "tag": "body",
27152 "children": [
27153 {
27154 "tag": "select",
27155 "children": [
27156 {
27157 "tag": "option"
27158 }
27159 ]
27160 },
27161 {
27162 "tag": "option",
27163 "children": [
27164 {
27165 "text": "X"
27166 }
27167 ]
27168 }
27169 ]
27170 }
27171 ]
27172 }
27173 ],
27174 "html": "<html><head></head><body><select><option></option></select><option>X</option></body></html>",
27175 "noQuirksBodyHtml": "<select><option></option></select><option>X</option>"
27176 }
27177 },
27178 {
27179 "data": "<a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y",
27180 "errors": [
27181 "(1,3): expected-doctype-but-got-start-tag",
27182 "(1,14): unexpected-cell-in-table-body",
27183 "(1,35): unexpected-start-tag-implies-end-tag",
27184 "(1,40): unexpected-cell-end-tag",
27185 "(1,43): unexpected-start-tag-implies-table-voodoo",
27186 "(1,43): unexpected-start-tag-implies-end-tag",
27187 "(1,43): unexpected-end-tag",
27188 "(1,63): unexpected-start-tag-implies-end-tag",
27189 "(1,64): expected-closing-tag-but-got-eof"
27190 ],
27191 "document": {
27192 "props": {
27193 "tags": {
27194 "html": true,
27195 "head": true,
27196 "body": true,
27197 "a": true,
27198 "table": true,
27199 "tbody": true,
27200 "tr": true,
27201 "td": true,
27202 "b": true
27203 }
27204 },
27205 "tree": [
27206 {
27207 "tag": "html",
27208 "children": [
27209 {
27210 "tag": "head"
27211 },
27212 {
27213 "tag": "body",
27214 "children": [
27215 {
27216 "tag": "a",
27217 "children": [
27218 {
27219 "tag": "a"
27220 },
27221 {
27222 "tag": "table",
27223 "children": [
27224 {
27225 "tag": "tbody",
27226 "children": [
27227 {
27228 "tag": "tr",
27229 "children": [
27230 {
27231 "tag": "td",
27232 "children": [
27233 {
27234 "tag": "a",
27235 "children": [
27236 {
27237 "tag": "table"
27238 }
27239 ]
27240 },
27241 {
27242 "tag": "a"
27243 }
27244 ]
27245 }
27246 ]
27247 }
27248 ]
27249 }
27250 ]
27251 }
27252 ]
27253 },
27254 {
27255 "tag": "a",
27256 "children": [
27257 {
27258 "tag": "b",
27259 "children": [
27260 {
27261 "text": "X"
27262 }
27263 ]
27264 },
27265 {
27266 "text": "C"
27267 }
27268 ]
27269 },
27270 {
27271 "tag": "a",
27272 "children": [
27273 {
27274 "text": "Y"
27275 }
27276 ]
27277 }
27278 ]
27279 }
27280 ]
27281 }
27282 ],
27283 "html": "<html><head></head><body><a><a></a><table><tbody><tr><td><a><table></table></a><a></a></td></tr></tbody></table></a><a><b>X</b>C</a><a>Y</a></body></html>",
27284 "noQuirksBodyHtml": "<a><a></a><table><tbody><tr><td><a><table></table></a><a></a></td></tr></tbody></table></a><a><b>X</b>C</a><a>Y</a>"
27285 }
27286 },
27287 {
27288 "data": "<a X>0<b>1<a Y>2",
27289 "errors": [
27290 "(1,5): expected-doctype-but-got-start-tag",
27291 "(1,15): unexpected-start-tag-implies-end-tag",
27292 "(1,15): adoption-agency-1.3",
27293 "(1,16): expected-closing-tag-but-got-eof"
27294 ],
27295 "document": {
27296 "props": {
27297 "tags": {
27298 "html": true,
27299 "head": true,
27300 "body": true,
27301 "a": true,
27302 "b": true
27303 }
27304 },
27305 "tree": [
27306 {
27307 "tag": "html",
27308 "children": [
27309 {
27310 "tag": "head"
27311 },
27312 {
27313 "tag": "body",
27314 "children": [
27315 {
27316 "tag": "a",
27317 "attrs": [
27318 {
27319 "name": "x",
27320 "value": ""
27321 }
27322 ],
27323 "children": [
27324 {
27325 "text": "0"
27326 },
27327 {
27328 "tag": "b",
27329 "children": [
27330 {
27331 "text": "1"
27332 }
27333 ]
27334 }
27335 ]
27336 },
27337 {
27338 "tag": "b",
27339 "children": [
27340 {
27341 "tag": "a",
27342 "attrs": [
27343 {
27344 "name": "y",
27345 "value": ""
27346 }
27347 ],
27348 "children": [
27349 {
27350 "text": "2"
27351 }
27352 ]
27353 }
27354 ]
27355 }
27356 ]
27357 }
27358 ]
27359 }
27360 ],
27361 "html": "<html><head></head><body><a x=\"\">0<b>1</b></a><b><a y=\"\">2</a></b></body></html>",
27362 "noQuirksBodyHtml": "<a x=\"\">0<b>1</b></a><b><a y=\"\">2</a></b>"
27363 }
27364 },
27365 {
27366 "data": "<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->",
27367 "errors": [
27368 "(1,7): unexpected-dash-after-double-dash-in-comment",
27369 "(1,14): expected-doctype-but-got-start-tag",
27370 "(1,41): unexpected-start-tag-implies-table-voodoo",
27371 "(1,48): foster-parenting-character-in-table",
27372 "(1,48): foster-parenting-character-in-table",
27373 "(1,48): foster-parenting-character-in-table",
27374 "(1,48): foster-parenting-character-in-table",
27375 "(1,48): foster-parenting-character-in-table",
27376 "(1,48): foster-parenting-character-in-table",
27377 "(1,48): foster-parenting-character-in-table",
27378 "(1,48): foster-parenting-character-in-table",
27379 "(1,48): foster-parenting-character-in-table",
27380 "(1,48): foster-parenting-character-in-table",
27381 "(1,48): unexpected-cell-in-table-body",
27382 "(1,63): unexpected-cell-end-tag",
27383 "(1,71): eof-in-table"
27384 ],
27385 "document": {
27386 "props": {
27387 "tags": {
27388 "html": true,
27389 "head": true,
27390 "body": true,
27391 "font": true,
27392 "div": true,
27393 "b": true,
27394 "table": true,
27395 "tbody": true,
27396 "tr": true,
27397 "th": true,
27398 "i": true
27399 },
27400 "comment": true
27401 },
27402 "tree": [
27403 {
27404 "comment": "-"
27405 },
27406 {
27407 "tag": "html",
27408 "children": [
27409 {
27410 "tag": "head"
27411 },
27412 {
27413 "tag": "body",
27414 "children": [
27415 {
27416 "tag": "font",
27417 "children": [
27418 {
27419 "tag": "div",
27420 "children": [
27421 {
27422 "text": "helloexcite!"
27423 },
27424 {
27425 "tag": "b",
27426 "children": [
27427 {
27428 "text": "me!"
27429 }
27430 ]
27431 },
27432 {
27433 "tag": "table",
27434 "children": [
27435 {
27436 "tag": "tbody",
27437 "children": [
27438 {
27439 "tag": "tr",
27440 "children": [
27441 {
27442 "tag": "th",
27443 "children": [
27444 {
27445 "tag": "i",
27446 "children": [
27447 {
27448 "text": "please!"
27449 }
27450 ]
27451 }
27452 ]
27453 }
27454 ]
27455 },
27456 {
27457 "comment": "X"
27458 }
27459 ]
27460 }
27461 ]
27462 }
27463 ]
27464 }
27465 ]
27466 }
27467 ]
27468 }
27469 ]
27470 }
27471 ],
27472 "html": "<!-----><html><head></head><body><font><div>helloexcite!<b>me!</b><table><tbody><tr><th><i>please!</i></th></tr><!--X--></tbody></table></div></font></body></html>",
27473 "noQuirksBodyHtml": "<!-----><font><div>helloexcite!<b>me!</b><table><tbody><tr><th><i>please!</i></th></tr><!--X--></tbody></table></div></font>"
27474 }
27475 },
27476 {
27477 "data": "<!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->",
27478 "errors": [],
27479 "document": {
27480 "props": {
27481 "tags": {
27482 "html": true,
27483 "head": true,
27484 "body": true,
27485 "li": true,
27486 "ul": true
27487 },
27488 "doctype": true,
27489 "comment": true
27490 },
27491 "tree": [
27492 {
27493 "doctype": "html"
27494 },
27495 {
27496 "tag": "html",
27497 "children": [
27498 {
27499 "tag": "head"
27500 },
27501 {
27502 "tag": "body",
27503 "children": [
27504 {
27505 "tag": "li",
27506 "children": [
27507 {
27508 "text": "hello"
27509 }
27510 ]
27511 },
27512 {
27513 "tag": "li",
27514 "children": [
27515 {
27516 "text": "world"
27517 },
27518 {
27519 "tag": "ul",
27520 "children": [
27521 {
27522 "text": "how"
27523 },
27524 {
27525 "tag": "li",
27526 "children": [
27527 {
27528 "text": "do"
27529 }
27530 ]
27531 }
27532 ]
27533 },
27534 {
27535 "text": "you"
27536 }
27537 ]
27538 }
27539 ]
27540 },
27541 {
27542 "comment": "do"
27543 }
27544 ]
27545 }
27546 ],
27547 "html": "<!DOCTYPE html><html><head></head><body><li>hello</li><li>world<ul>how<li>do</li></ul>you</li></body><!--do--></html>",
27548 "noQuirksBodyHtml": "<li>hello</li><li>world<ul>how<li>do</li></ul>you<!--do--></li>"
27549 }
27550 },
27551 {
27552 "data": "<!DOCTYPE html>A<option>B<optgroup>C<select>D</option>E",
27553 "errors": [
27554 "(1,54): unexpected-end-tag-in-select",
27555 "(1,55): eof-in-select"
27556 ],
27557 "document": {
27558 "props": {
27559 "tags": {
27560 "html": true,
27561 "head": true,
27562 "body": true,
27563 "option": true,
27564 "optgroup": true,
27565 "select": true
27566 },
27567 "doctype": true
27568 },
27569 "tree": [
27570 {
27571 "doctype": "html"
27572 },
27573 {
27574 "tag": "html",
27575 "children": [
27576 {
27577 "tag": "head"
27578 },
27579 {
27580 "tag": "body",
27581 "children": [
27582 {
27583 "text": "A"
27584 },
27585 {
27586 "tag": "option",
27587 "children": [
27588 {
27589 "text": "B"
27590 }
27591 ]
27592 },
27593 {
27594 "tag": "optgroup",
27595 "children": [
27596 {
27597 "text": "C"
27598 },
27599 {
27600 "tag": "select",
27601 "children": [
27602 {
27603 "text": "DE"
27604 }
27605 ]
27606 }
27607 ]
27608 }
27609 ]
27610 }
27611 ]
27612 }
27613 ],
27614 "html": "<!DOCTYPE html><html><head></head><body>A<option>B</option><optgroup>C<select>DE</select></optgroup></body></html>",
27615 "noQuirksBodyHtml": "A<option>B</option><optgroup>C<select>DE</select></optgroup>"
27616 }
27617 },
27618 {
27619 "data": "<",
27620 "errors": [
27621 "(1,1): expected-tag-name",
27622 "(1,1): expected-doctype-but-got-chars"
27623 ],
27624 "document": {
27625 "props": {
27626 "tags": {
27627 "html": true,
27628 "head": true,
27629 "body": true
27630 },
27631 "escaped": true
27632 },
27633 "tree": [
27634 {
27635 "tag": "html",
27636 "children": [
27637 {
27638 "tag": "head"
27639 },
27640 {
27641 "tag": "body",
27642 "children": [
27643 {
27644 "text": "<",
27645 "escaped": true
27646 }
27647 ]
27648 }
27649 ]
27650 }
27651 ],
27652 "html": "<html><head></head><body>&lt;</body></html>",
27653 "noQuirksBodyHtml": "&lt;"
27654 }
27655 },
27656 {
27657 "data": "<#",
27658 "errors": [
27659 "(1,1): expected-tag-name",
27660 "(1,1): expected-doctype-but-got-chars"
27661 ],
27662 "document": {
27663 "props": {
27664 "tags": {
27665 "html": true,
27666 "head": true,
27667 "body": true
27668 },
27669 "escaped": true
27670 },
27671 "tree": [
27672 {
27673 "tag": "html",
27674 "children": [
27675 {
27676 "tag": "head"
27677 },
27678 {
27679 "tag": "body",
27680 "children": [
27681 {
27682 "text": "<#",
27683 "escaped": true
27684 }
27685 ]
27686 }
27687 ]
27688 }
27689 ],
27690 "html": "<html><head></head><body>&lt;#</body></html>",
27691 "noQuirksBodyHtml": "&lt;#"
27692 }
27693 },
27694 {
27695 "data": "</",
27696 "errors": [
27697 "(1,2): expected-closing-tag-but-got-eof",
27698 "(1,2): expected-doctype-but-got-chars"
27699 ],
27700 "document": {
27701 "props": {
27702 "tags": {
27703 "html": true,
27704 "head": true,
27705 "body": true
27706 },
27707 "escaped": true
27708 },
27709 "tree": [
27710 {
27711 "tag": "html",
27712 "children": [
27713 {
27714 "tag": "head"
27715 },
27716 {
27717 "tag": "body",
27718 "children": [
27719 {
27720 "text": "</",
27721 "escaped": true
27722 }
27723 ]
27724 }
27725 ]
27726 }
27727 ],
27728 "html": "<html><head></head><body>&lt;/</body></html>",
27729 "noQuirksBodyHtml": "&lt;/"
27730 }
27731 },
27732 {
27733 "data": "</#",
27734 "errors": [
27735 "(1,2): expected-closing-tag-but-got-char",
27736 "(1,3): expected-doctype-but-got-eof"
27737 ],
27738 "document": {
27739 "props": {
27740 "tags": {
27741 "html": true,
27742 "head": true,
27743 "body": true
27744 },
27745 "comment": true
27746 },
27747 "tree": [
27748 {
27749 "comment": "#"
27750 },
27751 {
27752 "tag": "html",
27753 "children": [
27754 {
27755 "tag": "head"
27756 },
27757 {
27758 "tag": "body"
27759 }
27760 ]
27761 }
27762 ],
27763 "html": "<!--#--><html><head></head><body></body></html>",
27764 "noQuirksBodyHtml": "<!--#-->"
27765 }
27766 },
27767 {
27768 "data": "<?",
27769 "errors": [
27770 "(1,1): expected-tag-name-but-got-question-mark",
27771 "(1,2): expected-doctype-but-got-eof"
27772 ],
27773 "document": {
27774 "props": {
27775 "tags": {
27776 "html": true,
27777 "head": true,
27778 "body": true
27779 },
27780 "comment": true
27781 },
27782 "tree": [
27783 {
27784 "comment": "?"
27785 },
27786 {
27787 "tag": "html",
27788 "children": [
27789 {
27790 "tag": "head"
27791 },
27792 {
27793 "tag": "body"
27794 }
27795 ]
27796 }
27797 ],
27798 "html": "<!--?--><html><head></head><body></body></html>",
27799 "noQuirksBodyHtml": "<!--?-->"
27800 }
27801 },
27802 {
27803 "data": "<?#",
27804 "errors": [
27805 "(1,1): expected-tag-name-but-got-question-mark",
27806 "(1,3): expected-doctype-but-got-eof"
27807 ],
27808 "document": {
27809 "props": {
27810 "tags": {
27811 "html": true,
27812 "head": true,
27813 "body": true
27814 },
27815 "comment": true
27816 },
27817 "tree": [
27818 {
27819 "comment": "?#"
27820 },
27821 {
27822 "tag": "html",
27823 "children": [
27824 {
27825 "tag": "head"
27826 },
27827 {
27828 "tag": "body"
27829 }
27830 ]
27831 }
27832 ],
27833 "html": "<!--?#--><html><head></head><body></body></html>",
27834 "noQuirksBodyHtml": "<!--?#-->"
27835 }
27836 },
27837 {
27838 "data": "<!",
27839 "errors": [
27840 "(1,2): expected-dashes-or-doctype",
27841 "(1,2): expected-doctype-but-got-eof"
27842 ],
27843 "document": {
27844 "props": {
27845 "tags": {
27846 "html": true,
27847 "head": true,
27848 "body": true
27849 },
27850 "comment": true
27851 },
27852 "tree": [
27853 {
27854 "comment": ""
27855 },
27856 {
27857 "tag": "html",
27858 "children": [
27859 {
27860 "tag": "head"
27861 },
27862 {
27863 "tag": "body"
27864 }
27865 ]
27866 }
27867 ],
27868 "html": "<!----><html><head></head><body></body></html>",
27869 "noQuirksBodyHtml": "<!---->"
27870 }
27871 },
27872 {
27873 "data": "<!#",
27874 "errors": [
27875 "(1,2): expected-dashes-or-doctype",
27876 "(1,3): expected-doctype-but-got-eof"
27877 ],
27878 "document": {
27879 "props": {
27880 "tags": {
27881 "html": true,
27882 "head": true,
27883 "body": true
27884 },
27885 "comment": true
27886 },
27887 "tree": [
27888 {
27889 "comment": "#"
27890 },
27891 {
27892 "tag": "html",
27893 "children": [
27894 {
27895 "tag": "head"
27896 },
27897 {
27898 "tag": "body"
27899 }
27900 ]
27901 }
27902 ],
27903 "html": "<!--#--><html><head></head><body></body></html>",
27904 "noQuirksBodyHtml": "<!--#-->"
27905 }
27906 },
27907 {
27908 "data": "<?COMMENT?>",
27909 "errors": [
27910 "(1,1): expected-tag-name-but-got-question-mark",
27911 "(1,11): expected-doctype-but-got-eof"
27912 ],
27913 "document": {
27914 "props": {
27915 "tags": {
27916 "html": true,
27917 "head": true,
27918 "body": true
27919 },
27920 "comment": true
27921 },
27922 "tree": [
27923 {
27924 "comment": "?COMMENT?"
27925 },
27926 {
27927 "tag": "html",
27928 "children": [
27929 {
27930 "tag": "head"
27931 },
27932 {
27933 "tag": "body"
27934 }
27935 ]
27936 }
27937 ],
27938 "html": "<!--?COMMENT?--><html><head></head><body></body></html>",
27939 "noQuirksBodyHtml": "<!--?COMMENT?-->"
27940 }
27941 },
27942 {
27943 "data": "<!COMMENT>",
27944 "errors": [
27945 "(1,2): expected-dashes-or-doctype",
27946 "(1,10): expected-doctype-but-got-eof"
27947 ],
27948 "document": {
27949 "props": {
27950 "tags": {
27951 "html": true,
27952 "head": true,
27953 "body": true
27954 },
27955 "comment": true
27956 },
27957 "tree": [
27958 {
27959 "comment": "COMMENT"
27960 },
27961 {
27962 "tag": "html",
27963 "children": [
27964 {
27965 "tag": "head"
27966 },
27967 {
27968 "tag": "body"
27969 }
27970 ]
27971 }
27972 ],
27973 "html": "<!--COMMENT--><html><head></head><body></body></html>",
27974 "noQuirksBodyHtml": "<!--COMMENT-->"
27975 }
27976 },
27977 {
27978 "data": "</ COMMENT >",
27979 "errors": [
27980 "(1,2): expected-closing-tag-but-got-char",
27981 "(1,12): expected-doctype-but-got-eof"
27982 ],
27983 "document": {
27984 "props": {
27985 "tags": {
27986 "html": true,
27987 "head": true,
27988 "body": true
27989 },
27990 "comment": true
27991 },
27992 "tree": [
27993 {
27994 "comment": " COMMENT "
27995 },
27996 {
27997 "tag": "html",
27998 "children": [
27999 {
28000 "tag": "head"
28001 },
28002 {
28003 "tag": "body"
28004 }
28005 ]
28006 }
28007 ],
28008 "html": "<!-- COMMENT --><html><head></head><body></body></html>",
28009 "noQuirksBodyHtml": "<!-- COMMENT -->"
28010 }
28011 },
28012 {
28013 "data": "<?COM--MENT?>",
28014 "errors": [
28015 "(1,1): expected-tag-name-but-got-question-mark",
28016 "(1,13): expected-doctype-but-got-eof"
28017 ],
28018 "document": {
28019 "props": {
28020 "tags": {
28021 "html": true,
28022 "head": true,
28023 "body": true
28024 },
28025 "comment": true
28026 },
28027 "tree": [
28028 {
28029 "comment": "?COM--MENT?"
28030 },
28031 {
28032 "tag": "html",
28033 "children": [
28034 {
28035 "tag": "head"
28036 },
28037 {
28038 "tag": "body"
28039 }
28040 ]
28041 }
28042 ],
28043 "html": "<!--?COM--MENT?--><html><head></head><body></body></html>",
28044 "noQuirksBodyHtml": "<!--?COM--MENT?-->"
28045 }
28046 },
28047 {
28048 "data": "<!COM--MENT>",
28049 "errors": [
28050 "(1,2): expected-dashes-or-doctype",
28051 "(1,12): expected-doctype-but-got-eof"
28052 ],
28053 "document": {
28054 "props": {
28055 "tags": {
28056 "html": true,
28057 "head": true,
28058 "body": true
28059 },
28060 "comment": true
28061 },
28062 "tree": [
28063 {
28064 "comment": "COM--MENT"
28065 },
28066 {
28067 "tag": "html",
28068 "children": [
28069 {
28070 "tag": "head"
28071 },
28072 {
28073 "tag": "body"
28074 }
28075 ]
28076 }
28077 ],
28078 "html": "<!--COM--MENT--><html><head></head><body></body></html>",
28079 "noQuirksBodyHtml": "<!--COM--MENT-->"
28080 }
28081 },
28082 {
28083 "data": "</ COM--MENT >",
28084 "errors": [
28085 "(1,2): expected-closing-tag-but-got-char",
28086 "(1,14): expected-doctype-but-got-eof"
28087 ],
28088 "document": {
28089 "props": {
28090 "tags": {
28091 "html": true,
28092 "head": true,
28093 "body": true
28094 },
28095 "comment": true
28096 },
28097 "tree": [
28098 {
28099 "comment": " COM--MENT "
28100 },
28101 {
28102 "tag": "html",
28103 "children": [
28104 {
28105 "tag": "head"
28106 },
28107 {
28108 "tag": "body"
28109 }
28110 ]
28111 }
28112 ],
28113 "html": "<!-- COM--MENT --><html><head></head><body></body></html>",
28114 "noQuirksBodyHtml": "<!-- COM--MENT -->"
28115 }
28116 },
28117 {
28118 "data": "<!DOCTYPE html><style> EOF",
28119 "errors": [
28120 "(1,26): expected-named-closing-tag-but-got-eof"
28121 ],
28122 "document": {
28123 "props": {
28124 "tags": {
28125 "html": true,
28126 "head": true,
28127 "style": true,
28128 "body": true
28129 },
28130 "doctype": true,
28131 "no_escape": true
28132 },
28133 "tree": [
28134 {
28135 "doctype": "html"
28136 },
28137 {
28138 "tag": "html",
28139 "children": [
28140 {
28141 "tag": "head",
28142 "children": [
28143 {
28144 "tag": "style",
28145 "children": [
28146 {
28147 "text": " EOF",
28148 "no_escape": true
28149 }
28150 ]
28151 }
28152 ]
28153 },
28154 {
28155 "tag": "body"
28156 }
28157 ]
28158 }
28159 ],
28160 "html": "<!DOCTYPE html><html><head><style> EOF</style></head><body></body></html>",
28161 "noQuirksBodyHtml": "<style> EOF</style>"
28162 }
28163 },
28164 {
28165 "data": "<!DOCTYPE html><script> <!-- </script> --> </script> EOF",
28166 "errors": [
28167 "(1,52): unexpected-end-tag"
28168 ],
28169 "document": {
28170 "props": {
28171 "tags": {
28172 "html": true,
28173 "head": true,
28174 "script": true,
28175 "body": true
28176 },
28177 "doctype": true,
28178 "no_escape": true,
28179 "escaped": true
28180 },
28181 "tree": [
28182 {
28183 "doctype": "html"
28184 },
28185 {
28186 "tag": "html",
28187 "children": [
28188 {
28189 "tag": "head",
28190 "children": [
28191 {
28192 "tag": "script",
28193 "children": [
28194 {
28195 "text": " <!-- ",
28196 "no_escape": true
28197 }
28198 ]
28199 },
28200 {
28201 "text": " "
28202 }
28203 ]
28204 },
28205 {
28206 "tag": "body",
28207 "children": [
28208 {
28209 "text": "--> EOF",
28210 "escaped": true
28211 }
28212 ]
28213 }
28214 ]
28215 }
28216 ],
28217 "html": "<!DOCTYPE html><html><head><script> <!-- </script> </head><body>--&gt; EOF</body></html>",
28218 "noQuirksBodyHtml": "<script> <!-- </script> --&gt; EOF"
28219 }
28220 },
28221 {
28222 "data": "<b><p></b>TEST",
28223 "errors": [
28224 "(1,3): expected-doctype-but-got-start-tag",
28225 "(1,10): adoption-agency-1.3"
28226 ],
28227 "document": {
28228 "props": {
28229 "tags": {
28230 "html": true,
28231 "head": true,
28232 "body": true,
28233 "b": true,
28234 "p": true
28235 }
28236 },
28237 "tree": [
28238 {
28239 "tag": "html",
28240 "children": [
28241 {
28242 "tag": "head"
28243 },
28244 {
28245 "tag": "body",
28246 "children": [
28247 {
28248 "tag": "b"
28249 },
28250 {
28251 "tag": "p",
28252 "children": [
28253 {
28254 "tag": "b"
28255 },
28256 {
28257 "text": "TEST"
28258 }
28259 ]
28260 }
28261 ]
28262 }
28263 ]
28264 }
28265 ],
28266 "html": "<html><head></head><body><b></b><p><b></b>TEST</p></body></html>",
28267 "noQuirksBodyHtml": "<b></b><p><b></b>TEST</p>"
28268 }
28269 },
28270 {
28271 "data": "<p id=a><b><p id=b></b>TEST",
28272 "errors": [
28273 "(1,8): expected-doctype-but-got-start-tag",
28274 "(1,19): unexpected-end-tag",
28275 "(1,23): adoption-agency-1.2"
28276 ],
28277 "document": {
28278 "props": {
28279 "tags": {
28280 "html": true,
28281 "head": true,
28282 "body": true,
28283 "p": true,
28284 "b": true
28285 }
28286 },
28287 "tree": [
28288 {
28289 "tag": "html",
28290 "children": [
28291 {
28292 "tag": "head"
28293 },
28294 {
28295 "tag": "body",
28296 "children": [
28297 {
28298 "tag": "p",
28299 "attrs": [
28300 {
28301 "name": "id",
28302 "value": "a"
28303 }
28304 ],
28305 "children": [
28306 {
28307 "tag": "b"
28308 }
28309 ]
28310 },
28311 {
28312 "tag": "p",
28313 "attrs": [
28314 {
28315 "name": "id",
28316 "value": "b"
28317 }
28318 ],
28319 "children": [
28320 {
28321 "text": "TEST"
28322 }
28323 ]
28324 }
28325 ]
28326 }
28327 ]
28328 }
28329 ],
28330 "html": "<html><head></head><body><p id=\"a\"><b></b></p><p id=\"b\">TEST</p></body></html>",
28331 "noQuirksBodyHtml": "<p id=\"a\"><b></b></p><p id=\"b\">TEST</p>"
28332 }
28333 },
28334 {
28335 "data": "<b id=a><p><b id=b></p></b>TEST",
28336 "errors": [
28337 "(1,8): expected-doctype-but-got-start-tag",
28338 "(1,23): unexpected-end-tag",
28339 "(1,27): adoption-agency-1.2",
28340 "(1,31): expected-closing-tag-but-got-eof"
28341 ],
28342 "document": {
28343 "props": {
28344 "tags": {
28345 "html": true,
28346 "head": true,
28347 "body": true,
28348 "b": true,
28349 "p": true
28350 }
28351 },
28352 "tree": [
28353 {
28354 "tag": "html",
28355 "children": [
28356 {
28357 "tag": "head"
28358 },
28359 {
28360 "tag": "body",
28361 "children": [
28362 {
28363 "tag": "b",
28364 "attrs": [
28365 {
28366 "name": "id",
28367 "value": "a"
28368 }
28369 ],
28370 "children": [
28371 {
28372 "tag": "p",
28373 "children": [
28374 {
28375 "tag": "b",
28376 "attrs": [
28377 {
28378 "name": "id",
28379 "value": "b"
28380 }
28381 ]
28382 }
28383 ]
28384 },
28385 {
28386 "text": "TEST"
28387 }
28388 ]
28389 }
28390 ]
28391 }
28392 ]
28393 }
28394 ],
28395 "html": "<html><head></head><body><b id=\"a\"><p><b id=\"b\"></b></p>TEST</b></body></html>",
28396 "noQuirksBodyHtml": "<b id=\"a\"><p><b id=\"b\"></b></p>TEST</b>"
28397 }
28398 },
28399 {
28400 "data": "<!DOCTYPE html><title>U-test</title><body><div><p>Test<u></p></div></body>",
28401 "errors": [
28402 "(1,61): unexpected-end-tag"
28403 ],
28404 "document": {
28405 "props": {
28406 "tags": {
28407 "html": true,
28408 "head": true,
28409 "title": true,
28410 "body": true,
28411 "div": true,
28412 "p": true,
28413 "u": true
28414 },
28415 "doctype": true
28416 },
28417 "tree": [
28418 {
28419 "doctype": "html"
28420 },
28421 {
28422 "tag": "html",
28423 "children": [
28424 {
28425 "tag": "head",
28426 "children": [
28427 {
28428 "tag": "title",
28429 "children": [
28430 {
28431 "text": "U-test"
28432 }
28433 ]
28434 }
28435 ]
28436 },
28437 {
28438 "tag": "body",
28439 "children": [
28440 {
28441 "tag": "div",
28442 "children": [
28443 {
28444 "tag": "p",
28445 "children": [
28446 {
28447 "text": "Test"
28448 },
28449 {
28450 "tag": "u"
28451 }
28452 ]
28453 }
28454 ]
28455 }
28456 ]
28457 }
28458 ]
28459 }
28460 ],
28461 "html": "<!DOCTYPE html><html><head><title>U-test</title></head><body><div><p>Test<u></u></p></div></body></html>",
28462 "noQuirksBodyHtml": "<title>U-test</title><div><p>Test<u></u></p></div>"
28463 }
28464 },
28465 {
28466 "data": "<!DOCTYPE html><font><table></font></table></font>",
28467 "errors": [
28468 "(1,35): unexpected-end-tag-implies-table-voodoo",
28469 "(1,35): unexpected-end-tag"
28470 ],
28471 "document": {
28472 "props": {
28473 "tags": {
28474 "html": true,
28475 "head": true,
28476 "body": true,
28477 "font": true,
28478 "table": true
28479 },
28480 "doctype": true
28481 },
28482 "tree": [
28483 {
28484 "doctype": "html"
28485 },
28486 {
28487 "tag": "html",
28488 "children": [
28489 {
28490 "tag": "head"
28491 },
28492 {
28493 "tag": "body",
28494 "children": [
28495 {
28496 "tag": "font",
28497 "children": [
28498 {
28499 "tag": "table"
28500 }
28501 ]
28502 }
28503 ]
28504 }
28505 ]
28506 }
28507 ],
28508 "html": "<!DOCTYPE html><html><head></head><body><font><table></table></font></body></html>",
28509 "noQuirksBodyHtml": "<font><table></table></font>"
28510 }
28511 },
28512 {
28513 "data": "<font><p>hello<b>cruel</font>world",
28514 "errors": [
28515 "(1,6): expected-doctype-but-got-start-tag",
28516 "(1,29): adoption-agency-1.3",
28517 "(1,29): adoption-agency-1.3",
28518 "(1,34): expected-closing-tag-but-got-eof"
28519 ],
28520 "document": {
28521 "props": {
28522 "tags": {
28523 "html": true,
28524 "head": true,
28525 "body": true,
28526 "font": true,
28527 "p": true,
28528 "b": true
28529 }
28530 },
28531 "tree": [
28532 {
28533 "tag": "html",
28534 "children": [
28535 {
28536 "tag": "head"
28537 },
28538 {
28539 "tag": "body",
28540 "children": [
28541 {
28542 "tag": "font"
28543 },
28544 {
28545 "tag": "p",
28546 "children": [
28547 {
28548 "tag": "font",
28549 "children": [
28550 {
28551 "text": "hello"
28552 },
28553 {
28554 "tag": "b",
28555 "children": [
28556 {
28557 "text": "cruel"
28558 }
28559 ]
28560 }
28561 ]
28562 },
28563 {
28564 "tag": "b",
28565 "children": [
28566 {
28567 "text": "world"
28568 }
28569 ]
28570 }
28571 ]
28572 }
28573 ]
28574 }
28575 ]
28576 }
28577 ],
28578 "html": "<html><head></head><body><font></font><p><font>hello<b>cruel</b></font><b>world</b></p></body></html>",
28579 "noQuirksBodyHtml": "<font></font><p><font>hello<b>cruel</b></font><b>world</b></p>"
28580 }
28581 },
28582 {
28583 "data": "<b>Test</i>Test",
28584 "errors": [
28585 "(1,3): expected-doctype-but-got-start-tag",
28586 "(1,11): unexpected-end-tag",
28587 "(1,15): expected-closing-tag-but-got-eof"
28588 ],
28589 "document": {
28590 "props": {
28591 "tags": {
28592 "html": true,
28593 "head": true,
28594 "body": true,
28595 "b": true
28596 }
28597 },
28598 "tree": [
28599 {
28600 "tag": "html",
28601 "children": [
28602 {
28603 "tag": "head"
28604 },
28605 {
28606 "tag": "body",
28607 "children": [
28608 {
28609 "tag": "b",
28610 "children": [
28611 {
28612 "text": "TestTest"
28613 }
28614 ]
28615 }
28616 ]
28617 }
28618 ]
28619 }
28620 ],
28621 "html": "<html><head></head><body><b>TestTest</b></body></html>",
28622 "noQuirksBodyHtml": "<b>TestTest</b>"
28623 }
28624 },
28625 {
28626 "data": "<b>A<cite>B<div>C",
28627 "errors": [
28628 "(1,3): expected-doctype-but-got-start-tag",
28629 "(1,17): expected-closing-tag-but-got-eof"
28630 ],
28631 "document": {
28632 "props": {
28633 "tags": {
28634 "html": true,
28635 "head": true,
28636 "body": true,
28637 "b": true,
28638 "cite": true,
28639 "div": true
28640 }
28641 },
28642 "tree": [
28643 {
28644 "tag": "html",
28645 "children": [
28646 {
28647 "tag": "head"
28648 },
28649 {
28650 "tag": "body",
28651 "children": [
28652 {
28653 "tag": "b",
28654 "children": [
28655 {
28656 "text": "A"
28657 },
28658 {
28659 "tag": "cite",
28660 "children": [
28661 {
28662 "text": "B"
28663 },
28664 {
28665 "tag": "div",
28666 "children": [
28667 {
28668 "text": "C"
28669 }
28670 ]
28671 }
28672 ]
28673 }
28674 ]
28675 }
28676 ]
28677 }
28678 ]
28679 }
28680 ],
28681 "html": "<html><head></head><body><b>A<cite>B<div>C</div></cite></b></body></html>",
28682 "noQuirksBodyHtml": "<b>A<cite>B<div>C</div></cite></b>"
28683 }
28684 },
28685 {
28686 "data": "<b>A<cite>B<div>C</cite>D",
28687 "errors": [
28688 "(1,3): expected-doctype-but-got-start-tag",
28689 "(1,24): unexpected-end-tag",
28690 "(1,25): expected-closing-tag-but-got-eof"
28691 ],
28692 "document": {
28693 "props": {
28694 "tags": {
28695 "html": true,
28696 "head": true,
28697 "body": true,
28698 "b": true,
28699 "cite": true,
28700 "div": true
28701 }
28702 },
28703 "tree": [
28704 {
28705 "tag": "html",
28706 "children": [
28707 {
28708 "tag": "head"
28709 },
28710 {
28711 "tag": "body",
28712 "children": [
28713 {
28714 "tag": "b",
28715 "children": [
28716 {
28717 "text": "A"
28718 },
28719 {
28720 "tag": "cite",
28721 "children": [
28722 {
28723 "text": "B"
28724 },
28725 {
28726 "tag": "div",
28727 "children": [
28728 {
28729 "text": "CD"
28730 }
28731 ]
28732 }
28733 ]
28734 }
28735 ]
28736 }
28737 ]
28738 }
28739 ]
28740 }
28741 ],
28742 "html": "<html><head></head><body><b>A<cite>B<div>CD</div></cite></b></body></html>",
28743 "noQuirksBodyHtml": "<b>A<cite>B<div>CD</div></cite></b>"
28744 }
28745 },
28746 {
28747 "data": "<b>A<cite>B<div>C</b>D",
28748 "errors": [
28749 "(1,3): expected-doctype-but-got-start-tag",
28750 "(1,21): adoption-agency-1.3",
28751 "(1,22): expected-closing-tag-but-got-eof"
28752 ],
28753 "document": {
28754 "props": {
28755 "tags": {
28756 "html": true,
28757 "head": true,
28758 "body": true,
28759 "b": true,
28760 "cite": true,
28761 "div": true
28762 }
28763 },
28764 "tree": [
28765 {
28766 "tag": "html",
28767 "children": [
28768 {
28769 "tag": "head"
28770 },
28771 {
28772 "tag": "body",
28773 "children": [
28774 {
28775 "tag": "b",
28776 "children": [
28777 {
28778 "text": "A"
28779 },
28780 {
28781 "tag": "cite",
28782 "children": [
28783 {
28784 "text": "B"
28785 }
28786 ]
28787 }
28788 ]
28789 },
28790 {
28791 "tag": "div",
28792 "children": [
28793 {
28794 "tag": "b",
28795 "children": [
28796 {
28797 "text": "C"
28798 }
28799 ]
28800 },
28801 {
28802 "text": "D"
28803 }
28804 ]
28805 }
28806 ]
28807 }
28808 ]
28809 }
28810 ],
28811 "html": "<html><head></head><body><b>A<cite>B</cite></b><div><b>C</b>D</div></body></html>",
28812 "noQuirksBodyHtml": "<b>A<cite>B</cite></b><div><b>C</b>D</div>"
28813 }
28814 },
28815 {
28816 "data": "",
28817 "errors": [
28818 "(1,0): expected-doctype-but-got-eof"
28819 ],
28820 "document": {
28821 "props": {
28822 "tags": {
28823 "html": true,
28824 "head": true,
28825 "body": true
28826 }
28827 },
28828 "tree": [
28829 {
28830 "tag": "html",
28831 "children": [
28832 {
28833 "tag": "head"
28834 },
28835 {
28836 "tag": "body"
28837 }
28838 ]
28839 }
28840 ],
28841 "html": "<html><head></head><body></body></html>",
28842 "noQuirksBodyHtml": ""
28843 }
28844 },
28845 {
28846 "data": "<DIV>",
28847 "errors": [
28848 "(1,5): expected-doctype-but-got-start-tag",
28849 "(1,5): expected-closing-tag-but-got-eof"
28850 ],
28851 "document": {
28852 "props": {
28853 "tags": {
28854 "html": true,
28855 "head": true,
28856 "body": true,
28857 "div": true
28858 }
28859 },
28860 "tree": [
28861 {
28862 "tag": "html",
28863 "children": [
28864 {
28865 "tag": "head"
28866 },
28867 {
28868 "tag": "body",
28869 "children": [
28870 {
28871 "tag": "div"
28872 }
28873 ]
28874 }
28875 ]
28876 }
28877 ],
28878 "html": "<html><head></head><body><div></div></body></html>",
28879 "noQuirksBodyHtml": "<div></div>"
28880 }
28881 },
28882 {
28883 "data": "<DIV> abc",
28884 "errors": [
28885 "(1,5): expected-doctype-but-got-start-tag",
28886 "(1,9): expected-closing-tag-but-got-eof"
28887 ],
28888 "document": {
28889 "props": {
28890 "tags": {
28891 "html": true,
28892 "head": true,
28893 "body": true,
28894 "div": true
28895 }
28896 },
28897 "tree": [
28898 {
28899 "tag": "html",
28900 "children": [
28901 {
28902 "tag": "head"
28903 },
28904 {
28905 "tag": "body",
28906 "children": [
28907 {
28908 "tag": "div",
28909 "children": [
28910 {
28911 "text": " abc"
28912 }
28913 ]
28914 }
28915 ]
28916 }
28917 ]
28918 }
28919 ],
28920 "html": "<html><head></head><body><div> abc</div></body></html>",
28921 "noQuirksBodyHtml": "<div> abc</div>"
28922 }
28923 },
28924 {
28925 "data": "<DIV> abc <B>",
28926 "errors": [
28927 "(1,5): expected-doctype-but-got-start-tag",
28928 "(1,13): expected-closing-tag-but-got-eof"
28929 ],
28930 "document": {
28931 "props": {
28932 "tags": {
28933 "html": true,
28934 "head": true,
28935 "body": true,
28936 "div": true,
28937 "b": true
28938 }
28939 },
28940 "tree": [
28941 {
28942 "tag": "html",
28943 "children": [
28944 {
28945 "tag": "head"
28946 },
28947 {
28948 "tag": "body",
28949 "children": [
28950 {
28951 "tag": "div",
28952 "children": [
28953 {
28954 "text": " abc "
28955 },
28956 {
28957 "tag": "b"
28958 }
28959 ]
28960 }
28961 ]
28962 }
28963 ]
28964 }
28965 ],
28966 "html": "<html><head></head><body><div> abc <b></b></div></body></html>",
28967 "noQuirksBodyHtml": "<div> abc <b></b></div>"
28968 }
28969 },
28970 {
28971 "data": "<DIV> abc <B> def",
28972 "errors": [
28973 "(1,5): expected-doctype-but-got-start-tag",
28974 "(1,17): expected-closing-tag-but-got-eof"
28975 ],
28976 "document": {
28977 "props": {
28978 "tags": {
28979 "html": true,
28980 "head": true,
28981 "body": true,
28982 "div": true,
28983 "b": true
28984 }
28985 },
28986 "tree": [
28987 {
28988 "tag": "html",
28989 "children": [
28990 {
28991 "tag": "head"
28992 },
28993 {
28994 "tag": "body",
28995 "children": [
28996 {
28997 "tag": "div",
28998 "children": [
28999 {
29000 "text": " abc "
29001 },
29002 {
29003 "tag": "b",
29004 "children": [
29005 {
29006 "text": " def"
29007 }
29008 ]
29009 }
29010 ]
29011 }
29012 ]
29013 }
29014 ]
29015 }
29016 ],
29017 "html": "<html><head></head><body><div> abc <b> def</b></div></body></html>",
29018 "noQuirksBodyHtml": "<div> abc <b> def</b></div>"
29019 }
29020 },
29021 {
29022 "data": "<DIV> abc <B> def <I>",
29023 "errors": [
29024 "(1,5): expected-doctype-but-got-start-tag",
29025 "(1,21): expected-closing-tag-but-got-eof"
29026 ],
29027 "document": {
29028 "props": {
29029 "tags": {
29030 "html": true,
29031 "head": true,
29032 "body": true,
29033 "div": true,
29034 "b": true,
29035 "i": true
29036 }
29037 },
29038 "tree": [
29039 {
29040 "tag": "html",
29041 "children": [
29042 {
29043 "tag": "head"
29044 },
29045 {
29046 "tag": "body",
29047 "children": [
29048 {
29049 "tag": "div",
29050 "children": [
29051 {
29052 "text": " abc "
29053 },
29054 {
29055 "tag": "b",
29056 "children": [
29057 {
29058 "text": " def "
29059 },
29060 {
29061 "tag": "i"
29062 }
29063 ]
29064 }
29065 ]
29066 }
29067 ]
29068 }
29069 ]
29070 }
29071 ],
29072 "html": "<html><head></head><body><div> abc <b> def <i></i></b></div></body></html>",
29073 "noQuirksBodyHtml": "<div> abc <b> def <i></i></b></div>"
29074 }
29075 },
29076 {
29077 "data": "<DIV> abc <B> def <I> ghi",
29078 "errors": [
29079 "(1,5): expected-doctype-but-got-start-tag",
29080 "(1,25): expected-closing-tag-but-got-eof"
29081 ],
29082 "document": {
29083 "props": {
29084 "tags": {
29085 "html": true,
29086 "head": true,
29087 "body": true,
29088 "div": true,
29089 "b": true,
29090 "i": true
29091 }
29092 },
29093 "tree": [
29094 {
29095 "tag": "html",
29096 "children": [
29097 {
29098 "tag": "head"
29099 },
29100 {
29101 "tag": "body",
29102 "children": [
29103 {
29104 "tag": "div",
29105 "children": [
29106 {
29107 "text": " abc "
29108 },
29109 {
29110 "tag": "b",
29111 "children": [
29112 {
29113 "text": " def "
29114 },
29115 {
29116 "tag": "i",
29117 "children": [
29118 {
29119 "text": " ghi"
29120 }
29121 ]
29122 }
29123 ]
29124 }
29125 ]
29126 }
29127 ]
29128 }
29129 ]
29130 }
29131 ],
29132 "html": "<html><head></head><body><div> abc <b> def <i> ghi</i></b></div></body></html>",
29133 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi</i></b></div>"
29134 }
29135 },
29136 {
29137 "data": "<DIV> abc <B> def <I> ghi <P>",
29138 "errors": [
29139 "(1,5): expected-doctype-but-got-start-tag",
29140 "(1,29): expected-closing-tag-but-got-eof"
29141 ],
29142 "document": {
29143 "props": {
29144 "tags": {
29145 "html": true,
29146 "head": true,
29147 "body": true,
29148 "div": true,
29149 "b": true,
29150 "i": true,
29151 "p": true
29152 }
29153 },
29154 "tree": [
29155 {
29156 "tag": "html",
29157 "children": [
29158 {
29159 "tag": "head"
29160 },
29161 {
29162 "tag": "body",
29163 "children": [
29164 {
29165 "tag": "div",
29166 "children": [
29167 {
29168 "text": " abc "
29169 },
29170 {
29171 "tag": "b",
29172 "children": [
29173 {
29174 "text": " def "
29175 },
29176 {
29177 "tag": "i",
29178 "children": [
29179 {
29180 "text": " ghi "
29181 },
29182 {
29183 "tag": "p"
29184 }
29185 ]
29186 }
29187 ]
29188 }
29189 ]
29190 }
29191 ]
29192 }
29193 ]
29194 }
29195 ],
29196 "html": "<html><head></head><body><div> abc <b> def <i> ghi <p></p></i></b></div></body></html>",
29197 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi <p></p></i></b></div>"
29198 }
29199 },
29200 {
29201 "data": "<DIV> abc <B> def <I> ghi <P> jkl",
29202 "errors": [
29203 "(1,5): expected-doctype-but-got-start-tag",
29204 "(1,33): expected-closing-tag-but-got-eof"
29205 ],
29206 "document": {
29207 "props": {
29208 "tags": {
29209 "html": true,
29210 "head": true,
29211 "body": true,
29212 "div": true,
29213 "b": true,
29214 "i": true,
29215 "p": true
29216 }
29217 },
29218 "tree": [
29219 {
29220 "tag": "html",
29221 "children": [
29222 {
29223 "tag": "head"
29224 },
29225 {
29226 "tag": "body",
29227 "children": [
29228 {
29229 "tag": "div",
29230 "children": [
29231 {
29232 "text": " abc "
29233 },
29234 {
29235 "tag": "b",
29236 "children": [
29237 {
29238 "text": " def "
29239 },
29240 {
29241 "tag": "i",
29242 "children": [
29243 {
29244 "text": " ghi "
29245 },
29246 {
29247 "tag": "p",
29248 "children": [
29249 {
29250 "text": " jkl"
29251 }
29252 ]
29253 }
29254 ]
29255 }
29256 ]
29257 }
29258 ]
29259 }
29260 ]
29261 }
29262 ]
29263 }
29264 ],
29265 "html": "<html><head></head><body><div> abc <b> def <i> ghi <p> jkl</p></i></b></div></body></html>",
29266 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi <p> jkl</p></i></b></div>"
29267 }
29268 },
29269 {
29270 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B>",
29271 "errors": [
29272 "(1,5): expected-doctype-but-got-start-tag",
29273 "(1,38): adoption-agency-1.3",
29274 "(1,38): expected-closing-tag-but-got-eof"
29275 ],
29276 "document": {
29277 "props": {
29278 "tags": {
29279 "html": true,
29280 "head": true,
29281 "body": true,
29282 "div": true,
29283 "b": true,
29284 "i": true,
29285 "p": true
29286 }
29287 },
29288 "tree": [
29289 {
29290 "tag": "html",
29291 "children": [
29292 {
29293 "tag": "head"
29294 },
29295 {
29296 "tag": "body",
29297 "children": [
29298 {
29299 "tag": "div",
29300 "children": [
29301 {
29302 "text": " abc "
29303 },
29304 {
29305 "tag": "b",
29306 "children": [
29307 {
29308 "text": " def "
29309 },
29310 {
29311 "tag": "i",
29312 "children": [
29313 {
29314 "text": " ghi "
29315 }
29316 ]
29317 }
29318 ]
29319 },
29320 {
29321 "tag": "i",
29322 "children": [
29323 {
29324 "tag": "p",
29325 "children": [
29326 {
29327 "tag": "b",
29328 "children": [
29329 {
29330 "text": " jkl "
29331 }
29332 ]
29333 }
29334 ]
29335 }
29336 ]
29337 }
29338 ]
29339 }
29340 ]
29341 }
29342 ]
29343 }
29344 ],
29345 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b></p></i></div></body></html>",
29346 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b></p></i></div>"
29347 }
29348 },
29349 {
29350 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno",
29351 "errors": [
29352 "(1,5): expected-doctype-but-got-start-tag",
29353 "(1,38): adoption-agency-1.3",
29354 "(1,42): expected-closing-tag-but-got-eof"
29355 ],
29356 "document": {
29357 "props": {
29358 "tags": {
29359 "html": true,
29360 "head": true,
29361 "body": true,
29362 "div": true,
29363 "b": true,
29364 "i": true,
29365 "p": true
29366 }
29367 },
29368 "tree": [
29369 {
29370 "tag": "html",
29371 "children": [
29372 {
29373 "tag": "head"
29374 },
29375 {
29376 "tag": "body",
29377 "children": [
29378 {
29379 "tag": "div",
29380 "children": [
29381 {
29382 "text": " abc "
29383 },
29384 {
29385 "tag": "b",
29386 "children": [
29387 {
29388 "text": " def "
29389 },
29390 {
29391 "tag": "i",
29392 "children": [
29393 {
29394 "text": " ghi "
29395 }
29396 ]
29397 }
29398 ]
29399 },
29400 {
29401 "tag": "i",
29402 "children": [
29403 {
29404 "tag": "p",
29405 "children": [
29406 {
29407 "tag": "b",
29408 "children": [
29409 {
29410 "text": " jkl "
29411 }
29412 ]
29413 },
29414 {
29415 "text": " mno"
29416 }
29417 ]
29418 }
29419 ]
29420 }
29421 ]
29422 }
29423 ]
29424 }
29425 ]
29426 }
29427 ],
29428 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b> mno</p></i></div></body></html>",
29429 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b> mno</p></i></div>"
29430 }
29431 },
29432 {
29433 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I>",
29434 "errors": [
29435 "(1,5): expected-doctype-but-got-start-tag",
29436 "(1,38): adoption-agency-1.3",
29437 "(1,47): adoption-agency-1.3",
29438 "(1,47): expected-closing-tag-but-got-eof"
29439 ],
29440 "document": {
29441 "props": {
29442 "tags": {
29443 "html": true,
29444 "head": true,
29445 "body": true,
29446 "div": true,
29447 "b": true,
29448 "i": true,
29449 "p": true
29450 }
29451 },
29452 "tree": [
29453 {
29454 "tag": "html",
29455 "children": [
29456 {
29457 "tag": "head"
29458 },
29459 {
29460 "tag": "body",
29461 "children": [
29462 {
29463 "tag": "div",
29464 "children": [
29465 {
29466 "text": " abc "
29467 },
29468 {
29469 "tag": "b",
29470 "children": [
29471 {
29472 "text": " def "
29473 },
29474 {
29475 "tag": "i",
29476 "children": [
29477 {
29478 "text": " ghi "
29479 }
29480 ]
29481 }
29482 ]
29483 },
29484 {
29485 "tag": "i"
29486 },
29487 {
29488 "tag": "p",
29489 "children": [
29490 {
29491 "tag": "i",
29492 "children": [
29493 {
29494 "tag": "b",
29495 "children": [
29496 {
29497 "text": " jkl "
29498 }
29499 ]
29500 },
29501 {
29502 "text": " mno "
29503 }
29504 ]
29505 }
29506 ]
29507 }
29508 ]
29509 }
29510 ]
29511 }
29512 ]
29513 }
29514 ],
29515 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i></p></div></body></html>",
29516 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i></p></div>"
29517 }
29518 },
29519 {
29520 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr",
29521 "errors": [
29522 "(1,5): expected-doctype-but-got-start-tag",
29523 "(1,38): adoption-agency-1.3",
29524 "(1,47): adoption-agency-1.3",
29525 "(1,51): expected-closing-tag-but-got-eof"
29526 ],
29527 "document": {
29528 "props": {
29529 "tags": {
29530 "html": true,
29531 "head": true,
29532 "body": true,
29533 "div": true,
29534 "b": true,
29535 "i": true,
29536 "p": true
29537 }
29538 },
29539 "tree": [
29540 {
29541 "tag": "html",
29542 "children": [
29543 {
29544 "tag": "head"
29545 },
29546 {
29547 "tag": "body",
29548 "children": [
29549 {
29550 "tag": "div",
29551 "children": [
29552 {
29553 "text": " abc "
29554 },
29555 {
29556 "tag": "b",
29557 "children": [
29558 {
29559 "text": " def "
29560 },
29561 {
29562 "tag": "i",
29563 "children": [
29564 {
29565 "text": " ghi "
29566 }
29567 ]
29568 }
29569 ]
29570 },
29571 {
29572 "tag": "i"
29573 },
29574 {
29575 "tag": "p",
29576 "children": [
29577 {
29578 "tag": "i",
29579 "children": [
29580 {
29581 "tag": "b",
29582 "children": [
29583 {
29584 "text": " jkl "
29585 }
29586 ]
29587 },
29588 {
29589 "text": " mno "
29590 }
29591 ]
29592 },
29593 {
29594 "text": " pqr"
29595 }
29596 ]
29597 }
29598 ]
29599 }
29600 ]
29601 }
29602 ]
29603 }
29604 ],
29605 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr</p></div></body></html>",
29606 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr</p></div>"
29607 }
29608 },
29609 {
29610 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P>",
29611 "errors": [
29612 "(1,5): expected-doctype-but-got-start-tag",
29613 "(1,38): adoption-agency-1.3",
29614 "(1,47): adoption-agency-1.3",
29615 "(1,56): expected-closing-tag-but-got-eof"
29616 ],
29617 "document": {
29618 "props": {
29619 "tags": {
29620 "html": true,
29621 "head": true,
29622 "body": true,
29623 "div": true,
29624 "b": true,
29625 "i": true,
29626 "p": true
29627 }
29628 },
29629 "tree": [
29630 {
29631 "tag": "html",
29632 "children": [
29633 {
29634 "tag": "head"
29635 },
29636 {
29637 "tag": "body",
29638 "children": [
29639 {
29640 "tag": "div",
29641 "children": [
29642 {
29643 "text": " abc "
29644 },
29645 {
29646 "tag": "b",
29647 "children": [
29648 {
29649 "text": " def "
29650 },
29651 {
29652 "tag": "i",
29653 "children": [
29654 {
29655 "text": " ghi "
29656 }
29657 ]
29658 }
29659 ]
29660 },
29661 {
29662 "tag": "i"
29663 },
29664 {
29665 "tag": "p",
29666 "children": [
29667 {
29668 "tag": "i",
29669 "children": [
29670 {
29671 "tag": "b",
29672 "children": [
29673 {
29674 "text": " jkl "
29675 }
29676 ]
29677 },
29678 {
29679 "text": " mno "
29680 }
29681 ]
29682 },
29683 {
29684 "text": " pqr "
29685 }
29686 ]
29687 }
29688 ]
29689 }
29690 ]
29691 }
29692 ]
29693 }
29694 ],
29695 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p></div></body></html>",
29696 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p></div>"
29697 }
29698 },
29699 {
29700 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> stu",
29701 "errors": [
29702 "(1,5): expected-doctype-but-got-start-tag",
29703 "(1,38): adoption-agency-1.3",
29704 "(1,47): adoption-agency-1.3",
29705 "(1,60): expected-closing-tag-but-got-eof"
29706 ],
29707 "document": {
29708 "props": {
29709 "tags": {
29710 "html": true,
29711 "head": true,
29712 "body": true,
29713 "div": true,
29714 "b": true,
29715 "i": true,
29716 "p": true
29717 }
29718 },
29719 "tree": [
29720 {
29721 "tag": "html",
29722 "children": [
29723 {
29724 "tag": "head"
29725 },
29726 {
29727 "tag": "body",
29728 "children": [
29729 {
29730 "tag": "div",
29731 "children": [
29732 {
29733 "text": " abc "
29734 },
29735 {
29736 "tag": "b",
29737 "children": [
29738 {
29739 "text": " def "
29740 },
29741 {
29742 "tag": "i",
29743 "children": [
29744 {
29745 "text": " ghi "
29746 }
29747 ]
29748 }
29749 ]
29750 },
29751 {
29752 "tag": "i"
29753 },
29754 {
29755 "tag": "p",
29756 "children": [
29757 {
29758 "tag": "i",
29759 "children": [
29760 {
29761 "tag": "b",
29762 "children": [
29763 {
29764 "text": " jkl "
29765 }
29766 ]
29767 },
29768 {
29769 "text": " mno "
29770 }
29771 ]
29772 },
29773 {
29774 "text": " pqr "
29775 }
29776 ]
29777 },
29778 {
29779 "text": " stu"
29780 }
29781 ]
29782 }
29783 ]
29784 }
29785 ]
29786 }
29787 ],
29788 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p> stu</div></body></html>",
29789 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p> stu</div>"
29790 }
29791 },
29792 {
29793 "data": "<test attribute---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->",
29794 "errors": [
29795 "(1,1040): expected-doctype-but-got-start-tag",
29796 "(1,1040): expected-closing-tag-but-got-eof"
29797 ],
29798 "document": {
29799 "props": {
29800 "tags": {
29801 "html": true,
29802 "head": true,
29803 "body": true,
29804 "test": true
29805 }
29806 },
29807 "tree": [
29808 {
29809 "tag": "html",
29810 "children": [
29811 {
29812 "tag": "head"
29813 },
29814 {
29815 "tag": "body",
29816 "children": [
29817 {
29818 "tag": "test",
29819 "attrs": [
29820 {
29821 "name": "attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",
29822 "value": ""
29823 }
29824 ]
29825 }
29826 ]
29827 }
29828 ]
29829 }
29830 ],
29831 "html": "<html><head></head><body><test attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=\"\"></test></body></html>",
29832 "noQuirksBodyHtml": "<test attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=\"\"></test>"
29833 }
29834 },
29835 {
29836 "data": "<a href=\"blah\">aba<table><a href=\"foo\">br<tr><td></td></tr>x</table>aoe",
29837 "errors": [
29838 "(1,15): expected-doctype-but-got-start-tag",
29839 "(1,39): unexpected-start-tag-implies-table-voodoo",
29840 "(1,39): unexpected-start-tag-implies-end-tag",
29841 "(1,39): unexpected-end-tag",
29842 "(1,45): foster-parenting-character-in-table",
29843 "(1,45): foster-parenting-character-in-table",
29844 "(1,68): foster-parenting-character-in-table",
29845 "(1,71): expected-closing-tag-but-got-eof"
29846 ],
29847 "document": {
29848 "props": {
29849 "tags": {
29850 "html": true,
29851 "head": true,
29852 "body": true,
29853 "a": true,
29854 "table": true,
29855 "tbody": true,
29856 "tr": true,
29857 "td": true
29858 }
29859 },
29860 "tree": [
29861 {
29862 "tag": "html",
29863 "children": [
29864 {
29865 "tag": "head"
29866 },
29867 {
29868 "tag": "body",
29869 "children": [
29870 {
29871 "tag": "a",
29872 "attrs": [
29873 {
29874 "name": "href",
29875 "value": "blah"
29876 }
29877 ],
29878 "children": [
29879 {
29880 "text": "aba"
29881 },
29882 {
29883 "tag": "a",
29884 "attrs": [
29885 {
29886 "name": "href",
29887 "value": "foo"
29888 }
29889 ],
29890 "children": [
29891 {
29892 "text": "br"
29893 }
29894 ]
29895 },
29896 {
29897 "tag": "a",
29898 "attrs": [
29899 {
29900 "name": "href",
29901 "value": "foo"
29902 }
29903 ],
29904 "children": [
29905 {
29906 "text": "x"
29907 }
29908 ]
29909 },
29910 {
29911 "tag": "table",
29912 "children": [
29913 {
29914 "tag": "tbody",
29915 "children": [
29916 {
29917 "tag": "tr",
29918 "children": [
29919 {
29920 "tag": "td"
29921 }
29922 ]
29923 }
29924 ]
29925 }
29926 ]
29927 }
29928 ]
29929 },
29930 {
29931 "tag": "a",
29932 "attrs": [
29933 {
29934 "name": "href",
29935 "value": "foo"
29936 }
29937 ],
29938 "children": [
29939 {
29940 "text": "aoe"
29941 }
29942 ]
29943 }
29944 ]
29945 }
29946 ]
29947 }
29948 ],
29949 "html": "<html><head></head><body><a href=\"blah\">aba<a href=\"foo\">br</a><a href=\"foo\">x</a><table><tbody><tr><td></td></tr></tbody></table></a><a href=\"foo\">aoe</a></body></html>",
29950 "noQuirksBodyHtml": "<a href=\"blah\">aba<a href=\"foo\">br</a><a href=\"foo\">x</a><table><tbody><tr><td></td></tr></tbody></table></a><a href=\"foo\">aoe</a>"
29951 }
29952 },
29953 {
29954 "data": "<a href=\"blah\">aba<table><tr><td><a href=\"foo\">br</td></tr>x</table>aoe",
29955 "errors": [
29956 "(1,15): expected-doctype-but-got-start-tag",
29957 "(1,54): unexpected-cell-end-tag",
29958 "(1,68): unexpected text in table",
29959 "(1,71): expected-closing-tag-but-got-eof"
29960 ],
29961 "document": {
29962 "props": {
29963 "tags": {
29964 "html": true,
29965 "head": true,
29966 "body": true,
29967 "a": true,
29968 "table": true,
29969 "tbody": true,
29970 "tr": true,
29971 "td": true
29972 }
29973 },
29974 "tree": [
29975 {
29976 "tag": "html",
29977 "children": [
29978 {
29979 "tag": "head"
29980 },
29981 {
29982 "tag": "body",
29983 "children": [
29984 {
29985 "tag": "a",
29986 "attrs": [
29987 {
29988 "name": "href",
29989 "value": "blah"
29990 }
29991 ],
29992 "children": [
29993 {
29994 "text": "abax"
29995 },
29996 {
29997 "tag": "table",
29998 "children": [
29999 {
30000 "tag": "tbody",
30001 "children": [
30002 {
30003 "tag": "tr",
30004 "children": [
30005 {
30006 "tag": "td",
30007 "children": [
30008 {
30009 "tag": "a",
30010 "attrs": [
30011 {
30012 "name": "href",
30013 "value": "foo"
30014 }
30015 ],
30016 "children": [
30017 {
30018 "text": "br"
30019 }
30020 ]
30021 }
30022 ]
30023 }
30024 ]
30025 }
30026 ]
30027 }
30028 ]
30029 },
30030 {
30031 "text": "aoe"
30032 }
30033 ]
30034 }
30035 ]
30036 }
30037 ]
30038 }
30039 ],
30040 "html": "<html><head></head><body><a href=\"blah\">abax<table><tbody><tr><td><a href=\"foo\">br</a></td></tr></tbody></table>aoe</a></body></html>",
30041 "noQuirksBodyHtml": "<a href=\"blah\">abax<table><tbody><tr><td><a href=\"foo\">br</a></td></tr></tbody></table>aoe</a>"
30042 }
30043 },
30044 {
30045 "data": "<table><a href=\"blah\">aba<tr><td><a href=\"foo\">br</td></tr>x</table>aoe",
30046 "errors": [
30047 "(1,7): expected-doctype-but-got-start-tag",
30048 "(1,22): unexpected-start-tag-implies-table-voodoo",
30049 "(1,29): foster-parenting-character-in-table",
30050 "(1,29): foster-parenting-character-in-table",
30051 "(1,29): foster-parenting-character-in-table",
30052 "(1,54): unexpected-cell-end-tag",
30053 "(1,68): foster-parenting-character-in-table",
30054 "(1,71): expected-closing-tag-but-got-eof"
30055 ],
30056 "document": {
30057 "props": {
30058 "tags": {
30059 "html": true,
30060 "head": true,
30061 "body": true,
30062 "a": true,
30063 "table": true,
30064 "tbody": true,
30065 "tr": true,
30066 "td": true
30067 }
30068 },
30069 "tree": [
30070 {
30071 "tag": "html",
30072 "children": [
30073 {
30074 "tag": "head"
30075 },
30076 {
30077 "tag": "body",
30078 "children": [
30079 {
30080 "tag": "a",
30081 "attrs": [
30082 {
30083 "name": "href",
30084 "value": "blah"
30085 }
30086 ],
30087 "children": [
30088 {
30089 "text": "aba"
30090 }
30091 ]
30092 },
30093 {
30094 "tag": "a",
30095 "attrs": [
30096 {
30097 "name": "href",
30098 "value": "blah"
30099 }
30100 ],
30101 "children": [
30102 {
30103 "text": "x"
30104 }
30105 ]
30106 },
30107 {
30108 "tag": "table",
30109 "children": [
30110 {
30111 "tag": "tbody",
30112 "children": [
30113 {
30114 "tag": "tr",
30115 "children": [
30116 {
30117 "tag": "td",
30118 "children": [
30119 {
30120 "tag": "a",
30121 "attrs": [
30122 {
30123 "name": "href",
30124 "value": "foo"
30125 }
30126 ],
30127 "children": [
30128 {
30129 "text": "br"
30130 }
30131 ]
30132 }
30133 ]
30134 }
30135 ]
30136 }
30137 ]
30138 }
30139 ]
30140 },
30141 {
30142 "tag": "a",
30143 "attrs": [
30144 {
30145 "name": "href",
30146 "value": "blah"
30147 }
30148 ],
30149 "children": [
30150 {
30151 "text": "aoe"
30152 }
30153 ]
30154 }
30155 ]
30156 }
30157 ]
30158 }
30159 ],
30160 "html": "<html><head></head><body><a href=\"blah\">aba</a><a href=\"blah\">x</a><table><tbody><tr><td><a href=\"foo\">br</a></td></tr></tbody></table><a href=\"blah\">aoe</a></body></html>",
30161 "noQuirksBodyHtml": "<a href=\"blah\">aba</a><a href=\"blah\">x</a><table><tbody><tr><td><a href=\"foo\">br</a></td></tr></tbody></table><a href=\"blah\">aoe</a>"
30162 }
30163 },
30164 {
30165 "data": "<a href=a>aa<marquee>aa<a href=b>bb</marquee>aa",
30166 "errors": [
30167 "(1,10): expected-doctype-but-got-start-tag",
30168 "(1,45): end-tag-too-early",
30169 "(1,47): expected-closing-tag-but-got-eof"
30170 ],
30171 "document": {
30172 "props": {
30173 "tags": {
30174 "html": true,
30175 "head": true,
30176 "body": true,
30177 "a": true,
30178 "marquee": true
30179 }
30180 },
30181 "tree": [
30182 {
30183 "tag": "html",
30184 "children": [
30185 {
30186 "tag": "head"
30187 },
30188 {
30189 "tag": "body",
30190 "children": [
30191 {
30192 "tag": "a",
30193 "attrs": [
30194 {
30195 "name": "href",
30196 "value": "a"
30197 }
30198 ],
30199 "children": [
30200 {
30201 "text": "aa"
30202 },
30203 {
30204 "tag": "marquee",
30205 "children": [
30206 {
30207 "text": "aa"
30208 },
30209 {
30210 "tag": "a",
30211 "attrs": [
30212 {
30213 "name": "href",
30214 "value": "b"
30215 }
30216 ],
30217 "children": [
30218 {
30219 "text": "bb"
30220 }
30221 ]
30222 }
30223 ]
30224 },
30225 {
30226 "text": "aa"
30227 }
30228 ]
30229 }
30230 ]
30231 }
30232 ]
30233 }
30234 ],
30235 "html": "<html><head></head><body><a href=\"a\">aa<marquee>aa<a href=\"b\">bb</a></marquee>aa</a></body></html>",
30236 "noQuirksBodyHtml": "<a href=\"a\">aa<marquee>aa<a href=\"b\">bb</a></marquee>aa</a>"
30237 }
30238 },
30239 {
30240 "data": "<wbr><strike><code></strike><code><strike></code>",
30241 "errors": [
30242 "(1,5): expected-doctype-but-got-start-tag",
30243 "(1,28): adoption-agency-1.3",
30244 "(1,49): adoption-agency-1.3",
30245 "(1,49): expected-closing-tag-but-got-eof"
30246 ],
30247 "document": {
30248 "props": {
30249 "tags": {
30250 "html": true,
30251 "head": true,
30252 "body": true,
30253 "wbr": true,
30254 "strike": true,
30255 "code": true
30256 }
30257 },
30258 "tree": [
30259 {
30260 "tag": "html",
30261 "children": [
30262 {
30263 "tag": "head"
30264 },
30265 {
30266 "tag": "body",
30267 "children": [
30268 {
30269 "tag": "wbr"
30270 },
30271 {
30272 "tag": "strike",
30273 "children": [
30274 {
30275 "tag": "code"
30276 }
30277 ]
30278 },
30279 {
30280 "tag": "code",
30281 "children": [
30282 {
30283 "tag": "code",
30284 "children": [
30285 {
30286 "tag": "strike"
30287 }
30288 ]
30289 }
30290 ]
30291 }
30292 ]
30293 }
30294 ]
30295 }
30296 ],
30297 "html": "<html><head></head><body><wbr><strike><code></code></strike><code><code><strike></strike></code></code></body></html>",
30298 "noQuirksBodyHtml": "<wbr><strike><code></code></strike><code><code><strike></strike></code></code>"
30299 }
30300 },
30301 {
30302 "data": "<!DOCTYPE html><spacer>foo",
30303 "errors": [
30304 "(1,26): expected-closing-tag-but-got-eof"
30305 ],
30306 "document": {
30307 "props": {
30308 "tags": {
30309 "html": true,
30310 "head": true,
30311 "body": true,
30312 "spacer": true
30313 },
30314 "doctype": true
30315 },
30316 "tree": [
30317 {
30318 "doctype": "html"
30319 },
30320 {
30321 "tag": "html",
30322 "children": [
30323 {
30324 "tag": "head"
30325 },
30326 {
30327 "tag": "body",
30328 "children": [
30329 {
30330 "tag": "spacer",
30331 "children": [
30332 {
30333 "text": "foo"
30334 }
30335 ]
30336 }
30337 ]
30338 }
30339 ]
30340 }
30341 ],
30342 "html": "<!DOCTYPE html><html><head></head><body><spacer>foo</spacer></body></html>",
30343 "noQuirksBodyHtml": "<spacer>foo</spacer>"
30344 }
30345 },
30346 {
30347 "data": "<title><meta></title><link><title><meta></title>",
30348 "errors": [
30349 "(1,7): expected-doctype-but-got-start-tag"
30350 ],
30351 "document": {
30352 "props": {
30353 "tags": {
30354 "html": true,
30355 "head": true,
30356 "title": true,
30357 "link": true,
30358 "body": true
30359 },
30360 "escaped": true
30361 },
30362 "tree": [
30363 {
30364 "tag": "html",
30365 "children": [
30366 {
30367 "tag": "head",
30368 "children": [
30369 {
30370 "tag": "title",
30371 "children": [
30372 {
30373 "text": "<meta>",
30374 "escaped": true
30375 }
30376 ]
30377 },
30378 {
30379 "tag": "link"
30380 },
30381 {
30382 "tag": "title",
30383 "children": [
30384 {
30385 "text": "<meta>",
30386 "escaped": true
30387 }
30388 ]
30389 }
30390 ]
30391 },
30392 {
30393 "tag": "body"
30394 }
30395 ]
30396 }
30397 ],
30398 "html": "<html><head><title>&lt;meta&gt;</title><link><title>&lt;meta&gt;</title></head><body></body></html>",
30399 "noQuirksBodyHtml": "<title>&lt;meta&gt;</title><link><title>&lt;meta&gt;</title>"
30400 }
30401 },
30402 {
30403 "data": "<style><!--</style><meta><script>--><link></script>",
30404 "errors": [
30405 "(1,7): expected-doctype-but-got-start-tag"
30406 ],
30407 "document": {
30408 "props": {
30409 "tags": {
30410 "html": true,
30411 "head": true,
30412 "style": true,
30413 "meta": true,
30414 "script": true,
30415 "body": true
30416 },
30417 "no_escape": true
30418 },
30419 "tree": [
30420 {
30421 "tag": "html",
30422 "children": [
30423 {
30424 "tag": "head",
30425 "children": [
30426 {
30427 "tag": "style",
30428 "children": [
30429 {
30430 "text": "<!--",
30431 "no_escape": true
30432 }
30433 ]
30434 },
30435 {
30436 "tag": "meta"
30437 },
30438 {
30439 "tag": "script",
30440 "children": [
30441 {
30442 "text": "--><link>",
30443 "no_escape": true
30444 }
30445 ]
30446 }
30447 ]
30448 },
30449 {
30450 "tag": "body"
30451 }
30452 ]
30453 }
30454 ],
30455 "html": "<html><head><style><!--</style><meta><script>--><link></script></head><body></body></html>",
30456 "noQuirksBodyHtml": "<style><!--</style><meta><script>--><link></script>"
30457 }
30458 },
30459 {
30460 "data": "<head><meta></head><link>",
30461 "errors": [
30462 "(1,6): expected-doctype-but-got-start-tag",
30463 "(1,25): unexpected-start-tag-out-of-my-head"
30464 ],
30465 "document": {
30466 "props": {
30467 "tags": {
30468 "html": true,
30469 "head": true,
30470 "meta": true,
30471 "link": true,
30472 "body": true
30473 }
30474 },
30475 "tree": [
30476 {
30477 "tag": "html",
30478 "children": [
30479 {
30480 "tag": "head",
30481 "children": [
30482 {
30483 "tag": "meta"
30484 },
30485 {
30486 "tag": "link"
30487 }
30488 ]
30489 },
30490 {
30491 "tag": "body"
30492 }
30493 ]
30494 }
30495 ],
30496 "html": "<html><head><meta><link></head><body></body></html>",
30497 "noQuirksBodyHtml": "<meta><link>"
30498 }
30499 },
30500 {
30501 "data": "<table><tr><tr><td><td><span><th><span>X</table>",
30502 "errors": [
30503 "(1,7): expected-doctype-but-got-start-tag",
30504 "(1,33): unexpected-cell-end-tag",
30505 "(1,48): unexpected-cell-end-tag"
30506 ],
30507 "document": {
30508 "props": {
30509 "tags": {
30510 "html": true,
30511 "head": true,
30512 "body": true,
30513 "table": true,
30514 "tbody": true,
30515 "tr": true,
30516 "td": true,
30517 "span": true,
30518 "th": true
30519 }
30520 },
30521 "tree": [
30522 {
30523 "tag": "html",
30524 "children": [
30525 {
30526 "tag": "head"
30527 },
30528 {
30529 "tag": "body",
30530 "children": [
30531 {
30532 "tag": "table",
30533 "children": [
30534 {
30535 "tag": "tbody",
30536 "children": [
30537 {
30538 "tag": "tr"
30539 },
30540 {
30541 "tag": "tr",
30542 "children": [
30543 {
30544 "tag": "td"
30545 },
30546 {
30547 "tag": "td",
30548 "children": [
30549 {
30550 "tag": "span"
30551 }
30552 ]
30553 },
30554 {
30555 "tag": "th",
30556 "children": [
30557 {
30558 "tag": "span",
30559 "children": [
30560 {
30561 "text": "X"
30562 }
30563 ]
30564 }
30565 ]
30566 }
30567 ]
30568 }
30569 ]
30570 }
30571 ]
30572 }
30573 ]
30574 }
30575 ]
30576 }
30577 ],
30578 "html": "<html><head></head><body><table><tbody><tr></tr><tr><td></td><td><span></span></td><th><span>X</span></th></tr></tbody></table></body></html>",
30579 "noQuirksBodyHtml": "<table><tbody><tr></tr><tr><td></td><td><span></span></td><th><span>X</span></th></tr></tbody></table>"
30580 }
30581 },
30582 {
30583 "data": "<body><body><base><link><meta><title><p></title><body><p></body>",
30584 "errors": [
30585 "(1,6): expected-doctype-but-got-start-tag",
30586 "(1,12): unexpected-start-tag",
30587 "(1,54): unexpected-start-tag"
30588 ],
30589 "document": {
30590 "props": {
30591 "tags": {
30592 "html": true,
30593 "head": true,
30594 "body": true,
30595 "base": true,
30596 "link": true,
30597 "meta": true,
30598 "title": true,
30599 "p": true
30600 },
30601 "escaped": true
30602 },
30603 "tree": [
30604 {
30605 "tag": "html",
30606 "children": [
30607 {
30608 "tag": "head"
30609 },
30610 {
30611 "tag": "body",
30612 "children": [
30613 {
30614 "tag": "base"
30615 },
30616 {
30617 "tag": "link"
30618 },
30619 {
30620 "tag": "meta"
30621 },
30622 {
30623 "tag": "title",
30624 "children": [
30625 {
30626 "text": "<p>",
30627 "escaped": true
30628 }
30629 ]
30630 },
30631 {
30632 "tag": "p"
30633 }
30634 ]
30635 }
30636 ]
30637 }
30638 ],
30639 "html": "<html><head></head><body><base><link><meta><title>&lt;p&gt;</title><p></p></body></html>",
30640 "noQuirksBodyHtml": "<base><link><meta><title>&lt;p&gt;</title><p></p>"
30641 }
30642 },
30643 {
30644 "data": "<textarea><p></textarea>",
30645 "errors": [
30646 "(1,10): expected-doctype-but-got-start-tag"
30647 ],
30648 "document": {
30649 "props": {
30650 "tags": {
30651 "html": true,
30652 "head": true,
30653 "body": true,
30654 "textarea": true
30655 },
30656 "escaped": true
30657 },
30658 "tree": [
30659 {
30660 "tag": "html",
30661 "children": [
30662 {
30663 "tag": "head"
30664 },
30665 {
30666 "tag": "body",
30667 "children": [
30668 {
30669 "tag": "textarea",
30670 "children": [
30671 {
30672 "text": "<p>",
30673 "escaped": true
30674 }
30675 ]
30676 }
30677 ]
30678 }
30679 ]
30680 }
30681 ],
30682 "html": "<html><head></head><body><textarea>&lt;p&gt;</textarea></body></html>",
30683 "noQuirksBodyHtml": "<textarea>&lt;p&gt;</textarea>"
30684 }
30685 },
30686 {
30687 "data": "<p><image></p>",
30688 "errors": [
30689 "(1,3): expected-doctype-but-got-start-tag",
30690 "(1,10): unexpected-start-tag-treated-as"
30691 ],
30692 "document": {
30693 "props": {
30694 "tags": {
30695 "html": true,
30696 "head": true,
30697 "body": true,
30698 "p": true,
30699 "img": true
30700 }
30701 },
30702 "tree": [
30703 {
30704 "tag": "html",
30705 "children": [
30706 {
30707 "tag": "head"
30708 },
30709 {
30710 "tag": "body",
30711 "children": [
30712 {
30713 "tag": "p",
30714 "children": [
30715 {
30716 "tag": "img"
30717 }
30718 ]
30719 }
30720 ]
30721 }
30722 ]
30723 }
30724 ],
30725 "html": "<html><head></head><body><p><img></p></body></html>",
30726 "noQuirksBodyHtml": "<p><img></p>"
30727 }
30728 },
30729 {
30730 "data": "<a><table><a></table><p><a><div><a>",
30731 "errors": [
30732 "(1,3): expected-doctype-but-got-start-tag",
30733 "(1,13): unexpected-start-tag-implies-table-voodoo",
30734 "(1,13): unexpected-start-tag-implies-end-tag",
30735 "(1,13): adoption-agency-1.3",
30736 "(1,27): unexpected-start-tag-implies-end-tag",
30737 "(1,27): adoption-agency-1.2",
30738 "(1,32): unexpected-end-tag",
30739 "(1,35): unexpected-start-tag-implies-end-tag",
30740 "(1,35): adoption-agency-1.2",
30741 "(1,35): expected-closing-tag-but-got-eof"
30742 ],
30743 "document": {
30744 "props": {
30745 "tags": {
30746 "html": true,
30747 "head": true,
30748 "body": true,
30749 "a": true,
30750 "table": true,
30751 "p": true,
30752 "div": true
30753 }
30754 },
30755 "tree": [
30756 {
30757 "tag": "html",
30758 "children": [
30759 {
30760 "tag": "head"
30761 },
30762 {
30763 "tag": "body",
30764 "children": [
30765 {
30766 "tag": "a",
30767 "children": [
30768 {
30769 "tag": "a"
30770 },
30771 {
30772 "tag": "table"
30773 }
30774 ]
30775 },
30776 {
30777 "tag": "p",
30778 "children": [
30779 {
30780 "tag": "a"
30781 }
30782 ]
30783 },
30784 {
30785 "tag": "div",
30786 "children": [
30787 {
30788 "tag": "a"
30789 }
30790 ]
30791 }
30792 ]
30793 }
30794 ]
30795 }
30796 ],
30797 "html": "<html><head></head><body><a><a></a><table></table></a><p><a></a></p><div><a></a></div></body></html>",
30798 "noQuirksBodyHtml": "<a><a></a><table></table></a><p><a></a></p><div><a></a></div>"
30799 }
30800 },
30801 {
30802 "data": "<head></p><meta><p>",
30803 "errors": [
30804 "(1,6): expected-doctype-but-got-start-tag",
30805 "(1,10): unexpected-end-tag"
30806 ],
30807 "document": {
30808 "props": {
30809 "tags": {
30810 "html": true,
30811 "head": true,
30812 "meta": true,
30813 "body": true,
30814 "p": true
30815 }
30816 },
30817 "tree": [
30818 {
30819 "tag": "html",
30820 "children": [
30821 {
30822 "tag": "head",
30823 "children": [
30824 {
30825 "tag": "meta"
30826 }
30827 ]
30828 },
30829 {
30830 "tag": "body",
30831 "children": [
30832 {
30833 "tag": "p"
30834 }
30835 ]
30836 }
30837 ]
30838 }
30839 ],
30840 "html": "<html><head><meta></head><body><p></p></body></html>",
30841 "noQuirksBodyHtml": "<p></p><meta><p></p>"
30842 }
30843 },
30844 {
30845 "data": "<head></html><meta><p>",
30846 "errors": [
30847 "(1,6): expected-doctype-but-got-start-tag",
30848 "(1,19): expected-eof-but-got-start-tag"
30849 ],
30850 "document": {
30851 "props": {
30852 "tags": {
30853 "html": true,
30854 "head": true,
30855 "body": true,
30856 "meta": true,
30857 "p": true
30858 }
30859 },
30860 "tree": [
30861 {
30862 "tag": "html",
30863 "children": [
30864 {
30865 "tag": "head"
30866 },
30867 {
30868 "tag": "body",
30869 "children": [
30870 {
30871 "tag": "meta"
30872 },
30873 {
30874 "tag": "p"
30875 }
30876 ]
30877 }
30878 ]
30879 }
30880 ],
30881 "html": "<html><head></head><body><meta><p></p></body></html>",
30882 "noQuirksBodyHtml": "<meta><p></p>"
30883 }
30884 },
30885 {
30886 "data": "<b><table><td><i></table>",
30887 "errors": [
30888 "(1,3): expected-doctype-but-got-start-tag",
30889 "(1,14): unexpected-cell-in-table-body",
30890 "(1,25): unexpected-cell-end-tag",
30891 "(1,25): expected-closing-tag-but-got-eof"
30892 ],
30893 "document": {
30894 "props": {
30895 "tags": {
30896 "html": true,
30897 "head": true,
30898 "body": true,
30899 "b": true,
30900 "table": true,
30901 "tbody": true,
30902 "tr": true,
30903 "td": true,
30904 "i": true
30905 }
30906 },
30907 "tree": [
30908 {
30909 "tag": "html",
30910 "children": [
30911 {
30912 "tag": "head"
30913 },
30914 {
30915 "tag": "body",
30916 "children": [
30917 {
30918 "tag": "b",
30919 "children": [
30920 {
30921 "tag": "table",
30922 "children": [
30923 {
30924 "tag": "tbody",
30925 "children": [
30926 {
30927 "tag": "tr",
30928 "children": [
30929 {
30930 "tag": "td",
30931 "children": [
30932 {
30933 "tag": "i"
30934 }
30935 ]
30936 }
30937 ]
30938 }
30939 ]
30940 }
30941 ]
30942 }
30943 ]
30944 }
30945 ]
30946 }
30947 ]
30948 }
30949 ],
30950 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
30951 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
30952 }
30953 },
30954 {
30955 "data": "<b><table><td></b><i></table>",
30956 "errors": [
30957 "(1,3): expected-doctype-but-got-start-tag",
30958 "(1,14): unexpected-cell-in-table-body",
30959 "(1,18): unexpected-end-tag",
30960 "(1,29): unexpected-cell-end-tag",
30961 "(1,29): expected-closing-tag-but-got-eof"
30962 ],
30963 "document": {
30964 "props": {
30965 "tags": {
30966 "html": true,
30967 "head": true,
30968 "body": true,
30969 "b": true,
30970 "table": true,
30971 "tbody": true,
30972 "tr": true,
30973 "td": true,
30974 "i": true
30975 }
30976 },
30977 "tree": [
30978 {
30979 "tag": "html",
30980 "children": [
30981 {
30982 "tag": "head"
30983 },
30984 {
30985 "tag": "body",
30986 "children": [
30987 {
30988 "tag": "b",
30989 "children": [
30990 {
30991 "tag": "table",
30992 "children": [
30993 {
30994 "tag": "tbody",
30995 "children": [
30996 {
30997 "tag": "tr",
30998 "children": [
30999 {
31000 "tag": "td",
31001 "children": [
31002 {
31003 "tag": "i"
31004 }
31005 ]
31006 }
31007 ]
31008 }
31009 ]
31010 }
31011 ]
31012 }
31013 ]
31014 }
31015 ]
31016 }
31017 ]
31018 }
31019 ],
31020 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
31021 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
31022 }
31023 },
31024 {
31025 "data": "<h1><h2>",
31026 "errors": [
31027 "(1,4): expected-doctype-but-got-start-tag",
31028 "(1,8): unexpected-start-tag",
31029 "(1,8): expected-closing-tag-but-got-eof"
31030 ],
31031 "document": {
31032 "props": {
31033 "tags": {
31034 "html": true,
31035 "head": true,
31036 "body": true,
31037 "h1": true,
31038 "h2": true
31039 }
31040 },
31041 "tree": [
31042 {
31043 "tag": "html",
31044 "children": [
31045 {
31046 "tag": "head"
31047 },
31048 {
31049 "tag": "body",
31050 "children": [
31051 {
31052 "tag": "h1"
31053 },
31054 {
31055 "tag": "h2"
31056 }
31057 ]
31058 }
31059 ]
31060 }
31061 ],
31062 "html": "<html><head></head><body><h1></h1><h2></h2></body></html>",
31063 "noQuirksBodyHtml": "<h1></h1><h2></h2>"
31064 }
31065 },
31066 {
31067 "data": "<a><p><a></a></p></a>",
31068 "errors": [
31069 "(1,3): expected-doctype-but-got-start-tag",
31070 "(1,9): unexpected-start-tag-implies-end-tag",
31071 "(1,9): adoption-agency-1.3",
31072 "(1,21): unexpected-end-tag"
31073 ],
31074 "document": {
31075 "props": {
31076 "tags": {
31077 "html": true,
31078 "head": true,
31079 "body": true,
31080 "a": true,
31081 "p": true
31082 }
31083 },
31084 "tree": [
31085 {
31086 "tag": "html",
31087 "children": [
31088 {
31089 "tag": "head"
31090 },
31091 {
31092 "tag": "body",
31093 "children": [
31094 {
31095 "tag": "a"
31096 },
31097 {
31098 "tag": "p",
31099 "children": [
31100 {
31101 "tag": "a"
31102 },
31103 {
31104 "tag": "a"
31105 }
31106 ]
31107 }
31108 ]
31109 }
31110 ]
31111 }
31112 ],
31113 "html": "<html><head></head><body><a></a><p><a></a><a></a></p></body></html>",
31114 "noQuirksBodyHtml": "<a></a><p><a></a><a></a></p>"
31115 }
31116 },
31117 {
31118 "data": "<b><button></b></button></b>",
31119 "errors": [
31120 "(1,3): expected-doctype-but-got-start-tag",
31121 "(1,15): adoption-agency-1.3",
31122 "(1,28): unexpected-end-tag"
31123 ],
31124 "document": {
31125 "props": {
31126 "tags": {
31127 "html": true,
31128 "head": true,
31129 "body": true,
31130 "b": true,
31131 "button": true
31132 }
31133 },
31134 "tree": [
31135 {
31136 "tag": "html",
31137 "children": [
31138 {
31139 "tag": "head"
31140 },
31141 {
31142 "tag": "body",
31143 "children": [
31144 {
31145 "tag": "b"
31146 },
31147 {
31148 "tag": "button",
31149 "children": [
31150 {
31151 "tag": "b"
31152 }
31153 ]
31154 }
31155 ]
31156 }
31157 ]
31158 }
31159 ],
31160 "html": "<html><head></head><body><b></b><button><b></b></button></body></html>",
31161 "noQuirksBodyHtml": "<b></b><button><b></b></button>"
31162 }
31163 },
31164 {
31165 "data": "<p><b><div><marquee></p></b></div>",
31166 "errors": [
31167 "(1,3): expected-doctype-but-got-start-tag",
31168 "(1,11): unexpected-end-tag",
31169 "(1,24): unexpected-end-tag",
31170 "(1,28): unexpected-end-tag",
31171 "(1,34): end-tag-too-early",
31172 "(1,34): expected-closing-tag-but-got-eof"
31173 ],
31174 "document": {
31175 "props": {
31176 "tags": {
31177 "html": true,
31178 "head": true,
31179 "body": true,
31180 "p": true,
31181 "b": true,
31182 "div": true,
31183 "marquee": true
31184 }
31185 },
31186 "tree": [
31187 {
31188 "tag": "html",
31189 "children": [
31190 {
31191 "tag": "head"
31192 },
31193 {
31194 "tag": "body",
31195 "children": [
31196 {
31197 "tag": "p",
31198 "children": [
31199 {
31200 "tag": "b"
31201 }
31202 ]
31203 },
31204 {
31205 "tag": "div",
31206 "children": [
31207 {
31208 "tag": "b",
31209 "children": [
31210 {
31211 "tag": "marquee",
31212 "children": [
31213 {
31214 "tag": "p"
31215 }
31216 ]
31217 }
31218 ]
31219 }
31220 ]
31221 }
31222 ]
31223 }
31224 ]
31225 }
31226 ],
31227 "html": "<html><head></head><body><p><b></b></p><div><b><marquee><p></p></marquee></b></div></body></html>",
31228 "noQuirksBodyHtml": "<p><b></b></p><div><b><marquee><p></p></marquee></b></div>"
31229 }
31230 },
31231 {
31232 "data": "<script></script></div><title></title><p><p>",
31233 "errors": [
31234 "(1,8): expected-doctype-but-got-start-tag",
31235 "(1,23): unexpected-end-tag"
31236 ],
31237 "document": {
31238 "props": {
31239 "tags": {
31240 "html": true,
31241 "head": true,
31242 "script": true,
31243 "title": true,
31244 "body": true,
31245 "p": true
31246 }
31247 },
31248 "tree": [
31249 {
31250 "tag": "html",
31251 "children": [
31252 {
31253 "tag": "head",
31254 "children": [
31255 {
31256 "tag": "script"
31257 },
31258 {
31259 "tag": "title"
31260 }
31261 ]
31262 },
31263 {
31264 "tag": "body",
31265 "children": [
31266 {
31267 "tag": "p"
31268 },
31269 {
31270 "tag": "p"
31271 }
31272 ]
31273 }
31274 ]
31275 }
31276 ],
31277 "html": "<html><head><script></script><title></title></head><body><p></p><p></p></body></html>",
31278 "noQuirksBodyHtml": "<script></script><title></title><p></p><p></p>"
31279 }
31280 },
31281 {
31282 "data": "<p><hr></p>",
31283 "errors": [
31284 "(1,3): expected-doctype-but-got-start-tag",
31285 "(1,11): unexpected-end-tag"
31286 ],
31287 "document": {
31288 "props": {
31289 "tags": {
31290 "html": true,
31291 "head": true,
31292 "body": true,
31293 "p": true,
31294 "hr": true
31295 }
31296 },
31297 "tree": [
31298 {
31299 "tag": "html",
31300 "children": [
31301 {
31302 "tag": "head"
31303 },
31304 {
31305 "tag": "body",
31306 "children": [
31307 {
31308 "tag": "p"
31309 },
31310 {
31311 "tag": "hr"
31312 },
31313 {
31314 "tag": "p"
31315 }
31316 ]
31317 }
31318 ]
31319 }
31320 ],
31321 "html": "<html><head></head><body><p></p><hr><p></p></body></html>",
31322 "noQuirksBodyHtml": "<p></p><hr><p></p>"
31323 }
31324 },
31325 {
31326 "data": "<select><b><option><select><option></b></select>",
31327 "errors": [
31328 "(1,8): expected-doctype-but-got-start-tag",
31329 "(1,11): unexpected-start-tag-in-select",
31330 "(1,27): unexpected-select-in-select",
31331 "(1,39): unexpected-end-tag",
31332 "(1,48): unexpected-end-tag"
31333 ],
31334 "document": {
31335 "props": {
31336 "tags": {
31337 "html": true,
31338 "head": true,
31339 "body": true,
31340 "select": true,
31341 "option": true
31342 }
31343 },
31344 "tree": [
31345 {
31346 "tag": "html",
31347 "children": [
31348 {
31349 "tag": "head"
31350 },
31351 {
31352 "tag": "body",
31353 "children": [
31354 {
31355 "tag": "select",
31356 "children": [
31357 {
31358 "tag": "option"
31359 }
31360 ]
31361 },
31362 {
31363 "tag": "option"
31364 }
31365 ]
31366 }
31367 ]
31368 }
31369 ],
31370 "html": "<html><head></head><body><select><option></option></select><option></option></body></html>",
31371 "noQuirksBodyHtml": "<select><option></option></select><option></option>"
31372 }
31373 },
31374 {
31375 "data": "<html><head><title></title><body></body></html>",
31376 "errors": [
31377 "(1,6): expected-doctype-but-got-start-tag"
31378 ],
31379 "document": {
31380 "props": {
31381 "tags": {
31382 "html": true,
31383 "head": true,
31384 "title": true,
31385 "body": true
31386 }
31387 },
31388 "tree": [
31389 {
31390 "tag": "html",
31391 "children": [
31392 {
31393 "tag": "head",
31394 "children": [
31395 {
31396 "tag": "title"
31397 }
31398 ]
31399 },
31400 {
31401 "tag": "body"
31402 }
31403 ]
31404 }
31405 ],
31406 "html": "<html><head><title></title></head><body></body></html>",
31407 "noQuirksBodyHtml": "<title></title>"
31408 }
31409 },
31410 {
31411 "data": "<a><table><td><a><table></table><a></tr><a></table><a>",
31412 "errors": [
31413 "(1,3): expected-doctype-but-got-start-tag",
31414 "(1,14): unexpected-cell-in-table-body",
31415 "(1,35): unexpected-start-tag-implies-end-tag",
31416 "(1,40): unexpected-cell-end-tag",
31417 "(1,43): unexpected-start-tag-implies-table-voodoo",
31418 "(1,43): unexpected-start-tag-implies-end-tag",
31419 "(1,43): unexpected-end-tag",
31420 "(1,54): unexpected-start-tag-implies-end-tag",
31421 "(1,54): adoption-agency-1.2",
31422 "(1,54): expected-closing-tag-but-got-eof"
31423 ],
31424 "document": {
31425 "props": {
31426 "tags": {
31427 "html": true,
31428 "head": true,
31429 "body": true,
31430 "a": true,
31431 "table": true,
31432 "tbody": true,
31433 "tr": true,
31434 "td": true
31435 }
31436 },
31437 "tree": [
31438 {
31439 "tag": "html",
31440 "children": [
31441 {
31442 "tag": "head"
31443 },
31444 {
31445 "tag": "body",
31446 "children": [
31447 {
31448 "tag": "a",
31449 "children": [
31450 {
31451 "tag": "a"
31452 },
31453 {
31454 "tag": "table",
31455 "children": [
31456 {
31457 "tag": "tbody",
31458 "children": [
31459 {
31460 "tag": "tr",
31461 "children": [
31462 {
31463 "tag": "td",
31464 "children": [
31465 {
31466 "tag": "a",
31467 "children": [
31468 {
31469 "tag": "table"
31470 }
31471 ]
31472 },
31473 {
31474 "tag": "a"
31475 }
31476 ]
31477 }
31478 ]
31479 }
31480 ]
31481 }
31482 ]
31483 }
31484 ]
31485 },
31486 {
31487 "tag": "a"
31488 }
31489 ]
31490 }
31491 ]
31492 }
31493 ],
31494 "html": "<html><head></head><body><a><a></a><table><tbody><tr><td><a><table></table></a><a></a></td></tr></tbody></table></a><a></a></body></html>",
31495 "noQuirksBodyHtml": "<a><a></a><table><tbody><tr><td><a><table></table></a><a></a></td></tr></tbody></table></a><a></a>"
31496 }
31497 },
31498 {
31499 "data": "<ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>",
31500 "errors": [
31501 "(1,4): expected-doctype-but-got-start-tag",
31502 "(1,45): end-tag-too-early",
31503 "(1,58): end-tag-too-early",
31504 "(1,69): adoption-agency-1.3"
31505 ],
31506 "document": {
31507 "props": {
31508 "tags": {
31509 "html": true,
31510 "head": true,
31511 "body": true,
31512 "ul": true,
31513 "li": true,
31514 "div": true,
31515 "address": true,
31516 "b": true,
31517 "em": true
31518 }
31519 },
31520 "tree": [
31521 {
31522 "tag": "html",
31523 "children": [
31524 {
31525 "tag": "head"
31526 },
31527 {
31528 "tag": "body",
31529 "children": [
31530 {
31531 "tag": "ul",
31532 "children": [
31533 {
31534 "tag": "li"
31535 },
31536 {
31537 "tag": "div",
31538 "children": [
31539 {
31540 "tag": "li"
31541 }
31542 ]
31543 },
31544 {
31545 "tag": "li"
31546 },
31547 {
31548 "tag": "li",
31549 "children": [
31550 {
31551 "tag": "div"
31552 }
31553 ]
31554 },
31555 {
31556 "tag": "li",
31557 "children": [
31558 {
31559 "tag": "address"
31560 }
31561 ]
31562 },
31563 {
31564 "tag": "li",
31565 "children": [
31566 {
31567 "tag": "b",
31568 "children": [
31569 {
31570 "tag": "em"
31571 }
31572 ]
31573 }
31574 ]
31575 },
31576 {
31577 "tag": "li"
31578 }
31579 ]
31580 }
31581 ]
31582 }
31583 ]
31584 }
31585 ],
31586 "html": "<html><head></head><body><ul><li></li><div><li></li></div><li></li><li><div></div></li><li><address></address></li><li><b><em></em></b></li><li></li></ul></body></html>",
31587 "noQuirksBodyHtml": "<ul><li></li><div><li></li></div><li></li><li><div></div></li><li><address></address></li><li><b><em></em></b></li><li></li></ul>"
31588 }
31589 },
31590 {
31591 "data": "<ul><li><ul></li><li>a</li></ul></li></ul>",
31592 "errors": [
31593 "(1,4): expected-doctype-but-got-start-tag",
31594 "(1,17): unexpected-end-tag"
31595 ],
31596 "document": {
31597 "props": {
31598 "tags": {
31599 "html": true,
31600 "head": true,
31601 "body": true,
31602 "ul": true,
31603 "li": true
31604 }
31605 },
31606 "tree": [
31607 {
31608 "tag": "html",
31609 "children": [
31610 {
31611 "tag": "head"
31612 },
31613 {
31614 "tag": "body",
31615 "children": [
31616 {
31617 "tag": "ul",
31618 "children": [
31619 {
31620 "tag": "li",
31621 "children": [
31622 {
31623 "tag": "ul",
31624 "children": [
31625 {
31626 "tag": "li",
31627 "children": [
31628 {
31629 "text": "a"
31630 }
31631 ]
31632 }
31633 ]
31634 }
31635 ]
31636 }
31637 ]
31638 }
31639 ]
31640 }
31641 ]
31642 }
31643 ],
31644 "html": "<html><head></head><body><ul><li><ul><li>a</li></ul></li></ul></body></html>",
31645 "noQuirksBodyHtml": "<ul><li><ul><li>a</li></ul></li></ul>"
31646 }
31647 },
31648 {
31649 "data": "<frameset><frame><frameset><frame></frameset><noframes></noframes></frameset>",
31650 "errors": [
31651 "(1,10): expected-doctype-but-got-start-tag"
31652 ],
31653 "document": {
31654 "props": {
31655 "tags": {
31656 "html": true,
31657 "head": true,
31658 "frameset": true,
31659 "frame": true,
31660 "noframes": true
31661 }
31662 },
31663 "tree": [
31664 {
31665 "tag": "html",
31666 "children": [
31667 {
31668 "tag": "head"
31669 },
31670 {
31671 "tag": "frameset",
31672 "children": [
31673 {
31674 "tag": "frame"
31675 },
31676 {
31677 "tag": "frameset",
31678 "children": [
31679 {
31680 "tag": "frame"
31681 }
31682 ]
31683 },
31684 {
31685 "tag": "noframes"
31686 }
31687 ]
31688 }
31689 ]
31690 }
31691 ],
31692 "html": "<html><head></head><frameset><frame><frameset><frame></frameset><noframes></noframes></frameset></html>",
31693 "noQuirksBodyHtml": "<noframes></noframes>"
31694 }
31695 },
31696 {
31697 "data": "<h1><table><td><h3></table><h3></h1>",
31698 "errors": [
31699 "(1,4): expected-doctype-but-got-start-tag",
31700 "(1,15): unexpected-cell-in-table-body",
31701 "(1,27): unexpected-cell-end-tag",
31702 "(1,31): unexpected-start-tag",
31703 "(1,36): end-tag-too-early"
31704 ],
31705 "document": {
31706 "props": {
31707 "tags": {
31708 "html": true,
31709 "head": true,
31710 "body": true,
31711 "h1": true,
31712 "table": true,
31713 "tbody": true,
31714 "tr": true,
31715 "td": true,
31716 "h3": true
31717 }
31718 },
31719 "tree": [
31720 {
31721 "tag": "html",
31722 "children": [
31723 {
31724 "tag": "head"
31725 },
31726 {
31727 "tag": "body",
31728 "children": [
31729 {
31730 "tag": "h1",
31731 "children": [
31732 {
31733 "tag": "table",
31734 "children": [
31735 {
31736 "tag": "tbody",
31737 "children": [
31738 {
31739 "tag": "tr",
31740 "children": [
31741 {
31742 "tag": "td",
31743 "children": [
31744 {
31745 "tag": "h3"
31746 }
31747 ]
31748 }
31749 ]
31750 }
31751 ]
31752 }
31753 ]
31754 }
31755 ]
31756 },
31757 {
31758 "tag": "h3"
31759 }
31760 ]
31761 }
31762 ]
31763 }
31764 ],
31765 "html": "<html><head></head><body><h1><table><tbody><tr><td><h3></h3></td></tr></tbody></table></h1><h3></h3></body></html>",
31766 "noQuirksBodyHtml": "<h1><table><tbody><tr><td><h3></h3></td></tr></tbody></table></h1><h3></h3>"
31767 }
31768 },
31769 {
31770 "data": "<table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table>",
31771 "errors": [
31772 "(1,7): expected-doctype-but-got-start-tag"
31773 ],
31774 "document": {
31775 "props": {
31776 "tags": {
31777 "html": true,
31778 "head": true,
31779 "body": true,
31780 "table": true,
31781 "colgroup": true,
31782 "col": true,
31783 "thead": true,
31784 "tr": true,
31785 "td": true
31786 }
31787 },
31788 "tree": [
31789 {
31790 "tag": "html",
31791 "children": [
31792 {
31793 "tag": "head"
31794 },
31795 {
31796 "tag": "body",
31797 "children": [
31798 {
31799 "tag": "table",
31800 "children": [
31801 {
31802 "tag": "colgroup",
31803 "children": [
31804 {
31805 "tag": "col"
31806 }
31807 ]
31808 },
31809 {
31810 "tag": "colgroup",
31811 "children": [
31812 {
31813 "tag": "col"
31814 },
31815 {
31816 "tag": "col"
31817 },
31818 {
31819 "tag": "col"
31820 }
31821 ]
31822 },
31823 {
31824 "tag": "colgroup",
31825 "children": [
31826 {
31827 "tag": "col"
31828 },
31829 {
31830 "tag": "col"
31831 }
31832 ]
31833 },
31834 {
31835 "tag": "thead",
31836 "children": [
31837 {
31838 "tag": "tr",
31839 "children": [
31840 {
31841 "tag": "td"
31842 }
31843 ]
31844 }
31845 ]
31846 }
31847 ]
31848 }
31849 ]
31850 }
31851 ]
31852 }
31853 ],
31854 "html": "<html><head></head><body><table><colgroup><col></colgroup><colgroup><col><col><col></colgroup><colgroup><col><col></colgroup><thead><tr><td></td></tr></thead></table></body></html>",
31855 "noQuirksBodyHtml": "<table><colgroup><col></colgroup><colgroup><col><col><col></colgroup><colgroup><col><col></colgroup><thead><tr><td></td></tr></thead></table>"
31856 }
31857 },
31858 {
31859 "data": "<table><col><tbody><col><tr><col><td><col></table><col>",
31860 "errors": [
31861 "(1,7): expected-doctype-but-got-start-tag",
31862 "(1,37): unexpected-cell-in-table-body",
31863 "(1,55): unexpected-start-tag-ignored"
31864 ],
31865 "document": {
31866 "props": {
31867 "tags": {
31868 "html": true,
31869 "head": true,
31870 "body": true,
31871 "table": true,
31872 "colgroup": true,
31873 "col": true,
31874 "tbody": true,
31875 "tr": true,
31876 "td": true
31877 }
31878 },
31879 "tree": [
31880 {
31881 "tag": "html",
31882 "children": [
31883 {
31884 "tag": "head"
31885 },
31886 {
31887 "tag": "body",
31888 "children": [
31889 {
31890 "tag": "table",
31891 "children": [
31892 {
31893 "tag": "colgroup",
31894 "children": [
31895 {
31896 "tag": "col"
31897 }
31898 ]
31899 },
31900 {
31901 "tag": "tbody"
31902 },
31903 {
31904 "tag": "colgroup",
31905 "children": [
31906 {
31907 "tag": "col"
31908 }
31909 ]
31910 },
31911 {
31912 "tag": "tbody",
31913 "children": [
31914 {
31915 "tag": "tr"
31916 }
31917 ]
31918 },
31919 {
31920 "tag": "colgroup",
31921 "children": [
31922 {
31923 "tag": "col"
31924 }
31925 ]
31926 },
31927 {
31928 "tag": "tbody",
31929 "children": [
31930 {
31931 "tag": "tr",
31932 "children": [
31933 {
31934 "tag": "td"
31935 }
31936 ]
31937 }
31938 ]
31939 },
31940 {
31941 "tag": "colgroup",
31942 "children": [
31943 {
31944 "tag": "col"
31945 }
31946 ]
31947 }
31948 ]
31949 }
31950 ]
31951 }
31952 ]
31953 }
31954 ],
31955 "html": "<html><head></head><body><table><colgroup><col></colgroup><tbody></tbody><colgroup><col></colgroup><tbody><tr></tr></tbody><colgroup><col></colgroup><tbody><tr><td></td></tr></tbody><colgroup><col></colgroup></table></body></html>",
31956 "noQuirksBodyHtml": "<table><colgroup><col></colgroup><tbody></tbody><colgroup><col></colgroup><tbody><tr></tr></tbody><colgroup><col></colgroup><tbody><tr><td></td></tr></tbody><colgroup><col></colgroup></table>"
31957 }
31958 },
31959 {
31960 "data": "<table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>",
31961 "errors": [
31962 "(1,7): expected-doctype-but-got-start-tag",
31963 "(1,52): unexpected-cell-in-table-body",
31964 "(1,80): unexpected-start-tag-ignored"
31965 ],
31966 "document": {
31967 "props": {
31968 "tags": {
31969 "html": true,
31970 "head": true,
31971 "body": true,
31972 "table": true,
31973 "colgroup": true,
31974 "tbody": true,
31975 "tr": true,
31976 "td": true
31977 }
31978 },
31979 "tree": [
31980 {
31981 "tag": "html",
31982 "children": [
31983 {
31984 "tag": "head"
31985 },
31986 {
31987 "tag": "body",
31988 "children": [
31989 {
31990 "tag": "table",
31991 "children": [
31992 {
31993 "tag": "colgroup"
31994 },
31995 {
31996 "tag": "tbody"
31997 },
31998 {
31999 "tag": "colgroup"
32000 },
32001 {
32002 "tag": "tbody",
32003 "children": [
32004 {
32005 "tag": "tr"
32006 }
32007 ]
32008 },
32009 {
32010 "tag": "colgroup"
32011 },
32012 {
32013 "tag": "tbody",
32014 "children": [
32015 {
32016 "tag": "tr",
32017 "children": [
32018 {
32019 "tag": "td"
32020 }
32021 ]
32022 }
32023 ]
32024 },
32025 {
32026 "tag": "colgroup"
32027 }
32028 ]
32029 }
32030 ]
32031 }
32032 ]
32033 }
32034 ],
32035 "html": "<html><head></head><body><table><colgroup></colgroup><tbody></tbody><colgroup></colgroup><tbody><tr></tr></tbody><colgroup></colgroup><tbody><tr><td></td></tr></tbody><colgroup></colgroup></table></body></html>",
32036 "noQuirksBodyHtml": "<table><colgroup></colgroup><tbody></tbody><colgroup></colgroup><tbody><tr></tr></tbody><colgroup></colgroup><tbody><tr><td></td></tr></tbody><colgroup></colgroup></table>"
32037 }
32038 },
32039 {
32040 "data": "</strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>",
32041 "errors": [
32042 "(1,9): expected-doctype-but-got-end-tag",
32043 "(1,9): unexpected-end-tag-before-html",
32044 "(1,13): unexpected-end-tag-before-html",
32045 "(1,18): unexpected-end-tag-before-html",
32046 "(1,22): unexpected-end-tag-before-html",
32047 "(1,26): unexpected-end-tag-before-html",
32048 "(1,35): unexpected-end-tag-before-html",
32049 "(1,39): unexpected-end-tag-before-html",
32050 "(1,47): unexpected-end-tag-before-html",
32051 "(1,52): unexpected-end-tag-before-html",
32052 "(1,58): unexpected-end-tag-before-html",
32053 "(1,64): unexpected-end-tag-before-html",
32054 "(1,72): unexpected-end-tag-before-html",
32055 "(1,79): unexpected-end-tag-before-html",
32056 "(1,88): unexpected-end-tag-before-html",
32057 "(1,93): unexpected-end-tag-before-html",
32058 "(1,98): unexpected-end-tag-before-html",
32059 "(1,103): unexpected-end-tag-before-html",
32060 "(1,108): unexpected-end-tag-before-html",
32061 "(1,113): unexpected-end-tag-before-html",
32062 "(1,118): unexpected-end-tag-before-html",
32063 "(1,130): unexpected-end-tag-after-body",
32064 "(1,130): unexpected-end-tag-treated-as",
32065 "(1,134): unexpected-end-tag",
32066 "(1,140): unexpected-end-tag",
32067 "(1,148): unexpected-end-tag",
32068 "(1,155): unexpected-end-tag",
32069 "(1,163): unexpected-end-tag",
32070 "(1,172): unexpected-end-tag",
32071 "(1,180): unexpected-end-tag",
32072 "(1,185): unexpected-end-tag",
32073 "(1,190): unexpected-end-tag",
32074 "(1,195): unexpected-end-tag",
32075 "(1,203): unexpected-end-tag",
32076 "(1,210): unexpected-end-tag",
32077 "(1,217): unexpected-end-tag",
32078 "(1,225): unexpected-end-tag",
32079 "(1,230): unexpected-end-tag",
32080 "(1,238): unexpected-end-tag",
32081 "(1,244): unexpected-end-tag",
32082 "(1,251): unexpected-end-tag",
32083 "(1,258): unexpected-end-tag",
32084 "(1,269): unexpected-end-tag",
32085 "(1,279): unexpected-end-tag",
32086 "(1,287): unexpected-end-tag",
32087 "(1,296): unexpected-end-tag",
32088 "(1,300): unexpected-end-tag",
32089 "(1,305): unexpected-end-tag",
32090 "(1,310): unexpected-end-tag",
32091 "(1,320): unexpected-end-tag",
32092 "(1,331): unexpected-end-tag",
32093 "(1,339): unexpected-end-tag",
32094 "(1,347): unexpected-end-tag",
32095 "(1,355): unexpected-end-tag",
32096 "(1,365): end-tag-too-early",
32097 "(1,378): end-tag-too-early",
32098 "(1,387): end-tag-too-early",
32099 "(1,393): end-tag-too-early",
32100 "(1,399): end-tag-too-early",
32101 "(1,404): end-tag-too-early",
32102 "(1,415): end-tag-too-early",
32103 "(1,425): end-tag-too-early",
32104 "(1,432): end-tag-too-early",
32105 "(1,437): end-tag-too-early",
32106 "(1,442): end-tag-too-early",
32107 "(1,447): unexpected-end-tag",
32108 "(1,454): unexpected-end-tag",
32109 "(1,460): unexpected-end-tag",
32110 "(1,467): unexpected-end-tag",
32111 "(1,476): end-tag-too-early",
32112 "(1,486): end-tag-too-early",
32113 "(1,495): end-tag-too-early",
32114 "(1,513): expected-eof-but-got-end-tag",
32115 "(1,513): unexpected-end-tag",
32116 "(1,520): unexpected-end-tag",
32117 "(1,529): unexpected-end-tag",
32118 "(1,537): unexpected-end-tag",
32119 "(1,547): unexpected-end-tag",
32120 "(1,557): unexpected-end-tag",
32121 "(1,568): unexpected-end-tag",
32122 "(1,579): unexpected-end-tag",
32123 "(1,590): unexpected-end-tag",
32124 "(1,599): unexpected-end-tag",
32125 "(1,611): unexpected-end-tag",
32126 "(1,622): unexpected-end-tag"
32127 ],
32128 "document": {
32129 "props": {
32130 "tags": {
32131 "html": true,
32132 "head": true,
32133 "body": true,
32134 "br": true,
32135 "p": true
32136 }
32137 },
32138 "tree": [
32139 {
32140 "tag": "html",
32141 "children": [
32142 {
32143 "tag": "head"
32144 },
32145 {
32146 "tag": "body",
32147 "children": [
32148 {
32149 "tag": "br"
32150 },
32151 {
32152 "tag": "p"
32153 }
32154 ]
32155 }
32156 ]
32157 }
32158 ],
32159 "html": "<html><head></head><body><br><p></p></body></html>",
32160 "noQuirksBodyHtml": "<br><p></p>"
32161 }
32162 },
32163 {
32164 "data": "<table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>",
32165 "errors": [
32166 "(1,7): expected-doctype-but-got-start-tag",
32167 "(1,20): unexpected-end-tag-implies-table-voodoo",
32168 "(1,20): unexpected-end-tag",
32169 "(1,24): unexpected-end-tag-implies-table-voodoo",
32170 "(1,24): unexpected-end-tag",
32171 "(1,29): unexpected-end-tag-implies-table-voodoo",
32172 "(1,29): unexpected-end-tag",
32173 "(1,33): unexpected-end-tag-implies-table-voodoo",
32174 "(1,33): unexpected-end-tag",
32175 "(1,37): unexpected-end-tag-implies-table-voodoo",
32176 "(1,37): unexpected-end-tag",
32177 "(1,46): unexpected-end-tag-implies-table-voodoo",
32178 "(1,46): unexpected-end-tag",
32179 "(1,50): unexpected-end-tag-implies-table-voodoo",
32180 "(1,50): unexpected-end-tag",
32181 "(1,58): unexpected-end-tag-implies-table-voodoo",
32182 "(1,58): unexpected-end-tag",
32183 "(1,63): unexpected-end-tag-implies-table-voodoo",
32184 "(1,63): unexpected-end-tag",
32185 "(1,69): unexpected-end-tag-implies-table-voodoo",
32186 "(1,69): end-tag-too-early",
32187 "(1,75): unexpected-end-tag-implies-table-voodoo",
32188 "(1,75): unexpected-end-tag",
32189 "(1,83): unexpected-end-tag-implies-table-voodoo",
32190 "(1,83): unexpected-end-tag",
32191 "(1,90): unexpected-end-tag-implies-table-voodoo",
32192 "(1,90): unexpected-end-tag",
32193 "(1,99): unexpected-end-tag-implies-table-voodoo",
32194 "(1,99): unexpected-end-tag",
32195 "(1,104): unexpected-end-tag-implies-table-voodoo",
32196 "(1,104): end-tag-too-early",
32197 "(1,109): unexpected-end-tag-implies-table-voodoo",
32198 "(1,109): end-tag-too-early",
32199 "(1,114): unexpected-end-tag-implies-table-voodoo",
32200 "(1,114): end-tag-too-early",
32201 "(1,119): unexpected-end-tag-implies-table-voodoo",
32202 "(1,119): end-tag-too-early",
32203 "(1,124): unexpected-end-tag-implies-table-voodoo",
32204 "(1,124): end-tag-too-early",
32205 "(1,129): unexpected-end-tag-implies-table-voodoo",
32206 "(1,129): end-tag-too-early",
32207 "(1,136): unexpected-end-tag-in-table-row",
32208 "(1,141): unexpected-end-tag-implies-table-voodoo",
32209 "(1,141): unexpected-end-tag-treated-as",
32210 "(1,145): unexpected-end-tag-implies-table-voodoo",
32211 "(1,145): unexpected-end-tag",
32212 "(1,151): unexpected-end-tag-implies-table-voodoo",
32213 "(1,151): unexpected-end-tag",
32214 "(1,159): unexpected-end-tag-implies-table-voodoo",
32215 "(1,159): unexpected-end-tag",
32216 "(1,166): unexpected-end-tag-implies-table-voodoo",
32217 "(1,166): unexpected-end-tag",
32218 "(1,174): unexpected-end-tag-implies-table-voodoo",
32219 "(1,174): unexpected-end-tag",
32220 "(1,183): unexpected-end-tag-implies-table-voodoo",
32221 "(1,183): unexpected-end-tag",
32222 "(1,196): unexpected-end-tag",
32223 "(1,201): unexpected-end-tag",
32224 "(1,206): unexpected-end-tag",
32225 "(1,214): unexpected-end-tag",
32226 "(1,221): unexpected-end-tag",
32227 "(1,228): unexpected-end-tag",
32228 "(1,236): unexpected-end-tag",
32229 "(1,241): unexpected-end-tag",
32230 "(1,249): unexpected-end-tag",
32231 "(1,255): unexpected-end-tag",
32232 "(1,262): unexpected-end-tag",
32233 "(1,269): unexpected-end-tag",
32234 "(1,280): unexpected-end-tag",
32235 "(1,290): unexpected-end-tag",
32236 "(1,298): unexpected-end-tag",
32237 "(1,307): unexpected-end-tag",
32238 "(1,311): unexpected-end-tag",
32239 "(1,316): unexpected-end-tag",
32240 "(1,321): unexpected-end-tag",
32241 "(1,331): unexpected-end-tag",
32242 "(1,342): unexpected-end-tag",
32243 "(1,350): unexpected-end-tag",
32244 "(1,358): unexpected-end-tag",
32245 "(1,366): unexpected-end-tag",
32246 "(1,376): end-tag-too-early",
32247 "(1,389): end-tag-too-early",
32248 "(1,398): end-tag-too-early",
32249 "(1,404): end-tag-too-early",
32250 "(1,410): end-tag-too-early",
32251 "(1,415): end-tag-too-early",
32252 "(1,426): end-tag-too-early",
32253 "(1,436): end-tag-too-early",
32254 "(1,443): end-tag-too-early",
32255 "(1,448): end-tag-too-early",
32256 "(1,453): end-tag-too-early",
32257 "(1,458): unexpected-end-tag",
32258 "(1,465): unexpected-end-tag",
32259 "(1,471): unexpected-end-tag",
32260 "(1,478): unexpected-end-tag",
32261 "(1,487): end-tag-too-early",
32262 "(1,497): end-tag-too-early",
32263 "(1,506): end-tag-too-early",
32264 "(1,524): expected-eof-but-got-end-tag",
32265 "(1,524): unexpected-end-tag",
32266 "(1,531): unexpected-end-tag",
32267 "(1,540): unexpected-end-tag",
32268 "(1,548): unexpected-end-tag",
32269 "(1,558): unexpected-end-tag",
32270 "(1,568): unexpected-end-tag",
32271 "(1,579): unexpected-end-tag",
32272 "(1,590): unexpected-end-tag",
32273 "(1,601): unexpected-end-tag",
32274 "(1,610): unexpected-end-tag",
32275 "(1,622): unexpected-end-tag",
32276 "(1,633): unexpected-end-tag"
32277 ],
32278 "document": {
32279 "props": {
32280 "tags": {
32281 "html": true,
32282 "head": true,
32283 "body": true,
32284 "br": true,
32285 "table": true,
32286 "tbody": true,
32287 "tr": true,
32288 "p": true
32289 }
32290 },
32291 "tree": [
32292 {
32293 "tag": "html",
32294 "children": [
32295 {
32296 "tag": "head"
32297 },
32298 {
32299 "tag": "body",
32300 "children": [
32301 {
32302 "tag": "br"
32303 },
32304 {
32305 "tag": "table",
32306 "children": [
32307 {
32308 "tag": "tbody",
32309 "children": [
32310 {
32311 "tag": "tr"
32312 }
32313 ]
32314 }
32315 ]
32316 },
32317 {
32318 "tag": "p"
32319 }
32320 ]
32321 }
32322 ]
32323 }
32324 ],
32325 "html": "<html><head></head><body><br><table><tbody><tr></tr></tbody></table><p></p></body></html>",
32326 "noQuirksBodyHtml": "<br><table><tbody><tr></tr></tbody></table><p></p>"
32327 }
32328 },
32329 {
32330 "data": "<frameset>",
32331 "errors": [
32332 "(1,10): expected-doctype-but-got-start-tag",
32333 "(1,10): eof-in-frameset"
32334 ],
32335 "document": {
32336 "props": {
32337 "tags": {
32338 "html": true,
32339 "head": true,
32340 "frameset": true
32341 }
32342 },
32343 "tree": [
32344 {
32345 "tag": "html",
32346 "children": [
32347 {
32348 "tag": "head"
32349 },
32350 {
32351 "tag": "frameset"
32352 }
32353 ]
32354 }
32355 ],
32356 "html": "<html><head></head><frameset></frameset></html>",
32357 "noQuirksBodyHtml": ""
32358 }
32359 }
32360 ],
32361 "tests10.dat": [
32362 {
32363 "data": "<!DOCTYPE html><svg></svg>",
32364 "errors": [],
32365 "document": {
32366 "props": {
32367 "tags": {
32368 "html": true,
32369 "head": true,
32370 "body": true,
32371 "svg svg": true
32372 },
32373 "doctype": true
32374 },
32375 "tree": [
32376 {
32377 "doctype": "html"
32378 },
32379 {
32380 "tag": "html",
32381 "children": [
32382 {
32383 "tag": "head"
32384 },
32385 {
32386 "tag": "body",
32387 "children": [
32388 {
32389 "tag": "svg",
32390 "ns": "http://www.w3.org/2000/svg"
32391 }
32392 ]
32393 }
32394 ]
32395 }
32396 ],
32397 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
32398 "noQuirksBodyHtml": "<svg></svg>"
32399 }
32400 },
32401 {
32402 "data": "<!DOCTYPE html><svg></svg><![CDATA[a]]>",
32403 "errors": [
32404 "(1,28) expected-dashes-or-doctype"
32405 ],
32406 "document": {
32407 "props": {
32408 "tags": {
32409 "html": true,
32410 "head": true,
32411 "body": true,
32412 "svg svg": true
32413 },
32414 "doctype": true,
32415 "comment": true
32416 },
32417 "tree": [
32418 {
32419 "doctype": "html"
32420 },
32421 {
32422 "tag": "html",
32423 "children": [
32424 {
32425 "tag": "head"
32426 },
32427 {
32428 "tag": "body",
32429 "children": [
32430 {
32431 "tag": "svg",
32432 "ns": "http://www.w3.org/2000/svg"
32433 },
32434 {
32435 "comment": "[CDATA[a]]"
32436 }
32437 ]
32438 }
32439 ]
32440 }
32441 ],
32442 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><!--[CDATA[a]]--></body></html>",
32443 "noQuirksBodyHtml": "<svg></svg><!--[CDATA[a]]-->"
32444 }
32445 },
32446 {
32447 "data": "<!DOCTYPE html><body><svg></svg>",
32448 "errors": [],
32449 "document": {
32450 "props": {
32451 "tags": {
32452 "html": true,
32453 "head": true,
32454 "body": true,
32455 "svg svg": true
32456 },
32457 "doctype": true
32458 },
32459 "tree": [
32460 {
32461 "doctype": "html"
32462 },
32463 {
32464 "tag": "html",
32465 "children": [
32466 {
32467 "tag": "head"
32468 },
32469 {
32470 "tag": "body",
32471 "children": [
32472 {
32473 "tag": "svg",
32474 "ns": "http://www.w3.org/2000/svg"
32475 }
32476 ]
32477 }
32478 ]
32479 }
32480 ],
32481 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
32482 "noQuirksBodyHtml": "<svg></svg>"
32483 }
32484 },
32485 {
32486 "data": "<!DOCTYPE html><body><select><svg></svg></select>",
32487 "errors": [
32488 "(1,34) unexpected-start-tag-in-select",
32489 "(1,40) unexpected-end-tag-in-select"
32490 ],
32491 "document": {
32492 "props": {
32493 "tags": {
32494 "html": true,
32495 "head": true,
32496 "body": true,
32497 "select": true
32498 },
32499 "doctype": true
32500 },
32501 "tree": [
32502 {
32503 "doctype": "html"
32504 },
32505 {
32506 "tag": "html",
32507 "children": [
32508 {
32509 "tag": "head"
32510 },
32511 {
32512 "tag": "body",
32513 "children": [
32514 {
32515 "tag": "select"
32516 }
32517 ]
32518 }
32519 ]
32520 }
32521 ],
32522 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
32523 "noQuirksBodyHtml": "<select></select>"
32524 }
32525 },
32526 {
32527 "data": "<!DOCTYPE html><body><select><option><svg></svg></option></select>",
32528 "errors": [
32529 "(1,42) unexpected-start-tag-in-select",
32530 "(1,48) unexpected-end-tag-in-select"
32531 ],
32532 "document": {
32533 "props": {
32534 "tags": {
32535 "html": true,
32536 "head": true,
32537 "body": true,
32538 "select": true,
32539 "option": true
32540 },
32541 "doctype": true
32542 },
32543 "tree": [
32544 {
32545 "doctype": "html"
32546 },
32547 {
32548 "tag": "html",
32549 "children": [
32550 {
32551 "tag": "head"
32552 },
32553 {
32554 "tag": "body",
32555 "children": [
32556 {
32557 "tag": "select",
32558 "children": [
32559 {
32560 "tag": "option"
32561 }
32562 ]
32563 }
32564 ]
32565 }
32566 ]
32567 }
32568 ],
32569 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
32570 "noQuirksBodyHtml": "<select><option></option></select>"
32571 }
32572 },
32573 {
32574 "data": "<!DOCTYPE html><body><table><svg></svg></table>",
32575 "errors": [
32576 "(1,33) foster-parenting-start-tag"
32577 ],
32578 "document": {
32579 "props": {
32580 "tags": {
32581 "html": true,
32582 "head": true,
32583 "body": true,
32584 "svg svg": true,
32585 "table": true
32586 },
32587 "doctype": true
32588 },
32589 "tree": [
32590 {
32591 "doctype": "html"
32592 },
32593 {
32594 "tag": "html",
32595 "children": [
32596 {
32597 "tag": "head"
32598 },
32599 {
32600 "tag": "body",
32601 "children": [
32602 {
32603 "tag": "svg",
32604 "ns": "http://www.w3.org/2000/svg"
32605 },
32606 {
32607 "tag": "table"
32608 }
32609 ]
32610 }
32611 ]
32612 }
32613 ],
32614 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><table></table></body></html>",
32615 "noQuirksBodyHtml": "<svg></svg><table></table>"
32616 }
32617 },
32618 {
32619 "data": "<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>",
32620 "errors": [
32621 "(1,33) foster-parenting-start-tag"
32622 ],
32623 "document": {
32624 "props": {
32625 "tags": {
32626 "html": true,
32627 "head": true,
32628 "body": true,
32629 "svg svg": true,
32630 "svg g": true,
32631 "table": true
32632 },
32633 "doctype": true
32634 },
32635 "tree": [
32636 {
32637 "doctype": "html"
32638 },
32639 {
32640 "tag": "html",
32641 "children": [
32642 {
32643 "tag": "head"
32644 },
32645 {
32646 "tag": "body",
32647 "children": [
32648 {
32649 "tag": "svg",
32650 "ns": "http://www.w3.org/2000/svg",
32651 "children": [
32652 {
32653 "tag": "g",
32654 "ns": "http://www.w3.org/2000/svg",
32655 "children": [
32656 {
32657 "text": "foo"
32658 }
32659 ]
32660 }
32661 ]
32662 },
32663 {
32664 "tag": "table"
32665 }
32666 ]
32667 }
32668 ]
32669 }
32670 ],
32671 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g></svg><table></table></body></html>",
32672 "noQuirksBodyHtml": "<svg><g>foo</g></svg><table></table>"
32673 }
32674 },
32675 {
32676 "data": "<!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>",
32677 "errors": [
32678 "(1,33) foster-parenting-start-tag"
32679 ],
32680 "document": {
32681 "props": {
32682 "tags": {
32683 "html": true,
32684 "head": true,
32685 "body": true,
32686 "svg svg": true,
32687 "svg g": true,
32688 "table": true
32689 },
32690 "doctype": true
32691 },
32692 "tree": [
32693 {
32694 "doctype": "html"
32695 },
32696 {
32697 "tag": "html",
32698 "children": [
32699 {
32700 "tag": "head"
32701 },
32702 {
32703 "tag": "body",
32704 "children": [
32705 {
32706 "tag": "svg",
32707 "ns": "http://www.w3.org/2000/svg",
32708 "children": [
32709 {
32710 "tag": "g",
32711 "ns": "http://www.w3.org/2000/svg",
32712 "children": [
32713 {
32714 "text": "foo"
32715 }
32716 ]
32717 },
32718 {
32719 "tag": "g",
32720 "ns": "http://www.w3.org/2000/svg",
32721 "children": [
32722 {
32723 "text": "bar"
32724 }
32725 ]
32726 }
32727 ]
32728 },
32729 {
32730 "tag": "table"
32731 }
32732 ]
32733 }
32734 ]
32735 }
32736 ],
32737 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table></table></body></html>",
32738 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table></table>"
32739 }
32740 },
32741 {
32742 "data": "<!DOCTYPE html><body><table><tbody><svg><g>foo</g><g>bar</g></svg></tbody></table>",
32743 "errors": [
32744 "(1,40) foster-parenting-start-tag"
32745 ],
32746 "document": {
32747 "props": {
32748 "tags": {
32749 "html": true,
32750 "head": true,
32751 "body": true,
32752 "svg svg": true,
32753 "svg g": true,
32754 "table": true,
32755 "tbody": true
32756 },
32757 "doctype": true
32758 },
32759 "tree": [
32760 {
32761 "doctype": "html"
32762 },
32763 {
32764 "tag": "html",
32765 "children": [
32766 {
32767 "tag": "head"
32768 },
32769 {
32770 "tag": "body",
32771 "children": [
32772 {
32773 "tag": "svg",
32774 "ns": "http://www.w3.org/2000/svg",
32775 "children": [
32776 {
32777 "tag": "g",
32778 "ns": "http://www.w3.org/2000/svg",
32779 "children": [
32780 {
32781 "text": "foo"
32782 }
32783 ]
32784 },
32785 {
32786 "tag": "g",
32787 "ns": "http://www.w3.org/2000/svg",
32788 "children": [
32789 {
32790 "text": "bar"
32791 }
32792 ]
32793 }
32794 ]
32795 },
32796 {
32797 "tag": "table",
32798 "children": [
32799 {
32800 "tag": "tbody"
32801 }
32802 ]
32803 }
32804 ]
32805 }
32806 ]
32807 }
32808 ],
32809 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table><tbody></tbody></table></body></html>",
32810 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table><tbody></tbody></table>"
32811 }
32812 },
32813 {
32814 "data": "<!DOCTYPE html><body><table><tbody><tr><svg><g>foo</g><g>bar</g></svg></tr></tbody></table>",
32815 "errors": [
32816 "(1,44) foster-parenting-start-tag"
32817 ],
32818 "document": {
32819 "props": {
32820 "tags": {
32821 "html": true,
32822 "head": true,
32823 "body": true,
32824 "svg svg": true,
32825 "svg g": true,
32826 "table": true,
32827 "tbody": true,
32828 "tr": true
32829 },
32830 "doctype": true
32831 },
32832 "tree": [
32833 {
32834 "doctype": "html"
32835 },
32836 {
32837 "tag": "html",
32838 "children": [
32839 {
32840 "tag": "head"
32841 },
32842 {
32843 "tag": "body",
32844 "children": [
32845 {
32846 "tag": "svg",
32847 "ns": "http://www.w3.org/2000/svg",
32848 "children": [
32849 {
32850 "tag": "g",
32851 "ns": "http://www.w3.org/2000/svg",
32852 "children": [
32853 {
32854 "text": "foo"
32855 }
32856 ]
32857 },
32858 {
32859 "tag": "g",
32860 "ns": "http://www.w3.org/2000/svg",
32861 "children": [
32862 {
32863 "text": "bar"
32864 }
32865 ]
32866 }
32867 ]
32868 },
32869 {
32870 "tag": "table",
32871 "children": [
32872 {
32873 "tag": "tbody",
32874 "children": [
32875 {
32876 "tag": "tr"
32877 }
32878 ]
32879 }
32880 ]
32881 }
32882 ]
32883 }
32884 ]
32885 }
32886 ],
32887 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table><tbody><tr></tr></tbody></table></body></html>",
32888 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table><tbody><tr></tr></tbody></table>"
32889 }
32890 },
32891 {
32892 "data": "<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>",
32893 "errors": [],
32894 "document": {
32895 "props": {
32896 "tags": {
32897 "html": true,
32898 "head": true,
32899 "body": true,
32900 "table": true,
32901 "tbody": true,
32902 "tr": true,
32903 "td": true,
32904 "svg svg": true,
32905 "svg g": true
32906 },
32907 "doctype": true
32908 },
32909 "tree": [
32910 {
32911 "doctype": "html"
32912 },
32913 {
32914 "tag": "html",
32915 "children": [
32916 {
32917 "tag": "head"
32918 },
32919 {
32920 "tag": "body",
32921 "children": [
32922 {
32923 "tag": "table",
32924 "children": [
32925 {
32926 "tag": "tbody",
32927 "children": [
32928 {
32929 "tag": "tr",
32930 "children": [
32931 {
32932 "tag": "td",
32933 "children": [
32934 {
32935 "tag": "svg",
32936 "ns": "http://www.w3.org/2000/svg",
32937 "children": [
32938 {
32939 "tag": "g",
32940 "ns": "http://www.w3.org/2000/svg",
32941 "children": [
32942 {
32943 "text": "foo"
32944 }
32945 ]
32946 },
32947 {
32948 "tag": "g",
32949 "ns": "http://www.w3.org/2000/svg",
32950 "children": [
32951 {
32952 "text": "bar"
32953 }
32954 ]
32955 }
32956 ]
32957 }
32958 ]
32959 }
32960 ]
32961 }
32962 ]
32963 }
32964 ]
32965 }
32966 ]
32967 }
32968 ]
32969 }
32970 ],
32971 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table></body></html>",
32972 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>"
32973 }
32974 },
32975 {
32976 "data": "<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</td></tr></tbody></table>",
32977 "errors": [],
32978 "document": {
32979 "props": {
32980 "tags": {
32981 "html": true,
32982 "head": true,
32983 "body": true,
32984 "table": true,
32985 "tbody": true,
32986 "tr": true,
32987 "td": true,
32988 "svg svg": true,
32989 "svg g": true,
32990 "p": true
32991 },
32992 "doctype": true
32993 },
32994 "tree": [
32995 {
32996 "doctype": "html"
32997 },
32998 {
32999 "tag": "html",
33000 "children": [
33001 {
33002 "tag": "head"
33003 },
33004 {
33005 "tag": "body",
33006 "children": [
33007 {
33008 "tag": "table",
33009 "children": [
33010 {
33011 "tag": "tbody",
33012 "children": [
33013 {
33014 "tag": "tr",
33015 "children": [
33016 {
33017 "tag": "td",
33018 "children": [
33019 {
33020 "tag": "svg",
33021 "ns": "http://www.w3.org/2000/svg",
33022 "children": [
33023 {
33024 "tag": "g",
33025 "ns": "http://www.w3.org/2000/svg",
33026 "children": [
33027 {
33028 "text": "foo"
33029 }
33030 ]
33031 },
33032 {
33033 "tag": "g",
33034 "ns": "http://www.w3.org/2000/svg",
33035 "children": [
33036 {
33037 "text": "bar"
33038 }
33039 ]
33040 }
33041 ]
33042 },
33043 {
33044 "tag": "p",
33045 "children": [
33046 {
33047 "text": "baz"
33048 }
33049 ]
33050 }
33051 ]
33052 }
33053 ]
33054 }
33055 ]
33056 }
33057 ]
33058 }
33059 ]
33060 }
33061 ]
33062 }
33063 ],
33064 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</p></td></tr></tbody></table></body></html>",
33065 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</p></td></tr></tbody></table>"
33066 }
33067 },
33068 {
33069 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>",
33070 "errors": [],
33071 "document": {
33072 "props": {
33073 "tags": {
33074 "html": true,
33075 "head": true,
33076 "body": true,
33077 "table": true,
33078 "caption": true,
33079 "svg svg": true,
33080 "svg g": true,
33081 "p": true
33082 },
33083 "doctype": true
33084 },
33085 "tree": [
33086 {
33087 "doctype": "html"
33088 },
33089 {
33090 "tag": "html",
33091 "children": [
33092 {
33093 "tag": "head"
33094 },
33095 {
33096 "tag": "body",
33097 "children": [
33098 {
33099 "tag": "table",
33100 "children": [
33101 {
33102 "tag": "caption",
33103 "children": [
33104 {
33105 "tag": "svg",
33106 "ns": "http://www.w3.org/2000/svg",
33107 "children": [
33108 {
33109 "tag": "g",
33110 "ns": "http://www.w3.org/2000/svg",
33111 "children": [
33112 {
33113 "text": "foo"
33114 }
33115 ]
33116 },
33117 {
33118 "tag": "g",
33119 "ns": "http://www.w3.org/2000/svg",
33120 "children": [
33121 {
33122 "text": "bar"
33123 }
33124 ]
33125 }
33126 ]
33127 },
33128 {
33129 "tag": "p",
33130 "children": [
33131 {
33132 "text": "baz"
33133 }
33134 ]
33135 }
33136 ]
33137 }
33138 ]
33139 }
33140 ]
33141 }
33142 ]
33143 }
33144 ],
33145 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</p></caption></table></body></html>",
33146 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</p></caption></table>"
33147 }
33148 },
33149 {
33150 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
33151 "errors": [
33152 "(1,65) unexpected-html-element-in-foreign-content"
33153 ],
33154 "document": {
33155 "props": {
33156 "tags": {
33157 "html": true,
33158 "head": true,
33159 "body": true,
33160 "table": true,
33161 "caption": true,
33162 "svg svg": true,
33163 "svg g": true,
33164 "p": true
33165 },
33166 "doctype": true
33167 },
33168 "tree": [
33169 {
33170 "doctype": "html"
33171 },
33172 {
33173 "tag": "html",
33174 "children": [
33175 {
33176 "tag": "head"
33177 },
33178 {
33179 "tag": "body",
33180 "children": [
33181 {
33182 "tag": "table",
33183 "children": [
33184 {
33185 "tag": "caption",
33186 "children": [
33187 {
33188 "tag": "svg",
33189 "ns": "http://www.w3.org/2000/svg",
33190 "children": [
33191 {
33192 "tag": "g",
33193 "ns": "http://www.w3.org/2000/svg",
33194 "children": [
33195 {
33196 "text": "foo"
33197 }
33198 ]
33199 },
33200 {
33201 "tag": "g",
33202 "ns": "http://www.w3.org/2000/svg",
33203 "children": [
33204 {
33205 "text": "bar"
33206 }
33207 ]
33208 }
33209 ]
33210 },
33211 {
33212 "tag": "p",
33213 "children": [
33214 {
33215 "text": "baz"
33216 }
33217 ]
33218 }
33219 ]
33220 }
33221 ]
33222 },
33223 {
33224 "tag": "p",
33225 "children": [
33226 {
33227 "text": "quux"
33228 }
33229 ]
33230 }
33231 ]
33232 }
33233 ]
33234 }
33235 ],
33236 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</p></caption></table><p>quux</p></body></html>",
33237 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g><p>baz</p></svg></caption></table><p>quux</p>"
33238 }
33239 },
33240 {
33241 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux",
33242 "errors": [
33243 "(1,73) unexpected-end-tag",
33244 "(1,73) expected-one-end-tag-but-got-another"
33245 ],
33246 "document": {
33247 "props": {
33248 "tags": {
33249 "html": true,
33250 "head": true,
33251 "body": true,
33252 "table": true,
33253 "caption": true,
33254 "svg svg": true,
33255 "svg g": true,
33256 "p": true
33257 },
33258 "doctype": true
33259 },
33260 "tree": [
33261 {
33262 "doctype": "html"
33263 },
33264 {
33265 "tag": "html",
33266 "children": [
33267 {
33268 "tag": "head"
33269 },
33270 {
33271 "tag": "body",
33272 "children": [
33273 {
33274 "tag": "table",
33275 "children": [
33276 {
33277 "tag": "caption",
33278 "children": [
33279 {
33280 "tag": "svg",
33281 "ns": "http://www.w3.org/2000/svg",
33282 "children": [
33283 {
33284 "tag": "g",
33285 "ns": "http://www.w3.org/2000/svg",
33286 "children": [
33287 {
33288 "text": "foo"
33289 }
33290 ]
33291 },
33292 {
33293 "tag": "g",
33294 "ns": "http://www.w3.org/2000/svg",
33295 "children": [
33296 {
33297 "text": "bar"
33298 }
33299 ]
33300 },
33301 {
33302 "text": "baz"
33303 }
33304 ]
33305 }
33306 ]
33307 }
33308 ]
33309 },
33310 {
33311 "tag": "p",
33312 "children": [
33313 {
33314 "text": "quux"
33315 }
33316 ]
33317 }
33318 ]
33319 }
33320 ]
33321 }
33322 ],
33323 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg><g>foo</g><g>bar</g>baz</svg></caption></table><p>quux</p></body></html>",
33324 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g>baz</svg></caption></table><p>quux</p>"
33325 }
33326 },
33327 {
33328 "data": "<!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
33329 "errors": [
33330 "(1,43) foster-parenting-start-tag svg",
33331 "(1,66) unexpected HTML-like start tag token in foreign content",
33332 "(1,66) foster-parenting-start-tag",
33333 "(1,67) foster-parenting-character",
33334 "(1,68) foster-parenting-character",
33335 "(1,69) foster-parenting-character"
33336 ],
33337 "document": {
33338 "props": {
33339 "tags": {
33340 "html": true,
33341 "head": true,
33342 "body": true,
33343 "svg svg": true,
33344 "svg g": true,
33345 "p": true,
33346 "table": true,
33347 "colgroup": true
33348 },
33349 "doctype": true
33350 },
33351 "tree": [
33352 {
33353 "doctype": "html"
33354 },
33355 {
33356 "tag": "html",
33357 "children": [
33358 {
33359 "tag": "head"
33360 },
33361 {
33362 "tag": "body",
33363 "children": [
33364 {
33365 "tag": "svg",
33366 "ns": "http://www.w3.org/2000/svg",
33367 "children": [
33368 {
33369 "tag": "g",
33370 "ns": "http://www.w3.org/2000/svg",
33371 "children": [
33372 {
33373 "text": "foo"
33374 }
33375 ]
33376 },
33377 {
33378 "tag": "g",
33379 "ns": "http://www.w3.org/2000/svg",
33380 "children": [
33381 {
33382 "text": "bar"
33383 }
33384 ]
33385 }
33386 ]
33387 },
33388 {
33389 "tag": "p",
33390 "children": [
33391 {
33392 "text": "baz"
33393 }
33394 ]
33395 },
33396 {
33397 "tag": "table",
33398 "children": [
33399 {
33400 "tag": "colgroup"
33401 }
33402 ]
33403 },
33404 {
33405 "tag": "p",
33406 "children": [
33407 {
33408 "text": "quux"
33409 }
33410 ]
33411 }
33412 ]
33413 }
33414 ]
33415 }
33416 ],
33417 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><p>baz</p><table><colgroup></colgroup></table><p>quux</p></body></html>",
33418 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg><table><colgroup></colgroup></table><p>quux</p>"
33419 }
33420 },
33421 {
33422 "data": "<!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
33423 "errors": [
33424 "(1,49) unexpected-start-tag-in-select",
33425 "(1,52) unexpected-start-tag-in-select",
33426 "(1,59) unexpected-end-tag-in-select",
33427 "(1,62) unexpected-start-tag-in-select",
33428 "(1,69) unexpected-end-tag-in-select",
33429 "(1,72) unexpected-start-tag-in-select",
33430 "(1,83) unexpected-table-element-end-tag-in-select-in-table"
33431 ],
33432 "document": {
33433 "props": {
33434 "tags": {
33435 "html": true,
33436 "head": true,
33437 "body": true,
33438 "table": true,
33439 "tbody": true,
33440 "tr": true,
33441 "td": true,
33442 "select": true,
33443 "p": true
33444 },
33445 "doctype": true
33446 },
33447 "tree": [
33448 {
33449 "doctype": "html"
33450 },
33451 {
33452 "tag": "html",
33453 "children": [
33454 {
33455 "tag": "head"
33456 },
33457 {
33458 "tag": "body",
33459 "children": [
33460 {
33461 "tag": "table",
33462 "children": [
33463 {
33464 "tag": "tbody",
33465 "children": [
33466 {
33467 "tag": "tr",
33468 "children": [
33469 {
33470 "tag": "td",
33471 "children": [
33472 {
33473 "tag": "select",
33474 "children": [
33475 {
33476 "text": "foobarbaz"
33477 }
33478 ]
33479 }
33480 ]
33481 }
33482 ]
33483 }
33484 ]
33485 }
33486 ]
33487 },
33488 {
33489 "tag": "p",
33490 "children": [
33491 {
33492 "text": "quux"
33493 }
33494 ]
33495 }
33496 ]
33497 }
33498 ]
33499 }
33500 ],
33501 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p></body></html>",
33502 "noQuirksBodyHtml": "<table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p>"
33503 }
33504 },
33505 {
33506 "data": "<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
33507 "errors": [
33508 "(1,36) unexpected-start-tag-implies-table-voodoo",
33509 "(1,41) unexpected-start-tag-in-select",
33510 "(1,44) unexpected-start-tag-in-select",
33511 "(1,51) unexpected-end-tag-in-select",
33512 "(1,54) unexpected-start-tag-in-select",
33513 "(1,61) unexpected-end-tag-in-select",
33514 "(1,64) unexpected-start-tag-in-select",
33515 "(1,75) unexpected-table-element-end-tag-in-select-in-table"
33516 ],
33517 "document": {
33518 "props": {
33519 "tags": {
33520 "html": true,
33521 "head": true,
33522 "body": true,
33523 "select": true,
33524 "table": true,
33525 "p": true
33526 },
33527 "doctype": true
33528 },
33529 "tree": [
33530 {
33531 "doctype": "html"
33532 },
33533 {
33534 "tag": "html",
33535 "children": [
33536 {
33537 "tag": "head"
33538 },
33539 {
33540 "tag": "body",
33541 "children": [
33542 {
33543 "tag": "select",
33544 "children": [
33545 {
33546 "text": "foobarbaz"
33547 }
33548 ]
33549 },
33550 {
33551 "tag": "table"
33552 },
33553 {
33554 "tag": "p",
33555 "children": [
33556 {
33557 "text": "quux"
33558 }
33559 ]
33560 }
33561 ]
33562 }
33563 ]
33564 }
33565 ],
33566 "html": "<!DOCTYPE html><html><head></head><body><select>foobarbaz</select><table></table><p>quux</p></body></html>",
33567 "noQuirksBodyHtml": "<select>foobarbaz</select><table></table><p>quux</p>"
33568 }
33569 },
33570 {
33571 "data": "<!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz",
33572 "errors": [
33573 "(1,40) expected-eof-but-got-start-tag",
33574 "(1,63) unexpected-html-element-in-foreign-content"
33575 ],
33576 "document": {
33577 "props": {
33578 "tags": {
33579 "html": true,
33580 "head": true,
33581 "body": true,
33582 "svg svg": true,
33583 "svg g": true,
33584 "p": true
33585 },
33586 "doctype": true
33587 },
33588 "tree": [
33589 {
33590 "doctype": "html"
33591 },
33592 {
33593 "tag": "html",
33594 "children": [
33595 {
33596 "tag": "head"
33597 },
33598 {
33599 "tag": "body",
33600 "children": [
33601 {
33602 "tag": "svg",
33603 "ns": "http://www.w3.org/2000/svg",
33604 "children": [
33605 {
33606 "tag": "g",
33607 "ns": "http://www.w3.org/2000/svg",
33608 "children": [
33609 {
33610 "text": "foo"
33611 }
33612 ]
33613 },
33614 {
33615 "tag": "g",
33616 "ns": "http://www.w3.org/2000/svg",
33617 "children": [
33618 {
33619 "text": "bar"
33620 }
33621 ]
33622 }
33623 ]
33624 },
33625 {
33626 "tag": "p",
33627 "children": [
33628 {
33629 "text": "baz"
33630 }
33631 ]
33632 }
33633 ]
33634 }
33635 ]
33636 }
33637 ],
33638 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><p>baz</p></body></html>",
33639 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg>"
33640 }
33641 },
33642 {
33643 "data": "<!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz",
33644 "errors": [
33645 "(1,33) unexpected-start-tag-after-body",
33646 "(1,56) unexpected-html-element-in-foreign-content"
33647 ],
33648 "document": {
33649 "props": {
33650 "tags": {
33651 "html": true,
33652 "head": true,
33653 "body": true,
33654 "svg svg": true,
33655 "svg g": true,
33656 "p": true
33657 },
33658 "doctype": true
33659 },
33660 "tree": [
33661 {
33662 "doctype": "html"
33663 },
33664 {
33665 "tag": "html",
33666 "children": [
33667 {
33668 "tag": "head"
33669 },
33670 {
33671 "tag": "body",
33672 "children": [
33673 {
33674 "tag": "svg",
33675 "ns": "http://www.w3.org/2000/svg",
33676 "children": [
33677 {
33678 "tag": "g",
33679 "ns": "http://www.w3.org/2000/svg",
33680 "children": [
33681 {
33682 "text": "foo"
33683 }
33684 ]
33685 },
33686 {
33687 "tag": "g",
33688 "ns": "http://www.w3.org/2000/svg",
33689 "children": [
33690 {
33691 "text": "bar"
33692 }
33693 ]
33694 }
33695 ]
33696 },
33697 {
33698 "tag": "p",
33699 "children": [
33700 {
33701 "text": "baz"
33702 }
33703 ]
33704 }
33705 ]
33706 }
33707 ]
33708 }
33709 ],
33710 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><p>baz</p></body></html>",
33711 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg>"
33712 }
33713 },
33714 {
33715 "data": "<!DOCTYPE html><frameset><svg><g></g><g></g><p><span>",
33716 "errors": [
33717 "(1,30) unexpected-start-tag-in-frameset",
33718 "(1,33) unexpected-start-tag-in-frameset",
33719 "(1,37) unexpected-end-tag-in-frameset",
33720 "(1,40) unexpected-start-tag-in-frameset",
33721 "(1,44) unexpected-end-tag-in-frameset",
33722 "(1,47) unexpected-start-tag-in-frameset",
33723 "(1,53) unexpected-start-tag-in-frameset",
33724 "(1,53) eof-in-frameset"
33725 ],
33726 "document": {
33727 "props": {
33728 "tags": {
33729 "html": true,
33730 "head": true,
33731 "frameset": true
33732 },
33733 "doctype": true
33734 },
33735 "tree": [
33736 {
33737 "doctype": "html"
33738 },
33739 {
33740 "tag": "html",
33741 "children": [
33742 {
33743 "tag": "head"
33744 },
33745 {
33746 "tag": "frameset"
33747 }
33748 ]
33749 }
33750 ],
33751 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
33752 "noQuirksBodyHtml": "<svg><g></g><g></g><p><span></span></p></svg>"
33753 }
33754 },
33755 {
33756 "data": "<!DOCTYPE html><frameset></frameset><svg><g></g><g></g><p><span>",
33757 "errors": [
33758 "(1,41) unexpected-start-tag-after-frameset",
33759 "(1,44) unexpected-start-tag-after-frameset",
33760 "(1,48) unexpected-end-tag-after-frameset",
33761 "(1,51) unexpected-start-tag-after-frameset",
33762 "(1,55) unexpected-end-tag-after-frameset",
33763 "(1,58) unexpected-start-tag-after-frameset",
33764 "(1,64) unexpected-start-tag-after-frameset"
33765 ],
33766 "document": {
33767 "props": {
33768 "tags": {
33769 "html": true,
33770 "head": true,
33771 "frameset": true
33772 },
33773 "doctype": true
33774 },
33775 "tree": [
33776 {
33777 "doctype": "html"
33778 },
33779 {
33780 "tag": "html",
33781 "children": [
33782 {
33783 "tag": "head"
33784 },
33785 {
33786 "tag": "frameset"
33787 }
33788 ]
33789 }
33790 ],
33791 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
33792 "noQuirksBodyHtml": "<svg><g></g><g></g><p><span></span></p></svg>"
33793 }
33794 },
33795 {
33796 "data": "<!DOCTYPE html><body xlink:href=foo><svg xlink:href=foo></svg>",
33797 "errors": [],
33798 "document": {
33799 "props": {
33800 "tags": {
33801 "html": true,
33802 "head": true,
33803 "body": true,
33804 "svg svg": true
33805 },
33806 "doctype": true
33807 },
33808 "tree": [
33809 {
33810 "doctype": "html"
33811 },
33812 {
33813 "tag": "html",
33814 "children": [
33815 {
33816 "tag": "head"
33817 },
33818 {
33819 "tag": "body",
33820 "attrs": [
33821 {
33822 "name": "xlink:href",
33823 "value": "foo"
33824 }
33825 ],
33826 "children": [
33827 {
33828 "tag": "svg",
33829 "ns": "http://www.w3.org/2000/svg",
33830 "attrs": [
33831 {
33832 "name": "href",
33833 "ns": "http://www.w3.org/1999/xlink",
33834 "value": "foo"
33835 }
33836 ]
33837 }
33838 ]
33839 }
33840 ]
33841 }
33842 ],
33843 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\"><svg xlink:href=\"foo\"></svg></body></html>",
33844 "noQuirksBodyHtml": "<svg xlink:href=\"foo\"></svg>"
33845 }
33846 },
33847 {
33848 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo></g></svg>",
33849 "errors": [],
33850 "document": {
33851 "props": {
33852 "tags": {
33853 "html": true,
33854 "head": true,
33855 "body": true,
33856 "svg svg": true,
33857 "svg g": true
33858 },
33859 "doctype": true
33860 },
33861 "tree": [
33862 {
33863 "doctype": "html"
33864 },
33865 {
33866 "tag": "html",
33867 "children": [
33868 {
33869 "tag": "head"
33870 },
33871 {
33872 "tag": "body",
33873 "attrs": [
33874 {
33875 "name": "xlink:href",
33876 "value": "foo"
33877 },
33878 {
33879 "name": "xml:lang",
33880 "value": "en"
33881 }
33882 ],
33883 "children": [
33884 {
33885 "tag": "svg",
33886 "ns": "http://www.w3.org/2000/svg",
33887 "children": [
33888 {
33889 "tag": "g",
33890 "ns": "http://www.w3.org/2000/svg",
33891 "attrs": [
33892 {
33893 "name": "href",
33894 "ns": "http://www.w3.org/1999/xlink",
33895 "value": "foo"
33896 },
33897 {
33898 "name": "lang",
33899 "ns": "http://www.w3.org/XML/1998/namespace",
33900 "value": "en"
33901 }
33902 ]
33903 }
33904 ]
33905 }
33906 ]
33907 }
33908 ]
33909 }
33910 ],
33911 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg></body></html>",
33912 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg>"
33913 }
33914 },
33915 {
33916 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo /></svg>",
33917 "errors": [],
33918 "document": {
33919 "props": {
33920 "tags": {
33921 "html": true,
33922 "head": true,
33923 "body": true,
33924 "svg svg": true,
33925 "svg g": true
33926 },
33927 "doctype": true
33928 },
33929 "tree": [
33930 {
33931 "doctype": "html"
33932 },
33933 {
33934 "tag": "html",
33935 "children": [
33936 {
33937 "tag": "head"
33938 },
33939 {
33940 "tag": "body",
33941 "attrs": [
33942 {
33943 "name": "xlink:href",
33944 "value": "foo"
33945 },
33946 {
33947 "name": "xml:lang",
33948 "value": "en"
33949 }
33950 ],
33951 "children": [
33952 {
33953 "tag": "svg",
33954 "ns": "http://www.w3.org/2000/svg",
33955 "children": [
33956 {
33957 "tag": "g",
33958 "ns": "http://www.w3.org/2000/svg",
33959 "attrs": [
33960 {
33961 "name": "href",
33962 "ns": "http://www.w3.org/1999/xlink",
33963 "value": "foo"
33964 },
33965 {
33966 "name": "lang",
33967 "ns": "http://www.w3.org/XML/1998/namespace",
33968 "value": "en"
33969 }
33970 ]
33971 }
33972 ]
33973 }
33974 ]
33975 }
33976 ]
33977 }
33978 ],
33979 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg></body></html>",
33980 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg>"
33981 }
33982 },
33983 {
33984 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo />bar</svg>",
33985 "errors": [],
33986 "document": {
33987 "props": {
33988 "tags": {
33989 "html": true,
33990 "head": true,
33991 "body": true,
33992 "svg svg": true,
33993 "svg g": true
33994 },
33995 "doctype": true
33996 },
33997 "tree": [
33998 {
33999 "doctype": "html"
34000 },
34001 {
34002 "tag": "html",
34003 "children": [
34004 {
34005 "tag": "head"
34006 },
34007 {
34008 "tag": "body",
34009 "attrs": [
34010 {
34011 "name": "xlink:href",
34012 "value": "foo"
34013 },
34014 {
34015 "name": "xml:lang",
34016 "value": "en"
34017 }
34018 ],
34019 "children": [
34020 {
34021 "tag": "svg",
34022 "ns": "http://www.w3.org/2000/svg",
34023 "children": [
34024 {
34025 "tag": "g",
34026 "ns": "http://www.w3.org/2000/svg",
34027 "attrs": [
34028 {
34029 "name": "href",
34030 "ns": "http://www.w3.org/1999/xlink",
34031 "value": "foo"
34032 },
34033 {
34034 "name": "lang",
34035 "ns": "http://www.w3.org/XML/1998/namespace",
34036 "value": "en"
34037 }
34038 ]
34039 },
34040 {
34041 "text": "bar"
34042 }
34043 ]
34044 }
34045 ]
34046 }
34047 ]
34048 }
34049 ],
34050 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><svg><g xml:lang=\"en\" xlink:href=\"foo\"></g>bar</svg></body></html>",
34051 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g>bar</svg>"
34052 }
34053 },
34054 {
34055 "data": "<svg></path>",
34056 "errors": [
34057 "(1,5) expected-doctype-but-got-start-tag",
34058 "(1,12) unexpected-end-tag",
34059 "(1,12) unexpected-end-tag",
34060 "(1,12) expected-closing-tag-but-got-eof"
34061 ],
34062 "document": {
34063 "props": {
34064 "tags": {
34065 "html": true,
34066 "head": true,
34067 "body": true,
34068 "svg svg": true
34069 }
34070 },
34071 "tree": [
34072 {
34073 "tag": "html",
34074 "children": [
34075 {
34076 "tag": "head"
34077 },
34078 {
34079 "tag": "body",
34080 "children": [
34081 {
34082 "tag": "svg",
34083 "ns": "http://www.w3.org/2000/svg"
34084 }
34085 ]
34086 }
34087 ]
34088 }
34089 ],
34090 "html": "<html><head></head><body><svg></svg></body></html>",
34091 "noQuirksBodyHtml": "<svg></svg>"
34092 }
34093 },
34094 {
34095 "data": "<div><svg></div>a",
34096 "errors": [
34097 "(1,5) expected-doctype-but-got-start-tag",
34098 "(1,16) unexpected-end-tag",
34099 "(1,16) end-tag-too-early"
34100 ],
34101 "document": {
34102 "props": {
34103 "tags": {
34104 "html": true,
34105 "head": true,
34106 "body": true,
34107 "div": true,
34108 "svg svg": true
34109 }
34110 },
34111 "tree": [
34112 {
34113 "tag": "html",
34114 "children": [
34115 {
34116 "tag": "head"
34117 },
34118 {
34119 "tag": "body",
34120 "children": [
34121 {
34122 "tag": "div",
34123 "children": [
34124 {
34125 "tag": "svg",
34126 "ns": "http://www.w3.org/2000/svg"
34127 }
34128 ]
34129 },
34130 {
34131 "text": "a"
34132 }
34133 ]
34134 }
34135 ]
34136 }
34137 ],
34138 "html": "<html><head></head><body><div><svg></svg></div>a</body></html>",
34139 "noQuirksBodyHtml": "<div><svg></svg></div>a"
34140 }
34141 },
34142 {
34143 "data": "<div><svg><path></div>a",
34144 "errors": [
34145 "(1,5) expected-doctype-but-got-start-tag",
34146 "(1,22) unexpected-end-tag",
34147 "(1,22) end-tag-too-early"
34148 ],
34149 "document": {
34150 "props": {
34151 "tags": {
34152 "html": true,
34153 "head": true,
34154 "body": true,
34155 "div": true,
34156 "svg svg": true,
34157 "svg path": true
34158 }
34159 },
34160 "tree": [
34161 {
34162 "tag": "html",
34163 "children": [
34164 {
34165 "tag": "head"
34166 },
34167 {
34168 "tag": "body",
34169 "children": [
34170 {
34171 "tag": "div",
34172 "children": [
34173 {
34174 "tag": "svg",
34175 "ns": "http://www.w3.org/2000/svg",
34176 "children": [
34177 {
34178 "tag": "path",
34179 "ns": "http://www.w3.org/2000/svg"
34180 }
34181 ]
34182 }
34183 ]
34184 },
34185 {
34186 "text": "a"
34187 }
34188 ]
34189 }
34190 ]
34191 }
34192 ],
34193 "html": "<html><head></head><body><div><svg><path></path></svg></div>a</body></html>",
34194 "noQuirksBodyHtml": "<div><svg><path></path></svg></div>a"
34195 }
34196 },
34197 {
34198 "data": "<div><svg><path></svg><path>",
34199 "errors": [
34200 "(1,5) expected-doctype-but-got-start-tag",
34201 "(1,22) unexpected-end-tag",
34202 "(1,28) expected-closing-tag-but-got-eof"
34203 ],
34204 "document": {
34205 "props": {
34206 "tags": {
34207 "html": true,
34208 "head": true,
34209 "body": true,
34210 "div": true,
34211 "svg svg": true,
34212 "svg path": true,
34213 "path": true
34214 }
34215 },
34216 "tree": [
34217 {
34218 "tag": "html",
34219 "children": [
34220 {
34221 "tag": "head"
34222 },
34223 {
34224 "tag": "body",
34225 "children": [
34226 {
34227 "tag": "div",
34228 "children": [
34229 {
34230 "tag": "svg",
34231 "ns": "http://www.w3.org/2000/svg",
34232 "children": [
34233 {
34234 "tag": "path",
34235 "ns": "http://www.w3.org/2000/svg"
34236 }
34237 ]
34238 },
34239 {
34240 "tag": "path"
34241 }
34242 ]
34243 }
34244 ]
34245 }
34246 ]
34247 }
34248 ],
34249 "html": "<html><head></head><body><div><svg><path></path></svg><path></path></div></body></html>",
34250 "noQuirksBodyHtml": "<div><svg><path></path></svg><path></path></div>"
34251 }
34252 },
34253 {
34254 "data": "<div><svg><path><foreignObject><math></div>a",
34255 "errors": [
34256 "(1,5) expected-doctype-but-got-start-tag",
34257 "(1,43) unexpected-end-tag",
34258 "(1,43) end-tag-too-early",
34259 "(1,44) expected-closing-tag-but-got-eof"
34260 ],
34261 "document": {
34262 "props": {
34263 "tags": {
34264 "html": true,
34265 "head": true,
34266 "body": true,
34267 "div": true,
34268 "svg svg": true,
34269 "svg path": true,
34270 "svg foreignObject": true,
34271 "math math": true
34272 }
34273 },
34274 "tree": [
34275 {
34276 "tag": "html",
34277 "children": [
34278 {
34279 "tag": "head"
34280 },
34281 {
34282 "tag": "body",
34283 "children": [
34284 {
34285 "tag": "div",
34286 "children": [
34287 {
34288 "tag": "svg",
34289 "ns": "http://www.w3.org/2000/svg",
34290 "children": [
34291 {
34292 "tag": "path",
34293 "ns": "http://www.w3.org/2000/svg",
34294 "children": [
34295 {
34296 "tag": "foreignObject",
34297 "ns": "http://www.w3.org/2000/svg",
34298 "children": [
34299 {
34300 "tag": "math",
34301 "ns": "http://www.w3.org/1998/Math/MathML",
34302 "children": [
34303 {
34304 "text": "a"
34305 }
34306 ]
34307 }
34308 ]
34309 }
34310 ]
34311 }
34312 ]
34313 }
34314 ]
34315 }
34316 ]
34317 }
34318 ]
34319 }
34320 ],
34321 "html": "<html><head></head><body><div><svg><path><foreignObject><math>a</math></foreignObject></path></svg></div></body></html>",
34322 "noQuirksBodyHtml": "<div><svg><path><foreignObject><math>a</math></foreignObject></path></svg></div>"
34323 }
34324 },
34325 {
34326 "data": "<div><svg><path><foreignObject><p></div>a",
34327 "errors": [
34328 "(1,5) expected-doctype-but-got-start-tag",
34329 "(1,40) end-tag-too-early",
34330 "(1,41) expected-closing-tag-but-got-eof"
34331 ],
34332 "document": {
34333 "props": {
34334 "tags": {
34335 "html": true,
34336 "head": true,
34337 "body": true,
34338 "div": true,
34339 "svg svg": true,
34340 "svg path": true,
34341 "svg foreignObject": true,
34342 "p": true
34343 }
34344 },
34345 "tree": [
34346 {
34347 "tag": "html",
34348 "children": [
34349 {
34350 "tag": "head"
34351 },
34352 {
34353 "tag": "body",
34354 "children": [
34355 {
34356 "tag": "div",
34357 "children": [
34358 {
34359 "tag": "svg",
34360 "ns": "http://www.w3.org/2000/svg",
34361 "children": [
34362 {
34363 "tag": "path",
34364 "ns": "http://www.w3.org/2000/svg",
34365 "children": [
34366 {
34367 "tag": "foreignObject",
34368 "ns": "http://www.w3.org/2000/svg",
34369 "children": [
34370 {
34371 "tag": "p",
34372 "children": [
34373 {
34374 "text": "a"
34375 }
34376 ]
34377 }
34378 ]
34379 }
34380 ]
34381 }
34382 ]
34383 }
34384 ]
34385 }
34386 ]
34387 }
34388 ]
34389 }
34390 ],
34391 "html": "<html><head></head><body><div><svg><path><foreignObject><p>a</p></foreignObject></path></svg></div></body></html>",
34392 "noQuirksBodyHtml": "<div><svg><path><foreignObject><p>a</p></foreignObject></path></svg></div>"
34393 }
34394 },
34395 {
34396 "data": "<!DOCTYPE html><svg><desc><div><svg><ul>a",
34397 "errors": [
34398 "(1,40) unexpected-html-element-in-foreign-content",
34399 "(1,41) expected-closing-tag-but-got-eof"
34400 ],
34401 "document": {
34402 "props": {
34403 "tags": {
34404 "html": true,
34405 "head": true,
34406 "body": true,
34407 "svg svg": true,
34408 "svg desc": true,
34409 "div": true,
34410 "ul": true
34411 },
34412 "doctype": true
34413 },
34414 "tree": [
34415 {
34416 "doctype": "html"
34417 },
34418 {
34419 "tag": "html",
34420 "children": [
34421 {
34422 "tag": "head"
34423 },
34424 {
34425 "tag": "body",
34426 "children": [
34427 {
34428 "tag": "svg",
34429 "ns": "http://www.w3.org/2000/svg",
34430 "children": [
34431 {
34432 "tag": "desc",
34433 "ns": "http://www.w3.org/2000/svg",
34434 "children": [
34435 {
34436 "tag": "div",
34437 "children": [
34438 {
34439 "tag": "svg",
34440 "ns": "http://www.w3.org/2000/svg"
34441 },
34442 {
34443 "tag": "ul",
34444 "children": [
34445 {
34446 "text": "a"
34447 }
34448 ]
34449 }
34450 ]
34451 }
34452 ]
34453 }
34454 ]
34455 }
34456 ]
34457 }
34458 ]
34459 }
34460 ],
34461 "html": "<!DOCTYPE html><html><head></head><body><svg><desc><div><svg></svg><ul>a</ul></div></desc></svg></body></html>",
34462 "noQuirksBodyHtml": "<svg><desc><div><svg><ul>a</ul></svg></div></desc></svg>"
34463 }
34464 },
34465 {
34466 "data": "<!DOCTYPE html><svg><desc><svg><ul>a",
34467 "errors": [
34468 "(1,35) unexpected-html-element-in-foreign-content",
34469 "(1,36) expected-closing-tag-but-got-eof"
34470 ],
34471 "document": {
34472 "props": {
34473 "tags": {
34474 "html": true,
34475 "head": true,
34476 "body": true,
34477 "svg svg": true,
34478 "svg desc": true,
34479 "ul": true
34480 },
34481 "doctype": true
34482 },
34483 "tree": [
34484 {
34485 "doctype": "html"
34486 },
34487 {
34488 "tag": "html",
34489 "children": [
34490 {
34491 "tag": "head"
34492 },
34493 {
34494 "tag": "body",
34495 "children": [
34496 {
34497 "tag": "svg",
34498 "ns": "http://www.w3.org/2000/svg",
34499 "children": [
34500 {
34501 "tag": "desc",
34502 "ns": "http://www.w3.org/2000/svg",
34503 "children": [
34504 {
34505 "tag": "svg",
34506 "ns": "http://www.w3.org/2000/svg"
34507 },
34508 {
34509 "tag": "ul",
34510 "children": [
34511 {
34512 "text": "a"
34513 }
34514 ]
34515 }
34516 ]
34517 }
34518 ]
34519 }
34520 ]
34521 }
34522 ]
34523 }
34524 ],
34525 "html": "<!DOCTYPE html><html><head></head><body><svg><desc><svg></svg><ul>a</ul></desc></svg></body></html>",
34526 "noQuirksBodyHtml": "<svg><desc><svg><ul>a</ul></svg></desc></svg>"
34527 }
34528 },
34529 {
34530 "data": "<!DOCTYPE html><p><svg><desc><p>",
34531 "errors": [
34532 "(1,32) expected-closing-tag-but-got-eof"
34533 ],
34534 "document": {
34535 "props": {
34536 "tags": {
34537 "html": true,
34538 "head": true,
34539 "body": true,
34540 "p": true,
34541 "svg svg": true,
34542 "svg desc": true
34543 },
34544 "doctype": true
34545 },
34546 "tree": [
34547 {
34548 "doctype": "html"
34549 },
34550 {
34551 "tag": "html",
34552 "children": [
34553 {
34554 "tag": "head"
34555 },
34556 {
34557 "tag": "body",
34558 "children": [
34559 {
34560 "tag": "p",
34561 "children": [
34562 {
34563 "tag": "svg",
34564 "ns": "http://www.w3.org/2000/svg",
34565 "children": [
34566 {
34567 "tag": "desc",
34568 "ns": "http://www.w3.org/2000/svg",
34569 "children": [
34570 {
34571 "tag": "p"
34572 }
34573 ]
34574 }
34575 ]
34576 }
34577 ]
34578 }
34579 ]
34580 }
34581 ]
34582 }
34583 ],
34584 "html": "<!DOCTYPE html><html><head></head><body><p><svg><desc><p></p></desc></svg></p></body></html>",
34585 "noQuirksBodyHtml": "<p><svg><desc><p></p></desc></svg></p>"
34586 }
34587 },
34588 {
34589 "data": "<!DOCTYPE html><p><svg><title><p>",
34590 "errors": [
34591 "(1,33) expected-closing-tag-but-got-eof"
34592 ],
34593 "document": {
34594 "props": {
34595 "tags": {
34596 "html": true,
34597 "head": true,
34598 "body": true,
34599 "p": true,
34600 "svg svg": true,
34601 "svg title": true
34602 },
34603 "doctype": true
34604 },
34605 "tree": [
34606 {
34607 "doctype": "html"
34608 },
34609 {
34610 "tag": "html",
34611 "children": [
34612 {
34613 "tag": "head"
34614 },
34615 {
34616 "tag": "body",
34617 "children": [
34618 {
34619 "tag": "p",
34620 "children": [
34621 {
34622 "tag": "svg",
34623 "ns": "http://www.w3.org/2000/svg",
34624 "children": [
34625 {
34626 "tag": "title",
34627 "ns": "http://www.w3.org/2000/svg",
34628 "children": [
34629 {
34630 "tag": "p"
34631 }
34632 ]
34633 }
34634 ]
34635 }
34636 ]
34637 }
34638 ]
34639 }
34640 ]
34641 }
34642 ],
34643 "html": "<!DOCTYPE html><html><head></head><body><p><svg><title><p></p></title></svg></p></body></html>",
34644 "noQuirksBodyHtml": "<p><svg><title><p></p></title></svg></p>"
34645 }
34646 },
34647 {
34648 "data": "<div><svg><path><foreignObject><p></foreignObject><p>",
34649 "errors": [
34650 "(1,5) expected-doctype-but-got-start-tag",
34651 "(1,50) unexpected-end-tag",
34652 "(1,53) expected-closing-tag-but-got-eof"
34653 ],
34654 "document": {
34655 "props": {
34656 "tags": {
34657 "html": true,
34658 "head": true,
34659 "body": true,
34660 "div": true,
34661 "svg svg": true,
34662 "svg path": true,
34663 "svg foreignObject": true,
34664 "p": true
34665 }
34666 },
34667 "tree": [
34668 {
34669 "tag": "html",
34670 "children": [
34671 {
34672 "tag": "head"
34673 },
34674 {
34675 "tag": "body",
34676 "children": [
34677 {
34678 "tag": "div",
34679 "children": [
34680 {
34681 "tag": "svg",
34682 "ns": "http://www.w3.org/2000/svg",
34683 "children": [
34684 {
34685 "tag": "path",
34686 "ns": "http://www.w3.org/2000/svg",
34687 "children": [
34688 {
34689 "tag": "foreignObject",
34690 "ns": "http://www.w3.org/2000/svg",
34691 "children": [
34692 {
34693 "tag": "p"
34694 },
34695 {
34696 "tag": "p"
34697 }
34698 ]
34699 }
34700 ]
34701 }
34702 ]
34703 }
34704 ]
34705 }
34706 ]
34707 }
34708 ]
34709 }
34710 ],
34711 "html": "<html><head></head><body><div><svg><path><foreignObject><p></p><p></p></foreignObject></path></svg></div></body></html>",
34712 "noQuirksBodyHtml": "<div><svg><path><foreignObject><p></p><p></p></foreignObject></path></svg></div>"
34713 }
34714 },
34715 {
34716 "data": "<math><mi><div><object><div><span></span></div></object></div></mi><mi>",
34717 "errors": [
34718 "(1,6) expected-doctype-but-got-start-tag",
34719 "(1,71) expected-closing-tag-but-got-eof"
34720 ],
34721 "document": {
34722 "props": {
34723 "tags": {
34724 "html": true,
34725 "head": true,
34726 "body": true,
34727 "math math": true,
34728 "math mi": true,
34729 "div": true,
34730 "object": true,
34731 "span": true
34732 }
34733 },
34734 "tree": [
34735 {
34736 "tag": "html",
34737 "children": [
34738 {
34739 "tag": "head"
34740 },
34741 {
34742 "tag": "body",
34743 "children": [
34744 {
34745 "tag": "math",
34746 "ns": "http://www.w3.org/1998/Math/MathML",
34747 "children": [
34748 {
34749 "tag": "mi",
34750 "ns": "http://www.w3.org/1998/Math/MathML",
34751 "children": [
34752 {
34753 "tag": "div",
34754 "children": [
34755 {
34756 "tag": "object",
34757 "children": [
34758 {
34759 "tag": "div",
34760 "children": [
34761 {
34762 "tag": "span"
34763 }
34764 ]
34765 }
34766 ]
34767 }
34768 ]
34769 }
34770 ]
34771 },
34772 {
34773 "tag": "mi",
34774 "ns": "http://www.w3.org/1998/Math/MathML"
34775 }
34776 ]
34777 }
34778 ]
34779 }
34780 ]
34781 }
34782 ],
34783 "html": "<html><head></head><body><math><mi><div><object><div><span></span></div></object></div></mi><mi></mi></math></body></html>",
34784 "noQuirksBodyHtml": "<math><mi><div><object><div><span></span></div></object></div></mi><mi></mi></math>"
34785 }
34786 },
34787 {
34788 "data": "<math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi>",
34789 "errors": [
34790 "(1,6) expected-doctype-but-got-start-tag",
34791 "(1,83) expected-closing-tag-but-got-eof"
34792 ],
34793 "document": {
34794 "props": {
34795 "tags": {
34796 "html": true,
34797 "head": true,
34798 "body": true,
34799 "math math": true,
34800 "math mi": true,
34801 "svg svg": true,
34802 "svg foreignObject": true,
34803 "div": true
34804 }
34805 },
34806 "tree": [
34807 {
34808 "tag": "html",
34809 "children": [
34810 {
34811 "tag": "head"
34812 },
34813 {
34814 "tag": "body",
34815 "children": [
34816 {
34817 "tag": "math",
34818 "ns": "http://www.w3.org/1998/Math/MathML",
34819 "children": [
34820 {
34821 "tag": "mi",
34822 "ns": "http://www.w3.org/1998/Math/MathML",
34823 "children": [
34824 {
34825 "tag": "svg",
34826 "ns": "http://www.w3.org/2000/svg",
34827 "children": [
34828 {
34829 "tag": "foreignObject",
34830 "ns": "http://www.w3.org/2000/svg",
34831 "children": [
34832 {
34833 "tag": "div",
34834 "children": [
34835 {
34836 "tag": "div"
34837 }
34838 ]
34839 }
34840 ]
34841 }
34842 ]
34843 }
34844 ]
34845 },
34846 {
34847 "tag": "mi",
34848 "ns": "http://www.w3.org/1998/Math/MathML"
34849 }
34850 ]
34851 }
34852 ]
34853 }
34854 ]
34855 }
34856 ],
34857 "html": "<html><head></head><body><math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi></mi></math></body></html>",
34858 "noQuirksBodyHtml": "<math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi></mi></math>"
34859 }
34860 },
34861 {
34862 "data": "<svg><script></script><path>",
34863 "errors": [
34864 "(1,5) expected-doctype-but-got-start-tag",
34865 "(1,28) expected-closing-tag-but-got-eof"
34866 ],
34867 "document": {
34868 "props": {
34869 "tags": {
34870 "html": true,
34871 "head": true,
34872 "body": true,
34873 "svg svg": true,
34874 "svg script": true,
34875 "svg path": true
34876 }
34877 },
34878 "tree": [
34879 {
34880 "tag": "html",
34881 "children": [
34882 {
34883 "tag": "head"
34884 },
34885 {
34886 "tag": "body",
34887 "children": [
34888 {
34889 "tag": "svg",
34890 "ns": "http://www.w3.org/2000/svg",
34891 "children": [
34892 {
34893 "tag": "script",
34894 "ns": "http://www.w3.org/2000/svg"
34895 },
34896 {
34897 "tag": "path",
34898 "ns": "http://www.w3.org/2000/svg"
34899 }
34900 ]
34901 }
34902 ]
34903 }
34904 ]
34905 }
34906 ],
34907 "html": "<html><head></head><body><svg><script></script><path></path></svg></body></html>",
34908 "noQuirksBodyHtml": "<svg><script></script><path></path></svg>"
34909 }
34910 },
34911 {
34912 "data": "<table><svg></svg><tr>",
34913 "errors": [
34914 "(1,7) expected-doctype-but-got-start-tag",
34915 "(1,12) unexpected-start-tag-implies-table-voodoo",
34916 "(1,22) eof-in-table"
34917 ],
34918 "document": {
34919 "props": {
34920 "tags": {
34921 "html": true,
34922 "head": true,
34923 "body": true,
34924 "svg svg": true,
34925 "table": true,
34926 "tbody": true,
34927 "tr": true
34928 }
34929 },
34930 "tree": [
34931 {
34932 "tag": "html",
34933 "children": [
34934 {
34935 "tag": "head"
34936 },
34937 {
34938 "tag": "body",
34939 "children": [
34940 {
34941 "tag": "svg",
34942 "ns": "http://www.w3.org/2000/svg"
34943 },
34944 {
34945 "tag": "table",
34946 "children": [
34947 {
34948 "tag": "tbody",
34949 "children": [
34950 {
34951 "tag": "tr"
34952 }
34953 ]
34954 }
34955 ]
34956 }
34957 ]
34958 }
34959 ]
34960 }
34961 ],
34962 "html": "<html><head></head><body><svg></svg><table><tbody><tr></tr></tbody></table></body></html>",
34963 "noQuirksBodyHtml": "<svg></svg><table><tbody><tr></tr></tbody></table>"
34964 }
34965 },
34966 {
34967 "data": "<math><mi><mglyph>",
34968 "errors": [
34969 "(1,6) expected-doctype-but-got-start-tag",
34970 "(1,18) expected-closing-tag-but-got-eof"
34971 ],
34972 "document": {
34973 "props": {
34974 "tags": {
34975 "html": true,
34976 "head": true,
34977 "body": true,
34978 "math math": true,
34979 "math mi": true,
34980 "math mglyph": true
34981 }
34982 },
34983 "tree": [
34984 {
34985 "tag": "html",
34986 "children": [
34987 {
34988 "tag": "head"
34989 },
34990 {
34991 "tag": "body",
34992 "children": [
34993 {
34994 "tag": "math",
34995 "ns": "http://www.w3.org/1998/Math/MathML",
34996 "children": [
34997 {
34998 "tag": "mi",
34999 "ns": "http://www.w3.org/1998/Math/MathML",
35000 "children": [
35001 {
35002 "tag": "mglyph",
35003 "ns": "http://www.w3.org/1998/Math/MathML"
35004 }
35005 ]
35006 }
35007 ]
35008 }
35009 ]
35010 }
35011 ]
35012 }
35013 ],
35014 "html": "<html><head></head><body><math><mi><mglyph></mglyph></mi></math></body></html>",
35015 "noQuirksBodyHtml": "<math><mi><mglyph></mglyph></mi></math>"
35016 }
35017 },
35018 {
35019 "data": "<math><mi><malignmark>",
35020 "errors": [
35021 "(1,6) expected-doctype-but-got-start-tag",
35022 "(1,22) expected-closing-tag-but-got-eof"
35023 ],
35024 "document": {
35025 "props": {
35026 "tags": {
35027 "html": true,
35028 "head": true,
35029 "body": true,
35030 "math math": true,
35031 "math mi": true,
35032 "math malignmark": true
35033 }
35034 },
35035 "tree": [
35036 {
35037 "tag": "html",
35038 "children": [
35039 {
35040 "tag": "head"
35041 },
35042 {
35043 "tag": "body",
35044 "children": [
35045 {
35046 "tag": "math",
35047 "ns": "http://www.w3.org/1998/Math/MathML",
35048 "children": [
35049 {
35050 "tag": "mi",
35051 "ns": "http://www.w3.org/1998/Math/MathML",
35052 "children": [
35053 {
35054 "tag": "malignmark",
35055 "ns": "http://www.w3.org/1998/Math/MathML"
35056 }
35057 ]
35058 }
35059 ]
35060 }
35061 ]
35062 }
35063 ]
35064 }
35065 ],
35066 "html": "<html><head></head><body><math><mi><malignmark></malignmark></mi></math></body></html>",
35067 "noQuirksBodyHtml": "<math><mi><malignmark></malignmark></mi></math>"
35068 }
35069 },
35070 {
35071 "data": "<math><mo><mglyph>",
35072 "errors": [
35073 "(1,6) expected-doctype-but-got-start-tag",
35074 "(1,18) expected-closing-tag-but-got-eof"
35075 ],
35076 "document": {
35077 "props": {
35078 "tags": {
35079 "html": true,
35080 "head": true,
35081 "body": true,
35082 "math math": true,
35083 "math mo": true,
35084 "math mglyph": true
35085 }
35086 },
35087 "tree": [
35088 {
35089 "tag": "html",
35090 "children": [
35091 {
35092 "tag": "head"
35093 },
35094 {
35095 "tag": "body",
35096 "children": [
35097 {
35098 "tag": "math",
35099 "ns": "http://www.w3.org/1998/Math/MathML",
35100 "children": [
35101 {
35102 "tag": "mo",
35103 "ns": "http://www.w3.org/1998/Math/MathML",
35104 "children": [
35105 {
35106 "tag": "mglyph",
35107 "ns": "http://www.w3.org/1998/Math/MathML"
35108 }
35109 ]
35110 }
35111 ]
35112 }
35113 ]
35114 }
35115 ]
35116 }
35117 ],
35118 "html": "<html><head></head><body><math><mo><mglyph></mglyph></mo></math></body></html>",
35119 "noQuirksBodyHtml": "<math><mo><mglyph></mglyph></mo></math>"
35120 }
35121 },
35122 {
35123 "data": "<math><mo><malignmark>",
35124 "errors": [
35125 "(1,6) expected-doctype-but-got-start-tag",
35126 "(1,22) expected-closing-tag-but-got-eof"
35127 ],
35128 "document": {
35129 "props": {
35130 "tags": {
35131 "html": true,
35132 "head": true,
35133 "body": true,
35134 "math math": true,
35135 "math mo": true,
35136 "math malignmark": true
35137 }
35138 },
35139 "tree": [
35140 {
35141 "tag": "html",
35142 "children": [
35143 {
35144 "tag": "head"
35145 },
35146 {
35147 "tag": "body",
35148 "children": [
35149 {
35150 "tag": "math",
35151 "ns": "http://www.w3.org/1998/Math/MathML",
35152 "children": [
35153 {
35154 "tag": "mo",
35155 "ns": "http://www.w3.org/1998/Math/MathML",
35156 "children": [
35157 {
35158 "tag": "malignmark",
35159 "ns": "http://www.w3.org/1998/Math/MathML"
35160 }
35161 ]
35162 }
35163 ]
35164 }
35165 ]
35166 }
35167 ]
35168 }
35169 ],
35170 "html": "<html><head></head><body><math><mo><malignmark></malignmark></mo></math></body></html>",
35171 "noQuirksBodyHtml": "<math><mo><malignmark></malignmark></mo></math>"
35172 }
35173 },
35174 {
35175 "data": "<math><mn><mglyph>",
35176 "errors": [
35177 "(1,6) expected-doctype-but-got-start-tag",
35178 "(1,18) expected-closing-tag-but-got-eof"
35179 ],
35180 "document": {
35181 "props": {
35182 "tags": {
35183 "html": true,
35184 "head": true,
35185 "body": true,
35186 "math math": true,
35187 "math mn": true,
35188 "math mglyph": true
35189 }
35190 },
35191 "tree": [
35192 {
35193 "tag": "html",
35194 "children": [
35195 {
35196 "tag": "head"
35197 },
35198 {
35199 "tag": "body",
35200 "children": [
35201 {
35202 "tag": "math",
35203 "ns": "http://www.w3.org/1998/Math/MathML",
35204 "children": [
35205 {
35206 "tag": "mn",
35207 "ns": "http://www.w3.org/1998/Math/MathML",
35208 "children": [
35209 {
35210 "tag": "mglyph",
35211 "ns": "http://www.w3.org/1998/Math/MathML"
35212 }
35213 ]
35214 }
35215 ]
35216 }
35217 ]
35218 }
35219 ]
35220 }
35221 ],
35222 "html": "<html><head></head><body><math><mn><mglyph></mglyph></mn></math></body></html>",
35223 "noQuirksBodyHtml": "<math><mn><mglyph></mglyph></mn></math>"
35224 }
35225 },
35226 {
35227 "data": "<math><mn><malignmark>",
35228 "errors": [
35229 "(1,6) expected-doctype-but-got-start-tag",
35230 "(1,22) expected-closing-tag-but-got-eof"
35231 ],
35232 "document": {
35233 "props": {
35234 "tags": {
35235 "html": true,
35236 "head": true,
35237 "body": true,
35238 "math math": true,
35239 "math mn": true,
35240 "math malignmark": true
35241 }
35242 },
35243 "tree": [
35244 {
35245 "tag": "html",
35246 "children": [
35247 {
35248 "tag": "head"
35249 },
35250 {
35251 "tag": "body",
35252 "children": [
35253 {
35254 "tag": "math",
35255 "ns": "http://www.w3.org/1998/Math/MathML",
35256 "children": [
35257 {
35258 "tag": "mn",
35259 "ns": "http://www.w3.org/1998/Math/MathML",
35260 "children": [
35261 {
35262 "tag": "malignmark",
35263 "ns": "http://www.w3.org/1998/Math/MathML"
35264 }
35265 ]
35266 }
35267 ]
35268 }
35269 ]
35270 }
35271 ]
35272 }
35273 ],
35274 "html": "<html><head></head><body><math><mn><malignmark></malignmark></mn></math></body></html>",
35275 "noQuirksBodyHtml": "<math><mn><malignmark></malignmark></mn></math>"
35276 }
35277 },
35278 {
35279 "data": "<math><ms><mglyph>",
35280 "errors": [
35281 "(1,6) expected-doctype-but-got-start-tag",
35282 "(1,18) expected-closing-tag-but-got-eof"
35283 ],
35284 "document": {
35285 "props": {
35286 "tags": {
35287 "html": true,
35288 "head": true,
35289 "body": true,
35290 "math math": true,
35291 "math ms": true,
35292 "math mglyph": true
35293 }
35294 },
35295 "tree": [
35296 {
35297 "tag": "html",
35298 "children": [
35299 {
35300 "tag": "head"
35301 },
35302 {
35303 "tag": "body",
35304 "children": [
35305 {
35306 "tag": "math",
35307 "ns": "http://www.w3.org/1998/Math/MathML",
35308 "children": [
35309 {
35310 "tag": "ms",
35311 "ns": "http://www.w3.org/1998/Math/MathML",
35312 "children": [
35313 {
35314 "tag": "mglyph",
35315 "ns": "http://www.w3.org/1998/Math/MathML"
35316 }
35317 ]
35318 }
35319 ]
35320 }
35321 ]
35322 }
35323 ]
35324 }
35325 ],
35326 "html": "<html><head></head><body><math><ms><mglyph></mglyph></ms></math></body></html>",
35327 "noQuirksBodyHtml": "<math><ms><mglyph></mglyph></ms></math>"
35328 }
35329 },
35330 {
35331 "data": "<math><ms><malignmark>",
35332 "errors": [
35333 "(1,6) expected-doctype-but-got-start-tag",
35334 "(1,22) expected-closing-tag-but-got-eof"
35335 ],
35336 "document": {
35337 "props": {
35338 "tags": {
35339 "html": true,
35340 "head": true,
35341 "body": true,
35342 "math math": true,
35343 "math ms": true,
35344 "math malignmark": true
35345 }
35346 },
35347 "tree": [
35348 {
35349 "tag": "html",
35350 "children": [
35351 {
35352 "tag": "head"
35353 },
35354 {
35355 "tag": "body",
35356 "children": [
35357 {
35358 "tag": "math",
35359 "ns": "http://www.w3.org/1998/Math/MathML",
35360 "children": [
35361 {
35362 "tag": "ms",
35363 "ns": "http://www.w3.org/1998/Math/MathML",
35364 "children": [
35365 {
35366 "tag": "malignmark",
35367 "ns": "http://www.w3.org/1998/Math/MathML"
35368 }
35369 ]
35370 }
35371 ]
35372 }
35373 ]
35374 }
35375 ]
35376 }
35377 ],
35378 "html": "<html><head></head><body><math><ms><malignmark></malignmark></ms></math></body></html>",
35379 "noQuirksBodyHtml": "<math><ms><malignmark></malignmark></ms></math>"
35380 }
35381 },
35382 {
35383 "data": "<math><mtext><mglyph>",
35384 "errors": [
35385 "(1,6) expected-doctype-but-got-start-tag",
35386 "(1,21) expected-closing-tag-but-got-eof"
35387 ],
35388 "document": {
35389 "props": {
35390 "tags": {
35391 "html": true,
35392 "head": true,
35393 "body": true,
35394 "math math": true,
35395 "math mtext": true,
35396 "math mglyph": true
35397 }
35398 },
35399 "tree": [
35400 {
35401 "tag": "html",
35402 "children": [
35403 {
35404 "tag": "head"
35405 },
35406 {
35407 "tag": "body",
35408 "children": [
35409 {
35410 "tag": "math",
35411 "ns": "http://www.w3.org/1998/Math/MathML",
35412 "children": [
35413 {
35414 "tag": "mtext",
35415 "ns": "http://www.w3.org/1998/Math/MathML",
35416 "children": [
35417 {
35418 "tag": "mglyph",
35419 "ns": "http://www.w3.org/1998/Math/MathML"
35420 }
35421 ]
35422 }
35423 ]
35424 }
35425 ]
35426 }
35427 ]
35428 }
35429 ],
35430 "html": "<html><head></head><body><math><mtext><mglyph></mglyph></mtext></math></body></html>",
35431 "noQuirksBodyHtml": "<math><mtext><mglyph></mglyph></mtext></math>"
35432 }
35433 },
35434 {
35435 "data": "<math><mtext><malignmark>",
35436 "errors": [
35437 "(1,6) expected-doctype-but-got-start-tag",
35438 "(1,25) expected-closing-tag-but-got-eof"
35439 ],
35440 "document": {
35441 "props": {
35442 "tags": {
35443 "html": true,
35444 "head": true,
35445 "body": true,
35446 "math math": true,
35447 "math mtext": true,
35448 "math malignmark": true
35449 }
35450 },
35451 "tree": [
35452 {
35453 "tag": "html",
35454 "children": [
35455 {
35456 "tag": "head"
35457 },
35458 {
35459 "tag": "body",
35460 "children": [
35461 {
35462 "tag": "math",
35463 "ns": "http://www.w3.org/1998/Math/MathML",
35464 "children": [
35465 {
35466 "tag": "mtext",
35467 "ns": "http://www.w3.org/1998/Math/MathML",
35468 "children": [
35469 {
35470 "tag": "malignmark",
35471 "ns": "http://www.w3.org/1998/Math/MathML"
35472 }
35473 ]
35474 }
35475 ]
35476 }
35477 ]
35478 }
35479 ]
35480 }
35481 ],
35482 "html": "<html><head></head><body><math><mtext><malignmark></malignmark></mtext></math></body></html>",
35483 "noQuirksBodyHtml": "<math><mtext><malignmark></malignmark></mtext></math>"
35484 }
35485 },
35486 {
35487 "data": "<math><annotation-xml><svg></svg></annotation-xml><mi>",
35488 "errors": [
35489 "(1,6) expected-doctype-but-got-start-tag",
35490 "(1,54) expected-closing-tag-but-got-eof"
35491 ],
35492 "document": {
35493 "props": {
35494 "tags": {
35495 "html": true,
35496 "head": true,
35497 "body": true,
35498 "math math": true,
35499 "math annotation-xml": true,
35500 "svg svg": true,
35501 "math mi": true
35502 }
35503 },
35504 "tree": [
35505 {
35506 "tag": "html",
35507 "children": [
35508 {
35509 "tag": "head"
35510 },
35511 {
35512 "tag": "body",
35513 "children": [
35514 {
35515 "tag": "math",
35516 "ns": "http://www.w3.org/1998/Math/MathML",
35517 "children": [
35518 {
35519 "tag": "annotation-xml",
35520 "ns": "http://www.w3.org/1998/Math/MathML",
35521 "children": [
35522 {
35523 "tag": "svg",
35524 "ns": "http://www.w3.org/2000/svg"
35525 }
35526 ]
35527 },
35528 {
35529 "tag": "mi",
35530 "ns": "http://www.w3.org/1998/Math/MathML"
35531 }
35532 ]
35533 }
35534 ]
35535 }
35536 ]
35537 }
35538 ],
35539 "html": "<html><head></head><body><math><annotation-xml><svg></svg></annotation-xml><mi></mi></math></body></html>",
35540 "noQuirksBodyHtml": "<math><annotation-xml><svg></svg></annotation-xml><mi></mi></math>"
35541 }
35542 },
35543 {
35544 "data": "<math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi>",
35545 "errors": [
35546 "(1,6) expected-doctype-but-got-start-tag",
35547 "(1,144) expected-closing-tag-but-got-eof"
35548 ],
35549 "document": {
35550 "props": {
35551 "tags": {
35552 "html": true,
35553 "head": true,
35554 "body": true,
35555 "math math": true,
35556 "math annotation-xml": true,
35557 "svg svg": true,
35558 "svg foreignObject": true,
35559 "div": true,
35560 "math mi": true,
35561 "span": true,
35562 "svg path": true
35563 }
35564 },
35565 "tree": [
35566 {
35567 "tag": "html",
35568 "children": [
35569 {
35570 "tag": "head"
35571 },
35572 {
35573 "tag": "body",
35574 "children": [
35575 {
35576 "tag": "math",
35577 "ns": "http://www.w3.org/1998/Math/MathML",
35578 "children": [
35579 {
35580 "tag": "annotation-xml",
35581 "ns": "http://www.w3.org/1998/Math/MathML",
35582 "children": [
35583 {
35584 "tag": "svg",
35585 "ns": "http://www.w3.org/2000/svg",
35586 "children": [
35587 {
35588 "tag": "foreignObject",
35589 "ns": "http://www.w3.org/2000/svg",
35590 "children": [
35591 {
35592 "tag": "div",
35593 "children": [
35594 {
35595 "tag": "math",
35596 "ns": "http://www.w3.org/1998/Math/MathML",
35597 "children": [
35598 {
35599 "tag": "mi",
35600 "ns": "http://www.w3.org/1998/Math/MathML"
35601 }
35602 ]
35603 },
35604 {
35605 "tag": "span"
35606 }
35607 ]
35608 }
35609 ]
35610 },
35611 {
35612 "tag": "path",
35613 "ns": "http://www.w3.org/2000/svg"
35614 }
35615 ]
35616 }
35617 ]
35618 },
35619 {
35620 "tag": "mi",
35621 "ns": "http://www.w3.org/1998/Math/MathML"
35622 }
35623 ]
35624 }
35625 ]
35626 }
35627 ]
35628 }
35629 ],
35630 "html": "<html><head></head><body><math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi></mi></math></body></html>",
35631 "noQuirksBodyHtml": "<math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi></mi></math>"
35632 }
35633 },
35634 {
35635 "data": "<math><annotation-xml><svg><foreignObject><math><mi><svg></svg></mi><mo></mo></math><span></span></foreignObject><path></path></svg></annotation-xml><mi>",
35636 "errors": [
35637 "(1,6) expected-doctype-but-got-start-tag",
35638 "(1,153) expected-closing-tag-but-got-eof"
35639 ],
35640 "document": {
35641 "props": {
35642 "tags": {
35643 "html": true,
35644 "head": true,
35645 "body": true,
35646 "math math": true,
35647 "math annotation-xml": true,
35648 "svg svg": true,
35649 "svg foreignObject": true,
35650 "math mi": true,
35651 "math mo": true,
35652 "span": true,
35653 "svg path": true
35654 }
35655 },
35656 "tree": [
35657 {
35658 "tag": "html",
35659 "children": [
35660 {
35661 "tag": "head"
35662 },
35663 {
35664 "tag": "body",
35665 "children": [
35666 {
35667 "tag": "math",
35668 "ns": "http://www.w3.org/1998/Math/MathML",
35669 "children": [
35670 {
35671 "tag": "annotation-xml",
35672 "ns": "http://www.w3.org/1998/Math/MathML",
35673 "children": [
35674 {
35675 "tag": "svg",
35676 "ns": "http://www.w3.org/2000/svg",
35677 "children": [
35678 {
35679 "tag": "foreignObject",
35680 "ns": "http://www.w3.org/2000/svg",
35681 "children": [
35682 {
35683 "tag": "math",
35684 "ns": "http://www.w3.org/1998/Math/MathML",
35685 "children": [
35686 {
35687 "tag": "mi",
35688 "ns": "http://www.w3.org/1998/Math/MathML",
35689 "children": [
35690 {
35691 "tag": "svg",
35692 "ns": "http://www.w3.org/2000/svg"
35693 }
35694 ]
35695 },
35696 {
35697 "tag": "mo",
35698 "ns": "http://www.w3.org/1998/Math/MathML"
35699 }
35700 ]
35701 },
35702 {
35703 "tag": "span"
35704 }
35705 ]
35706 },
35707 {
35708 "tag": "path",
35709 "ns": "http://www.w3.org/2000/svg"
35710 }
35711 ]
35712 }
35713 ]
35714 },
35715 {
35716 "tag": "mi",
35717 "ns": "http://www.w3.org/1998/Math/MathML"
35718 }
35719 ]
35720 }
35721 ]
35722 }
35723 ]
35724 }
35725 ],
35726 "html": "<html><head></head><body><math><annotation-xml><svg><foreignObject><math><mi><svg></svg></mi><mo></mo></math><span></span></foreignObject><path></path></svg></annotation-xml><mi></mi></math></body></html>",
35727 "noQuirksBodyHtml": "<math><annotation-xml><svg><foreignObject><math><mi><svg></svg></mi><mo></mo></math><span></span></foreignObject><path></path></svg></annotation-xml><mi></mi></math>"
35728 }
35729 }
35730 ],
35731 "tests11.dat": [
35732 {
35733 "data": "<!DOCTYPE html><body><svg attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMode='' clipPathUnits='' diffuseConstant='' edgeMode='' filterUnits='' glyphRef='' gradientTransform='' gradientUnits='' kernelMatrix='' kernelUnitLength='' keyPoints='' keySplines='' keyTimes='' lengthAdjust='' limitingConeAngle='' markerHeight='' markerUnits='' markerWidth='' maskContentUnits='' maskUnits='' numOctaves='' pathLength='' patternContentUnits='' patternTransform='' patternUnits='' pointsAtX='' pointsAtY='' pointsAtZ='' preserveAlpha='' preserveAspectRatio='' primitiveUnits='' refX='' refY='' repeatCount='' repeatDur='' requiredExtensions='' requiredFeatures='' specularConstant='' specularExponent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' xChannelSelector='' yChannelSelector='' zoomAndPan=''></svg>",
35734 "errors": [],
35735 "document": {
35736 "props": {
35737 "tags": {
35738 "html": true,
35739 "head": true,
35740 "body": true,
35741 "svg svg": true
35742 },
35743 "doctype": true
35744 },
35745 "tree": [
35746 {
35747 "doctype": "html"
35748 },
35749 {
35750 "tag": "html",
35751 "children": [
35752 {
35753 "tag": "head"
35754 },
35755 {
35756 "tag": "body",
35757 "children": [
35758 {
35759 "tag": "svg",
35760 "ns": "http://www.w3.org/2000/svg",
35761 "attrs": [
35762 {
35763 "name": "attributeName",
35764 "value": ""
35765 },
35766 {
35767 "name": "attributeType",
35768 "value": ""
35769 },
35770 {
35771 "name": "baseFrequency",
35772 "value": ""
35773 },
35774 {
35775 "name": "baseProfile",
35776 "value": ""
35777 },
35778 {
35779 "name": "calcMode",
35780 "value": ""
35781 },
35782 {
35783 "name": "clipPathUnits",
35784 "value": ""
35785 },
35786 {
35787 "name": "diffuseConstant",
35788 "value": ""
35789 },
35790 {
35791 "name": "edgeMode",
35792 "value": ""
35793 },
35794 {
35795 "name": "filterUnits",
35796 "value": ""
35797 },
35798 {
35799 "name": "glyphRef",
35800 "value": ""
35801 },
35802 {
35803 "name": "gradientTransform",
35804 "value": ""
35805 },
35806 {
35807 "name": "gradientUnits",
35808 "value": ""
35809 },
35810 {
35811 "name": "kernelMatrix",
35812 "value": ""
35813 },
35814 {
35815 "name": "kernelUnitLength",
35816 "value": ""
35817 },
35818 {
35819 "name": "keyPoints",
35820 "value": ""
35821 },
35822 {
35823 "name": "keySplines",
35824 "value": ""
35825 },
35826 {
35827 "name": "keyTimes",
35828 "value": ""
35829 },
35830 {
35831 "name": "lengthAdjust",
35832 "value": ""
35833 },
35834 {
35835 "name": "limitingConeAngle",
35836 "value": ""
35837 },
35838 {
35839 "name": "markerHeight",
35840 "value": ""
35841 },
35842 {
35843 "name": "markerUnits",
35844 "value": ""
35845 },
35846 {
35847 "name": "markerWidth",
35848 "value": ""
35849 },
35850 {
35851 "name": "maskContentUnits",
35852 "value": ""
35853 },
35854 {
35855 "name": "maskUnits",
35856 "value": ""
35857 },
35858 {
35859 "name": "numOctaves",
35860 "value": ""
35861 },
35862 {
35863 "name": "pathLength",
35864 "value": ""
35865 },
35866 {
35867 "name": "patternContentUnits",
35868 "value": ""
35869 },
35870 {
35871 "name": "patternTransform",
35872 "value": ""
35873 },
35874 {
35875 "name": "patternUnits",
35876 "value": ""
35877 },
35878 {
35879 "name": "pointsAtX",
35880 "value": ""
35881 },
35882 {
35883 "name": "pointsAtY",
35884 "value": ""
35885 },
35886 {
35887 "name": "pointsAtZ",
35888 "value": ""
35889 },
35890 {
35891 "name": "preserveAlpha",
35892 "value": ""
35893 },
35894 {
35895 "name": "preserveAspectRatio",
35896 "value": ""
35897 },
35898 {
35899 "name": "primitiveUnits",
35900 "value": ""
35901 },
35902 {
35903 "name": "refX",
35904 "value": ""
35905 },
35906 {
35907 "name": "refY",
35908 "value": ""
35909 },
35910 {
35911 "name": "repeatCount",
35912 "value": ""
35913 },
35914 {
35915 "name": "repeatDur",
35916 "value": ""
35917 },
35918 {
35919 "name": "requiredExtensions",
35920 "value": ""
35921 },
35922 {
35923 "name": "requiredFeatures",
35924 "value": ""
35925 },
35926 {
35927 "name": "specularConstant",
35928 "value": ""
35929 },
35930 {
35931 "name": "specularExponent",
35932 "value": ""
35933 },
35934 {
35935 "name": "spreadMethod",
35936 "value": ""
35937 },
35938 {
35939 "name": "startOffset",
35940 "value": ""
35941 },
35942 {
35943 "name": "stdDeviation",
35944 "value": ""
35945 },
35946 {
35947 "name": "stitchTiles",
35948 "value": ""
35949 },
35950 {
35951 "name": "surfaceScale",
35952 "value": ""
35953 },
35954 {
35955 "name": "systemLanguage",
35956 "value": ""
35957 },
35958 {
35959 "name": "tableValues",
35960 "value": ""
35961 },
35962 {
35963 "name": "targetX",
35964 "value": ""
35965 },
35966 {
35967 "name": "targetY",
35968 "value": ""
35969 },
35970 {
35971 "name": "textLength",
35972 "value": ""
35973 },
35974 {
35975 "name": "viewBox",
35976 "value": ""
35977 },
35978 {
35979 "name": "viewTarget",
35980 "value": ""
35981 },
35982 {
35983 "name": "xChannelSelector",
35984 "value": ""
35985 },
35986 {
35987 "name": "yChannelSelector",
35988 "value": ""
35989 },
35990 {
35991 "name": "zoomAndPan",
35992 "value": ""
35993 }
35994 ]
35995 }
35996 ]
35997 }
35998 ]
35999 }
36000 ],
36001 "html": "<!DOCTYPE html><html><head></head><body><svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg></body></html>",
36002 "noQuirksBodyHtml": "<svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg>"
36003 }
36004 },
36005 {
36006 "data": "<!DOCTYPE html><BODY><SVG ATTRIBUTENAME='' ATTRIBUTETYPE='' BASEFREQUENCY='' BASEPROFILE='' CALCMODE='' CLIPPATHUNITS='' DIFFUSECONSTANT='' EDGEMODE='' FILTERUNITS='' GLYPHREF='' GRADIENTTRANSFORM='' GRADIENTUNITS='' KERNELMATRIX='' KERNELUNITLENGTH='' KEYPOINTS='' KEYSPLINES='' KEYTIMES='' LENGTHADJUST='' LIMITINGCONEANGLE='' MARKERHEIGHT='' MARKERUNITS='' MARKERWIDTH='' MASKCONTENTUNITS='' MASKUNITS='' NUMOCTAVES='' PATHLENGTH='' PATTERNCONTENTUNITS='' PATTERNTRANSFORM='' PATTERNUNITS='' POINTSATX='' POINTSATY='' POINTSATZ='' PRESERVEALPHA='' PRESERVEASPECTRATIO='' PRIMITIVEUNITS='' REFX='' REFY='' REPEATCOUNT='' REPEATDUR='' REQUIREDEXTENSIONS='' REQUIREDFEATURES='' SPECULARCONSTANT='' SPECULAREXPONENT='' SPREADMETHOD='' STARTOFFSET='' STDDEVIATION='' STITCHTILES='' SURFACESCALE='' SYSTEMLANGUAGE='' TABLEVALUES='' TARGETX='' TARGETY='' TEXTLENGTH='' VIEWBOX='' VIEWTARGET='' XCHANNELSELECTOR='' YCHANNELSELECTOR='' ZOOMANDPAN=''></SVG>",
36007 "errors": [],
36008 "document": {
36009 "props": {
36010 "tags": {
36011 "html": true,
36012 "head": true,
36013 "body": true,
36014 "svg svg": true
36015 },
36016 "doctype": true
36017 },
36018 "tree": [
36019 {
36020 "doctype": "html"
36021 },
36022 {
36023 "tag": "html",
36024 "children": [
36025 {
36026 "tag": "head"
36027 },
36028 {
36029 "tag": "body",
36030 "children": [
36031 {
36032 "tag": "svg",
36033 "ns": "http://www.w3.org/2000/svg",
36034 "attrs": [
36035 {
36036 "name": "attributeName",
36037 "value": ""
36038 },
36039 {
36040 "name": "attributeType",
36041 "value": ""
36042 },
36043 {
36044 "name": "baseFrequency",
36045 "value": ""
36046 },
36047 {
36048 "name": "baseProfile",
36049 "value": ""
36050 },
36051 {
36052 "name": "calcMode",
36053 "value": ""
36054 },
36055 {
36056 "name": "clipPathUnits",
36057 "value": ""
36058 },
36059 {
36060 "name": "diffuseConstant",
36061 "value": ""
36062 },
36063 {
36064 "name": "edgeMode",
36065 "value": ""
36066 },
36067 {
36068 "name": "filterUnits",
36069 "value": ""
36070 },
36071 {
36072 "name": "glyphRef",
36073 "value": ""
36074 },
36075 {
36076 "name": "gradientTransform",
36077 "value": ""
36078 },
36079 {
36080 "name": "gradientUnits",
36081 "value": ""
36082 },
36083 {
36084 "name": "kernelMatrix",
36085 "value": ""
36086 },
36087 {
36088 "name": "kernelUnitLength",
36089 "value": ""
36090 },
36091 {
36092 "name": "keyPoints",
36093 "value": ""
36094 },
36095 {
36096 "name": "keySplines",
36097 "value": ""
36098 },
36099 {
36100 "name": "keyTimes",
36101 "value": ""
36102 },
36103 {
36104 "name": "lengthAdjust",
36105 "value": ""
36106 },
36107 {
36108 "name": "limitingConeAngle",
36109 "value": ""
36110 },
36111 {
36112 "name": "markerHeight",
36113 "value": ""
36114 },
36115 {
36116 "name": "markerUnits",
36117 "value": ""
36118 },
36119 {
36120 "name": "markerWidth",
36121 "value": ""
36122 },
36123 {
36124 "name": "maskContentUnits",
36125 "value": ""
36126 },
36127 {
36128 "name": "maskUnits",
36129 "value": ""
36130 },
36131 {
36132 "name": "numOctaves",
36133 "value": ""
36134 },
36135 {
36136 "name": "pathLength",
36137 "value": ""
36138 },
36139 {
36140 "name": "patternContentUnits",
36141 "value": ""
36142 },
36143 {
36144 "name": "patternTransform",
36145 "value": ""
36146 },
36147 {
36148 "name": "patternUnits",
36149 "value": ""
36150 },
36151 {
36152 "name": "pointsAtX",
36153 "value": ""
36154 },
36155 {
36156 "name": "pointsAtY",
36157 "value": ""
36158 },
36159 {
36160 "name": "pointsAtZ",
36161 "value": ""
36162 },
36163 {
36164 "name": "preserveAlpha",
36165 "value": ""
36166 },
36167 {
36168 "name": "preserveAspectRatio",
36169 "value": ""
36170 },
36171 {
36172 "name": "primitiveUnits",
36173 "value": ""
36174 },
36175 {
36176 "name": "refX",
36177 "value": ""
36178 },
36179 {
36180 "name": "refY",
36181 "value": ""
36182 },
36183 {
36184 "name": "repeatCount",
36185 "value": ""
36186 },
36187 {
36188 "name": "repeatDur",
36189 "value": ""
36190 },
36191 {
36192 "name": "requiredExtensions",
36193 "value": ""
36194 },
36195 {
36196 "name": "requiredFeatures",
36197 "value": ""
36198 },
36199 {
36200 "name": "specularConstant",
36201 "value": ""
36202 },
36203 {
36204 "name": "specularExponent",
36205 "value": ""
36206 },
36207 {
36208 "name": "spreadMethod",
36209 "value": ""
36210 },
36211 {
36212 "name": "startOffset",
36213 "value": ""
36214 },
36215 {
36216 "name": "stdDeviation",
36217 "value": ""
36218 },
36219 {
36220 "name": "stitchTiles",
36221 "value": ""
36222 },
36223 {
36224 "name": "surfaceScale",
36225 "value": ""
36226 },
36227 {
36228 "name": "systemLanguage",
36229 "value": ""
36230 },
36231 {
36232 "name": "tableValues",
36233 "value": ""
36234 },
36235 {
36236 "name": "targetX",
36237 "value": ""
36238 },
36239 {
36240 "name": "targetY",
36241 "value": ""
36242 },
36243 {
36244 "name": "textLength",
36245 "value": ""
36246 },
36247 {
36248 "name": "viewBox",
36249 "value": ""
36250 },
36251 {
36252 "name": "viewTarget",
36253 "value": ""
36254 },
36255 {
36256 "name": "xChannelSelector",
36257 "value": ""
36258 },
36259 {
36260 "name": "yChannelSelector",
36261 "value": ""
36262 },
36263 {
36264 "name": "zoomAndPan",
36265 "value": ""
36266 }
36267 ]
36268 }
36269 ]
36270 }
36271 ]
36272 }
36273 ],
36274 "html": "<!DOCTYPE html><html><head></head><body><svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg></body></html>",
36275 "noQuirksBodyHtml": "<svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg>"
36276 }
36277 },
36278 {
36279 "data": "<!DOCTYPE html><body><svg attributename='' attributetype='' basefrequency='' baseprofile='' calcmode='' clippathunits='' diffuseconstant='' edgemode='' filterunits='' filterres='' glyphref='' gradienttransform='' gradientunits='' kernelmatrix='' kernelunitlength='' keypoints='' keysplines='' keytimes='' lengthadjust='' limitingconeangle='' markerheight='' markerunits='' markerwidth='' maskcontentunits='' maskunits='' numoctaves='' pathlength='' patterncontentunits='' patterntransform='' patternunits='' pointsatx='' pointsaty='' pointsatz='' preservealpha='' preserveaspectratio='' primitiveunits='' refx='' refy='' repeatcount='' repeatdur='' requiredextensions='' requiredfeatures='' specularconstant='' specularexponent='' spreadmethod='' startoffset='' stddeviation='' stitchtiles='' surfacescale='' systemlanguage='' tablevalues='' targetx='' targety='' textlength='' viewbox='' viewtarget='' xchannelselector='' ychannelselector='' zoomandpan=''></svg>",
36280 "errors": [],
36281 "document": {
36282 "props": {
36283 "tags": {
36284 "html": true,
36285 "head": true,
36286 "body": true,
36287 "svg svg": true
36288 },
36289 "doctype": true
36290 },
36291 "tree": [
36292 {
36293 "doctype": "html"
36294 },
36295 {
36296 "tag": "html",
36297 "children": [
36298 {
36299 "tag": "head"
36300 },
36301 {
36302 "tag": "body",
36303 "children": [
36304 {
36305 "tag": "svg",
36306 "ns": "http://www.w3.org/2000/svg",
36307 "attrs": [
36308 {
36309 "name": "attributeName",
36310 "value": ""
36311 },
36312 {
36313 "name": "attributeType",
36314 "value": ""
36315 },
36316 {
36317 "name": "baseFrequency",
36318 "value": ""
36319 },
36320 {
36321 "name": "baseProfile",
36322 "value": ""
36323 },
36324 {
36325 "name": "calcMode",
36326 "value": ""
36327 },
36328 {
36329 "name": "clipPathUnits",
36330 "value": ""
36331 },
36332 {
36333 "name": "diffuseConstant",
36334 "value": ""
36335 },
36336 {
36337 "name": "edgeMode",
36338 "value": ""
36339 },
36340 {
36341 "name": "filterUnits",
36342 "value": ""
36343 },
36344 {
36345 "name": "filterres",
36346 "value": ""
36347 },
36348 {
36349 "name": "glyphRef",
36350 "value": ""
36351 },
36352 {
36353 "name": "gradientTransform",
36354 "value": ""
36355 },
36356 {
36357 "name": "gradientUnits",
36358 "value": ""
36359 },
36360 {
36361 "name": "kernelMatrix",
36362 "value": ""
36363 },
36364 {
36365 "name": "kernelUnitLength",
36366 "value": ""
36367 },
36368 {
36369 "name": "keyPoints",
36370 "value": ""
36371 },
36372 {
36373 "name": "keySplines",
36374 "value": ""
36375 },
36376 {
36377 "name": "keyTimes",
36378 "value": ""
36379 },
36380 {
36381 "name": "lengthAdjust",
36382 "value": ""
36383 },
36384 {
36385 "name": "limitingConeAngle",
36386 "value": ""
36387 },
36388 {
36389 "name": "markerHeight",
36390 "value": ""
36391 },
36392 {
36393 "name": "markerUnits",
36394 "value": ""
36395 },
36396 {
36397 "name": "markerWidth",
36398 "value": ""
36399 },
36400 {
36401 "name": "maskContentUnits",
36402 "value": ""
36403 },
36404 {
36405 "name": "maskUnits",
36406 "value": ""
36407 },
36408 {
36409 "name": "numOctaves",
36410 "value": ""
36411 },
36412 {
36413 "name": "pathLength",
36414 "value": ""
36415 },
36416 {
36417 "name": "patternContentUnits",
36418 "value": ""
36419 },
36420 {
36421 "name": "patternTransform",
36422 "value": ""
36423 },
36424 {
36425 "name": "patternUnits",
36426 "value": ""
36427 },
36428 {
36429 "name": "pointsAtX",
36430 "value": ""
36431 },
36432 {
36433 "name": "pointsAtY",
36434 "value": ""
36435 },
36436 {
36437 "name": "pointsAtZ",
36438 "value": ""
36439 },
36440 {
36441 "name": "preserveAlpha",
36442 "value": ""
36443 },
36444 {
36445 "name": "preserveAspectRatio",
36446 "value": ""
36447 },
36448 {
36449 "name": "primitiveUnits",
36450 "value": ""
36451 },
36452 {
36453 "name": "refX",
36454 "value": ""
36455 },
36456 {
36457 "name": "refY",
36458 "value": ""
36459 },
36460 {
36461 "name": "repeatCount",
36462 "value": ""
36463 },
36464 {
36465 "name": "repeatDur",
36466 "value": ""
36467 },
36468 {
36469 "name": "requiredExtensions",
36470 "value": ""
36471 },
36472 {
36473 "name": "requiredFeatures",
36474 "value": ""
36475 },
36476 {
36477 "name": "specularConstant",
36478 "value": ""
36479 },
36480 {
36481 "name": "specularExponent",
36482 "value": ""
36483 },
36484 {
36485 "name": "spreadMethod",
36486 "value": ""
36487 },
36488 {
36489 "name": "startOffset",
36490 "value": ""
36491 },
36492 {
36493 "name": "stdDeviation",
36494 "value": ""
36495 },
36496 {
36497 "name": "stitchTiles",
36498 "value": ""
36499 },
36500 {
36501 "name": "surfaceScale",
36502 "value": ""
36503 },
36504 {
36505 "name": "systemLanguage",
36506 "value": ""
36507 },
36508 {
36509 "name": "tableValues",
36510 "value": ""
36511 },
36512 {
36513 "name": "targetX",
36514 "value": ""
36515 },
36516 {
36517 "name": "targetY",
36518 "value": ""
36519 },
36520 {
36521 "name": "textLength",
36522 "value": ""
36523 },
36524 {
36525 "name": "viewBox",
36526 "value": ""
36527 },
36528 {
36529 "name": "viewTarget",
36530 "value": ""
36531 },
36532 {
36533 "name": "xChannelSelector",
36534 "value": ""
36535 },
36536 {
36537 "name": "yChannelSelector",
36538 "value": ""
36539 },
36540 {
36541 "name": "zoomAndPan",
36542 "value": ""
36543 }
36544 ]
36545 }
36546 ]
36547 }
36548 ]
36549 }
36550 ],
36551 "html": "<!DOCTYPE html><html><head></head><body><svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" filterres=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg></body></html>",
36552 "noQuirksBodyHtml": "<svg attributeName=\"\" attributeType=\"\" baseFrequency=\"\" baseProfile=\"\" calcMode=\"\" clipPathUnits=\"\" diffuseConstant=\"\" edgeMode=\"\" filterUnits=\"\" filterres=\"\" glyphRef=\"\" gradientTransform=\"\" gradientUnits=\"\" kernelMatrix=\"\" kernelUnitLength=\"\" keyPoints=\"\" keySplines=\"\" keyTimes=\"\" lengthAdjust=\"\" limitingConeAngle=\"\" markerHeight=\"\" markerUnits=\"\" markerWidth=\"\" maskContentUnits=\"\" maskUnits=\"\" numOctaves=\"\" pathLength=\"\" patternContentUnits=\"\" patternTransform=\"\" patternUnits=\"\" pointsAtX=\"\" pointsAtY=\"\" pointsAtZ=\"\" preserveAlpha=\"\" preserveAspectRatio=\"\" primitiveUnits=\"\" refX=\"\" refY=\"\" repeatCount=\"\" repeatDur=\"\" requiredExtensions=\"\" requiredFeatures=\"\" specularConstant=\"\" specularExponent=\"\" spreadMethod=\"\" startOffset=\"\" stdDeviation=\"\" stitchTiles=\"\" surfaceScale=\"\" systemLanguage=\"\" tableValues=\"\" targetX=\"\" targetY=\"\" textLength=\"\" viewBox=\"\" viewTarget=\"\" xChannelSelector=\"\" yChannelSelector=\"\" zoomAndPan=\"\"></svg>"
36553 }
36554 },
36555 {
36556 "data": "<!DOCTYPE html><body><math attributeName='' attributeType='' baseFrequency='' baseProfile='' calcMode='' clipPathUnits='' diffuseConstant='' edgeMode='' filterUnits='' glyphRef='' gradientTransform='' gradientUnits='' kernelMatrix='' kernelUnitLength='' keyPoints='' keySplines='' keyTimes='' lengthAdjust='' limitingConeAngle='' markerHeight='' markerUnits='' markerWidth='' maskContentUnits='' maskUnits='' numOctaves='' pathLength='' patternContentUnits='' patternTransform='' patternUnits='' pointsAtX='' pointsAtY='' pointsAtZ='' preserveAlpha='' preserveAspectRatio='' primitiveUnits='' refX='' refY='' repeatCount='' repeatDur='' requiredExtensions='' requiredFeatures='' specularConstant='' specularExponent='' spreadMethod='' startOffset='' stdDeviation='' stitchTiles='' surfaceScale='' systemLanguage='' tableValues='' targetX='' targetY='' textLength='' viewBox='' viewTarget='' xChannelSelector='' yChannelSelector='' zoomAndPan=''></math>",
36557 "errors": [],
36558 "document": {
36559 "props": {
36560 "tags": {
36561 "html": true,
36562 "head": true,
36563 "body": true,
36564 "math math": true
36565 },
36566 "doctype": true
36567 },
36568 "tree": [
36569 {
36570 "doctype": "html"
36571 },
36572 {
36573 "tag": "html",
36574 "children": [
36575 {
36576 "tag": "head"
36577 },
36578 {
36579 "tag": "body",
36580 "children": [
36581 {
36582 "tag": "math",
36583 "ns": "http://www.w3.org/1998/Math/MathML",
36584 "attrs": [
36585 {
36586 "name": "attributename",
36587 "value": ""
36588 },
36589 {
36590 "name": "attributetype",
36591 "value": ""
36592 },
36593 {
36594 "name": "basefrequency",
36595 "value": ""
36596 },
36597 {
36598 "name": "baseprofile",
36599 "value": ""
36600 },
36601 {
36602 "name": "calcmode",
36603 "value": ""
36604 },
36605 {
36606 "name": "clippathunits",
36607 "value": ""
36608 },
36609 {
36610 "name": "diffuseconstant",
36611 "value": ""
36612 },
36613 {
36614 "name": "edgemode",
36615 "value": ""
36616 },
36617 {
36618 "name": "filterunits",
36619 "value": ""
36620 },
36621 {
36622 "name": "glyphref",
36623 "value": ""
36624 },
36625 {
36626 "name": "gradienttransform",
36627 "value": ""
36628 },
36629 {
36630 "name": "gradientunits",
36631 "value": ""
36632 },
36633 {
36634 "name": "kernelmatrix",
36635 "value": ""
36636 },
36637 {
36638 "name": "kernelunitlength",
36639 "value": ""
36640 },
36641 {
36642 "name": "keypoints",
36643 "value": ""
36644 },
36645 {
36646 "name": "keysplines",
36647 "value": ""
36648 },
36649 {
36650 "name": "keytimes",
36651 "value": ""
36652 },
36653 {
36654 "name": "lengthadjust",
36655 "value": ""
36656 },
36657 {
36658 "name": "limitingconeangle",
36659 "value": ""
36660 },
36661 {
36662 "name": "markerheight",
36663 "value": ""
36664 },
36665 {
36666 "name": "markerunits",
36667 "value": ""
36668 },
36669 {
36670 "name": "markerwidth",
36671 "value": ""
36672 },
36673 {
36674 "name": "maskcontentunits",
36675 "value": ""
36676 },
36677 {
36678 "name": "maskunits",
36679 "value": ""
36680 },
36681 {
36682 "name": "numoctaves",
36683 "value": ""
36684 },
36685 {
36686 "name": "pathlength",
36687 "value": ""
36688 },
36689 {
36690 "name": "patterncontentunits",
36691 "value": ""
36692 },
36693 {
36694 "name": "patterntransform",
36695 "value": ""
36696 },
36697 {
36698 "name": "patternunits",
36699 "value": ""
36700 },
36701 {
36702 "name": "pointsatx",
36703 "value": ""
36704 },
36705 {
36706 "name": "pointsaty",
36707 "value": ""
36708 },
36709 {
36710 "name": "pointsatz",
36711 "value": ""
36712 },
36713 {
36714 "name": "preservealpha",
36715 "value": ""
36716 },
36717 {
36718 "name": "preserveaspectratio",
36719 "value": ""
36720 },
36721 {
36722 "name": "primitiveunits",
36723 "value": ""
36724 },
36725 {
36726 "name": "refx",
36727 "value": ""
36728 },
36729 {
36730 "name": "refy",
36731 "value": ""
36732 },
36733 {
36734 "name": "repeatcount",
36735 "value": ""
36736 },
36737 {
36738 "name": "repeatdur",
36739 "value": ""
36740 },
36741 {
36742 "name": "requiredextensions",
36743 "value": ""
36744 },
36745 {
36746 "name": "requiredfeatures",
36747 "value": ""
36748 },
36749 {
36750 "name": "specularconstant",
36751 "value": ""
36752 },
36753 {
36754 "name": "specularexponent",
36755 "value": ""
36756 },
36757 {
36758 "name": "spreadmethod",
36759 "value": ""
36760 },
36761 {
36762 "name": "startoffset",
36763 "value": ""
36764 },
36765 {
36766 "name": "stddeviation",
36767 "value": ""
36768 },
36769 {
36770 "name": "stitchtiles",
36771 "value": ""
36772 },
36773 {
36774 "name": "surfacescale",
36775 "value": ""
36776 },
36777 {
36778 "name": "systemlanguage",
36779 "value": ""
36780 },
36781 {
36782 "name": "tablevalues",
36783 "value": ""
36784 },
36785 {
36786 "name": "targetx",
36787 "value": ""
36788 },
36789 {
36790 "name": "targety",
36791 "value": ""
36792 },
36793 {
36794 "name": "textlength",
36795 "value": ""
36796 },
36797 {
36798 "name": "viewbox",
36799 "value": ""
36800 },
36801 {
36802 "name": "viewtarget",
36803 "value": ""
36804 },
36805 {
36806 "name": "xchannelselector",
36807 "value": ""
36808 },
36809 {
36810 "name": "ychannelselector",
36811 "value": ""
36812 },
36813 {
36814 "name": "zoomandpan",
36815 "value": ""
36816 }
36817 ]
36818 }
36819 ]
36820 }
36821 ]
36822 }
36823 ],
36824 "html": "<!DOCTYPE html><html><head></head><body><math attributename=\"\" attributetype=\"\" basefrequency=\"\" baseprofile=\"\" calcmode=\"\" clippathunits=\"\" diffuseconstant=\"\" edgemode=\"\" filterunits=\"\" glyphref=\"\" gradienttransform=\"\" gradientunits=\"\" kernelmatrix=\"\" kernelunitlength=\"\" keypoints=\"\" keysplines=\"\" keytimes=\"\" lengthadjust=\"\" limitingconeangle=\"\" markerheight=\"\" markerunits=\"\" markerwidth=\"\" maskcontentunits=\"\" maskunits=\"\" numoctaves=\"\" pathlength=\"\" patterncontentunits=\"\" patterntransform=\"\" patternunits=\"\" pointsatx=\"\" pointsaty=\"\" pointsatz=\"\" preservealpha=\"\" preserveaspectratio=\"\" primitiveunits=\"\" refx=\"\" refy=\"\" repeatcount=\"\" repeatdur=\"\" requiredextensions=\"\" requiredfeatures=\"\" specularconstant=\"\" specularexponent=\"\" spreadmethod=\"\" startoffset=\"\" stddeviation=\"\" stitchtiles=\"\" surfacescale=\"\" systemlanguage=\"\" tablevalues=\"\" targetx=\"\" targety=\"\" textlength=\"\" viewbox=\"\" viewtarget=\"\" xchannelselector=\"\" ychannelselector=\"\" zoomandpan=\"\"></math></body></html>",
36825 "noQuirksBodyHtml": "<math attributename=\"\" attributetype=\"\" basefrequency=\"\" baseprofile=\"\" calcmode=\"\" clippathunits=\"\" diffuseconstant=\"\" edgemode=\"\" filterunits=\"\" glyphref=\"\" gradienttransform=\"\" gradientunits=\"\" kernelmatrix=\"\" kernelunitlength=\"\" keypoints=\"\" keysplines=\"\" keytimes=\"\" lengthadjust=\"\" limitingconeangle=\"\" markerheight=\"\" markerunits=\"\" markerwidth=\"\" maskcontentunits=\"\" maskunits=\"\" numoctaves=\"\" pathlength=\"\" patterncontentunits=\"\" patterntransform=\"\" patternunits=\"\" pointsatx=\"\" pointsaty=\"\" pointsatz=\"\" preservealpha=\"\" preserveaspectratio=\"\" primitiveunits=\"\" refx=\"\" refy=\"\" repeatcount=\"\" repeatdur=\"\" requiredextensions=\"\" requiredfeatures=\"\" specularconstant=\"\" specularexponent=\"\" spreadmethod=\"\" startoffset=\"\" stddeviation=\"\" stitchtiles=\"\" surfacescale=\"\" systemlanguage=\"\" tablevalues=\"\" targetx=\"\" targety=\"\" textlength=\"\" viewbox=\"\" viewtarget=\"\" xchannelselector=\"\" ychannelselector=\"\" zoomandpan=\"\"></math>"
36826 }
36827 },
36828 {
36829 "data": "<!DOCTYPE html><body><svg contentScriptType='' contentStyleType='' externalResourcesRequired='' filterRes=''></svg>",
36830 "errors": [],
36831 "document": {
36832 "props": {
36833 "tags": {
36834 "html": true,
36835 "head": true,
36836 "body": true,
36837 "svg svg": true
36838 },
36839 "doctype": true
36840 },
36841 "tree": [
36842 {
36843 "doctype": "html"
36844 },
36845 {
36846 "tag": "html",
36847 "children": [
36848 {
36849 "tag": "head"
36850 },
36851 {
36852 "tag": "body",
36853 "children": [
36854 {
36855 "tag": "svg",
36856 "ns": "http://www.w3.org/2000/svg",
36857 "attrs": [
36858 {
36859 "name": "contentscripttype",
36860 "value": ""
36861 },
36862 {
36863 "name": "contentstyletype",
36864 "value": ""
36865 },
36866 {
36867 "name": "externalresourcesrequired",
36868 "value": ""
36869 },
36870 {
36871 "name": "filterres",
36872 "value": ""
36873 }
36874 ]
36875 }
36876 ]
36877 }
36878 ]
36879 }
36880 ],
36881 "html": "<!DOCTYPE html><html><head></head><body><svg contentscripttype=\"\" contentstyletype=\"\" externalresourcesrequired=\"\" filterres=\"\"></svg></body></html>",
36882 "noQuirksBodyHtml": "<svg contentScriptType=\"\" contentStyleType=\"\" externalResourcesRequired=\"\" filterres=\"\"></svg>"
36883 }
36884 },
36885 {
36886 "data": "<!DOCTYPE html><body><svg CONTENTSCRIPTTYPE='' CONTENTSTYLETYPE='' EXTERNALRESOURCESREQUIRED='' FILTERRES=''></svg>",
36887 "errors": [],
36888 "document": {
36889 "props": {
36890 "tags": {
36891 "html": true,
36892 "head": true,
36893 "body": true,
36894 "svg svg": true
36895 },
36896 "doctype": true
36897 },
36898 "tree": [
36899 {
36900 "doctype": "html"
36901 },
36902 {
36903 "tag": "html",
36904 "children": [
36905 {
36906 "tag": "head"
36907 },
36908 {
36909 "tag": "body",
36910 "children": [
36911 {
36912 "tag": "svg",
36913 "ns": "http://www.w3.org/2000/svg",
36914 "attrs": [
36915 {
36916 "name": "contentscripttype",
36917 "value": ""
36918 },
36919 {
36920 "name": "contentstyletype",
36921 "value": ""
36922 },
36923 {
36924 "name": "externalresourcesrequired",
36925 "value": ""
36926 },
36927 {
36928 "name": "filterres",
36929 "value": ""
36930 }
36931 ]
36932 }
36933 ]
36934 }
36935 ]
36936 }
36937 ],
36938 "html": "<!DOCTYPE html><html><head></head><body><svg contentscripttype=\"\" contentstyletype=\"\" externalresourcesrequired=\"\" filterres=\"\"></svg></body></html>",
36939 "noQuirksBodyHtml": "<svg contentScriptType=\"\" contentStyleType=\"\" externalResourcesRequired=\"\" filterres=\"\"></svg>"
36940 }
36941 },
36942 {
36943 "data": "<!DOCTYPE html><body><svg contentscripttype='' contentstyletype='' externalresourcesrequired='' filterres=''></svg>",
36944 "errors": [],
36945 "document": {
36946 "props": {
36947 "tags": {
36948 "html": true,
36949 "head": true,
36950 "body": true,
36951 "svg svg": true
36952 },
36953 "doctype": true
36954 },
36955 "tree": [
36956 {
36957 "doctype": "html"
36958 },
36959 {
36960 "tag": "html",
36961 "children": [
36962 {
36963 "tag": "head"
36964 },
36965 {
36966 "tag": "body",
36967 "children": [
36968 {
36969 "tag": "svg",
36970 "ns": "http://www.w3.org/2000/svg",
36971 "attrs": [
36972 {
36973 "name": "contentscripttype",
36974 "value": ""
36975 },
36976 {
36977 "name": "contentstyletype",
36978 "value": ""
36979 },
36980 {
36981 "name": "externalresourcesrequired",
36982 "value": ""
36983 },
36984 {
36985 "name": "filterres",
36986 "value": ""
36987 }
36988 ]
36989 }
36990 ]
36991 }
36992 ]
36993 }
36994 ],
36995 "html": "<!DOCTYPE html><html><head></head><body><svg contentscripttype=\"\" contentstyletype=\"\" externalresourcesrequired=\"\" filterres=\"\"></svg></body></html>",
36996 "noQuirksBodyHtml": "<svg contentScriptType=\"\" contentStyleType=\"\" externalResourcesRequired=\"\" filterres=\"\"></svg>"
36997 }
36998 },
36999 {
37000 "data": "<!DOCTYPE html><body><math contentScriptType='' contentStyleType='' externalResourcesRequired='' filterRes=''></math>",
37001 "errors": [],
37002 "document": {
37003 "props": {
37004 "tags": {
37005 "html": true,
37006 "head": true,
37007 "body": true,
37008 "math math": true
37009 },
37010 "doctype": true
37011 },
37012 "tree": [
37013 {
37014 "doctype": "html"
37015 },
37016 {
37017 "tag": "html",
37018 "children": [
37019 {
37020 "tag": "head"
37021 },
37022 {
37023 "tag": "body",
37024 "children": [
37025 {
37026 "tag": "math",
37027 "ns": "http://www.w3.org/1998/Math/MathML",
37028 "attrs": [
37029 {
37030 "name": "contentscripttype",
37031 "value": ""
37032 },
37033 {
37034 "name": "contentstyletype",
37035 "value": ""
37036 },
37037 {
37038 "name": "externalresourcesrequired",
37039 "value": ""
37040 },
37041 {
37042 "name": "filterres",
37043 "value": ""
37044 }
37045 ]
37046 }
37047 ]
37048 }
37049 ]
37050 }
37051 ],
37052 "html": "<!DOCTYPE html><html><head></head><body><math contentscripttype=\"\" contentstyletype=\"\" externalresourcesrequired=\"\" filterres=\"\"></math></body></html>",
37053 "noQuirksBodyHtml": "<math contentscripttype=\"\" contentstyletype=\"\" externalresourcesrequired=\"\" filterres=\"\"></math>"
37054 }
37055 },
37056 {
37057 "data": "<!DOCTYPE html><body><svg><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></svg>",
37058 "errors": [],
37059 "document": {
37060 "props": {
37061 "tags": {
37062 "html": true,
37063 "head": true,
37064 "body": true,
37065 "svg svg": true,
37066 "svg altGlyph": true,
37067 "svg altGlyphDef": true,
37068 "svg altGlyphItem": true,
37069 "svg animateColor": true,
37070 "svg animateMotion": true,
37071 "svg animateTransform": true,
37072 "svg clipPath": true,
37073 "svg feBlend": true,
37074 "svg feColorMatrix": true,
37075 "svg feComponentTransfer": true,
37076 "svg feComposite": true,
37077 "svg feConvolveMatrix": true,
37078 "svg feDiffuseLighting": true,
37079 "svg feDisplacementMap": true,
37080 "svg feDistantLight": true,
37081 "svg feFlood": true,
37082 "svg feFuncA": true,
37083 "svg feFuncB": true,
37084 "svg feFuncG": true,
37085 "svg feFuncR": true,
37086 "svg feGaussianBlur": true,
37087 "svg feImage": true,
37088 "svg feMerge": true,
37089 "svg feMergeNode": true,
37090 "svg feMorphology": true,
37091 "svg feOffset": true,
37092 "svg fePointLight": true,
37093 "svg feSpecularLighting": true,
37094 "svg feSpotLight": true,
37095 "svg feTile": true,
37096 "svg feTurbulence": true,
37097 "svg foreignObject": true,
37098 "svg glyphRef": true,
37099 "svg linearGradient": true,
37100 "svg radialGradient": true,
37101 "svg textPath": true
37102 },
37103 "doctype": true
37104 },
37105 "tree": [
37106 {
37107 "doctype": "html"
37108 },
37109 {
37110 "tag": "html",
37111 "children": [
37112 {
37113 "tag": "head"
37114 },
37115 {
37116 "tag": "body",
37117 "children": [
37118 {
37119 "tag": "svg",
37120 "ns": "http://www.w3.org/2000/svg",
37121 "children": [
37122 {
37123 "tag": "altGlyph",
37124 "ns": "http://www.w3.org/2000/svg"
37125 },
37126 {
37127 "tag": "altGlyphDef",
37128 "ns": "http://www.w3.org/2000/svg"
37129 },
37130 {
37131 "tag": "altGlyphItem",
37132 "ns": "http://www.w3.org/2000/svg"
37133 },
37134 {
37135 "tag": "animateColor",
37136 "ns": "http://www.w3.org/2000/svg"
37137 },
37138 {
37139 "tag": "animateMotion",
37140 "ns": "http://www.w3.org/2000/svg"
37141 },
37142 {
37143 "tag": "animateTransform",
37144 "ns": "http://www.w3.org/2000/svg"
37145 },
37146 {
37147 "tag": "clipPath",
37148 "ns": "http://www.w3.org/2000/svg"
37149 },
37150 {
37151 "tag": "feBlend",
37152 "ns": "http://www.w3.org/2000/svg"
37153 },
37154 {
37155 "tag": "feColorMatrix",
37156 "ns": "http://www.w3.org/2000/svg"
37157 },
37158 {
37159 "tag": "feComponentTransfer",
37160 "ns": "http://www.w3.org/2000/svg"
37161 },
37162 {
37163 "tag": "feComposite",
37164 "ns": "http://www.w3.org/2000/svg"
37165 },
37166 {
37167 "tag": "feConvolveMatrix",
37168 "ns": "http://www.w3.org/2000/svg"
37169 },
37170 {
37171 "tag": "feDiffuseLighting",
37172 "ns": "http://www.w3.org/2000/svg"
37173 },
37174 {
37175 "tag": "feDisplacementMap",
37176 "ns": "http://www.w3.org/2000/svg"
37177 },
37178 {
37179 "tag": "feDistantLight",
37180 "ns": "http://www.w3.org/2000/svg"
37181 },
37182 {
37183 "tag": "feFlood",
37184 "ns": "http://www.w3.org/2000/svg"
37185 },
37186 {
37187 "tag": "feFuncA",
37188 "ns": "http://www.w3.org/2000/svg"
37189 },
37190 {
37191 "tag": "feFuncB",
37192 "ns": "http://www.w3.org/2000/svg"
37193 },
37194 {
37195 "tag": "feFuncG",
37196 "ns": "http://www.w3.org/2000/svg"
37197 },
37198 {
37199 "tag": "feFuncR",
37200 "ns": "http://www.w3.org/2000/svg"
37201 },
37202 {
37203 "tag": "feGaussianBlur",
37204 "ns": "http://www.w3.org/2000/svg"
37205 },
37206 {
37207 "tag": "feImage",
37208 "ns": "http://www.w3.org/2000/svg"
37209 },
37210 {
37211 "tag": "feMerge",
37212 "ns": "http://www.w3.org/2000/svg"
37213 },
37214 {
37215 "tag": "feMergeNode",
37216 "ns": "http://www.w3.org/2000/svg"
37217 },
37218 {
37219 "tag": "feMorphology",
37220 "ns": "http://www.w3.org/2000/svg"
37221 },
37222 {
37223 "tag": "feOffset",
37224 "ns": "http://www.w3.org/2000/svg"
37225 },
37226 {
37227 "tag": "fePointLight",
37228 "ns": "http://www.w3.org/2000/svg"
37229 },
37230 {
37231 "tag": "feSpecularLighting",
37232 "ns": "http://www.w3.org/2000/svg"
37233 },
37234 {
37235 "tag": "feSpotLight",
37236 "ns": "http://www.w3.org/2000/svg"
37237 },
37238 {
37239 "tag": "feTile",
37240 "ns": "http://www.w3.org/2000/svg"
37241 },
37242 {
37243 "tag": "feTurbulence",
37244 "ns": "http://www.w3.org/2000/svg"
37245 },
37246 {
37247 "tag": "foreignObject",
37248 "ns": "http://www.w3.org/2000/svg"
37249 },
37250 {
37251 "tag": "glyphRef",
37252 "ns": "http://www.w3.org/2000/svg"
37253 },
37254 {
37255 "tag": "linearGradient",
37256 "ns": "http://www.w3.org/2000/svg"
37257 },
37258 {
37259 "tag": "radialGradient",
37260 "ns": "http://www.w3.org/2000/svg"
37261 },
37262 {
37263 "tag": "textPath",
37264 "ns": "http://www.w3.org/2000/svg"
37265 }
37266 ]
37267 }
37268 ]
37269 }
37270 ]
37271 }
37272 ],
37273 "html": "<!DOCTYPE html><html><head></head><body><svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg></body></html>",
37274 "noQuirksBodyHtml": "<svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg>"
37275 }
37276 },
37277 {
37278 "data": "<!DOCTYPE html><body><svg><altglyph /><altglyphdef /><altglyphitem /><animatecolor /><animatemotion /><animatetransform /><clippath /><feblend /><fecolormatrix /><fecomponenttransfer /><fecomposite /><feconvolvematrix /><fediffuselighting /><fedisplacementmap /><fedistantlight /><feflood /><fefunca /><fefuncb /><fefuncg /><fefuncr /><fegaussianblur /><feimage /><femerge /><femergenode /><femorphology /><feoffset /><fepointlight /><fespecularlighting /><fespotlight /><fetile /><feturbulence /><foreignobject /><glyphref /><lineargradient /><radialgradient /><textpath /></svg>",
37279 "errors": [],
37280 "document": {
37281 "props": {
37282 "tags": {
37283 "html": true,
37284 "head": true,
37285 "body": true,
37286 "svg svg": true,
37287 "svg altGlyph": true,
37288 "svg altGlyphDef": true,
37289 "svg altGlyphItem": true,
37290 "svg animateColor": true,
37291 "svg animateMotion": true,
37292 "svg animateTransform": true,
37293 "svg clipPath": true,
37294 "svg feBlend": true,
37295 "svg feColorMatrix": true,
37296 "svg feComponentTransfer": true,
37297 "svg feComposite": true,
37298 "svg feConvolveMatrix": true,
37299 "svg feDiffuseLighting": true,
37300 "svg feDisplacementMap": true,
37301 "svg feDistantLight": true,
37302 "svg feFlood": true,
37303 "svg feFuncA": true,
37304 "svg feFuncB": true,
37305 "svg feFuncG": true,
37306 "svg feFuncR": true,
37307 "svg feGaussianBlur": true,
37308 "svg feImage": true,
37309 "svg feMerge": true,
37310 "svg feMergeNode": true,
37311 "svg feMorphology": true,
37312 "svg feOffset": true,
37313 "svg fePointLight": true,
37314 "svg feSpecularLighting": true,
37315 "svg feSpotLight": true,
37316 "svg feTile": true,
37317 "svg feTurbulence": true,
37318 "svg foreignObject": true,
37319 "svg glyphRef": true,
37320 "svg linearGradient": true,
37321 "svg radialGradient": true,
37322 "svg textPath": true
37323 },
37324 "doctype": true
37325 },
37326 "tree": [
37327 {
37328 "doctype": "html"
37329 },
37330 {
37331 "tag": "html",
37332 "children": [
37333 {
37334 "tag": "head"
37335 },
37336 {
37337 "tag": "body",
37338 "children": [
37339 {
37340 "tag": "svg",
37341 "ns": "http://www.w3.org/2000/svg",
37342 "children": [
37343 {
37344 "tag": "altGlyph",
37345 "ns": "http://www.w3.org/2000/svg"
37346 },
37347 {
37348 "tag": "altGlyphDef",
37349 "ns": "http://www.w3.org/2000/svg"
37350 },
37351 {
37352 "tag": "altGlyphItem",
37353 "ns": "http://www.w3.org/2000/svg"
37354 },
37355 {
37356 "tag": "animateColor",
37357 "ns": "http://www.w3.org/2000/svg"
37358 },
37359 {
37360 "tag": "animateMotion",
37361 "ns": "http://www.w3.org/2000/svg"
37362 },
37363 {
37364 "tag": "animateTransform",
37365 "ns": "http://www.w3.org/2000/svg"
37366 },
37367 {
37368 "tag": "clipPath",
37369 "ns": "http://www.w3.org/2000/svg"
37370 },
37371 {
37372 "tag": "feBlend",
37373 "ns": "http://www.w3.org/2000/svg"
37374 },
37375 {
37376 "tag": "feColorMatrix",
37377 "ns": "http://www.w3.org/2000/svg"
37378 },
37379 {
37380 "tag": "feComponentTransfer",
37381 "ns": "http://www.w3.org/2000/svg"
37382 },
37383 {
37384 "tag": "feComposite",
37385 "ns": "http://www.w3.org/2000/svg"
37386 },
37387 {
37388 "tag": "feConvolveMatrix",
37389 "ns": "http://www.w3.org/2000/svg"
37390 },
37391 {
37392 "tag": "feDiffuseLighting",
37393 "ns": "http://www.w3.org/2000/svg"
37394 },
37395 {
37396 "tag": "feDisplacementMap",
37397 "ns": "http://www.w3.org/2000/svg"
37398 },
37399 {
37400 "tag": "feDistantLight",
37401 "ns": "http://www.w3.org/2000/svg"
37402 },
37403 {
37404 "tag": "feFlood",
37405 "ns": "http://www.w3.org/2000/svg"
37406 },
37407 {
37408 "tag": "feFuncA",
37409 "ns": "http://www.w3.org/2000/svg"
37410 },
37411 {
37412 "tag": "feFuncB",
37413 "ns": "http://www.w3.org/2000/svg"
37414 },
37415 {
37416 "tag": "feFuncG",
37417 "ns": "http://www.w3.org/2000/svg"
37418 },
37419 {
37420 "tag": "feFuncR",
37421 "ns": "http://www.w3.org/2000/svg"
37422 },
37423 {
37424 "tag": "feGaussianBlur",
37425 "ns": "http://www.w3.org/2000/svg"
37426 },
37427 {
37428 "tag": "feImage",
37429 "ns": "http://www.w3.org/2000/svg"
37430 },
37431 {
37432 "tag": "feMerge",
37433 "ns": "http://www.w3.org/2000/svg"
37434 },
37435 {
37436 "tag": "feMergeNode",
37437 "ns": "http://www.w3.org/2000/svg"
37438 },
37439 {
37440 "tag": "feMorphology",
37441 "ns": "http://www.w3.org/2000/svg"
37442 },
37443 {
37444 "tag": "feOffset",
37445 "ns": "http://www.w3.org/2000/svg"
37446 },
37447 {
37448 "tag": "fePointLight",
37449 "ns": "http://www.w3.org/2000/svg"
37450 },
37451 {
37452 "tag": "feSpecularLighting",
37453 "ns": "http://www.w3.org/2000/svg"
37454 },
37455 {
37456 "tag": "feSpotLight",
37457 "ns": "http://www.w3.org/2000/svg"
37458 },
37459 {
37460 "tag": "feTile",
37461 "ns": "http://www.w3.org/2000/svg"
37462 },
37463 {
37464 "tag": "feTurbulence",
37465 "ns": "http://www.w3.org/2000/svg"
37466 },
37467 {
37468 "tag": "foreignObject",
37469 "ns": "http://www.w3.org/2000/svg"
37470 },
37471 {
37472 "tag": "glyphRef",
37473 "ns": "http://www.w3.org/2000/svg"
37474 },
37475 {
37476 "tag": "linearGradient",
37477 "ns": "http://www.w3.org/2000/svg"
37478 },
37479 {
37480 "tag": "radialGradient",
37481 "ns": "http://www.w3.org/2000/svg"
37482 },
37483 {
37484 "tag": "textPath",
37485 "ns": "http://www.w3.org/2000/svg"
37486 }
37487 ]
37488 }
37489 ]
37490 }
37491 ]
37492 }
37493 ],
37494 "html": "<!DOCTYPE html><html><head></head><body><svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg></body></html>",
37495 "noQuirksBodyHtml": "<svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg>"
37496 }
37497 },
37498 {
37499 "data": "<!DOCTYPE html><BODY><SVG><ALTGLYPH /><ALTGLYPHDEF /><ALTGLYPHITEM /><ANIMATECOLOR /><ANIMATEMOTION /><ANIMATETRANSFORM /><CLIPPATH /><FEBLEND /><FECOLORMATRIX /><FECOMPONENTTRANSFER /><FECOMPOSITE /><FECONVOLVEMATRIX /><FEDIFFUSELIGHTING /><FEDISPLACEMENTMAP /><FEDISTANTLIGHT /><FEFLOOD /><FEFUNCA /><FEFUNCB /><FEFUNCG /><FEFUNCR /><FEGAUSSIANBLUR /><FEIMAGE /><FEMERGE /><FEMERGENODE /><FEMORPHOLOGY /><FEOFFSET /><FEPOINTLIGHT /><FESPECULARLIGHTING /><FESPOTLIGHT /><FETILE /><FETURBULENCE /><FOREIGNOBJECT /><GLYPHREF /><LINEARGRADIENT /><RADIALGRADIENT /><TEXTPATH /></SVG>",
37500 "errors": [],
37501 "document": {
37502 "props": {
37503 "tags": {
37504 "html": true,
37505 "head": true,
37506 "body": true,
37507 "svg svg": true,
37508 "svg altGlyph": true,
37509 "svg altGlyphDef": true,
37510 "svg altGlyphItem": true,
37511 "svg animateColor": true,
37512 "svg animateMotion": true,
37513 "svg animateTransform": true,
37514 "svg clipPath": true,
37515 "svg feBlend": true,
37516 "svg feColorMatrix": true,
37517 "svg feComponentTransfer": true,
37518 "svg feComposite": true,
37519 "svg feConvolveMatrix": true,
37520 "svg feDiffuseLighting": true,
37521 "svg feDisplacementMap": true,
37522 "svg feDistantLight": true,
37523 "svg feFlood": true,
37524 "svg feFuncA": true,
37525 "svg feFuncB": true,
37526 "svg feFuncG": true,
37527 "svg feFuncR": true,
37528 "svg feGaussianBlur": true,
37529 "svg feImage": true,
37530 "svg feMerge": true,
37531 "svg feMergeNode": true,
37532 "svg feMorphology": true,
37533 "svg feOffset": true,
37534 "svg fePointLight": true,
37535 "svg feSpecularLighting": true,
37536 "svg feSpotLight": true,
37537 "svg feTile": true,
37538 "svg feTurbulence": true,
37539 "svg foreignObject": true,
37540 "svg glyphRef": true,
37541 "svg linearGradient": true,
37542 "svg radialGradient": true,
37543 "svg textPath": true
37544 },
37545 "doctype": true
37546 },
37547 "tree": [
37548 {
37549 "doctype": "html"
37550 },
37551 {
37552 "tag": "html",
37553 "children": [
37554 {
37555 "tag": "head"
37556 },
37557 {
37558 "tag": "body",
37559 "children": [
37560 {
37561 "tag": "svg",
37562 "ns": "http://www.w3.org/2000/svg",
37563 "children": [
37564 {
37565 "tag": "altGlyph",
37566 "ns": "http://www.w3.org/2000/svg"
37567 },
37568 {
37569 "tag": "altGlyphDef",
37570 "ns": "http://www.w3.org/2000/svg"
37571 },
37572 {
37573 "tag": "altGlyphItem",
37574 "ns": "http://www.w3.org/2000/svg"
37575 },
37576 {
37577 "tag": "animateColor",
37578 "ns": "http://www.w3.org/2000/svg"
37579 },
37580 {
37581 "tag": "animateMotion",
37582 "ns": "http://www.w3.org/2000/svg"
37583 },
37584 {
37585 "tag": "animateTransform",
37586 "ns": "http://www.w3.org/2000/svg"
37587 },
37588 {
37589 "tag": "clipPath",
37590 "ns": "http://www.w3.org/2000/svg"
37591 },
37592 {
37593 "tag": "feBlend",
37594 "ns": "http://www.w3.org/2000/svg"
37595 },
37596 {
37597 "tag": "feColorMatrix",
37598 "ns": "http://www.w3.org/2000/svg"
37599 },
37600 {
37601 "tag": "feComponentTransfer",
37602 "ns": "http://www.w3.org/2000/svg"
37603 },
37604 {
37605 "tag": "feComposite",
37606 "ns": "http://www.w3.org/2000/svg"
37607 },
37608 {
37609 "tag": "feConvolveMatrix",
37610 "ns": "http://www.w3.org/2000/svg"
37611 },
37612 {
37613 "tag": "feDiffuseLighting",
37614 "ns": "http://www.w3.org/2000/svg"
37615 },
37616 {
37617 "tag": "feDisplacementMap",
37618 "ns": "http://www.w3.org/2000/svg"
37619 },
37620 {
37621 "tag": "feDistantLight",
37622 "ns": "http://www.w3.org/2000/svg"
37623 },
37624 {
37625 "tag": "feFlood",
37626 "ns": "http://www.w3.org/2000/svg"
37627 },
37628 {
37629 "tag": "feFuncA",
37630 "ns": "http://www.w3.org/2000/svg"
37631 },
37632 {
37633 "tag": "feFuncB",
37634 "ns": "http://www.w3.org/2000/svg"
37635 },
37636 {
37637 "tag": "feFuncG",
37638 "ns": "http://www.w3.org/2000/svg"
37639 },
37640 {
37641 "tag": "feFuncR",
37642 "ns": "http://www.w3.org/2000/svg"
37643 },
37644 {
37645 "tag": "feGaussianBlur",
37646 "ns": "http://www.w3.org/2000/svg"
37647 },
37648 {
37649 "tag": "feImage",
37650 "ns": "http://www.w3.org/2000/svg"
37651 },
37652 {
37653 "tag": "feMerge",
37654 "ns": "http://www.w3.org/2000/svg"
37655 },
37656 {
37657 "tag": "feMergeNode",
37658 "ns": "http://www.w3.org/2000/svg"
37659 },
37660 {
37661 "tag": "feMorphology",
37662 "ns": "http://www.w3.org/2000/svg"
37663 },
37664 {
37665 "tag": "feOffset",
37666 "ns": "http://www.w3.org/2000/svg"
37667 },
37668 {
37669 "tag": "fePointLight",
37670 "ns": "http://www.w3.org/2000/svg"
37671 },
37672 {
37673 "tag": "feSpecularLighting",
37674 "ns": "http://www.w3.org/2000/svg"
37675 },
37676 {
37677 "tag": "feSpotLight",
37678 "ns": "http://www.w3.org/2000/svg"
37679 },
37680 {
37681 "tag": "feTile",
37682 "ns": "http://www.w3.org/2000/svg"
37683 },
37684 {
37685 "tag": "feTurbulence",
37686 "ns": "http://www.w3.org/2000/svg"
37687 },
37688 {
37689 "tag": "foreignObject",
37690 "ns": "http://www.w3.org/2000/svg"
37691 },
37692 {
37693 "tag": "glyphRef",
37694 "ns": "http://www.w3.org/2000/svg"
37695 },
37696 {
37697 "tag": "linearGradient",
37698 "ns": "http://www.w3.org/2000/svg"
37699 },
37700 {
37701 "tag": "radialGradient",
37702 "ns": "http://www.w3.org/2000/svg"
37703 },
37704 {
37705 "tag": "textPath",
37706 "ns": "http://www.w3.org/2000/svg"
37707 }
37708 ]
37709 }
37710 ]
37711 }
37712 ]
37713 }
37714 ],
37715 "html": "<!DOCTYPE html><html><head></head><body><svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg></body></html>",
37716 "noQuirksBodyHtml": "<svg><altGlyph></altGlyph><altGlyphDef></altGlyphDef><altGlyphItem></altGlyphItem><animateColor></animateColor><animateMotion></animateMotion><animateTransform></animateTransform><clipPath></clipPath><feBlend></feBlend><feColorMatrix></feColorMatrix><feComponentTransfer></feComponentTransfer><feComposite></feComposite><feConvolveMatrix></feConvolveMatrix><feDiffuseLighting></feDiffuseLighting><feDisplacementMap></feDisplacementMap><feDistantLight></feDistantLight><feFlood></feFlood><feFuncA></feFuncA><feFuncB></feFuncB><feFuncG></feFuncG><feFuncR></feFuncR><feGaussianBlur></feGaussianBlur><feImage></feImage><feMerge></feMerge><feMergeNode></feMergeNode><feMorphology></feMorphology><feOffset></feOffset><fePointLight></fePointLight><feSpecularLighting></feSpecularLighting><feSpotLight></feSpotLight><feTile></feTile><feTurbulence></feTurbulence><foreignObject></foreignObject><glyphRef></glyphRef><linearGradient></linearGradient><radialGradient></radialGradient><textPath></textPath></svg>"
37717 }
37718 },
37719 {
37720 "data": "<!DOCTYPE html><body><math><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></math>",
37721 "errors": [],
37722 "document": {
37723 "props": {
37724 "tags": {
37725 "html": true,
37726 "head": true,
37727 "body": true,
37728 "math math": true,
37729 "math altglyph": true,
37730 "math altglyphdef": true,
37731 "math altglyphitem": true,
37732 "math animatecolor": true,
37733 "math animatemotion": true,
37734 "math animatetransform": true,
37735 "math clippath": true,
37736 "math feblend": true,
37737 "math fecolormatrix": true,
37738 "math fecomponenttransfer": true,
37739 "math fecomposite": true,
37740 "math feconvolvematrix": true,
37741 "math fediffuselighting": true,
37742 "math fedisplacementmap": true,
37743 "math fedistantlight": true,
37744 "math feflood": true,
37745 "math fefunca": true,
37746 "math fefuncb": true,
37747 "math fefuncg": true,
37748 "math fefuncr": true,
37749 "math fegaussianblur": true,
37750 "math feimage": true,
37751 "math femerge": true,
37752 "math femergenode": true,
37753 "math femorphology": true,
37754 "math feoffset": true,
37755 "math fepointlight": true,
37756 "math fespecularlighting": true,
37757 "math fespotlight": true,
37758 "math fetile": true,
37759 "math feturbulence": true,
37760 "math foreignobject": true,
37761 "math glyphref": true,
37762 "math lineargradient": true,
37763 "math radialgradient": true,
37764 "math textpath": true
37765 },
37766 "doctype": true
37767 },
37768 "tree": [
37769 {
37770 "doctype": "html"
37771 },
37772 {
37773 "tag": "html",
37774 "children": [
37775 {
37776 "tag": "head"
37777 },
37778 {
37779 "tag": "body",
37780 "children": [
37781 {
37782 "tag": "math",
37783 "ns": "http://www.w3.org/1998/Math/MathML",
37784 "children": [
37785 {
37786 "tag": "altglyph",
37787 "ns": "http://www.w3.org/1998/Math/MathML"
37788 },
37789 {
37790 "tag": "altglyphdef",
37791 "ns": "http://www.w3.org/1998/Math/MathML"
37792 },
37793 {
37794 "tag": "altglyphitem",
37795 "ns": "http://www.w3.org/1998/Math/MathML"
37796 },
37797 {
37798 "tag": "animatecolor",
37799 "ns": "http://www.w3.org/1998/Math/MathML"
37800 },
37801 {
37802 "tag": "animatemotion",
37803 "ns": "http://www.w3.org/1998/Math/MathML"
37804 },
37805 {
37806 "tag": "animatetransform",
37807 "ns": "http://www.w3.org/1998/Math/MathML"
37808 },
37809 {
37810 "tag": "clippath",
37811 "ns": "http://www.w3.org/1998/Math/MathML"
37812 },
37813 {
37814 "tag": "feblend",
37815 "ns": "http://www.w3.org/1998/Math/MathML"
37816 },
37817 {
37818 "tag": "fecolormatrix",
37819 "ns": "http://www.w3.org/1998/Math/MathML"
37820 },
37821 {
37822 "tag": "fecomponenttransfer",
37823 "ns": "http://www.w3.org/1998/Math/MathML"
37824 },
37825 {
37826 "tag": "fecomposite",
37827 "ns": "http://www.w3.org/1998/Math/MathML"
37828 },
37829 {
37830 "tag": "feconvolvematrix",
37831 "ns": "http://www.w3.org/1998/Math/MathML"
37832 },
37833 {
37834 "tag": "fediffuselighting",
37835 "ns": "http://www.w3.org/1998/Math/MathML"
37836 },
37837 {
37838 "tag": "fedisplacementmap",
37839 "ns": "http://www.w3.org/1998/Math/MathML"
37840 },
37841 {
37842 "tag": "fedistantlight",
37843 "ns": "http://www.w3.org/1998/Math/MathML"
37844 },
37845 {
37846 "tag": "feflood",
37847 "ns": "http://www.w3.org/1998/Math/MathML"
37848 },
37849 {
37850 "tag": "fefunca",
37851 "ns": "http://www.w3.org/1998/Math/MathML"
37852 },
37853 {
37854 "tag": "fefuncb",
37855 "ns": "http://www.w3.org/1998/Math/MathML"
37856 },
37857 {
37858 "tag": "fefuncg",
37859 "ns": "http://www.w3.org/1998/Math/MathML"
37860 },
37861 {
37862 "tag": "fefuncr",
37863 "ns": "http://www.w3.org/1998/Math/MathML"
37864 },
37865 {
37866 "tag": "fegaussianblur",
37867 "ns": "http://www.w3.org/1998/Math/MathML"
37868 },
37869 {
37870 "tag": "feimage",
37871 "ns": "http://www.w3.org/1998/Math/MathML"
37872 },
37873 {
37874 "tag": "femerge",
37875 "ns": "http://www.w3.org/1998/Math/MathML"
37876 },
37877 {
37878 "tag": "femergenode",
37879 "ns": "http://www.w3.org/1998/Math/MathML"
37880 },
37881 {
37882 "tag": "femorphology",
37883 "ns": "http://www.w3.org/1998/Math/MathML"
37884 },
37885 {
37886 "tag": "feoffset",
37887 "ns": "http://www.w3.org/1998/Math/MathML"
37888 },
37889 {
37890 "tag": "fepointlight",
37891 "ns": "http://www.w3.org/1998/Math/MathML"
37892 },
37893 {
37894 "tag": "fespecularlighting",
37895 "ns": "http://www.w3.org/1998/Math/MathML"
37896 },
37897 {
37898 "tag": "fespotlight",
37899 "ns": "http://www.w3.org/1998/Math/MathML"
37900 },
37901 {
37902 "tag": "fetile",
37903 "ns": "http://www.w3.org/1998/Math/MathML"
37904 },
37905 {
37906 "tag": "feturbulence",
37907 "ns": "http://www.w3.org/1998/Math/MathML"
37908 },
37909 {
37910 "tag": "foreignobject",
37911 "ns": "http://www.w3.org/1998/Math/MathML"
37912 },
37913 {
37914 "tag": "glyphref",
37915 "ns": "http://www.w3.org/1998/Math/MathML"
37916 },
37917 {
37918 "tag": "lineargradient",
37919 "ns": "http://www.w3.org/1998/Math/MathML"
37920 },
37921 {
37922 "tag": "radialgradient",
37923 "ns": "http://www.w3.org/1998/Math/MathML"
37924 },
37925 {
37926 "tag": "textpath",
37927 "ns": "http://www.w3.org/1998/Math/MathML"
37928 }
37929 ]
37930 }
37931 ]
37932 }
37933 ]
37934 }
37935 ],
37936 "html": "<!DOCTYPE html><html><head></head><body><math><altglyph></altglyph><altglyphdef></altglyphdef><altglyphitem></altglyphitem><animatecolor></animatecolor><animatemotion></animatemotion><animatetransform></animatetransform><clippath></clippath><feblend></feblend><fecolormatrix></fecolormatrix><fecomponenttransfer></fecomponenttransfer><fecomposite></fecomposite><feconvolvematrix></feconvolvematrix><fediffuselighting></fediffuselighting><fedisplacementmap></fedisplacementmap><fedistantlight></fedistantlight><feflood></feflood><fefunca></fefunca><fefuncb></fefuncb><fefuncg></fefuncg><fefuncr></fefuncr><fegaussianblur></fegaussianblur><feimage></feimage><femerge></femerge><femergenode></femergenode><femorphology></femorphology><feoffset></feoffset><fepointlight></fepointlight><fespecularlighting></fespecularlighting><fespotlight></fespotlight><fetile></fetile><feturbulence></feturbulence><foreignobject></foreignobject><glyphref></glyphref><lineargradient></lineargradient><radialgradient></radialgradient><textpath></textpath></math></body></html>",
37937 "noQuirksBodyHtml": "<math><altglyph></altglyph><altglyphdef></altglyphdef><altglyphitem></altglyphitem><animatecolor></animatecolor><animatemotion></animatemotion><animatetransform></animatetransform><clippath></clippath><feblend></feblend><fecolormatrix></fecolormatrix><fecomponenttransfer></fecomponenttransfer><fecomposite></fecomposite><feconvolvematrix></feconvolvematrix><fediffuselighting></fediffuselighting><fedisplacementmap></fedisplacementmap><fedistantlight></fedistantlight><feflood></feflood><fefunca></fefunca><fefuncb></fefuncb><fefuncg></fefuncg><fefuncr></fefuncr><fegaussianblur></fegaussianblur><feimage></feimage><femerge></femerge><femergenode></femergenode><femorphology></femorphology><feoffset></feoffset><fepointlight></fepointlight><fespecularlighting></fespecularlighting><fespotlight></fespotlight><fetile></fetile><feturbulence></feturbulence><foreignobject></foreignobject><glyphref></glyphref><lineargradient></lineargradient><radialgradient></radialgradient><textpath></textpath></math>"
37938 }
37939 },
37940 {
37941 "data": "<!DOCTYPE html><body><svg><solidColor /></svg>",
37942 "errors": [],
37943 "document": {
37944 "props": {
37945 "tags": {
37946 "html": true,
37947 "head": true,
37948 "body": true,
37949 "svg svg": true,
37950 "svg solidcolor": true
37951 },
37952 "doctype": true
37953 },
37954 "tree": [
37955 {
37956 "doctype": "html"
37957 },
37958 {
37959 "tag": "html",
37960 "children": [
37961 {
37962 "tag": "head"
37963 },
37964 {
37965 "tag": "body",
37966 "children": [
37967 {
37968 "tag": "svg",
37969 "ns": "http://www.w3.org/2000/svg",
37970 "children": [
37971 {
37972 "tag": "solidcolor",
37973 "ns": "http://www.w3.org/2000/svg"
37974 }
37975 ]
37976 }
37977 ]
37978 }
37979 ]
37980 }
37981 ],
37982 "html": "<!DOCTYPE html><html><head></head><body><svg><solidcolor></solidcolor></svg></body></html>",
37983 "noQuirksBodyHtml": "<svg><solidcolor></solidcolor></svg>"
37984 }
37985 }
37986 ],
37987 "tests12.dat": [
37988 {
37989 "data": "<!DOCTYPE html><body><p>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar",
37990 "errors": [],
37991 "document": {
37992 "props": {
37993 "tags": {
37994 "html": true,
37995 "head": true,
37996 "body": true,
37997 "p": true,
37998 "math math": true,
37999 "math mtext": true,
38000 "i": true,
38001 "math annotation-xml": true,
38002 "svg svg": true,
38003 "svg desc": true,
38004 "b": true,
38005 "svg g": true,
38006 "svg foreignObject": true,
38007 "table": true,
38008 "tbody": true,
38009 "tr": true,
38010 "td": true,
38011 "img": true
38012 },
38013 "doctype": true
38014 },
38015 "tree": [
38016 {
38017 "doctype": "html"
38018 },
38019 {
38020 "tag": "html",
38021 "children": [
38022 {
38023 "tag": "head"
38024 },
38025 {
38026 "tag": "body",
38027 "children": [
38028 {
38029 "tag": "p",
38030 "children": [
38031 {
38032 "text": "foo"
38033 },
38034 {
38035 "tag": "math",
38036 "ns": "http://www.w3.org/1998/Math/MathML",
38037 "children": [
38038 {
38039 "tag": "mtext",
38040 "ns": "http://www.w3.org/1998/Math/MathML",
38041 "children": [
38042 {
38043 "tag": "i",
38044 "children": [
38045 {
38046 "text": "baz"
38047 }
38048 ]
38049 }
38050 ]
38051 },
38052 {
38053 "tag": "annotation-xml",
38054 "ns": "http://www.w3.org/1998/Math/MathML",
38055 "children": [
38056 {
38057 "tag": "svg",
38058 "ns": "http://www.w3.org/2000/svg",
38059 "children": [
38060 {
38061 "tag": "desc",
38062 "ns": "http://www.w3.org/2000/svg",
38063 "children": [
38064 {
38065 "tag": "b",
38066 "children": [
38067 {
38068 "text": "eggs"
38069 }
38070 ]
38071 }
38072 ]
38073 },
38074 {
38075 "tag": "g",
38076 "ns": "http://www.w3.org/2000/svg",
38077 "children": [
38078 {
38079 "tag": "foreignObject",
38080 "ns": "http://www.w3.org/2000/svg",
38081 "children": [
38082 {
38083 "tag": "p",
38084 "children": [
38085 {
38086 "text": "spam"
38087 }
38088 ]
38089 },
38090 {
38091 "tag": "table",
38092 "children": [
38093 {
38094 "tag": "tbody",
38095 "children": [
38096 {
38097 "tag": "tr",
38098 "children": [
38099 {
38100 "tag": "td",
38101 "children": [
38102 {
38103 "tag": "img"
38104 }
38105 ]
38106 }
38107 ]
38108 }
38109 ]
38110 }
38111 ]
38112 }
38113 ]
38114 }
38115 ]
38116 },
38117 {
38118 "tag": "g",
38119 "ns": "http://www.w3.org/2000/svg",
38120 "children": [
38121 {
38122 "text": "quux"
38123 }
38124 ]
38125 }
38126 ]
38127 }
38128 ]
38129 }
38130 ]
38131 },
38132 {
38133 "text": "bar"
38134 }
38135 ]
38136 }
38137 ]
38138 }
38139 ]
38140 }
38141 ],
38142 "html": "<!DOCTYPE html><html><head></head><body><p>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><p>spam</p><table><tbody><tr><td><img></td></tr></tbody></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar</p></body></html>",
38143 "noQuirksBodyHtml": "<p>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><p>spam</p><table><tbody><tr><td><img></td></tr></tbody></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar</p>"
38144 }
38145 },
38146 {
38147 "data": "<!DOCTYPE html><body>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><P>spam<TABLE><tr><td><img></td></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar",
38148 "errors": [],
38149 "document": {
38150 "props": {
38151 "tags": {
38152 "html": true,
38153 "head": true,
38154 "body": true,
38155 "math math": true,
38156 "math mtext": true,
38157 "i": true,
38158 "math annotation-xml": true,
38159 "svg svg": true,
38160 "svg desc": true,
38161 "b": true,
38162 "svg g": true,
38163 "svg foreignObject": true,
38164 "p": true,
38165 "table": true,
38166 "tbody": true,
38167 "tr": true,
38168 "td": true,
38169 "img": true
38170 },
38171 "doctype": true
38172 },
38173 "tree": [
38174 {
38175 "doctype": "html"
38176 },
38177 {
38178 "tag": "html",
38179 "children": [
38180 {
38181 "tag": "head"
38182 },
38183 {
38184 "tag": "body",
38185 "children": [
38186 {
38187 "text": "foo"
38188 },
38189 {
38190 "tag": "math",
38191 "ns": "http://www.w3.org/1998/Math/MathML",
38192 "children": [
38193 {
38194 "tag": "mtext",
38195 "ns": "http://www.w3.org/1998/Math/MathML",
38196 "children": [
38197 {
38198 "tag": "i",
38199 "children": [
38200 {
38201 "text": "baz"
38202 }
38203 ]
38204 }
38205 ]
38206 },
38207 {
38208 "tag": "annotation-xml",
38209 "ns": "http://www.w3.org/1998/Math/MathML",
38210 "children": [
38211 {
38212 "tag": "svg",
38213 "ns": "http://www.w3.org/2000/svg",
38214 "children": [
38215 {
38216 "tag": "desc",
38217 "ns": "http://www.w3.org/2000/svg",
38218 "children": [
38219 {
38220 "tag": "b",
38221 "children": [
38222 {
38223 "text": "eggs"
38224 }
38225 ]
38226 }
38227 ]
38228 },
38229 {
38230 "tag": "g",
38231 "ns": "http://www.w3.org/2000/svg",
38232 "children": [
38233 {
38234 "tag": "foreignObject",
38235 "ns": "http://www.w3.org/2000/svg",
38236 "children": [
38237 {
38238 "tag": "p",
38239 "children": [
38240 {
38241 "text": "spam"
38242 }
38243 ]
38244 },
38245 {
38246 "tag": "table",
38247 "children": [
38248 {
38249 "tag": "tbody",
38250 "children": [
38251 {
38252 "tag": "tr",
38253 "children": [
38254 {
38255 "tag": "td",
38256 "children": [
38257 {
38258 "tag": "img"
38259 }
38260 ]
38261 }
38262 ]
38263 }
38264 ]
38265 }
38266 ]
38267 }
38268 ]
38269 }
38270 ]
38271 },
38272 {
38273 "tag": "g",
38274 "ns": "http://www.w3.org/2000/svg",
38275 "children": [
38276 {
38277 "text": "quux"
38278 }
38279 ]
38280 }
38281 ]
38282 }
38283 ]
38284 }
38285 ]
38286 },
38287 {
38288 "text": "bar"
38289 }
38290 ]
38291 }
38292 ]
38293 }
38294 ],
38295 "html": "<!DOCTYPE html><html><head></head><body>foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><p>spam</p><table><tbody><tr><td><img></td></tr></tbody></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar</body></html>",
38296 "noQuirksBodyHtml": "foo<math><mtext><i>baz</i></mtext><annotation-xml><svg><desc><b>eggs</b></desc><g><foreignObject><p>spam</p><table><tbody><tr><td><img></td></tr></tbody></table></foreignObject></g><g>quux</g></svg></annotation-xml></math>bar"
38297 }
38298 }
38299 ],
38300 "tests14.dat": [
38301 {
38302 "data": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc>",
38303 "errors": [],
38304 "document": {
38305 "props": {
38306 "tags": {
38307 "html": true,
38308 "head": true,
38309 "body": true,
38310 "xyz:abc": true
38311 },
38312 "doctype": true
38313 },
38314 "tree": [
38315 {
38316 "doctype": "html"
38317 },
38318 {
38319 "tag": "html",
38320 "children": [
38321 {
38322 "tag": "head"
38323 },
38324 {
38325 "tag": "body",
38326 "children": [
38327 {
38328 "tag": "xyz:abc"
38329 }
38330 ]
38331 }
38332 ]
38333 }
38334 ],
38335 "html": "<!DOCTYPE html><html><head></head><body><xyz:abc></xyz:abc></body></html>",
38336 "noQuirksBodyHtml": "<xyz:abc></xyz:abc>"
38337 }
38338 },
38339 {
38340 "data": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>",
38341 "errors": [],
38342 "document": {
38343 "props": {
38344 "tags": {
38345 "html": true,
38346 "head": true,
38347 "body": true,
38348 "xyz:abc": true,
38349 "span": true
38350 },
38351 "doctype": true
38352 },
38353 "tree": [
38354 {
38355 "doctype": "html"
38356 },
38357 {
38358 "tag": "html",
38359 "children": [
38360 {
38361 "tag": "head"
38362 },
38363 {
38364 "tag": "body",
38365 "children": [
38366 {
38367 "tag": "xyz:abc"
38368 },
38369 {
38370 "tag": "span"
38371 }
38372 ]
38373 }
38374 ]
38375 }
38376 ],
38377 "html": "<!DOCTYPE html><html><head></head><body><xyz:abc></xyz:abc><span></span></body></html>",
38378 "noQuirksBodyHtml": "<xyz:abc></xyz:abc><span></span>"
38379 }
38380 },
38381 {
38382 "data": "<!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>",
38383 "errors": [
38384 "(1,38): non-html-root"
38385 ],
38386 "document": {
38387 "props": {
38388 "tags": {
38389 "html": true,
38390 "head": true,
38391 "body": true,
38392 "xyz:abc": true
38393 },
38394 "doctype": true
38395 },
38396 "tree": [
38397 {
38398 "doctype": "html"
38399 },
38400 {
38401 "tag": "html",
38402 "attrs": [
38403 {
38404 "name": "abc:def",
38405 "value": "gh"
38406 }
38407 ],
38408 "children": [
38409 {
38410 "tag": "head"
38411 },
38412 {
38413 "tag": "body",
38414 "children": [
38415 {
38416 "tag": "xyz:abc"
38417 }
38418 ]
38419 }
38420 ]
38421 }
38422 ],
38423 "html": "<!DOCTYPE html><html abc:def=\"gh\"><head></head><body><xyz:abc></xyz:abc></body></html>",
38424 "noQuirksBodyHtml": "<xyz:abc></xyz:abc>"
38425 }
38426 },
38427 {
38428 "data": "<!DOCTYPE html><html xml:lang=bar><html xml:lang=foo>",
38429 "errors": [
38430 "(1,53): non-html-root"
38431 ],
38432 "document": {
38433 "props": {
38434 "tags": {
38435 "html": true,
38436 "head": true,
38437 "body": true
38438 },
38439 "doctype": true
38440 },
38441 "tree": [
38442 {
38443 "doctype": "html"
38444 },
38445 {
38446 "tag": "html",
38447 "attrs": [
38448 {
38449 "name": "xml:lang",
38450 "value": "bar"
38451 }
38452 ],
38453 "children": [
38454 {
38455 "tag": "head"
38456 },
38457 {
38458 "tag": "body"
38459 }
38460 ]
38461 }
38462 ],
38463 "html": "<!DOCTYPE html><html xml:lang=\"bar\"><head></head><body></body></html>",
38464 "noQuirksBodyHtml": ""
38465 }
38466 },
38467 {
38468 "data": "<!DOCTYPE html><html 123=456>",
38469 "errors": [],
38470 "document": {
38471 "props": {
38472 "tags": {
38473 "html": true,
38474 "head": true,
38475 "body": true
38476 },
38477 "doctype": true
38478 },
38479 "tree": [
38480 {
38481 "doctype": "html"
38482 },
38483 {
38484 "tag": "html",
38485 "attrs": [
38486 {
38487 "name": "123",
38488 "value": "456"
38489 }
38490 ],
38491 "children": [
38492 {
38493 "tag": "head"
38494 },
38495 {
38496 "tag": "body"
38497 }
38498 ]
38499 }
38500 ],
38501 "html": "<!DOCTYPE html><html 123=\"456\"><head></head><body></body></html>",
38502 "noQuirksBodyHtml": ""
38503 }
38504 },
38505 {
38506 "data": "<!DOCTYPE html><html 123=456><html 789=012>",
38507 "errors": [
38508 "(1,43): non-html-root"
38509 ],
38510 "document": {
38511 "props": {
38512 "tags": {
38513 "html": true,
38514 "head": true,
38515 "body": true
38516 },
38517 "doctype": true
38518 },
38519 "tree": [
38520 {
38521 "doctype": "html"
38522 },
38523 {
38524 "tag": "html",
38525 "attrs": [
38526 {
38527 "name": "123",
38528 "value": "456"
38529 },
38530 {
38531 "name": "789",
38532 "value": "012"
38533 }
38534 ],
38535 "children": [
38536 {
38537 "tag": "head"
38538 },
38539 {
38540 "tag": "body"
38541 }
38542 ]
38543 }
38544 ],
38545 "html": "<!DOCTYPE html><html 123=\"456\" 789=\"012\"><head></head><body></body></html>",
38546 "noQuirksBodyHtml": ""
38547 }
38548 },
38549 {
38550 "data": "<!DOCTYPE html><html><body 789=012>",
38551 "errors": [],
38552 "document": {
38553 "props": {
38554 "tags": {
38555 "html": true,
38556 "head": true,
38557 "body": true
38558 },
38559 "doctype": true
38560 },
38561 "tree": [
38562 {
38563 "doctype": "html"
38564 },
38565 {
38566 "tag": "html",
38567 "children": [
38568 {
38569 "tag": "head"
38570 },
38571 {
38572 "tag": "body",
38573 "attrs": [
38574 {
38575 "name": "789",
38576 "value": "012"
38577 }
38578 ]
38579 }
38580 ]
38581 }
38582 ],
38583 "html": "<!DOCTYPE html><html><head></head><body 789=\"012\"></body></html>",
38584 "noQuirksBodyHtml": ""
38585 }
38586 }
38587 ],
38588 "tests15.dat": [
38589 {
38590 "data": "<!DOCTYPE html><p><b><i><u></p> <p>X",
38591 "errors": [
38592 "(1,31): unexpected-end-tag",
38593 "(1,36): expected-closing-tag-but-got-eof"
38594 ],
38595 "document": {
38596 "props": {
38597 "tags": {
38598 "html": true,
38599 "head": true,
38600 "body": true,
38601 "p": true,
38602 "b": true,
38603 "i": true,
38604 "u": true
38605 },
38606 "doctype": true
38607 },
38608 "tree": [
38609 {
38610 "doctype": "html"
38611 },
38612 {
38613 "tag": "html",
38614 "children": [
38615 {
38616 "tag": "head"
38617 },
38618 {
38619 "tag": "body",
38620 "children": [
38621 {
38622 "tag": "p",
38623 "children": [
38624 {
38625 "tag": "b",
38626 "children": [
38627 {
38628 "tag": "i",
38629 "children": [
38630 {
38631 "tag": "u"
38632 }
38633 ]
38634 }
38635 ]
38636 }
38637 ]
38638 },
38639 {
38640 "tag": "b",
38641 "children": [
38642 {
38643 "tag": "i",
38644 "children": [
38645 {
38646 "tag": "u",
38647 "children": [
38648 {
38649 "text": " "
38650 },
38651 {
38652 "tag": "p",
38653 "children": [
38654 {
38655 "text": "X"
38656 }
38657 ]
38658 }
38659 ]
38660 }
38661 ]
38662 }
38663 ]
38664 }
38665 ]
38666 }
38667 ]
38668 }
38669 ],
38670 "html": "<!DOCTYPE html><html><head></head><body><p><b><i><u></u></i></b></p><b><i><u> <p>X</p></u></i></b></body></html>",
38671 "noQuirksBodyHtml": "<p><b><i><u></u></i></b></p><b><i><u> <p>X</p></u></i></b>"
38672 }
38673 },
38674 {
38675 "data": "<p><b><i><u></p>\n<p>X",
38676 "errors": [
38677 "(1,3): expected-doctype-but-got-start-tag",
38678 "(1,16): unexpected-end-tag",
38679 "(2,4): expected-closing-tag-but-got-eof"
38680 ],
38681 "document": {
38682 "props": {
38683 "tags": {
38684 "html": true,
38685 "head": true,
38686 "body": true,
38687 "p": true,
38688 "b": true,
38689 "i": true,
38690 "u": true
38691 }
38692 },
38693 "tree": [
38694 {
38695 "tag": "html",
38696 "children": [
38697 {
38698 "tag": "head"
38699 },
38700 {
38701 "tag": "body",
38702 "children": [
38703 {
38704 "tag": "p",
38705 "children": [
38706 {
38707 "tag": "b",
38708 "children": [
38709 {
38710 "tag": "i",
38711 "children": [
38712 {
38713 "tag": "u"
38714 }
38715 ]
38716 }
38717 ]
38718 }
38719 ]
38720 },
38721 {
38722 "tag": "b",
38723 "children": [
38724 {
38725 "tag": "i",
38726 "children": [
38727 {
38728 "tag": "u",
38729 "children": [
38730 {
38731 "text": "\n"
38732 },
38733 {
38734 "tag": "p",
38735 "children": [
38736 {
38737 "text": "X"
38738 }
38739 ]
38740 }
38741 ]
38742 }
38743 ]
38744 }
38745 ]
38746 }
38747 ]
38748 }
38749 ]
38750 }
38751 ],
38752 "html": "<html><head></head><body><p><b><i><u></u></i></b></p><b><i><u>\n<p>X</p></u></i></b></body></html>",
38753 "noQuirksBodyHtml": "<p><b><i><u></u></i></b></p><b><i><u>\n<p>X</p></u></i></b>"
38754 }
38755 },
38756 {
38757 "data": "<!doctype html></html> <head>",
38758 "errors": [
38759 "(1,29): expected-eof-but-got-start-tag",
38760 "(1,29): unexpected-start-tag-ignored"
38761 ],
38762 "document": {
38763 "props": {
38764 "tags": {
38765 "html": true,
38766 "head": true,
38767 "body": true
38768 },
38769 "doctype": true
38770 },
38771 "tree": [
38772 {
38773 "doctype": "html"
38774 },
38775 {
38776 "tag": "html",
38777 "children": [
38778 {
38779 "tag": "head"
38780 },
38781 {
38782 "tag": "body",
38783 "children": [
38784 {
38785 "text": " "
38786 }
38787 ]
38788 }
38789 ]
38790 }
38791 ],
38792 "html": "<!DOCTYPE html><html><head></head><body> </body></html>",
38793 "noQuirksBodyHtml": " "
38794 }
38795 },
38796 {
38797 "data": "<!doctype html></body><meta>",
38798 "errors": [
38799 "(1,28): unexpected-start-tag-after-body"
38800 ],
38801 "document": {
38802 "props": {
38803 "tags": {
38804 "html": true,
38805 "head": true,
38806 "body": true,
38807 "meta": true
38808 },
38809 "doctype": true
38810 },
38811 "tree": [
38812 {
38813 "doctype": "html"
38814 },
38815 {
38816 "tag": "html",
38817 "children": [
38818 {
38819 "tag": "head"
38820 },
38821 {
38822 "tag": "body",
38823 "children": [
38824 {
38825 "tag": "meta"
38826 }
38827 ]
38828 }
38829 ]
38830 }
38831 ],
38832 "html": "<!DOCTYPE html><html><head></head><body><meta></body></html>",
38833 "noQuirksBodyHtml": "<meta>"
38834 }
38835 },
38836 {
38837 "data": "<html></html><!-- foo -->",
38838 "errors": [
38839 "(1,6): expected-doctype-but-got-start-tag"
38840 ],
38841 "document": {
38842 "props": {
38843 "tags": {
38844 "html": true,
38845 "head": true,
38846 "body": true
38847 },
38848 "comment": true
38849 },
38850 "tree": [
38851 {
38852 "tag": "html",
38853 "children": [
38854 {
38855 "tag": "head"
38856 },
38857 {
38858 "tag": "body"
38859 }
38860 ]
38861 },
38862 {
38863 "comment": " foo "
38864 }
38865 ],
38866 "html": "<html><head></head><body></body></html><!-- foo -->",
38867 "noQuirksBodyHtml": "<!-- foo -->"
38868 }
38869 },
38870 {
38871 "data": "<!doctype html></body><title>X</title>",
38872 "errors": [
38873 "(1,29): unexpected-start-tag-after-body"
38874 ],
38875 "document": {
38876 "props": {
38877 "tags": {
38878 "html": true,
38879 "head": true,
38880 "body": true,
38881 "title": true
38882 },
38883 "doctype": true
38884 },
38885 "tree": [
38886 {
38887 "doctype": "html"
38888 },
38889 {
38890 "tag": "html",
38891 "children": [
38892 {
38893 "tag": "head"
38894 },
38895 {
38896 "tag": "body",
38897 "children": [
38898 {
38899 "tag": "title",
38900 "children": [
38901 {
38902 "text": "X"
38903 }
38904 ]
38905 }
38906 ]
38907 }
38908 ]
38909 }
38910 ],
38911 "html": "<!DOCTYPE html><html><head></head><body><title>X</title></body></html>",
38912 "noQuirksBodyHtml": "<title>X</title>"
38913 }
38914 },
38915 {
38916 "data": "<!doctype html><table> X<meta></table>",
38917 "errors": [
38918 "(1,23): foster-parenting-character",
38919 "(1,24): foster-parenting-character",
38920 "(1,30): foster-parenting-start-character"
38921 ],
38922 "document": {
38923 "props": {
38924 "tags": {
38925 "html": true,
38926 "head": true,
38927 "body": true,
38928 "meta": true,
38929 "table": true
38930 },
38931 "doctype": true
38932 },
38933 "tree": [
38934 {
38935 "doctype": "html"
38936 },
38937 {
38938 "tag": "html",
38939 "children": [
38940 {
38941 "tag": "head"
38942 },
38943 {
38944 "tag": "body",
38945 "children": [
38946 {
38947 "text": " X"
38948 },
38949 {
38950 "tag": "meta"
38951 },
38952 {
38953 "tag": "table"
38954 }
38955 ]
38956 }
38957 ]
38958 }
38959 ],
38960 "html": "<!DOCTYPE html><html><head></head><body> X<meta><table></table></body></html>",
38961 "noQuirksBodyHtml": " X<meta><table></table>"
38962 }
38963 },
38964 {
38965 "data": "<!doctype html><table> x</table>",
38966 "errors": [
38967 "(1,23): foster-parenting-character",
38968 "(1,24): foster-parenting-character"
38969 ],
38970 "document": {
38971 "props": {
38972 "tags": {
38973 "html": true,
38974 "head": true,
38975 "body": true,
38976 "table": true
38977 },
38978 "doctype": true
38979 },
38980 "tree": [
38981 {
38982 "doctype": "html"
38983 },
38984 {
38985 "tag": "html",
38986 "children": [
38987 {
38988 "tag": "head"
38989 },
38990 {
38991 "tag": "body",
38992 "children": [
38993 {
38994 "text": " x"
38995 },
38996 {
38997 "tag": "table"
38998 }
38999 ]
39000 }
39001 ]
39002 }
39003 ],
39004 "html": "<!DOCTYPE html><html><head></head><body> x<table></table></body></html>",
39005 "noQuirksBodyHtml": " x<table></table>"
39006 }
39007 },
39008 {
39009 "data": "<!doctype html><table> x </table>",
39010 "errors": [
39011 "(1,23): foster-parenting-character",
39012 "(1,24): foster-parenting-character",
39013 "(1,25): foster-parenting-character"
39014 ],
39015 "document": {
39016 "props": {
39017 "tags": {
39018 "html": true,
39019 "head": true,
39020 "body": true,
39021 "table": true
39022 },
39023 "doctype": true
39024 },
39025 "tree": [
39026 {
39027 "doctype": "html"
39028 },
39029 {
39030 "tag": "html",
39031 "children": [
39032 {
39033 "tag": "head"
39034 },
39035 {
39036 "tag": "body",
39037 "children": [
39038 {
39039 "text": " x "
39040 },
39041 {
39042 "tag": "table"
39043 }
39044 ]
39045 }
39046 ]
39047 }
39048 ],
39049 "html": "<!DOCTYPE html><html><head></head><body> x <table></table></body></html>",
39050 "noQuirksBodyHtml": " x <table></table>"
39051 }
39052 },
39053 {
39054 "data": "<!doctype html><table><tr> x</table>",
39055 "errors": [
39056 "(1,27): foster-parenting-character",
39057 "(1,28): foster-parenting-character"
39058 ],
39059 "document": {
39060 "props": {
39061 "tags": {
39062 "html": true,
39063 "head": true,
39064 "body": true,
39065 "table": true,
39066 "tbody": true,
39067 "tr": true
39068 },
39069 "doctype": true
39070 },
39071 "tree": [
39072 {
39073 "doctype": "html"
39074 },
39075 {
39076 "tag": "html",
39077 "children": [
39078 {
39079 "tag": "head"
39080 },
39081 {
39082 "tag": "body",
39083 "children": [
39084 {
39085 "text": " x"
39086 },
39087 {
39088 "tag": "table",
39089 "children": [
39090 {
39091 "tag": "tbody",
39092 "children": [
39093 {
39094 "tag": "tr"
39095 }
39096 ]
39097 }
39098 ]
39099 }
39100 ]
39101 }
39102 ]
39103 }
39104 ],
39105 "html": "<!DOCTYPE html><html><head></head><body> x<table><tbody><tr></tr></tbody></table></body></html>",
39106 "noQuirksBodyHtml": " x<table><tbody><tr></tr></tbody></table>"
39107 }
39108 },
39109 {
39110 "data": "<!doctype html><table>X<style> <tr>x </style> </table>",
39111 "errors": [
39112 "(1,23): foster-parenting-character"
39113 ],
39114 "document": {
39115 "props": {
39116 "tags": {
39117 "html": true,
39118 "head": true,
39119 "body": true,
39120 "table": true,
39121 "style": true
39122 },
39123 "doctype": true,
39124 "no_escape": true
39125 },
39126 "tree": [
39127 {
39128 "doctype": "html"
39129 },
39130 {
39131 "tag": "html",
39132 "children": [
39133 {
39134 "tag": "head"
39135 },
39136 {
39137 "tag": "body",
39138 "children": [
39139 {
39140 "text": "X"
39141 },
39142 {
39143 "tag": "table",
39144 "children": [
39145 {
39146 "tag": "style",
39147 "children": [
39148 {
39149 "text": " <tr>x ",
39150 "no_escape": true
39151 }
39152 ]
39153 },
39154 {
39155 "text": " "
39156 }
39157 ]
39158 }
39159 ]
39160 }
39161 ]
39162 }
39163 ],
39164 "html": "<!DOCTYPE html><html><head></head><body>X<table><style> <tr>x </style> </table></body></html>",
39165 "noQuirksBodyHtml": "X<table><style> <tr>x </style> </table>"
39166 }
39167 },
39168 {
39169 "data": "<!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>",
39170 "errors": [
39171 "(1,30): foster-parenting-start-tag",
39172 "(1,31): foster-parenting-character",
39173 "(1,32): foster-parenting-character",
39174 "(1,33): foster-parenting-character",
39175 "(1,37): foster-parenting-end-tag"
39176 ],
39177 "document": {
39178 "props": {
39179 "tags": {
39180 "html": true,
39181 "head": true,
39182 "body": true,
39183 "div": true,
39184 "a": true,
39185 "table": true,
39186 "tbody": true,
39187 "tr": true,
39188 "td": true
39189 },
39190 "doctype": true
39191 },
39192 "tree": [
39193 {
39194 "doctype": "html"
39195 },
39196 {
39197 "tag": "html",
39198 "children": [
39199 {
39200 "tag": "head"
39201 },
39202 {
39203 "tag": "body",
39204 "children": [
39205 {
39206 "tag": "div",
39207 "children": [
39208 {
39209 "tag": "a",
39210 "children": [
39211 {
39212 "text": "foo"
39213 }
39214 ]
39215 },
39216 {
39217 "tag": "table",
39218 "children": [
39219 {
39220 "text": " "
39221 },
39222 {
39223 "tag": "tbody",
39224 "children": [
39225 {
39226 "tag": "tr",
39227 "children": [
39228 {
39229 "tag": "td",
39230 "children": [
39231 {
39232 "text": "bar"
39233 }
39234 ]
39235 },
39236 {
39237 "text": " "
39238 }
39239 ]
39240 }
39241 ]
39242 }
39243 ]
39244 }
39245 ]
39246 }
39247 ]
39248 }
39249 ]
39250 }
39251 ],
39252 "html": "<!DOCTYPE html><html><head></head><body><div><a>foo</a><table> <tbody><tr><td>bar</td> </tr></tbody></table></div></body></html>",
39253 "noQuirksBodyHtml": "<div><a>foo</a><table> <tbody><tr><td>bar</td> </tr></tbody></table></div>"
39254 }
39255 },
39256 {
39257 "data": "<frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>",
39258 "errors": [
39259 "(1,7): expected-doctype-but-got-start-tag",
39260 "(1,7): unexpected-start-tag-ignored",
39261 "(1,15): unexpected-end-tag",
39262 "(1,23): unexpected-end-tag",
39263 "(1,33): unexpected-start-tag",
39264 "(1,99): expected-named-closing-tag-but-got-eof",
39265 "(1,99): eof-in-frameset"
39266 ],
39267 "document": {
39268 "props": {
39269 "tags": {
39270 "html": true,
39271 "head": true,
39272 "frameset": true,
39273 "frame": true,
39274 "noframes": true
39275 },
39276 "no_escape": true
39277 },
39278 "tree": [
39279 {
39280 "tag": "html",
39281 "children": [
39282 {
39283 "tag": "head"
39284 },
39285 {
39286 "tag": "frameset",
39287 "children": [
39288 {
39289 "tag": "frame"
39290 },
39291 {
39292 "tag": "frameset",
39293 "children": [
39294 {
39295 "tag": "frame"
39296 }
39297 ]
39298 },
39299 {
39300 "tag": "noframes",
39301 "children": [
39302 {
39303 "text": "</frameset><noframes>",
39304 "no_escape": true
39305 }
39306 ]
39307 }
39308 ]
39309 }
39310 ]
39311 }
39312 ],
39313 "html": "<html><head></head><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes></noframes></frameset></html>",
39314 "noQuirksBodyHtml": "<noframes></frameset><noframes></noframes>"
39315 }
39316 },
39317 {
39318 "data": "<!DOCTYPE html><object></html>",
39319 "errors": [
39320 "(1,30): expected-body-in-scope",
39321 "(1,30): expected-closing-tag-but-got-eof"
39322 ],
39323 "document": {
39324 "props": {
39325 "tags": {
39326 "html": true,
39327 "head": true,
39328 "body": true,
39329 "object": true
39330 },
39331 "doctype": true
39332 },
39333 "tree": [
39334 {
39335 "doctype": "html"
39336 },
39337 {
39338 "tag": "html",
39339 "children": [
39340 {
39341 "tag": "head"
39342 },
39343 {
39344 "tag": "body",
39345 "children": [
39346 {
39347 "tag": "object"
39348 }
39349 ]
39350 }
39351 ]
39352 }
39353 ],
39354 "html": "<!DOCTYPE html><html><head></head><body><object></object></body></html>",
39355 "noQuirksBodyHtml": "<object></object>"
39356 }
39357 }
39358 ],
39359 "tests16.dat": [
39360 {
39361 "data": "<!doctype html><script>",
39362 "errors": [
39363 "(1,23): expected-named-closing-tag-but-got-eof"
39364 ],
39365 "document": {
39366 "props": {
39367 "tags": {
39368 "html": true,
39369 "head": true,
39370 "script": true,
39371 "body": true
39372 },
39373 "doctype": true
39374 },
39375 "tree": [
39376 {
39377 "doctype": "html"
39378 },
39379 {
39380 "tag": "html",
39381 "children": [
39382 {
39383 "tag": "head",
39384 "children": [
39385 {
39386 "tag": "script"
39387 }
39388 ]
39389 },
39390 {
39391 "tag": "body"
39392 }
39393 ]
39394 }
39395 ],
39396 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
39397 "noQuirksBodyHtml": "<script></script>"
39398 }
39399 },
39400 {
39401 "data": "<!doctype html><script>a",
39402 "errors": [
39403 "(1,24): expected-named-closing-tag-but-got-eof"
39404 ],
39405 "document": {
39406 "props": {
39407 "tags": {
39408 "html": true,
39409 "head": true,
39410 "script": true,
39411 "body": true
39412 },
39413 "doctype": true,
39414 "no_escape": true
39415 },
39416 "tree": [
39417 {
39418 "doctype": "html"
39419 },
39420 {
39421 "tag": "html",
39422 "children": [
39423 {
39424 "tag": "head",
39425 "children": [
39426 {
39427 "tag": "script",
39428 "children": [
39429 {
39430 "text": "a",
39431 "no_escape": true
39432 }
39433 ]
39434 }
39435 ]
39436 },
39437 {
39438 "tag": "body"
39439 }
39440 ]
39441 }
39442 ],
39443 "html": "<!DOCTYPE html><html><head><script>a</script></head><body></body></html>",
39444 "noQuirksBodyHtml": "<script>a</script>"
39445 }
39446 },
39447 {
39448 "data": "<!doctype html><script><",
39449 "errors": [
39450 "(1,24): expected-named-closing-tag-but-got-eof"
39451 ],
39452 "document": {
39453 "props": {
39454 "tags": {
39455 "html": true,
39456 "head": true,
39457 "script": true,
39458 "body": true
39459 },
39460 "doctype": true,
39461 "no_escape": true
39462 },
39463 "tree": [
39464 {
39465 "doctype": "html"
39466 },
39467 {
39468 "tag": "html",
39469 "children": [
39470 {
39471 "tag": "head",
39472 "children": [
39473 {
39474 "tag": "script",
39475 "children": [
39476 {
39477 "text": "<",
39478 "no_escape": true
39479 }
39480 ]
39481 }
39482 ]
39483 },
39484 {
39485 "tag": "body"
39486 }
39487 ]
39488 }
39489 ],
39490 "html": "<!DOCTYPE html><html><head><script><</script></head><body></body></html>",
39491 "noQuirksBodyHtml": "<script><</script>"
39492 }
39493 },
39494 {
39495 "data": "<!doctype html><script></",
39496 "errors": [
39497 "(1,25): expected-named-closing-tag-but-got-eof"
39498 ],
39499 "document": {
39500 "props": {
39501 "tags": {
39502 "html": true,
39503 "head": true,
39504 "script": true,
39505 "body": true
39506 },
39507 "doctype": true,
39508 "no_escape": true
39509 },
39510 "tree": [
39511 {
39512 "doctype": "html"
39513 },
39514 {
39515 "tag": "html",
39516 "children": [
39517 {
39518 "tag": "head",
39519 "children": [
39520 {
39521 "tag": "script",
39522 "children": [
39523 {
39524 "text": "</",
39525 "no_escape": true
39526 }
39527 ]
39528 }
39529 ]
39530 },
39531 {
39532 "tag": "body"
39533 }
39534 ]
39535 }
39536 ],
39537 "html": "<!DOCTYPE html><html><head><script></</script></head><body></body></html>",
39538 "noQuirksBodyHtml": "<script></</script>"
39539 }
39540 },
39541 {
39542 "data": "<!doctype html><script></S",
39543 "errors": [
39544 "(1,26): expected-named-closing-tag-but-got-eof"
39545 ],
39546 "document": {
39547 "props": {
39548 "tags": {
39549 "html": true,
39550 "head": true,
39551 "script": true,
39552 "body": true
39553 },
39554 "doctype": true,
39555 "no_escape": true
39556 },
39557 "tree": [
39558 {
39559 "doctype": "html"
39560 },
39561 {
39562 "tag": "html",
39563 "children": [
39564 {
39565 "tag": "head",
39566 "children": [
39567 {
39568 "tag": "script",
39569 "children": [
39570 {
39571 "text": "</S",
39572 "no_escape": true
39573 }
39574 ]
39575 }
39576 ]
39577 },
39578 {
39579 "tag": "body"
39580 }
39581 ]
39582 }
39583 ],
39584 "html": "<!DOCTYPE html><html><head><script></S</script></head><body></body></html>",
39585 "noQuirksBodyHtml": "<script></S</script>"
39586 }
39587 },
39588 {
39589 "data": "<!doctype html><script></SC",
39590 "errors": [
39591 "(1,27): expected-named-closing-tag-but-got-eof"
39592 ],
39593 "document": {
39594 "props": {
39595 "tags": {
39596 "html": true,
39597 "head": true,
39598 "script": true,
39599 "body": true
39600 },
39601 "doctype": true,
39602 "no_escape": true
39603 },
39604 "tree": [
39605 {
39606 "doctype": "html"
39607 },
39608 {
39609 "tag": "html",
39610 "children": [
39611 {
39612 "tag": "head",
39613 "children": [
39614 {
39615 "tag": "script",
39616 "children": [
39617 {
39618 "text": "</SC",
39619 "no_escape": true
39620 }
39621 ]
39622 }
39623 ]
39624 },
39625 {
39626 "tag": "body"
39627 }
39628 ]
39629 }
39630 ],
39631 "html": "<!DOCTYPE html><html><head><script></SC</script></head><body></body></html>",
39632 "noQuirksBodyHtml": "<script></SC</script>"
39633 }
39634 },
39635 {
39636 "data": "<!doctype html><script></SCR",
39637 "errors": [
39638 "(1,28): expected-named-closing-tag-but-got-eof"
39639 ],
39640 "document": {
39641 "props": {
39642 "tags": {
39643 "html": true,
39644 "head": true,
39645 "script": true,
39646 "body": true
39647 },
39648 "doctype": true,
39649 "no_escape": true
39650 },
39651 "tree": [
39652 {
39653 "doctype": "html"
39654 },
39655 {
39656 "tag": "html",
39657 "children": [
39658 {
39659 "tag": "head",
39660 "children": [
39661 {
39662 "tag": "script",
39663 "children": [
39664 {
39665 "text": "</SCR",
39666 "no_escape": true
39667 }
39668 ]
39669 }
39670 ]
39671 },
39672 {
39673 "tag": "body"
39674 }
39675 ]
39676 }
39677 ],
39678 "html": "<!DOCTYPE html><html><head><script></SCR</script></head><body></body></html>",
39679 "noQuirksBodyHtml": "<script></SCR</script>"
39680 }
39681 },
39682 {
39683 "data": "<!doctype html><script></SCRI",
39684 "errors": [
39685 "(1,29): expected-named-closing-tag-but-got-eof"
39686 ],
39687 "document": {
39688 "props": {
39689 "tags": {
39690 "html": true,
39691 "head": true,
39692 "script": true,
39693 "body": true
39694 },
39695 "doctype": true,
39696 "no_escape": true
39697 },
39698 "tree": [
39699 {
39700 "doctype": "html"
39701 },
39702 {
39703 "tag": "html",
39704 "children": [
39705 {
39706 "tag": "head",
39707 "children": [
39708 {
39709 "tag": "script",
39710 "children": [
39711 {
39712 "text": "</SCRI",
39713 "no_escape": true
39714 }
39715 ]
39716 }
39717 ]
39718 },
39719 {
39720 "tag": "body"
39721 }
39722 ]
39723 }
39724 ],
39725 "html": "<!DOCTYPE html><html><head><script></SCRI</script></head><body></body></html>",
39726 "noQuirksBodyHtml": "<script></SCRI</script>"
39727 }
39728 },
39729 {
39730 "data": "<!doctype html><script></SCRIP",
39731 "errors": [
39732 "(1,30): expected-named-closing-tag-but-got-eof"
39733 ],
39734 "document": {
39735 "props": {
39736 "tags": {
39737 "html": true,
39738 "head": true,
39739 "script": true,
39740 "body": true
39741 },
39742 "doctype": true,
39743 "no_escape": true
39744 },
39745 "tree": [
39746 {
39747 "doctype": "html"
39748 },
39749 {
39750 "tag": "html",
39751 "children": [
39752 {
39753 "tag": "head",
39754 "children": [
39755 {
39756 "tag": "script",
39757 "children": [
39758 {
39759 "text": "</SCRIP",
39760 "no_escape": true
39761 }
39762 ]
39763 }
39764 ]
39765 },
39766 {
39767 "tag": "body"
39768 }
39769 ]
39770 }
39771 ],
39772 "html": "<!DOCTYPE html><html><head><script></SCRIP</script></head><body></body></html>",
39773 "noQuirksBodyHtml": "<script></SCRIP</script>"
39774 }
39775 },
39776 {
39777 "data": "<!doctype html><script></SCRIPT",
39778 "errors": [
39779 "(1,31): expected-named-closing-tag-but-got-eof"
39780 ],
39781 "document": {
39782 "props": {
39783 "tags": {
39784 "html": true,
39785 "head": true,
39786 "script": true,
39787 "body": true
39788 },
39789 "doctype": true,
39790 "no_escape": true
39791 },
39792 "tree": [
39793 {
39794 "doctype": "html"
39795 },
39796 {
39797 "tag": "html",
39798 "children": [
39799 {
39800 "tag": "head",
39801 "children": [
39802 {
39803 "tag": "script",
39804 "children": [
39805 {
39806 "text": "</SCRIPT",
39807 "no_escape": true
39808 }
39809 ]
39810 }
39811 ]
39812 },
39813 {
39814 "tag": "body"
39815 }
39816 ]
39817 }
39818 ],
39819 "html": "<!DOCTYPE html><html><head><script></SCRIPT</script></head><body></body></html>",
39820 "noQuirksBodyHtml": "<script></SCRIPT</script>"
39821 }
39822 },
39823 {
39824 "data": "<!doctype html><script></SCRIPT ",
39825 "errors": [
39826 "(1,32): expected-attribute-name-but-got-eof",
39827 "(1,32): expected-named-closing-tag-but-got-eof"
39828 ],
39829 "document": {
39830 "props": {
39831 "tags": {
39832 "html": true,
39833 "head": true,
39834 "script": true,
39835 "body": true
39836 },
39837 "doctype": true
39838 },
39839 "tree": [
39840 {
39841 "doctype": "html"
39842 },
39843 {
39844 "tag": "html",
39845 "children": [
39846 {
39847 "tag": "head",
39848 "children": [
39849 {
39850 "tag": "script"
39851 }
39852 ]
39853 },
39854 {
39855 "tag": "body"
39856 }
39857 ]
39858 }
39859 ],
39860 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
39861 "noQuirksBodyHtml": "<script></script>"
39862 }
39863 },
39864 {
39865 "data": "<!doctype html><script></s",
39866 "errors": [
39867 "(1,26): expected-named-closing-tag-but-got-eof"
39868 ],
39869 "document": {
39870 "props": {
39871 "tags": {
39872 "html": true,
39873 "head": true,
39874 "script": true,
39875 "body": true
39876 },
39877 "doctype": true,
39878 "no_escape": true
39879 },
39880 "tree": [
39881 {
39882 "doctype": "html"
39883 },
39884 {
39885 "tag": "html",
39886 "children": [
39887 {
39888 "tag": "head",
39889 "children": [
39890 {
39891 "tag": "script",
39892 "children": [
39893 {
39894 "text": "</s",
39895 "no_escape": true
39896 }
39897 ]
39898 }
39899 ]
39900 },
39901 {
39902 "tag": "body"
39903 }
39904 ]
39905 }
39906 ],
39907 "html": "<!DOCTYPE html><html><head><script></s</script></head><body></body></html>",
39908 "noQuirksBodyHtml": "<script></s</script>"
39909 }
39910 },
39911 {
39912 "data": "<!doctype html><script></sc",
39913 "errors": [
39914 "(1,27): expected-named-closing-tag-but-got-eof"
39915 ],
39916 "document": {
39917 "props": {
39918 "tags": {
39919 "html": true,
39920 "head": true,
39921 "script": true,
39922 "body": true
39923 },
39924 "doctype": true,
39925 "no_escape": true
39926 },
39927 "tree": [
39928 {
39929 "doctype": "html"
39930 },
39931 {
39932 "tag": "html",
39933 "children": [
39934 {
39935 "tag": "head",
39936 "children": [
39937 {
39938 "tag": "script",
39939 "children": [
39940 {
39941 "text": "</sc",
39942 "no_escape": true
39943 }
39944 ]
39945 }
39946 ]
39947 },
39948 {
39949 "tag": "body"
39950 }
39951 ]
39952 }
39953 ],
39954 "html": "<!DOCTYPE html><html><head><script></sc</script></head><body></body></html>",
39955 "noQuirksBodyHtml": "<script></sc</script>"
39956 }
39957 },
39958 {
39959 "data": "<!doctype html><script></scr",
39960 "errors": [
39961 "(1,28): expected-named-closing-tag-but-got-eof"
39962 ],
39963 "document": {
39964 "props": {
39965 "tags": {
39966 "html": true,
39967 "head": true,
39968 "script": true,
39969 "body": true
39970 },
39971 "doctype": true,
39972 "no_escape": true
39973 },
39974 "tree": [
39975 {
39976 "doctype": "html"
39977 },
39978 {
39979 "tag": "html",
39980 "children": [
39981 {
39982 "tag": "head",
39983 "children": [
39984 {
39985 "tag": "script",
39986 "children": [
39987 {
39988 "text": "</scr",
39989 "no_escape": true
39990 }
39991 ]
39992 }
39993 ]
39994 },
39995 {
39996 "tag": "body"
39997 }
39998 ]
39999 }
40000 ],
40001 "html": "<!DOCTYPE html><html><head><script></scr</script></head><body></body></html>",
40002 "noQuirksBodyHtml": "<script></scr</script>"
40003 }
40004 },
40005 {
40006 "data": "<!doctype html><script></scri",
40007 "errors": [
40008 "(1,29): expected-named-closing-tag-but-got-eof"
40009 ],
40010 "document": {
40011 "props": {
40012 "tags": {
40013 "html": true,
40014 "head": true,
40015 "script": true,
40016 "body": true
40017 },
40018 "doctype": true,
40019 "no_escape": true
40020 },
40021 "tree": [
40022 {
40023 "doctype": "html"
40024 },
40025 {
40026 "tag": "html",
40027 "children": [
40028 {
40029 "tag": "head",
40030 "children": [
40031 {
40032 "tag": "script",
40033 "children": [
40034 {
40035 "text": "</scri",
40036 "no_escape": true
40037 }
40038 ]
40039 }
40040 ]
40041 },
40042 {
40043 "tag": "body"
40044 }
40045 ]
40046 }
40047 ],
40048 "html": "<!DOCTYPE html><html><head><script></scri</script></head><body></body></html>",
40049 "noQuirksBodyHtml": "<script></scri</script>"
40050 }
40051 },
40052 {
40053 "data": "<!doctype html><script></scrip",
40054 "errors": [
40055 "(1,30): expected-named-closing-tag-but-got-eof"
40056 ],
40057 "document": {
40058 "props": {
40059 "tags": {
40060 "html": true,
40061 "head": true,
40062 "script": true,
40063 "body": true
40064 },
40065 "doctype": true,
40066 "no_escape": true
40067 },
40068 "tree": [
40069 {
40070 "doctype": "html"
40071 },
40072 {
40073 "tag": "html",
40074 "children": [
40075 {
40076 "tag": "head",
40077 "children": [
40078 {
40079 "tag": "script",
40080 "children": [
40081 {
40082 "text": "</scrip",
40083 "no_escape": true
40084 }
40085 ]
40086 }
40087 ]
40088 },
40089 {
40090 "tag": "body"
40091 }
40092 ]
40093 }
40094 ],
40095 "html": "<!DOCTYPE html><html><head><script></scrip</script></head><body></body></html>",
40096 "noQuirksBodyHtml": "<script></scrip</script>"
40097 }
40098 },
40099 {
40100 "data": "<!doctype html><script></script",
40101 "errors": [
40102 "(1,31): expected-named-closing-tag-but-got-eof"
40103 ],
40104 "document": {
40105 "props": {
40106 "tags": {
40107 "html": true,
40108 "head": true,
40109 "script": true,
40110 "body": true
40111 },
40112 "doctype": true,
40113 "no_escape": true
40114 },
40115 "tree": [
40116 {
40117 "doctype": "html"
40118 },
40119 {
40120 "tag": "html",
40121 "children": [
40122 {
40123 "tag": "head",
40124 "children": [
40125 {
40126 "tag": "script",
40127 "children": [
40128 {
40129 "text": "</script",
40130 "no_escape": true
40131 }
40132 ]
40133 }
40134 ]
40135 },
40136 {
40137 "tag": "body"
40138 }
40139 ]
40140 }
40141 ],
40142 "html": "<!DOCTYPE html><html><head><script></script</script></head><body></body></html>",
40143 "noQuirksBodyHtml": "<script></script</script>"
40144 }
40145 },
40146 {
40147 "data": "<!doctype html><script></script ",
40148 "errors": [
40149 "(1,32): expected-attribute-name-but-got-eof",
40150 "(1,32): expected-named-closing-tag-but-got-eof"
40151 ],
40152 "document": {
40153 "props": {
40154 "tags": {
40155 "html": true,
40156 "head": true,
40157 "script": true,
40158 "body": true
40159 },
40160 "doctype": true
40161 },
40162 "tree": [
40163 {
40164 "doctype": "html"
40165 },
40166 {
40167 "tag": "html",
40168 "children": [
40169 {
40170 "tag": "head",
40171 "children": [
40172 {
40173 "tag": "script"
40174 }
40175 ]
40176 },
40177 {
40178 "tag": "body"
40179 }
40180 ]
40181 }
40182 ],
40183 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
40184 "noQuirksBodyHtml": "<script></script>"
40185 }
40186 },
40187 {
40188 "data": "<!doctype html><script><!",
40189 "errors": [
40190 "(1,25): expected-script-data-but-got-eof",
40191 "(1,25): expected-named-closing-tag-but-got-eof"
40192 ],
40193 "document": {
40194 "props": {
40195 "tags": {
40196 "html": true,
40197 "head": true,
40198 "script": true,
40199 "body": true
40200 },
40201 "doctype": true,
40202 "no_escape": true
40203 },
40204 "tree": [
40205 {
40206 "doctype": "html"
40207 },
40208 {
40209 "tag": "html",
40210 "children": [
40211 {
40212 "tag": "head",
40213 "children": [
40214 {
40215 "tag": "script",
40216 "children": [
40217 {
40218 "text": "<!",
40219 "no_escape": true
40220 }
40221 ]
40222 }
40223 ]
40224 },
40225 {
40226 "tag": "body"
40227 }
40228 ]
40229 }
40230 ],
40231 "html": "<!DOCTYPE html><html><head><script><!</script></head><body></body></html>",
40232 "noQuirksBodyHtml": "<script><!</script>"
40233 }
40234 },
40235 {
40236 "data": "<!doctype html><script><!a",
40237 "errors": [
40238 "(1,26): expected-named-closing-tag-but-got-eof"
40239 ],
40240 "document": {
40241 "props": {
40242 "tags": {
40243 "html": true,
40244 "head": true,
40245 "script": true,
40246 "body": true
40247 },
40248 "doctype": true,
40249 "no_escape": true
40250 },
40251 "tree": [
40252 {
40253 "doctype": "html"
40254 },
40255 {
40256 "tag": "html",
40257 "children": [
40258 {
40259 "tag": "head",
40260 "children": [
40261 {
40262 "tag": "script",
40263 "children": [
40264 {
40265 "text": "<!a",
40266 "no_escape": true
40267 }
40268 ]
40269 }
40270 ]
40271 },
40272 {
40273 "tag": "body"
40274 }
40275 ]
40276 }
40277 ],
40278 "html": "<!DOCTYPE html><html><head><script><!a</script></head><body></body></html>",
40279 "noQuirksBodyHtml": "<script><!a</script>"
40280 }
40281 },
40282 {
40283 "data": "<!doctype html><script><!-",
40284 "errors": [
40285 "(1,26): expected-named-closing-tag-but-got-eof"
40286 ],
40287 "document": {
40288 "props": {
40289 "tags": {
40290 "html": true,
40291 "head": true,
40292 "script": true,
40293 "body": true
40294 },
40295 "doctype": true,
40296 "no_escape": true
40297 },
40298 "tree": [
40299 {
40300 "doctype": "html"
40301 },
40302 {
40303 "tag": "html",
40304 "children": [
40305 {
40306 "tag": "head",
40307 "children": [
40308 {
40309 "tag": "script",
40310 "children": [
40311 {
40312 "text": "<!-",
40313 "no_escape": true
40314 }
40315 ]
40316 }
40317 ]
40318 },
40319 {
40320 "tag": "body"
40321 }
40322 ]
40323 }
40324 ],
40325 "html": "<!DOCTYPE html><html><head><script><!-</script></head><body></body></html>",
40326 "noQuirksBodyHtml": "<script><!-</script>"
40327 }
40328 },
40329 {
40330 "data": "<!doctype html><script><!-a",
40331 "errors": [
40332 "(1,27): expected-named-closing-tag-but-got-eof"
40333 ],
40334 "document": {
40335 "props": {
40336 "tags": {
40337 "html": true,
40338 "head": true,
40339 "script": true,
40340 "body": true
40341 },
40342 "doctype": true,
40343 "no_escape": true
40344 },
40345 "tree": [
40346 {
40347 "doctype": "html"
40348 },
40349 {
40350 "tag": "html",
40351 "children": [
40352 {
40353 "tag": "head",
40354 "children": [
40355 {
40356 "tag": "script",
40357 "children": [
40358 {
40359 "text": "<!-a",
40360 "no_escape": true
40361 }
40362 ]
40363 }
40364 ]
40365 },
40366 {
40367 "tag": "body"
40368 }
40369 ]
40370 }
40371 ],
40372 "html": "<!DOCTYPE html><html><head><script><!-a</script></head><body></body></html>",
40373 "noQuirksBodyHtml": "<script><!-a</script>"
40374 }
40375 },
40376 {
40377 "data": "<!doctype html><script><!--",
40378 "errors": [
40379 "(1,27): expected-named-closing-tag-but-got-eof",
40380 "(1,27): unexpected-eof-in-text-mode"
40381 ],
40382 "document": {
40383 "props": {
40384 "tags": {
40385 "html": true,
40386 "head": true,
40387 "script": true,
40388 "body": true
40389 },
40390 "doctype": true,
40391 "no_escape": true
40392 },
40393 "tree": [
40394 {
40395 "doctype": "html"
40396 },
40397 {
40398 "tag": "html",
40399 "children": [
40400 {
40401 "tag": "head",
40402 "children": [
40403 {
40404 "tag": "script",
40405 "children": [
40406 {
40407 "text": "<!--",
40408 "no_escape": true
40409 }
40410 ]
40411 }
40412 ]
40413 },
40414 {
40415 "tag": "body"
40416 }
40417 ]
40418 }
40419 ],
40420 "html": "<!DOCTYPE html><html><head><script><!--</script></head><body></body></html>",
40421 "noQuirksBodyHtml": "<script><!--</script>"
40422 }
40423 },
40424 {
40425 "data": "<!doctype html><script><!--a",
40426 "errors": [
40427 "(1,28): expected-named-closing-tag-but-got-eof",
40428 "(1,28): unexpected-eof-in-text-mode"
40429 ],
40430 "document": {
40431 "props": {
40432 "tags": {
40433 "html": true,
40434 "head": true,
40435 "script": true,
40436 "body": true
40437 },
40438 "doctype": true,
40439 "no_escape": true
40440 },
40441 "tree": [
40442 {
40443 "doctype": "html"
40444 },
40445 {
40446 "tag": "html",
40447 "children": [
40448 {
40449 "tag": "head",
40450 "children": [
40451 {
40452 "tag": "script",
40453 "children": [
40454 {
40455 "text": "<!--a",
40456 "no_escape": true
40457 }
40458 ]
40459 }
40460 ]
40461 },
40462 {
40463 "tag": "body"
40464 }
40465 ]
40466 }
40467 ],
40468 "html": "<!DOCTYPE html><html><head><script><!--a</script></head><body></body></html>",
40469 "noQuirksBodyHtml": "<script><!--a</script>"
40470 }
40471 },
40472 {
40473 "data": "<!doctype html><script><!--<",
40474 "errors": [
40475 "(1,28): expected-named-closing-tag-but-got-eof",
40476 "(1,28): unexpected-eof-in-text-mode"
40477 ],
40478 "document": {
40479 "props": {
40480 "tags": {
40481 "html": true,
40482 "head": true,
40483 "script": true,
40484 "body": true
40485 },
40486 "doctype": true,
40487 "no_escape": true
40488 },
40489 "tree": [
40490 {
40491 "doctype": "html"
40492 },
40493 {
40494 "tag": "html",
40495 "children": [
40496 {
40497 "tag": "head",
40498 "children": [
40499 {
40500 "tag": "script",
40501 "children": [
40502 {
40503 "text": "<!--<",
40504 "no_escape": true
40505 }
40506 ]
40507 }
40508 ]
40509 },
40510 {
40511 "tag": "body"
40512 }
40513 ]
40514 }
40515 ],
40516 "html": "<!DOCTYPE html><html><head><script><!--<</script></head><body></body></html>",
40517 "noQuirksBodyHtml": "<script><!--<</script>"
40518 }
40519 },
40520 {
40521 "data": "<!doctype html><script><!--<a",
40522 "errors": [
40523 "(1,29): expected-named-closing-tag-but-got-eof",
40524 "(1,29): unexpected-eof-in-text-mode"
40525 ],
40526 "document": {
40527 "props": {
40528 "tags": {
40529 "html": true,
40530 "head": true,
40531 "script": true,
40532 "body": true
40533 },
40534 "doctype": true,
40535 "no_escape": true
40536 },
40537 "tree": [
40538 {
40539 "doctype": "html"
40540 },
40541 {
40542 "tag": "html",
40543 "children": [
40544 {
40545 "tag": "head",
40546 "children": [
40547 {
40548 "tag": "script",
40549 "children": [
40550 {
40551 "text": "<!--<a",
40552 "no_escape": true
40553 }
40554 ]
40555 }
40556 ]
40557 },
40558 {
40559 "tag": "body"
40560 }
40561 ]
40562 }
40563 ],
40564 "html": "<!DOCTYPE html><html><head><script><!--<a</script></head><body></body></html>",
40565 "noQuirksBodyHtml": "<script><!--<a</script>"
40566 }
40567 },
40568 {
40569 "data": "<!doctype html><script><!--</",
40570 "errors": [
40571 "(1,29): expected-named-closing-tag-but-got-eof",
40572 "(1,29): unexpected-eof-in-text-mode"
40573 ],
40574 "document": {
40575 "props": {
40576 "tags": {
40577 "html": true,
40578 "head": true,
40579 "script": true,
40580 "body": true
40581 },
40582 "doctype": true,
40583 "no_escape": true
40584 },
40585 "tree": [
40586 {
40587 "doctype": "html"
40588 },
40589 {
40590 "tag": "html",
40591 "children": [
40592 {
40593 "tag": "head",
40594 "children": [
40595 {
40596 "tag": "script",
40597 "children": [
40598 {
40599 "text": "<!--</",
40600 "no_escape": true
40601 }
40602 ]
40603 }
40604 ]
40605 },
40606 {
40607 "tag": "body"
40608 }
40609 ]
40610 }
40611 ],
40612 "html": "<!DOCTYPE html><html><head><script><!--</</script></head><body></body></html>",
40613 "noQuirksBodyHtml": "<script><!--</</script>"
40614 }
40615 },
40616 {
40617 "data": "<!doctype html><script><!--</script",
40618 "errors": [
40619 "(1,35): expected-named-closing-tag-but-got-eof",
40620 "(1,35): unexpected-eof-in-text-mode"
40621 ],
40622 "document": {
40623 "props": {
40624 "tags": {
40625 "html": true,
40626 "head": true,
40627 "script": true,
40628 "body": true
40629 },
40630 "doctype": true,
40631 "no_escape": true
40632 },
40633 "tree": [
40634 {
40635 "doctype": "html"
40636 },
40637 {
40638 "tag": "html",
40639 "children": [
40640 {
40641 "tag": "head",
40642 "children": [
40643 {
40644 "tag": "script",
40645 "children": [
40646 {
40647 "text": "<!--</script",
40648 "no_escape": true
40649 }
40650 ]
40651 }
40652 ]
40653 },
40654 {
40655 "tag": "body"
40656 }
40657 ]
40658 }
40659 ],
40660 "html": "<!DOCTYPE html><html><head><script><!--</script</script></head><body></body></html>",
40661 "noQuirksBodyHtml": "<script><!--</script</script>"
40662 }
40663 },
40664 {
40665 "data": "<!doctype html><script><!--</script ",
40666 "errors": [
40667 "(1,36): expected-attribute-name-but-got-eof",
40668 "(1,36): expected-named-closing-tag-but-got-eof"
40669 ],
40670 "document": {
40671 "props": {
40672 "tags": {
40673 "html": true,
40674 "head": true,
40675 "script": true,
40676 "body": true
40677 },
40678 "doctype": true,
40679 "no_escape": true
40680 },
40681 "tree": [
40682 {
40683 "doctype": "html"
40684 },
40685 {
40686 "tag": "html",
40687 "children": [
40688 {
40689 "tag": "head",
40690 "children": [
40691 {
40692 "tag": "script",
40693 "children": [
40694 {
40695 "text": "<!--",
40696 "no_escape": true
40697 }
40698 ]
40699 }
40700 ]
40701 },
40702 {
40703 "tag": "body"
40704 }
40705 ]
40706 }
40707 ],
40708 "html": "<!DOCTYPE html><html><head><script><!--</script></head><body></body></html>",
40709 "noQuirksBodyHtml": "<script><!--</script>"
40710 }
40711 },
40712 {
40713 "data": "<!doctype html><script><!--<s",
40714 "errors": [
40715 "(1,29): expected-named-closing-tag-but-got-eof",
40716 "(1,29): unexpected-eof-in-text-mode"
40717 ],
40718 "document": {
40719 "props": {
40720 "tags": {
40721 "html": true,
40722 "head": true,
40723 "script": true,
40724 "body": true
40725 },
40726 "doctype": true,
40727 "no_escape": true
40728 },
40729 "tree": [
40730 {
40731 "doctype": "html"
40732 },
40733 {
40734 "tag": "html",
40735 "children": [
40736 {
40737 "tag": "head",
40738 "children": [
40739 {
40740 "tag": "script",
40741 "children": [
40742 {
40743 "text": "<!--<s",
40744 "no_escape": true
40745 }
40746 ]
40747 }
40748 ]
40749 },
40750 {
40751 "tag": "body"
40752 }
40753 ]
40754 }
40755 ],
40756 "html": "<!DOCTYPE html><html><head><script><!--<s</script></head><body></body></html>",
40757 "noQuirksBodyHtml": "<script><!--<s</script>"
40758 }
40759 },
40760 {
40761 "data": "<!doctype html><script><!--<script",
40762 "errors": [
40763 "(1,34): expected-named-closing-tag-but-got-eof",
40764 "(1,34): unexpected-eof-in-text-mode"
40765 ],
40766 "document": {
40767 "props": {
40768 "tags": {
40769 "html": true,
40770 "head": true,
40771 "script": true,
40772 "body": true
40773 },
40774 "doctype": true,
40775 "no_escape": true
40776 },
40777 "tree": [
40778 {
40779 "doctype": "html"
40780 },
40781 {
40782 "tag": "html",
40783 "children": [
40784 {
40785 "tag": "head",
40786 "children": [
40787 {
40788 "tag": "script",
40789 "children": [
40790 {
40791 "text": "<!--<script",
40792 "no_escape": true
40793 }
40794 ]
40795 }
40796 ]
40797 },
40798 {
40799 "tag": "body"
40800 }
40801 ]
40802 }
40803 ],
40804 "html": "<!DOCTYPE html><html><head><script><!--<script</script></head><body></body></html>",
40805 "noQuirksBodyHtml": "<script><!--<script</script>"
40806 }
40807 },
40808 {
40809 "data": "<!doctype html><script><!--<script ",
40810 "errors": [
40811 "(1,35): eof-in-script-in-script",
40812 "(1,35): expected-named-closing-tag-but-got-eof"
40813 ],
40814 "document": {
40815 "props": {
40816 "tags": {
40817 "html": true,
40818 "head": true,
40819 "script": true,
40820 "body": true
40821 },
40822 "doctype": true,
40823 "no_escape": true
40824 },
40825 "tree": [
40826 {
40827 "doctype": "html"
40828 },
40829 {
40830 "tag": "html",
40831 "children": [
40832 {
40833 "tag": "head",
40834 "children": [
40835 {
40836 "tag": "script",
40837 "children": [
40838 {
40839 "text": "<!--<script ",
40840 "no_escape": true
40841 }
40842 ]
40843 }
40844 ]
40845 },
40846 {
40847 "tag": "body"
40848 }
40849 ]
40850 }
40851 ],
40852 "html": "<!DOCTYPE html><html><head><script><!--<script </script></head><body></body></html>",
40853 "noQuirksBodyHtml": "<script><!--<script </script>"
40854 }
40855 },
40856 {
40857 "data": "<!doctype html><script><!--<script <",
40858 "errors": [
40859 "(1,36): eof-in-script-in-script",
40860 "(1,36): expected-named-closing-tag-but-got-eof"
40861 ],
40862 "document": {
40863 "props": {
40864 "tags": {
40865 "html": true,
40866 "head": true,
40867 "script": true,
40868 "body": true
40869 },
40870 "doctype": true,
40871 "no_escape": true
40872 },
40873 "tree": [
40874 {
40875 "doctype": "html"
40876 },
40877 {
40878 "tag": "html",
40879 "children": [
40880 {
40881 "tag": "head",
40882 "children": [
40883 {
40884 "tag": "script",
40885 "children": [
40886 {
40887 "text": "<!--<script <",
40888 "no_escape": true
40889 }
40890 ]
40891 }
40892 ]
40893 },
40894 {
40895 "tag": "body"
40896 }
40897 ]
40898 }
40899 ],
40900 "html": "<!DOCTYPE html><html><head><script><!--<script <</script></head><body></body></html>",
40901 "noQuirksBodyHtml": "<script><!--<script <</script>"
40902 }
40903 },
40904 {
40905 "data": "<!doctype html><script><!--<script <a",
40906 "errors": [
40907 "(1,37): eof-in-script-in-script",
40908 "(1,37): expected-named-closing-tag-but-got-eof"
40909 ],
40910 "document": {
40911 "props": {
40912 "tags": {
40913 "html": true,
40914 "head": true,
40915 "script": true,
40916 "body": true
40917 },
40918 "doctype": true,
40919 "no_escape": true
40920 },
40921 "tree": [
40922 {
40923 "doctype": "html"
40924 },
40925 {
40926 "tag": "html",
40927 "children": [
40928 {
40929 "tag": "head",
40930 "children": [
40931 {
40932 "tag": "script",
40933 "children": [
40934 {
40935 "text": "<!--<script <a",
40936 "no_escape": true
40937 }
40938 ]
40939 }
40940 ]
40941 },
40942 {
40943 "tag": "body"
40944 }
40945 ]
40946 }
40947 ],
40948 "html": "<!DOCTYPE html><html><head><script><!--<script <a</script></head><body></body></html>",
40949 "noQuirksBodyHtml": "<script><!--<script <a</script>"
40950 }
40951 },
40952 {
40953 "data": "<!doctype html><script><!--<script </",
40954 "errors": [
40955 "(1,37): eof-in-script-in-script",
40956 "(1,37): expected-named-closing-tag-but-got-eof"
40957 ],
40958 "document": {
40959 "props": {
40960 "tags": {
40961 "html": true,
40962 "head": true,
40963 "script": true,
40964 "body": true
40965 },
40966 "doctype": true,
40967 "no_escape": true
40968 },
40969 "tree": [
40970 {
40971 "doctype": "html"
40972 },
40973 {
40974 "tag": "html",
40975 "children": [
40976 {
40977 "tag": "head",
40978 "children": [
40979 {
40980 "tag": "script",
40981 "children": [
40982 {
40983 "text": "<!--<script </",
40984 "no_escape": true
40985 }
40986 ]
40987 }
40988 ]
40989 },
40990 {
40991 "tag": "body"
40992 }
40993 ]
40994 }
40995 ],
40996 "html": "<!DOCTYPE html><html><head><script><!--<script </</script></head><body></body></html>",
40997 "noQuirksBodyHtml": "<script><!--<script </</script>"
40998 }
40999 },
41000 {
41001 "data": "<!doctype html><script><!--<script </s",
41002 "errors": [
41003 "(1,38): eof-in-script-in-script",
41004 "(1,38): expected-named-closing-tag-but-got-eof"
41005 ],
41006 "document": {
41007 "props": {
41008 "tags": {
41009 "html": true,
41010 "head": true,
41011 "script": true,
41012 "body": true
41013 },
41014 "doctype": true,
41015 "no_escape": true
41016 },
41017 "tree": [
41018 {
41019 "doctype": "html"
41020 },
41021 {
41022 "tag": "html",
41023 "children": [
41024 {
41025 "tag": "head",
41026 "children": [
41027 {
41028 "tag": "script",
41029 "children": [
41030 {
41031 "text": "<!--<script </s",
41032 "no_escape": true
41033 }
41034 ]
41035 }
41036 ]
41037 },
41038 {
41039 "tag": "body"
41040 }
41041 ]
41042 }
41043 ],
41044 "html": "<!DOCTYPE html><html><head><script><!--<script </s</script></head><body></body></html>",
41045 "noQuirksBodyHtml": "<script><!--<script </s</script>"
41046 }
41047 },
41048 {
41049 "data": "<!doctype html><script><!--<script </script",
41050 "errors": [
41051 "(1,43): eof-in-script-in-script",
41052 "(1,43): expected-named-closing-tag-but-got-eof"
41053 ],
41054 "document": {
41055 "props": {
41056 "tags": {
41057 "html": true,
41058 "head": true,
41059 "script": true,
41060 "body": true
41061 },
41062 "doctype": true,
41063 "no_escape": true
41064 },
41065 "tree": [
41066 {
41067 "doctype": "html"
41068 },
41069 {
41070 "tag": "html",
41071 "children": [
41072 {
41073 "tag": "head",
41074 "children": [
41075 {
41076 "tag": "script",
41077 "children": [
41078 {
41079 "text": "<!--<script </script",
41080 "no_escape": true
41081 }
41082 ]
41083 }
41084 ]
41085 },
41086 {
41087 "tag": "body"
41088 }
41089 ]
41090 }
41091 ],
41092 "html": "<!DOCTYPE html><html><head><script><!--<script </script</script></head><body></body></html>",
41093 "noQuirksBodyHtml": "<script><!--<script </script</script>"
41094 }
41095 },
41096 {
41097 "data": "<!doctype html><script><!--<script </scripta",
41098 "errors": [
41099 "(1,44): eof-in-script-in-script",
41100 "(1,44): expected-named-closing-tag-but-got-eof"
41101 ],
41102 "document": {
41103 "props": {
41104 "tags": {
41105 "html": true,
41106 "head": true,
41107 "script": true,
41108 "body": true
41109 },
41110 "doctype": true,
41111 "no_escape": true
41112 },
41113 "tree": [
41114 {
41115 "doctype": "html"
41116 },
41117 {
41118 "tag": "html",
41119 "children": [
41120 {
41121 "tag": "head",
41122 "children": [
41123 {
41124 "tag": "script",
41125 "children": [
41126 {
41127 "text": "<!--<script </scripta",
41128 "no_escape": true
41129 }
41130 ]
41131 }
41132 ]
41133 },
41134 {
41135 "tag": "body"
41136 }
41137 ]
41138 }
41139 ],
41140 "html": "<!DOCTYPE html><html><head><script><!--<script </scripta</script></head><body></body></html>",
41141 "noQuirksBodyHtml": "<script><!--<script </scripta</script>"
41142 }
41143 },
41144 {
41145 "data": "<!doctype html><script><!--<script </script ",
41146 "errors": [
41147 "(1,44): expected-named-closing-tag-but-got-eof",
41148 "(1,44): unexpected-eof-in-text-mode"
41149 ],
41150 "document": {
41151 "props": {
41152 "tags": {
41153 "html": true,
41154 "head": true,
41155 "script": true,
41156 "body": true
41157 },
41158 "doctype": true,
41159 "no_escape": true
41160 },
41161 "tree": [
41162 {
41163 "doctype": "html"
41164 },
41165 {
41166 "tag": "html",
41167 "children": [
41168 {
41169 "tag": "head",
41170 "children": [
41171 {
41172 "tag": "script",
41173 "children": [
41174 {
41175 "text": "<!--<script </script ",
41176 "no_escape": true
41177 }
41178 ]
41179 }
41180 ]
41181 },
41182 {
41183 "tag": "body"
41184 }
41185 ]
41186 }
41187 ],
41188 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
41189 "noQuirksBodyHtml": "<script><!--<script </script </script>"
41190 }
41191 },
41192 {
41193 "data": "<!doctype html><script><!--<script </script>",
41194 "errors": [
41195 "(1,44): expected-named-closing-tag-but-got-eof",
41196 "(1,44): unexpected-eof-in-text-mode"
41197 ],
41198 "document": {
41199 "props": {
41200 "tags": {
41201 "html": true,
41202 "head": true,
41203 "script": true,
41204 "body": true
41205 },
41206 "doctype": true,
41207 "no_escape": true
41208 },
41209 "tree": [
41210 {
41211 "doctype": "html"
41212 },
41213 {
41214 "tag": "html",
41215 "children": [
41216 {
41217 "tag": "head",
41218 "children": [
41219 {
41220 "tag": "script",
41221 "children": [
41222 {
41223 "text": "<!--<script </script>",
41224 "no_escape": true
41225 }
41226 ]
41227 }
41228 ]
41229 },
41230 {
41231 "tag": "body"
41232 }
41233 ]
41234 }
41235 ],
41236 "html": "<!DOCTYPE html><html><head><script><!--<script </script></script></head><body></body></html>",
41237 "noQuirksBodyHtml": "<script><!--<script </script></script>"
41238 }
41239 },
41240 {
41241 "data": "<!doctype html><script><!--<script </script/",
41242 "errors": [
41243 "(1,44): expected-named-closing-tag-but-got-eof",
41244 "(1,44): unexpected-eof-in-text-mode"
41245 ],
41246 "document": {
41247 "props": {
41248 "tags": {
41249 "html": true,
41250 "head": true,
41251 "script": true,
41252 "body": true
41253 },
41254 "doctype": true,
41255 "no_escape": true
41256 },
41257 "tree": [
41258 {
41259 "doctype": "html"
41260 },
41261 {
41262 "tag": "html",
41263 "children": [
41264 {
41265 "tag": "head",
41266 "children": [
41267 {
41268 "tag": "script",
41269 "children": [
41270 {
41271 "text": "<!--<script </script/",
41272 "no_escape": true
41273 }
41274 ]
41275 }
41276 ]
41277 },
41278 {
41279 "tag": "body"
41280 }
41281 ]
41282 }
41283 ],
41284 "html": "<!DOCTYPE html><html><head><script><!--<script </script/</script></head><body></body></html>",
41285 "noQuirksBodyHtml": "<script><!--<script </script/</script>"
41286 }
41287 },
41288 {
41289 "data": "<!doctype html><script><!--<script </script <",
41290 "errors": [
41291 "(1,45): expected-named-closing-tag-but-got-eof",
41292 "(1,45): unexpected-eof-in-text-mode"
41293 ],
41294 "document": {
41295 "props": {
41296 "tags": {
41297 "html": true,
41298 "head": true,
41299 "script": true,
41300 "body": true
41301 },
41302 "doctype": true,
41303 "no_escape": true
41304 },
41305 "tree": [
41306 {
41307 "doctype": "html"
41308 },
41309 {
41310 "tag": "html",
41311 "children": [
41312 {
41313 "tag": "head",
41314 "children": [
41315 {
41316 "tag": "script",
41317 "children": [
41318 {
41319 "text": "<!--<script </script <",
41320 "no_escape": true
41321 }
41322 ]
41323 }
41324 ]
41325 },
41326 {
41327 "tag": "body"
41328 }
41329 ]
41330 }
41331 ],
41332 "html": "<!DOCTYPE html><html><head><script><!--<script </script <</script></head><body></body></html>",
41333 "noQuirksBodyHtml": "<script><!--<script </script <</script>"
41334 }
41335 },
41336 {
41337 "data": "<!doctype html><script><!--<script </script <a",
41338 "errors": [
41339 "(1,46): expected-named-closing-tag-but-got-eof",
41340 "(1,46): unexpected-eof-in-text-mode"
41341 ],
41342 "document": {
41343 "props": {
41344 "tags": {
41345 "html": true,
41346 "head": true,
41347 "script": true,
41348 "body": true
41349 },
41350 "doctype": true,
41351 "no_escape": true
41352 },
41353 "tree": [
41354 {
41355 "doctype": "html"
41356 },
41357 {
41358 "tag": "html",
41359 "children": [
41360 {
41361 "tag": "head",
41362 "children": [
41363 {
41364 "tag": "script",
41365 "children": [
41366 {
41367 "text": "<!--<script </script <a",
41368 "no_escape": true
41369 }
41370 ]
41371 }
41372 ]
41373 },
41374 {
41375 "tag": "body"
41376 }
41377 ]
41378 }
41379 ],
41380 "html": "<!DOCTYPE html><html><head><script><!--<script </script <a</script></head><body></body></html>",
41381 "noQuirksBodyHtml": "<script><!--<script </script <a</script>"
41382 }
41383 },
41384 {
41385 "data": "<!doctype html><script><!--<script </script </",
41386 "errors": [
41387 "(1,46): expected-named-closing-tag-but-got-eof",
41388 "(1,46): unexpected-eof-in-text-mode"
41389 ],
41390 "document": {
41391 "props": {
41392 "tags": {
41393 "html": true,
41394 "head": true,
41395 "script": true,
41396 "body": true
41397 },
41398 "doctype": true,
41399 "no_escape": true
41400 },
41401 "tree": [
41402 {
41403 "doctype": "html"
41404 },
41405 {
41406 "tag": "html",
41407 "children": [
41408 {
41409 "tag": "head",
41410 "children": [
41411 {
41412 "tag": "script",
41413 "children": [
41414 {
41415 "text": "<!--<script </script </",
41416 "no_escape": true
41417 }
41418 ]
41419 }
41420 ]
41421 },
41422 {
41423 "tag": "body"
41424 }
41425 ]
41426 }
41427 ],
41428 "html": "<!DOCTYPE html><html><head><script><!--<script </script </</script></head><body></body></html>",
41429 "noQuirksBodyHtml": "<script><!--<script </script </</script>"
41430 }
41431 },
41432 {
41433 "data": "<!doctype html><script><!--<script </script </script",
41434 "errors": [
41435 "(1,52): expected-named-closing-tag-but-got-eof",
41436 "(1,52): unexpected-eof-in-text-mode"
41437 ],
41438 "document": {
41439 "props": {
41440 "tags": {
41441 "html": true,
41442 "head": true,
41443 "script": true,
41444 "body": true
41445 },
41446 "doctype": true,
41447 "no_escape": true
41448 },
41449 "tree": [
41450 {
41451 "doctype": "html"
41452 },
41453 {
41454 "tag": "html",
41455 "children": [
41456 {
41457 "tag": "head",
41458 "children": [
41459 {
41460 "tag": "script",
41461 "children": [
41462 {
41463 "text": "<!--<script </script </script",
41464 "no_escape": true
41465 }
41466 ]
41467 }
41468 ]
41469 },
41470 {
41471 "tag": "body"
41472 }
41473 ]
41474 }
41475 ],
41476 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script</script></head><body></body></html>",
41477 "noQuirksBodyHtml": "<script><!--<script </script </script</script>"
41478 }
41479 },
41480 {
41481 "data": "<!doctype html><script><!--<script </script </script ",
41482 "errors": [
41483 "(1,53): expected-attribute-name-but-got-eof",
41484 "(1,53): expected-named-closing-tag-but-got-eof"
41485 ],
41486 "document": {
41487 "props": {
41488 "tags": {
41489 "html": true,
41490 "head": true,
41491 "script": true,
41492 "body": true
41493 },
41494 "doctype": true,
41495 "no_escape": true
41496 },
41497 "tree": [
41498 {
41499 "doctype": "html"
41500 },
41501 {
41502 "tag": "html",
41503 "children": [
41504 {
41505 "tag": "head",
41506 "children": [
41507 {
41508 "tag": "script",
41509 "children": [
41510 {
41511 "text": "<!--<script </script ",
41512 "no_escape": true
41513 }
41514 ]
41515 }
41516 ]
41517 },
41518 {
41519 "tag": "body"
41520 }
41521 ]
41522 }
41523 ],
41524 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
41525 "noQuirksBodyHtml": "<script><!--<script </script </script>"
41526 }
41527 },
41528 {
41529 "data": "<!doctype html><script><!--<script </script </script/",
41530 "errors": [
41531 "(1,53): unexpected-EOF-after-solidus-in-tag",
41532 "(1,53): expected-named-closing-tag-but-got-eof"
41533 ],
41534 "document": {
41535 "props": {
41536 "tags": {
41537 "html": true,
41538 "head": true,
41539 "script": true,
41540 "body": true
41541 },
41542 "doctype": true,
41543 "no_escape": true
41544 },
41545 "tree": [
41546 {
41547 "doctype": "html"
41548 },
41549 {
41550 "tag": "html",
41551 "children": [
41552 {
41553 "tag": "head",
41554 "children": [
41555 {
41556 "tag": "script",
41557 "children": [
41558 {
41559 "text": "<!--<script </script ",
41560 "no_escape": true
41561 }
41562 ]
41563 }
41564 ]
41565 },
41566 {
41567 "tag": "body"
41568 }
41569 ]
41570 }
41571 ],
41572 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
41573 "noQuirksBodyHtml": "<script><!--<script </script </script>"
41574 }
41575 },
41576 {
41577 "data": "<!doctype html><script><!--<script </script </script>",
41578 "errors": [],
41579 "document": {
41580 "props": {
41581 "tags": {
41582 "html": true,
41583 "head": true,
41584 "script": true,
41585 "body": true
41586 },
41587 "doctype": true,
41588 "no_escape": true
41589 },
41590 "tree": [
41591 {
41592 "doctype": "html"
41593 },
41594 {
41595 "tag": "html",
41596 "children": [
41597 {
41598 "tag": "head",
41599 "children": [
41600 {
41601 "tag": "script",
41602 "children": [
41603 {
41604 "text": "<!--<script </script ",
41605 "no_escape": true
41606 }
41607 ]
41608 }
41609 ]
41610 },
41611 {
41612 "tag": "body"
41613 }
41614 ]
41615 }
41616 ],
41617 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
41618 "noQuirksBodyHtml": "<script><!--<script </script </script>"
41619 }
41620 },
41621 {
41622 "data": "<!doctype html><script><!--<script -",
41623 "errors": [
41624 "(1,36): eof-in-script-in-script",
41625 "(1,36): expected-named-closing-tag-but-got-eof"
41626 ],
41627 "document": {
41628 "props": {
41629 "tags": {
41630 "html": true,
41631 "head": true,
41632 "script": true,
41633 "body": true
41634 },
41635 "doctype": true,
41636 "no_escape": true
41637 },
41638 "tree": [
41639 {
41640 "doctype": "html"
41641 },
41642 {
41643 "tag": "html",
41644 "children": [
41645 {
41646 "tag": "head",
41647 "children": [
41648 {
41649 "tag": "script",
41650 "children": [
41651 {
41652 "text": "<!--<script -",
41653 "no_escape": true
41654 }
41655 ]
41656 }
41657 ]
41658 },
41659 {
41660 "tag": "body"
41661 }
41662 ]
41663 }
41664 ],
41665 "html": "<!DOCTYPE html><html><head><script><!--<script -</script></head><body></body></html>",
41666 "noQuirksBodyHtml": "<script><!--<script -</script>"
41667 }
41668 },
41669 {
41670 "data": "<!doctype html><script><!--<script -a",
41671 "errors": [
41672 "(1,37): eof-in-script-in-script",
41673 "(1,37): expected-named-closing-tag-but-got-eof"
41674 ],
41675 "document": {
41676 "props": {
41677 "tags": {
41678 "html": true,
41679 "head": true,
41680 "script": true,
41681 "body": true
41682 },
41683 "doctype": true,
41684 "no_escape": true
41685 },
41686 "tree": [
41687 {
41688 "doctype": "html"
41689 },
41690 {
41691 "tag": "html",
41692 "children": [
41693 {
41694 "tag": "head",
41695 "children": [
41696 {
41697 "tag": "script",
41698 "children": [
41699 {
41700 "text": "<!--<script -a",
41701 "no_escape": true
41702 }
41703 ]
41704 }
41705 ]
41706 },
41707 {
41708 "tag": "body"
41709 }
41710 ]
41711 }
41712 ],
41713 "html": "<!DOCTYPE html><html><head><script><!--<script -a</script></head><body></body></html>",
41714 "noQuirksBodyHtml": "<script><!--<script -a</script>"
41715 }
41716 },
41717 {
41718 "data": "<!doctype html><script><!--<script -<",
41719 "errors": [
41720 "(1,37): eof-in-script-in-script",
41721 "(1,37): expected-named-closing-tag-but-got-eof"
41722 ],
41723 "document": {
41724 "props": {
41725 "tags": {
41726 "html": true,
41727 "head": true,
41728 "script": true,
41729 "body": true
41730 },
41731 "doctype": true,
41732 "no_escape": true
41733 },
41734 "tree": [
41735 {
41736 "doctype": "html"
41737 },
41738 {
41739 "tag": "html",
41740 "children": [
41741 {
41742 "tag": "head",
41743 "children": [
41744 {
41745 "tag": "script",
41746 "children": [
41747 {
41748 "text": "<!--<script -<",
41749 "no_escape": true
41750 }
41751 ]
41752 }
41753 ]
41754 },
41755 {
41756 "tag": "body"
41757 }
41758 ]
41759 }
41760 ],
41761 "html": "<!DOCTYPE html><html><head><script><!--<script -<</script></head><body></body></html>",
41762 "noQuirksBodyHtml": "<script><!--<script -<</script>"
41763 }
41764 },
41765 {
41766 "data": "<!doctype html><script><!--<script --",
41767 "errors": [
41768 "(1,37): eof-in-script-in-script",
41769 "(1,37): expected-named-closing-tag-but-got-eof"
41770 ],
41771 "document": {
41772 "props": {
41773 "tags": {
41774 "html": true,
41775 "head": true,
41776 "script": true,
41777 "body": true
41778 },
41779 "doctype": true,
41780 "no_escape": true
41781 },
41782 "tree": [
41783 {
41784 "doctype": "html"
41785 },
41786 {
41787 "tag": "html",
41788 "children": [
41789 {
41790 "tag": "head",
41791 "children": [
41792 {
41793 "tag": "script",
41794 "children": [
41795 {
41796 "text": "<!--<script --",
41797 "no_escape": true
41798 }
41799 ]
41800 }
41801 ]
41802 },
41803 {
41804 "tag": "body"
41805 }
41806 ]
41807 }
41808 ],
41809 "html": "<!DOCTYPE html><html><head><script><!--<script --</script></head><body></body></html>",
41810 "noQuirksBodyHtml": "<script><!--<script --</script>"
41811 }
41812 },
41813 {
41814 "data": "<!doctype html><script><!--<script --a",
41815 "errors": [
41816 "(1,38): eof-in-script-in-script",
41817 "(1,38): expected-named-closing-tag-but-got-eof"
41818 ],
41819 "document": {
41820 "props": {
41821 "tags": {
41822 "html": true,
41823 "head": true,
41824 "script": true,
41825 "body": true
41826 },
41827 "doctype": true,
41828 "no_escape": true
41829 },
41830 "tree": [
41831 {
41832 "doctype": "html"
41833 },
41834 {
41835 "tag": "html",
41836 "children": [
41837 {
41838 "tag": "head",
41839 "children": [
41840 {
41841 "tag": "script",
41842 "children": [
41843 {
41844 "text": "<!--<script --a",
41845 "no_escape": true
41846 }
41847 ]
41848 }
41849 ]
41850 },
41851 {
41852 "tag": "body"
41853 }
41854 ]
41855 }
41856 ],
41857 "html": "<!DOCTYPE html><html><head><script><!--<script --a</script></head><body></body></html>",
41858 "noQuirksBodyHtml": "<script><!--<script --a</script>"
41859 }
41860 },
41861 {
41862 "data": "<!doctype html><script><!--<script --<",
41863 "errors": [
41864 "(1,38): eof-in-script-in-script",
41865 "(1,38): expected-named-closing-tag-but-got-eof"
41866 ],
41867 "document": {
41868 "props": {
41869 "tags": {
41870 "html": true,
41871 "head": true,
41872 "script": true,
41873 "body": true
41874 },
41875 "doctype": true,
41876 "no_escape": true
41877 },
41878 "tree": [
41879 {
41880 "doctype": "html"
41881 },
41882 {
41883 "tag": "html",
41884 "children": [
41885 {
41886 "tag": "head",
41887 "children": [
41888 {
41889 "tag": "script",
41890 "children": [
41891 {
41892 "text": "<!--<script --<",
41893 "no_escape": true
41894 }
41895 ]
41896 }
41897 ]
41898 },
41899 {
41900 "tag": "body"
41901 }
41902 ]
41903 }
41904 ],
41905 "html": "<!DOCTYPE html><html><head><script><!--<script --<</script></head><body></body></html>",
41906 "noQuirksBodyHtml": "<script><!--<script --<</script>"
41907 }
41908 },
41909 {
41910 "data": "<!doctype html><script><!--<script -->",
41911 "errors": [
41912 "(1,38): expected-named-closing-tag-but-got-eof"
41913 ],
41914 "document": {
41915 "props": {
41916 "tags": {
41917 "html": true,
41918 "head": true,
41919 "script": true,
41920 "body": true
41921 },
41922 "doctype": true,
41923 "no_escape": true
41924 },
41925 "tree": [
41926 {
41927 "doctype": "html"
41928 },
41929 {
41930 "tag": "html",
41931 "children": [
41932 {
41933 "tag": "head",
41934 "children": [
41935 {
41936 "tag": "script",
41937 "children": [
41938 {
41939 "text": "<!--<script -->",
41940 "no_escape": true
41941 }
41942 ]
41943 }
41944 ]
41945 },
41946 {
41947 "tag": "body"
41948 }
41949 ]
41950 }
41951 ],
41952 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
41953 "noQuirksBodyHtml": "<script><!--<script --></script>"
41954 }
41955 },
41956 {
41957 "data": "<!doctype html><script><!--<script --><",
41958 "errors": [
41959 "(1,39): expected-named-closing-tag-but-got-eof"
41960 ],
41961 "document": {
41962 "props": {
41963 "tags": {
41964 "html": true,
41965 "head": true,
41966 "script": true,
41967 "body": true
41968 },
41969 "doctype": true,
41970 "no_escape": true
41971 },
41972 "tree": [
41973 {
41974 "doctype": "html"
41975 },
41976 {
41977 "tag": "html",
41978 "children": [
41979 {
41980 "tag": "head",
41981 "children": [
41982 {
41983 "tag": "script",
41984 "children": [
41985 {
41986 "text": "<!--<script --><",
41987 "no_escape": true
41988 }
41989 ]
41990 }
41991 ]
41992 },
41993 {
41994 "tag": "body"
41995 }
41996 ]
41997 }
41998 ],
41999 "html": "<!DOCTYPE html><html><head><script><!--<script --><</script></head><body></body></html>",
42000 "noQuirksBodyHtml": "<script><!--<script --><</script>"
42001 }
42002 },
42003 {
42004 "data": "<!doctype html><script><!--<script --></",
42005 "errors": [
42006 "(1,40): expected-named-closing-tag-but-got-eof"
42007 ],
42008 "document": {
42009 "props": {
42010 "tags": {
42011 "html": true,
42012 "head": true,
42013 "script": true,
42014 "body": true
42015 },
42016 "doctype": true,
42017 "no_escape": true
42018 },
42019 "tree": [
42020 {
42021 "doctype": "html"
42022 },
42023 {
42024 "tag": "html",
42025 "children": [
42026 {
42027 "tag": "head",
42028 "children": [
42029 {
42030 "tag": "script",
42031 "children": [
42032 {
42033 "text": "<!--<script --></",
42034 "no_escape": true
42035 }
42036 ]
42037 }
42038 ]
42039 },
42040 {
42041 "tag": "body"
42042 }
42043 ]
42044 }
42045 ],
42046 "html": "<!DOCTYPE html><html><head><script><!--<script --></</script></head><body></body></html>",
42047 "noQuirksBodyHtml": "<script><!--<script --></</script>"
42048 }
42049 },
42050 {
42051 "data": "<!doctype html><script><!--<script --></script",
42052 "errors": [
42053 "(1,46): expected-named-closing-tag-but-got-eof"
42054 ],
42055 "document": {
42056 "props": {
42057 "tags": {
42058 "html": true,
42059 "head": true,
42060 "script": true,
42061 "body": true
42062 },
42063 "doctype": true,
42064 "no_escape": true
42065 },
42066 "tree": [
42067 {
42068 "doctype": "html"
42069 },
42070 {
42071 "tag": "html",
42072 "children": [
42073 {
42074 "tag": "head",
42075 "children": [
42076 {
42077 "tag": "script",
42078 "children": [
42079 {
42080 "text": "<!--<script --></script",
42081 "no_escape": true
42082 }
42083 ]
42084 }
42085 ]
42086 },
42087 {
42088 "tag": "body"
42089 }
42090 ]
42091 }
42092 ],
42093 "html": "<!DOCTYPE html><html><head><script><!--<script --></script</script></head><body></body></html>",
42094 "noQuirksBodyHtml": "<script><!--<script --></script</script>"
42095 }
42096 },
42097 {
42098 "data": "<!doctype html><script><!--<script --></script ",
42099 "errors": [
42100 "(1,47): expected-attribute-name-but-got-eof",
42101 "(1,47): expected-named-closing-tag-but-got-eof"
42102 ],
42103 "document": {
42104 "props": {
42105 "tags": {
42106 "html": true,
42107 "head": true,
42108 "script": true,
42109 "body": true
42110 },
42111 "doctype": true,
42112 "no_escape": true
42113 },
42114 "tree": [
42115 {
42116 "doctype": "html"
42117 },
42118 {
42119 "tag": "html",
42120 "children": [
42121 {
42122 "tag": "head",
42123 "children": [
42124 {
42125 "tag": "script",
42126 "children": [
42127 {
42128 "text": "<!--<script -->",
42129 "no_escape": true
42130 }
42131 ]
42132 }
42133 ]
42134 },
42135 {
42136 "tag": "body"
42137 }
42138 ]
42139 }
42140 ],
42141 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
42142 "noQuirksBodyHtml": "<script><!--<script --></script>"
42143 }
42144 },
42145 {
42146 "data": "<!doctype html><script><!--<script --></script/",
42147 "errors": [
42148 "(1,47): unexpected-EOF-after-solidus-in-tag",
42149 "(1,47): expected-named-closing-tag-but-got-eof"
42150 ],
42151 "document": {
42152 "props": {
42153 "tags": {
42154 "html": true,
42155 "head": true,
42156 "script": true,
42157 "body": true
42158 },
42159 "doctype": true,
42160 "no_escape": true
42161 },
42162 "tree": [
42163 {
42164 "doctype": "html"
42165 },
42166 {
42167 "tag": "html",
42168 "children": [
42169 {
42170 "tag": "head",
42171 "children": [
42172 {
42173 "tag": "script",
42174 "children": [
42175 {
42176 "text": "<!--<script -->",
42177 "no_escape": true
42178 }
42179 ]
42180 }
42181 ]
42182 },
42183 {
42184 "tag": "body"
42185 }
42186 ]
42187 }
42188 ],
42189 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
42190 "noQuirksBodyHtml": "<script><!--<script --></script>"
42191 }
42192 },
42193 {
42194 "data": "<!doctype html><script><!--<script --></script>",
42195 "errors": [],
42196 "document": {
42197 "props": {
42198 "tags": {
42199 "html": true,
42200 "head": true,
42201 "script": true,
42202 "body": true
42203 },
42204 "doctype": true,
42205 "no_escape": true
42206 },
42207 "tree": [
42208 {
42209 "doctype": "html"
42210 },
42211 {
42212 "tag": "html",
42213 "children": [
42214 {
42215 "tag": "head",
42216 "children": [
42217 {
42218 "tag": "script",
42219 "children": [
42220 {
42221 "text": "<!--<script -->",
42222 "no_escape": true
42223 }
42224 ]
42225 }
42226 ]
42227 },
42228 {
42229 "tag": "body"
42230 }
42231 ]
42232 }
42233 ],
42234 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
42235 "noQuirksBodyHtml": "<script><!--<script --></script>"
42236 }
42237 },
42238 {
42239 "data": "<!doctype html><script><!--<script><\\/script>--></script>",
42240 "errors": [],
42241 "document": {
42242 "props": {
42243 "tags": {
42244 "html": true,
42245 "head": true,
42246 "script": true,
42247 "body": true
42248 },
42249 "doctype": true,
42250 "no_escape": true
42251 },
42252 "tree": [
42253 {
42254 "doctype": "html"
42255 },
42256 {
42257 "tag": "html",
42258 "children": [
42259 {
42260 "tag": "head",
42261 "children": [
42262 {
42263 "tag": "script",
42264 "children": [
42265 {
42266 "text": "<!--<script><\\/script>-->",
42267 "no_escape": true
42268 }
42269 ]
42270 }
42271 ]
42272 },
42273 {
42274 "tag": "body"
42275 }
42276 ]
42277 }
42278 ],
42279 "html": "<!DOCTYPE html><html><head><script><!--<script><\\/script>--></script></head><body></body></html>",
42280 "noQuirksBodyHtml": "<script><!--<script><\\/script>--></script>"
42281 }
42282 },
42283 {
42284 "data": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
42285 "errors": [],
42286 "document": {
42287 "props": {
42288 "tags": {
42289 "html": true,
42290 "head": true,
42291 "script": true,
42292 "body": true
42293 },
42294 "doctype": true,
42295 "no_escape": true
42296 },
42297 "tree": [
42298 {
42299 "doctype": "html"
42300 },
42301 {
42302 "tag": "html",
42303 "children": [
42304 {
42305 "tag": "head",
42306 "children": [
42307 {
42308 "tag": "script",
42309 "children": [
42310 {
42311 "text": "<!--<script></scr'+'ipt>-->",
42312 "no_escape": true
42313 }
42314 ]
42315 }
42316 ]
42317 },
42318 {
42319 "tag": "body"
42320 }
42321 ]
42322 }
42323 ],
42324 "html": "<!DOCTYPE html><html><head><script><!--<script></scr'+'ipt>--></script></head><body></body></html>",
42325 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt>--></script>"
42326 }
42327 },
42328 {
42329 "data": "<!doctype html><script><!--<script></script><script></script></script>",
42330 "errors": [],
42331 "document": {
42332 "props": {
42333 "tags": {
42334 "html": true,
42335 "head": true,
42336 "script": true,
42337 "body": true
42338 },
42339 "doctype": true,
42340 "no_escape": true
42341 },
42342 "tree": [
42343 {
42344 "doctype": "html"
42345 },
42346 {
42347 "tag": "html",
42348 "children": [
42349 {
42350 "tag": "head",
42351 "children": [
42352 {
42353 "tag": "script",
42354 "children": [
42355 {
42356 "text": "<!--<script></script><script></script>",
42357 "no_escape": true
42358 }
42359 ]
42360 }
42361 ]
42362 },
42363 {
42364 "tag": "body"
42365 }
42366 ]
42367 }
42368 ],
42369 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script></script></head><body></body></html>",
42370 "noQuirksBodyHtml": "<script><!--<script></script><script></script></script>"
42371 }
42372 },
42373 {
42374 "data": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
42375 "errors": [],
42376 "document": {
42377 "props": {
42378 "tags": {
42379 "html": true,
42380 "head": true,
42381 "script": true,
42382 "body": true
42383 },
42384 "doctype": true,
42385 "no_escape": true
42386 },
42387 "tree": [
42388 {
42389 "doctype": "html"
42390 },
42391 {
42392 "tag": "html",
42393 "children": [
42394 {
42395 "tag": "head",
42396 "children": [
42397 {
42398 "tag": "script",
42399 "children": [
42400 {
42401 "text": "<!--<script></script><script></script>--><!--",
42402 "no_escape": true
42403 }
42404 ]
42405 }
42406 ]
42407 },
42408 {
42409 "tag": "body"
42410 }
42411 ]
42412 }
42413 ],
42414 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>--><!--</script></head><body></body></html>",
42415 "noQuirksBodyHtml": "<script><!--<script></script><script></script>--><!--</script>"
42416 }
42417 },
42418 {
42419 "data": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
42420 "errors": [],
42421 "document": {
42422 "props": {
42423 "tags": {
42424 "html": true,
42425 "head": true,
42426 "script": true,
42427 "body": true
42428 },
42429 "doctype": true,
42430 "no_escape": true
42431 },
42432 "tree": [
42433 {
42434 "doctype": "html"
42435 },
42436 {
42437 "tag": "html",
42438 "children": [
42439 {
42440 "tag": "head",
42441 "children": [
42442 {
42443 "tag": "script",
42444 "children": [
42445 {
42446 "text": "<!--<script></script><script></script>-- >",
42447 "no_escape": true
42448 }
42449 ]
42450 }
42451 ]
42452 },
42453 {
42454 "tag": "body"
42455 }
42456 ]
42457 }
42458 ],
42459 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>-- ></script></head><body></body></html>",
42460 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-- ></script>"
42461 }
42462 },
42463 {
42464 "data": "<!doctype html><script><!--<script></script><script></script>- -></script>",
42465 "errors": [],
42466 "document": {
42467 "props": {
42468 "tags": {
42469 "html": true,
42470 "head": true,
42471 "script": true,
42472 "body": true
42473 },
42474 "doctype": true,
42475 "no_escape": true
42476 },
42477 "tree": [
42478 {
42479 "doctype": "html"
42480 },
42481 {
42482 "tag": "html",
42483 "children": [
42484 {
42485 "tag": "head",
42486 "children": [
42487 {
42488 "tag": "script",
42489 "children": [
42490 {
42491 "text": "<!--<script></script><script></script>- ->",
42492 "no_escape": true
42493 }
42494 ]
42495 }
42496 ]
42497 },
42498 {
42499 "tag": "body"
42500 }
42501 ]
42502 }
42503 ],
42504 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>- -></script></head><body></body></html>",
42505 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- -></script>"
42506 }
42507 },
42508 {
42509 "data": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
42510 "errors": [],
42511 "document": {
42512 "props": {
42513 "tags": {
42514 "html": true,
42515 "head": true,
42516 "script": true,
42517 "body": true
42518 },
42519 "doctype": true,
42520 "no_escape": true
42521 },
42522 "tree": [
42523 {
42524 "doctype": "html"
42525 },
42526 {
42527 "tag": "html",
42528 "children": [
42529 {
42530 "tag": "head",
42531 "children": [
42532 {
42533 "tag": "script",
42534 "children": [
42535 {
42536 "text": "<!--<script></script><script></script>- - >",
42537 "no_escape": true
42538 }
42539 ]
42540 }
42541 ]
42542 },
42543 {
42544 "tag": "body"
42545 }
42546 ]
42547 }
42548 ],
42549 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>- - ></script></head><body></body></html>",
42550 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- - ></script>"
42551 }
42552 },
42553 {
42554 "data": "<!doctype html><script><!--<script></script><script></script>-></script>",
42555 "errors": [],
42556 "document": {
42557 "props": {
42558 "tags": {
42559 "html": true,
42560 "head": true,
42561 "script": true,
42562 "body": true
42563 },
42564 "doctype": true,
42565 "no_escape": true
42566 },
42567 "tree": [
42568 {
42569 "doctype": "html"
42570 },
42571 {
42572 "tag": "html",
42573 "children": [
42574 {
42575 "tag": "head",
42576 "children": [
42577 {
42578 "tag": "script",
42579 "children": [
42580 {
42581 "text": "<!--<script></script><script></script>->",
42582 "no_escape": true
42583 }
42584 ]
42585 }
42586 ]
42587 },
42588 {
42589 "tag": "body"
42590 }
42591 ]
42592 }
42593 ],
42594 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>-></script></head><body></body></html>",
42595 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-></script>"
42596 }
42597 },
42598 {
42599 "data": "<!doctype html><script><!--<script>--!></script>X",
42600 "errors": [
42601 "(1,49): expected-named-closing-tag-but-got-eof",
42602 "(1,49): unexpected-EOF-in-text-mode"
42603 ],
42604 "document": {
42605 "props": {
42606 "tags": {
42607 "html": true,
42608 "head": true,
42609 "script": true,
42610 "body": true
42611 },
42612 "doctype": true,
42613 "no_escape": true
42614 },
42615 "tree": [
42616 {
42617 "doctype": "html"
42618 },
42619 {
42620 "tag": "html",
42621 "children": [
42622 {
42623 "tag": "head",
42624 "children": [
42625 {
42626 "tag": "script",
42627 "children": [
42628 {
42629 "text": "<!--<script>--!></script>X",
42630 "no_escape": true
42631 }
42632 ]
42633 }
42634 ]
42635 },
42636 {
42637 "tag": "body"
42638 }
42639 ]
42640 }
42641 ],
42642 "html": "<!DOCTYPE html><html><head><script><!--<script>--!></script>X</script></head><body></body></html>",
42643 "noQuirksBodyHtml": "<script><!--<script>--!></script>X</script>"
42644 }
42645 },
42646 {
42647 "data": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
42648 "errors": [
42649 "(1,59): unexpected-end-tag"
42650 ],
42651 "document": {
42652 "props": {
42653 "tags": {
42654 "html": true,
42655 "head": true,
42656 "script": true,
42657 "body": true
42658 },
42659 "doctype": true,
42660 "no_escape": true,
42661 "escaped": true
42662 },
42663 "tree": [
42664 {
42665 "doctype": "html"
42666 },
42667 {
42668 "tag": "html",
42669 "children": [
42670 {
42671 "tag": "head",
42672 "children": [
42673 {
42674 "tag": "script",
42675 "children": [
42676 {
42677 "text": "<!--<scr'+'ipt>",
42678 "no_escape": true
42679 }
42680 ]
42681 }
42682 ]
42683 },
42684 {
42685 "tag": "body",
42686 "children": [
42687 {
42688 "text": "-->",
42689 "escaped": true
42690 }
42691 ]
42692 }
42693 ]
42694 }
42695 ],
42696 "html": "<!DOCTYPE html><html><head><script><!--<scr'+'ipt></script></head><body>--&gt;</body></html>",
42697 "noQuirksBodyHtml": "<script><!--<scr'+'ipt></script>--&gt;"
42698 }
42699 },
42700 {
42701 "data": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
42702 "errors": [
42703 "(1,57): expected-named-closing-tag-but-got-eof",
42704 "(1,57): unexpected-eof-in-text-mode"
42705 ],
42706 "document": {
42707 "props": {
42708 "tags": {
42709 "html": true,
42710 "head": true,
42711 "script": true,
42712 "body": true
42713 },
42714 "doctype": true,
42715 "no_escape": true
42716 },
42717 "tree": [
42718 {
42719 "doctype": "html"
42720 },
42721 {
42722 "tag": "html",
42723 "children": [
42724 {
42725 "tag": "head",
42726 "children": [
42727 {
42728 "tag": "script",
42729 "children": [
42730 {
42731 "text": "<!--<script></scr'+'ipt></script>X",
42732 "no_escape": true
42733 }
42734 ]
42735 }
42736 ]
42737 },
42738 {
42739 "tag": "body"
42740 }
42741 ]
42742 }
42743 ],
42744 "html": "<!DOCTYPE html><html><head><script><!--<script></scr'+'ipt></script>X</script></head><body></body></html>",
42745 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt></script>X</script>"
42746 }
42747 },
42748 {
42749 "data": "<!doctype html><style><!--<style></style>--></style>",
42750 "errors": [
42751 "(1,52): unexpected-end-tag"
42752 ],
42753 "document": {
42754 "props": {
42755 "tags": {
42756 "html": true,
42757 "head": true,
42758 "style": true,
42759 "body": true
42760 },
42761 "doctype": true,
42762 "no_escape": true,
42763 "escaped": true
42764 },
42765 "tree": [
42766 {
42767 "doctype": "html"
42768 },
42769 {
42770 "tag": "html",
42771 "children": [
42772 {
42773 "tag": "head",
42774 "children": [
42775 {
42776 "tag": "style",
42777 "children": [
42778 {
42779 "text": "<!--<style>",
42780 "no_escape": true
42781 }
42782 ]
42783 }
42784 ]
42785 },
42786 {
42787 "tag": "body",
42788 "children": [
42789 {
42790 "text": "-->",
42791 "escaped": true
42792 }
42793 ]
42794 }
42795 ]
42796 }
42797 ],
42798 "html": "<!DOCTYPE html><html><head><style><!--<style></style></head><body>--&gt;</body></html>",
42799 "noQuirksBodyHtml": "<style><!--<style></style>--&gt;"
42800 }
42801 },
42802 {
42803 "data": "<!doctype html><style><!--</style>X",
42804 "errors": [],
42805 "document": {
42806 "props": {
42807 "tags": {
42808 "html": true,
42809 "head": true,
42810 "style": true,
42811 "body": true
42812 },
42813 "doctype": true,
42814 "no_escape": true
42815 },
42816 "tree": [
42817 {
42818 "doctype": "html"
42819 },
42820 {
42821 "tag": "html",
42822 "children": [
42823 {
42824 "tag": "head",
42825 "children": [
42826 {
42827 "tag": "style",
42828 "children": [
42829 {
42830 "text": "<!--",
42831 "no_escape": true
42832 }
42833 ]
42834 }
42835 ]
42836 },
42837 {
42838 "tag": "body",
42839 "children": [
42840 {
42841 "text": "X"
42842 }
42843 ]
42844 }
42845 ]
42846 }
42847 ],
42848 "html": "<!DOCTYPE html><html><head><style><!--</style></head><body>X</body></html>",
42849 "noQuirksBodyHtml": "<style><!--</style>X"
42850 }
42851 },
42852 {
42853 "data": "<!doctype html><style><!--...</style>...--></style>",
42854 "errors": [
42855 "(1,51): unexpected-end-tag"
42856 ],
42857 "document": {
42858 "props": {
42859 "tags": {
42860 "html": true,
42861 "head": true,
42862 "style": true,
42863 "body": true
42864 },
42865 "doctype": true,
42866 "no_escape": true,
42867 "escaped": true
42868 },
42869 "tree": [
42870 {
42871 "doctype": "html"
42872 },
42873 {
42874 "tag": "html",
42875 "children": [
42876 {
42877 "tag": "head",
42878 "children": [
42879 {
42880 "tag": "style",
42881 "children": [
42882 {
42883 "text": "<!--...",
42884 "no_escape": true
42885 }
42886 ]
42887 }
42888 ]
42889 },
42890 {
42891 "tag": "body",
42892 "children": [
42893 {
42894 "text": "...-->",
42895 "escaped": true
42896 }
42897 ]
42898 }
42899 ]
42900 }
42901 ],
42902 "html": "<!DOCTYPE html><html><head><style><!--...</style></head><body>...--&gt;</body></html>",
42903 "noQuirksBodyHtml": "<style><!--...</style>...--&gt;"
42904 }
42905 },
42906 {
42907 "data": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
42908 "errors": [],
42909 "document": {
42910 "props": {
42911 "tags": {
42912 "html": true,
42913 "head": true,
42914 "style": true,
42915 "body": true
42916 },
42917 "doctype": true,
42918 "no_escape": true
42919 },
42920 "tree": [
42921 {
42922 "doctype": "html"
42923 },
42924 {
42925 "tag": "html",
42926 "children": [
42927 {
42928 "tag": "head",
42929 "children": [
42930 {
42931 "tag": "style",
42932 "children": [
42933 {
42934 "text": "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>",
42935 "no_escape": true
42936 }
42937 ]
42938 }
42939 ]
42940 },
42941 {
42942 "tag": "body",
42943 "children": [
42944 {
42945 "text": "X"
42946 }
42947 ]
42948 }
42949 ]
42950 }
42951 ],
42952 "html": "<!DOCTYPE html><html><head><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style></head><body>X</body></html>",
42953 "noQuirksBodyHtml": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X"
42954 }
42955 },
42956 {
42957 "data": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
42958 "errors": [
42959 "(1,66): unexpected-end-tag"
42960 ],
42961 "document": {
42962 "props": {
42963 "tags": {
42964 "html": true,
42965 "head": true,
42966 "style": true,
42967 "body": true
42968 },
42969 "doctype": true,
42970 "no_escape": true,
42971 "escaped": true
42972 },
42973 "tree": [
42974 {
42975 "doctype": "html"
42976 },
42977 {
42978 "tag": "html",
42979 "children": [
42980 {
42981 "tag": "head",
42982 "children": [
42983 {
42984 "tag": "style",
42985 "children": [
42986 {
42987 "text": "<!--...<style><!--...--!>",
42988 "no_escape": true
42989 }
42990 ]
42991 }
42992 ]
42993 },
42994 {
42995 "tag": "body",
42996 "children": [
42997 {
42998 "text": "-->",
42999 "escaped": true
43000 }
43001 ]
43002 }
43003 ]
43004 }
43005 ],
43006 "html": "<!DOCTYPE html><html><head><style><!--...<style><!--...--!></style></head><body>--&gt;</body></html>",
43007 "noQuirksBodyHtml": "<style><!--...<style><!--...--!></style>--&gt;"
43008 }
43009 },
43010 {
43011 "data": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
43012 "errors": [],
43013 "document": {
43014 "props": {
43015 "tags": {
43016 "html": true,
43017 "head": true,
43018 "style": true,
43019 "body": true
43020 },
43021 "doctype": true,
43022 "no_escape": true,
43023 "comment": true
43024 },
43025 "tree": [
43026 {
43027 "doctype": "html"
43028 },
43029 {
43030 "tag": "html",
43031 "children": [
43032 {
43033 "tag": "head",
43034 "children": [
43035 {
43036 "tag": "style",
43037 "children": [
43038 {
43039 "text": "<!--...",
43040 "no_escape": true
43041 }
43042 ]
43043 },
43044 {
43045 "comment": " "
43046 },
43047 {
43048 "tag": "style",
43049 "children": [
43050 {
43051 "text": "@import ...",
43052 "no_escape": true
43053 }
43054 ]
43055 }
43056 ]
43057 },
43058 {
43059 "tag": "body"
43060 }
43061 ]
43062 }
43063 ],
43064 "html": "<!DOCTYPE html><html><head><style><!--...</style><!-- --><style>@import ...</style></head><body></body></html>",
43065 "noQuirksBodyHtml": "<style><!--...</style><!-- --><style>@import ...</style>"
43066 }
43067 },
43068 {
43069 "data": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
43070 "errors": [
43071 "(1,63): unexpected-end-tag"
43072 ],
43073 "document": {
43074 "props": {
43075 "tags": {
43076 "html": true,
43077 "head": true,
43078 "style": true,
43079 "body": true
43080 },
43081 "doctype": true,
43082 "no_escape": true,
43083 "comment": true
43084 },
43085 "tree": [
43086 {
43087 "doctype": "html"
43088 },
43089 {
43090 "tag": "html",
43091 "children": [
43092 {
43093 "tag": "head",
43094 "children": [
43095 {
43096 "tag": "style",
43097 "children": [
43098 {
43099 "text": "...<style><!--...",
43100 "no_escape": true
43101 }
43102 ]
43103 },
43104 {
43105 "comment": " "
43106 }
43107 ]
43108 },
43109 {
43110 "tag": "body"
43111 }
43112 ]
43113 }
43114 ],
43115 "html": "<!DOCTYPE html><html><head><style>...<style><!--...</style><!-- --></head><body></body></html>",
43116 "noQuirksBodyHtml": "<style>...<style><!--...</style><!-- -->"
43117 }
43118 },
43119 {
43120 "data": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
43121 "errors": [],
43122 "document": {
43123 "props": {
43124 "tags": {
43125 "html": true,
43126 "head": true,
43127 "style": true,
43128 "body": true
43129 },
43130 "doctype": true,
43131 "no_escape": true
43132 },
43133 "tree": [
43134 {
43135 "doctype": "html"
43136 },
43137 {
43138 "tag": "html",
43139 "children": [
43140 {
43141 "tag": "head",
43142 "children": [
43143 {
43144 "tag": "style",
43145 "children": [
43146 {
43147 "text": "...<!--[if IE]><style>...",
43148 "no_escape": true
43149 }
43150 ]
43151 }
43152 ]
43153 },
43154 {
43155 "tag": "body",
43156 "children": [
43157 {
43158 "text": "X"
43159 }
43160 ]
43161 }
43162 ]
43163 }
43164 ],
43165 "html": "<!DOCTYPE html><html><head><style>...<!--[if IE]><style>...</style></head><body>X</body></html>",
43166 "noQuirksBodyHtml": "<style>...<!--[if IE]><style>...</style>X"
43167 }
43168 },
43169 {
43170 "data": "<!doctype html><title><!--<title></title>--></title>",
43171 "errors": [
43172 "(1,52): unexpected-end-tag"
43173 ],
43174 "document": {
43175 "props": {
43176 "tags": {
43177 "html": true,
43178 "head": true,
43179 "title": true,
43180 "body": true
43181 },
43182 "doctype": true,
43183 "escaped": true
43184 },
43185 "tree": [
43186 {
43187 "doctype": "html"
43188 },
43189 {
43190 "tag": "html",
43191 "children": [
43192 {
43193 "tag": "head",
43194 "children": [
43195 {
43196 "tag": "title",
43197 "children": [
43198 {
43199 "text": "<!--<title>",
43200 "escaped": true
43201 }
43202 ]
43203 }
43204 ]
43205 },
43206 {
43207 "tag": "body",
43208 "children": [
43209 {
43210 "text": "-->",
43211 "escaped": true
43212 }
43213 ]
43214 }
43215 ]
43216 }
43217 ],
43218 "html": "<!DOCTYPE html><html><head><title>&lt;!--&lt;title&gt;</title></head><body>--&gt;</body></html>",
43219 "noQuirksBodyHtml": "<title>&lt;!--&lt;title&gt;</title>--&gt;"
43220 }
43221 },
43222 {
43223 "data": "<!doctype html><title>&lt;/title></title>",
43224 "errors": [],
43225 "document": {
43226 "props": {
43227 "tags": {
43228 "html": true,
43229 "head": true,
43230 "title": true,
43231 "body": true
43232 },
43233 "doctype": true,
43234 "escaped": true
43235 },
43236 "tree": [
43237 {
43238 "doctype": "html"
43239 },
43240 {
43241 "tag": "html",
43242 "children": [
43243 {
43244 "tag": "head",
43245 "children": [
43246 {
43247 "tag": "title",
43248 "children": [
43249 {
43250 "text": "</title>",
43251 "escaped": true
43252 }
43253 ]
43254 }
43255 ]
43256 },
43257 {
43258 "tag": "body"
43259 }
43260 ]
43261 }
43262 ],
43263 "html": "<!DOCTYPE html><html><head><title>&lt;/title&gt;</title></head><body></body></html>",
43264 "noQuirksBodyHtml": "<title>&lt;/title&gt;</title>"
43265 }
43266 },
43267 {
43268 "data": "<!doctype html><title>foo/title><link></head><body>X",
43269 "errors": [
43270 "(1,52): expected-named-closing-tag-but-got-eof"
43271 ],
43272 "document": {
43273 "props": {
43274 "tags": {
43275 "html": true,
43276 "head": true,
43277 "title": true,
43278 "body": true
43279 },
43280 "doctype": true,
43281 "escaped": true
43282 },
43283 "tree": [
43284 {
43285 "doctype": "html"
43286 },
43287 {
43288 "tag": "html",
43289 "children": [
43290 {
43291 "tag": "head",
43292 "children": [
43293 {
43294 "tag": "title",
43295 "children": [
43296 {
43297 "text": "foo/title><link></head><body>X",
43298 "escaped": true
43299 }
43300 ]
43301 }
43302 ]
43303 },
43304 {
43305 "tag": "body"
43306 }
43307 ]
43308 }
43309 ],
43310 "html": "<!DOCTYPE html><html><head><title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title></head><body></body></html>",
43311 "noQuirksBodyHtml": "<title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title>"
43312 }
43313 },
43314 {
43315 "data": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
43316 "errors": [
43317 "(1,64): unexpected-end-tag"
43318 ],
43319 "script": "on",
43320 "document": {
43321 "props": {
43322 "tags": {
43323 "html": true,
43324 "head": true,
43325 "noscript": true,
43326 "body": true
43327 },
43328 "doctype": true,
43329 "no_escape": true,
43330 "escaped": true
43331 },
43332 "tree": [
43333 {
43334 "doctype": "html"
43335 },
43336 {
43337 "tag": "html",
43338 "children": [
43339 {
43340 "tag": "head",
43341 "children": [
43342 {
43343 "tag": "noscript",
43344 "children": [
43345 {
43346 "text": "<!--<noscript>",
43347 "no_escape": true
43348 }
43349 ]
43350 }
43351 ]
43352 },
43353 {
43354 "tag": "body",
43355 "children": [
43356 {
43357 "text": "-->",
43358 "escaped": true
43359 }
43360 ]
43361 }
43362 ]
43363 }
43364 ],
43365 "html": "<!DOCTYPE html><html><head><noscript><!--<noscript></noscript></head><body>--&gt;</body></html>",
43366 "noQuirksBodyHtml": "<noscript><!--<noscript></noscript>--></noscript>"
43367 }
43368 },
43369 {
43370 "data": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
43371 "errors": [],
43372 "script": "off",
43373 "document": {
43374 "props": {
43375 "tags": {
43376 "html": true,
43377 "head": true,
43378 "noscript": true,
43379 "body": true
43380 },
43381 "doctype": true,
43382 "comment": true
43383 },
43384 "tree": [
43385 {
43386 "doctype": "html"
43387 },
43388 {
43389 "tag": "html",
43390 "children": [
43391 {
43392 "tag": "head",
43393 "children": [
43394 {
43395 "tag": "noscript",
43396 "children": [
43397 {
43398 "comment": "<noscript></noscript>"
43399 }
43400 ]
43401 }
43402 ]
43403 },
43404 {
43405 "tag": "body"
43406 }
43407 ]
43408 }
43409 ],
43410 "html": "<!DOCTYPE html><html><head><noscript><!--<noscript></noscript>--></noscript></head><body></body></html>",
43411 "noQuirksBodyHtml": "<noscript><!--<noscript></noscript>--></noscript>"
43412 }
43413 },
43414 {
43415 "data": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
43416 "errors": [],
43417 "script": "on",
43418 "document": {
43419 "props": {
43420 "tags": {
43421 "html": true,
43422 "head": true,
43423 "noscript": true,
43424 "body": true
43425 },
43426 "doctype": true,
43427 "no_escape": true
43428 },
43429 "tree": [
43430 {
43431 "doctype": "html"
43432 },
43433 {
43434 "tag": "html",
43435 "children": [
43436 {
43437 "tag": "head",
43438 "children": [
43439 {
43440 "tag": "noscript",
43441 "children": [
43442 {
43443 "text": "<!--",
43444 "no_escape": true
43445 }
43446 ]
43447 }
43448 ]
43449 },
43450 {
43451 "tag": "body",
43452 "children": [
43453 {
43454 "text": "X"
43455 },
43456 {
43457 "tag": "noscript",
43458 "children": [
43459 {
43460 "text": "-->",
43461 "no_escape": true
43462 }
43463 ]
43464 }
43465 ]
43466 }
43467 ]
43468 }
43469 ],
43470 "html": "<!DOCTYPE html><html><head><noscript><!--</noscript></head><body>X<noscript>--></noscript></body></html>",
43471 "noQuirksBodyHtml": "<noscript><!--</noscript>X<noscript>--></noscript>"
43472 }
43473 },
43474 {
43475 "data": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
43476 "errors": [],
43477 "script": "off",
43478 "document": {
43479 "props": {
43480 "tags": {
43481 "html": true,
43482 "head": true,
43483 "noscript": true,
43484 "body": true
43485 },
43486 "doctype": true,
43487 "comment": true
43488 },
43489 "tree": [
43490 {
43491 "doctype": "html"
43492 },
43493 {
43494 "tag": "html",
43495 "children": [
43496 {
43497 "tag": "head",
43498 "children": [
43499 {
43500 "tag": "noscript",
43501 "children": [
43502 {
43503 "comment": "</noscript>X<noscript>"
43504 }
43505 ]
43506 }
43507 ]
43508 },
43509 {
43510 "tag": "body"
43511 }
43512 ]
43513 }
43514 ],
43515 "html": "<!DOCTYPE html><html><head><noscript><!--</noscript>X<noscript>--></noscript></head><body></body></html>",
43516 "noQuirksBodyHtml": "<noscript><!--</noscript>X<noscript>--></noscript>"
43517 }
43518 },
43519 {
43520 "data": "<!doctype html><noscript><iframe></noscript>X",
43521 "errors": [],
43522 "script": "on",
43523 "document": {
43524 "props": {
43525 "tags": {
43526 "html": true,
43527 "head": true,
43528 "noscript": true,
43529 "body": true
43530 },
43531 "doctype": true,
43532 "no_escape": true
43533 },
43534 "tree": [
43535 {
43536 "doctype": "html"
43537 },
43538 {
43539 "tag": "html",
43540 "children": [
43541 {
43542 "tag": "head",
43543 "children": [
43544 {
43545 "tag": "noscript",
43546 "children": [
43547 {
43548 "text": "<iframe>",
43549 "no_escape": true
43550 }
43551 ]
43552 }
43553 ]
43554 },
43555 {
43556 "tag": "body",
43557 "children": [
43558 {
43559 "text": "X"
43560 }
43561 ]
43562 }
43563 ]
43564 }
43565 ],
43566 "html": "<!DOCTYPE html><html><head><noscript><iframe></noscript></head><body>X</body></html>",
43567 "noQuirksBodyHtml": "<noscript><iframe></noscript>X</iframe></noscript>"
43568 }
43569 },
43570 {
43571 "data": "<!doctype html><noscript><iframe></noscript>X",
43572 "errors": [
43573 " * (1,34) unexpected token in head noscript",
43574 " * (1,46) unexpected EOF"
43575 ],
43576 "script": "off",
43577 "document": {
43578 "props": {
43579 "tags": {
43580 "html": true,
43581 "head": true,
43582 "noscript": true,
43583 "body": true,
43584 "iframe": true
43585 },
43586 "doctype": true,
43587 "no_escape": true
43588 },
43589 "tree": [
43590 {
43591 "doctype": "html"
43592 },
43593 {
43594 "tag": "html",
43595 "children": [
43596 {
43597 "tag": "head",
43598 "children": [
43599 {
43600 "tag": "noscript"
43601 }
43602 ]
43603 },
43604 {
43605 "tag": "body",
43606 "children": [
43607 {
43608 "tag": "iframe",
43609 "children": [
43610 {
43611 "text": "</noscript>X",
43612 "no_escape": true
43613 }
43614 ]
43615 }
43616 ]
43617 }
43618 ]
43619 }
43620 ],
43621 "html": "<!DOCTYPE html><html><head><noscript></noscript></head><body><iframe></noscript>X</iframe></body></html>",
43622 "noQuirksBodyHtml": "<noscript><iframe></noscript>X</iframe></noscript>"
43623 }
43624 },
43625 {
43626 "data": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
43627 "errors": [
43628 "(1,64): unexpected-end-tag"
43629 ],
43630 "document": {
43631 "props": {
43632 "tags": {
43633 "html": true,
43634 "head": true,
43635 "noframes": true,
43636 "body": true
43637 },
43638 "doctype": true,
43639 "no_escape": true,
43640 "escaped": true
43641 },
43642 "tree": [
43643 {
43644 "doctype": "html"
43645 },
43646 {
43647 "tag": "html",
43648 "children": [
43649 {
43650 "tag": "head",
43651 "children": [
43652 {
43653 "tag": "noframes",
43654 "children": [
43655 {
43656 "text": "<!--<noframes>",
43657 "no_escape": true
43658 }
43659 ]
43660 }
43661 ]
43662 },
43663 {
43664 "tag": "body",
43665 "children": [
43666 {
43667 "text": "-->",
43668 "escaped": true
43669 }
43670 ]
43671 }
43672 ]
43673 }
43674 ],
43675 "html": "<!DOCTYPE html><html><head><noframes><!--<noframes></noframes></head><body>--&gt;</body></html>",
43676 "noQuirksBodyHtml": "<noframes><!--<noframes></noframes>--&gt;"
43677 }
43678 },
43679 {
43680 "data": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
43681 "errors": [],
43682 "document": {
43683 "props": {
43684 "tags": {
43685 "html": true,
43686 "head": true,
43687 "noframes": true,
43688 "body": true
43689 },
43690 "doctype": true,
43691 "no_escape": true
43692 },
43693 "tree": [
43694 {
43695 "doctype": "html"
43696 },
43697 {
43698 "tag": "html",
43699 "children": [
43700 {
43701 "tag": "head",
43702 "children": [
43703 {
43704 "tag": "noframes",
43705 "children": [
43706 {
43707 "text": "<body><script><!--...</script></body>",
43708 "no_escape": true
43709 }
43710 ]
43711 }
43712 ]
43713 },
43714 {
43715 "tag": "body"
43716 }
43717 ]
43718 }
43719 ],
43720 "html": "<!DOCTYPE html><html><head><noframes><body><script><!--...</script></body></noframes></head><body></body></html>",
43721 "noQuirksBodyHtml": "<noframes><body><script><!--...</script></body></noframes>"
43722 }
43723 },
43724 {
43725 "data": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
43726 "errors": [
43727 "(1,64): unexpected-end-tag"
43728 ],
43729 "document": {
43730 "props": {
43731 "tags": {
43732 "html": true,
43733 "head": true,
43734 "body": true,
43735 "textarea": true
43736 },
43737 "doctype": true,
43738 "escaped": true
43739 },
43740 "tree": [
43741 {
43742 "doctype": "html"
43743 },
43744 {
43745 "tag": "html",
43746 "children": [
43747 {
43748 "tag": "head"
43749 },
43750 {
43751 "tag": "body",
43752 "children": [
43753 {
43754 "tag": "textarea",
43755 "children": [
43756 {
43757 "text": "<!--<textarea>",
43758 "escaped": true
43759 }
43760 ]
43761 },
43762 {
43763 "text": "-->",
43764 "escaped": true
43765 }
43766 ]
43767 }
43768 ]
43769 }
43770 ],
43771 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;</body></html>",
43772 "noQuirksBodyHtml": "<textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;"
43773 }
43774 },
43775 {
43776 "data": "<!doctype html><textarea>&lt;/textarea></textarea>",
43777 "errors": [],
43778 "document": {
43779 "props": {
43780 "tags": {
43781 "html": true,
43782 "head": true,
43783 "body": true,
43784 "textarea": true
43785 },
43786 "doctype": true,
43787 "escaped": true
43788 },
43789 "tree": [
43790 {
43791 "doctype": "html"
43792 },
43793 {
43794 "tag": "html",
43795 "children": [
43796 {
43797 "tag": "head"
43798 },
43799 {
43800 "tag": "body",
43801 "children": [
43802 {
43803 "tag": "textarea",
43804 "children": [
43805 {
43806 "text": "</textarea>",
43807 "escaped": true
43808 }
43809 ]
43810 }
43811 ]
43812 }
43813 ]
43814 }
43815 ],
43816 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;/textarea&gt;</textarea></body></html>",
43817 "noQuirksBodyHtml": "<textarea>&lt;/textarea&gt;</textarea>"
43818 }
43819 },
43820 {
43821 "data": "<!doctype html><textarea>&lt;</textarea>",
43822 "errors": [],
43823 "document": {
43824 "props": {
43825 "tags": {
43826 "html": true,
43827 "head": true,
43828 "body": true,
43829 "textarea": true
43830 },
43831 "doctype": true,
43832 "escaped": true
43833 },
43834 "tree": [
43835 {
43836 "doctype": "html"
43837 },
43838 {
43839 "tag": "html",
43840 "children": [
43841 {
43842 "tag": "head"
43843 },
43844 {
43845 "tag": "body",
43846 "children": [
43847 {
43848 "tag": "textarea",
43849 "children": [
43850 {
43851 "text": "<",
43852 "escaped": true
43853 }
43854 ]
43855 }
43856 ]
43857 }
43858 ]
43859 }
43860 ],
43861 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;</textarea></body></html>",
43862 "noQuirksBodyHtml": "<textarea>&lt;</textarea>"
43863 }
43864 },
43865 {
43866 "data": "<!doctype html><textarea>a&lt;b</textarea>",
43867 "errors": [],
43868 "document": {
43869 "props": {
43870 "tags": {
43871 "html": true,
43872 "head": true,
43873 "body": true,
43874 "textarea": true
43875 },
43876 "doctype": true,
43877 "escaped": true
43878 },
43879 "tree": [
43880 {
43881 "doctype": "html"
43882 },
43883 {
43884 "tag": "html",
43885 "children": [
43886 {
43887 "tag": "head"
43888 },
43889 {
43890 "tag": "body",
43891 "children": [
43892 {
43893 "tag": "textarea",
43894 "children": [
43895 {
43896 "text": "a<b",
43897 "escaped": true
43898 }
43899 ]
43900 }
43901 ]
43902 }
43903 ]
43904 }
43905 ],
43906 "html": "<!DOCTYPE html><html><head></head><body><textarea>a&lt;b</textarea></body></html>",
43907 "noQuirksBodyHtml": "<textarea>a&lt;b</textarea>"
43908 }
43909 },
43910 {
43911 "data": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
43912 "errors": [
43913 "(1,56): unexpected-end-tag"
43914 ],
43915 "document": {
43916 "props": {
43917 "tags": {
43918 "html": true,
43919 "head": true,
43920 "body": true,
43921 "iframe": true
43922 },
43923 "doctype": true,
43924 "no_escape": true,
43925 "escaped": true
43926 },
43927 "tree": [
43928 {
43929 "doctype": "html"
43930 },
43931 {
43932 "tag": "html",
43933 "children": [
43934 {
43935 "tag": "head"
43936 },
43937 {
43938 "tag": "body",
43939 "children": [
43940 {
43941 "tag": "iframe",
43942 "children": [
43943 {
43944 "text": "<!--<iframe>",
43945 "no_escape": true
43946 }
43947 ]
43948 },
43949 {
43950 "text": "-->",
43951 "escaped": true
43952 }
43953 ]
43954 }
43955 ]
43956 }
43957 ],
43958 "html": "<!DOCTYPE html><html><head></head><body><iframe><!--<iframe></iframe>--&gt;</body></html>",
43959 "noQuirksBodyHtml": "<iframe><!--<iframe></iframe>--&gt;"
43960 }
43961 },
43962 {
43963 "data": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
43964 "errors": [],
43965 "document": {
43966 "props": {
43967 "tags": {
43968 "html": true,
43969 "head": true,
43970 "body": true,
43971 "iframe": true
43972 },
43973 "doctype": true,
43974 "no_escape": true
43975 },
43976 "tree": [
43977 {
43978 "doctype": "html"
43979 },
43980 {
43981 "tag": "html",
43982 "children": [
43983 {
43984 "tag": "head"
43985 },
43986 {
43987 "tag": "body",
43988 "children": [
43989 {
43990 "tag": "iframe",
43991 "children": [
43992 {
43993 "text": "...<!--X->...<!--/X->...",
43994 "no_escape": true
43995 }
43996 ]
43997 }
43998 ]
43999 }
44000 ]
44001 }
44002 ],
44003 "html": "<!DOCTYPE html><html><head></head><body><iframe>...<!--X->...<!--/X->...</iframe></body></html>",
44004 "noQuirksBodyHtml": "<iframe>...<!--X->...<!--/X->...</iframe>"
44005 }
44006 },
44007 {
44008 "data": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
44009 "errors": [
44010 "(1,44): unexpected-end-tag"
44011 ],
44012 "document": {
44013 "props": {
44014 "tags": {
44015 "html": true,
44016 "head": true,
44017 "body": true,
44018 "xmp": true
44019 },
44020 "doctype": true,
44021 "no_escape": true,
44022 "escaped": true
44023 },
44024 "tree": [
44025 {
44026 "doctype": "html"
44027 },
44028 {
44029 "tag": "html",
44030 "children": [
44031 {
44032 "tag": "head"
44033 },
44034 {
44035 "tag": "body",
44036 "children": [
44037 {
44038 "tag": "xmp",
44039 "children": [
44040 {
44041 "text": "<!--<xmp>",
44042 "no_escape": true
44043 }
44044 ]
44045 },
44046 {
44047 "text": "-->",
44048 "escaped": true
44049 }
44050 ]
44051 }
44052 ]
44053 }
44054 ],
44055 "html": "<!DOCTYPE html><html><head></head><body><xmp><!--<xmp></xmp>--&gt;</body></html>",
44056 "noQuirksBodyHtml": "<xmp><!--<xmp></xmp>--&gt;"
44057 }
44058 },
44059 {
44060 "data": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
44061 "errors": [
44062 "(1,60): unexpected-end-tag"
44063 ],
44064 "document": {
44065 "props": {
44066 "tags": {
44067 "html": true,
44068 "head": true,
44069 "body": true,
44070 "noembed": true
44071 },
44072 "doctype": true,
44073 "no_escape": true,
44074 "escaped": true
44075 },
44076 "tree": [
44077 {
44078 "doctype": "html"
44079 },
44080 {
44081 "tag": "html",
44082 "children": [
44083 {
44084 "tag": "head"
44085 },
44086 {
44087 "tag": "body",
44088 "children": [
44089 {
44090 "tag": "noembed",
44091 "children": [
44092 {
44093 "text": "<!--<noembed>",
44094 "no_escape": true
44095 }
44096 ]
44097 },
44098 {
44099 "text": "-->",
44100 "escaped": true
44101 }
44102 ]
44103 }
44104 ]
44105 }
44106 ],
44107 "html": "<!DOCTYPE html><html><head></head><body><noembed><!--<noembed></noembed>--&gt;</body></html>",
44108 "noQuirksBodyHtml": "<noembed><!--<noembed></noembed>--&gt;"
44109 }
44110 },
44111 {
44112 "data": "<script>",
44113 "errors": [
44114 "(1,8): expected-doctype-but-got-start-tag",
44115 "(1,8): expected-named-closing-tag-but-got-eof"
44116 ],
44117 "document": {
44118 "props": {
44119 "tags": {
44120 "html": true,
44121 "head": true,
44122 "script": true,
44123 "body": true
44124 }
44125 },
44126 "tree": [
44127 {
44128 "tag": "html",
44129 "children": [
44130 {
44131 "tag": "head",
44132 "children": [
44133 {
44134 "tag": "script"
44135 }
44136 ]
44137 },
44138 {
44139 "tag": "body"
44140 }
44141 ]
44142 }
44143 ],
44144 "html": "<html><head><script></script></head><body></body></html>",
44145 "noQuirksBodyHtml": "<script></script>"
44146 }
44147 },
44148 {
44149 "data": "<script>a",
44150 "errors": [
44151 "(1,8): expected-doctype-but-got-start-tag",
44152 "(1,9): expected-named-closing-tag-but-got-eof"
44153 ],
44154 "document": {
44155 "props": {
44156 "tags": {
44157 "html": true,
44158 "head": true,
44159 "script": true,
44160 "body": true
44161 },
44162 "no_escape": true
44163 },
44164 "tree": [
44165 {
44166 "tag": "html",
44167 "children": [
44168 {
44169 "tag": "head",
44170 "children": [
44171 {
44172 "tag": "script",
44173 "children": [
44174 {
44175 "text": "a",
44176 "no_escape": true
44177 }
44178 ]
44179 }
44180 ]
44181 },
44182 {
44183 "tag": "body"
44184 }
44185 ]
44186 }
44187 ],
44188 "html": "<html><head><script>a</script></head><body></body></html>",
44189 "noQuirksBodyHtml": "<script>a</script>"
44190 }
44191 },
44192 {
44193 "data": "<script><",
44194 "errors": [
44195 "(1,8): expected-doctype-but-got-start-tag",
44196 "(1,9): expected-named-closing-tag-but-got-eof"
44197 ],
44198 "document": {
44199 "props": {
44200 "tags": {
44201 "html": true,
44202 "head": true,
44203 "script": true,
44204 "body": true
44205 },
44206 "no_escape": true
44207 },
44208 "tree": [
44209 {
44210 "tag": "html",
44211 "children": [
44212 {
44213 "tag": "head",
44214 "children": [
44215 {
44216 "tag": "script",
44217 "children": [
44218 {
44219 "text": "<",
44220 "no_escape": true
44221 }
44222 ]
44223 }
44224 ]
44225 },
44226 {
44227 "tag": "body"
44228 }
44229 ]
44230 }
44231 ],
44232 "html": "<html><head><script><</script></head><body></body></html>",
44233 "noQuirksBodyHtml": "<script><</script>"
44234 }
44235 },
44236 {
44237 "data": "<script></",
44238 "errors": [
44239 "(1,8): expected-doctype-but-got-start-tag",
44240 "(1,10): expected-named-closing-tag-but-got-eof"
44241 ],
44242 "document": {
44243 "props": {
44244 "tags": {
44245 "html": true,
44246 "head": true,
44247 "script": true,
44248 "body": true
44249 },
44250 "no_escape": true
44251 },
44252 "tree": [
44253 {
44254 "tag": "html",
44255 "children": [
44256 {
44257 "tag": "head",
44258 "children": [
44259 {
44260 "tag": "script",
44261 "children": [
44262 {
44263 "text": "</",
44264 "no_escape": true
44265 }
44266 ]
44267 }
44268 ]
44269 },
44270 {
44271 "tag": "body"
44272 }
44273 ]
44274 }
44275 ],
44276 "html": "<html><head><script></</script></head><body></body></html>",
44277 "noQuirksBodyHtml": "<script></</script>"
44278 }
44279 },
44280 {
44281 "data": "<script></S",
44282 "errors": [
44283 "(1,8): expected-doctype-but-got-start-tag",
44284 "(1,11): expected-named-closing-tag-but-got-eof"
44285 ],
44286 "document": {
44287 "props": {
44288 "tags": {
44289 "html": true,
44290 "head": true,
44291 "script": true,
44292 "body": true
44293 },
44294 "no_escape": true
44295 },
44296 "tree": [
44297 {
44298 "tag": "html",
44299 "children": [
44300 {
44301 "tag": "head",
44302 "children": [
44303 {
44304 "tag": "script",
44305 "children": [
44306 {
44307 "text": "</S",
44308 "no_escape": true
44309 }
44310 ]
44311 }
44312 ]
44313 },
44314 {
44315 "tag": "body"
44316 }
44317 ]
44318 }
44319 ],
44320 "html": "<html><head><script></S</script></head><body></body></html>",
44321 "noQuirksBodyHtml": "<script></S</script>"
44322 }
44323 },
44324 {
44325 "data": "<script></SC",
44326 "errors": [
44327 "(1,8): expected-doctype-but-got-start-tag",
44328 "(1,12): expected-named-closing-tag-but-got-eof"
44329 ],
44330 "document": {
44331 "props": {
44332 "tags": {
44333 "html": true,
44334 "head": true,
44335 "script": true,
44336 "body": true
44337 },
44338 "no_escape": true
44339 },
44340 "tree": [
44341 {
44342 "tag": "html",
44343 "children": [
44344 {
44345 "tag": "head",
44346 "children": [
44347 {
44348 "tag": "script",
44349 "children": [
44350 {
44351 "text": "</SC",
44352 "no_escape": true
44353 }
44354 ]
44355 }
44356 ]
44357 },
44358 {
44359 "tag": "body"
44360 }
44361 ]
44362 }
44363 ],
44364 "html": "<html><head><script></SC</script></head><body></body></html>",
44365 "noQuirksBodyHtml": "<script></SC</script>"
44366 }
44367 },
44368 {
44369 "data": "<script></SCR",
44370 "errors": [
44371 "(1,8): expected-doctype-but-got-start-tag",
44372 "(1,13): expected-named-closing-tag-but-got-eof"
44373 ],
44374 "document": {
44375 "props": {
44376 "tags": {
44377 "html": true,
44378 "head": true,
44379 "script": true,
44380 "body": true
44381 },
44382 "no_escape": true
44383 },
44384 "tree": [
44385 {
44386 "tag": "html",
44387 "children": [
44388 {
44389 "tag": "head",
44390 "children": [
44391 {
44392 "tag": "script",
44393 "children": [
44394 {
44395 "text": "</SCR",
44396 "no_escape": true
44397 }
44398 ]
44399 }
44400 ]
44401 },
44402 {
44403 "tag": "body"
44404 }
44405 ]
44406 }
44407 ],
44408 "html": "<html><head><script></SCR</script></head><body></body></html>",
44409 "noQuirksBodyHtml": "<script></SCR</script>"
44410 }
44411 },
44412 {
44413 "data": "<script></SCRI",
44414 "errors": [
44415 "(1,8): expected-doctype-but-got-start-tag",
44416 "(1,14): expected-named-closing-tag-but-got-eof"
44417 ],
44418 "document": {
44419 "props": {
44420 "tags": {
44421 "html": true,
44422 "head": true,
44423 "script": true,
44424 "body": true
44425 },
44426 "no_escape": true
44427 },
44428 "tree": [
44429 {
44430 "tag": "html",
44431 "children": [
44432 {
44433 "tag": "head",
44434 "children": [
44435 {
44436 "tag": "script",
44437 "children": [
44438 {
44439 "text": "</SCRI",
44440 "no_escape": true
44441 }
44442 ]
44443 }
44444 ]
44445 },
44446 {
44447 "tag": "body"
44448 }
44449 ]
44450 }
44451 ],
44452 "html": "<html><head><script></SCRI</script></head><body></body></html>",
44453 "noQuirksBodyHtml": "<script></SCRI</script>"
44454 }
44455 },
44456 {
44457 "data": "<script></SCRIP",
44458 "errors": [
44459 "(1,8): expected-doctype-but-got-start-tag",
44460 "(1,15): expected-named-closing-tag-but-got-eof"
44461 ],
44462 "document": {
44463 "props": {
44464 "tags": {
44465 "html": true,
44466 "head": true,
44467 "script": true,
44468 "body": true
44469 },
44470 "no_escape": true
44471 },
44472 "tree": [
44473 {
44474 "tag": "html",
44475 "children": [
44476 {
44477 "tag": "head",
44478 "children": [
44479 {
44480 "tag": "script",
44481 "children": [
44482 {
44483 "text": "</SCRIP",
44484 "no_escape": true
44485 }
44486 ]
44487 }
44488 ]
44489 },
44490 {
44491 "tag": "body"
44492 }
44493 ]
44494 }
44495 ],
44496 "html": "<html><head><script></SCRIP</script></head><body></body></html>",
44497 "noQuirksBodyHtml": "<script></SCRIP</script>"
44498 }
44499 },
44500 {
44501 "data": "<script></SCRIPT",
44502 "errors": [
44503 "(1,8): expected-doctype-but-got-start-tag",
44504 "(1,16): expected-named-closing-tag-but-got-eof"
44505 ],
44506 "document": {
44507 "props": {
44508 "tags": {
44509 "html": true,
44510 "head": true,
44511 "script": true,
44512 "body": true
44513 },
44514 "no_escape": true
44515 },
44516 "tree": [
44517 {
44518 "tag": "html",
44519 "children": [
44520 {
44521 "tag": "head",
44522 "children": [
44523 {
44524 "tag": "script",
44525 "children": [
44526 {
44527 "text": "</SCRIPT",
44528 "no_escape": true
44529 }
44530 ]
44531 }
44532 ]
44533 },
44534 {
44535 "tag": "body"
44536 }
44537 ]
44538 }
44539 ],
44540 "html": "<html><head><script></SCRIPT</script></head><body></body></html>",
44541 "noQuirksBodyHtml": "<script></SCRIPT</script>"
44542 }
44543 },
44544 {
44545 "data": "<script></SCRIPT ",
44546 "errors": [
44547 "(1,8): expected-doctype-but-got-start-tag",
44548 "(1,17): expected-attribute-name-but-got-eof",
44549 "(1,17): expected-named-closing-tag-but-got-eof"
44550 ],
44551 "document": {
44552 "props": {
44553 "tags": {
44554 "html": true,
44555 "head": true,
44556 "script": true,
44557 "body": true
44558 }
44559 },
44560 "tree": [
44561 {
44562 "tag": "html",
44563 "children": [
44564 {
44565 "tag": "head",
44566 "children": [
44567 {
44568 "tag": "script"
44569 }
44570 ]
44571 },
44572 {
44573 "tag": "body"
44574 }
44575 ]
44576 }
44577 ],
44578 "html": "<html><head><script></script></head><body></body></html>",
44579 "noQuirksBodyHtml": "<script></script>"
44580 }
44581 },
44582 {
44583 "data": "<script></s",
44584 "errors": [
44585 "(1,8): expected-doctype-but-got-start-tag",
44586 "(1,11): expected-named-closing-tag-but-got-eof"
44587 ],
44588 "document": {
44589 "props": {
44590 "tags": {
44591 "html": true,
44592 "head": true,
44593 "script": true,
44594 "body": true
44595 },
44596 "no_escape": true
44597 },
44598 "tree": [
44599 {
44600 "tag": "html",
44601 "children": [
44602 {
44603 "tag": "head",
44604 "children": [
44605 {
44606 "tag": "script",
44607 "children": [
44608 {
44609 "text": "</s",
44610 "no_escape": true
44611 }
44612 ]
44613 }
44614 ]
44615 },
44616 {
44617 "tag": "body"
44618 }
44619 ]
44620 }
44621 ],
44622 "html": "<html><head><script></s</script></head><body></body></html>",
44623 "noQuirksBodyHtml": "<script></s</script>"
44624 }
44625 },
44626 {
44627 "data": "<script></sc",
44628 "errors": [
44629 "(1,8): expected-doctype-but-got-start-tag",
44630 "(1,12): expected-named-closing-tag-but-got-eof"
44631 ],
44632 "document": {
44633 "props": {
44634 "tags": {
44635 "html": true,
44636 "head": true,
44637 "script": true,
44638 "body": true
44639 },
44640 "no_escape": true
44641 },
44642 "tree": [
44643 {
44644 "tag": "html",
44645 "children": [
44646 {
44647 "tag": "head",
44648 "children": [
44649 {
44650 "tag": "script",
44651 "children": [
44652 {
44653 "text": "</sc",
44654 "no_escape": true
44655 }
44656 ]
44657 }
44658 ]
44659 },
44660 {
44661 "tag": "body"
44662 }
44663 ]
44664 }
44665 ],
44666 "html": "<html><head><script></sc</script></head><body></body></html>",
44667 "noQuirksBodyHtml": "<script></sc</script>"
44668 }
44669 },
44670 {
44671 "data": "<script></scr",
44672 "errors": [
44673 "(1,8): expected-doctype-but-got-start-tag",
44674 "(1,13): expected-named-closing-tag-but-got-eof"
44675 ],
44676 "document": {
44677 "props": {
44678 "tags": {
44679 "html": true,
44680 "head": true,
44681 "script": true,
44682 "body": true
44683 },
44684 "no_escape": true
44685 },
44686 "tree": [
44687 {
44688 "tag": "html",
44689 "children": [
44690 {
44691 "tag": "head",
44692 "children": [
44693 {
44694 "tag": "script",
44695 "children": [
44696 {
44697 "text": "</scr",
44698 "no_escape": true
44699 }
44700 ]
44701 }
44702 ]
44703 },
44704 {
44705 "tag": "body"
44706 }
44707 ]
44708 }
44709 ],
44710 "html": "<html><head><script></scr</script></head><body></body></html>",
44711 "noQuirksBodyHtml": "<script></scr</script>"
44712 }
44713 },
44714 {
44715 "data": "<script></scri",
44716 "errors": [
44717 "(1,8): expected-doctype-but-got-start-tag",
44718 "(1,14): expected-named-closing-tag-but-got-eof"
44719 ],
44720 "document": {
44721 "props": {
44722 "tags": {
44723 "html": true,
44724 "head": true,
44725 "script": true,
44726 "body": true
44727 },
44728 "no_escape": true
44729 },
44730 "tree": [
44731 {
44732 "tag": "html",
44733 "children": [
44734 {
44735 "tag": "head",
44736 "children": [
44737 {
44738 "tag": "script",
44739 "children": [
44740 {
44741 "text": "</scri",
44742 "no_escape": true
44743 }
44744 ]
44745 }
44746 ]
44747 },
44748 {
44749 "tag": "body"
44750 }
44751 ]
44752 }
44753 ],
44754 "html": "<html><head><script></scri</script></head><body></body></html>",
44755 "noQuirksBodyHtml": "<script></scri</script>"
44756 }
44757 },
44758 {
44759 "data": "<script></scrip",
44760 "errors": [
44761 "(1,8): expected-doctype-but-got-start-tag",
44762 "(1,15): expected-named-closing-tag-but-got-eof"
44763 ],
44764 "document": {
44765 "props": {
44766 "tags": {
44767 "html": true,
44768 "head": true,
44769 "script": true,
44770 "body": true
44771 },
44772 "no_escape": true
44773 },
44774 "tree": [
44775 {
44776 "tag": "html",
44777 "children": [
44778 {
44779 "tag": "head",
44780 "children": [
44781 {
44782 "tag": "script",
44783 "children": [
44784 {
44785 "text": "</scrip",
44786 "no_escape": true
44787 }
44788 ]
44789 }
44790 ]
44791 },
44792 {
44793 "tag": "body"
44794 }
44795 ]
44796 }
44797 ],
44798 "html": "<html><head><script></scrip</script></head><body></body></html>",
44799 "noQuirksBodyHtml": "<script></scrip</script>"
44800 }
44801 },
44802 {
44803 "data": "<script></script",
44804 "errors": [
44805 "(1,8): expected-doctype-but-got-start-tag",
44806 "(1,16): expected-named-closing-tag-but-got-eof"
44807 ],
44808 "document": {
44809 "props": {
44810 "tags": {
44811 "html": true,
44812 "head": true,
44813 "script": true,
44814 "body": true
44815 },
44816 "no_escape": true
44817 },
44818 "tree": [
44819 {
44820 "tag": "html",
44821 "children": [
44822 {
44823 "tag": "head",
44824 "children": [
44825 {
44826 "tag": "script",
44827 "children": [
44828 {
44829 "text": "</script",
44830 "no_escape": true
44831 }
44832 ]
44833 }
44834 ]
44835 },
44836 {
44837 "tag": "body"
44838 }
44839 ]
44840 }
44841 ],
44842 "html": "<html><head><script></script</script></head><body></body></html>",
44843 "noQuirksBodyHtml": "<script></script</script>"
44844 }
44845 },
44846 {
44847 "data": "<script></script ",
44848 "errors": [
44849 "(1,8): expected-doctype-but-got-start-tag",
44850 "(1,17): expected-attribute-name-but-got-eof",
44851 "(1,17): expected-named-closing-tag-but-got-eof"
44852 ],
44853 "document": {
44854 "props": {
44855 "tags": {
44856 "html": true,
44857 "head": true,
44858 "script": true,
44859 "body": true
44860 }
44861 },
44862 "tree": [
44863 {
44864 "tag": "html",
44865 "children": [
44866 {
44867 "tag": "head",
44868 "children": [
44869 {
44870 "tag": "script"
44871 }
44872 ]
44873 },
44874 {
44875 "tag": "body"
44876 }
44877 ]
44878 }
44879 ],
44880 "html": "<html><head><script></script></head><body></body></html>",
44881 "noQuirksBodyHtml": "<script></script>"
44882 }
44883 },
44884 {
44885 "data": "<script><!",
44886 "errors": [
44887 "(1,8): expected-doctype-but-got-start-tag",
44888 "(1,10): expected-script-data-but-got-eof",
44889 "(1,10): expected-named-closing-tag-but-got-eof"
44890 ],
44891 "document": {
44892 "props": {
44893 "tags": {
44894 "html": true,
44895 "head": true,
44896 "script": true,
44897 "body": true
44898 },
44899 "no_escape": true
44900 },
44901 "tree": [
44902 {
44903 "tag": "html",
44904 "children": [
44905 {
44906 "tag": "head",
44907 "children": [
44908 {
44909 "tag": "script",
44910 "children": [
44911 {
44912 "text": "<!",
44913 "no_escape": true
44914 }
44915 ]
44916 }
44917 ]
44918 },
44919 {
44920 "tag": "body"
44921 }
44922 ]
44923 }
44924 ],
44925 "html": "<html><head><script><!</script></head><body></body></html>",
44926 "noQuirksBodyHtml": "<script><!</script>"
44927 }
44928 },
44929 {
44930 "data": "<script><!a",
44931 "errors": [
44932 "(1,8): expected-doctype-but-got-start-tag",
44933 "(1,11): expected-named-closing-tag-but-got-eof"
44934 ],
44935 "document": {
44936 "props": {
44937 "tags": {
44938 "html": true,
44939 "head": true,
44940 "script": true,
44941 "body": true
44942 },
44943 "no_escape": true
44944 },
44945 "tree": [
44946 {
44947 "tag": "html",
44948 "children": [
44949 {
44950 "tag": "head",
44951 "children": [
44952 {
44953 "tag": "script",
44954 "children": [
44955 {
44956 "text": "<!a",
44957 "no_escape": true
44958 }
44959 ]
44960 }
44961 ]
44962 },
44963 {
44964 "tag": "body"
44965 }
44966 ]
44967 }
44968 ],
44969 "html": "<html><head><script><!a</script></head><body></body></html>",
44970 "noQuirksBodyHtml": "<script><!a</script>"
44971 }
44972 },
44973 {
44974 "data": "<script><!-",
44975 "errors": [
44976 "(1,8): expected-doctype-but-got-start-tag",
44977 "(1,11): expected-named-closing-tag-but-got-eof"
44978 ],
44979 "document": {
44980 "props": {
44981 "tags": {
44982 "html": true,
44983 "head": true,
44984 "script": true,
44985 "body": true
44986 },
44987 "no_escape": true
44988 },
44989 "tree": [
44990 {
44991 "tag": "html",
44992 "children": [
44993 {
44994 "tag": "head",
44995 "children": [
44996 {
44997 "tag": "script",
44998 "children": [
44999 {
45000 "text": "<!-",
45001 "no_escape": true
45002 }
45003 ]
45004 }
45005 ]
45006 },
45007 {
45008 "tag": "body"
45009 }
45010 ]
45011 }
45012 ],
45013 "html": "<html><head><script><!-</script></head><body></body></html>",
45014 "noQuirksBodyHtml": "<script><!-</script>"
45015 }
45016 },
45017 {
45018 "data": "<script><!-a",
45019 "errors": [
45020 "(1,8): expected-doctype-but-got-start-tag",
45021 "(1,12): expected-named-closing-tag-but-got-eof"
45022 ],
45023 "document": {
45024 "props": {
45025 "tags": {
45026 "html": true,
45027 "head": true,
45028 "script": true,
45029 "body": true
45030 },
45031 "no_escape": true
45032 },
45033 "tree": [
45034 {
45035 "tag": "html",
45036 "children": [
45037 {
45038 "tag": "head",
45039 "children": [
45040 {
45041 "tag": "script",
45042 "children": [
45043 {
45044 "text": "<!-a",
45045 "no_escape": true
45046 }
45047 ]
45048 }
45049 ]
45050 },
45051 {
45052 "tag": "body"
45053 }
45054 ]
45055 }
45056 ],
45057 "html": "<html><head><script><!-a</script></head><body></body></html>",
45058 "noQuirksBodyHtml": "<script><!-a</script>"
45059 }
45060 },
45061 {
45062 "data": "<script><!--",
45063 "errors": [
45064 "(1,8): expected-doctype-but-got-start-tag",
45065 "(1,12): expected-named-closing-tag-but-got-eof",
45066 "(1,12): unexpected-eof-in-text-mode"
45067 ],
45068 "document": {
45069 "props": {
45070 "tags": {
45071 "html": true,
45072 "head": true,
45073 "script": true,
45074 "body": true
45075 },
45076 "no_escape": true
45077 },
45078 "tree": [
45079 {
45080 "tag": "html",
45081 "children": [
45082 {
45083 "tag": "head",
45084 "children": [
45085 {
45086 "tag": "script",
45087 "children": [
45088 {
45089 "text": "<!--",
45090 "no_escape": true
45091 }
45092 ]
45093 }
45094 ]
45095 },
45096 {
45097 "tag": "body"
45098 }
45099 ]
45100 }
45101 ],
45102 "html": "<html><head><script><!--</script></head><body></body></html>",
45103 "noQuirksBodyHtml": "<script><!--</script>"
45104 }
45105 },
45106 {
45107 "data": "<script><!--a",
45108 "errors": [
45109 "(1,8): expected-doctype-but-got-start-tag",
45110 "(1,13): expected-named-closing-tag-but-got-eof",
45111 "(1,13): unexpected-eof-in-text-mode"
45112 ],
45113 "document": {
45114 "props": {
45115 "tags": {
45116 "html": true,
45117 "head": true,
45118 "script": true,
45119 "body": true
45120 },
45121 "no_escape": true
45122 },
45123 "tree": [
45124 {
45125 "tag": "html",
45126 "children": [
45127 {
45128 "tag": "head",
45129 "children": [
45130 {
45131 "tag": "script",
45132 "children": [
45133 {
45134 "text": "<!--a",
45135 "no_escape": true
45136 }
45137 ]
45138 }
45139 ]
45140 },
45141 {
45142 "tag": "body"
45143 }
45144 ]
45145 }
45146 ],
45147 "html": "<html><head><script><!--a</script></head><body></body></html>",
45148 "noQuirksBodyHtml": "<script><!--a</script>"
45149 }
45150 },
45151 {
45152 "data": "<script><!--<",
45153 "errors": [
45154 "(1,8): expected-doctype-but-got-start-tag",
45155 "(1,13): expected-named-closing-tag-but-got-eof",
45156 "(1,13): unexpected-eof-in-text-mode"
45157 ],
45158 "document": {
45159 "props": {
45160 "tags": {
45161 "html": true,
45162 "head": true,
45163 "script": true,
45164 "body": true
45165 },
45166 "no_escape": true
45167 },
45168 "tree": [
45169 {
45170 "tag": "html",
45171 "children": [
45172 {
45173 "tag": "head",
45174 "children": [
45175 {
45176 "tag": "script",
45177 "children": [
45178 {
45179 "text": "<!--<",
45180 "no_escape": true
45181 }
45182 ]
45183 }
45184 ]
45185 },
45186 {
45187 "tag": "body"
45188 }
45189 ]
45190 }
45191 ],
45192 "html": "<html><head><script><!--<</script></head><body></body></html>",
45193 "noQuirksBodyHtml": "<script><!--<</script>"
45194 }
45195 },
45196 {
45197 "data": "<script><!--<a",
45198 "errors": [
45199 "(1,8): expected-doctype-but-got-start-tag",
45200 "(1,14): expected-named-closing-tag-but-got-eof",
45201 "(1,14): unexpected-eof-in-text-mode"
45202 ],
45203 "document": {
45204 "props": {
45205 "tags": {
45206 "html": true,
45207 "head": true,
45208 "script": true,
45209 "body": true
45210 },
45211 "no_escape": true
45212 },
45213 "tree": [
45214 {
45215 "tag": "html",
45216 "children": [
45217 {
45218 "tag": "head",
45219 "children": [
45220 {
45221 "tag": "script",
45222 "children": [
45223 {
45224 "text": "<!--<a",
45225 "no_escape": true
45226 }
45227 ]
45228 }
45229 ]
45230 },
45231 {
45232 "tag": "body"
45233 }
45234 ]
45235 }
45236 ],
45237 "html": "<html><head><script><!--<a</script></head><body></body></html>",
45238 "noQuirksBodyHtml": "<script><!--<a</script>"
45239 }
45240 },
45241 {
45242 "data": "<script><!--</",
45243 "errors": [
45244 "(1,8): expected-doctype-but-got-start-tag",
45245 "(1,14): expected-named-closing-tag-but-got-eof",
45246 "(1,14): unexpected-eof-in-text-mode"
45247 ],
45248 "document": {
45249 "props": {
45250 "tags": {
45251 "html": true,
45252 "head": true,
45253 "script": true,
45254 "body": true
45255 },
45256 "no_escape": true
45257 },
45258 "tree": [
45259 {
45260 "tag": "html",
45261 "children": [
45262 {
45263 "tag": "head",
45264 "children": [
45265 {
45266 "tag": "script",
45267 "children": [
45268 {
45269 "text": "<!--</",
45270 "no_escape": true
45271 }
45272 ]
45273 }
45274 ]
45275 },
45276 {
45277 "tag": "body"
45278 }
45279 ]
45280 }
45281 ],
45282 "html": "<html><head><script><!--</</script></head><body></body></html>",
45283 "noQuirksBodyHtml": "<script><!--</</script>"
45284 }
45285 },
45286 {
45287 "data": "<script><!--</script",
45288 "errors": [
45289 "(1,8): expected-doctype-but-got-start-tag",
45290 "(1,20): expected-named-closing-tag-but-got-eof",
45291 "(1,20): unexpected-eof-in-text-mode"
45292 ],
45293 "document": {
45294 "props": {
45295 "tags": {
45296 "html": true,
45297 "head": true,
45298 "script": true,
45299 "body": true
45300 },
45301 "no_escape": true
45302 },
45303 "tree": [
45304 {
45305 "tag": "html",
45306 "children": [
45307 {
45308 "tag": "head",
45309 "children": [
45310 {
45311 "tag": "script",
45312 "children": [
45313 {
45314 "text": "<!--</script",
45315 "no_escape": true
45316 }
45317 ]
45318 }
45319 ]
45320 },
45321 {
45322 "tag": "body"
45323 }
45324 ]
45325 }
45326 ],
45327 "html": "<html><head><script><!--</script</script></head><body></body></html>",
45328 "noQuirksBodyHtml": "<script><!--</script</script>"
45329 }
45330 },
45331 {
45332 "data": "<script><!--</script ",
45333 "errors": [
45334 "(1,8): expected-doctype-but-got-start-tag",
45335 "(1,21): expected-attribute-name-but-got-eof",
45336 "(1,21): expected-named-closing-tag-but-got-eof"
45337 ],
45338 "document": {
45339 "props": {
45340 "tags": {
45341 "html": true,
45342 "head": true,
45343 "script": true,
45344 "body": true
45345 },
45346 "no_escape": true
45347 },
45348 "tree": [
45349 {
45350 "tag": "html",
45351 "children": [
45352 {
45353 "tag": "head",
45354 "children": [
45355 {
45356 "tag": "script",
45357 "children": [
45358 {
45359 "text": "<!--",
45360 "no_escape": true
45361 }
45362 ]
45363 }
45364 ]
45365 },
45366 {
45367 "tag": "body"
45368 }
45369 ]
45370 }
45371 ],
45372 "html": "<html><head><script><!--</script></head><body></body></html>",
45373 "noQuirksBodyHtml": "<script><!--</script>"
45374 }
45375 },
45376 {
45377 "data": "<script><!--<s",
45378 "errors": [
45379 "(1,8): expected-doctype-but-got-start-tag",
45380 "(1,14): expected-named-closing-tag-but-got-eof",
45381 "(1,14): unexpected-eof-in-text-mode"
45382 ],
45383 "document": {
45384 "props": {
45385 "tags": {
45386 "html": true,
45387 "head": true,
45388 "script": true,
45389 "body": true
45390 },
45391 "no_escape": true
45392 },
45393 "tree": [
45394 {
45395 "tag": "html",
45396 "children": [
45397 {
45398 "tag": "head",
45399 "children": [
45400 {
45401 "tag": "script",
45402 "children": [
45403 {
45404 "text": "<!--<s",
45405 "no_escape": true
45406 }
45407 ]
45408 }
45409 ]
45410 },
45411 {
45412 "tag": "body"
45413 }
45414 ]
45415 }
45416 ],
45417 "html": "<html><head><script><!--<s</script></head><body></body></html>",
45418 "noQuirksBodyHtml": "<script><!--<s</script>"
45419 }
45420 },
45421 {
45422 "data": "<script><!--<script",
45423 "errors": [
45424 "(1,8): expected-doctype-but-got-start-tag",
45425 "(1,19): expected-named-closing-tag-but-got-eof",
45426 "(1,19): unexpected-eof-in-text-mode"
45427 ],
45428 "document": {
45429 "props": {
45430 "tags": {
45431 "html": true,
45432 "head": true,
45433 "script": true,
45434 "body": true
45435 },
45436 "no_escape": true
45437 },
45438 "tree": [
45439 {
45440 "tag": "html",
45441 "children": [
45442 {
45443 "tag": "head",
45444 "children": [
45445 {
45446 "tag": "script",
45447 "children": [
45448 {
45449 "text": "<!--<script",
45450 "no_escape": true
45451 }
45452 ]
45453 }
45454 ]
45455 },
45456 {
45457 "tag": "body"
45458 }
45459 ]
45460 }
45461 ],
45462 "html": "<html><head><script><!--<script</script></head><body></body></html>",
45463 "noQuirksBodyHtml": "<script><!--<script</script>"
45464 }
45465 },
45466 {
45467 "data": "<script><!--<script ",
45468 "errors": [
45469 "(1,8): expected-doctype-but-got-start-tag",
45470 "(1,20): eof-in-script-in-script",
45471 "(1,20): expected-named-closing-tag-but-got-eof"
45472 ],
45473 "document": {
45474 "props": {
45475 "tags": {
45476 "html": true,
45477 "head": true,
45478 "script": true,
45479 "body": true
45480 },
45481 "no_escape": true
45482 },
45483 "tree": [
45484 {
45485 "tag": "html",
45486 "children": [
45487 {
45488 "tag": "head",
45489 "children": [
45490 {
45491 "tag": "script",
45492 "children": [
45493 {
45494 "text": "<!--<script ",
45495 "no_escape": true
45496 }
45497 ]
45498 }
45499 ]
45500 },
45501 {
45502 "tag": "body"
45503 }
45504 ]
45505 }
45506 ],
45507 "html": "<html><head><script><!--<script </script></head><body></body></html>",
45508 "noQuirksBodyHtml": "<script><!--<script </script>"
45509 }
45510 },
45511 {
45512 "data": "<script><!--<script <",
45513 "errors": [
45514 "(1,8): expected-doctype-but-got-start-tag",
45515 "(1,21): eof-in-script-in-script",
45516 "(1,21): expected-named-closing-tag-but-got-eof"
45517 ],
45518 "document": {
45519 "props": {
45520 "tags": {
45521 "html": true,
45522 "head": true,
45523 "script": true,
45524 "body": true
45525 },
45526 "no_escape": true
45527 },
45528 "tree": [
45529 {
45530 "tag": "html",
45531 "children": [
45532 {
45533 "tag": "head",
45534 "children": [
45535 {
45536 "tag": "script",
45537 "children": [
45538 {
45539 "text": "<!--<script <",
45540 "no_escape": true
45541 }
45542 ]
45543 }
45544 ]
45545 },
45546 {
45547 "tag": "body"
45548 }
45549 ]
45550 }
45551 ],
45552 "html": "<html><head><script><!--<script <</script></head><body></body></html>",
45553 "noQuirksBodyHtml": "<script><!--<script <</script>"
45554 }
45555 },
45556 {
45557 "data": "<script><!--<script <a",
45558 "errors": [
45559 "(1,8): expected-doctype-but-got-start-tag",
45560 "(1,22): eof-in-script-in-script",
45561 "(1,22): expected-named-closing-tag-but-got-eof"
45562 ],
45563 "document": {
45564 "props": {
45565 "tags": {
45566 "html": true,
45567 "head": true,
45568 "script": true,
45569 "body": true
45570 },
45571 "no_escape": true
45572 },
45573 "tree": [
45574 {
45575 "tag": "html",
45576 "children": [
45577 {
45578 "tag": "head",
45579 "children": [
45580 {
45581 "tag": "script",
45582 "children": [
45583 {
45584 "text": "<!--<script <a",
45585 "no_escape": true
45586 }
45587 ]
45588 }
45589 ]
45590 },
45591 {
45592 "tag": "body"
45593 }
45594 ]
45595 }
45596 ],
45597 "html": "<html><head><script><!--<script <a</script></head><body></body></html>",
45598 "noQuirksBodyHtml": "<script><!--<script <a</script>"
45599 }
45600 },
45601 {
45602 "data": "<script><!--<script </",
45603 "errors": [
45604 "(1,8): expected-doctype-but-got-start-tag",
45605 "(1,22): eof-in-script-in-script",
45606 "(1,22): expected-named-closing-tag-but-got-eof"
45607 ],
45608 "document": {
45609 "props": {
45610 "tags": {
45611 "html": true,
45612 "head": true,
45613 "script": true,
45614 "body": true
45615 },
45616 "no_escape": true
45617 },
45618 "tree": [
45619 {
45620 "tag": "html",
45621 "children": [
45622 {
45623 "tag": "head",
45624 "children": [
45625 {
45626 "tag": "script",
45627 "children": [
45628 {
45629 "text": "<!--<script </",
45630 "no_escape": true
45631 }
45632 ]
45633 }
45634 ]
45635 },
45636 {
45637 "tag": "body"
45638 }
45639 ]
45640 }
45641 ],
45642 "html": "<html><head><script><!--<script </</script></head><body></body></html>",
45643 "noQuirksBodyHtml": "<script><!--<script </</script>"
45644 }
45645 },
45646 {
45647 "data": "<script><!--<script </s",
45648 "errors": [
45649 "(1,8): expected-doctype-but-got-start-tag",
45650 "(1,23): eof-in-script-in-script",
45651 "(1,23): expected-named-closing-tag-but-got-eof"
45652 ],
45653 "document": {
45654 "props": {
45655 "tags": {
45656 "html": true,
45657 "head": true,
45658 "script": true,
45659 "body": true
45660 },
45661 "no_escape": true
45662 },
45663 "tree": [
45664 {
45665 "tag": "html",
45666 "children": [
45667 {
45668 "tag": "head",
45669 "children": [
45670 {
45671 "tag": "script",
45672 "children": [
45673 {
45674 "text": "<!--<script </s",
45675 "no_escape": true
45676 }
45677 ]
45678 }
45679 ]
45680 },
45681 {
45682 "tag": "body"
45683 }
45684 ]
45685 }
45686 ],
45687 "html": "<html><head><script><!--<script </s</script></head><body></body></html>",
45688 "noQuirksBodyHtml": "<script><!--<script </s</script>"
45689 }
45690 },
45691 {
45692 "data": "<script><!--<script </script",
45693 "errors": [
45694 "(1,8): expected-doctype-but-got-start-tag",
45695 "(1,28): eof-in-script-in-script",
45696 "(1,28): expected-named-closing-tag-but-got-eof"
45697 ],
45698 "document": {
45699 "props": {
45700 "tags": {
45701 "html": true,
45702 "head": true,
45703 "script": true,
45704 "body": true
45705 },
45706 "no_escape": true
45707 },
45708 "tree": [
45709 {
45710 "tag": "html",
45711 "children": [
45712 {
45713 "tag": "head",
45714 "children": [
45715 {
45716 "tag": "script",
45717 "children": [
45718 {
45719 "text": "<!--<script </script",
45720 "no_escape": true
45721 }
45722 ]
45723 }
45724 ]
45725 },
45726 {
45727 "tag": "body"
45728 }
45729 ]
45730 }
45731 ],
45732 "html": "<html><head><script><!--<script </script</script></head><body></body></html>",
45733 "noQuirksBodyHtml": "<script><!--<script </script</script>"
45734 }
45735 },
45736 {
45737 "data": "<script><!--<script </scripta",
45738 "errors": [
45739 "(1,8): expected-doctype-but-got-start-tag",
45740 "(1,29): eof-in-script-in-script",
45741 "(1,29): expected-named-closing-tag-but-got-eof"
45742 ],
45743 "document": {
45744 "props": {
45745 "tags": {
45746 "html": true,
45747 "head": true,
45748 "script": true,
45749 "body": true
45750 },
45751 "no_escape": true
45752 },
45753 "tree": [
45754 {
45755 "tag": "html",
45756 "children": [
45757 {
45758 "tag": "head",
45759 "children": [
45760 {
45761 "tag": "script",
45762 "children": [
45763 {
45764 "text": "<!--<script </scripta",
45765 "no_escape": true
45766 }
45767 ]
45768 }
45769 ]
45770 },
45771 {
45772 "tag": "body"
45773 }
45774 ]
45775 }
45776 ],
45777 "html": "<html><head><script><!--<script </scripta</script></head><body></body></html>",
45778 "noQuirksBodyHtml": "<script><!--<script </scripta</script>"
45779 }
45780 },
45781 {
45782 "data": "<script><!--<script </script ",
45783 "errors": [
45784 "(1,8): expected-doctype-but-got-start-tag",
45785 "(1,29): expected-named-closing-tag-but-got-eof",
45786 "(1,29): unexpected-eof-in-text-mode"
45787 ],
45788 "document": {
45789 "props": {
45790 "tags": {
45791 "html": true,
45792 "head": true,
45793 "script": true,
45794 "body": true
45795 },
45796 "no_escape": true
45797 },
45798 "tree": [
45799 {
45800 "tag": "html",
45801 "children": [
45802 {
45803 "tag": "head",
45804 "children": [
45805 {
45806 "tag": "script",
45807 "children": [
45808 {
45809 "text": "<!--<script </script ",
45810 "no_escape": true
45811 }
45812 ]
45813 }
45814 ]
45815 },
45816 {
45817 "tag": "body"
45818 }
45819 ]
45820 }
45821 ],
45822 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
45823 "noQuirksBodyHtml": "<script><!--<script </script </script>"
45824 }
45825 },
45826 {
45827 "data": "<script><!--<script </script>",
45828 "errors": [
45829 "(1,8): expected-doctype-but-got-start-tag",
45830 "(1,29): expected-named-closing-tag-but-got-eof",
45831 "(1,29): unexpected-eof-in-text-mode"
45832 ],
45833 "document": {
45834 "props": {
45835 "tags": {
45836 "html": true,
45837 "head": true,
45838 "script": true,
45839 "body": true
45840 },
45841 "no_escape": true
45842 },
45843 "tree": [
45844 {
45845 "tag": "html",
45846 "children": [
45847 {
45848 "tag": "head",
45849 "children": [
45850 {
45851 "tag": "script",
45852 "children": [
45853 {
45854 "text": "<!--<script </script>",
45855 "no_escape": true
45856 }
45857 ]
45858 }
45859 ]
45860 },
45861 {
45862 "tag": "body"
45863 }
45864 ]
45865 }
45866 ],
45867 "html": "<html><head><script><!--<script </script></script></head><body></body></html>",
45868 "noQuirksBodyHtml": "<script><!--<script </script></script>"
45869 }
45870 },
45871 {
45872 "data": "<script><!--<script </script/",
45873 "errors": [
45874 "(1,8): expected-doctype-but-got-start-tag",
45875 "(1,29): expected-named-closing-tag-but-got-eof",
45876 "(1,29): unexpected-eof-in-text-mode"
45877 ],
45878 "document": {
45879 "props": {
45880 "tags": {
45881 "html": true,
45882 "head": true,
45883 "script": true,
45884 "body": true
45885 },
45886 "no_escape": true
45887 },
45888 "tree": [
45889 {
45890 "tag": "html",
45891 "children": [
45892 {
45893 "tag": "head",
45894 "children": [
45895 {
45896 "tag": "script",
45897 "children": [
45898 {
45899 "text": "<!--<script </script/",
45900 "no_escape": true
45901 }
45902 ]
45903 }
45904 ]
45905 },
45906 {
45907 "tag": "body"
45908 }
45909 ]
45910 }
45911 ],
45912 "html": "<html><head><script><!--<script </script/</script></head><body></body></html>",
45913 "noQuirksBodyHtml": "<script><!--<script </script/</script>"
45914 }
45915 },
45916 {
45917 "data": "<script><!--<script </script <",
45918 "errors": [
45919 "(1,8): expected-doctype-but-got-start-tag",
45920 "(1,30): expected-named-closing-tag-but-got-eof",
45921 "(1,30): unexpected-eof-in-text-mode"
45922 ],
45923 "document": {
45924 "props": {
45925 "tags": {
45926 "html": true,
45927 "head": true,
45928 "script": true,
45929 "body": true
45930 },
45931 "no_escape": true
45932 },
45933 "tree": [
45934 {
45935 "tag": "html",
45936 "children": [
45937 {
45938 "tag": "head",
45939 "children": [
45940 {
45941 "tag": "script",
45942 "children": [
45943 {
45944 "text": "<!--<script </script <",
45945 "no_escape": true
45946 }
45947 ]
45948 }
45949 ]
45950 },
45951 {
45952 "tag": "body"
45953 }
45954 ]
45955 }
45956 ],
45957 "html": "<html><head><script><!--<script </script <</script></head><body></body></html>",
45958 "noQuirksBodyHtml": "<script><!--<script </script <</script>"
45959 }
45960 },
45961 {
45962 "data": "<script><!--<script </script <a",
45963 "errors": [
45964 "(1,8): expected-doctype-but-got-start-tag",
45965 "(1,31): expected-named-closing-tag-but-got-eof",
45966 "(1,31): unexpected-eof-in-text-mode"
45967 ],
45968 "document": {
45969 "props": {
45970 "tags": {
45971 "html": true,
45972 "head": true,
45973 "script": true,
45974 "body": true
45975 },
45976 "no_escape": true
45977 },
45978 "tree": [
45979 {
45980 "tag": "html",
45981 "children": [
45982 {
45983 "tag": "head",
45984 "children": [
45985 {
45986 "tag": "script",
45987 "children": [
45988 {
45989 "text": "<!--<script </script <a",
45990 "no_escape": true
45991 }
45992 ]
45993 }
45994 ]
45995 },
45996 {
45997 "tag": "body"
45998 }
45999 ]
46000 }
46001 ],
46002 "html": "<html><head><script><!--<script </script <a</script></head><body></body></html>",
46003 "noQuirksBodyHtml": "<script><!--<script </script <a</script>"
46004 }
46005 },
46006 {
46007 "data": "<script><!--<script </script </",
46008 "errors": [
46009 "(1,8): expected-doctype-but-got-start-tag",
46010 "(1,31): expected-named-closing-tag-but-got-eof",
46011 "(1,31): unexpected-eof-in-text-mode"
46012 ],
46013 "document": {
46014 "props": {
46015 "tags": {
46016 "html": true,
46017 "head": true,
46018 "script": true,
46019 "body": true
46020 },
46021 "no_escape": true
46022 },
46023 "tree": [
46024 {
46025 "tag": "html",
46026 "children": [
46027 {
46028 "tag": "head",
46029 "children": [
46030 {
46031 "tag": "script",
46032 "children": [
46033 {
46034 "text": "<!--<script </script </",
46035 "no_escape": true
46036 }
46037 ]
46038 }
46039 ]
46040 },
46041 {
46042 "tag": "body"
46043 }
46044 ]
46045 }
46046 ],
46047 "html": "<html><head><script><!--<script </script </</script></head><body></body></html>",
46048 "noQuirksBodyHtml": "<script><!--<script </script </</script>"
46049 }
46050 },
46051 {
46052 "data": "<script><!--<script </script </script",
46053 "errors": [
46054 "(1,8): expected-doctype-but-got-start-tag",
46055 "(1,37): expected-named-closing-tag-but-got-eof",
46056 "(1,37): unexpected-eof-in-text-mode"
46057 ],
46058 "document": {
46059 "props": {
46060 "tags": {
46061 "html": true,
46062 "head": true,
46063 "script": true,
46064 "body": true
46065 },
46066 "no_escape": true
46067 },
46068 "tree": [
46069 {
46070 "tag": "html",
46071 "children": [
46072 {
46073 "tag": "head",
46074 "children": [
46075 {
46076 "tag": "script",
46077 "children": [
46078 {
46079 "text": "<!--<script </script </script",
46080 "no_escape": true
46081 }
46082 ]
46083 }
46084 ]
46085 },
46086 {
46087 "tag": "body"
46088 }
46089 ]
46090 }
46091 ],
46092 "html": "<html><head><script><!--<script </script </script</script></head><body></body></html>",
46093 "noQuirksBodyHtml": "<script><!--<script </script </script</script>"
46094 }
46095 },
46096 {
46097 "data": "<script><!--<script </script </script ",
46098 "errors": [
46099 "(1,8): expected-doctype-but-got-start-tag",
46100 "(1,38): expected-attribute-name-but-got-eof",
46101 "(1,38): expected-named-closing-tag-but-got-eof"
46102 ],
46103 "document": {
46104 "props": {
46105 "tags": {
46106 "html": true,
46107 "head": true,
46108 "script": true,
46109 "body": true
46110 },
46111 "no_escape": true
46112 },
46113 "tree": [
46114 {
46115 "tag": "html",
46116 "children": [
46117 {
46118 "tag": "head",
46119 "children": [
46120 {
46121 "tag": "script",
46122 "children": [
46123 {
46124 "text": "<!--<script </script ",
46125 "no_escape": true
46126 }
46127 ]
46128 }
46129 ]
46130 },
46131 {
46132 "tag": "body"
46133 }
46134 ]
46135 }
46136 ],
46137 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
46138 "noQuirksBodyHtml": "<script><!--<script </script </script>"
46139 }
46140 },
46141 {
46142 "data": "<script><!--<script </script </script/",
46143 "errors": [
46144 "(1,8): expected-doctype-but-got-start-tag",
46145 "(1,38): unexpected-EOF-after-solidus-in-tag",
46146 "(1,38): expected-named-closing-tag-but-got-eof"
46147 ],
46148 "document": {
46149 "props": {
46150 "tags": {
46151 "html": true,
46152 "head": true,
46153 "script": true,
46154 "body": true
46155 },
46156 "no_escape": true
46157 },
46158 "tree": [
46159 {
46160 "tag": "html",
46161 "children": [
46162 {
46163 "tag": "head",
46164 "children": [
46165 {
46166 "tag": "script",
46167 "children": [
46168 {
46169 "text": "<!--<script </script ",
46170 "no_escape": true
46171 }
46172 ]
46173 }
46174 ]
46175 },
46176 {
46177 "tag": "body"
46178 }
46179 ]
46180 }
46181 ],
46182 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
46183 "noQuirksBodyHtml": "<script><!--<script </script </script>"
46184 }
46185 },
46186 {
46187 "data": "<script><!--<script </script </script>",
46188 "errors": [
46189 "(1,8): expected-doctype-but-got-start-tag"
46190 ],
46191 "document": {
46192 "props": {
46193 "tags": {
46194 "html": true,
46195 "head": true,
46196 "script": true,
46197 "body": true
46198 },
46199 "no_escape": true
46200 },
46201 "tree": [
46202 {
46203 "tag": "html",
46204 "children": [
46205 {
46206 "tag": "head",
46207 "children": [
46208 {
46209 "tag": "script",
46210 "children": [
46211 {
46212 "text": "<!--<script </script ",
46213 "no_escape": true
46214 }
46215 ]
46216 }
46217 ]
46218 },
46219 {
46220 "tag": "body"
46221 }
46222 ]
46223 }
46224 ],
46225 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
46226 "noQuirksBodyHtml": "<script><!--<script </script </script>"
46227 }
46228 },
46229 {
46230 "data": "<script><!--<script -",
46231 "errors": [
46232 "(1,8): expected-doctype-but-got-start-tag",
46233 "(1,21): eof-in-script-in-script",
46234 "(1,21): expected-named-closing-tag-but-got-eof"
46235 ],
46236 "document": {
46237 "props": {
46238 "tags": {
46239 "html": true,
46240 "head": true,
46241 "script": true,
46242 "body": true
46243 },
46244 "no_escape": true
46245 },
46246 "tree": [
46247 {
46248 "tag": "html",
46249 "children": [
46250 {
46251 "tag": "head",
46252 "children": [
46253 {
46254 "tag": "script",
46255 "children": [
46256 {
46257 "text": "<!--<script -",
46258 "no_escape": true
46259 }
46260 ]
46261 }
46262 ]
46263 },
46264 {
46265 "tag": "body"
46266 }
46267 ]
46268 }
46269 ],
46270 "html": "<html><head><script><!--<script -</script></head><body></body></html>",
46271 "noQuirksBodyHtml": "<script><!--<script -</script>"
46272 }
46273 },
46274 {
46275 "data": "<script><!--<script -a",
46276 "errors": [
46277 "(1,8): expected-doctype-but-got-start-tag",
46278 "(1,22): eof-in-script-in-script",
46279 "(1,22): expected-named-closing-tag-but-got-eof"
46280 ],
46281 "document": {
46282 "props": {
46283 "tags": {
46284 "html": true,
46285 "head": true,
46286 "script": true,
46287 "body": true
46288 },
46289 "no_escape": true
46290 },
46291 "tree": [
46292 {
46293 "tag": "html",
46294 "children": [
46295 {
46296 "tag": "head",
46297 "children": [
46298 {
46299 "tag": "script",
46300 "children": [
46301 {
46302 "text": "<!--<script -a",
46303 "no_escape": true
46304 }
46305 ]
46306 }
46307 ]
46308 },
46309 {
46310 "tag": "body"
46311 }
46312 ]
46313 }
46314 ],
46315 "html": "<html><head><script><!--<script -a</script></head><body></body></html>",
46316 "noQuirksBodyHtml": "<script><!--<script -a</script>"
46317 }
46318 },
46319 {
46320 "data": "<script><!--<script --",
46321 "errors": [
46322 "(1,8): expected-doctype-but-got-start-tag",
46323 "(1,22): eof-in-script-in-script",
46324 "(1,22): expected-named-closing-tag-but-got-eof"
46325 ],
46326 "document": {
46327 "props": {
46328 "tags": {
46329 "html": true,
46330 "head": true,
46331 "script": true,
46332 "body": true
46333 },
46334 "no_escape": true
46335 },
46336 "tree": [
46337 {
46338 "tag": "html",
46339 "children": [
46340 {
46341 "tag": "head",
46342 "children": [
46343 {
46344 "tag": "script",
46345 "children": [
46346 {
46347 "text": "<!--<script --",
46348 "no_escape": true
46349 }
46350 ]
46351 }
46352 ]
46353 },
46354 {
46355 "tag": "body"
46356 }
46357 ]
46358 }
46359 ],
46360 "html": "<html><head><script><!--<script --</script></head><body></body></html>",
46361 "noQuirksBodyHtml": "<script><!--<script --</script>"
46362 }
46363 },
46364 {
46365 "data": "<script><!--<script --a",
46366 "errors": [
46367 "(1,8): expected-doctype-but-got-start-tag",
46368 "(1,23): eof-in-script-in-script",
46369 "(1,23): expected-named-closing-tag-but-got-eof"
46370 ],
46371 "document": {
46372 "props": {
46373 "tags": {
46374 "html": true,
46375 "head": true,
46376 "script": true,
46377 "body": true
46378 },
46379 "no_escape": true
46380 },
46381 "tree": [
46382 {
46383 "tag": "html",
46384 "children": [
46385 {
46386 "tag": "head",
46387 "children": [
46388 {
46389 "tag": "script",
46390 "children": [
46391 {
46392 "text": "<!--<script --a",
46393 "no_escape": true
46394 }
46395 ]
46396 }
46397 ]
46398 },
46399 {
46400 "tag": "body"
46401 }
46402 ]
46403 }
46404 ],
46405 "html": "<html><head><script><!--<script --a</script></head><body></body></html>",
46406 "noQuirksBodyHtml": "<script><!--<script --a</script>"
46407 }
46408 },
46409 {
46410 "data": "<script><!--<script -->",
46411 "errors": [
46412 "(1,8): expected-doctype-but-got-start-tag",
46413 "(1,23): expected-named-closing-tag-but-got-eof"
46414 ],
46415 "document": {
46416 "props": {
46417 "tags": {
46418 "html": true,
46419 "head": true,
46420 "script": true,
46421 "body": true
46422 },
46423 "no_escape": true
46424 },
46425 "tree": [
46426 {
46427 "tag": "html",
46428 "children": [
46429 {
46430 "tag": "head",
46431 "children": [
46432 {
46433 "tag": "script",
46434 "children": [
46435 {
46436 "text": "<!--<script -->",
46437 "no_escape": true
46438 }
46439 ]
46440 }
46441 ]
46442 },
46443 {
46444 "tag": "body"
46445 }
46446 ]
46447 }
46448 ],
46449 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
46450 "noQuirksBodyHtml": "<script><!--<script --></script>"
46451 }
46452 },
46453 {
46454 "data": "<script><!--<script --><",
46455 "errors": [
46456 "(1,8): expected-doctype-but-got-start-tag",
46457 "(1,24): expected-named-closing-tag-but-got-eof"
46458 ],
46459 "document": {
46460 "props": {
46461 "tags": {
46462 "html": true,
46463 "head": true,
46464 "script": true,
46465 "body": true
46466 },
46467 "no_escape": true
46468 },
46469 "tree": [
46470 {
46471 "tag": "html",
46472 "children": [
46473 {
46474 "tag": "head",
46475 "children": [
46476 {
46477 "tag": "script",
46478 "children": [
46479 {
46480 "text": "<!--<script --><",
46481 "no_escape": true
46482 }
46483 ]
46484 }
46485 ]
46486 },
46487 {
46488 "tag": "body"
46489 }
46490 ]
46491 }
46492 ],
46493 "html": "<html><head><script><!--<script --><</script></head><body></body></html>",
46494 "noQuirksBodyHtml": "<script><!--<script --><</script>"
46495 }
46496 },
46497 {
46498 "data": "<script><!--<script --></",
46499 "errors": [
46500 "(1,8): expected-doctype-but-got-start-tag",
46501 "(1,25): expected-named-closing-tag-but-got-eof"
46502 ],
46503 "document": {
46504 "props": {
46505 "tags": {
46506 "html": true,
46507 "head": true,
46508 "script": true,
46509 "body": true
46510 },
46511 "no_escape": true
46512 },
46513 "tree": [
46514 {
46515 "tag": "html",
46516 "children": [
46517 {
46518 "tag": "head",
46519 "children": [
46520 {
46521 "tag": "script",
46522 "children": [
46523 {
46524 "text": "<!--<script --></",
46525 "no_escape": true
46526 }
46527 ]
46528 }
46529 ]
46530 },
46531 {
46532 "tag": "body"
46533 }
46534 ]
46535 }
46536 ],
46537 "html": "<html><head><script><!--<script --></</script></head><body></body></html>",
46538 "noQuirksBodyHtml": "<script><!--<script --></</script>"
46539 }
46540 },
46541 {
46542 "data": "<script><!--<script --></script",
46543 "errors": [
46544 "(1,8): expected-doctype-but-got-start-tag",
46545 "(1,31): expected-named-closing-tag-but-got-eof"
46546 ],
46547 "document": {
46548 "props": {
46549 "tags": {
46550 "html": true,
46551 "head": true,
46552 "script": true,
46553 "body": true
46554 },
46555 "no_escape": true
46556 },
46557 "tree": [
46558 {
46559 "tag": "html",
46560 "children": [
46561 {
46562 "tag": "head",
46563 "children": [
46564 {
46565 "tag": "script",
46566 "children": [
46567 {
46568 "text": "<!--<script --></script",
46569 "no_escape": true
46570 }
46571 ]
46572 }
46573 ]
46574 },
46575 {
46576 "tag": "body"
46577 }
46578 ]
46579 }
46580 ],
46581 "html": "<html><head><script><!--<script --></script</script></head><body></body></html>",
46582 "noQuirksBodyHtml": "<script><!--<script --></script</script>"
46583 }
46584 },
46585 {
46586 "data": "<script><!--<script --></script ",
46587 "errors": [
46588 "(1,8): expected-doctype-but-got-start-tag",
46589 "(1,32): expected-attribute-name-but-got-eof",
46590 "(1,32): expected-named-closing-tag-but-got-eof"
46591 ],
46592 "document": {
46593 "props": {
46594 "tags": {
46595 "html": true,
46596 "head": true,
46597 "script": true,
46598 "body": true
46599 },
46600 "no_escape": true
46601 },
46602 "tree": [
46603 {
46604 "tag": "html",
46605 "children": [
46606 {
46607 "tag": "head",
46608 "children": [
46609 {
46610 "tag": "script",
46611 "children": [
46612 {
46613 "text": "<!--<script -->",
46614 "no_escape": true
46615 }
46616 ]
46617 }
46618 ]
46619 },
46620 {
46621 "tag": "body"
46622 }
46623 ]
46624 }
46625 ],
46626 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
46627 "noQuirksBodyHtml": "<script><!--<script --></script>"
46628 }
46629 },
46630 {
46631 "data": "<script><!--<script --></script/",
46632 "errors": [
46633 "(1,8): expected-doctype-but-got-start-tag",
46634 "(1,32): unexpected-EOF-after-solidus-in-tag",
46635 "(1,32): expected-named-closing-tag-but-got-eof"
46636 ],
46637 "document": {
46638 "props": {
46639 "tags": {
46640 "html": true,
46641 "head": true,
46642 "script": true,
46643 "body": true
46644 },
46645 "no_escape": true
46646 },
46647 "tree": [
46648 {
46649 "tag": "html",
46650 "children": [
46651 {
46652 "tag": "head",
46653 "children": [
46654 {
46655 "tag": "script",
46656 "children": [
46657 {
46658 "text": "<!--<script -->",
46659 "no_escape": true
46660 }
46661 ]
46662 }
46663 ]
46664 },
46665 {
46666 "tag": "body"
46667 }
46668 ]
46669 }
46670 ],
46671 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
46672 "noQuirksBodyHtml": "<script><!--<script --></script>"
46673 }
46674 },
46675 {
46676 "data": "<script><!--<script --></script>",
46677 "errors": [
46678 "(1,8): expected-doctype-but-got-start-tag"
46679 ],
46680 "document": {
46681 "props": {
46682 "tags": {
46683 "html": true,
46684 "head": true,
46685 "script": true,
46686 "body": true
46687 },
46688 "no_escape": true
46689 },
46690 "tree": [
46691 {
46692 "tag": "html",
46693 "children": [
46694 {
46695 "tag": "head",
46696 "children": [
46697 {
46698 "tag": "script",
46699 "children": [
46700 {
46701 "text": "<!--<script -->",
46702 "no_escape": true
46703 }
46704 ]
46705 }
46706 ]
46707 },
46708 {
46709 "tag": "body"
46710 }
46711 ]
46712 }
46713 ],
46714 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
46715 "noQuirksBodyHtml": "<script><!--<script --></script>"
46716 }
46717 },
46718 {
46719 "data": "<script><!--<script><\\/script>--></script>",
46720 "errors": [
46721 "(1,8): expected-doctype-but-got-start-tag"
46722 ],
46723 "document": {
46724 "props": {
46725 "tags": {
46726 "html": true,
46727 "head": true,
46728 "script": true,
46729 "body": true
46730 },
46731 "no_escape": true
46732 },
46733 "tree": [
46734 {
46735 "tag": "html",
46736 "children": [
46737 {
46738 "tag": "head",
46739 "children": [
46740 {
46741 "tag": "script",
46742 "children": [
46743 {
46744 "text": "<!--<script><\\/script>-->",
46745 "no_escape": true
46746 }
46747 ]
46748 }
46749 ]
46750 },
46751 {
46752 "tag": "body"
46753 }
46754 ]
46755 }
46756 ],
46757 "html": "<html><head><script><!--<script><\\/script>--></script></head><body></body></html>",
46758 "noQuirksBodyHtml": "<script><!--<script><\\/script>--></script>"
46759 }
46760 },
46761 {
46762 "data": "<script><!--<script></scr'+'ipt>--></script>",
46763 "errors": [
46764 "(1,8): expected-doctype-but-got-start-tag"
46765 ],
46766 "document": {
46767 "props": {
46768 "tags": {
46769 "html": true,
46770 "head": true,
46771 "script": true,
46772 "body": true
46773 },
46774 "no_escape": true
46775 },
46776 "tree": [
46777 {
46778 "tag": "html",
46779 "children": [
46780 {
46781 "tag": "head",
46782 "children": [
46783 {
46784 "tag": "script",
46785 "children": [
46786 {
46787 "text": "<!--<script></scr'+'ipt>-->",
46788 "no_escape": true
46789 }
46790 ]
46791 }
46792 ]
46793 },
46794 {
46795 "tag": "body"
46796 }
46797 ]
46798 }
46799 ],
46800 "html": "<html><head><script><!--<script></scr'+'ipt>--></script></head><body></body></html>",
46801 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt>--></script>"
46802 }
46803 },
46804 {
46805 "data": "<script><!--<script></script><script></script></script>",
46806 "errors": [
46807 "(1,8): expected-doctype-but-got-start-tag"
46808 ],
46809 "document": {
46810 "props": {
46811 "tags": {
46812 "html": true,
46813 "head": true,
46814 "script": true,
46815 "body": true
46816 },
46817 "no_escape": true
46818 },
46819 "tree": [
46820 {
46821 "tag": "html",
46822 "children": [
46823 {
46824 "tag": "head",
46825 "children": [
46826 {
46827 "tag": "script",
46828 "children": [
46829 {
46830 "text": "<!--<script></script><script></script>",
46831 "no_escape": true
46832 }
46833 ]
46834 }
46835 ]
46836 },
46837 {
46838 "tag": "body"
46839 }
46840 ]
46841 }
46842 ],
46843 "html": "<html><head><script><!--<script></script><script></script></script></head><body></body></html>",
46844 "noQuirksBodyHtml": "<script><!--<script></script><script></script></script>"
46845 }
46846 },
46847 {
46848 "data": "<script><!--<script></script><script></script>--><!--</script>",
46849 "errors": [
46850 "(1,8): expected-doctype-but-got-start-tag"
46851 ],
46852 "document": {
46853 "props": {
46854 "tags": {
46855 "html": true,
46856 "head": true,
46857 "script": true,
46858 "body": true
46859 },
46860 "no_escape": true
46861 },
46862 "tree": [
46863 {
46864 "tag": "html",
46865 "children": [
46866 {
46867 "tag": "head",
46868 "children": [
46869 {
46870 "tag": "script",
46871 "children": [
46872 {
46873 "text": "<!--<script></script><script></script>--><!--",
46874 "no_escape": true
46875 }
46876 ]
46877 }
46878 ]
46879 },
46880 {
46881 "tag": "body"
46882 }
46883 ]
46884 }
46885 ],
46886 "html": "<html><head><script><!--<script></script><script></script>--><!--</script></head><body></body></html>",
46887 "noQuirksBodyHtml": "<script><!--<script></script><script></script>--><!--</script>"
46888 }
46889 },
46890 {
46891 "data": "<script><!--<script></script><script></script>-- ></script>",
46892 "errors": [
46893 "(1,8): expected-doctype-but-got-start-tag"
46894 ],
46895 "document": {
46896 "props": {
46897 "tags": {
46898 "html": true,
46899 "head": true,
46900 "script": true,
46901 "body": true
46902 },
46903 "no_escape": true
46904 },
46905 "tree": [
46906 {
46907 "tag": "html",
46908 "children": [
46909 {
46910 "tag": "head",
46911 "children": [
46912 {
46913 "tag": "script",
46914 "children": [
46915 {
46916 "text": "<!--<script></script><script></script>-- >",
46917 "no_escape": true
46918 }
46919 ]
46920 }
46921 ]
46922 },
46923 {
46924 "tag": "body"
46925 }
46926 ]
46927 }
46928 ],
46929 "html": "<html><head><script><!--<script></script><script></script>-- ></script></head><body></body></html>",
46930 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-- ></script>"
46931 }
46932 },
46933 {
46934 "data": "<script><!--<script></script><script></script>- -></script>",
46935 "errors": [
46936 "(1,8): expected-doctype-but-got-start-tag"
46937 ],
46938 "document": {
46939 "props": {
46940 "tags": {
46941 "html": true,
46942 "head": true,
46943 "script": true,
46944 "body": true
46945 },
46946 "no_escape": true
46947 },
46948 "tree": [
46949 {
46950 "tag": "html",
46951 "children": [
46952 {
46953 "tag": "head",
46954 "children": [
46955 {
46956 "tag": "script",
46957 "children": [
46958 {
46959 "text": "<!--<script></script><script></script>- ->",
46960 "no_escape": true
46961 }
46962 ]
46963 }
46964 ]
46965 },
46966 {
46967 "tag": "body"
46968 }
46969 ]
46970 }
46971 ],
46972 "html": "<html><head><script><!--<script></script><script></script>- -></script></head><body></body></html>",
46973 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- -></script>"
46974 }
46975 },
46976 {
46977 "data": "<script><!--<script></script><script></script>- - ></script>",
46978 "errors": [
46979 "(1,8): expected-doctype-but-got-start-tag"
46980 ],
46981 "document": {
46982 "props": {
46983 "tags": {
46984 "html": true,
46985 "head": true,
46986 "script": true,
46987 "body": true
46988 },
46989 "no_escape": true
46990 },
46991 "tree": [
46992 {
46993 "tag": "html",
46994 "children": [
46995 {
46996 "tag": "head",
46997 "children": [
46998 {
46999 "tag": "script",
47000 "children": [
47001 {
47002 "text": "<!--<script></script><script></script>- - >",
47003 "no_escape": true
47004 }
47005 ]
47006 }
47007 ]
47008 },
47009 {
47010 "tag": "body"
47011 }
47012 ]
47013 }
47014 ],
47015 "html": "<html><head><script><!--<script></script><script></script>- - ></script></head><body></body></html>",
47016 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- - ></script>"
47017 }
47018 },
47019 {
47020 "data": "<script><!--<script></script><script></script>-></script>",
47021 "errors": [
47022 "(1,8): expected-doctype-but-got-start-tag"
47023 ],
47024 "document": {
47025 "props": {
47026 "tags": {
47027 "html": true,
47028 "head": true,
47029 "script": true,
47030 "body": true
47031 },
47032 "no_escape": true
47033 },
47034 "tree": [
47035 {
47036 "tag": "html",
47037 "children": [
47038 {
47039 "tag": "head",
47040 "children": [
47041 {
47042 "tag": "script",
47043 "children": [
47044 {
47045 "text": "<!--<script></script><script></script>->",
47046 "no_escape": true
47047 }
47048 ]
47049 }
47050 ]
47051 },
47052 {
47053 "tag": "body"
47054 }
47055 ]
47056 }
47057 ],
47058 "html": "<html><head><script><!--<script></script><script></script>-></script></head><body></body></html>",
47059 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-></script>"
47060 }
47061 },
47062 {
47063 "data": "<script><!--<script>--!></script>X",
47064 "errors": [
47065 "(1,8): expected-doctype-but-got-start-tag",
47066 "(1,34): expected-named-closing-tag-but-got-eof",
47067 "(1,34): unexpected-eof-in-text-mode"
47068 ],
47069 "document": {
47070 "props": {
47071 "tags": {
47072 "html": true,
47073 "head": true,
47074 "script": true,
47075 "body": true
47076 },
47077 "no_escape": true
47078 },
47079 "tree": [
47080 {
47081 "tag": "html",
47082 "children": [
47083 {
47084 "tag": "head",
47085 "children": [
47086 {
47087 "tag": "script",
47088 "children": [
47089 {
47090 "text": "<!--<script>--!></script>X",
47091 "no_escape": true
47092 }
47093 ]
47094 }
47095 ]
47096 },
47097 {
47098 "tag": "body"
47099 }
47100 ]
47101 }
47102 ],
47103 "html": "<html><head><script><!--<script>--!></script>X</script></head><body></body></html>",
47104 "noQuirksBodyHtml": "<script><!--<script>--!></script>X</script>"
47105 }
47106 },
47107 {
47108 "data": "<script><!--<scr'+'ipt></script>--></script>",
47109 "errors": [
47110 "(1,8): expected-doctype-but-got-start-tag",
47111 "(1,44): unexpected-end-tag"
47112 ],
47113 "document": {
47114 "props": {
47115 "tags": {
47116 "html": true,
47117 "head": true,
47118 "script": true,
47119 "body": true
47120 },
47121 "no_escape": true,
47122 "escaped": true
47123 },
47124 "tree": [
47125 {
47126 "tag": "html",
47127 "children": [
47128 {
47129 "tag": "head",
47130 "children": [
47131 {
47132 "tag": "script",
47133 "children": [
47134 {
47135 "text": "<!--<scr'+'ipt>",
47136 "no_escape": true
47137 }
47138 ]
47139 }
47140 ]
47141 },
47142 {
47143 "tag": "body",
47144 "children": [
47145 {
47146 "text": "-->",
47147 "escaped": true
47148 }
47149 ]
47150 }
47151 ]
47152 }
47153 ],
47154 "html": "<html><head><script><!--<scr'+'ipt></script></head><body>--&gt;</body></html>",
47155 "noQuirksBodyHtml": "<script><!--<scr'+'ipt></script>--&gt;"
47156 }
47157 },
47158 {
47159 "data": "<script><!--<script></scr'+'ipt></script>X",
47160 "errors": [
47161 "(1,8): expected-doctype-but-got-start-tag",
47162 "(1,42): expected-named-closing-tag-but-got-eof",
47163 "(1,42): unexpected-eof-in-text-mode"
47164 ],
47165 "document": {
47166 "props": {
47167 "tags": {
47168 "html": true,
47169 "head": true,
47170 "script": true,
47171 "body": true
47172 },
47173 "no_escape": true
47174 },
47175 "tree": [
47176 {
47177 "tag": "html",
47178 "children": [
47179 {
47180 "tag": "head",
47181 "children": [
47182 {
47183 "tag": "script",
47184 "children": [
47185 {
47186 "text": "<!--<script></scr'+'ipt></script>X",
47187 "no_escape": true
47188 }
47189 ]
47190 }
47191 ]
47192 },
47193 {
47194 "tag": "body"
47195 }
47196 ]
47197 }
47198 ],
47199 "html": "<html><head><script><!--<script></scr'+'ipt></script>X</script></head><body></body></html>",
47200 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt></script>X</script>"
47201 }
47202 },
47203 {
47204 "data": "<style><!--<style></style>--></style>",
47205 "errors": [
47206 "(1,7): expected-doctype-but-got-start-tag",
47207 "(1,37): unexpected-end-tag"
47208 ],
47209 "document": {
47210 "props": {
47211 "tags": {
47212 "html": true,
47213 "head": true,
47214 "style": true,
47215 "body": true
47216 },
47217 "no_escape": true,
47218 "escaped": true
47219 },
47220 "tree": [
47221 {
47222 "tag": "html",
47223 "children": [
47224 {
47225 "tag": "head",
47226 "children": [
47227 {
47228 "tag": "style",
47229 "children": [
47230 {
47231 "text": "<!--<style>",
47232 "no_escape": true
47233 }
47234 ]
47235 }
47236 ]
47237 },
47238 {
47239 "tag": "body",
47240 "children": [
47241 {
47242 "text": "-->",
47243 "escaped": true
47244 }
47245 ]
47246 }
47247 ]
47248 }
47249 ],
47250 "html": "<html><head><style><!--<style></style></head><body>--&gt;</body></html>",
47251 "noQuirksBodyHtml": "<style><!--<style></style>--&gt;"
47252 }
47253 },
47254 {
47255 "data": "<style><!--</style>X",
47256 "errors": [
47257 "(1,7): expected-doctype-but-got-start-tag"
47258 ],
47259 "document": {
47260 "props": {
47261 "tags": {
47262 "html": true,
47263 "head": true,
47264 "style": true,
47265 "body": true
47266 },
47267 "no_escape": true
47268 },
47269 "tree": [
47270 {
47271 "tag": "html",
47272 "children": [
47273 {
47274 "tag": "head",
47275 "children": [
47276 {
47277 "tag": "style",
47278 "children": [
47279 {
47280 "text": "<!--",
47281 "no_escape": true
47282 }
47283 ]
47284 }
47285 ]
47286 },
47287 {
47288 "tag": "body",
47289 "children": [
47290 {
47291 "text": "X"
47292 }
47293 ]
47294 }
47295 ]
47296 }
47297 ],
47298 "html": "<html><head><style><!--</style></head><body>X</body></html>",
47299 "noQuirksBodyHtml": "<style><!--</style>X"
47300 }
47301 },
47302 {
47303 "data": "<style><!--...</style>...--></style>",
47304 "errors": [
47305 "(1,7): expected-doctype-but-got-start-tag",
47306 "(1,36): unexpected-end-tag"
47307 ],
47308 "document": {
47309 "props": {
47310 "tags": {
47311 "html": true,
47312 "head": true,
47313 "style": true,
47314 "body": true
47315 },
47316 "no_escape": true,
47317 "escaped": true
47318 },
47319 "tree": [
47320 {
47321 "tag": "html",
47322 "children": [
47323 {
47324 "tag": "head",
47325 "children": [
47326 {
47327 "tag": "style",
47328 "children": [
47329 {
47330 "text": "<!--...",
47331 "no_escape": true
47332 }
47333 ]
47334 }
47335 ]
47336 },
47337 {
47338 "tag": "body",
47339 "children": [
47340 {
47341 "text": "...-->",
47342 "escaped": true
47343 }
47344 ]
47345 }
47346 ]
47347 }
47348 ],
47349 "html": "<html><head><style><!--...</style></head><body>...--&gt;</body></html>",
47350 "noQuirksBodyHtml": "<style><!--...</style>...--&gt;"
47351 }
47352 },
47353 {
47354 "data": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
47355 "errors": [
47356 "(1,7): expected-doctype-but-got-start-tag"
47357 ],
47358 "document": {
47359 "props": {
47360 "tags": {
47361 "html": true,
47362 "head": true,
47363 "style": true,
47364 "body": true
47365 },
47366 "no_escape": true
47367 },
47368 "tree": [
47369 {
47370 "tag": "html",
47371 "children": [
47372 {
47373 "tag": "head",
47374 "children": [
47375 {
47376 "tag": "style",
47377 "children": [
47378 {
47379 "text": "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>",
47380 "no_escape": true
47381 }
47382 ]
47383 }
47384 ]
47385 },
47386 {
47387 "tag": "body",
47388 "children": [
47389 {
47390 "text": "X"
47391 }
47392 ]
47393 }
47394 ]
47395 }
47396 ],
47397 "html": "<html><head><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style></head><body>X</body></html>",
47398 "noQuirksBodyHtml": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X"
47399 }
47400 },
47401 {
47402 "data": "<style><!--...<style><!--...--!></style>--></style>",
47403 "errors": [
47404 "(1,7): expected-doctype-but-got-start-tag",
47405 "(1,51): unexpected-end-tag"
47406 ],
47407 "document": {
47408 "props": {
47409 "tags": {
47410 "html": true,
47411 "head": true,
47412 "style": true,
47413 "body": true
47414 },
47415 "no_escape": true,
47416 "escaped": true
47417 },
47418 "tree": [
47419 {
47420 "tag": "html",
47421 "children": [
47422 {
47423 "tag": "head",
47424 "children": [
47425 {
47426 "tag": "style",
47427 "children": [
47428 {
47429 "text": "<!--...<style><!--...--!>",
47430 "no_escape": true
47431 }
47432 ]
47433 }
47434 ]
47435 },
47436 {
47437 "tag": "body",
47438 "children": [
47439 {
47440 "text": "-->",
47441 "escaped": true
47442 }
47443 ]
47444 }
47445 ]
47446 }
47447 ],
47448 "html": "<html><head><style><!--...<style><!--...--!></style></head><body>--&gt;</body></html>",
47449 "noQuirksBodyHtml": "<style><!--...<style><!--...--!></style>--&gt;"
47450 }
47451 },
47452 {
47453 "data": "<style><!--...</style><!-- --><style>@import ...</style>",
47454 "errors": [
47455 "(1,7): expected-doctype-but-got-start-tag"
47456 ],
47457 "document": {
47458 "props": {
47459 "tags": {
47460 "html": true,
47461 "head": true,
47462 "style": true,
47463 "body": true
47464 },
47465 "no_escape": true,
47466 "comment": true
47467 },
47468 "tree": [
47469 {
47470 "tag": "html",
47471 "children": [
47472 {
47473 "tag": "head",
47474 "children": [
47475 {
47476 "tag": "style",
47477 "children": [
47478 {
47479 "text": "<!--...",
47480 "no_escape": true
47481 }
47482 ]
47483 },
47484 {
47485 "comment": " "
47486 },
47487 {
47488 "tag": "style",
47489 "children": [
47490 {
47491 "text": "@import ...",
47492 "no_escape": true
47493 }
47494 ]
47495 }
47496 ]
47497 },
47498 {
47499 "tag": "body"
47500 }
47501 ]
47502 }
47503 ],
47504 "html": "<html><head><style><!--...</style><!-- --><style>@import ...</style></head><body></body></html>",
47505 "noQuirksBodyHtml": "<style><!--...</style><!-- --><style>@import ...</style>"
47506 }
47507 },
47508 {
47509 "data": "<style>...<style><!--...</style><!-- --></style>",
47510 "errors": [
47511 "(1,7): expected-doctype-but-got-start-tag",
47512 "(1,48): unexpected-end-tag"
47513 ],
47514 "document": {
47515 "props": {
47516 "tags": {
47517 "html": true,
47518 "head": true,
47519 "style": true,
47520 "body": true
47521 },
47522 "no_escape": true,
47523 "comment": true
47524 },
47525 "tree": [
47526 {
47527 "tag": "html",
47528 "children": [
47529 {
47530 "tag": "head",
47531 "children": [
47532 {
47533 "tag": "style",
47534 "children": [
47535 {
47536 "text": "...<style><!--...",
47537 "no_escape": true
47538 }
47539 ]
47540 },
47541 {
47542 "comment": " "
47543 }
47544 ]
47545 },
47546 {
47547 "tag": "body"
47548 }
47549 ]
47550 }
47551 ],
47552 "html": "<html><head><style>...<style><!--...</style><!-- --></head><body></body></html>",
47553 "noQuirksBodyHtml": "<style>...<style><!--...</style><!-- -->"
47554 }
47555 },
47556 {
47557 "data": "<style>...<!--[if IE]><style>...</style>X",
47558 "errors": [
47559 "(1,7): expected-doctype-but-got-start-tag"
47560 ],
47561 "document": {
47562 "props": {
47563 "tags": {
47564 "html": true,
47565 "head": true,
47566 "style": true,
47567 "body": true
47568 },
47569 "no_escape": true
47570 },
47571 "tree": [
47572 {
47573 "tag": "html",
47574 "children": [
47575 {
47576 "tag": "head",
47577 "children": [
47578 {
47579 "tag": "style",
47580 "children": [
47581 {
47582 "text": "...<!--[if IE]><style>...",
47583 "no_escape": true
47584 }
47585 ]
47586 }
47587 ]
47588 },
47589 {
47590 "tag": "body",
47591 "children": [
47592 {
47593 "text": "X"
47594 }
47595 ]
47596 }
47597 ]
47598 }
47599 ],
47600 "html": "<html><head><style>...<!--[if IE]><style>...</style></head><body>X</body></html>",
47601 "noQuirksBodyHtml": "<style>...<!--[if IE]><style>...</style>X"
47602 }
47603 },
47604 {
47605 "data": "<title><!--<title></title>--></title>",
47606 "errors": [
47607 "(1,7): expected-doctype-but-got-start-tag",
47608 "(1,37): unexpected-end-tag"
47609 ],
47610 "document": {
47611 "props": {
47612 "tags": {
47613 "html": true,
47614 "head": true,
47615 "title": true,
47616 "body": true
47617 },
47618 "escaped": true
47619 },
47620 "tree": [
47621 {
47622 "tag": "html",
47623 "children": [
47624 {
47625 "tag": "head",
47626 "children": [
47627 {
47628 "tag": "title",
47629 "children": [
47630 {
47631 "text": "<!--<title>",
47632 "escaped": true
47633 }
47634 ]
47635 }
47636 ]
47637 },
47638 {
47639 "tag": "body",
47640 "children": [
47641 {
47642 "text": "-->",
47643 "escaped": true
47644 }
47645 ]
47646 }
47647 ]
47648 }
47649 ],
47650 "html": "<html><head><title>&lt;!--&lt;title&gt;</title></head><body>--&gt;</body></html>",
47651 "noQuirksBodyHtml": "<title>&lt;!--&lt;title&gt;</title>--&gt;"
47652 }
47653 },
47654 {
47655 "data": "<title>&lt;/title></title>",
47656 "errors": [
47657 "(1,7): expected-doctype-but-got-start-tag"
47658 ],
47659 "document": {
47660 "props": {
47661 "tags": {
47662 "html": true,
47663 "head": true,
47664 "title": true,
47665 "body": true
47666 },
47667 "escaped": true
47668 },
47669 "tree": [
47670 {
47671 "tag": "html",
47672 "children": [
47673 {
47674 "tag": "head",
47675 "children": [
47676 {
47677 "tag": "title",
47678 "children": [
47679 {
47680 "text": "</title>",
47681 "escaped": true
47682 }
47683 ]
47684 }
47685 ]
47686 },
47687 {
47688 "tag": "body"
47689 }
47690 ]
47691 }
47692 ],
47693 "html": "<html><head><title>&lt;/title&gt;</title></head><body></body></html>",
47694 "noQuirksBodyHtml": "<title>&lt;/title&gt;</title>"
47695 }
47696 },
47697 {
47698 "data": "<title>foo/title><link></head><body>X",
47699 "errors": [
47700 "(1,7): expected-doctype-but-got-start-tag",
47701 "(1,37): expected-named-closing-tag-but-got-eof"
47702 ],
47703 "document": {
47704 "props": {
47705 "tags": {
47706 "html": true,
47707 "head": true,
47708 "title": true,
47709 "body": true
47710 },
47711 "escaped": true
47712 },
47713 "tree": [
47714 {
47715 "tag": "html",
47716 "children": [
47717 {
47718 "tag": "head",
47719 "children": [
47720 {
47721 "tag": "title",
47722 "children": [
47723 {
47724 "text": "foo/title><link></head><body>X",
47725 "escaped": true
47726 }
47727 ]
47728 }
47729 ]
47730 },
47731 {
47732 "tag": "body"
47733 }
47734 ]
47735 }
47736 ],
47737 "html": "<html><head><title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title></head><body></body></html>",
47738 "noQuirksBodyHtml": "<title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title>"
47739 }
47740 },
47741 {
47742 "data": "<noscript><!--<noscript></noscript>--></noscript>",
47743 "errors": [
47744 "(1,10): expected-doctype-but-got-start-tag",
47745 "(1,49): unexpected-end-tag"
47746 ],
47747 "script": "on",
47748 "document": {
47749 "props": {
47750 "tags": {
47751 "html": true,
47752 "head": true,
47753 "noscript": true,
47754 "body": true
47755 },
47756 "no_escape": true,
47757 "escaped": true
47758 },
47759 "tree": [
47760 {
47761 "tag": "html",
47762 "children": [
47763 {
47764 "tag": "head",
47765 "children": [
47766 {
47767 "tag": "noscript",
47768 "children": [
47769 {
47770 "text": "<!--<noscript>",
47771 "no_escape": true
47772 }
47773 ]
47774 }
47775 ]
47776 },
47777 {
47778 "tag": "body",
47779 "children": [
47780 {
47781 "text": "-->",
47782 "escaped": true
47783 }
47784 ]
47785 }
47786 ]
47787 }
47788 ],
47789 "html": "<html><head><noscript><!--<noscript></noscript></head><body>--&gt;</body></html>",
47790 "noQuirksBodyHtml": "<noscript><!--<noscript></noscript>--></noscript>"
47791 }
47792 },
47793 {
47794 "data": "<noscript><!--<noscript></noscript>--></noscript>",
47795 "errors": [
47796 " * (1,11) missing DOCTYPE"
47797 ],
47798 "script": "off",
47799 "document": {
47800 "props": {
47801 "tags": {
47802 "html": true,
47803 "head": true,
47804 "noscript": true,
47805 "body": true
47806 },
47807 "comment": true
47808 },
47809 "tree": [
47810 {
47811 "tag": "html",
47812 "children": [
47813 {
47814 "tag": "head",
47815 "children": [
47816 {
47817 "tag": "noscript",
47818 "children": [
47819 {
47820 "comment": "<noscript></noscript>"
47821 }
47822 ]
47823 }
47824 ]
47825 },
47826 {
47827 "tag": "body"
47828 }
47829 ]
47830 }
47831 ],
47832 "html": "<html><head><noscript><!--<noscript></noscript>--></noscript></head><body></body></html>",
47833 "noQuirksBodyHtml": "<noscript><!--<noscript></noscript>--></noscript>"
47834 }
47835 },
47836 {
47837 "data": "<noscript><!--</noscript>X<noscript>--></noscript>",
47838 "errors": [
47839 "(1,10): expected-doctype-but-got-start-tag"
47840 ],
47841 "script": "on",
47842 "document": {
47843 "props": {
47844 "tags": {
47845 "html": true,
47846 "head": true,
47847 "noscript": true,
47848 "body": true
47849 },
47850 "no_escape": true
47851 },
47852 "tree": [
47853 {
47854 "tag": "html",
47855 "children": [
47856 {
47857 "tag": "head",
47858 "children": [
47859 {
47860 "tag": "noscript",
47861 "children": [
47862 {
47863 "text": "<!--",
47864 "no_escape": true
47865 }
47866 ]
47867 }
47868 ]
47869 },
47870 {
47871 "tag": "body",
47872 "children": [
47873 {
47874 "text": "X"
47875 },
47876 {
47877 "tag": "noscript",
47878 "children": [
47879 {
47880 "text": "-->",
47881 "no_escape": true
47882 }
47883 ]
47884 }
47885 ]
47886 }
47887 ]
47888 }
47889 ],
47890 "html": "<html><head><noscript><!--</noscript></head><body>X<noscript>--></noscript></body></html>",
47891 "noQuirksBodyHtml": "<noscript><!--</noscript>X<noscript>--></noscript>"
47892 }
47893 },
47894 {
47895 "data": "<noscript><!--</noscript>X<noscript>--></noscript>",
47896 "errors": [
47897 "(1,10): expected-doctype-but-got-start-tag"
47898 ],
47899 "script": "off",
47900 "document": {
47901 "props": {
47902 "tags": {
47903 "html": true,
47904 "head": true,
47905 "noscript": true,
47906 "body": true
47907 },
47908 "comment": true
47909 },
47910 "tree": [
47911 {
47912 "tag": "html",
47913 "children": [
47914 {
47915 "tag": "head",
47916 "children": [
47917 {
47918 "tag": "noscript",
47919 "children": [
47920 {
47921 "comment": "</noscript>X<noscript>"
47922 }
47923 ]
47924 }
47925 ]
47926 },
47927 {
47928 "tag": "body"
47929 }
47930 ]
47931 }
47932 ],
47933 "html": "<html><head><noscript><!--</noscript>X<noscript>--></noscript></head><body></body></html>",
47934 "noQuirksBodyHtml": "<noscript><!--</noscript>X<noscript>--></noscript>"
47935 }
47936 },
47937 {
47938 "data": "<noscript><iframe></noscript>X",
47939 "errors": [
47940 "(1,10): expected-doctype-but-got-start-tag"
47941 ],
47942 "script": "on",
47943 "document": {
47944 "props": {
47945 "tags": {
47946 "html": true,
47947 "head": true,
47948 "noscript": true,
47949 "body": true
47950 },
47951 "no_escape": true
47952 },
47953 "tree": [
47954 {
47955 "tag": "html",
47956 "children": [
47957 {
47958 "tag": "head",
47959 "children": [
47960 {
47961 "tag": "noscript",
47962 "children": [
47963 {
47964 "text": "<iframe>",
47965 "no_escape": true
47966 }
47967 ]
47968 }
47969 ]
47970 },
47971 {
47972 "tag": "body",
47973 "children": [
47974 {
47975 "text": "X"
47976 }
47977 ]
47978 }
47979 ]
47980 }
47981 ],
47982 "html": "<html><head><noscript><iframe></noscript></head><body>X</body></html>",
47983 "noQuirksBodyHtml": "<noscript><iframe></noscript>X</iframe></noscript>"
47984 }
47985 },
47986 {
47987 "data": "<noscript><iframe></noscript>X",
47988 "errors": [
47989 " * (1,11) missing DOCTYPE",
47990 " * (1,19) unexpected token in head noscript",
47991 " * (1,31) unexpected EOF"
47992 ],
47993 "script": "off",
47994 "document": {
47995 "props": {
47996 "tags": {
47997 "html": true,
47998 "head": true,
47999 "noscript": true,
48000 "body": true,
48001 "iframe": true
48002 },
48003 "no_escape": true
48004 },
48005 "tree": [
48006 {
48007 "tag": "html",
48008 "children": [
48009 {
48010 "tag": "head",
48011 "children": [
48012 {
48013 "tag": "noscript"
48014 }
48015 ]
48016 },
48017 {
48018 "tag": "body",
48019 "children": [
48020 {
48021 "tag": "iframe",
48022 "children": [
48023 {
48024 "text": "</noscript>X",
48025 "no_escape": true
48026 }
48027 ]
48028 }
48029 ]
48030 }
48031 ]
48032 }
48033 ],
48034 "html": "<html><head><noscript></noscript></head><body><iframe></noscript>X</iframe></body></html>",
48035 "noQuirksBodyHtml": "<noscript><iframe></noscript>X</iframe></noscript>"
48036 }
48037 },
48038 {
48039 "data": "<noframes><!--<noframes></noframes>--></noframes>",
48040 "errors": [
48041 "(1,10): expected-doctype-but-got-start-tag",
48042 "(1,49): unexpected-end-tag"
48043 ],
48044 "document": {
48045 "props": {
48046 "tags": {
48047 "html": true,
48048 "head": true,
48049 "noframes": true,
48050 "body": true
48051 },
48052 "no_escape": true,
48053 "escaped": true
48054 },
48055 "tree": [
48056 {
48057 "tag": "html",
48058 "children": [
48059 {
48060 "tag": "head",
48061 "children": [
48062 {
48063 "tag": "noframes",
48064 "children": [
48065 {
48066 "text": "<!--<noframes>",
48067 "no_escape": true
48068 }
48069 ]
48070 }
48071 ]
48072 },
48073 {
48074 "tag": "body",
48075 "children": [
48076 {
48077 "text": "-->",
48078 "escaped": true
48079 }
48080 ]
48081 }
48082 ]
48083 }
48084 ],
48085 "html": "<html><head><noframes><!--<noframes></noframes></head><body>--&gt;</body></html>",
48086 "noQuirksBodyHtml": "<noframes><!--<noframes></noframes>--&gt;"
48087 }
48088 },
48089 {
48090 "data": "<noframes><body><script><!--...</script></body></noframes></html>",
48091 "errors": [
48092 "(1,10): expected-doctype-but-got-start-tag"
48093 ],
48094 "document": {
48095 "props": {
48096 "tags": {
48097 "html": true,
48098 "head": true,
48099 "noframes": true,
48100 "body": true
48101 },
48102 "no_escape": true
48103 },
48104 "tree": [
48105 {
48106 "tag": "html",
48107 "children": [
48108 {
48109 "tag": "head",
48110 "children": [
48111 {
48112 "tag": "noframes",
48113 "children": [
48114 {
48115 "text": "<body><script><!--...</script></body>",
48116 "no_escape": true
48117 }
48118 ]
48119 }
48120 ]
48121 },
48122 {
48123 "tag": "body"
48124 }
48125 ]
48126 }
48127 ],
48128 "html": "<html><head><noframes><body><script><!--...</script></body></noframes></head><body></body></html>",
48129 "noQuirksBodyHtml": "<noframes><body><script><!--...</script></body></noframes>"
48130 }
48131 },
48132 {
48133 "data": "<textarea><!--<textarea></textarea>--></textarea>",
48134 "errors": [
48135 "(1,10): expected-doctype-but-got-start-tag",
48136 "(1,49): unexpected-end-tag"
48137 ],
48138 "document": {
48139 "props": {
48140 "tags": {
48141 "html": true,
48142 "head": true,
48143 "body": true,
48144 "textarea": true
48145 },
48146 "escaped": true
48147 },
48148 "tree": [
48149 {
48150 "tag": "html",
48151 "children": [
48152 {
48153 "tag": "head"
48154 },
48155 {
48156 "tag": "body",
48157 "children": [
48158 {
48159 "tag": "textarea",
48160 "children": [
48161 {
48162 "text": "<!--<textarea>",
48163 "escaped": true
48164 }
48165 ]
48166 },
48167 {
48168 "text": "-->",
48169 "escaped": true
48170 }
48171 ]
48172 }
48173 ]
48174 }
48175 ],
48176 "html": "<html><head></head><body><textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;</body></html>",
48177 "noQuirksBodyHtml": "<textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;"
48178 }
48179 },
48180 {
48181 "data": "<textarea>&lt;/textarea></textarea>",
48182 "errors": [
48183 "(1,10): expected-doctype-but-got-start-tag"
48184 ],
48185 "document": {
48186 "props": {
48187 "tags": {
48188 "html": true,
48189 "head": true,
48190 "body": true,
48191 "textarea": true
48192 },
48193 "escaped": true
48194 },
48195 "tree": [
48196 {
48197 "tag": "html",
48198 "children": [
48199 {
48200 "tag": "head"
48201 },
48202 {
48203 "tag": "body",
48204 "children": [
48205 {
48206 "tag": "textarea",
48207 "children": [
48208 {
48209 "text": "</textarea>",
48210 "escaped": true
48211 }
48212 ]
48213 }
48214 ]
48215 }
48216 ]
48217 }
48218 ],
48219 "html": "<html><head></head><body><textarea>&lt;/textarea&gt;</textarea></body></html>",
48220 "noQuirksBodyHtml": "<textarea>&lt;/textarea&gt;</textarea>"
48221 }
48222 },
48223 {
48224 "data": "<iframe><!--<iframe></iframe>--></iframe>",
48225 "errors": [
48226 "(1,8): expected-doctype-but-got-start-tag",
48227 "(1,41): unexpected-end-tag"
48228 ],
48229 "document": {
48230 "props": {
48231 "tags": {
48232 "html": true,
48233 "head": true,
48234 "body": true,
48235 "iframe": true
48236 },
48237 "no_escape": true,
48238 "escaped": true
48239 },
48240 "tree": [
48241 {
48242 "tag": "html",
48243 "children": [
48244 {
48245 "tag": "head"
48246 },
48247 {
48248 "tag": "body",
48249 "children": [
48250 {
48251 "tag": "iframe",
48252 "children": [
48253 {
48254 "text": "<!--<iframe>",
48255 "no_escape": true
48256 }
48257 ]
48258 },
48259 {
48260 "text": "-->",
48261 "escaped": true
48262 }
48263 ]
48264 }
48265 ]
48266 }
48267 ],
48268 "html": "<html><head></head><body><iframe><!--<iframe></iframe>--&gt;</body></html>",
48269 "noQuirksBodyHtml": "<iframe><!--<iframe></iframe>--&gt;"
48270 }
48271 },
48272 {
48273 "data": "<iframe>...<!--X->...<!--/X->...</iframe>",
48274 "errors": [
48275 "(1,8): expected-doctype-but-got-start-tag"
48276 ],
48277 "document": {
48278 "props": {
48279 "tags": {
48280 "html": true,
48281 "head": true,
48282 "body": true,
48283 "iframe": true
48284 },
48285 "no_escape": true
48286 },
48287 "tree": [
48288 {
48289 "tag": "html",
48290 "children": [
48291 {
48292 "tag": "head"
48293 },
48294 {
48295 "tag": "body",
48296 "children": [
48297 {
48298 "tag": "iframe",
48299 "children": [
48300 {
48301 "text": "...<!--X->...<!--/X->...",
48302 "no_escape": true
48303 }
48304 ]
48305 }
48306 ]
48307 }
48308 ]
48309 }
48310 ],
48311 "html": "<html><head></head><body><iframe>...<!--X->...<!--/X->...</iframe></body></html>",
48312 "noQuirksBodyHtml": "<iframe>...<!--X->...<!--/X->...</iframe>"
48313 }
48314 },
48315 {
48316 "data": "<xmp><!--<xmp></xmp>--></xmp>",
48317 "errors": [
48318 "(1,5): expected-doctype-but-got-start-tag",
48319 "(1,29): unexpected-end-tag"
48320 ],
48321 "document": {
48322 "props": {
48323 "tags": {
48324 "html": true,
48325 "head": true,
48326 "body": true,
48327 "xmp": true
48328 },
48329 "no_escape": true,
48330 "escaped": true
48331 },
48332 "tree": [
48333 {
48334 "tag": "html",
48335 "children": [
48336 {
48337 "tag": "head"
48338 },
48339 {
48340 "tag": "body",
48341 "children": [
48342 {
48343 "tag": "xmp",
48344 "children": [
48345 {
48346 "text": "<!--<xmp>",
48347 "no_escape": true
48348 }
48349 ]
48350 },
48351 {
48352 "text": "-->",
48353 "escaped": true
48354 }
48355 ]
48356 }
48357 ]
48358 }
48359 ],
48360 "html": "<html><head></head><body><xmp><!--<xmp></xmp>--&gt;</body></html>",
48361 "noQuirksBodyHtml": "<xmp><!--<xmp></xmp>--&gt;"
48362 }
48363 },
48364 {
48365 "data": "<noembed><!--<noembed></noembed>--></noembed>",
48366 "errors": [
48367 "(1,9): expected-doctype-but-got-start-tag",
48368 "(1,45): unexpected-end-tag"
48369 ],
48370 "document": {
48371 "props": {
48372 "tags": {
48373 "html": true,
48374 "head": true,
48375 "body": true,
48376 "noembed": true
48377 },
48378 "no_escape": true,
48379 "escaped": true
48380 },
48381 "tree": [
48382 {
48383 "tag": "html",
48384 "children": [
48385 {
48386 "tag": "head"
48387 },
48388 {
48389 "tag": "body",
48390 "children": [
48391 {
48392 "tag": "noembed",
48393 "children": [
48394 {
48395 "text": "<!--<noembed>",
48396 "no_escape": true
48397 }
48398 ]
48399 },
48400 {
48401 "text": "-->",
48402 "escaped": true
48403 }
48404 ]
48405 }
48406 ]
48407 }
48408 ],
48409 "html": "<html><head></head><body><noembed><!--<noembed></noembed>--&gt;</body></html>",
48410 "noQuirksBodyHtml": "<noembed><!--<noembed></noembed>--&gt;"
48411 }
48412 },
48413 {
48414 "data": "<!doctype html><table>\n",
48415 "errors": [
48416 "(2,0): eof-in-table"
48417 ],
48418 "document": {
48419 "props": {
48420 "tags": {
48421 "html": true,
48422 "head": true,
48423 "body": true,
48424 "table": true
48425 },
48426 "doctype": true
48427 },
48428 "tree": [
48429 {
48430 "doctype": "html"
48431 },
48432 {
48433 "tag": "html",
48434 "children": [
48435 {
48436 "tag": "head"
48437 },
48438 {
48439 "tag": "body",
48440 "children": [
48441 {
48442 "tag": "table",
48443 "children": [
48444 {
48445 "text": "\n"
48446 }
48447 ]
48448 }
48449 ]
48450 }
48451 ]
48452 }
48453 ],
48454 "html": "<!DOCTYPE html><html><head></head><body><table>\n</table></body></html>",
48455 "noQuirksBodyHtml": "<table>\n</table>"
48456 }
48457 },
48458 {
48459 "data": "<!doctype html><table><td><span><font></span><span>",
48460 "errors": [
48461 "(1,26): unexpected-cell-in-table-body",
48462 "(1,45): unexpected-end-tag",
48463 "(1,51): expected-closing-tag-but-got-eof"
48464 ],
48465 "document": {
48466 "props": {
48467 "tags": {
48468 "html": true,
48469 "head": true,
48470 "body": true,
48471 "table": true,
48472 "tbody": true,
48473 "tr": true,
48474 "td": true,
48475 "span": true,
48476 "font": true
48477 },
48478 "doctype": true
48479 },
48480 "tree": [
48481 {
48482 "doctype": "html"
48483 },
48484 {
48485 "tag": "html",
48486 "children": [
48487 {
48488 "tag": "head"
48489 },
48490 {
48491 "tag": "body",
48492 "children": [
48493 {
48494 "tag": "table",
48495 "children": [
48496 {
48497 "tag": "tbody",
48498 "children": [
48499 {
48500 "tag": "tr",
48501 "children": [
48502 {
48503 "tag": "td",
48504 "children": [
48505 {
48506 "tag": "span",
48507 "children": [
48508 {
48509 "tag": "font"
48510 }
48511 ]
48512 },
48513 {
48514 "tag": "font",
48515 "children": [
48516 {
48517 "tag": "span"
48518 }
48519 ]
48520 }
48521 ]
48522 }
48523 ]
48524 }
48525 ]
48526 }
48527 ]
48528 }
48529 ]
48530 }
48531 ]
48532 }
48533 ],
48534 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><span><font></font></span><font><span></span></font></td></tr></tbody></table></body></html>",
48535 "noQuirksBodyHtml": "<table><tbody><tr><td><span><font></font></span><font><span></span></font></td></tr></tbody></table>"
48536 }
48537 },
48538 {
48539 "data": "<!doctype html><form><table></form><form></table></form>",
48540 "errors": [
48541 "(1,35): unexpected-end-tag-implies-table-voodoo",
48542 "(1,35): unexpected-end-tag",
48543 "(1,41): unexpected-form-in-table",
48544 "(1,56): unexpected-end-tag",
48545 "(1,56): expected-closing-tag-but-got-eof"
48546 ],
48547 "document": {
48548 "props": {
48549 "tags": {
48550 "html": true,
48551 "head": true,
48552 "body": true,
48553 "form": true,
48554 "table": true
48555 },
48556 "doctype": true
48557 },
48558 "tree": [
48559 {
48560 "doctype": "html"
48561 },
48562 {
48563 "tag": "html",
48564 "children": [
48565 {
48566 "tag": "head"
48567 },
48568 {
48569 "tag": "body",
48570 "children": [
48571 {
48572 "tag": "form",
48573 "children": [
48574 {
48575 "tag": "table",
48576 "children": [
48577 {
48578 "tag": "form"
48579 }
48580 ]
48581 }
48582 ]
48583 }
48584 ]
48585 }
48586 ]
48587 }
48588 ],
48589 "html": "<!DOCTYPE html><html><head></head><body><form><table><form></form></table></form></body></html>",
48590 "noQuirksBodyHtml": "<form><table><form></form></table></form>"
48591 }
48592 }
48593 ],
48594 "tests17.dat": [
48595 {
48596 "data": "<!doctype html><table><tbody><select><tr>",
48597 "errors": [
48598 "(1,37): unexpected-start-tag-implies-table-voodoo",
48599 "(1,41): unexpected-table-element-start-tag-in-select-in-table",
48600 "(1,41): eof-in-table"
48601 ],
48602 "document": {
48603 "props": {
48604 "tags": {
48605 "html": true,
48606 "head": true,
48607 "body": true,
48608 "select": true,
48609 "table": true,
48610 "tbody": true,
48611 "tr": true
48612 },
48613 "doctype": true
48614 },
48615 "tree": [
48616 {
48617 "doctype": "html"
48618 },
48619 {
48620 "tag": "html",
48621 "children": [
48622 {
48623 "tag": "head"
48624 },
48625 {
48626 "tag": "body",
48627 "children": [
48628 {
48629 "tag": "select"
48630 },
48631 {
48632 "tag": "table",
48633 "children": [
48634 {
48635 "tag": "tbody",
48636 "children": [
48637 {
48638 "tag": "tr"
48639 }
48640 ]
48641 }
48642 ]
48643 }
48644 ]
48645 }
48646 ]
48647 }
48648 ],
48649 "html": "<!DOCTYPE html><html><head></head><body><select></select><table><tbody><tr></tr></tbody></table></body></html>",
48650 "noQuirksBodyHtml": "<select></select><table><tbody><tr></tr></tbody></table>"
48651 }
48652 },
48653 {
48654 "data": "<!doctype html><table><tr><select><td>",
48655 "errors": [
48656 "(1,34): unexpected-start-tag-implies-table-voodoo",
48657 "(1,38): unexpected-table-element-start-tag-in-select-in-table",
48658 "(1,38): expected-closing-tag-but-got-eof"
48659 ],
48660 "document": {
48661 "props": {
48662 "tags": {
48663 "html": true,
48664 "head": true,
48665 "body": true,
48666 "select": true,
48667 "table": true,
48668 "tbody": true,
48669 "tr": true,
48670 "td": true
48671 },
48672 "doctype": true
48673 },
48674 "tree": [
48675 {
48676 "doctype": "html"
48677 },
48678 {
48679 "tag": "html",
48680 "children": [
48681 {
48682 "tag": "head"
48683 },
48684 {
48685 "tag": "body",
48686 "children": [
48687 {
48688 "tag": "select"
48689 },
48690 {
48691 "tag": "table",
48692 "children": [
48693 {
48694 "tag": "tbody",
48695 "children": [
48696 {
48697 "tag": "tr",
48698 "children": [
48699 {
48700 "tag": "td"
48701 }
48702 ]
48703 }
48704 ]
48705 }
48706 ]
48707 }
48708 ]
48709 }
48710 ]
48711 }
48712 ],
48713 "html": "<!DOCTYPE html><html><head></head><body><select></select><table><tbody><tr><td></td></tr></tbody></table></body></html>",
48714 "noQuirksBodyHtml": "<select></select><table><tbody><tr><td></td></tr></tbody></table>"
48715 }
48716 },
48717 {
48718 "data": "<!doctype html><table><tr><td><select><td>",
48719 "errors": [
48720 "(1,42): unexpected-table-element-start-tag-in-select-in-table",
48721 "(1,42): expected-closing-tag-but-got-eof"
48722 ],
48723 "document": {
48724 "props": {
48725 "tags": {
48726 "html": true,
48727 "head": true,
48728 "body": true,
48729 "table": true,
48730 "tbody": true,
48731 "tr": true,
48732 "td": true,
48733 "select": true
48734 },
48735 "doctype": true
48736 },
48737 "tree": [
48738 {
48739 "doctype": "html"
48740 },
48741 {
48742 "tag": "html",
48743 "children": [
48744 {
48745 "tag": "head"
48746 },
48747 {
48748 "tag": "body",
48749 "children": [
48750 {
48751 "tag": "table",
48752 "children": [
48753 {
48754 "tag": "tbody",
48755 "children": [
48756 {
48757 "tag": "tr",
48758 "children": [
48759 {
48760 "tag": "td",
48761 "children": [
48762 {
48763 "tag": "select"
48764 }
48765 ]
48766 },
48767 {
48768 "tag": "td"
48769 }
48770 ]
48771 }
48772 ]
48773 }
48774 ]
48775 }
48776 ]
48777 }
48778 ]
48779 }
48780 ],
48781 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select></select></td><td></td></tr></tbody></table></body></html>",
48782 "noQuirksBodyHtml": "<table><tbody><tr><td><select></select></td><td></td></tr></tbody></table>"
48783 }
48784 },
48785 {
48786 "data": "<!doctype html><table><tr><th><select><td>",
48787 "errors": [
48788 "(1,42): unexpected-table-element-start-tag-in-select-in-table",
48789 "(1,42): expected-closing-tag-but-got-eof"
48790 ],
48791 "document": {
48792 "props": {
48793 "tags": {
48794 "html": true,
48795 "head": true,
48796 "body": true,
48797 "table": true,
48798 "tbody": true,
48799 "tr": true,
48800 "th": true,
48801 "select": true,
48802 "td": true
48803 },
48804 "doctype": true
48805 },
48806 "tree": [
48807 {
48808 "doctype": "html"
48809 },
48810 {
48811 "tag": "html",
48812 "children": [
48813 {
48814 "tag": "head"
48815 },
48816 {
48817 "tag": "body",
48818 "children": [
48819 {
48820 "tag": "table",
48821 "children": [
48822 {
48823 "tag": "tbody",
48824 "children": [
48825 {
48826 "tag": "tr",
48827 "children": [
48828 {
48829 "tag": "th",
48830 "children": [
48831 {
48832 "tag": "select"
48833 }
48834 ]
48835 },
48836 {
48837 "tag": "td"
48838 }
48839 ]
48840 }
48841 ]
48842 }
48843 ]
48844 }
48845 ]
48846 }
48847 ]
48848 }
48849 ],
48850 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><th><select></select></th><td></td></tr></tbody></table></body></html>",
48851 "noQuirksBodyHtml": "<table><tbody><tr><th><select></select></th><td></td></tr></tbody></table>"
48852 }
48853 },
48854 {
48855 "data": "<!doctype html><table><caption><select><tr>",
48856 "errors": [
48857 "(1,43): unexpected-table-element-start-tag-in-select-in-table",
48858 "(1,43): eof-in-table"
48859 ],
48860 "document": {
48861 "props": {
48862 "tags": {
48863 "html": true,
48864 "head": true,
48865 "body": true,
48866 "table": true,
48867 "caption": true,
48868 "select": true,
48869 "tbody": true,
48870 "tr": true
48871 },
48872 "doctype": true
48873 },
48874 "tree": [
48875 {
48876 "doctype": "html"
48877 },
48878 {
48879 "tag": "html",
48880 "children": [
48881 {
48882 "tag": "head"
48883 },
48884 {
48885 "tag": "body",
48886 "children": [
48887 {
48888 "tag": "table",
48889 "children": [
48890 {
48891 "tag": "caption",
48892 "children": [
48893 {
48894 "tag": "select"
48895 }
48896 ]
48897 },
48898 {
48899 "tag": "tbody",
48900 "children": [
48901 {
48902 "tag": "tr"
48903 }
48904 ]
48905 }
48906 ]
48907 }
48908 ]
48909 }
48910 ]
48911 }
48912 ],
48913 "html": "<!DOCTYPE html><html><head></head><body><table><caption><select></select></caption><tbody><tr></tr></tbody></table></body></html>",
48914 "noQuirksBodyHtml": "<table><caption><select></select></caption><tbody><tr></tr></tbody></table>"
48915 }
48916 },
48917 {
48918 "data": "<!doctype html><select><tr>",
48919 "errors": [
48920 "(1,27): unexpected-start-tag-in-select",
48921 "(1,27): eof-in-select"
48922 ],
48923 "document": {
48924 "props": {
48925 "tags": {
48926 "html": true,
48927 "head": true,
48928 "body": true,
48929 "select": true
48930 },
48931 "doctype": true
48932 },
48933 "tree": [
48934 {
48935 "doctype": "html"
48936 },
48937 {
48938 "tag": "html",
48939 "children": [
48940 {
48941 "tag": "head"
48942 },
48943 {
48944 "tag": "body",
48945 "children": [
48946 {
48947 "tag": "select"
48948 }
48949 ]
48950 }
48951 ]
48952 }
48953 ],
48954 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
48955 "noQuirksBodyHtml": "<select></select>"
48956 }
48957 },
48958 {
48959 "data": "<!doctype html><select><td>",
48960 "errors": [
48961 "(1,27): unexpected-start-tag-in-select",
48962 "(1,27): eof-in-select"
48963 ],
48964 "document": {
48965 "props": {
48966 "tags": {
48967 "html": true,
48968 "head": true,
48969 "body": true,
48970 "select": true
48971 },
48972 "doctype": true
48973 },
48974 "tree": [
48975 {
48976 "doctype": "html"
48977 },
48978 {
48979 "tag": "html",
48980 "children": [
48981 {
48982 "tag": "head"
48983 },
48984 {
48985 "tag": "body",
48986 "children": [
48987 {
48988 "tag": "select"
48989 }
48990 ]
48991 }
48992 ]
48993 }
48994 ],
48995 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
48996 "noQuirksBodyHtml": "<select></select>"
48997 }
48998 },
48999 {
49000 "data": "<!doctype html><select><th>",
49001 "errors": [
49002 "(1,27): unexpected-start-tag-in-select",
49003 "(1,27): eof-in-select"
49004 ],
49005 "document": {
49006 "props": {
49007 "tags": {
49008 "html": true,
49009 "head": true,
49010 "body": true,
49011 "select": true
49012 },
49013 "doctype": true
49014 },
49015 "tree": [
49016 {
49017 "doctype": "html"
49018 },
49019 {
49020 "tag": "html",
49021 "children": [
49022 {
49023 "tag": "head"
49024 },
49025 {
49026 "tag": "body",
49027 "children": [
49028 {
49029 "tag": "select"
49030 }
49031 ]
49032 }
49033 ]
49034 }
49035 ],
49036 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
49037 "noQuirksBodyHtml": "<select></select>"
49038 }
49039 },
49040 {
49041 "data": "<!doctype html><select><tbody>",
49042 "errors": [
49043 "(1,30): unexpected-start-tag-in-select",
49044 "(1,30): eof-in-select"
49045 ],
49046 "document": {
49047 "props": {
49048 "tags": {
49049 "html": true,
49050 "head": true,
49051 "body": true,
49052 "select": true
49053 },
49054 "doctype": true
49055 },
49056 "tree": [
49057 {
49058 "doctype": "html"
49059 },
49060 {
49061 "tag": "html",
49062 "children": [
49063 {
49064 "tag": "head"
49065 },
49066 {
49067 "tag": "body",
49068 "children": [
49069 {
49070 "tag": "select"
49071 }
49072 ]
49073 }
49074 ]
49075 }
49076 ],
49077 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
49078 "noQuirksBodyHtml": "<select></select>"
49079 }
49080 },
49081 {
49082 "data": "<!doctype html><select><thead>",
49083 "errors": [
49084 "(1,30): unexpected-start-tag-in-select",
49085 "(1,30): eof-in-select"
49086 ],
49087 "document": {
49088 "props": {
49089 "tags": {
49090 "html": true,
49091 "head": true,
49092 "body": true,
49093 "select": true
49094 },
49095 "doctype": true
49096 },
49097 "tree": [
49098 {
49099 "doctype": "html"
49100 },
49101 {
49102 "tag": "html",
49103 "children": [
49104 {
49105 "tag": "head"
49106 },
49107 {
49108 "tag": "body",
49109 "children": [
49110 {
49111 "tag": "select"
49112 }
49113 ]
49114 }
49115 ]
49116 }
49117 ],
49118 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
49119 "noQuirksBodyHtml": "<select></select>"
49120 }
49121 },
49122 {
49123 "data": "<!doctype html><select><tfoot>",
49124 "errors": [
49125 "(1,30): unexpected-start-tag-in-select",
49126 "(1,30): eof-in-select"
49127 ],
49128 "document": {
49129 "props": {
49130 "tags": {
49131 "html": true,
49132 "head": true,
49133 "body": true,
49134 "select": true
49135 },
49136 "doctype": true
49137 },
49138 "tree": [
49139 {
49140 "doctype": "html"
49141 },
49142 {
49143 "tag": "html",
49144 "children": [
49145 {
49146 "tag": "head"
49147 },
49148 {
49149 "tag": "body",
49150 "children": [
49151 {
49152 "tag": "select"
49153 }
49154 ]
49155 }
49156 ]
49157 }
49158 ],
49159 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
49160 "noQuirksBodyHtml": "<select></select>"
49161 }
49162 },
49163 {
49164 "data": "<!doctype html><select><caption>",
49165 "errors": [
49166 "(1,32): unexpected-start-tag-in-select",
49167 "(1,32): eof-in-select"
49168 ],
49169 "document": {
49170 "props": {
49171 "tags": {
49172 "html": true,
49173 "head": true,
49174 "body": true,
49175 "select": true
49176 },
49177 "doctype": true
49178 },
49179 "tree": [
49180 {
49181 "doctype": "html"
49182 },
49183 {
49184 "tag": "html",
49185 "children": [
49186 {
49187 "tag": "head"
49188 },
49189 {
49190 "tag": "body",
49191 "children": [
49192 {
49193 "tag": "select"
49194 }
49195 ]
49196 }
49197 ]
49198 }
49199 ],
49200 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
49201 "noQuirksBodyHtml": "<select></select>"
49202 }
49203 },
49204 {
49205 "data": "<!doctype html><table><tr></table>a",
49206 "errors": [],
49207 "document": {
49208 "props": {
49209 "tags": {
49210 "html": true,
49211 "head": true,
49212 "body": true,
49213 "table": true,
49214 "tbody": true,
49215 "tr": true
49216 },
49217 "doctype": true
49218 },
49219 "tree": [
49220 {
49221 "doctype": "html"
49222 },
49223 {
49224 "tag": "html",
49225 "children": [
49226 {
49227 "tag": "head"
49228 },
49229 {
49230 "tag": "body",
49231 "children": [
49232 {
49233 "tag": "table",
49234 "children": [
49235 {
49236 "tag": "tbody",
49237 "children": [
49238 {
49239 "tag": "tr"
49240 }
49241 ]
49242 }
49243 ]
49244 },
49245 {
49246 "text": "a"
49247 }
49248 ]
49249 }
49250 ]
49251 }
49252 ],
49253 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr></tr></tbody></table>a</body></html>",
49254 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody></table>a"
49255 }
49256 }
49257 ],
49258 "tests18.dat": [
49259 {
49260 "data": "<!doctype html><plaintext></plaintext>",
49261 "errors": [
49262 "(1,38): expected-closing-tag-but-got-eof"
49263 ],
49264 "document": {
49265 "props": {
49266 "tags": {
49267 "html": true,
49268 "head": true,
49269 "body": true,
49270 "plaintext": true
49271 },
49272 "doctype": true,
49273 "no_escape": true
49274 },
49275 "tree": [
49276 {
49277 "doctype": "html"
49278 },
49279 {
49280 "tag": "html",
49281 "children": [
49282 {
49283 "tag": "head"
49284 },
49285 {
49286 "tag": "body",
49287 "children": [
49288 {
49289 "tag": "plaintext",
49290 "children": [
49291 {
49292 "text": "</plaintext>",
49293 "no_escape": true
49294 }
49295 ]
49296 }
49297 ]
49298 }
49299 ]
49300 }
49301 ],
49302 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext></body></html>",
49303 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext>"
49304 }
49305 },
49306 {
49307 "data": "<!doctype html><table><plaintext></plaintext>",
49308 "errors": [
49309 "(1,33): foster-parenting-start-tag",
49310 "(1,34): foster-parenting-character",
49311 "(1,35): foster-parenting-character",
49312 "(1,36): foster-parenting-character",
49313 "(1,37): foster-parenting-character",
49314 "(1,38): foster-parenting-character",
49315 "(1,39): foster-parenting-character",
49316 "(1,40): foster-parenting-character",
49317 "(1,41): foster-parenting-character",
49318 "(1,42): foster-parenting-character",
49319 "(1,43): foster-parenting-character",
49320 "(1,44): foster-parenting-character",
49321 "(1,45): foster-parenting-character",
49322 "(1,45): eof-in-table"
49323 ],
49324 "document": {
49325 "props": {
49326 "tags": {
49327 "html": true,
49328 "head": true,
49329 "body": true,
49330 "plaintext": true,
49331 "table": true
49332 },
49333 "doctype": true,
49334 "no_escape": true
49335 },
49336 "tree": [
49337 {
49338 "doctype": "html"
49339 },
49340 {
49341 "tag": "html",
49342 "children": [
49343 {
49344 "tag": "head"
49345 },
49346 {
49347 "tag": "body",
49348 "children": [
49349 {
49350 "tag": "plaintext",
49351 "children": [
49352 {
49353 "text": "</plaintext>",
49354 "no_escape": true
49355 }
49356 ]
49357 },
49358 {
49359 "tag": "table"
49360 }
49361 ]
49362 }
49363 ]
49364 }
49365 ],
49366 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table></table></body></html>",
49367 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table></table>"
49368 }
49369 },
49370 {
49371 "data": "<!doctype html><table><tbody><plaintext></plaintext>",
49372 "errors": [
49373 "(1,40): foster-parenting-start-tag",
49374 "(1,41): foster-parenting-character",
49375 "(1,41): foster-parenting-character",
49376 "(1,41): foster-parenting-character",
49377 "(1,41): foster-parenting-character",
49378 "(1,41): foster-parenting-character",
49379 "(1,41): foster-parenting-character",
49380 "(1,41): foster-parenting-character",
49381 "(1,41): foster-parenting-character",
49382 "(1,41): foster-parenting-character",
49383 "(1,41): foster-parenting-character",
49384 "(1,41): foster-parenting-character",
49385 "(1,41): foster-parenting-character",
49386 "(1,52): eof-in-table"
49387 ],
49388 "document": {
49389 "props": {
49390 "tags": {
49391 "html": true,
49392 "head": true,
49393 "body": true,
49394 "plaintext": true,
49395 "table": true,
49396 "tbody": true
49397 },
49398 "doctype": true,
49399 "no_escape": true
49400 },
49401 "tree": [
49402 {
49403 "doctype": "html"
49404 },
49405 {
49406 "tag": "html",
49407 "children": [
49408 {
49409 "tag": "head"
49410 },
49411 {
49412 "tag": "body",
49413 "children": [
49414 {
49415 "tag": "plaintext",
49416 "children": [
49417 {
49418 "text": "</plaintext>",
49419 "no_escape": true
49420 }
49421 ]
49422 },
49423 {
49424 "tag": "table",
49425 "children": [
49426 {
49427 "tag": "tbody"
49428 }
49429 ]
49430 }
49431 ]
49432 }
49433 ]
49434 }
49435 ],
49436 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table><tbody></tbody></table></body></html>",
49437 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table><tbody></tbody></table>"
49438 }
49439 },
49440 {
49441 "data": "<!doctype html><table><tbody><tr><plaintext></plaintext>",
49442 "errors": [
49443 "(1,44): foster-parenting-start-tag",
49444 "(1,45): foster-parenting-character",
49445 "(1,46): foster-parenting-character",
49446 "(1,47): foster-parenting-character",
49447 "(1,48): foster-parenting-character",
49448 "(1,49): foster-parenting-character",
49449 "(1,50): foster-parenting-character",
49450 "(1,51): foster-parenting-character",
49451 "(1,52): foster-parenting-character",
49452 "(1,53): foster-parenting-character",
49453 "(1,54): foster-parenting-character",
49454 "(1,55): foster-parenting-character",
49455 "(1,56): foster-parenting-character",
49456 "(1,56): eof-in-table"
49457 ],
49458 "document": {
49459 "props": {
49460 "tags": {
49461 "html": true,
49462 "head": true,
49463 "body": true,
49464 "plaintext": true,
49465 "table": true,
49466 "tbody": true,
49467 "tr": true
49468 },
49469 "doctype": true,
49470 "no_escape": true
49471 },
49472 "tree": [
49473 {
49474 "doctype": "html"
49475 },
49476 {
49477 "tag": "html",
49478 "children": [
49479 {
49480 "tag": "head"
49481 },
49482 {
49483 "tag": "body",
49484 "children": [
49485 {
49486 "tag": "plaintext",
49487 "children": [
49488 {
49489 "text": "</plaintext>",
49490 "no_escape": true
49491 }
49492 ]
49493 },
49494 {
49495 "tag": "table",
49496 "children": [
49497 {
49498 "tag": "tbody",
49499 "children": [
49500 {
49501 "tag": "tr"
49502 }
49503 ]
49504 }
49505 ]
49506 }
49507 ]
49508 }
49509 ]
49510 }
49511 ],
49512 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table><tbody><tr></tr></tbody></table></body></html>",
49513 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table><tbody><tr></tr></tbody></table>"
49514 }
49515 },
49516 {
49517 "data": "<!doctype html><table><td><plaintext></plaintext>",
49518 "errors": [
49519 "(1,26): unexpected-cell-in-table-body",
49520 "(1,49): expected-closing-tag-but-got-eof"
49521 ],
49522 "document": {
49523 "props": {
49524 "tags": {
49525 "html": true,
49526 "head": true,
49527 "body": true,
49528 "table": true,
49529 "tbody": true,
49530 "tr": true,
49531 "td": true,
49532 "plaintext": true
49533 },
49534 "doctype": true,
49535 "no_escape": true
49536 },
49537 "tree": [
49538 {
49539 "doctype": "html"
49540 },
49541 {
49542 "tag": "html",
49543 "children": [
49544 {
49545 "tag": "head"
49546 },
49547 {
49548 "tag": "body",
49549 "children": [
49550 {
49551 "tag": "table",
49552 "children": [
49553 {
49554 "tag": "tbody",
49555 "children": [
49556 {
49557 "tag": "tr",
49558 "children": [
49559 {
49560 "tag": "td",
49561 "children": [
49562 {
49563 "tag": "plaintext",
49564 "children": [
49565 {
49566 "text": "</plaintext>",
49567 "no_escape": true
49568 }
49569 ]
49570 }
49571 ]
49572 }
49573 ]
49574 }
49575 ]
49576 }
49577 ]
49578 }
49579 ]
49580 }
49581 ]
49582 }
49583 ],
49584 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><plaintext></plaintext></plaintext></td></tr></tbody></table></body></html>",
49585 "noQuirksBodyHtml": "<table><tbody><tr><td><plaintext></plaintext></plaintext></td></tr></tbody></table>"
49586 }
49587 },
49588 {
49589 "data": "<!doctype html><table><caption><plaintext></plaintext>",
49590 "errors": [
49591 "(1,54): expected-closing-tag-but-got-eof"
49592 ],
49593 "document": {
49594 "props": {
49595 "tags": {
49596 "html": true,
49597 "head": true,
49598 "body": true,
49599 "table": true,
49600 "caption": true,
49601 "plaintext": true
49602 },
49603 "doctype": true,
49604 "no_escape": true
49605 },
49606 "tree": [
49607 {
49608 "doctype": "html"
49609 },
49610 {
49611 "tag": "html",
49612 "children": [
49613 {
49614 "tag": "head"
49615 },
49616 {
49617 "tag": "body",
49618 "children": [
49619 {
49620 "tag": "table",
49621 "children": [
49622 {
49623 "tag": "caption",
49624 "children": [
49625 {
49626 "tag": "plaintext",
49627 "children": [
49628 {
49629 "text": "</plaintext>",
49630 "no_escape": true
49631 }
49632 ]
49633 }
49634 ]
49635 }
49636 ]
49637 }
49638 ]
49639 }
49640 ]
49641 }
49642 ],
49643 "html": "<!DOCTYPE html><html><head></head><body><table><caption><plaintext></plaintext></plaintext></caption></table></body></html>",
49644 "noQuirksBodyHtml": "<table><caption><plaintext></plaintext></plaintext></caption></table>"
49645 }
49646 },
49647 {
49648 "data": "<!doctype html><table><tr><style></script></style>abc",
49649 "errors": [
49650 "(1,51): foster-parenting-character",
49651 "(1,52): foster-parenting-character",
49652 "(1,53): foster-parenting-character",
49653 "(1,53): eof-in-table"
49654 ],
49655 "document": {
49656 "props": {
49657 "tags": {
49658 "html": true,
49659 "head": true,
49660 "body": true,
49661 "table": true,
49662 "tbody": true,
49663 "tr": true,
49664 "style": true
49665 },
49666 "doctype": true,
49667 "no_escape": true
49668 },
49669 "tree": [
49670 {
49671 "doctype": "html"
49672 },
49673 {
49674 "tag": "html",
49675 "children": [
49676 {
49677 "tag": "head"
49678 },
49679 {
49680 "tag": "body",
49681 "children": [
49682 {
49683 "text": "abc"
49684 },
49685 {
49686 "tag": "table",
49687 "children": [
49688 {
49689 "tag": "tbody",
49690 "children": [
49691 {
49692 "tag": "tr",
49693 "children": [
49694 {
49695 "tag": "style",
49696 "children": [
49697 {
49698 "text": "</script>",
49699 "no_escape": true
49700 }
49701 ]
49702 }
49703 ]
49704 }
49705 ]
49706 }
49707 ]
49708 }
49709 ]
49710 }
49711 ]
49712 }
49713 ],
49714 "html": "<!DOCTYPE html><html><head></head><body>abc<table><tbody><tr><style></script></style></tr></tbody></table></body></html>",
49715 "noQuirksBodyHtml": "abc<table><tbody><tr><style></script></style></tr></tbody></table>"
49716 }
49717 },
49718 {
49719 "data": "<!doctype html><table><tr><script></style></script>abc",
49720 "errors": [
49721 "(1,52): foster-parenting-character",
49722 "(1,53): foster-parenting-character",
49723 "(1,54): foster-parenting-character",
49724 "(1,54): eof-in-table"
49725 ],
49726 "document": {
49727 "props": {
49728 "tags": {
49729 "html": true,
49730 "head": true,
49731 "body": true,
49732 "table": true,
49733 "tbody": true,
49734 "tr": true,
49735 "script": true
49736 },
49737 "doctype": true,
49738 "no_escape": true
49739 },
49740 "tree": [
49741 {
49742 "doctype": "html"
49743 },
49744 {
49745 "tag": "html",
49746 "children": [
49747 {
49748 "tag": "head"
49749 },
49750 {
49751 "tag": "body",
49752 "children": [
49753 {
49754 "text": "abc"
49755 },
49756 {
49757 "tag": "table",
49758 "children": [
49759 {
49760 "tag": "tbody",
49761 "children": [
49762 {
49763 "tag": "tr",
49764 "children": [
49765 {
49766 "tag": "script",
49767 "children": [
49768 {
49769 "text": "</style>",
49770 "no_escape": true
49771 }
49772 ]
49773 }
49774 ]
49775 }
49776 ]
49777 }
49778 ]
49779 }
49780 ]
49781 }
49782 ]
49783 }
49784 ],
49785 "html": "<!DOCTYPE html><html><head></head><body>abc<table><tbody><tr><script></style></script></tr></tbody></table></body></html>",
49786 "noQuirksBodyHtml": "abc<table><tbody><tr><script></style></script></tr></tbody></table>"
49787 }
49788 },
49789 {
49790 "data": "<!doctype html><table><caption><style></script></style>abc",
49791 "errors": [
49792 "(1,58): expected-closing-tag-but-got-eof"
49793 ],
49794 "document": {
49795 "props": {
49796 "tags": {
49797 "html": true,
49798 "head": true,
49799 "body": true,
49800 "table": true,
49801 "caption": true,
49802 "style": true
49803 },
49804 "doctype": true,
49805 "no_escape": true
49806 },
49807 "tree": [
49808 {
49809 "doctype": "html"
49810 },
49811 {
49812 "tag": "html",
49813 "children": [
49814 {
49815 "tag": "head"
49816 },
49817 {
49818 "tag": "body",
49819 "children": [
49820 {
49821 "tag": "table",
49822 "children": [
49823 {
49824 "tag": "caption",
49825 "children": [
49826 {
49827 "tag": "style",
49828 "children": [
49829 {
49830 "text": "</script>",
49831 "no_escape": true
49832 }
49833 ]
49834 },
49835 {
49836 "text": "abc"
49837 }
49838 ]
49839 }
49840 ]
49841 }
49842 ]
49843 }
49844 ]
49845 }
49846 ],
49847 "html": "<!DOCTYPE html><html><head></head><body><table><caption><style></script></style>abc</caption></table></body></html>",
49848 "noQuirksBodyHtml": "<table><caption><style></script></style>abc</caption></table>"
49849 }
49850 },
49851 {
49852 "data": "<!doctype html><table><td><style></script></style>abc",
49853 "errors": [
49854 "(1,26): unexpected-cell-in-table-body",
49855 "(1,53): expected-closing-tag-but-got-eof"
49856 ],
49857 "document": {
49858 "props": {
49859 "tags": {
49860 "html": true,
49861 "head": true,
49862 "body": true,
49863 "table": true,
49864 "tbody": true,
49865 "tr": true,
49866 "td": true,
49867 "style": true
49868 },
49869 "doctype": true,
49870 "no_escape": true
49871 },
49872 "tree": [
49873 {
49874 "doctype": "html"
49875 },
49876 {
49877 "tag": "html",
49878 "children": [
49879 {
49880 "tag": "head"
49881 },
49882 {
49883 "tag": "body",
49884 "children": [
49885 {
49886 "tag": "table",
49887 "children": [
49888 {
49889 "tag": "tbody",
49890 "children": [
49891 {
49892 "tag": "tr",
49893 "children": [
49894 {
49895 "tag": "td",
49896 "children": [
49897 {
49898 "tag": "style",
49899 "children": [
49900 {
49901 "text": "</script>",
49902 "no_escape": true
49903 }
49904 ]
49905 },
49906 {
49907 "text": "abc"
49908 }
49909 ]
49910 }
49911 ]
49912 }
49913 ]
49914 }
49915 ]
49916 }
49917 ]
49918 }
49919 ]
49920 }
49921 ],
49922 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><style></script></style>abc</td></tr></tbody></table></body></html>",
49923 "noQuirksBodyHtml": "<table><tbody><tr><td><style></script></style>abc</td></tr></tbody></table>"
49924 }
49925 },
49926 {
49927 "data": "<!doctype html><select><script></style></script>abc",
49928 "errors": [
49929 "(1,51): eof-in-select"
49930 ],
49931 "document": {
49932 "props": {
49933 "tags": {
49934 "html": true,
49935 "head": true,
49936 "body": true,
49937 "select": true,
49938 "script": true
49939 },
49940 "doctype": true,
49941 "no_escape": true
49942 },
49943 "tree": [
49944 {
49945 "doctype": "html"
49946 },
49947 {
49948 "tag": "html",
49949 "children": [
49950 {
49951 "tag": "head"
49952 },
49953 {
49954 "tag": "body",
49955 "children": [
49956 {
49957 "tag": "select",
49958 "children": [
49959 {
49960 "tag": "script",
49961 "children": [
49962 {
49963 "text": "</style>",
49964 "no_escape": true
49965 }
49966 ]
49967 },
49968 {
49969 "text": "abc"
49970 }
49971 ]
49972 }
49973 ]
49974 }
49975 ]
49976 }
49977 ],
49978 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select></body></html>",
49979 "noQuirksBodyHtml": "<select><script></style></script>abc</select>"
49980 }
49981 },
49982 {
49983 "data": "<!doctype html><table><select><script></style></script>abc",
49984 "errors": [
49985 "(1,30): unexpected-start-tag-implies-table-voodoo",
49986 "(1,58): eof-in-select"
49987 ],
49988 "document": {
49989 "props": {
49990 "tags": {
49991 "html": true,
49992 "head": true,
49993 "body": true,
49994 "select": true,
49995 "script": true,
49996 "table": true
49997 },
49998 "doctype": true,
49999 "no_escape": true
50000 },
50001 "tree": [
50002 {
50003 "doctype": "html"
50004 },
50005 {
50006 "tag": "html",
50007 "children": [
50008 {
50009 "tag": "head"
50010 },
50011 {
50012 "tag": "body",
50013 "children": [
50014 {
50015 "tag": "select",
50016 "children": [
50017 {
50018 "tag": "script",
50019 "children": [
50020 {
50021 "text": "</style>",
50022 "no_escape": true
50023 }
50024 ]
50025 },
50026 {
50027 "text": "abc"
50028 }
50029 ]
50030 },
50031 {
50032 "tag": "table"
50033 }
50034 ]
50035 }
50036 ]
50037 }
50038 ],
50039 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select><table></table></body></html>",
50040 "noQuirksBodyHtml": "<select><script></style></script>abc</select><table></table>"
50041 }
50042 },
50043 {
50044 "data": "<!doctype html><table><tr><select><script></style></script>abc",
50045 "errors": [
50046 "(1,34): unexpected-start-tag-implies-table-voodoo",
50047 "(1,62): eof-in-select"
50048 ],
50049 "document": {
50050 "props": {
50051 "tags": {
50052 "html": true,
50053 "head": true,
50054 "body": true,
50055 "select": true,
50056 "script": true,
50057 "table": true,
50058 "tbody": true,
50059 "tr": true
50060 },
50061 "doctype": true,
50062 "no_escape": true
50063 },
50064 "tree": [
50065 {
50066 "doctype": "html"
50067 },
50068 {
50069 "tag": "html",
50070 "children": [
50071 {
50072 "tag": "head"
50073 },
50074 {
50075 "tag": "body",
50076 "children": [
50077 {
50078 "tag": "select",
50079 "children": [
50080 {
50081 "tag": "script",
50082 "children": [
50083 {
50084 "text": "</style>",
50085 "no_escape": true
50086 }
50087 ]
50088 },
50089 {
50090 "text": "abc"
50091 }
50092 ]
50093 },
50094 {
50095 "tag": "table",
50096 "children": [
50097 {
50098 "tag": "tbody",
50099 "children": [
50100 {
50101 "tag": "tr"
50102 }
50103 ]
50104 }
50105 ]
50106 }
50107 ]
50108 }
50109 ]
50110 }
50111 ],
50112 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select><table><tbody><tr></tr></tbody></table></body></html>",
50113 "noQuirksBodyHtml": "<select><script></style></script>abc</select><table><tbody><tr></tr></tbody></table>"
50114 }
50115 },
50116 {
50117 "data": "<!doctype html><frameset></frameset><noframes>abc",
50118 "errors": [
50119 "(1,49): expected-named-closing-tag-but-got-eof"
50120 ],
50121 "document": {
50122 "props": {
50123 "tags": {
50124 "html": true,
50125 "head": true,
50126 "frameset": true,
50127 "noframes": true
50128 },
50129 "doctype": true,
50130 "no_escape": true
50131 },
50132 "tree": [
50133 {
50134 "doctype": "html"
50135 },
50136 {
50137 "tag": "html",
50138 "children": [
50139 {
50140 "tag": "head"
50141 },
50142 {
50143 "tag": "frameset"
50144 },
50145 {
50146 "tag": "noframes",
50147 "children": [
50148 {
50149 "text": "abc",
50150 "no_escape": true
50151 }
50152 ]
50153 }
50154 ]
50155 }
50156 ],
50157 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html>",
50158 "noQuirksBodyHtml": "<noframes>abc</noframes>"
50159 }
50160 },
50161 {
50162 "data": "<!doctype html><frameset></frameset><noframes>abc</noframes><!--abc-->",
50163 "errors": [],
50164 "document": {
50165 "props": {
50166 "tags": {
50167 "html": true,
50168 "head": true,
50169 "frameset": true,
50170 "noframes": true
50171 },
50172 "doctype": true,
50173 "no_escape": true,
50174 "comment": true
50175 },
50176 "tree": [
50177 {
50178 "doctype": "html"
50179 },
50180 {
50181 "tag": "html",
50182 "children": [
50183 {
50184 "tag": "head"
50185 },
50186 {
50187 "tag": "frameset"
50188 },
50189 {
50190 "tag": "noframes",
50191 "children": [
50192 {
50193 "text": "abc",
50194 "no_escape": true
50195 }
50196 ]
50197 },
50198 {
50199 "comment": "abc"
50200 }
50201 ]
50202 }
50203 ],
50204 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes><!--abc--></html>",
50205 "noQuirksBodyHtml": "<noframes>abc</noframes><!--abc-->"
50206 }
50207 },
50208 {
50209 "data": "<!doctype html><frameset></frameset></html><noframes>abc",
50210 "errors": [
50211 "(1,56): expected-named-closing-tag-but-got-eof"
50212 ],
50213 "document": {
50214 "props": {
50215 "tags": {
50216 "html": true,
50217 "head": true,
50218 "frameset": true,
50219 "noframes": true
50220 },
50221 "doctype": true,
50222 "no_escape": true
50223 },
50224 "tree": [
50225 {
50226 "doctype": "html"
50227 },
50228 {
50229 "tag": "html",
50230 "children": [
50231 {
50232 "tag": "head"
50233 },
50234 {
50235 "tag": "frameset"
50236 },
50237 {
50238 "tag": "noframes",
50239 "children": [
50240 {
50241 "text": "abc",
50242 "no_escape": true
50243 }
50244 ]
50245 }
50246 ]
50247 }
50248 ],
50249 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html>",
50250 "noQuirksBodyHtml": "<noframes>abc</noframes>"
50251 }
50252 },
50253 {
50254 "data": "<!doctype html><frameset></frameset></html><noframes>abc</noframes><!--abc-->",
50255 "errors": [],
50256 "document": {
50257 "props": {
50258 "tags": {
50259 "html": true,
50260 "head": true,
50261 "frameset": true,
50262 "noframes": true
50263 },
50264 "doctype": true,
50265 "no_escape": true,
50266 "comment": true
50267 },
50268 "tree": [
50269 {
50270 "doctype": "html"
50271 },
50272 {
50273 "tag": "html",
50274 "children": [
50275 {
50276 "tag": "head"
50277 },
50278 {
50279 "tag": "frameset"
50280 },
50281 {
50282 "tag": "noframes",
50283 "children": [
50284 {
50285 "text": "abc",
50286 "no_escape": true
50287 }
50288 ]
50289 }
50290 ]
50291 },
50292 {
50293 "comment": "abc"
50294 }
50295 ],
50296 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html><!--abc-->",
50297 "noQuirksBodyHtml": "<noframes>abc</noframes><!--abc-->"
50298 }
50299 },
50300 {
50301 "data": "<!doctype html><table><tr></tbody><tfoot>",
50302 "errors": [
50303 "(1,41): eof-in-table"
50304 ],
50305 "document": {
50306 "props": {
50307 "tags": {
50308 "html": true,
50309 "head": true,
50310 "body": true,
50311 "table": true,
50312 "tbody": true,
50313 "tr": true,
50314 "tfoot": true
50315 },
50316 "doctype": true
50317 },
50318 "tree": [
50319 {
50320 "doctype": "html"
50321 },
50322 {
50323 "tag": "html",
50324 "children": [
50325 {
50326 "tag": "head"
50327 },
50328 {
50329 "tag": "body",
50330 "children": [
50331 {
50332 "tag": "table",
50333 "children": [
50334 {
50335 "tag": "tbody",
50336 "children": [
50337 {
50338 "tag": "tr"
50339 }
50340 ]
50341 },
50342 {
50343 "tag": "tfoot"
50344 }
50345 ]
50346 }
50347 ]
50348 }
50349 ]
50350 }
50351 ],
50352 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr></tr></tbody><tfoot></tfoot></table></body></html>",
50353 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody><tfoot></tfoot></table>"
50354 }
50355 },
50356 {
50357 "data": "<!doctype html><table><td><svg></svg>abc<td>",
50358 "errors": [
50359 "(1,26): unexpected-cell-in-table-body",
50360 "(1,44): expected-closing-tag-but-got-eof"
50361 ],
50362 "document": {
50363 "props": {
50364 "tags": {
50365 "html": true,
50366 "head": true,
50367 "body": true,
50368 "table": true,
50369 "tbody": true,
50370 "tr": true,
50371 "td": true,
50372 "svg svg": true
50373 },
50374 "doctype": true
50375 },
50376 "tree": [
50377 {
50378 "doctype": "html"
50379 },
50380 {
50381 "tag": "html",
50382 "children": [
50383 {
50384 "tag": "head"
50385 },
50386 {
50387 "tag": "body",
50388 "children": [
50389 {
50390 "tag": "table",
50391 "children": [
50392 {
50393 "tag": "tbody",
50394 "children": [
50395 {
50396 "tag": "tr",
50397 "children": [
50398 {
50399 "tag": "td",
50400 "children": [
50401 {
50402 "tag": "svg",
50403 "ns": "http://www.w3.org/2000/svg"
50404 },
50405 {
50406 "text": "abc"
50407 }
50408 ]
50409 },
50410 {
50411 "tag": "td"
50412 }
50413 ]
50414 }
50415 ]
50416 }
50417 ]
50418 }
50419 ]
50420 }
50421 ]
50422 }
50423 ],
50424 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg></svg>abc</td><td></td></tr></tbody></table></body></html>",
50425 "noQuirksBodyHtml": "<table><tbody><tr><td><svg></svg>abc</td><td></td></tr></tbody></table>"
50426 }
50427 }
50428 ],
50429 "tests19.dat": [
50430 {
50431 "data": "<!doctype html><math><mn DefinitionUrl=\"foo\">",
50432 "errors": [
50433 "(1,45): expected-closing-tag-but-got-eof"
50434 ],
50435 "document": {
50436 "props": {
50437 "tags": {
50438 "html": true,
50439 "head": true,
50440 "body": true,
50441 "math math": true,
50442 "math mn": true
50443 },
50444 "doctype": true
50445 },
50446 "tree": [
50447 {
50448 "doctype": "html"
50449 },
50450 {
50451 "tag": "html",
50452 "children": [
50453 {
50454 "tag": "head"
50455 },
50456 {
50457 "tag": "body",
50458 "children": [
50459 {
50460 "tag": "math",
50461 "ns": "http://www.w3.org/1998/Math/MathML",
50462 "children": [
50463 {
50464 "tag": "mn",
50465 "ns": "http://www.w3.org/1998/Math/MathML",
50466 "attrs": [
50467 {
50468 "name": "definitionURL",
50469 "value": "foo"
50470 }
50471 ]
50472 }
50473 ]
50474 }
50475 ]
50476 }
50477 ]
50478 }
50479 ],
50480 "html": "<!DOCTYPE html><html><head></head><body><math><mn definitionURL=\"foo\"></mn></math></body></html>",
50481 "noQuirksBodyHtml": "<math><mn definitionURL=\"foo\"></mn></math>"
50482 }
50483 },
50484 {
50485 "data": "<!doctype html><html></p><!--foo-->",
50486 "errors": [
50487 "(1,25): end-tag-after-implied-root"
50488 ],
50489 "document": {
50490 "props": {
50491 "tags": {
50492 "html": true,
50493 "head": true,
50494 "body": true
50495 },
50496 "doctype": true,
50497 "comment": true
50498 },
50499 "tree": [
50500 {
50501 "doctype": "html"
50502 },
50503 {
50504 "tag": "html",
50505 "children": [
50506 {
50507 "comment": "foo"
50508 },
50509 {
50510 "tag": "head"
50511 },
50512 {
50513 "tag": "body"
50514 }
50515 ]
50516 }
50517 ],
50518 "html": "<!DOCTYPE html><html><!--foo--><head></head><body></body></html>",
50519 "noQuirksBodyHtml": "<p></p><!--foo-->"
50520 }
50521 },
50522 {
50523 "data": "<!doctype html><head></head></p><!--foo-->",
50524 "errors": [
50525 "(1,32): unexpected-end-tag"
50526 ],
50527 "document": {
50528 "props": {
50529 "tags": {
50530 "html": true,
50531 "head": true,
50532 "body": true
50533 },
50534 "doctype": true,
50535 "comment": true
50536 },
50537 "tree": [
50538 {
50539 "doctype": "html"
50540 },
50541 {
50542 "tag": "html",
50543 "children": [
50544 {
50545 "tag": "head"
50546 },
50547 {
50548 "comment": "foo"
50549 },
50550 {
50551 "tag": "body"
50552 }
50553 ]
50554 }
50555 ],
50556 "html": "<!DOCTYPE html><html><head></head><!--foo--><body></body></html>",
50557 "noQuirksBodyHtml": "<p></p><!--foo-->"
50558 }
50559 },
50560 {
50561 "data": "<!doctype html><body><p><pre>",
50562 "errors": [
50563 "(1,29): expected-closing-tag-but-got-eof"
50564 ],
50565 "document": {
50566 "props": {
50567 "tags": {
50568 "html": true,
50569 "head": true,
50570 "body": true,
50571 "p": true,
50572 "pre": true
50573 },
50574 "doctype": true
50575 },
50576 "tree": [
50577 {
50578 "doctype": "html"
50579 },
50580 {
50581 "tag": "html",
50582 "children": [
50583 {
50584 "tag": "head"
50585 },
50586 {
50587 "tag": "body",
50588 "children": [
50589 {
50590 "tag": "p"
50591 },
50592 {
50593 "tag": "pre"
50594 }
50595 ]
50596 }
50597 ]
50598 }
50599 ],
50600 "html": "<!DOCTYPE html><html><head></head><body><p></p><pre></pre></body></html>",
50601 "noQuirksBodyHtml": "<p></p><pre></pre>"
50602 }
50603 },
50604 {
50605 "data": "<!doctype html><body><p><listing>",
50606 "errors": [
50607 "(1,33): expected-closing-tag-but-got-eof"
50608 ],
50609 "document": {
50610 "props": {
50611 "tags": {
50612 "html": true,
50613 "head": true,
50614 "body": true,
50615 "p": true,
50616 "listing": true
50617 },
50618 "doctype": true
50619 },
50620 "tree": [
50621 {
50622 "doctype": "html"
50623 },
50624 {
50625 "tag": "html",
50626 "children": [
50627 {
50628 "tag": "head"
50629 },
50630 {
50631 "tag": "body",
50632 "children": [
50633 {
50634 "tag": "p"
50635 },
50636 {
50637 "tag": "listing"
50638 }
50639 ]
50640 }
50641 ]
50642 }
50643 ],
50644 "html": "<!DOCTYPE html><html><head></head><body><p></p><listing></listing></body></html>",
50645 "noQuirksBodyHtml": "<p></p><listing></listing>"
50646 }
50647 },
50648 {
50649 "data": "<!doctype html><p><plaintext>",
50650 "errors": [
50651 "(1,29): expected-closing-tag-but-got-eof"
50652 ],
50653 "document": {
50654 "props": {
50655 "tags": {
50656 "html": true,
50657 "head": true,
50658 "body": true,
50659 "p": true,
50660 "plaintext": true
50661 },
50662 "doctype": true
50663 },
50664 "tree": [
50665 {
50666 "doctype": "html"
50667 },
50668 {
50669 "tag": "html",
50670 "children": [
50671 {
50672 "tag": "head"
50673 },
50674 {
50675 "tag": "body",
50676 "children": [
50677 {
50678 "tag": "p"
50679 },
50680 {
50681 "tag": "plaintext"
50682 }
50683 ]
50684 }
50685 ]
50686 }
50687 ],
50688 "html": "<!DOCTYPE html><html><head></head><body><p></p><plaintext></plaintext></body></html>",
50689 "noQuirksBodyHtml": "<p></p><plaintext></plaintext>"
50690 }
50691 },
50692 {
50693 "data": "<!doctype html><p><h1>",
50694 "errors": [
50695 "(1,22): expected-closing-tag-but-got-eof"
50696 ],
50697 "document": {
50698 "props": {
50699 "tags": {
50700 "html": true,
50701 "head": true,
50702 "body": true,
50703 "p": true,
50704 "h1": true
50705 },
50706 "doctype": true
50707 },
50708 "tree": [
50709 {
50710 "doctype": "html"
50711 },
50712 {
50713 "tag": "html",
50714 "children": [
50715 {
50716 "tag": "head"
50717 },
50718 {
50719 "tag": "body",
50720 "children": [
50721 {
50722 "tag": "p"
50723 },
50724 {
50725 "tag": "h1"
50726 }
50727 ]
50728 }
50729 ]
50730 }
50731 ],
50732 "html": "<!DOCTYPE html><html><head></head><body><p></p><h1></h1></body></html>",
50733 "noQuirksBodyHtml": "<p></p><h1></h1>"
50734 }
50735 },
50736 {
50737 "data": "<!doctype html><isindex type=\"hidden\">",
50738 "errors": [
50739 "(1,38): expected-closing-tag-but-got-eof"
50740 ],
50741 "document": {
50742 "props": {
50743 "tags": {
50744 "html": true,
50745 "head": true,
50746 "body": true,
50747 "isindex": true
50748 },
50749 "doctype": true
50750 },
50751 "tree": [
50752 {
50753 "doctype": "html"
50754 },
50755 {
50756 "tag": "html",
50757 "children": [
50758 {
50759 "tag": "head"
50760 },
50761 {
50762 "tag": "body",
50763 "children": [
50764 {
50765 "tag": "isindex",
50766 "attrs": [
50767 {
50768 "name": "type",
50769 "value": "hidden"
50770 }
50771 ]
50772 }
50773 ]
50774 }
50775 ]
50776 }
50777 ],
50778 "html": "<!DOCTYPE html><html><head></head><body><isindex type=\"hidden\"></isindex></body></html>",
50779 "noQuirksBodyHtml": "<isindex type=\"hidden\"></isindex>"
50780 }
50781 },
50782 {
50783 "data": "<!doctype html><ruby><p><rp>",
50784 "errors": [
50785 "(1,28): expected-closing-tag-but-got-eof"
50786 ],
50787 "document": {
50788 "props": {
50789 "tags": {
50790 "html": true,
50791 "head": true,
50792 "body": true,
50793 "ruby": true,
50794 "p": true,
50795 "rp": true
50796 },
50797 "doctype": true
50798 },
50799 "tree": [
50800 {
50801 "doctype": "html"
50802 },
50803 {
50804 "tag": "html",
50805 "children": [
50806 {
50807 "tag": "head"
50808 },
50809 {
50810 "tag": "body",
50811 "children": [
50812 {
50813 "tag": "ruby",
50814 "children": [
50815 {
50816 "tag": "p"
50817 },
50818 {
50819 "tag": "rp"
50820 }
50821 ]
50822 }
50823 ]
50824 }
50825 ]
50826 }
50827 ],
50828 "html": "<!DOCTYPE html><html><head></head><body><ruby><p></p><rp></rp></ruby></body></html>",
50829 "noQuirksBodyHtml": "<ruby><p></p><rp></rp></ruby>"
50830 }
50831 },
50832 {
50833 "data": "<!doctype html><ruby><div><span><rp>",
50834 "errors": [
50835 "(1,36): XXX-undefined-error",
50836 "(1,36): expected-closing-tag-but-got-eof"
50837 ],
50838 "document": {
50839 "props": {
50840 "tags": {
50841 "html": true,
50842 "head": true,
50843 "body": true,
50844 "ruby": true,
50845 "div": true,
50846 "span": true,
50847 "rp": true
50848 },
50849 "doctype": true
50850 },
50851 "tree": [
50852 {
50853 "doctype": "html"
50854 },
50855 {
50856 "tag": "html",
50857 "children": [
50858 {
50859 "tag": "head"
50860 },
50861 {
50862 "tag": "body",
50863 "children": [
50864 {
50865 "tag": "ruby",
50866 "children": [
50867 {
50868 "tag": "div",
50869 "children": [
50870 {
50871 "tag": "span",
50872 "children": [
50873 {
50874 "tag": "rp"
50875 }
50876 ]
50877 }
50878 ]
50879 }
50880 ]
50881 }
50882 ]
50883 }
50884 ]
50885 }
50886 ],
50887 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><span><rp></rp></span></div></ruby></body></html>",
50888 "noQuirksBodyHtml": "<ruby><div><span><rp></rp></span></div></ruby>"
50889 }
50890 },
50891 {
50892 "data": "<!doctype html><ruby><div><p><rp>",
50893 "errors": [
50894 "(1,33): XXX-undefined-error",
50895 "(1,33): expected-closing-tag-but-got-eof"
50896 ],
50897 "document": {
50898 "props": {
50899 "tags": {
50900 "html": true,
50901 "head": true,
50902 "body": true,
50903 "ruby": true,
50904 "div": true,
50905 "p": true,
50906 "rp": true
50907 },
50908 "doctype": true
50909 },
50910 "tree": [
50911 {
50912 "doctype": "html"
50913 },
50914 {
50915 "tag": "html",
50916 "children": [
50917 {
50918 "tag": "head"
50919 },
50920 {
50921 "tag": "body",
50922 "children": [
50923 {
50924 "tag": "ruby",
50925 "children": [
50926 {
50927 "tag": "div",
50928 "children": [
50929 {
50930 "tag": "p"
50931 },
50932 {
50933 "tag": "rp"
50934 }
50935 ]
50936 }
50937 ]
50938 }
50939 ]
50940 }
50941 ]
50942 }
50943 ],
50944 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><p></p><rp></rp></div></ruby></body></html>",
50945 "noQuirksBodyHtml": "<ruby><div><p></p><rp></rp></div></ruby>"
50946 }
50947 },
50948 {
50949 "data": "<!doctype html><ruby><p><rt>",
50950 "errors": [
50951 "(1,28): expected-closing-tag-but-got-eof"
50952 ],
50953 "document": {
50954 "props": {
50955 "tags": {
50956 "html": true,
50957 "head": true,
50958 "body": true,
50959 "ruby": true,
50960 "p": true,
50961 "rt": true
50962 },
50963 "doctype": true
50964 },
50965 "tree": [
50966 {
50967 "doctype": "html"
50968 },
50969 {
50970 "tag": "html",
50971 "children": [
50972 {
50973 "tag": "head"
50974 },
50975 {
50976 "tag": "body",
50977 "children": [
50978 {
50979 "tag": "ruby",
50980 "children": [
50981 {
50982 "tag": "p"
50983 },
50984 {
50985 "tag": "rt"
50986 }
50987 ]
50988 }
50989 ]
50990 }
50991 ]
50992 }
50993 ],
50994 "html": "<!DOCTYPE html><html><head></head><body><ruby><p></p><rt></rt></ruby></body></html>",
50995 "noQuirksBodyHtml": "<ruby><p></p><rt></rt></ruby>"
50996 }
50997 },
50998 {
50999 "data": "<!doctype html><ruby><div><span><rt>",
51000 "errors": [
51001 "(1,36): XXX-undefined-error",
51002 "(1,36): expected-closing-tag-but-got-eof"
51003 ],
51004 "document": {
51005 "props": {
51006 "tags": {
51007 "html": true,
51008 "head": true,
51009 "body": true,
51010 "ruby": true,
51011 "div": true,
51012 "span": true,
51013 "rt": true
51014 },
51015 "doctype": true
51016 },
51017 "tree": [
51018 {
51019 "doctype": "html"
51020 },
51021 {
51022 "tag": "html",
51023 "children": [
51024 {
51025 "tag": "head"
51026 },
51027 {
51028 "tag": "body",
51029 "children": [
51030 {
51031 "tag": "ruby",
51032 "children": [
51033 {
51034 "tag": "div",
51035 "children": [
51036 {
51037 "tag": "span",
51038 "children": [
51039 {
51040 "tag": "rt"
51041 }
51042 ]
51043 }
51044 ]
51045 }
51046 ]
51047 }
51048 ]
51049 }
51050 ]
51051 }
51052 ],
51053 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><span><rt></rt></span></div></ruby></body></html>",
51054 "noQuirksBodyHtml": "<ruby><div><span><rt></rt></span></div></ruby>"
51055 }
51056 },
51057 {
51058 "data": "<!doctype html><ruby><div><p><rt>",
51059 "errors": [
51060 "(1,33): XXX-undefined-error",
51061 "(1,33): expected-closing-tag-but-got-eof"
51062 ],
51063 "document": {
51064 "props": {
51065 "tags": {
51066 "html": true,
51067 "head": true,
51068 "body": true,
51069 "ruby": true,
51070 "div": true,
51071 "p": true,
51072 "rt": true
51073 },
51074 "doctype": true
51075 },
51076 "tree": [
51077 {
51078 "doctype": "html"
51079 },
51080 {
51081 "tag": "html",
51082 "children": [
51083 {
51084 "tag": "head"
51085 },
51086 {
51087 "tag": "body",
51088 "children": [
51089 {
51090 "tag": "ruby",
51091 "children": [
51092 {
51093 "tag": "div",
51094 "children": [
51095 {
51096 "tag": "p"
51097 },
51098 {
51099 "tag": "rt"
51100 }
51101 ]
51102 }
51103 ]
51104 }
51105 ]
51106 }
51107 ]
51108 }
51109 ],
51110 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><p></p><rt></rt></div></ruby></body></html>",
51111 "noQuirksBodyHtml": "<ruby><div><p></p><rt></rt></div></ruby>"
51112 }
51113 },
51114 {
51115 "data": "<html><ruby>a<rb>b<rt></ruby></html>",
51116 "errors": [
51117 "(1,6): expected-doctype-but-got-start-tag"
51118 ],
51119 "document": {
51120 "props": {
51121 "tags": {
51122 "html": true,
51123 "head": true,
51124 "body": true,
51125 "ruby": true,
51126 "rb": true,
51127 "rt": true
51128 }
51129 },
51130 "tree": [
51131 {
51132 "tag": "html",
51133 "children": [
51134 {
51135 "tag": "head"
51136 },
51137 {
51138 "tag": "body",
51139 "children": [
51140 {
51141 "tag": "ruby",
51142 "children": [
51143 {
51144 "text": "a"
51145 },
51146 {
51147 "tag": "rb",
51148 "children": [
51149 {
51150 "text": "b"
51151 }
51152 ]
51153 },
51154 {
51155 "tag": "rt"
51156 }
51157 ]
51158 }
51159 ]
51160 }
51161 ]
51162 }
51163 ],
51164 "html": "<html><head></head><body><ruby>a<rb>b</rb><rt></rt></ruby></body></html>",
51165 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rt></rt></ruby>"
51166 }
51167 },
51168 {
51169 "data": "<html><ruby>a<rp>b<rt></ruby></html>",
51170 "errors": [
51171 "(1,6): expected-doctype-but-got-start-tag"
51172 ],
51173 "document": {
51174 "props": {
51175 "tags": {
51176 "html": true,
51177 "head": true,
51178 "body": true,
51179 "ruby": true,
51180 "rp": true,
51181 "rt": true
51182 }
51183 },
51184 "tree": [
51185 {
51186 "tag": "html",
51187 "children": [
51188 {
51189 "tag": "head"
51190 },
51191 {
51192 "tag": "body",
51193 "children": [
51194 {
51195 "tag": "ruby",
51196 "children": [
51197 {
51198 "text": "a"
51199 },
51200 {
51201 "tag": "rp",
51202 "children": [
51203 {
51204 "text": "b"
51205 }
51206 ]
51207 },
51208 {
51209 "tag": "rt"
51210 }
51211 ]
51212 }
51213 ]
51214 }
51215 ]
51216 }
51217 ],
51218 "html": "<html><head></head><body><ruby>a<rp>b</rp><rt></rt></ruby></body></html>",
51219 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rt></rt></ruby>"
51220 }
51221 },
51222 {
51223 "data": "<html><ruby>a<rt>b<rt></ruby></html>",
51224 "errors": [
51225 "(1,6): expected-doctype-but-got-start-tag"
51226 ],
51227 "document": {
51228 "props": {
51229 "tags": {
51230 "html": true,
51231 "head": true,
51232 "body": true,
51233 "ruby": true,
51234 "rt": true
51235 }
51236 },
51237 "tree": [
51238 {
51239 "tag": "html",
51240 "children": [
51241 {
51242 "tag": "head"
51243 },
51244 {
51245 "tag": "body",
51246 "children": [
51247 {
51248 "tag": "ruby",
51249 "children": [
51250 {
51251 "text": "a"
51252 },
51253 {
51254 "tag": "rt",
51255 "children": [
51256 {
51257 "text": "b"
51258 }
51259 ]
51260 },
51261 {
51262 "tag": "rt"
51263 }
51264 ]
51265 }
51266 ]
51267 }
51268 ]
51269 }
51270 ],
51271 "html": "<html><head></head><body><ruby>a<rt>b</rt><rt></rt></ruby></body></html>",
51272 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rt></rt></ruby>"
51273 }
51274 },
51275 {
51276 "data": "<html><ruby>a<rtc>b<rt>c<rb>d</ruby></html>",
51277 "errors": [
51278 "(1,6): expected-doctype-but-got-start-tag"
51279 ],
51280 "document": {
51281 "props": {
51282 "tags": {
51283 "html": true,
51284 "head": true,
51285 "body": true,
51286 "ruby": true,
51287 "rtc": true,
51288 "rt": true,
51289 "rb": true
51290 }
51291 },
51292 "tree": [
51293 {
51294 "tag": "html",
51295 "children": [
51296 {
51297 "tag": "head"
51298 },
51299 {
51300 "tag": "body",
51301 "children": [
51302 {
51303 "tag": "ruby",
51304 "children": [
51305 {
51306 "text": "a"
51307 },
51308 {
51309 "tag": "rtc",
51310 "children": [
51311 {
51312 "text": "b"
51313 },
51314 {
51315 "tag": "rt",
51316 "children": [
51317 {
51318 "text": "c"
51319 }
51320 ]
51321 }
51322 ]
51323 },
51324 {
51325 "tag": "rb",
51326 "children": [
51327 {
51328 "text": "d"
51329 }
51330 ]
51331 }
51332 ]
51333 }
51334 ]
51335 }
51336 ]
51337 }
51338 ],
51339 "html": "<html><head></head><body><ruby>a<rtc>b<rt>c</rt></rtc><rb>d</rb></ruby></body></html>",
51340 "noQuirksBodyHtml": "<ruby>a<rtc>b<rt>c</rt></rtc><rb>d</rb></ruby>"
51341 }
51342 },
51343 {
51344 "data": "<!doctype html><math/><foo>",
51345 "errors": [
51346 "(1,27): expected-closing-tag-but-got-eof"
51347 ],
51348 "document": {
51349 "props": {
51350 "tags": {
51351 "html": true,
51352 "head": true,
51353 "body": true,
51354 "math math": true,
51355 "foo": true
51356 },
51357 "doctype": true
51358 },
51359 "tree": [
51360 {
51361 "doctype": "html"
51362 },
51363 {
51364 "tag": "html",
51365 "children": [
51366 {
51367 "tag": "head"
51368 },
51369 {
51370 "tag": "body",
51371 "children": [
51372 {
51373 "tag": "math",
51374 "ns": "http://www.w3.org/1998/Math/MathML"
51375 },
51376 {
51377 "tag": "foo"
51378 }
51379 ]
51380 }
51381 ]
51382 }
51383 ],
51384 "html": "<!DOCTYPE html><html><head></head><body><math></math><foo></foo></body></html>",
51385 "noQuirksBodyHtml": "<math></math><foo></foo>"
51386 }
51387 },
51388 {
51389 "data": "<!doctype html><svg/><foo>",
51390 "errors": [
51391 "(1,26): expected-closing-tag-but-got-eof"
51392 ],
51393 "document": {
51394 "props": {
51395 "tags": {
51396 "html": true,
51397 "head": true,
51398 "body": true,
51399 "svg svg": true,
51400 "foo": true
51401 },
51402 "doctype": true
51403 },
51404 "tree": [
51405 {
51406 "doctype": "html"
51407 },
51408 {
51409 "tag": "html",
51410 "children": [
51411 {
51412 "tag": "head"
51413 },
51414 {
51415 "tag": "body",
51416 "children": [
51417 {
51418 "tag": "svg",
51419 "ns": "http://www.w3.org/2000/svg"
51420 },
51421 {
51422 "tag": "foo"
51423 }
51424 ]
51425 }
51426 ]
51427 }
51428 ],
51429 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><foo></foo></body></html>",
51430 "noQuirksBodyHtml": "<svg></svg><foo></foo>"
51431 }
51432 },
51433 {
51434 "data": "<!doctype html><div></body><!--foo-->",
51435 "errors": [
51436 "(1,27): expected-one-end-tag-but-got-another"
51437 ],
51438 "document": {
51439 "props": {
51440 "tags": {
51441 "html": true,
51442 "head": true,
51443 "body": true,
51444 "div": true
51445 },
51446 "doctype": true,
51447 "comment": true
51448 },
51449 "tree": [
51450 {
51451 "doctype": "html"
51452 },
51453 {
51454 "tag": "html",
51455 "children": [
51456 {
51457 "tag": "head"
51458 },
51459 {
51460 "tag": "body",
51461 "children": [
51462 {
51463 "tag": "div"
51464 }
51465 ]
51466 },
51467 {
51468 "comment": "foo"
51469 }
51470 ]
51471 }
51472 ],
51473 "html": "<!DOCTYPE html><html><head></head><body><div></div></body><!--foo--></html>",
51474 "noQuirksBodyHtml": "<div><!--foo--></div>"
51475 }
51476 },
51477 {
51478 "data": "<!doctype html><h1><div><h3><span></h1>foo",
51479 "errors": [
51480 "(1,39): end-tag-too-early",
51481 "(1,42): expected-closing-tag-but-got-eof"
51482 ],
51483 "document": {
51484 "props": {
51485 "tags": {
51486 "html": true,
51487 "head": true,
51488 "body": true,
51489 "h1": true,
51490 "div": true,
51491 "h3": true,
51492 "span": true
51493 },
51494 "doctype": true
51495 },
51496 "tree": [
51497 {
51498 "doctype": "html"
51499 },
51500 {
51501 "tag": "html",
51502 "children": [
51503 {
51504 "tag": "head"
51505 },
51506 {
51507 "tag": "body",
51508 "children": [
51509 {
51510 "tag": "h1",
51511 "children": [
51512 {
51513 "tag": "div",
51514 "children": [
51515 {
51516 "tag": "h3",
51517 "children": [
51518 {
51519 "tag": "span"
51520 }
51521 ]
51522 },
51523 {
51524 "text": "foo"
51525 }
51526 ]
51527 }
51528 ]
51529 }
51530 ]
51531 }
51532 ]
51533 }
51534 ],
51535 "html": "<!DOCTYPE html><html><head></head><body><h1><div><h3><span></span></h3>foo</div></h1></body></html>",
51536 "noQuirksBodyHtml": "<h1><div><h3><span></span></h3>foo</div></h1>"
51537 }
51538 },
51539 {
51540 "data": "<!doctype html><p></h3>foo",
51541 "errors": [
51542 "(1,23): end-tag-too-early"
51543 ],
51544 "document": {
51545 "props": {
51546 "tags": {
51547 "html": true,
51548 "head": true,
51549 "body": true,
51550 "p": true
51551 },
51552 "doctype": true
51553 },
51554 "tree": [
51555 {
51556 "doctype": "html"
51557 },
51558 {
51559 "tag": "html",
51560 "children": [
51561 {
51562 "tag": "head"
51563 },
51564 {
51565 "tag": "body",
51566 "children": [
51567 {
51568 "tag": "p",
51569 "children": [
51570 {
51571 "text": "foo"
51572 }
51573 ]
51574 }
51575 ]
51576 }
51577 ]
51578 }
51579 ],
51580 "html": "<!DOCTYPE html><html><head></head><body><p>foo</p></body></html>",
51581 "noQuirksBodyHtml": "<p>foo</p>"
51582 }
51583 },
51584 {
51585 "data": "<!doctype html><h3><li>abc</h2>foo",
51586 "errors": [
51587 "(1,31): end-tag-too-early"
51588 ],
51589 "document": {
51590 "props": {
51591 "tags": {
51592 "html": true,
51593 "head": true,
51594 "body": true,
51595 "h3": true,
51596 "li": true
51597 },
51598 "doctype": true
51599 },
51600 "tree": [
51601 {
51602 "doctype": "html"
51603 },
51604 {
51605 "tag": "html",
51606 "children": [
51607 {
51608 "tag": "head"
51609 },
51610 {
51611 "tag": "body",
51612 "children": [
51613 {
51614 "tag": "h3",
51615 "children": [
51616 {
51617 "tag": "li",
51618 "children": [
51619 {
51620 "text": "abc"
51621 }
51622 ]
51623 }
51624 ]
51625 },
51626 {
51627 "text": "foo"
51628 }
51629 ]
51630 }
51631 ]
51632 }
51633 ],
51634 "html": "<!DOCTYPE html><html><head></head><body><h3><li>abc</li></h3>foo</body></html>",
51635 "noQuirksBodyHtml": "<h3><li>abc</li></h3>foo"
51636 }
51637 },
51638 {
51639 "data": "<!doctype html><table>abc<!--foo-->",
51640 "errors": [
51641 "(1,23): foster-parenting-character",
51642 "(1,24): foster-parenting-character",
51643 "(1,25): foster-parenting-character",
51644 "(1,35): eof-in-table"
51645 ],
51646 "document": {
51647 "props": {
51648 "tags": {
51649 "html": true,
51650 "head": true,
51651 "body": true,
51652 "table": true
51653 },
51654 "doctype": true,
51655 "comment": true
51656 },
51657 "tree": [
51658 {
51659 "doctype": "html"
51660 },
51661 {
51662 "tag": "html",
51663 "children": [
51664 {
51665 "tag": "head"
51666 },
51667 {
51668 "tag": "body",
51669 "children": [
51670 {
51671 "text": "abc"
51672 },
51673 {
51674 "tag": "table",
51675 "children": [
51676 {
51677 "comment": "foo"
51678 }
51679 ]
51680 }
51681 ]
51682 }
51683 ]
51684 }
51685 ],
51686 "html": "<!DOCTYPE html><html><head></head><body>abc<table><!--foo--></table></body></html>",
51687 "noQuirksBodyHtml": "abc<table><!--foo--></table>"
51688 }
51689 },
51690 {
51691 "data": "<!doctype html><table> <!--foo-->",
51692 "errors": [
51693 "(1,34): eof-in-table"
51694 ],
51695 "document": {
51696 "props": {
51697 "tags": {
51698 "html": true,
51699 "head": true,
51700 "body": true,
51701 "table": true
51702 },
51703 "doctype": true,
51704 "comment": true
51705 },
51706 "tree": [
51707 {
51708 "doctype": "html"
51709 },
51710 {
51711 "tag": "html",
51712 "children": [
51713 {
51714 "tag": "head"
51715 },
51716 {
51717 "tag": "body",
51718 "children": [
51719 {
51720 "tag": "table",
51721 "children": [
51722 {
51723 "text": " "
51724 },
51725 {
51726 "comment": "foo"
51727 }
51728 ]
51729 }
51730 ]
51731 }
51732 ]
51733 }
51734 ],
51735 "html": "<!DOCTYPE html><html><head></head><body><table> <!--foo--></table></body></html>",
51736 "noQuirksBodyHtml": "<table> <!--foo--></table>"
51737 }
51738 },
51739 {
51740 "data": "<!doctype html><table> b <!--foo-->",
51741 "errors": [
51742 "(1,23): foster-parenting-character",
51743 "(1,24): foster-parenting-character",
51744 "(1,25): foster-parenting-character",
51745 "(1,35): eof-in-table"
51746 ],
51747 "document": {
51748 "props": {
51749 "tags": {
51750 "html": true,
51751 "head": true,
51752 "body": true,
51753 "table": true
51754 },
51755 "doctype": true,
51756 "comment": true
51757 },
51758 "tree": [
51759 {
51760 "doctype": "html"
51761 },
51762 {
51763 "tag": "html",
51764 "children": [
51765 {
51766 "tag": "head"
51767 },
51768 {
51769 "tag": "body",
51770 "children": [
51771 {
51772 "text": " b "
51773 },
51774 {
51775 "tag": "table",
51776 "children": [
51777 {
51778 "comment": "foo"
51779 }
51780 ]
51781 }
51782 ]
51783 }
51784 ]
51785 }
51786 ],
51787 "html": "<!DOCTYPE html><html><head></head><body> b <table><!--foo--></table></body></html>",
51788 "noQuirksBodyHtml": " b <table><!--foo--></table>"
51789 }
51790 },
51791 {
51792 "data": "<!doctype html><select><option><option>",
51793 "errors": [
51794 "(1,39): eof-in-select"
51795 ],
51796 "document": {
51797 "props": {
51798 "tags": {
51799 "html": true,
51800 "head": true,
51801 "body": true,
51802 "select": true,
51803 "option": true
51804 },
51805 "doctype": true
51806 },
51807 "tree": [
51808 {
51809 "doctype": "html"
51810 },
51811 {
51812 "tag": "html",
51813 "children": [
51814 {
51815 "tag": "head"
51816 },
51817 {
51818 "tag": "body",
51819 "children": [
51820 {
51821 "tag": "select",
51822 "children": [
51823 {
51824 "tag": "option"
51825 },
51826 {
51827 "tag": "option"
51828 }
51829 ]
51830 }
51831 ]
51832 }
51833 ]
51834 }
51835 ],
51836 "html": "<!DOCTYPE html><html><head></head><body><select><option></option><option></option></select></body></html>",
51837 "noQuirksBodyHtml": "<select><option></option><option></option></select>"
51838 }
51839 },
51840 {
51841 "data": "<!doctype html><select><option></optgroup>",
51842 "errors": [
51843 "(1,42): unexpected-end-tag-in-select",
51844 "(1,42): eof-in-select"
51845 ],
51846 "document": {
51847 "props": {
51848 "tags": {
51849 "html": true,
51850 "head": true,
51851 "body": true,
51852 "select": true,
51853 "option": true
51854 },
51855 "doctype": true
51856 },
51857 "tree": [
51858 {
51859 "doctype": "html"
51860 },
51861 {
51862 "tag": "html",
51863 "children": [
51864 {
51865 "tag": "head"
51866 },
51867 {
51868 "tag": "body",
51869 "children": [
51870 {
51871 "tag": "select",
51872 "children": [
51873 {
51874 "tag": "option"
51875 }
51876 ]
51877 }
51878 ]
51879 }
51880 ]
51881 }
51882 ],
51883 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
51884 "noQuirksBodyHtml": "<select><option></option></select>"
51885 }
51886 },
51887 {
51888 "data": "<!doctype html><select><option></optgroup>",
51889 "errors": [
51890 "(1,42): unexpected-end-tag-in-select",
51891 "(1,42): eof-in-select"
51892 ],
51893 "document": {
51894 "props": {
51895 "tags": {
51896 "html": true,
51897 "head": true,
51898 "body": true,
51899 "select": true,
51900 "option": true
51901 },
51902 "doctype": true
51903 },
51904 "tree": [
51905 {
51906 "doctype": "html"
51907 },
51908 {
51909 "tag": "html",
51910 "children": [
51911 {
51912 "tag": "head"
51913 },
51914 {
51915 "tag": "body",
51916 "children": [
51917 {
51918 "tag": "select",
51919 "children": [
51920 {
51921 "tag": "option"
51922 }
51923 ]
51924 }
51925 ]
51926 }
51927 ]
51928 }
51929 ],
51930 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
51931 "noQuirksBodyHtml": "<select><option></option></select>"
51932 }
51933 },
51934 {
51935 "data": "<!doctype html><dd><optgroup><dd>",
51936 "errors": [],
51937 "document": {
51938 "props": {
51939 "tags": {
51940 "html": true,
51941 "head": true,
51942 "body": true,
51943 "dd": true,
51944 "optgroup": true
51945 },
51946 "doctype": true
51947 },
51948 "tree": [
51949 {
51950 "doctype": "html"
51951 },
51952 {
51953 "tag": "html",
51954 "children": [
51955 {
51956 "tag": "head"
51957 },
51958 {
51959 "tag": "body",
51960 "children": [
51961 {
51962 "tag": "dd",
51963 "children": [
51964 {
51965 "tag": "optgroup"
51966 }
51967 ]
51968 },
51969 {
51970 "tag": "dd"
51971 }
51972 ]
51973 }
51974 ]
51975 }
51976 ],
51977 "html": "<!DOCTYPE html><html><head></head><body><dd><optgroup></optgroup></dd><dd></dd></body></html>",
51978 "noQuirksBodyHtml": "<dd><optgroup></optgroup></dd><dd></dd>"
51979 }
51980 },
51981 {
51982 "data": "<!doctype html><p><math><mi><p><h1>",
51983 "errors": [
51984 "(1,35): expected-closing-tag-but-got-eof"
51985 ],
51986 "document": {
51987 "props": {
51988 "tags": {
51989 "html": true,
51990 "head": true,
51991 "body": true,
51992 "p": true,
51993 "math math": true,
51994 "math mi": true,
51995 "h1": true
51996 },
51997 "doctype": true
51998 },
51999 "tree": [
52000 {
52001 "doctype": "html"
52002 },
52003 {
52004 "tag": "html",
52005 "children": [
52006 {
52007 "tag": "head"
52008 },
52009 {
52010 "tag": "body",
52011 "children": [
52012 {
52013 "tag": "p",
52014 "children": [
52015 {
52016 "tag": "math",
52017 "ns": "http://www.w3.org/1998/Math/MathML",
52018 "children": [
52019 {
52020 "tag": "mi",
52021 "ns": "http://www.w3.org/1998/Math/MathML",
52022 "children": [
52023 {
52024 "tag": "p"
52025 },
52026 {
52027 "tag": "h1"
52028 }
52029 ]
52030 }
52031 ]
52032 }
52033 ]
52034 }
52035 ]
52036 }
52037 ]
52038 }
52039 ],
52040 "html": "<!DOCTYPE html><html><head></head><body><p><math><mi><p></p><h1></h1></mi></math></p></body></html>",
52041 "noQuirksBodyHtml": "<p><math><mi><p></p><h1></h1></mi></math></p>"
52042 }
52043 },
52044 {
52045 "data": "<!doctype html><p><math><mo><p><h1>",
52046 "errors": [
52047 "(1,35): expected-closing-tag-but-got-eof"
52048 ],
52049 "document": {
52050 "props": {
52051 "tags": {
52052 "html": true,
52053 "head": true,
52054 "body": true,
52055 "p": true,
52056 "math math": true,
52057 "math mo": true,
52058 "h1": true
52059 },
52060 "doctype": true
52061 },
52062 "tree": [
52063 {
52064 "doctype": "html"
52065 },
52066 {
52067 "tag": "html",
52068 "children": [
52069 {
52070 "tag": "head"
52071 },
52072 {
52073 "tag": "body",
52074 "children": [
52075 {
52076 "tag": "p",
52077 "children": [
52078 {
52079 "tag": "math",
52080 "ns": "http://www.w3.org/1998/Math/MathML",
52081 "children": [
52082 {
52083 "tag": "mo",
52084 "ns": "http://www.w3.org/1998/Math/MathML",
52085 "children": [
52086 {
52087 "tag": "p"
52088 },
52089 {
52090 "tag": "h1"
52091 }
52092 ]
52093 }
52094 ]
52095 }
52096 ]
52097 }
52098 ]
52099 }
52100 ]
52101 }
52102 ],
52103 "html": "<!DOCTYPE html><html><head></head><body><p><math><mo><p></p><h1></h1></mo></math></p></body></html>",
52104 "noQuirksBodyHtml": "<p><math><mo><p></p><h1></h1></mo></math></p>"
52105 }
52106 },
52107 {
52108 "data": "<!doctype html><p><math><mn><p><h1>",
52109 "errors": [
52110 "(1,35): expected-closing-tag-but-got-eof"
52111 ],
52112 "document": {
52113 "props": {
52114 "tags": {
52115 "html": true,
52116 "head": true,
52117 "body": true,
52118 "p": true,
52119 "math math": true,
52120 "math mn": true,
52121 "h1": true
52122 },
52123 "doctype": true
52124 },
52125 "tree": [
52126 {
52127 "doctype": "html"
52128 },
52129 {
52130 "tag": "html",
52131 "children": [
52132 {
52133 "tag": "head"
52134 },
52135 {
52136 "tag": "body",
52137 "children": [
52138 {
52139 "tag": "p",
52140 "children": [
52141 {
52142 "tag": "math",
52143 "ns": "http://www.w3.org/1998/Math/MathML",
52144 "children": [
52145 {
52146 "tag": "mn",
52147 "ns": "http://www.w3.org/1998/Math/MathML",
52148 "children": [
52149 {
52150 "tag": "p"
52151 },
52152 {
52153 "tag": "h1"
52154 }
52155 ]
52156 }
52157 ]
52158 }
52159 ]
52160 }
52161 ]
52162 }
52163 ]
52164 }
52165 ],
52166 "html": "<!DOCTYPE html><html><head></head><body><p><math><mn><p></p><h1></h1></mn></math></p></body></html>",
52167 "noQuirksBodyHtml": "<p><math><mn><p></p><h1></h1></mn></math></p>"
52168 }
52169 },
52170 {
52171 "data": "<!doctype html><p><math><ms><p><h1>",
52172 "errors": [
52173 "(1,35): expected-closing-tag-but-got-eof"
52174 ],
52175 "document": {
52176 "props": {
52177 "tags": {
52178 "html": true,
52179 "head": true,
52180 "body": true,
52181 "p": true,
52182 "math math": true,
52183 "math ms": true,
52184 "h1": true
52185 },
52186 "doctype": true
52187 },
52188 "tree": [
52189 {
52190 "doctype": "html"
52191 },
52192 {
52193 "tag": "html",
52194 "children": [
52195 {
52196 "tag": "head"
52197 },
52198 {
52199 "tag": "body",
52200 "children": [
52201 {
52202 "tag": "p",
52203 "children": [
52204 {
52205 "tag": "math",
52206 "ns": "http://www.w3.org/1998/Math/MathML",
52207 "children": [
52208 {
52209 "tag": "ms",
52210 "ns": "http://www.w3.org/1998/Math/MathML",
52211 "children": [
52212 {
52213 "tag": "p"
52214 },
52215 {
52216 "tag": "h1"
52217 }
52218 ]
52219 }
52220 ]
52221 }
52222 ]
52223 }
52224 ]
52225 }
52226 ]
52227 }
52228 ],
52229 "html": "<!DOCTYPE html><html><head></head><body><p><math><ms><p></p><h1></h1></ms></math></p></body></html>",
52230 "noQuirksBodyHtml": "<p><math><ms><p></p><h1></h1></ms></math></p>"
52231 }
52232 },
52233 {
52234 "data": "<!doctype html><p><math><mtext><p><h1>",
52235 "errors": [
52236 "(1,38): expected-closing-tag-but-got-eof"
52237 ],
52238 "document": {
52239 "props": {
52240 "tags": {
52241 "html": true,
52242 "head": true,
52243 "body": true,
52244 "p": true,
52245 "math math": true,
52246 "math mtext": true,
52247 "h1": true
52248 },
52249 "doctype": true
52250 },
52251 "tree": [
52252 {
52253 "doctype": "html"
52254 },
52255 {
52256 "tag": "html",
52257 "children": [
52258 {
52259 "tag": "head"
52260 },
52261 {
52262 "tag": "body",
52263 "children": [
52264 {
52265 "tag": "p",
52266 "children": [
52267 {
52268 "tag": "math",
52269 "ns": "http://www.w3.org/1998/Math/MathML",
52270 "children": [
52271 {
52272 "tag": "mtext",
52273 "ns": "http://www.w3.org/1998/Math/MathML",
52274 "children": [
52275 {
52276 "tag": "p"
52277 },
52278 {
52279 "tag": "h1"
52280 }
52281 ]
52282 }
52283 ]
52284 }
52285 ]
52286 }
52287 ]
52288 }
52289 ]
52290 }
52291 ],
52292 "html": "<!DOCTYPE html><html><head></head><body><p><math><mtext><p></p><h1></h1></mtext></math></p></body></html>",
52293 "noQuirksBodyHtml": "<p><math><mtext><p></p><h1></h1></mtext></math></p>"
52294 }
52295 },
52296 {
52297 "data": "<!doctype html><frameset></noframes>",
52298 "errors": [
52299 "(1,36): unexpected-end-tag-in-frameset",
52300 "(1,36): eof-in-frameset"
52301 ],
52302 "document": {
52303 "props": {
52304 "tags": {
52305 "html": true,
52306 "head": true,
52307 "frameset": true
52308 },
52309 "doctype": true
52310 },
52311 "tree": [
52312 {
52313 "doctype": "html"
52314 },
52315 {
52316 "tag": "html",
52317 "children": [
52318 {
52319 "tag": "head"
52320 },
52321 {
52322 "tag": "frameset"
52323 }
52324 ]
52325 }
52326 ],
52327 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
52328 "noQuirksBodyHtml": ""
52329 }
52330 },
52331 {
52332 "data": "<!doctype html><html c=d><body></html><html a=b>",
52333 "errors": [
52334 "(1,48): non-html-root"
52335 ],
52336 "document": {
52337 "props": {
52338 "tags": {
52339 "html": true,
52340 "head": true,
52341 "body": true
52342 },
52343 "doctype": true
52344 },
52345 "tree": [
52346 {
52347 "doctype": "html"
52348 },
52349 {
52350 "tag": "html",
52351 "attrs": [
52352 {
52353 "name": "a",
52354 "value": "b"
52355 },
52356 {
52357 "name": "c",
52358 "value": "d"
52359 }
52360 ],
52361 "children": [
52362 {
52363 "tag": "head"
52364 },
52365 {
52366 "tag": "body"
52367 }
52368 ]
52369 }
52370 ],
52371 "html": "<!DOCTYPE html><html c=\"d\" a=\"b\"><head></head><body></body></html>",
52372 "noQuirksBodyHtml": ""
52373 }
52374 },
52375 {
52376 "data": "<!doctype html><html c=d><frameset></frameset></html><html a=b>",
52377 "errors": [
52378 "(1,63): non-html-root"
52379 ],
52380 "document": {
52381 "props": {
52382 "tags": {
52383 "html": true,
52384 "head": true,
52385 "frameset": true
52386 },
52387 "doctype": true
52388 },
52389 "tree": [
52390 {
52391 "doctype": "html"
52392 },
52393 {
52394 "tag": "html",
52395 "attrs": [
52396 {
52397 "name": "a",
52398 "value": "b"
52399 },
52400 {
52401 "name": "c",
52402 "value": "d"
52403 }
52404 ],
52405 "children": [
52406 {
52407 "tag": "head"
52408 },
52409 {
52410 "tag": "frameset"
52411 }
52412 ]
52413 }
52414 ],
52415 "html": "<!DOCTYPE html><html c=\"d\" a=\"b\"><head></head><frameset></frameset></html>",
52416 "noQuirksBodyHtml": ""
52417 }
52418 },
52419 {
52420 "data": "<!doctype html><html><frameset></frameset></html><!--foo-->",
52421 "errors": [],
52422 "document": {
52423 "props": {
52424 "tags": {
52425 "html": true,
52426 "head": true,
52427 "frameset": true
52428 },
52429 "doctype": true,
52430 "comment": true
52431 },
52432 "tree": [
52433 {
52434 "doctype": "html"
52435 },
52436 {
52437 "tag": "html",
52438 "children": [
52439 {
52440 "tag": "head"
52441 },
52442 {
52443 "tag": "frameset"
52444 }
52445 ]
52446 },
52447 {
52448 "comment": "foo"
52449 }
52450 ],
52451 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html><!--foo-->",
52452 "noQuirksBodyHtml": "<!--foo-->"
52453 }
52454 },
52455 {
52456 "data": "<!doctype html><html><frameset></frameset></html> ",
52457 "errors": [],
52458 "document": {
52459 "props": {
52460 "tags": {
52461 "html": true,
52462 "head": true,
52463 "frameset": true
52464 },
52465 "doctype": true
52466 },
52467 "tree": [
52468 {
52469 "doctype": "html"
52470 },
52471 {
52472 "tag": "html",
52473 "children": [
52474 {
52475 "tag": "head"
52476 },
52477 {
52478 "tag": "frameset"
52479 },
52480 {
52481 "text": " "
52482 }
52483 ]
52484 }
52485 ],
52486 "html": "<!DOCTYPE html><html><head></head><frameset></frameset> </html>",
52487 "noQuirksBodyHtml": " "
52488 }
52489 },
52490 {
52491 "data": "<!doctype html><html><frameset></frameset></html>abc",
52492 "errors": [
52493 "(1,50): expected-eof-but-got-char",
52494 "(1,51): expected-eof-but-got-char",
52495 "(1,52): expected-eof-but-got-char"
52496 ],
52497 "document": {
52498 "props": {
52499 "tags": {
52500 "html": true,
52501 "head": true,
52502 "frameset": true
52503 },
52504 "doctype": true
52505 },
52506 "tree": [
52507 {
52508 "doctype": "html"
52509 },
52510 {
52511 "tag": "html",
52512 "children": [
52513 {
52514 "tag": "head"
52515 },
52516 {
52517 "tag": "frameset"
52518 }
52519 ]
52520 }
52521 ],
52522 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
52523 "noQuirksBodyHtml": "abc"
52524 }
52525 },
52526 {
52527 "data": "<!doctype html><html><frameset></frameset></html><p>",
52528 "errors": [
52529 "(1,52): expected-eof-but-got-start-tag"
52530 ],
52531 "document": {
52532 "props": {
52533 "tags": {
52534 "html": true,
52535 "head": true,
52536 "frameset": true
52537 },
52538 "doctype": true
52539 },
52540 "tree": [
52541 {
52542 "doctype": "html"
52543 },
52544 {
52545 "tag": "html",
52546 "children": [
52547 {
52548 "tag": "head"
52549 },
52550 {
52551 "tag": "frameset"
52552 }
52553 ]
52554 }
52555 ],
52556 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
52557 "noQuirksBodyHtml": "<p></p>"
52558 }
52559 },
52560 {
52561 "data": "<!doctype html><html><frameset></frameset></html></p>",
52562 "errors": [
52563 "(1,53): expected-eof-but-got-end-tag"
52564 ],
52565 "document": {
52566 "props": {
52567 "tags": {
52568 "html": true,
52569 "head": true,
52570 "frameset": true
52571 },
52572 "doctype": true
52573 },
52574 "tree": [
52575 {
52576 "doctype": "html"
52577 },
52578 {
52579 "tag": "html",
52580 "children": [
52581 {
52582 "tag": "head"
52583 },
52584 {
52585 "tag": "frameset"
52586 }
52587 ]
52588 }
52589 ],
52590 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
52591 "noQuirksBodyHtml": "<p></p>"
52592 }
52593 },
52594 {
52595 "data": "<html><frameset></frameset></html><!doctype html>",
52596 "errors": [
52597 "(1,6): expected-doctype-but-got-start-tag",
52598 "(1,49): unexpected-doctype"
52599 ],
52600 "document": {
52601 "props": {
52602 "tags": {
52603 "html": true,
52604 "head": true,
52605 "frameset": true
52606 }
52607 },
52608 "tree": [
52609 {
52610 "tag": "html",
52611 "children": [
52612 {
52613 "tag": "head"
52614 },
52615 {
52616 "tag": "frameset"
52617 }
52618 ]
52619 }
52620 ],
52621 "html": "<html><head></head><frameset></frameset></html>",
52622 "noQuirksBodyHtml": ""
52623 }
52624 },
52625 {
52626 "data": "<!doctype html><body><frameset>",
52627 "errors": [
52628 "(1,31): unexpected-start-tag"
52629 ],
52630 "document": {
52631 "props": {
52632 "tags": {
52633 "html": true,
52634 "head": true,
52635 "body": true
52636 },
52637 "doctype": true
52638 },
52639 "tree": [
52640 {
52641 "doctype": "html"
52642 },
52643 {
52644 "tag": "html",
52645 "children": [
52646 {
52647 "tag": "head"
52648 },
52649 {
52650 "tag": "body"
52651 }
52652 ]
52653 }
52654 ],
52655 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
52656 "noQuirksBodyHtml": ""
52657 }
52658 },
52659 {
52660 "data": "<!doctype html><p><frameset><frame>",
52661 "errors": [
52662 "(1,28): unexpected-start-tag",
52663 "(1,35): eof-in-frameset"
52664 ],
52665 "document": {
52666 "props": {
52667 "tags": {
52668 "html": true,
52669 "head": true,
52670 "frameset": true,
52671 "frame": true
52672 },
52673 "doctype": true
52674 },
52675 "tree": [
52676 {
52677 "doctype": "html"
52678 },
52679 {
52680 "tag": "html",
52681 "children": [
52682 {
52683 "tag": "head"
52684 },
52685 {
52686 "tag": "frameset",
52687 "children": [
52688 {
52689 "tag": "frame"
52690 }
52691 ]
52692 }
52693 ]
52694 }
52695 ],
52696 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52697 "noQuirksBodyHtml": "<p></p>"
52698 }
52699 },
52700 {
52701 "data": "<!doctype html><p>a<frameset>",
52702 "errors": [
52703 "(1,29): unexpected-start-tag"
52704 ],
52705 "document": {
52706 "props": {
52707 "tags": {
52708 "html": true,
52709 "head": true,
52710 "body": true,
52711 "p": true
52712 },
52713 "doctype": true
52714 },
52715 "tree": [
52716 {
52717 "doctype": "html"
52718 },
52719 {
52720 "tag": "html",
52721 "children": [
52722 {
52723 "tag": "head"
52724 },
52725 {
52726 "tag": "body",
52727 "children": [
52728 {
52729 "tag": "p",
52730 "children": [
52731 {
52732 "text": "a"
52733 }
52734 ]
52735 }
52736 ]
52737 }
52738 ]
52739 }
52740 ],
52741 "html": "<!DOCTYPE html><html><head></head><body><p>a</p></body></html>",
52742 "noQuirksBodyHtml": "<p>a</p>"
52743 }
52744 },
52745 {
52746 "data": "<!doctype html><p> <frameset><frame>",
52747 "errors": [
52748 "(1,29): unexpected-start-tag",
52749 "(1,36): eof-in-frameset"
52750 ],
52751 "document": {
52752 "props": {
52753 "tags": {
52754 "html": true,
52755 "head": true,
52756 "frameset": true,
52757 "frame": true
52758 },
52759 "doctype": true
52760 },
52761 "tree": [
52762 {
52763 "doctype": "html"
52764 },
52765 {
52766 "tag": "html",
52767 "children": [
52768 {
52769 "tag": "head"
52770 },
52771 {
52772 "tag": "frameset",
52773 "children": [
52774 {
52775 "tag": "frame"
52776 }
52777 ]
52778 }
52779 ]
52780 }
52781 ],
52782 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52783 "noQuirksBodyHtml": "<p> </p>"
52784 }
52785 },
52786 {
52787 "data": "<!doctype html><pre><frameset>",
52788 "errors": [
52789 "(1,30): unexpected-start-tag",
52790 "(1,30): expected-closing-tag-but-got-eof"
52791 ],
52792 "document": {
52793 "props": {
52794 "tags": {
52795 "html": true,
52796 "head": true,
52797 "body": true,
52798 "pre": true
52799 },
52800 "doctype": true
52801 },
52802 "tree": [
52803 {
52804 "doctype": "html"
52805 },
52806 {
52807 "tag": "html",
52808 "children": [
52809 {
52810 "tag": "head"
52811 },
52812 {
52813 "tag": "body",
52814 "children": [
52815 {
52816 "tag": "pre"
52817 }
52818 ]
52819 }
52820 ]
52821 }
52822 ],
52823 "html": "<!DOCTYPE html><html><head></head><body><pre></pre></body></html>",
52824 "noQuirksBodyHtml": "<pre></pre>"
52825 }
52826 },
52827 {
52828 "data": "<!doctype html><listing><frameset>",
52829 "errors": [
52830 "(1,34): unexpected-start-tag",
52831 "(1,34): expected-closing-tag-but-got-eof"
52832 ],
52833 "document": {
52834 "props": {
52835 "tags": {
52836 "html": true,
52837 "head": true,
52838 "body": true,
52839 "listing": true
52840 },
52841 "doctype": true
52842 },
52843 "tree": [
52844 {
52845 "doctype": "html"
52846 },
52847 {
52848 "tag": "html",
52849 "children": [
52850 {
52851 "tag": "head"
52852 },
52853 {
52854 "tag": "body",
52855 "children": [
52856 {
52857 "tag": "listing"
52858 }
52859 ]
52860 }
52861 ]
52862 }
52863 ],
52864 "html": "<!DOCTYPE html><html><head></head><body><listing></listing></body></html>",
52865 "noQuirksBodyHtml": "<listing></listing>"
52866 }
52867 },
52868 {
52869 "data": "<!doctype html><li><frameset>",
52870 "errors": [
52871 "(1,29): unexpected-start-tag"
52872 ],
52873 "document": {
52874 "props": {
52875 "tags": {
52876 "html": true,
52877 "head": true,
52878 "body": true,
52879 "li": true
52880 },
52881 "doctype": true
52882 },
52883 "tree": [
52884 {
52885 "doctype": "html"
52886 },
52887 {
52888 "tag": "html",
52889 "children": [
52890 {
52891 "tag": "head"
52892 },
52893 {
52894 "tag": "body",
52895 "children": [
52896 {
52897 "tag": "li"
52898 }
52899 ]
52900 }
52901 ]
52902 }
52903 ],
52904 "html": "<!DOCTYPE html><html><head></head><body><li></li></body></html>",
52905 "noQuirksBodyHtml": "<li></li>"
52906 }
52907 },
52908 {
52909 "data": "<!doctype html><dd><frameset>",
52910 "errors": [
52911 "(1,29): unexpected-start-tag"
52912 ],
52913 "document": {
52914 "props": {
52915 "tags": {
52916 "html": true,
52917 "head": true,
52918 "body": true,
52919 "dd": true
52920 },
52921 "doctype": true
52922 },
52923 "tree": [
52924 {
52925 "doctype": "html"
52926 },
52927 {
52928 "tag": "html",
52929 "children": [
52930 {
52931 "tag": "head"
52932 },
52933 {
52934 "tag": "body",
52935 "children": [
52936 {
52937 "tag": "dd"
52938 }
52939 ]
52940 }
52941 ]
52942 }
52943 ],
52944 "html": "<!DOCTYPE html><html><head></head><body><dd></dd></body></html>",
52945 "noQuirksBodyHtml": "<dd></dd>"
52946 }
52947 },
52948 {
52949 "data": "<!doctype html><dt><frameset>",
52950 "errors": [
52951 "(1,29): unexpected-start-tag"
52952 ],
52953 "document": {
52954 "props": {
52955 "tags": {
52956 "html": true,
52957 "head": true,
52958 "body": true,
52959 "dt": true
52960 },
52961 "doctype": true
52962 },
52963 "tree": [
52964 {
52965 "doctype": "html"
52966 },
52967 {
52968 "tag": "html",
52969 "children": [
52970 {
52971 "tag": "head"
52972 },
52973 {
52974 "tag": "body",
52975 "children": [
52976 {
52977 "tag": "dt"
52978 }
52979 ]
52980 }
52981 ]
52982 }
52983 ],
52984 "html": "<!DOCTYPE html><html><head></head><body><dt></dt></body></html>",
52985 "noQuirksBodyHtml": "<dt></dt>"
52986 }
52987 },
52988 {
52989 "data": "<!doctype html><button><frameset>",
52990 "errors": [
52991 "(1,33): unexpected-start-tag",
52992 "(1,33): expected-closing-tag-but-got-eof"
52993 ],
52994 "document": {
52995 "props": {
52996 "tags": {
52997 "html": true,
52998 "head": true,
52999 "body": true,
53000 "button": true
53001 },
53002 "doctype": true
53003 },
53004 "tree": [
53005 {
53006 "doctype": "html"
53007 },
53008 {
53009 "tag": "html",
53010 "children": [
53011 {
53012 "tag": "head"
53013 },
53014 {
53015 "tag": "body",
53016 "children": [
53017 {
53018 "tag": "button"
53019 }
53020 ]
53021 }
53022 ]
53023 }
53024 ],
53025 "html": "<!DOCTYPE html><html><head></head><body><button></button></body></html>",
53026 "noQuirksBodyHtml": "<button></button>"
53027 }
53028 },
53029 {
53030 "data": "<!doctype html><applet><frameset>",
53031 "errors": [
53032 "(1,33): unexpected-start-tag",
53033 "(1,33): expected-closing-tag-but-got-eof"
53034 ],
53035 "document": {
53036 "props": {
53037 "tags": {
53038 "html": true,
53039 "head": true,
53040 "body": true,
53041 "applet": true
53042 },
53043 "doctype": true
53044 },
53045 "tree": [
53046 {
53047 "doctype": "html"
53048 },
53049 {
53050 "tag": "html",
53051 "children": [
53052 {
53053 "tag": "head"
53054 },
53055 {
53056 "tag": "body",
53057 "children": [
53058 {
53059 "tag": "applet"
53060 }
53061 ]
53062 }
53063 ]
53064 }
53065 ],
53066 "html": "<!DOCTYPE html><html><head></head><body><applet></applet></body></html>",
53067 "noQuirksBodyHtml": "<applet></applet>"
53068 }
53069 },
53070 {
53071 "data": "<!doctype html><marquee><frameset>",
53072 "errors": [
53073 "(1,34): unexpected-start-tag",
53074 "(1,34): expected-closing-tag-but-got-eof"
53075 ],
53076 "document": {
53077 "props": {
53078 "tags": {
53079 "html": true,
53080 "head": true,
53081 "body": true,
53082 "marquee": true
53083 },
53084 "doctype": true
53085 },
53086 "tree": [
53087 {
53088 "doctype": "html"
53089 },
53090 {
53091 "tag": "html",
53092 "children": [
53093 {
53094 "tag": "head"
53095 },
53096 {
53097 "tag": "body",
53098 "children": [
53099 {
53100 "tag": "marquee"
53101 }
53102 ]
53103 }
53104 ]
53105 }
53106 ],
53107 "html": "<!DOCTYPE html><html><head></head><body><marquee></marquee></body></html>",
53108 "noQuirksBodyHtml": "<marquee></marquee>"
53109 }
53110 },
53111 {
53112 "data": "<!doctype html><object><frameset>",
53113 "errors": [
53114 "(1,33): unexpected-start-tag",
53115 "(1,33): expected-closing-tag-but-got-eof"
53116 ],
53117 "document": {
53118 "props": {
53119 "tags": {
53120 "html": true,
53121 "head": true,
53122 "body": true,
53123 "object": true
53124 },
53125 "doctype": true
53126 },
53127 "tree": [
53128 {
53129 "doctype": "html"
53130 },
53131 {
53132 "tag": "html",
53133 "children": [
53134 {
53135 "tag": "head"
53136 },
53137 {
53138 "tag": "body",
53139 "children": [
53140 {
53141 "tag": "object"
53142 }
53143 ]
53144 }
53145 ]
53146 }
53147 ],
53148 "html": "<!DOCTYPE html><html><head></head><body><object></object></body></html>",
53149 "noQuirksBodyHtml": "<object></object>"
53150 }
53151 },
53152 {
53153 "data": "<!doctype html><table><frameset>",
53154 "errors": [
53155 "(1,32): unexpected-start-tag-implies-table-voodoo",
53156 "(1,32): unexpected-start-tag",
53157 "(1,32): eof-in-table"
53158 ],
53159 "document": {
53160 "props": {
53161 "tags": {
53162 "html": true,
53163 "head": true,
53164 "body": true,
53165 "table": true
53166 },
53167 "doctype": true
53168 },
53169 "tree": [
53170 {
53171 "doctype": "html"
53172 },
53173 {
53174 "tag": "html",
53175 "children": [
53176 {
53177 "tag": "head"
53178 },
53179 {
53180 "tag": "body",
53181 "children": [
53182 {
53183 "tag": "table"
53184 }
53185 ]
53186 }
53187 ]
53188 }
53189 ],
53190 "html": "<!DOCTYPE html><html><head></head><body><table></table></body></html>",
53191 "noQuirksBodyHtml": "<table></table>"
53192 }
53193 },
53194 {
53195 "data": "<!doctype html><area><frameset>",
53196 "errors": [
53197 "(1,31): unexpected-start-tag"
53198 ],
53199 "document": {
53200 "props": {
53201 "tags": {
53202 "html": true,
53203 "head": true,
53204 "body": true,
53205 "area": true
53206 },
53207 "doctype": true
53208 },
53209 "tree": [
53210 {
53211 "doctype": "html"
53212 },
53213 {
53214 "tag": "html",
53215 "children": [
53216 {
53217 "tag": "head"
53218 },
53219 {
53220 "tag": "body",
53221 "children": [
53222 {
53223 "tag": "area"
53224 }
53225 ]
53226 }
53227 ]
53228 }
53229 ],
53230 "html": "<!DOCTYPE html><html><head></head><body><area></body></html>",
53231 "noQuirksBodyHtml": "<area>"
53232 }
53233 },
53234 {
53235 "data": "<!doctype html><basefont><frameset>",
53236 "errors": [
53237 "(1,35): eof-in-frameset"
53238 ],
53239 "document": {
53240 "props": {
53241 "tags": {
53242 "html": true,
53243 "head": true,
53244 "basefont": true,
53245 "frameset": true
53246 },
53247 "doctype": true
53248 },
53249 "tree": [
53250 {
53251 "doctype": "html"
53252 },
53253 {
53254 "tag": "html",
53255 "children": [
53256 {
53257 "tag": "head",
53258 "children": [
53259 {
53260 "tag": "basefont"
53261 }
53262 ]
53263 },
53264 {
53265 "tag": "frameset"
53266 }
53267 ]
53268 }
53269 ],
53270 "html": "<!DOCTYPE html><html><head><basefont></head><frameset></frameset></html>",
53271 "noQuirksBodyHtml": "<basefont>"
53272 }
53273 },
53274 {
53275 "data": "<!doctype html><bgsound><frameset>",
53276 "errors": [
53277 "(1,34): eof-in-frameset"
53278 ],
53279 "document": {
53280 "props": {
53281 "tags": {
53282 "html": true,
53283 "head": true,
53284 "bgsound": true,
53285 "frameset": true
53286 },
53287 "doctype": true
53288 },
53289 "tree": [
53290 {
53291 "doctype": "html"
53292 },
53293 {
53294 "tag": "html",
53295 "children": [
53296 {
53297 "tag": "head",
53298 "children": [
53299 {
53300 "tag": "bgsound"
53301 }
53302 ]
53303 },
53304 {
53305 "tag": "frameset"
53306 }
53307 ]
53308 }
53309 ],
53310 "html": "<!DOCTYPE html><html><head><bgsound></head><frameset></frameset></html>",
53311 "noQuirksBodyHtml": "<bgsound>"
53312 }
53313 },
53314 {
53315 "data": "<!doctype html><br><frameset>",
53316 "errors": [
53317 "(1,29): unexpected-start-tag"
53318 ],
53319 "document": {
53320 "props": {
53321 "tags": {
53322 "html": true,
53323 "head": true,
53324 "body": true,
53325 "br": true
53326 },
53327 "doctype": true
53328 },
53329 "tree": [
53330 {
53331 "doctype": "html"
53332 },
53333 {
53334 "tag": "html",
53335 "children": [
53336 {
53337 "tag": "head"
53338 },
53339 {
53340 "tag": "body",
53341 "children": [
53342 {
53343 "tag": "br"
53344 }
53345 ]
53346 }
53347 ]
53348 }
53349 ],
53350 "html": "<!DOCTYPE html><html><head></head><body><br></body></html>",
53351 "noQuirksBodyHtml": "<br>"
53352 }
53353 },
53354 {
53355 "data": "<!doctype html><embed><frameset>",
53356 "errors": [
53357 "(1,32): unexpected-start-tag"
53358 ],
53359 "document": {
53360 "props": {
53361 "tags": {
53362 "html": true,
53363 "head": true,
53364 "body": true,
53365 "embed": true
53366 },
53367 "doctype": true
53368 },
53369 "tree": [
53370 {
53371 "doctype": "html"
53372 },
53373 {
53374 "tag": "html",
53375 "children": [
53376 {
53377 "tag": "head"
53378 },
53379 {
53380 "tag": "body",
53381 "children": [
53382 {
53383 "tag": "embed"
53384 }
53385 ]
53386 }
53387 ]
53388 }
53389 ],
53390 "html": "<!DOCTYPE html><html><head></head><body><embed></body></html>",
53391 "noQuirksBodyHtml": "<embed>"
53392 }
53393 },
53394 {
53395 "data": "<!doctype html><img><frameset>",
53396 "errors": [
53397 "(1,30): unexpected-start-tag"
53398 ],
53399 "document": {
53400 "props": {
53401 "tags": {
53402 "html": true,
53403 "head": true,
53404 "body": true,
53405 "img": true
53406 },
53407 "doctype": true
53408 },
53409 "tree": [
53410 {
53411 "doctype": "html"
53412 },
53413 {
53414 "tag": "html",
53415 "children": [
53416 {
53417 "tag": "head"
53418 },
53419 {
53420 "tag": "body",
53421 "children": [
53422 {
53423 "tag": "img"
53424 }
53425 ]
53426 }
53427 ]
53428 }
53429 ],
53430 "html": "<!DOCTYPE html><html><head></head><body><img></body></html>",
53431 "noQuirksBodyHtml": "<img>"
53432 }
53433 },
53434 {
53435 "data": "<!doctype html><input><frameset>",
53436 "errors": [
53437 "(1,32): unexpected-start-tag"
53438 ],
53439 "document": {
53440 "props": {
53441 "tags": {
53442 "html": true,
53443 "head": true,
53444 "body": true,
53445 "input": true
53446 },
53447 "doctype": true
53448 },
53449 "tree": [
53450 {
53451 "doctype": "html"
53452 },
53453 {
53454 "tag": "html",
53455 "children": [
53456 {
53457 "tag": "head"
53458 },
53459 {
53460 "tag": "body",
53461 "children": [
53462 {
53463 "tag": "input"
53464 }
53465 ]
53466 }
53467 ]
53468 }
53469 ],
53470 "html": "<!DOCTYPE html><html><head></head><body><input></body></html>",
53471 "noQuirksBodyHtml": "<input>"
53472 }
53473 },
53474 {
53475 "data": "<!doctype html><keygen><frameset>",
53476 "errors": [
53477 "(1,33): unexpected-start-tag"
53478 ],
53479 "document": {
53480 "props": {
53481 "tags": {
53482 "html": true,
53483 "head": true,
53484 "body": true,
53485 "keygen": true
53486 },
53487 "doctype": true
53488 },
53489 "tree": [
53490 {
53491 "doctype": "html"
53492 },
53493 {
53494 "tag": "html",
53495 "children": [
53496 {
53497 "tag": "head"
53498 },
53499 {
53500 "tag": "body",
53501 "children": [
53502 {
53503 "tag": "keygen"
53504 }
53505 ]
53506 }
53507 ]
53508 }
53509 ],
53510 "html": "<!DOCTYPE html><html><head></head><body><keygen></body></html>",
53511 "noQuirksBodyHtml": "<keygen>"
53512 }
53513 },
53514 {
53515 "data": "<!doctype html><wbr><frameset>",
53516 "errors": [
53517 "(1,30): unexpected-start-tag"
53518 ],
53519 "document": {
53520 "props": {
53521 "tags": {
53522 "html": true,
53523 "head": true,
53524 "body": true,
53525 "wbr": true
53526 },
53527 "doctype": true
53528 },
53529 "tree": [
53530 {
53531 "doctype": "html"
53532 },
53533 {
53534 "tag": "html",
53535 "children": [
53536 {
53537 "tag": "head"
53538 },
53539 {
53540 "tag": "body",
53541 "children": [
53542 {
53543 "tag": "wbr"
53544 }
53545 ]
53546 }
53547 ]
53548 }
53549 ],
53550 "html": "<!DOCTYPE html><html><head></head><body><wbr></body></html>",
53551 "noQuirksBodyHtml": "<wbr>"
53552 }
53553 },
53554 {
53555 "data": "<!doctype html><hr><frameset>",
53556 "errors": [
53557 "(1,29): unexpected-start-tag"
53558 ],
53559 "document": {
53560 "props": {
53561 "tags": {
53562 "html": true,
53563 "head": true,
53564 "body": true,
53565 "hr": true
53566 },
53567 "doctype": true
53568 },
53569 "tree": [
53570 {
53571 "doctype": "html"
53572 },
53573 {
53574 "tag": "html",
53575 "children": [
53576 {
53577 "tag": "head"
53578 },
53579 {
53580 "tag": "body",
53581 "children": [
53582 {
53583 "tag": "hr"
53584 }
53585 ]
53586 }
53587 ]
53588 }
53589 ],
53590 "html": "<!DOCTYPE html><html><head></head><body><hr></body></html>",
53591 "noQuirksBodyHtml": "<hr>"
53592 }
53593 },
53594 {
53595 "data": "<!doctype html><textarea></textarea><frameset>",
53596 "errors": [
53597 "(1,46): unexpected-start-tag"
53598 ],
53599 "document": {
53600 "props": {
53601 "tags": {
53602 "html": true,
53603 "head": true,
53604 "body": true,
53605 "textarea": true
53606 },
53607 "doctype": true
53608 },
53609 "tree": [
53610 {
53611 "doctype": "html"
53612 },
53613 {
53614 "tag": "html",
53615 "children": [
53616 {
53617 "tag": "head"
53618 },
53619 {
53620 "tag": "body",
53621 "children": [
53622 {
53623 "tag": "textarea"
53624 }
53625 ]
53626 }
53627 ]
53628 }
53629 ],
53630 "html": "<!DOCTYPE html><html><head></head><body><textarea></textarea></body></html>",
53631 "noQuirksBodyHtml": "<textarea></textarea>"
53632 }
53633 },
53634 {
53635 "data": "<!doctype html><xmp></xmp><frameset>",
53636 "errors": [
53637 "(1,36): unexpected-start-tag"
53638 ],
53639 "document": {
53640 "props": {
53641 "tags": {
53642 "html": true,
53643 "head": true,
53644 "body": true,
53645 "xmp": true
53646 },
53647 "doctype": true
53648 },
53649 "tree": [
53650 {
53651 "doctype": "html"
53652 },
53653 {
53654 "tag": "html",
53655 "children": [
53656 {
53657 "tag": "head"
53658 },
53659 {
53660 "tag": "body",
53661 "children": [
53662 {
53663 "tag": "xmp"
53664 }
53665 ]
53666 }
53667 ]
53668 }
53669 ],
53670 "html": "<!DOCTYPE html><html><head></head><body><xmp></xmp></body></html>",
53671 "noQuirksBodyHtml": "<xmp></xmp>"
53672 }
53673 },
53674 {
53675 "data": "<!doctype html><iframe></iframe><frameset>",
53676 "errors": [
53677 "(1,42): unexpected-start-tag"
53678 ],
53679 "document": {
53680 "props": {
53681 "tags": {
53682 "html": true,
53683 "head": true,
53684 "body": true,
53685 "iframe": true
53686 },
53687 "doctype": true
53688 },
53689 "tree": [
53690 {
53691 "doctype": "html"
53692 },
53693 {
53694 "tag": "html",
53695 "children": [
53696 {
53697 "tag": "head"
53698 },
53699 {
53700 "tag": "body",
53701 "children": [
53702 {
53703 "tag": "iframe"
53704 }
53705 ]
53706 }
53707 ]
53708 }
53709 ],
53710 "html": "<!DOCTYPE html><html><head></head><body><iframe></iframe></body></html>",
53711 "noQuirksBodyHtml": "<iframe></iframe>"
53712 }
53713 },
53714 {
53715 "data": "<!doctype html><select></select><frameset>",
53716 "errors": [
53717 "(1,42): unexpected-start-tag"
53718 ],
53719 "document": {
53720 "props": {
53721 "tags": {
53722 "html": true,
53723 "head": true,
53724 "body": true,
53725 "select": true
53726 },
53727 "doctype": true
53728 },
53729 "tree": [
53730 {
53731 "doctype": "html"
53732 },
53733 {
53734 "tag": "html",
53735 "children": [
53736 {
53737 "tag": "head"
53738 },
53739 {
53740 "tag": "body",
53741 "children": [
53742 {
53743 "tag": "select"
53744 }
53745 ]
53746 }
53747 ]
53748 }
53749 ],
53750 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
53751 "noQuirksBodyHtml": "<select></select>"
53752 }
53753 },
53754 {
53755 "data": "<!doctype html><svg></svg><frameset><frame>",
53756 "errors": [
53757 "(1,36): unexpected-start-tag",
53758 "(1,43): eof-in-frameset"
53759 ],
53760 "document": {
53761 "props": {
53762 "tags": {
53763 "html": true,
53764 "head": true,
53765 "frameset": true,
53766 "frame": true
53767 },
53768 "doctype": true
53769 },
53770 "tree": [
53771 {
53772 "doctype": "html"
53773 },
53774 {
53775 "tag": "html",
53776 "children": [
53777 {
53778 "tag": "head"
53779 },
53780 {
53781 "tag": "frameset",
53782 "children": [
53783 {
53784 "tag": "frame"
53785 }
53786 ]
53787 }
53788 ]
53789 }
53790 ],
53791 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
53792 "noQuirksBodyHtml": "<svg></svg>"
53793 }
53794 },
53795 {
53796 "data": "<!doctype html><math></math><frameset><frame>",
53797 "errors": [
53798 "(1,38): unexpected-start-tag",
53799 "(1,45): eof-in-frameset"
53800 ],
53801 "document": {
53802 "props": {
53803 "tags": {
53804 "html": true,
53805 "head": true,
53806 "frameset": true,
53807 "frame": true
53808 },
53809 "doctype": true
53810 },
53811 "tree": [
53812 {
53813 "doctype": "html"
53814 },
53815 {
53816 "tag": "html",
53817 "children": [
53818 {
53819 "tag": "head"
53820 },
53821 {
53822 "tag": "frameset",
53823 "children": [
53824 {
53825 "tag": "frame"
53826 }
53827 ]
53828 }
53829 ]
53830 }
53831 ],
53832 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
53833 "noQuirksBodyHtml": "<math></math>"
53834 }
53835 },
53836 {
53837 "data": "<!doctype html><svg><foreignObject><div> <frameset><frame>",
53838 "errors": [
53839 "(1,51): unexpected-start-tag",
53840 "(1,58): eof-in-frameset"
53841 ],
53842 "document": {
53843 "props": {
53844 "tags": {
53845 "html": true,
53846 "head": true,
53847 "frameset": true,
53848 "frame": true
53849 },
53850 "doctype": true
53851 },
53852 "tree": [
53853 {
53854 "doctype": "html"
53855 },
53856 {
53857 "tag": "html",
53858 "children": [
53859 {
53860 "tag": "head"
53861 },
53862 {
53863 "tag": "frameset",
53864 "children": [
53865 {
53866 "tag": "frame"
53867 }
53868 ]
53869 }
53870 ]
53871 }
53872 ],
53873 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
53874 "noQuirksBodyHtml": "<svg><foreignObject><div> </div></foreignObject></svg>"
53875 }
53876 },
53877 {
53878 "data": "<!doctype html><svg>a</svg><frameset><frame>",
53879 "errors": [
53880 "(1,37): unexpected-start-tag",
53881 "(1,44): unexpected-start-tag-ignored"
53882 ],
53883 "document": {
53884 "props": {
53885 "tags": {
53886 "html": true,
53887 "head": true,
53888 "body": true,
53889 "svg svg": true
53890 },
53891 "doctype": true
53892 },
53893 "tree": [
53894 {
53895 "doctype": "html"
53896 },
53897 {
53898 "tag": "html",
53899 "children": [
53900 {
53901 "tag": "head"
53902 },
53903 {
53904 "tag": "body",
53905 "children": [
53906 {
53907 "tag": "svg",
53908 "ns": "http://www.w3.org/2000/svg",
53909 "children": [
53910 {
53911 "text": "a"
53912 }
53913 ]
53914 }
53915 ]
53916 }
53917 ]
53918 }
53919 ],
53920 "html": "<!DOCTYPE html><html><head></head><body><svg>a</svg></body></html>",
53921 "noQuirksBodyHtml": "<svg>a</svg>"
53922 }
53923 },
53924 {
53925 "data": "<!doctype html><svg> </svg><frameset><frame>",
53926 "errors": [
53927 "(1,37): unexpected-start-tag",
53928 "(1,44): eof-in-frameset"
53929 ],
53930 "document": {
53931 "props": {
53932 "tags": {
53933 "html": true,
53934 "head": true,
53935 "frameset": true,
53936 "frame": true
53937 },
53938 "doctype": true
53939 },
53940 "tree": [
53941 {
53942 "doctype": "html"
53943 },
53944 {
53945 "tag": "html",
53946 "children": [
53947 {
53948 "tag": "head"
53949 },
53950 {
53951 "tag": "frameset",
53952 "children": [
53953 {
53954 "tag": "frame"
53955 }
53956 ]
53957 }
53958 ]
53959 }
53960 ],
53961 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
53962 "noQuirksBodyHtml": "<svg> </svg>"
53963 }
53964 },
53965 {
53966 "data": "<html>aaa<frameset></frameset>",
53967 "errors": [
53968 "(1,6): expected-doctype-but-got-start-tag",
53969 "(1,19): unexpected-start-tag",
53970 "(1,30): unexpected-end-tag"
53971 ],
53972 "document": {
53973 "props": {
53974 "tags": {
53975 "html": true,
53976 "head": true,
53977 "body": true
53978 }
53979 },
53980 "tree": [
53981 {
53982 "tag": "html",
53983 "children": [
53984 {
53985 "tag": "head"
53986 },
53987 {
53988 "tag": "body",
53989 "children": [
53990 {
53991 "text": "aaa"
53992 }
53993 ]
53994 }
53995 ]
53996 }
53997 ],
53998 "html": "<html><head></head><body>aaa</body></html>",
53999 "noQuirksBodyHtml": "aaa"
54000 }
54001 },
54002 {
54003 "data": "<html> a <frameset></frameset>",
54004 "errors": [
54005 "(1,6): expected-doctype-but-got-start-tag",
54006 "(1,19): unexpected-start-tag",
54007 "(1,30): unexpected-end-tag"
54008 ],
54009 "document": {
54010 "props": {
54011 "tags": {
54012 "html": true,
54013 "head": true,
54014 "body": true
54015 }
54016 },
54017 "tree": [
54018 {
54019 "tag": "html",
54020 "children": [
54021 {
54022 "tag": "head"
54023 },
54024 {
54025 "tag": "body",
54026 "children": [
54027 {
54028 "text": "a "
54029 }
54030 ]
54031 }
54032 ]
54033 }
54034 ],
54035 "html": "<html><head></head><body>a </body></html>",
54036 "noQuirksBodyHtml": " a "
54037 }
54038 },
54039 {
54040 "data": "<!doctype html><div><frameset>",
54041 "errors": [
54042 "(1,30): unexpected-start-tag",
54043 "(1,30): eof-in-frameset"
54044 ],
54045 "document": {
54046 "props": {
54047 "tags": {
54048 "html": true,
54049 "head": true,
54050 "frameset": true
54051 },
54052 "doctype": true
54053 },
54054 "tree": [
54055 {
54056 "doctype": "html"
54057 },
54058 {
54059 "tag": "html",
54060 "children": [
54061 {
54062 "tag": "head"
54063 },
54064 {
54065 "tag": "frameset"
54066 }
54067 ]
54068 }
54069 ],
54070 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
54071 "noQuirksBodyHtml": "<div></div>"
54072 }
54073 },
54074 {
54075 "data": "<!doctype html><div><body><frameset>",
54076 "errors": [
54077 "(1,26): unexpected-start-tag",
54078 "(1,36): unexpected-start-tag",
54079 "(1,36): expected-closing-tag-but-got-eof"
54080 ],
54081 "document": {
54082 "props": {
54083 "tags": {
54084 "html": true,
54085 "head": true,
54086 "body": true,
54087 "div": true
54088 },
54089 "doctype": true
54090 },
54091 "tree": [
54092 {
54093 "doctype": "html"
54094 },
54095 {
54096 "tag": "html",
54097 "children": [
54098 {
54099 "tag": "head"
54100 },
54101 {
54102 "tag": "body",
54103 "children": [
54104 {
54105 "tag": "div"
54106 }
54107 ]
54108 }
54109 ]
54110 }
54111 ],
54112 "html": "<!DOCTYPE html><html><head></head><body><div></div></body></html>",
54113 "noQuirksBodyHtml": "<div></div>"
54114 }
54115 },
54116 {
54117 "data": "<!doctype html><p><math></p>a",
54118 "errors": [
54119 "(1,28): unexpected-end-tag",
54120 "(1,28): unexpected-end-tag"
54121 ],
54122 "document": {
54123 "props": {
54124 "tags": {
54125 "html": true,
54126 "head": true,
54127 "body": true,
54128 "p": true,
54129 "math math": true
54130 },
54131 "doctype": true
54132 },
54133 "tree": [
54134 {
54135 "doctype": "html"
54136 },
54137 {
54138 "tag": "html",
54139 "children": [
54140 {
54141 "tag": "head"
54142 },
54143 {
54144 "tag": "body",
54145 "children": [
54146 {
54147 "tag": "p",
54148 "children": [
54149 {
54150 "tag": "math",
54151 "ns": "http://www.w3.org/1998/Math/MathML"
54152 }
54153 ]
54154 },
54155 {
54156 "text": "a"
54157 }
54158 ]
54159 }
54160 ]
54161 }
54162 ],
54163 "html": "<!DOCTYPE html><html><head></head><body><p><math></math></p>a</body></html>",
54164 "noQuirksBodyHtml": "<p><math></math></p>a"
54165 }
54166 },
54167 {
54168 "data": "<!doctype html><p><math><mn><span></p>a",
54169 "errors": [
54170 "(1,38): unexpected-end-tag",
54171 "(1,39): expected-closing-tag-but-got-eof"
54172 ],
54173 "document": {
54174 "props": {
54175 "tags": {
54176 "html": true,
54177 "head": true,
54178 "body": true,
54179 "p": true,
54180 "math math": true,
54181 "math mn": true,
54182 "span": true
54183 },
54184 "doctype": true
54185 },
54186 "tree": [
54187 {
54188 "doctype": "html"
54189 },
54190 {
54191 "tag": "html",
54192 "children": [
54193 {
54194 "tag": "head"
54195 },
54196 {
54197 "tag": "body",
54198 "children": [
54199 {
54200 "tag": "p",
54201 "children": [
54202 {
54203 "tag": "math",
54204 "ns": "http://www.w3.org/1998/Math/MathML",
54205 "children": [
54206 {
54207 "tag": "mn",
54208 "ns": "http://www.w3.org/1998/Math/MathML",
54209 "children": [
54210 {
54211 "tag": "span",
54212 "children": [
54213 {
54214 "tag": "p"
54215 },
54216 {
54217 "text": "a"
54218 }
54219 ]
54220 }
54221 ]
54222 }
54223 ]
54224 }
54225 ]
54226 }
54227 ]
54228 }
54229 ]
54230 }
54231 ],
54232 "html": "<!DOCTYPE html><html><head></head><body><p><math><mn><span><p></p>a</span></mn></math></p></body></html>",
54233 "noQuirksBodyHtml": "<p><math><mn><span><p></p>a</span></mn></math></p>"
54234 }
54235 },
54236 {
54237 "data": "<!doctype html><math></html>",
54238 "errors": [
54239 "(1,28): unexpected-end-tag",
54240 "(1,28): expected-one-end-tag-but-got-another",
54241 "(1,28): unexpected-end-tag"
54242 ],
54243 "document": {
54244 "props": {
54245 "tags": {
54246 "html": true,
54247 "head": true,
54248 "body": true,
54249 "math math": true
54250 },
54251 "doctype": true
54252 },
54253 "tree": [
54254 {
54255 "doctype": "html"
54256 },
54257 {
54258 "tag": "html",
54259 "children": [
54260 {
54261 "tag": "head"
54262 },
54263 {
54264 "tag": "body",
54265 "children": [
54266 {
54267 "tag": "math",
54268 "ns": "http://www.w3.org/1998/Math/MathML"
54269 }
54270 ]
54271 }
54272 ]
54273 }
54274 ],
54275 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
54276 "noQuirksBodyHtml": "<math></math>"
54277 }
54278 },
54279 {
54280 "data": "<!doctype html><meta charset=\"ascii\">",
54281 "errors": [],
54282 "document": {
54283 "props": {
54284 "tags": {
54285 "html": true,
54286 "head": true,
54287 "meta": true,
54288 "body": true
54289 },
54290 "doctype": true
54291 },
54292 "tree": [
54293 {
54294 "doctype": "html"
54295 },
54296 {
54297 "tag": "html",
54298 "children": [
54299 {
54300 "tag": "head",
54301 "children": [
54302 {
54303 "tag": "meta",
54304 "attrs": [
54305 {
54306 "name": "charset",
54307 "value": "ascii"
54308 }
54309 ]
54310 }
54311 ]
54312 },
54313 {
54314 "tag": "body"
54315 }
54316 ]
54317 }
54318 ],
54319 "html": "<!DOCTYPE html><html><head><meta charset=\"ascii\"></head><body></body></html>",
54320 "noQuirksBodyHtml": "<meta charset=\"ascii\">"
54321 }
54322 },
54323 {
54324 "data": "<!doctype html><meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\">",
54325 "errors": [],
54326 "document": {
54327 "props": {
54328 "tags": {
54329 "html": true,
54330 "head": true,
54331 "meta": true,
54332 "body": true
54333 },
54334 "doctype": true
54335 },
54336 "tree": [
54337 {
54338 "doctype": "html"
54339 },
54340 {
54341 "tag": "html",
54342 "children": [
54343 {
54344 "tag": "head",
54345 "children": [
54346 {
54347 "tag": "meta",
54348 "attrs": [
54349 {
54350 "name": "content",
54351 "value": "text/html;charset=ascii"
54352 },
54353 {
54354 "name": "http-equiv",
54355 "value": "content-type"
54356 }
54357 ]
54358 }
54359 ]
54360 },
54361 {
54362 "tag": "body"
54363 }
54364 ]
54365 }
54366 ],
54367 "html": "<!DOCTYPE html><html><head><meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\"></head><body></body></html>",
54368 "noQuirksBodyHtml": "<meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\">"
54369 }
54370 },
54371 {
54372 "data": "<!doctype html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\">",
54373 "errors": [],
54374 "document": {
54375 "props": {
54376 "tags": {
54377 "html": true,
54378 "head": true,
54379 "meta": true,
54380 "body": true
54381 },
54382 "doctype": true,
54383 "comment": true
54384 },
54385 "tree": [
54386 {
54387 "doctype": "html"
54388 },
54389 {
54390 "tag": "html",
54391 "children": [
54392 {
54393 "tag": "head",
54394 "children": [
54395 {
54396 "comment": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
54397 },
54398 {
54399 "tag": "meta",
54400 "attrs": [
54401 {
54402 "name": "charset",
54403 "value": "utf8"
54404 }
54405 ]
54406 }
54407 ]
54408 },
54409 {
54410 "tag": "body"
54411 }
54412 ]
54413 }
54414 ],
54415 "html": "<!DOCTYPE html><html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\"></head><body></body></html>",
54416 "noQuirksBodyHtml": "<!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\">"
54417 }
54418 },
54419 {
54420 "data": "<!doctype html><html a=b><head></head><html c=d>",
54421 "errors": [
54422 "(1,48): non-html-root"
54423 ],
54424 "document": {
54425 "props": {
54426 "tags": {
54427 "html": true,
54428 "head": true,
54429 "body": true
54430 },
54431 "doctype": true
54432 },
54433 "tree": [
54434 {
54435 "doctype": "html"
54436 },
54437 {
54438 "tag": "html",
54439 "attrs": [
54440 {
54441 "name": "a",
54442 "value": "b"
54443 },
54444 {
54445 "name": "c",
54446 "value": "d"
54447 }
54448 ],
54449 "children": [
54450 {
54451 "tag": "head"
54452 },
54453 {
54454 "tag": "body"
54455 }
54456 ]
54457 }
54458 ],
54459 "html": "<!DOCTYPE html><html a=\"b\" c=\"d\"><head></head><body></body></html>",
54460 "noQuirksBodyHtml": ""
54461 }
54462 },
54463 {
54464 "data": "<!doctype html><image/>",
54465 "errors": [
54466 "(1,23): image-start-tag"
54467 ],
54468 "document": {
54469 "props": {
54470 "tags": {
54471 "html": true,
54472 "head": true,
54473 "body": true,
54474 "img": true
54475 },
54476 "doctype": true
54477 },
54478 "tree": [
54479 {
54480 "doctype": "html"
54481 },
54482 {
54483 "tag": "html",
54484 "children": [
54485 {
54486 "tag": "head"
54487 },
54488 {
54489 "tag": "body",
54490 "children": [
54491 {
54492 "tag": "img"
54493 }
54494 ]
54495 }
54496 ]
54497 }
54498 ],
54499 "html": "<!DOCTYPE html><html><head></head><body><img></body></html>",
54500 "noQuirksBodyHtml": "<img>"
54501 }
54502 },
54503 {
54504 "data": "<!doctype html>a<i>b<table>c<b>d</i>e</b>f",
54505 "errors": [
54506 "(1,28): foster-parenting-character",
54507 "(1,31): foster-parenting-start-tag",
54508 "(1,32): foster-parenting-character",
54509 "(1,36): foster-parenting-end-tag",
54510 "(1,36): adoption-agency-1.3",
54511 "(1,37): foster-parenting-character",
54512 "(1,41): foster-parenting-end-tag",
54513 "(1,42): foster-parenting-character",
54514 "(1,42): eof-in-table"
54515 ],
54516 "document": {
54517 "props": {
54518 "tags": {
54519 "html": true,
54520 "head": true,
54521 "body": true,
54522 "i": true,
54523 "b": true,
54524 "table": true
54525 },
54526 "doctype": true
54527 },
54528 "tree": [
54529 {
54530 "doctype": "html"
54531 },
54532 {
54533 "tag": "html",
54534 "children": [
54535 {
54536 "tag": "head"
54537 },
54538 {
54539 "tag": "body",
54540 "children": [
54541 {
54542 "text": "a"
54543 },
54544 {
54545 "tag": "i",
54546 "children": [
54547 {
54548 "text": "bc"
54549 },
54550 {
54551 "tag": "b",
54552 "children": [
54553 {
54554 "text": "de"
54555 }
54556 ]
54557 },
54558 {
54559 "text": "f"
54560 },
54561 {
54562 "tag": "table"
54563 }
54564 ]
54565 }
54566 ]
54567 }
54568 ]
54569 }
54570 ],
54571 "html": "<!DOCTYPE html><html><head></head><body>a<i>bc<b>de</b>f<table></table></i></body></html>",
54572 "noQuirksBodyHtml": "a<i>bc<b>de</b>f<table></table></i>"
54573 }
54574 },
54575 {
54576 "data": "<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f",
54577 "errors": [
54578 "(1,25): foster-parenting-start-tag",
54579 "(1,26): foster-parenting-character",
54580 "(1,29): foster-parenting-start-tag",
54581 "(1,30): foster-parenting-character",
54582 "(1,35): foster-parenting-start-tag",
54583 "(1,36): foster-parenting-character",
54584 "(1,39): foster-parenting-start-tag",
54585 "(1,40): foster-parenting-character",
54586 "(1,44): foster-parenting-end-tag",
54587 "(1,44): adoption-agency-1.3",
54588 "(1,44): adoption-agency-1.3",
54589 "(1,45): foster-parenting-character",
54590 "(1,49): foster-parenting-end-tag",
54591 "(1,49): adoption-agency-1.3",
54592 "(1,49): adoption-agency-1.3",
54593 "(1,50): foster-parenting-character",
54594 "(1,50): eof-in-table"
54595 ],
54596 "document": {
54597 "props": {
54598 "tags": {
54599 "html": true,
54600 "head": true,
54601 "body": true,
54602 "i": true,
54603 "b": true,
54604 "div": true,
54605 "a": true,
54606 "table": true
54607 },
54608 "doctype": true
54609 },
54610 "tree": [
54611 {
54612 "doctype": "html"
54613 },
54614 {
54615 "tag": "html",
54616 "children": [
54617 {
54618 "tag": "head"
54619 },
54620 {
54621 "tag": "body",
54622 "children": [
54623 {
54624 "tag": "i",
54625 "children": [
54626 {
54627 "text": "a"
54628 },
54629 {
54630 "tag": "b",
54631 "children": [
54632 {
54633 "text": "b"
54634 }
54635 ]
54636 }
54637 ]
54638 },
54639 {
54640 "tag": "b"
54641 },
54642 {
54643 "tag": "div",
54644 "children": [
54645 {
54646 "tag": "b",
54647 "children": [
54648 {
54649 "tag": "i",
54650 "children": [
54651 {
54652 "text": "c"
54653 },
54654 {
54655 "tag": "a",
54656 "children": [
54657 {
54658 "text": "d"
54659 }
54660 ]
54661 }
54662 ]
54663 },
54664 {
54665 "tag": "a",
54666 "children": [
54667 {
54668 "text": "e"
54669 }
54670 ]
54671 }
54672 ]
54673 },
54674 {
54675 "tag": "a",
54676 "children": [
54677 {
54678 "text": "f"
54679 }
54680 ]
54681 }
54682 ]
54683 },
54684 {
54685 "tag": "table"
54686 }
54687 ]
54688 }
54689 ]
54690 }
54691 ],
54692 "html": "<!DOCTYPE html><html><head></head><body><i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div><table></table></body></html>",
54693 "noQuirksBodyHtml": "<i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div><table></table>"
54694 }
54695 },
54696 {
54697 "data": "<!doctype html><i>a<b>b<div>c<a>d</i>e</b>f",
54698 "errors": [
54699 "(1,37): adoption-agency-1.3",
54700 "(1,37): adoption-agency-1.3",
54701 "(1,42): adoption-agency-1.3",
54702 "(1,42): adoption-agency-1.3",
54703 "(1,43): expected-closing-tag-but-got-eof"
54704 ],
54705 "document": {
54706 "props": {
54707 "tags": {
54708 "html": true,
54709 "head": true,
54710 "body": true,
54711 "i": true,
54712 "b": true,
54713 "div": true,
54714 "a": true
54715 },
54716 "doctype": true
54717 },
54718 "tree": [
54719 {
54720 "doctype": "html"
54721 },
54722 {
54723 "tag": "html",
54724 "children": [
54725 {
54726 "tag": "head"
54727 },
54728 {
54729 "tag": "body",
54730 "children": [
54731 {
54732 "tag": "i",
54733 "children": [
54734 {
54735 "text": "a"
54736 },
54737 {
54738 "tag": "b",
54739 "children": [
54740 {
54741 "text": "b"
54742 }
54743 ]
54744 }
54745 ]
54746 },
54747 {
54748 "tag": "b"
54749 },
54750 {
54751 "tag": "div",
54752 "children": [
54753 {
54754 "tag": "b",
54755 "children": [
54756 {
54757 "tag": "i",
54758 "children": [
54759 {
54760 "text": "c"
54761 },
54762 {
54763 "tag": "a",
54764 "children": [
54765 {
54766 "text": "d"
54767 }
54768 ]
54769 }
54770 ]
54771 },
54772 {
54773 "tag": "a",
54774 "children": [
54775 {
54776 "text": "e"
54777 }
54778 ]
54779 }
54780 ]
54781 },
54782 {
54783 "tag": "a",
54784 "children": [
54785 {
54786 "text": "f"
54787 }
54788 ]
54789 }
54790 ]
54791 }
54792 ]
54793 }
54794 ]
54795 }
54796 ],
54797 "html": "<!DOCTYPE html><html><head></head><body><i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div></body></html>",
54798 "noQuirksBodyHtml": "<i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div>"
54799 }
54800 },
54801 {
54802 "data": "<!doctype html><table><i>a<b>b<div>c</i>",
54803 "errors": [
54804 "(1,25): foster-parenting-start-tag",
54805 "(1,26): foster-parenting-character",
54806 "(1,29): foster-parenting-start-tag",
54807 "(1,30): foster-parenting-character",
54808 "(1,35): foster-parenting-start-tag",
54809 "(1,36): foster-parenting-character",
54810 "(1,40): foster-parenting-end-tag",
54811 "(1,40): adoption-agency-1.3",
54812 "(1,40): eof-in-table"
54813 ],
54814 "document": {
54815 "props": {
54816 "tags": {
54817 "html": true,
54818 "head": true,
54819 "body": true,
54820 "i": true,
54821 "b": true,
54822 "div": true,
54823 "table": true
54824 },
54825 "doctype": true
54826 },
54827 "tree": [
54828 {
54829 "doctype": "html"
54830 },
54831 {
54832 "tag": "html",
54833 "children": [
54834 {
54835 "tag": "head"
54836 },
54837 {
54838 "tag": "body",
54839 "children": [
54840 {
54841 "tag": "i",
54842 "children": [
54843 {
54844 "text": "a"
54845 },
54846 {
54847 "tag": "b",
54848 "children": [
54849 {
54850 "text": "b"
54851 }
54852 ]
54853 }
54854 ]
54855 },
54856 {
54857 "tag": "b",
54858 "children": [
54859 {
54860 "tag": "div",
54861 "children": [
54862 {
54863 "tag": "i",
54864 "children": [
54865 {
54866 "text": "c"
54867 }
54868 ]
54869 }
54870 ]
54871 }
54872 ]
54873 },
54874 {
54875 "tag": "table"
54876 }
54877 ]
54878 }
54879 ]
54880 }
54881 ],
54882 "html": "<!DOCTYPE html><html><head></head><body><i>a<b>b</b></i><b><div><i>c</i></div></b><table></table></body></html>",
54883 "noQuirksBodyHtml": "<i>a<b>b</b></i><b><div><i>c</i></div></b><table></table>"
54884 }
54885 },
54886 {
54887 "data": "<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f",
54888 "errors": [
54889 "(1,25): foster-parenting-start-tag",
54890 "(1,26): foster-parenting-character",
54891 "(1,29): foster-parenting-start-tag",
54892 "(1,30): foster-parenting-character",
54893 "(1,35): foster-parenting-start-tag",
54894 "(1,36): foster-parenting-character",
54895 "(1,39): foster-parenting-start-tag",
54896 "(1,40): foster-parenting-character",
54897 "(1,44): foster-parenting-end-tag",
54898 "(1,44): adoption-agency-1.3",
54899 "(1,44): adoption-agency-1.3",
54900 "(1,45): foster-parenting-character",
54901 "(1,49): foster-parenting-end-tag",
54902 "(1,44): adoption-agency-1.3",
54903 "(1,44): adoption-agency-1.3",
54904 "(1,50): foster-parenting-character",
54905 "(1,50): eof-in-table"
54906 ],
54907 "document": {
54908 "props": {
54909 "tags": {
54910 "html": true,
54911 "head": true,
54912 "body": true,
54913 "i": true,
54914 "b": true,
54915 "div": true,
54916 "a": true,
54917 "table": true
54918 },
54919 "doctype": true
54920 },
54921 "tree": [
54922 {
54923 "doctype": "html"
54924 },
54925 {
54926 "tag": "html",
54927 "children": [
54928 {
54929 "tag": "head"
54930 },
54931 {
54932 "tag": "body",
54933 "children": [
54934 {
54935 "tag": "i",
54936 "children": [
54937 {
54938 "text": "a"
54939 },
54940 {
54941 "tag": "b",
54942 "children": [
54943 {
54944 "text": "b"
54945 }
54946 ]
54947 }
54948 ]
54949 },
54950 {
54951 "tag": "b"
54952 },
54953 {
54954 "tag": "div",
54955 "children": [
54956 {
54957 "tag": "b",
54958 "children": [
54959 {
54960 "tag": "i",
54961 "children": [
54962 {
54963 "text": "c"
54964 },
54965 {
54966 "tag": "a",
54967 "children": [
54968 {
54969 "text": "d"
54970 }
54971 ]
54972 }
54973 ]
54974 },
54975 {
54976 "tag": "a",
54977 "children": [
54978 {
54979 "text": "e"
54980 }
54981 ]
54982 }
54983 ]
54984 },
54985 {
54986 "tag": "a",
54987 "children": [
54988 {
54989 "text": "f"
54990 }
54991 ]
54992 }
54993 ]
54994 },
54995 {
54996 "tag": "table"
54997 }
54998 ]
54999 }
55000 ]
55001 }
55002 ],
55003 "html": "<!DOCTYPE html><html><head></head><body><i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div><table></table></body></html>",
55004 "noQuirksBodyHtml": "<i>a<b>b</b></i><b></b><div><b><i>c<a>d</a></i><a>e</a></b><a>f</a></div><table></table>"
55005 }
55006 },
55007 {
55008 "data": "<!doctype html><table><i>a<div>b<tr>c<b>d</i>e",
55009 "errors": [
55010 "(1,25): foster-parenting-start-tag",
55011 "(1,26): foster-parenting-character",
55012 "(1,31): foster-parenting-start-tag",
55013 "(1,32): foster-parenting-character",
55014 "(1,37): foster-parenting-character",
55015 "(1,40): foster-parenting-start-tag",
55016 "(1,41): foster-parenting-character",
55017 "(1,45): foster-parenting-end-tag",
55018 "(1,45): adoption-agency-1.3",
55019 "(1,46): foster-parenting-character",
55020 "(1,46): eof-in-table"
55021 ],
55022 "document": {
55023 "props": {
55024 "tags": {
55025 "html": true,
55026 "head": true,
55027 "body": true,
55028 "i": true,
55029 "div": true,
55030 "b": true,
55031 "table": true,
55032 "tbody": true,
55033 "tr": true
55034 },
55035 "doctype": true
55036 },
55037 "tree": [
55038 {
55039 "doctype": "html"
55040 },
55041 {
55042 "tag": "html",
55043 "children": [
55044 {
55045 "tag": "head"
55046 },
55047 {
55048 "tag": "body",
55049 "children": [
55050 {
55051 "tag": "i",
55052 "children": [
55053 {
55054 "text": "a"
55055 },
55056 {
55057 "tag": "div",
55058 "children": [
55059 {
55060 "text": "b"
55061 }
55062 ]
55063 }
55064 ]
55065 },
55066 {
55067 "tag": "i",
55068 "children": [
55069 {
55070 "text": "c"
55071 },
55072 {
55073 "tag": "b",
55074 "children": [
55075 {
55076 "text": "d"
55077 }
55078 ]
55079 }
55080 ]
55081 },
55082 {
55083 "tag": "b",
55084 "children": [
55085 {
55086 "text": "e"
55087 }
55088 ]
55089 },
55090 {
55091 "tag": "table",
55092 "children": [
55093 {
55094 "tag": "tbody",
55095 "children": [
55096 {
55097 "tag": "tr"
55098 }
55099 ]
55100 }
55101 ]
55102 }
55103 ]
55104 }
55105 ]
55106 }
55107 ],
55108 "html": "<!DOCTYPE html><html><head></head><body><i>a<div>b</div></i><i>c<b>d</b></i><b>e</b><table><tbody><tr></tr></tbody></table></body></html>",
55109 "noQuirksBodyHtml": "<i>a<div>b</div></i><i>c<b>d</b></i><b>e</b><table><tbody><tr></tr></tbody></table>"
55110 }
55111 },
55112 {
55113 "data": "<!doctype html><table><td><table><i>a<div>b<b>c</i>d",
55114 "errors": [
55115 "(1,26): unexpected-cell-in-table-body",
55116 "(1,36): foster-parenting-start-tag",
55117 "(1,37): foster-parenting-character",
55118 "(1,42): foster-parenting-start-tag",
55119 "(1,43): foster-parenting-character",
55120 "(1,46): foster-parenting-start-tag",
55121 "(1,47): foster-parenting-character",
55122 "(1,51): foster-parenting-end-tag",
55123 "(1,51): adoption-agency-1.3",
55124 "(1,51): adoption-agency-1.3",
55125 "(1,52): foster-parenting-character",
55126 "(1,52): eof-in-table"
55127 ],
55128 "document": {
55129 "props": {
55130 "tags": {
55131 "html": true,
55132 "head": true,
55133 "body": true,
55134 "table": true,
55135 "tbody": true,
55136 "tr": true,
55137 "td": true,
55138 "i": true,
55139 "div": true,
55140 "b": true
55141 },
55142 "doctype": true
55143 },
55144 "tree": [
55145 {
55146 "doctype": "html"
55147 },
55148 {
55149 "tag": "html",
55150 "children": [
55151 {
55152 "tag": "head"
55153 },
55154 {
55155 "tag": "body",
55156 "children": [
55157 {
55158 "tag": "table",
55159 "children": [
55160 {
55161 "tag": "tbody",
55162 "children": [
55163 {
55164 "tag": "tr",
55165 "children": [
55166 {
55167 "tag": "td",
55168 "children": [
55169 {
55170 "tag": "i",
55171 "children": [
55172 {
55173 "text": "a"
55174 }
55175 ]
55176 },
55177 {
55178 "tag": "div",
55179 "children": [
55180 {
55181 "tag": "i",
55182 "children": [
55183 {
55184 "text": "b"
55185 },
55186 {
55187 "tag": "b",
55188 "children": [
55189 {
55190 "text": "c"
55191 }
55192 ]
55193 }
55194 ]
55195 },
55196 {
55197 "tag": "b",
55198 "children": [
55199 {
55200 "text": "d"
55201 }
55202 ]
55203 }
55204 ]
55205 },
55206 {
55207 "tag": "table"
55208 }
55209 ]
55210 }
55211 ]
55212 }
55213 ]
55214 }
55215 ]
55216 }
55217 ]
55218 }
55219 ]
55220 }
55221 ],
55222 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><i>a</i><div><i>b<b>c</b></i><b>d</b></div><table></table></td></tr></tbody></table></body></html>",
55223 "noQuirksBodyHtml": "<table><tbody><tr><td><i>a</i><div><i>b<b>c</b></i><b>d</b></div><table></table></td></tr></tbody></table>"
55224 }
55225 },
55226 {
55227 "data": "<!doctype html><body><bgsound>",
55228 "errors": [],
55229 "document": {
55230 "props": {
55231 "tags": {
55232 "html": true,
55233 "head": true,
55234 "body": true,
55235 "bgsound": true
55236 },
55237 "doctype": true
55238 },
55239 "tree": [
55240 {
55241 "doctype": "html"
55242 },
55243 {
55244 "tag": "html",
55245 "children": [
55246 {
55247 "tag": "head"
55248 },
55249 {
55250 "tag": "body",
55251 "children": [
55252 {
55253 "tag": "bgsound"
55254 }
55255 ]
55256 }
55257 ]
55258 }
55259 ],
55260 "html": "<!DOCTYPE html><html><head></head><body><bgsound></body></html>",
55261 "noQuirksBodyHtml": "<bgsound>"
55262 }
55263 },
55264 {
55265 "data": "<!doctype html><body><basefont>",
55266 "errors": [],
55267 "document": {
55268 "props": {
55269 "tags": {
55270 "html": true,
55271 "head": true,
55272 "body": true,
55273 "basefont": true
55274 },
55275 "doctype": true
55276 },
55277 "tree": [
55278 {
55279 "doctype": "html"
55280 },
55281 {
55282 "tag": "html",
55283 "children": [
55284 {
55285 "tag": "head"
55286 },
55287 {
55288 "tag": "body",
55289 "children": [
55290 {
55291 "tag": "basefont"
55292 }
55293 ]
55294 }
55295 ]
55296 }
55297 ],
55298 "html": "<!DOCTYPE html><html><head></head><body><basefont></body></html>",
55299 "noQuirksBodyHtml": "<basefont>"
55300 }
55301 },
55302 {
55303 "data": "<!doctype html><a><b></a><basefont>",
55304 "errors": [
55305 "(1,25): adoption-agency-1.3"
55306 ],
55307 "document": {
55308 "props": {
55309 "tags": {
55310 "html": true,
55311 "head": true,
55312 "body": true,
55313 "a": true,
55314 "b": true,
55315 "basefont": true
55316 },
55317 "doctype": true
55318 },
55319 "tree": [
55320 {
55321 "doctype": "html"
55322 },
55323 {
55324 "tag": "html",
55325 "children": [
55326 {
55327 "tag": "head"
55328 },
55329 {
55330 "tag": "body",
55331 "children": [
55332 {
55333 "tag": "a",
55334 "children": [
55335 {
55336 "tag": "b"
55337 }
55338 ]
55339 },
55340 {
55341 "tag": "basefont"
55342 }
55343 ]
55344 }
55345 ]
55346 }
55347 ],
55348 "html": "<!DOCTYPE html><html><head></head><body><a><b></b></a><basefont></body></html>",
55349 "noQuirksBodyHtml": "<a><b></b></a><basefont>"
55350 }
55351 },
55352 {
55353 "data": "<!doctype html><a><b></a><bgsound>",
55354 "errors": [
55355 "(1,25): adoption-agency-1.3"
55356 ],
55357 "document": {
55358 "props": {
55359 "tags": {
55360 "html": true,
55361 "head": true,
55362 "body": true,
55363 "a": true,
55364 "b": true,
55365 "bgsound": true
55366 },
55367 "doctype": true
55368 },
55369 "tree": [
55370 {
55371 "doctype": "html"
55372 },
55373 {
55374 "tag": "html",
55375 "children": [
55376 {
55377 "tag": "head"
55378 },
55379 {
55380 "tag": "body",
55381 "children": [
55382 {
55383 "tag": "a",
55384 "children": [
55385 {
55386 "tag": "b"
55387 }
55388 ]
55389 },
55390 {
55391 "tag": "bgsound"
55392 }
55393 ]
55394 }
55395 ]
55396 }
55397 ],
55398 "html": "<!DOCTYPE html><html><head></head><body><a><b></b></a><bgsound></body></html>",
55399 "noQuirksBodyHtml": "<a><b></b></a><bgsound>"
55400 }
55401 },
55402 {
55403 "data": "<!doctype html><figcaption><article></figcaption>a",
55404 "errors": [
55405 "(1,49): end-tag-too-early"
55406 ],
55407 "document": {
55408 "props": {
55409 "tags": {
55410 "html": true,
55411 "head": true,
55412 "body": true,
55413 "figcaption": true,
55414 "article": true
55415 },
55416 "doctype": true
55417 },
55418 "tree": [
55419 {
55420 "doctype": "html"
55421 },
55422 {
55423 "tag": "html",
55424 "children": [
55425 {
55426 "tag": "head"
55427 },
55428 {
55429 "tag": "body",
55430 "children": [
55431 {
55432 "tag": "figcaption",
55433 "children": [
55434 {
55435 "tag": "article"
55436 }
55437 ]
55438 },
55439 {
55440 "text": "a"
55441 }
55442 ]
55443 }
55444 ]
55445 }
55446 ],
55447 "html": "<!DOCTYPE html><html><head></head><body><figcaption><article></article></figcaption>a</body></html>",
55448 "noQuirksBodyHtml": "<figcaption><article></article></figcaption>a"
55449 }
55450 },
55451 {
55452 "data": "<!doctype html><summary><article></summary>a",
55453 "errors": [
55454 "(1,43): end-tag-too-early"
55455 ],
55456 "document": {
55457 "props": {
55458 "tags": {
55459 "html": true,
55460 "head": true,
55461 "body": true,
55462 "summary": true,
55463 "article": true
55464 },
55465 "doctype": true
55466 },
55467 "tree": [
55468 {
55469 "doctype": "html"
55470 },
55471 {
55472 "tag": "html",
55473 "children": [
55474 {
55475 "tag": "head"
55476 },
55477 {
55478 "tag": "body",
55479 "children": [
55480 {
55481 "tag": "summary",
55482 "children": [
55483 {
55484 "tag": "article"
55485 }
55486 ]
55487 },
55488 {
55489 "text": "a"
55490 }
55491 ]
55492 }
55493 ]
55494 }
55495 ],
55496 "html": "<!DOCTYPE html><html><head></head><body><summary><article></article></summary>a</body></html>",
55497 "noQuirksBodyHtml": "<summary><article></article></summary>a"
55498 }
55499 },
55500 {
55501 "data": "<!doctype html><p><a><plaintext>b",
55502 "errors": [
55503 "(1,32): unexpected-end-tag",
55504 "(1,33): expected-closing-tag-but-got-eof"
55505 ],
55506 "document": {
55507 "props": {
55508 "tags": {
55509 "html": true,
55510 "head": true,
55511 "body": true,
55512 "p": true,
55513 "a": true,
55514 "plaintext": true
55515 },
55516 "doctype": true
55517 },
55518 "tree": [
55519 {
55520 "doctype": "html"
55521 },
55522 {
55523 "tag": "html",
55524 "children": [
55525 {
55526 "tag": "head"
55527 },
55528 {
55529 "tag": "body",
55530 "children": [
55531 {
55532 "tag": "p",
55533 "children": [
55534 {
55535 "tag": "a"
55536 }
55537 ]
55538 },
55539 {
55540 "tag": "plaintext",
55541 "children": [
55542 {
55543 "tag": "a",
55544 "children": [
55545 {
55546 "text": "b"
55547 }
55548 ]
55549 }
55550 ]
55551 }
55552 ]
55553 }
55554 ]
55555 }
55556 ],
55557 "html": "<!DOCTYPE html><html><head></head><body><p><a></a></p><plaintext><a>b</a></plaintext></body></html>",
55558 "noQuirksBodyHtml": "<p><a></a></p><plaintext><a>b</a></plaintext>"
55559 }
55560 },
55561 {
55562 "data": "<!DOCTYPE html><div>a<a></div>b<p>c</p>d",
55563 "errors": [
55564 "(1,30): end-tag-too-early",
55565 "(1,40): expected-closing-tag-but-got-eof"
55566 ],
55567 "document": {
55568 "props": {
55569 "tags": {
55570 "html": true,
55571 "head": true,
55572 "body": true,
55573 "div": true,
55574 "a": true,
55575 "p": true
55576 },
55577 "doctype": true
55578 },
55579 "tree": [
55580 {
55581 "doctype": "html"
55582 },
55583 {
55584 "tag": "html",
55585 "children": [
55586 {
55587 "tag": "head"
55588 },
55589 {
55590 "tag": "body",
55591 "children": [
55592 {
55593 "tag": "div",
55594 "children": [
55595 {
55596 "text": "a"
55597 },
55598 {
55599 "tag": "a"
55600 }
55601 ]
55602 },
55603 {
55604 "tag": "a",
55605 "children": [
55606 {
55607 "text": "b"
55608 },
55609 {
55610 "tag": "p",
55611 "children": [
55612 {
55613 "text": "c"
55614 }
55615 ]
55616 },
55617 {
55618 "text": "d"
55619 }
55620 ]
55621 }
55622 ]
55623 }
55624 ]
55625 }
55626 ],
55627 "html": "<!DOCTYPE html><html><head></head><body><div>a<a></a></div><a>b<p>c</p>d</a></body></html>",
55628 "noQuirksBodyHtml": "<div>a<a></a></div><a>b<p>c</p>d</a>"
55629 }
55630 }
55631 ],
55632 "tests2.dat": [
55633 {
55634 "data": "<!DOCTYPE html>Test",
55635 "errors": [],
55636 "document": {
55637 "props": {
55638 "tags": {
55639 "html": true,
55640 "head": true,
55641 "body": true
55642 },
55643 "doctype": true
55644 },
55645 "tree": [
55646 {
55647 "doctype": "html"
55648 },
55649 {
55650 "tag": "html",
55651 "children": [
55652 {
55653 "tag": "head"
55654 },
55655 {
55656 "tag": "body",
55657 "children": [
55658 {
55659 "text": "Test"
55660 }
55661 ]
55662 }
55663 ]
55664 }
55665 ],
55666 "html": "<!DOCTYPE html><html><head></head><body>Test</body></html>",
55667 "noQuirksBodyHtml": "Test"
55668 }
55669 },
55670 {
55671 "data": "<textarea>test</div>test",
55672 "errors": [
55673 "(1,10): expected-doctype-but-got-start-tag",
55674 "(1,24): expected-closing-tag-but-got-eof"
55675 ],
55676 "document": {
55677 "props": {
55678 "tags": {
55679 "html": true,
55680 "head": true,
55681 "body": true,
55682 "textarea": true
55683 },
55684 "escaped": true
55685 },
55686 "tree": [
55687 {
55688 "tag": "html",
55689 "children": [
55690 {
55691 "tag": "head"
55692 },
55693 {
55694 "tag": "body",
55695 "children": [
55696 {
55697 "tag": "textarea",
55698 "children": [
55699 {
55700 "text": "test</div>test",
55701 "escaped": true
55702 }
55703 ]
55704 }
55705 ]
55706 }
55707 ]
55708 }
55709 ],
55710 "html": "<html><head></head><body><textarea>test&lt;/div&gt;test</textarea></body></html>",
55711 "noQuirksBodyHtml": "<textarea>test&lt;/div&gt;test</textarea>"
55712 }
55713 },
55714 {
55715 "data": "<table><td>",
55716 "errors": [
55717 "(1,7): expected-doctype-but-got-start-tag",
55718 "(1,11): unexpected-cell-in-table-body",
55719 "(1,11): expected-closing-tag-but-got-eof"
55720 ],
55721 "document": {
55722 "props": {
55723 "tags": {
55724 "html": true,
55725 "head": true,
55726 "body": true,
55727 "table": true,
55728 "tbody": true,
55729 "tr": true,
55730 "td": true
55731 }
55732 },
55733 "tree": [
55734 {
55735 "tag": "html",
55736 "children": [
55737 {
55738 "tag": "head"
55739 },
55740 {
55741 "tag": "body",
55742 "children": [
55743 {
55744 "tag": "table",
55745 "children": [
55746 {
55747 "tag": "tbody",
55748 "children": [
55749 {
55750 "tag": "tr",
55751 "children": [
55752 {
55753 "tag": "td"
55754 }
55755 ]
55756 }
55757 ]
55758 }
55759 ]
55760 }
55761 ]
55762 }
55763 ]
55764 }
55765 ],
55766 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
55767 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
55768 }
55769 },
55770 {
55771 "data": "<table><td>test</tbody></table>",
55772 "errors": [
55773 "(1,7): expected-doctype-but-got-start-tag",
55774 "(1,11): unexpected-cell-in-table-body"
55775 ],
55776 "document": {
55777 "props": {
55778 "tags": {
55779 "html": true,
55780 "head": true,
55781 "body": true,
55782 "table": true,
55783 "tbody": true,
55784 "tr": true,
55785 "td": true
55786 }
55787 },
55788 "tree": [
55789 {
55790 "tag": "html",
55791 "children": [
55792 {
55793 "tag": "head"
55794 },
55795 {
55796 "tag": "body",
55797 "children": [
55798 {
55799 "tag": "table",
55800 "children": [
55801 {
55802 "tag": "tbody",
55803 "children": [
55804 {
55805 "tag": "tr",
55806 "children": [
55807 {
55808 "tag": "td",
55809 "children": [
55810 {
55811 "text": "test"
55812 }
55813 ]
55814 }
55815 ]
55816 }
55817 ]
55818 }
55819 ]
55820 }
55821 ]
55822 }
55823 ]
55824 }
55825 ],
55826 "html": "<html><head></head><body><table><tbody><tr><td>test</td></tr></tbody></table></body></html>",
55827 "noQuirksBodyHtml": "<table><tbody><tr><td>test</td></tr></tbody></table>"
55828 }
55829 },
55830 {
55831 "data": "<frame>test",
55832 "errors": [
55833 "(1,7): expected-doctype-but-got-start-tag",
55834 "(1,7): unexpected-start-tag-ignored"
55835 ],
55836 "document": {
55837 "props": {
55838 "tags": {
55839 "html": true,
55840 "head": true,
55841 "body": true
55842 }
55843 },
55844 "tree": [
55845 {
55846 "tag": "html",
55847 "children": [
55848 {
55849 "tag": "head"
55850 },
55851 {
55852 "tag": "body",
55853 "children": [
55854 {
55855 "text": "test"
55856 }
55857 ]
55858 }
55859 ]
55860 }
55861 ],
55862 "html": "<html><head></head><body>test</body></html>",
55863 "noQuirksBodyHtml": "test"
55864 }
55865 },
55866 {
55867 "data": "<!DOCTYPE html><frameset>test",
55868 "errors": [
55869 "(1,29): unexpected-char-in-frameset",
55870 "(1,29): unexpected-char-in-frameset",
55871 "(1,29): unexpected-char-in-frameset",
55872 "(1,29): unexpected-char-in-frameset",
55873 "(1,29): eof-in-frameset"
55874 ],
55875 "document": {
55876 "props": {
55877 "tags": {
55878 "html": true,
55879 "head": true,
55880 "frameset": true
55881 },
55882 "doctype": true
55883 },
55884 "tree": [
55885 {
55886 "doctype": "html"
55887 },
55888 {
55889 "tag": "html",
55890 "children": [
55891 {
55892 "tag": "head"
55893 },
55894 {
55895 "tag": "frameset"
55896 }
55897 ]
55898 }
55899 ],
55900 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
55901 "noQuirksBodyHtml": "test"
55902 }
55903 },
55904 {
55905 "data": "<!DOCTYPE html><frameset> te st",
55906 "errors": [
55907 "(1,29): unexpected-char-in-frameset",
55908 "(1,29): unexpected-char-in-frameset",
55909 "(1,29): unexpected-char-in-frameset",
55910 "(1,29): unexpected-char-in-frameset",
55911 "(1,29): eof-in-frameset"
55912 ],
55913 "document": {
55914 "props": {
55915 "tags": {
55916 "html": true,
55917 "head": true,
55918 "frameset": true
55919 },
55920 "doctype": true
55921 },
55922 "tree": [
55923 {
55924 "doctype": "html"
55925 },
55926 {
55927 "tag": "html",
55928 "children": [
55929 {
55930 "tag": "head"
55931 },
55932 {
55933 "tag": "frameset",
55934 "children": [
55935 {
55936 "text": " "
55937 }
55938 ]
55939 }
55940 ]
55941 }
55942 ],
55943 "html": "<!DOCTYPE html><html><head></head><frameset> </frameset></html>",
55944 "noQuirksBodyHtml": " te st"
55945 }
55946 },
55947 {
55948 "data": "<!DOCTYPE html><frameset></frameset> te st",
55949 "errors": [
55950 "(1,29): unexpected-char-after-frameset",
55951 "(1,29): unexpected-char-after-frameset",
55952 "(1,29): unexpected-char-after-frameset",
55953 "(1,29): unexpected-char-after-frameset"
55954 ],
55955 "document": {
55956 "props": {
55957 "tags": {
55958 "html": true,
55959 "head": true,
55960 "frameset": true
55961 },
55962 "doctype": true
55963 },
55964 "tree": [
55965 {
55966 "doctype": "html"
55967 },
55968 {
55969 "tag": "html",
55970 "children": [
55971 {
55972 "tag": "head"
55973 },
55974 {
55975 "tag": "frameset"
55976 },
55977 {
55978 "text": " "
55979 }
55980 ]
55981 }
55982 ],
55983 "html": "<!DOCTYPE html><html><head></head><frameset></frameset> </html>",
55984 "noQuirksBodyHtml": " te st"
55985 }
55986 },
55987 {
55988 "data": "<!DOCTYPE html><frameset><!DOCTYPE html>",
55989 "errors": [
55990 "(1,40): unexpected-doctype",
55991 "(1,40): eof-in-frameset"
55992 ],
55993 "document": {
55994 "props": {
55995 "tags": {
55996 "html": true,
55997 "head": true,
55998 "frameset": true
55999 },
56000 "doctype": true
56001 },
56002 "tree": [
56003 {
56004 "doctype": "html"
56005 },
56006 {
56007 "tag": "html",
56008 "children": [
56009 {
56010 "tag": "head"
56011 },
56012 {
56013 "tag": "frameset"
56014 }
56015 ]
56016 }
56017 ],
56018 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
56019 "noQuirksBodyHtml": ""
56020 }
56021 },
56022 {
56023 "data": "<!DOCTYPE html><font><p><b>test</font>",
56024 "errors": [
56025 "(1,38): adoption-agency-1.3",
56026 "(1,38): adoption-agency-1.3"
56027 ],
56028 "document": {
56029 "props": {
56030 "tags": {
56031 "html": true,
56032 "head": true,
56033 "body": true,
56034 "font": true,
56035 "p": true,
56036 "b": true
56037 },
56038 "doctype": true
56039 },
56040 "tree": [
56041 {
56042 "doctype": "html"
56043 },
56044 {
56045 "tag": "html",
56046 "children": [
56047 {
56048 "tag": "head"
56049 },
56050 {
56051 "tag": "body",
56052 "children": [
56053 {
56054 "tag": "font"
56055 },
56056 {
56057 "tag": "p",
56058 "children": [
56059 {
56060 "tag": "font",
56061 "children": [
56062 {
56063 "tag": "b",
56064 "children": [
56065 {
56066 "text": "test"
56067 }
56068 ]
56069 }
56070 ]
56071 }
56072 ]
56073 }
56074 ]
56075 }
56076 ]
56077 }
56078 ],
56079 "html": "<!DOCTYPE html><html><head></head><body><font></font><p><font><b>test</b></font></p></body></html>",
56080 "noQuirksBodyHtml": "<font></font><p><font><b>test</b></font></p>"
56081 }
56082 },
56083 {
56084 "data": "<!DOCTYPE html><dt><div><dd>",
56085 "errors": [
56086 "(1,28): end-tag-too-early"
56087 ],
56088 "document": {
56089 "props": {
56090 "tags": {
56091 "html": true,
56092 "head": true,
56093 "body": true,
56094 "dt": true,
56095 "div": true,
56096 "dd": true
56097 },
56098 "doctype": true
56099 },
56100 "tree": [
56101 {
56102 "doctype": "html"
56103 },
56104 {
56105 "tag": "html",
56106 "children": [
56107 {
56108 "tag": "head"
56109 },
56110 {
56111 "tag": "body",
56112 "children": [
56113 {
56114 "tag": "dt",
56115 "children": [
56116 {
56117 "tag": "div"
56118 }
56119 ]
56120 },
56121 {
56122 "tag": "dd"
56123 }
56124 ]
56125 }
56126 ]
56127 }
56128 ],
56129 "html": "<!DOCTYPE html><html><head></head><body><dt><div></div></dt><dd></dd></body></html>",
56130 "noQuirksBodyHtml": "<dt><div></div></dt><dd></dd>"
56131 }
56132 },
56133 {
56134 "data": "<script></x",
56135 "errors": [
56136 "(1,8): expected-doctype-but-got-start-tag",
56137 "(1,11): expected-named-closing-tag-but-got-eof"
56138 ],
56139 "document": {
56140 "props": {
56141 "tags": {
56142 "html": true,
56143 "head": true,
56144 "script": true,
56145 "body": true
56146 },
56147 "no_escape": true
56148 },
56149 "tree": [
56150 {
56151 "tag": "html",
56152 "children": [
56153 {
56154 "tag": "head",
56155 "children": [
56156 {
56157 "tag": "script",
56158 "children": [
56159 {
56160 "text": "</x",
56161 "no_escape": true
56162 }
56163 ]
56164 }
56165 ]
56166 },
56167 {
56168 "tag": "body"
56169 }
56170 ]
56171 }
56172 ],
56173 "html": "<html><head><script></x</script></head><body></body></html>",
56174 "noQuirksBodyHtml": "<script></x</script>"
56175 }
56176 },
56177 {
56178 "data": "<table><plaintext><td>",
56179 "errors": [
56180 "(1,7): expected-doctype-but-got-start-tag",
56181 "(1,18): unexpected-start-tag-implies-table-voodoo",
56182 "(1,22): foster-parenting-character-in-table",
56183 "(1,22): foster-parenting-character-in-table",
56184 "(1,22): foster-parenting-character-in-table",
56185 "(1,22): foster-parenting-character-in-table",
56186 "(1,22): eof-in-table"
56187 ],
56188 "document": {
56189 "props": {
56190 "tags": {
56191 "html": true,
56192 "head": true,
56193 "body": true,
56194 "plaintext": true,
56195 "table": true
56196 },
56197 "no_escape": true
56198 },
56199 "tree": [
56200 {
56201 "tag": "html",
56202 "children": [
56203 {
56204 "tag": "head"
56205 },
56206 {
56207 "tag": "body",
56208 "children": [
56209 {
56210 "tag": "plaintext",
56211 "children": [
56212 {
56213 "text": "<td>",
56214 "no_escape": true
56215 }
56216 ]
56217 },
56218 {
56219 "tag": "table"
56220 }
56221 ]
56222 }
56223 ]
56224 }
56225 ],
56226 "html": "<html><head></head><body><plaintext><td></plaintext><table></table></body></html>",
56227 "noQuirksBodyHtml": "<plaintext><td></plaintext><table></table>"
56228 }
56229 },
56230 {
56231 "data": "<plaintext></plaintext>",
56232 "errors": [
56233 "(1,11): expected-doctype-but-got-start-tag",
56234 "(1,23): expected-closing-tag-but-got-eof"
56235 ],
56236 "document": {
56237 "props": {
56238 "tags": {
56239 "html": true,
56240 "head": true,
56241 "body": true,
56242 "plaintext": true
56243 },
56244 "no_escape": true
56245 },
56246 "tree": [
56247 {
56248 "tag": "html",
56249 "children": [
56250 {
56251 "tag": "head"
56252 },
56253 {
56254 "tag": "body",
56255 "children": [
56256 {
56257 "tag": "plaintext",
56258 "children": [
56259 {
56260 "text": "</plaintext>",
56261 "no_escape": true
56262 }
56263 ]
56264 }
56265 ]
56266 }
56267 ]
56268 }
56269 ],
56270 "html": "<html><head></head><body><plaintext></plaintext></plaintext></body></html>",
56271 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext>"
56272 }
56273 },
56274 {
56275 "data": "<!DOCTYPE html><table><tr>TEST",
56276 "errors": [
56277 "(1,30): foster-parenting-character-in-table",
56278 "(1,30): foster-parenting-character-in-table",
56279 "(1,30): foster-parenting-character-in-table",
56280 "(1,30): foster-parenting-character-in-table",
56281 "(1,30): eof-in-table"
56282 ],
56283 "document": {
56284 "props": {
56285 "tags": {
56286 "html": true,
56287 "head": true,
56288 "body": true,
56289 "table": true,
56290 "tbody": true,
56291 "tr": true
56292 },
56293 "doctype": true
56294 },
56295 "tree": [
56296 {
56297 "doctype": "html"
56298 },
56299 {
56300 "tag": "html",
56301 "children": [
56302 {
56303 "tag": "head"
56304 },
56305 {
56306 "tag": "body",
56307 "children": [
56308 {
56309 "text": "TEST"
56310 },
56311 {
56312 "tag": "table",
56313 "children": [
56314 {
56315 "tag": "tbody",
56316 "children": [
56317 {
56318 "tag": "tr"
56319 }
56320 ]
56321 }
56322 ]
56323 }
56324 ]
56325 }
56326 ]
56327 }
56328 ],
56329 "html": "<!DOCTYPE html><html><head></head><body>TEST<table><tbody><tr></tr></tbody></table></body></html>",
56330 "noQuirksBodyHtml": "TEST<table><tbody><tr></tr></tbody></table>"
56331 }
56332 },
56333 {
56334 "data": "<!DOCTYPE html><body t1=1><body t2=2><body t3=3 t4=4>",
56335 "errors": [
56336 "(1,37): unexpected-start-tag",
56337 "(1,53): unexpected-start-tag"
56338 ],
56339 "document": {
56340 "props": {
56341 "tags": {
56342 "html": true,
56343 "head": true,
56344 "body": true
56345 },
56346 "doctype": true
56347 },
56348 "tree": [
56349 {
56350 "doctype": "html"
56351 },
56352 {
56353 "tag": "html",
56354 "children": [
56355 {
56356 "tag": "head"
56357 },
56358 {
56359 "tag": "body",
56360 "attrs": [
56361 {
56362 "name": "t1",
56363 "value": "1"
56364 },
56365 {
56366 "name": "t2",
56367 "value": "2"
56368 },
56369 {
56370 "name": "t3",
56371 "value": "3"
56372 },
56373 {
56374 "name": "t4",
56375 "value": "4"
56376 }
56377 ]
56378 }
56379 ]
56380 }
56381 ],
56382 "html": "<!DOCTYPE html><html><head></head><body t1=\"1\" t2=\"2\" t3=\"3\" t4=\"4\"></body></html>",
56383 "noQuirksBodyHtml": ""
56384 }
56385 },
56386 {
56387 "data": "</b test",
56388 "errors": [
56389 "(1,8): eof-in-attribute-name",
56390 "(1,8): expected-doctype-but-got-eof"
56391 ],
56392 "document": {
56393 "props": {
56394 "tags": {
56395 "html": true,
56396 "head": true,
56397 "body": true
56398 }
56399 },
56400 "tree": [
56401 {
56402 "tag": "html",
56403 "children": [
56404 {
56405 "tag": "head"
56406 },
56407 {
56408 "tag": "body"
56409 }
56410 ]
56411 }
56412 ],
56413 "html": "<html><head></head><body></body></html>",
56414 "noQuirksBodyHtml": ""
56415 }
56416 },
56417 {
56418 "data": "<!DOCTYPE html></b test<b &=&amp>X",
56419 "errors": [
56420 "(1,24): invalid-character-in-attribute-name",
56421 "(1,32): named-entity-without-semicolon",
56422 "(1,33): attributes-in-end-tag",
56423 "(1,33): unexpected-end-tag-before-html"
56424 ],
56425 "document": {
56426 "props": {
56427 "tags": {
56428 "html": true,
56429 "head": true,
56430 "body": true
56431 },
56432 "doctype": true
56433 },
56434 "tree": [
56435 {
56436 "doctype": "html"
56437 },
56438 {
56439 "tag": "html",
56440 "children": [
56441 {
56442 "tag": "head"
56443 },
56444 {
56445 "tag": "body",
56446 "children": [
56447 {
56448 "text": "X"
56449 }
56450 ]
56451 }
56452 ]
56453 }
56454 ],
56455 "html": "<!DOCTYPE html><html><head></head><body>X</body></html>",
56456 "noQuirksBodyHtml": "X"
56457 }
56458 },
56459 {
56460 "data": "<!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt",
56461 "errors": [
56462 "(1,9): need-space-after-doctype",
56463 "(1,54): expected-named-closing-tag-but-got-eof"
56464 ],
56465 "document": {
56466 "props": {
56467 "tags": {
56468 "html": true,
56469 "head": true,
56470 "script": true,
56471 "body": true
56472 },
56473 "doctype": true,
56474 "no_escape": true
56475 },
56476 "tree": [
56477 {
56478 "doctype": "html"
56479 },
56480 {
56481 "tag": "html",
56482 "children": [
56483 {
56484 "tag": "head",
56485 "children": [
56486 {
56487 "tag": "script",
56488 "attrs": [
56489 {
56490 "name": "type",
56491 "value": "text/x-foobar;baz"
56492 }
56493 ],
56494 "children": [
56495 {
56496 "text": "X</SCRipt",
56497 "no_escape": true
56498 }
56499 ]
56500 }
56501 ]
56502 },
56503 {
56504 "tag": "body"
56505 }
56506 ]
56507 }
56508 ],
56509 "html": "<!DOCTYPE html><html><head><script type=\"text/x-foobar;baz\">X</SCRipt</script></head><body></body></html>",
56510 "noQuirksBodyHtml": "<script type=\"text/x-foobar;baz\">X</SCRipt</script>"
56511 }
56512 },
56513 {
56514 "data": "&",
56515 "errors": [
56516 "(1,1): expected-doctype-but-got-chars"
56517 ],
56518 "document": {
56519 "props": {
56520 "tags": {
56521 "html": true,
56522 "head": true,
56523 "body": true
56524 },
56525 "escaped": true
56526 },
56527 "tree": [
56528 {
56529 "tag": "html",
56530 "children": [
56531 {
56532 "tag": "head"
56533 },
56534 {
56535 "tag": "body",
56536 "children": [
56537 {
56538 "text": "&",
56539 "escaped": true
56540 }
56541 ]
56542 }
56543 ]
56544 }
56545 ],
56546 "html": "<html><head></head><body>&amp;</body></html>",
56547 "noQuirksBodyHtml": "&amp;"
56548 }
56549 },
56550 {
56551 "data": "&#",
56552 "errors": [
56553 "(1,2): expected-numeric-entity",
56554 "(1,2): expected-doctype-but-got-chars"
56555 ],
56556 "document": {
56557 "props": {
56558 "tags": {
56559 "html": true,
56560 "head": true,
56561 "body": true
56562 },
56563 "escaped": true
56564 },
56565 "tree": [
56566 {
56567 "tag": "html",
56568 "children": [
56569 {
56570 "tag": "head"
56571 },
56572 {
56573 "tag": "body",
56574 "children": [
56575 {
56576 "text": "&#",
56577 "escaped": true
56578 }
56579 ]
56580 }
56581 ]
56582 }
56583 ],
56584 "html": "<html><head></head><body>&amp;#</body></html>",
56585 "noQuirksBodyHtml": "&amp;#"
56586 }
56587 },
56588 {
56589 "data": "&#X",
56590 "errors": [
56591 "(1,3): expected-numeric-entity",
56592 "(1,3): expected-doctype-but-got-chars"
56593 ],
56594 "document": {
56595 "props": {
56596 "tags": {
56597 "html": true,
56598 "head": true,
56599 "body": true
56600 },
56601 "escaped": true
56602 },
56603 "tree": [
56604 {
56605 "tag": "html",
56606 "children": [
56607 {
56608 "tag": "head"
56609 },
56610 {
56611 "tag": "body",
56612 "children": [
56613 {
56614 "text": "&#X",
56615 "escaped": true
56616 }
56617 ]
56618 }
56619 ]
56620 }
56621 ],
56622 "html": "<html><head></head><body>&amp;#X</body></html>",
56623 "noQuirksBodyHtml": "&amp;#X"
56624 }
56625 },
56626 {
56627 "data": "&#x",
56628 "errors": [
56629 "(1,3): expected-numeric-entity",
56630 "(1,3): expected-doctype-but-got-chars"
56631 ],
56632 "document": {
56633 "props": {
56634 "tags": {
56635 "html": true,
56636 "head": true,
56637 "body": true
56638 },
56639 "escaped": true
56640 },
56641 "tree": [
56642 {
56643 "tag": "html",
56644 "children": [
56645 {
56646 "tag": "head"
56647 },
56648 {
56649 "tag": "body",
56650 "children": [
56651 {
56652 "text": "&#x",
56653 "escaped": true
56654 }
56655 ]
56656 }
56657 ]
56658 }
56659 ],
56660 "html": "<html><head></head><body>&amp;#x</body></html>",
56661 "noQuirksBodyHtml": "&amp;#x"
56662 }
56663 },
56664 {
56665 "data": "&#45",
56666 "errors": [
56667 "(1,4): numeric-entity-without-semicolon",
56668 "(1,4): expected-doctype-but-got-chars"
56669 ],
56670 "document": {
56671 "props": {
56672 "tags": {
56673 "html": true,
56674 "head": true,
56675 "body": true
56676 }
56677 },
56678 "tree": [
56679 {
56680 "tag": "html",
56681 "children": [
56682 {
56683 "tag": "head"
56684 },
56685 {
56686 "tag": "body",
56687 "children": [
56688 {
56689 "text": "-"
56690 }
56691 ]
56692 }
56693 ]
56694 }
56695 ],
56696 "html": "<html><head></head><body>-</body></html>",
56697 "noQuirksBodyHtml": "-"
56698 }
56699 },
56700 {
56701 "data": "&x-test",
56702 "errors": [
56703 "(1,2): expected-doctype-but-got-chars"
56704 ],
56705 "document": {
56706 "props": {
56707 "tags": {
56708 "html": true,
56709 "head": true,
56710 "body": true
56711 },
56712 "escaped": true
56713 },
56714 "tree": [
56715 {
56716 "tag": "html",
56717 "children": [
56718 {
56719 "tag": "head"
56720 },
56721 {
56722 "tag": "body",
56723 "children": [
56724 {
56725 "text": "&x-test",
56726 "escaped": true
56727 }
56728 ]
56729 }
56730 ]
56731 }
56732 ],
56733 "html": "<html><head></head><body>&amp;x-test</body></html>",
56734 "noQuirksBodyHtml": "&amp;x-test"
56735 }
56736 },
56737 {
56738 "data": "<!doctypehtml><p><li>",
56739 "errors": [
56740 "(1,9): need-space-after-doctype"
56741 ],
56742 "document": {
56743 "props": {
56744 "tags": {
56745 "html": true,
56746 "head": true,
56747 "body": true,
56748 "p": true,
56749 "li": true
56750 },
56751 "doctype": true
56752 },
56753 "tree": [
56754 {
56755 "doctype": "html"
56756 },
56757 {
56758 "tag": "html",
56759 "children": [
56760 {
56761 "tag": "head"
56762 },
56763 {
56764 "tag": "body",
56765 "children": [
56766 {
56767 "tag": "p"
56768 },
56769 {
56770 "tag": "li"
56771 }
56772 ]
56773 }
56774 ]
56775 }
56776 ],
56777 "html": "<!DOCTYPE html><html><head></head><body><p></p><li></li></body></html>",
56778 "noQuirksBodyHtml": "<p></p><li></li>"
56779 }
56780 },
56781 {
56782 "data": "<!doctypehtml><p><dt>",
56783 "errors": [
56784 "(1,9): need-space-after-doctype"
56785 ],
56786 "document": {
56787 "props": {
56788 "tags": {
56789 "html": true,
56790 "head": true,
56791 "body": true,
56792 "p": true,
56793 "dt": true
56794 },
56795 "doctype": true
56796 },
56797 "tree": [
56798 {
56799 "doctype": "html"
56800 },
56801 {
56802 "tag": "html",
56803 "children": [
56804 {
56805 "tag": "head"
56806 },
56807 {
56808 "tag": "body",
56809 "children": [
56810 {
56811 "tag": "p"
56812 },
56813 {
56814 "tag": "dt"
56815 }
56816 ]
56817 }
56818 ]
56819 }
56820 ],
56821 "html": "<!DOCTYPE html><html><head></head><body><p></p><dt></dt></body></html>",
56822 "noQuirksBodyHtml": "<p></p><dt></dt>"
56823 }
56824 },
56825 {
56826 "data": "<!doctypehtml><p><dd>",
56827 "errors": [
56828 "(1,9): need-space-after-doctype"
56829 ],
56830 "document": {
56831 "props": {
56832 "tags": {
56833 "html": true,
56834 "head": true,
56835 "body": true,
56836 "p": true,
56837 "dd": true
56838 },
56839 "doctype": true
56840 },
56841 "tree": [
56842 {
56843 "doctype": "html"
56844 },
56845 {
56846 "tag": "html",
56847 "children": [
56848 {
56849 "tag": "head"
56850 },
56851 {
56852 "tag": "body",
56853 "children": [
56854 {
56855 "tag": "p"
56856 },
56857 {
56858 "tag": "dd"
56859 }
56860 ]
56861 }
56862 ]
56863 }
56864 ],
56865 "html": "<!DOCTYPE html><html><head></head><body><p></p><dd></dd></body></html>",
56866 "noQuirksBodyHtml": "<p></p><dd></dd>"
56867 }
56868 },
56869 {
56870 "data": "<!doctypehtml><p><form>",
56871 "errors": [
56872 "(1,9): need-space-after-doctype",
56873 "(1,23): expected-closing-tag-but-got-eof"
56874 ],
56875 "document": {
56876 "props": {
56877 "tags": {
56878 "html": true,
56879 "head": true,
56880 "body": true,
56881 "p": true,
56882 "form": true
56883 },
56884 "doctype": true
56885 },
56886 "tree": [
56887 {
56888 "doctype": "html"
56889 },
56890 {
56891 "tag": "html",
56892 "children": [
56893 {
56894 "tag": "head"
56895 },
56896 {
56897 "tag": "body",
56898 "children": [
56899 {
56900 "tag": "p"
56901 },
56902 {
56903 "tag": "form"
56904 }
56905 ]
56906 }
56907 ]
56908 }
56909 ],
56910 "html": "<!DOCTYPE html><html><head></head><body><p></p><form></form></body></html>",
56911 "noQuirksBodyHtml": "<p></p><form></form>"
56912 }
56913 },
56914 {
56915 "data": "<!DOCTYPE html><p></P>X",
56916 "errors": [],
56917 "document": {
56918 "props": {
56919 "tags": {
56920 "html": true,
56921 "head": true,
56922 "body": true,
56923 "p": true
56924 },
56925 "doctype": true
56926 },
56927 "tree": [
56928 {
56929 "doctype": "html"
56930 },
56931 {
56932 "tag": "html",
56933 "children": [
56934 {
56935 "tag": "head"
56936 },
56937 {
56938 "tag": "body",
56939 "children": [
56940 {
56941 "tag": "p"
56942 },
56943 {
56944 "text": "X"
56945 }
56946 ]
56947 }
56948 ]
56949 }
56950 ],
56951 "html": "<!DOCTYPE html><html><head></head><body><p></p>X</body></html>",
56952 "noQuirksBodyHtml": "<p></p>X"
56953 }
56954 },
56955 {
56956 "data": "&AMP",
56957 "errors": [
56958 "(1,4): named-entity-without-semicolon",
56959 "(1,4): expected-doctype-but-got-chars"
56960 ],
56961 "document": {
56962 "props": {
56963 "tags": {
56964 "html": true,
56965 "head": true,
56966 "body": true
56967 },
56968 "escaped": true
56969 },
56970 "tree": [
56971 {
56972 "tag": "html",
56973 "children": [
56974 {
56975 "tag": "head"
56976 },
56977 {
56978 "tag": "body",
56979 "children": [
56980 {
56981 "text": "&",
56982 "escaped": true
56983 }
56984 ]
56985 }
56986 ]
56987 }
56988 ],
56989 "html": "<html><head></head><body>&amp;</body></html>",
56990 "noQuirksBodyHtml": "&amp;"
56991 }
56992 },
56993 {
56994 "data": "&AMp;",
56995 "errors": [
56996 "(1,3): expected-named-entity",
56997 "(1,3): expected-doctype-but-got-chars"
56998 ],
56999 "document": {
57000 "props": {
57001 "tags": {
57002 "html": true,
57003 "head": true,
57004 "body": true
57005 },
57006 "escaped": true
57007 },
57008 "tree": [
57009 {
57010 "tag": "html",
57011 "children": [
57012 {
57013 "tag": "head"
57014 },
57015 {
57016 "tag": "body",
57017 "children": [
57018 {
57019 "text": "&AMp;",
57020 "escaped": true
57021 }
57022 ]
57023 }
57024 ]
57025 }
57026 ],
57027 "html": "<html><head></head><body>&amp;AMp;</body></html>",
57028 "noQuirksBodyHtml": "&amp;AMp;"
57029 }
57030 },
57031 {
57032 "data": "<!DOCTYPE html><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY>",
57033 "errors": [
57034 "(1,110): expected-closing-tag-but-got-eof"
57035 ],
57036 "document": {
57037 "props": {
57038 "tags": {
57039 "html": true,
57040 "head": true,
57041 "body": true,
57042 "thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly": true
57043 },
57044 "doctype": true
57045 },
57046 "tree": [
57047 {
57048 "doctype": "html"
57049 },
57050 {
57051 "tag": "html",
57052 "children": [
57053 {
57054 "tag": "head"
57055 },
57056 {
57057 "tag": "body",
57058 "children": [
57059 {
57060 "tag": "thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly"
57061 }
57062 ]
57063 }
57064 ]
57065 }
57066 ],
57067 "html": "<!DOCTYPE html><html><head></head><body><thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></body></html>",
57068 "noQuirksBodyHtml": "<thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>"
57069 }
57070 },
57071 {
57072 "data": "<!DOCTYPE html>X</body>X",
57073 "errors": [
57074 "(1,24): unexpected-char-after-body"
57075 ],
57076 "document": {
57077 "props": {
57078 "tags": {
57079 "html": true,
57080 "head": true,
57081 "body": true
57082 },
57083 "doctype": true
57084 },
57085 "tree": [
57086 {
57087 "doctype": "html"
57088 },
57089 {
57090 "tag": "html",
57091 "children": [
57092 {
57093 "tag": "head"
57094 },
57095 {
57096 "tag": "body",
57097 "children": [
57098 {
57099 "text": "XX"
57100 }
57101 ]
57102 }
57103 ]
57104 }
57105 ],
57106 "html": "<!DOCTYPE html><html><head></head><body>XX</body></html>",
57107 "noQuirksBodyHtml": "XX"
57108 }
57109 },
57110 {
57111 "data": "<!DOCTYPE html><!-- X",
57112 "errors": [
57113 "(1,21): eof-in-comment"
57114 ],
57115 "document": {
57116 "props": {
57117 "tags": {
57118 "html": true,
57119 "head": true,
57120 "body": true
57121 },
57122 "doctype": true,
57123 "comment": true
57124 },
57125 "tree": [
57126 {
57127 "doctype": "html"
57128 },
57129 {
57130 "comment": " X"
57131 },
57132 {
57133 "tag": "html",
57134 "children": [
57135 {
57136 "tag": "head"
57137 },
57138 {
57139 "tag": "body"
57140 }
57141 ]
57142 }
57143 ],
57144 "html": "<!DOCTYPE html><!-- X--><html><head></head><body></body></html>",
57145 "noQuirksBodyHtml": "<!-- X-->"
57146 }
57147 },
57148 {
57149 "data": "<!DOCTYPE html><table><caption>test TEST</caption><td>test",
57150 "errors": [
57151 "(1,54): unexpected-cell-in-table-body",
57152 "(1,58): expected-closing-tag-but-got-eof"
57153 ],
57154 "document": {
57155 "props": {
57156 "tags": {
57157 "html": true,
57158 "head": true,
57159 "body": true,
57160 "table": true,
57161 "caption": true,
57162 "tbody": true,
57163 "tr": true,
57164 "td": true
57165 },
57166 "doctype": true
57167 },
57168 "tree": [
57169 {
57170 "doctype": "html"
57171 },
57172 {
57173 "tag": "html",
57174 "children": [
57175 {
57176 "tag": "head"
57177 },
57178 {
57179 "tag": "body",
57180 "children": [
57181 {
57182 "tag": "table",
57183 "children": [
57184 {
57185 "tag": "caption",
57186 "children": [
57187 {
57188 "text": "test TEST"
57189 }
57190 ]
57191 },
57192 {
57193 "tag": "tbody",
57194 "children": [
57195 {
57196 "tag": "tr",
57197 "children": [
57198 {
57199 "tag": "td",
57200 "children": [
57201 {
57202 "text": "test"
57203 }
57204 ]
57205 }
57206 ]
57207 }
57208 ]
57209 }
57210 ]
57211 }
57212 ]
57213 }
57214 ]
57215 }
57216 ],
57217 "html": "<!DOCTYPE html><html><head></head><body><table><caption>test TEST</caption><tbody><tr><td>test</td></tr></tbody></table></body></html>",
57218 "noQuirksBodyHtml": "<table><caption>test TEST</caption><tbody><tr><td>test</td></tr></tbody></table>"
57219 }
57220 },
57221 {
57222 "data": "<!DOCTYPE html><select><option><optgroup>",
57223 "errors": [
57224 "(1,41): eof-in-select"
57225 ],
57226 "document": {
57227 "props": {
57228 "tags": {
57229 "html": true,
57230 "head": true,
57231 "body": true,
57232 "select": true,
57233 "option": true,
57234 "optgroup": true
57235 },
57236 "doctype": true
57237 },
57238 "tree": [
57239 {
57240 "doctype": "html"
57241 },
57242 {
57243 "tag": "html",
57244 "children": [
57245 {
57246 "tag": "head"
57247 },
57248 {
57249 "tag": "body",
57250 "children": [
57251 {
57252 "tag": "select",
57253 "children": [
57254 {
57255 "tag": "option"
57256 },
57257 {
57258 "tag": "optgroup"
57259 }
57260 ]
57261 }
57262 ]
57263 }
57264 ]
57265 }
57266 ],
57267 "html": "<!DOCTYPE html><html><head></head><body><select><option></option><optgroup></optgroup></select></body></html>",
57268 "noQuirksBodyHtml": "<select><option></option><optgroup></optgroup></select>"
57269 }
57270 },
57271 {
57272 "data": "<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>",
57273 "errors": [
57274 "(1,68): unexpected-select-in-select"
57275 ],
57276 "document": {
57277 "props": {
57278 "tags": {
57279 "html": true,
57280 "head": true,
57281 "body": true,
57282 "select": true,
57283 "optgroup": true,
57284 "option": true
57285 },
57286 "doctype": true
57287 },
57288 "tree": [
57289 {
57290 "doctype": "html"
57291 },
57292 {
57293 "tag": "html",
57294 "children": [
57295 {
57296 "tag": "head"
57297 },
57298 {
57299 "tag": "body",
57300 "children": [
57301 {
57302 "tag": "select",
57303 "children": [
57304 {
57305 "tag": "optgroup",
57306 "children": [
57307 {
57308 "tag": "option"
57309 }
57310 ]
57311 },
57312 {
57313 "tag": "option"
57314 }
57315 ]
57316 },
57317 {
57318 "tag": "option"
57319 }
57320 ]
57321 }
57322 ]
57323 }
57324 ],
57325 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup><option></option></optgroup><option></option></select><option></option></body></html>",
57326 "noQuirksBodyHtml": "<select><optgroup><option></option></optgroup><option></option></select><option></option>"
57327 }
57328 },
57329 {
57330 "data": "<!DOCTYPE html><select><optgroup><option><optgroup>",
57331 "errors": [
57332 "(1,51): eof-in-select"
57333 ],
57334 "document": {
57335 "props": {
57336 "tags": {
57337 "html": true,
57338 "head": true,
57339 "body": true,
57340 "select": true,
57341 "optgroup": true,
57342 "option": true
57343 },
57344 "doctype": true
57345 },
57346 "tree": [
57347 {
57348 "doctype": "html"
57349 },
57350 {
57351 "tag": "html",
57352 "children": [
57353 {
57354 "tag": "head"
57355 },
57356 {
57357 "tag": "body",
57358 "children": [
57359 {
57360 "tag": "select",
57361 "children": [
57362 {
57363 "tag": "optgroup",
57364 "children": [
57365 {
57366 "tag": "option"
57367 }
57368 ]
57369 },
57370 {
57371 "tag": "optgroup"
57372 }
57373 ]
57374 }
57375 ]
57376 }
57377 ]
57378 }
57379 ],
57380 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup><option></option></optgroup><optgroup></optgroup></select></body></html>",
57381 "noQuirksBodyHtml": "<select><optgroup><option></option></optgroup><optgroup></optgroup></select>"
57382 }
57383 },
57384 {
57385 "data": "<!DOCTYPE html><datalist><option>foo</datalist>bar",
57386 "errors": [],
57387 "document": {
57388 "props": {
57389 "tags": {
57390 "html": true,
57391 "head": true,
57392 "body": true,
57393 "datalist": true,
57394 "option": true
57395 },
57396 "doctype": true
57397 },
57398 "tree": [
57399 {
57400 "doctype": "html"
57401 },
57402 {
57403 "tag": "html",
57404 "children": [
57405 {
57406 "tag": "head"
57407 },
57408 {
57409 "tag": "body",
57410 "children": [
57411 {
57412 "tag": "datalist",
57413 "children": [
57414 {
57415 "tag": "option",
57416 "children": [
57417 {
57418 "text": "foo"
57419 }
57420 ]
57421 }
57422 ]
57423 },
57424 {
57425 "text": "bar"
57426 }
57427 ]
57428 }
57429 ]
57430 }
57431 ],
57432 "html": "<!DOCTYPE html><html><head></head><body><datalist><option>foo</option></datalist>bar</body></html>",
57433 "noQuirksBodyHtml": "<datalist><option>foo</option></datalist>bar"
57434 }
57435 },
57436 {
57437 "data": "<!DOCTYPE html><font><input><input></font>",
57438 "errors": [],
57439 "document": {
57440 "props": {
57441 "tags": {
57442 "html": true,
57443 "head": true,
57444 "body": true,
57445 "font": true,
57446 "input": true
57447 },
57448 "doctype": true
57449 },
57450 "tree": [
57451 {
57452 "doctype": "html"
57453 },
57454 {
57455 "tag": "html",
57456 "children": [
57457 {
57458 "tag": "head"
57459 },
57460 {
57461 "tag": "body",
57462 "children": [
57463 {
57464 "tag": "font",
57465 "children": [
57466 {
57467 "tag": "input"
57468 },
57469 {
57470 "tag": "input"
57471 }
57472 ]
57473 }
57474 ]
57475 }
57476 ]
57477 }
57478 ],
57479 "html": "<!DOCTYPE html><html><head></head><body><font><input><input></font></body></html>",
57480 "noQuirksBodyHtml": "<font><input><input></font>"
57481 }
57482 },
57483 {
57484 "data": "<!DOCTYPE html><!-- XXX - XXX -->",
57485 "errors": [],
57486 "document": {
57487 "props": {
57488 "tags": {
57489 "html": true,
57490 "head": true,
57491 "body": true
57492 },
57493 "doctype": true,
57494 "comment": true
57495 },
57496 "tree": [
57497 {
57498 "doctype": "html"
57499 },
57500 {
57501 "comment": " XXX - XXX "
57502 },
57503 {
57504 "tag": "html",
57505 "children": [
57506 {
57507 "tag": "head"
57508 },
57509 {
57510 "tag": "body"
57511 }
57512 ]
57513 }
57514 ],
57515 "html": "<!DOCTYPE html><!-- XXX - XXX --><html><head></head><body></body></html>",
57516 "noQuirksBodyHtml": "<!-- XXX - XXX -->"
57517 }
57518 },
57519 {
57520 "data": "<!DOCTYPE html><!-- XXX - XXX",
57521 "errors": [
57522 "(1,29): eof-in-comment"
57523 ],
57524 "document": {
57525 "props": {
57526 "tags": {
57527 "html": true,
57528 "head": true,
57529 "body": true
57530 },
57531 "doctype": true,
57532 "comment": true
57533 },
57534 "tree": [
57535 {
57536 "doctype": "html"
57537 },
57538 {
57539 "comment": " XXX - XXX"
57540 },
57541 {
57542 "tag": "html",
57543 "children": [
57544 {
57545 "tag": "head"
57546 },
57547 {
57548 "tag": "body"
57549 }
57550 ]
57551 }
57552 ],
57553 "html": "<!DOCTYPE html><!-- XXX - XXX--><html><head></head><body></body></html>",
57554 "noQuirksBodyHtml": "<!-- XXX - XXX-->"
57555 }
57556 },
57557 {
57558 "data": "<!DOCTYPE html><!-- XXX - XXX - XXX -->",
57559 "errors": [],
57560 "document": {
57561 "props": {
57562 "tags": {
57563 "html": true,
57564 "head": true,
57565 "body": true
57566 },
57567 "doctype": true,
57568 "comment": true
57569 },
57570 "tree": [
57571 {
57572 "doctype": "html"
57573 },
57574 {
57575 "comment": " XXX - XXX - XXX "
57576 },
57577 {
57578 "tag": "html",
57579 "children": [
57580 {
57581 "tag": "head"
57582 },
57583 {
57584 "tag": "body"
57585 }
57586 ]
57587 }
57588 ],
57589 "html": "<!DOCTYPE html><!-- XXX - XXX - XXX --><html><head></head><body></body></html>",
57590 "noQuirksBodyHtml": "<!-- XXX - XXX - XXX -->"
57591 }
57592 },
57593 {
57594 "data": "test\ntest",
57595 "errors": [
57596 "(2,4): expected-doctype-but-got-chars"
57597 ],
57598 "document": {
57599 "props": {
57600 "tags": {
57601 "html": true,
57602 "head": true,
57603 "body": true
57604 }
57605 },
57606 "tree": [
57607 {
57608 "tag": "html",
57609 "children": [
57610 {
57611 "tag": "head"
57612 },
57613 {
57614 "tag": "body",
57615 "children": [
57616 {
57617 "text": "test\ntest"
57618 }
57619 ]
57620 }
57621 ]
57622 }
57623 ],
57624 "html": "<html><head></head><body>test\ntest</body></html>",
57625 "noQuirksBodyHtml": "test\ntest"
57626 }
57627 },
57628 {
57629 "data": "<!DOCTYPE html><body><title>test</body></title>",
57630 "errors": [],
57631 "document": {
57632 "props": {
57633 "tags": {
57634 "html": true,
57635 "head": true,
57636 "body": true,
57637 "title": true
57638 },
57639 "doctype": true,
57640 "escaped": true
57641 },
57642 "tree": [
57643 {
57644 "doctype": "html"
57645 },
57646 {
57647 "tag": "html",
57648 "children": [
57649 {
57650 "tag": "head"
57651 },
57652 {
57653 "tag": "body",
57654 "children": [
57655 {
57656 "tag": "title",
57657 "children": [
57658 {
57659 "text": "test</body>",
57660 "escaped": true
57661 }
57662 ]
57663 }
57664 ]
57665 }
57666 ]
57667 }
57668 ],
57669 "html": "<!DOCTYPE html><html><head></head><body><title>test&lt;/body&gt;</title></body></html>",
57670 "noQuirksBodyHtml": "<title>test&lt;/body&gt;</title>"
57671 }
57672 },
57673 {
57674 "data": "<!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>\nx { content:\"</style\" } </style>",
57675 "errors": [],
57676 "document": {
57677 "props": {
57678 "tags": {
57679 "html": true,
57680 "head": true,
57681 "body": true,
57682 "title": true,
57683 "meta": true,
57684 "link": true,
57685 "style": true
57686 },
57687 "doctype": true,
57688 "no_escape": true
57689 },
57690 "tree": [
57691 {
57692 "doctype": "html"
57693 },
57694 {
57695 "tag": "html",
57696 "children": [
57697 {
57698 "tag": "head"
57699 },
57700 {
57701 "tag": "body",
57702 "children": [
57703 {
57704 "tag": "title",
57705 "children": [
57706 {
57707 "text": "X"
57708 }
57709 ]
57710 },
57711 {
57712 "tag": "meta",
57713 "attrs": [
57714 {
57715 "name": "name",
57716 "value": "z"
57717 }
57718 ]
57719 },
57720 {
57721 "tag": "link",
57722 "attrs": [
57723 {
57724 "name": "rel",
57725 "value": "foo"
57726 }
57727 ]
57728 },
57729 {
57730 "tag": "style",
57731 "children": [
57732 {
57733 "text": "\nx { content:\"</style\" } ",
57734 "no_escape": true
57735 }
57736 ]
57737 }
57738 ]
57739 }
57740 ]
57741 }
57742 ],
57743 "html": "<!DOCTYPE html><html><head></head><body><title>X</title><meta name=\"z\"><link rel=\"foo\"><style>\nx { content:\"</style\" } </style></body></html>",
57744 "noQuirksBodyHtml": "<title>X</title><meta name=\"z\"><link rel=\"foo\"><style>\nx { content:\"</style\" } </style>"
57745 }
57746 },
57747 {
57748 "data": "<!DOCTYPE html><select><optgroup></optgroup></select>",
57749 "errors": [],
57750 "document": {
57751 "props": {
57752 "tags": {
57753 "html": true,
57754 "head": true,
57755 "body": true,
57756 "select": true,
57757 "optgroup": true
57758 },
57759 "doctype": true
57760 },
57761 "tree": [
57762 {
57763 "doctype": "html"
57764 },
57765 {
57766 "tag": "html",
57767 "children": [
57768 {
57769 "tag": "head"
57770 },
57771 {
57772 "tag": "body",
57773 "children": [
57774 {
57775 "tag": "select",
57776 "children": [
57777 {
57778 "tag": "optgroup"
57779 }
57780 ]
57781 }
57782 ]
57783 }
57784 ]
57785 }
57786 ],
57787 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup></optgroup></select></body></html>",
57788 "noQuirksBodyHtml": "<select><optgroup></optgroup></select>"
57789 }
57790 },
57791 {
57792 "data": " \n ",
57793 "errors": [
57794 "(2,1): expected-doctype-but-got-eof"
57795 ],
57796 "document": {
57797 "props": {
57798 "tags": {
57799 "html": true,
57800 "head": true,
57801 "body": true
57802 }
57803 },
57804 "tree": [
57805 {
57806 "tag": "html",
57807 "children": [
57808 {
57809 "tag": "head"
57810 },
57811 {
57812 "tag": "body"
57813 }
57814 ]
57815 }
57816 ],
57817 "html": "<html><head></head><body></body></html>",
57818 "noQuirksBodyHtml": " \n "
57819 }
57820 },
57821 {
57822 "data": "<!DOCTYPE html> <html>",
57823 "errors": [],
57824 "document": {
57825 "props": {
57826 "tags": {
57827 "html": true,
57828 "head": true,
57829 "body": true
57830 },
57831 "doctype": true
57832 },
57833 "tree": [
57834 {
57835 "doctype": "html"
57836 },
57837 {
57838 "tag": "html",
57839 "children": [
57840 {
57841 "tag": "head"
57842 },
57843 {
57844 "tag": "body"
57845 }
57846 ]
57847 }
57848 ],
57849 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
57850 "noQuirksBodyHtml": " "
57851 }
57852 },
57853 {
57854 "data": "<!DOCTYPE html><script>\n</script> <title>x</title> </head>",
57855 "errors": [],
57856 "document": {
57857 "props": {
57858 "tags": {
57859 "html": true,
57860 "head": true,
57861 "script": true,
57862 "title": true,
57863 "body": true
57864 },
57865 "doctype": true,
57866 "no_escape": true
57867 },
57868 "tree": [
57869 {
57870 "doctype": "html"
57871 },
57872 {
57873 "tag": "html",
57874 "children": [
57875 {
57876 "tag": "head",
57877 "children": [
57878 {
57879 "tag": "script",
57880 "children": [
57881 {
57882 "text": "\n",
57883 "no_escape": true
57884 }
57885 ]
57886 },
57887 {
57888 "text": " "
57889 },
57890 {
57891 "tag": "title",
57892 "children": [
57893 {
57894 "text": "x"
57895 }
57896 ]
57897 },
57898 {
57899 "text": " "
57900 }
57901 ]
57902 },
57903 {
57904 "tag": "body"
57905 }
57906 ]
57907 }
57908 ],
57909 "html": "<!DOCTYPE html><html><head><script>\n</script> <title>x</title> </head><body></body></html>",
57910 "noQuirksBodyHtml": "<script>\n</script> <title>x</title> "
57911 }
57912 },
57913 {
57914 "data": "<!DOCTYPE html><html><body><html id=x>",
57915 "errors": [
57916 "(1,38): non-html-root"
57917 ],
57918 "document": {
57919 "props": {
57920 "tags": {
57921 "html": true,
57922 "head": true,
57923 "body": true
57924 },
57925 "doctype": true
57926 },
57927 "tree": [
57928 {
57929 "doctype": "html"
57930 },
57931 {
57932 "tag": "html",
57933 "attrs": [
57934 {
57935 "name": "id",
57936 "value": "x"
57937 }
57938 ],
57939 "children": [
57940 {
57941 "tag": "head"
57942 },
57943 {
57944 "tag": "body"
57945 }
57946 ]
57947 }
57948 ],
57949 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body></body></html>",
57950 "noQuirksBodyHtml": ""
57951 }
57952 },
57953 {
57954 "data": "<!DOCTYPE html>X</body><html id=\"x\">",
57955 "errors": [
57956 "(1,36): non-html-root"
57957 ],
57958 "document": {
57959 "props": {
57960 "tags": {
57961 "html": true,
57962 "head": true,
57963 "body": true
57964 },
57965 "doctype": true
57966 },
57967 "tree": [
57968 {
57969 "doctype": "html"
57970 },
57971 {
57972 "tag": "html",
57973 "attrs": [
57974 {
57975 "name": "id",
57976 "value": "x"
57977 }
57978 ],
57979 "children": [
57980 {
57981 "tag": "head"
57982 },
57983 {
57984 "tag": "body",
57985 "children": [
57986 {
57987 "text": "X"
57988 }
57989 ]
57990 }
57991 ]
57992 }
57993 ],
57994 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body>X</body></html>",
57995 "noQuirksBodyHtml": "X"
57996 }
57997 },
57998 {
57999 "data": "<!DOCTYPE html><head><html id=x>",
58000 "errors": [
58001 "(1,32): non-html-root"
58002 ],
58003 "document": {
58004 "props": {
58005 "tags": {
58006 "html": true,
58007 "head": true,
58008 "body": true
58009 },
58010 "doctype": true
58011 },
58012 "tree": [
58013 {
58014 "doctype": "html"
58015 },
58016 {
58017 "tag": "html",
58018 "attrs": [
58019 {
58020 "name": "id",
58021 "value": "x"
58022 }
58023 ],
58024 "children": [
58025 {
58026 "tag": "head"
58027 },
58028 {
58029 "tag": "body"
58030 }
58031 ]
58032 }
58033 ],
58034 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body></body></html>",
58035 "noQuirksBodyHtml": ""
58036 }
58037 },
58038 {
58039 "data": "<!DOCTYPE html>X</html>X",
58040 "errors": [
58041 "(1,24): expected-eof-but-got-char"
58042 ],
58043 "document": {
58044 "props": {
58045 "tags": {
58046 "html": true,
58047 "head": true,
58048 "body": true
58049 },
58050 "doctype": true
58051 },
58052 "tree": [
58053 {
58054 "doctype": "html"
58055 },
58056 {
58057 "tag": "html",
58058 "children": [
58059 {
58060 "tag": "head"
58061 },
58062 {
58063 "tag": "body",
58064 "children": [
58065 {
58066 "text": "XX"
58067 }
58068 ]
58069 }
58070 ]
58071 }
58072 ],
58073 "html": "<!DOCTYPE html><html><head></head><body>XX</body></html>",
58074 "noQuirksBodyHtml": "XX"
58075 }
58076 },
58077 {
58078 "data": "<!DOCTYPE html>X</html> ",
58079 "errors": [],
58080 "document": {
58081 "props": {
58082 "tags": {
58083 "html": true,
58084 "head": true,
58085 "body": true
58086 },
58087 "doctype": true
58088 },
58089 "tree": [
58090 {
58091 "doctype": "html"
58092 },
58093 {
58094 "tag": "html",
58095 "children": [
58096 {
58097 "tag": "head"
58098 },
58099 {
58100 "tag": "body",
58101 "children": [
58102 {
58103 "text": "X "
58104 }
58105 ]
58106 }
58107 ]
58108 }
58109 ],
58110 "html": "<!DOCTYPE html><html><head></head><body>X </body></html>",
58111 "noQuirksBodyHtml": "X "
58112 }
58113 },
58114 {
58115 "data": "<!DOCTYPE html>X</html><p>X",
58116 "errors": [
58117 "(1,26): expected-eof-but-got-start-tag"
58118 ],
58119 "document": {
58120 "props": {
58121 "tags": {
58122 "html": true,
58123 "head": true,
58124 "body": true,
58125 "p": true
58126 },
58127 "doctype": true
58128 },
58129 "tree": [
58130 {
58131 "doctype": "html"
58132 },
58133 {
58134 "tag": "html",
58135 "children": [
58136 {
58137 "tag": "head"
58138 },
58139 {
58140 "tag": "body",
58141 "children": [
58142 {
58143 "text": "X"
58144 },
58145 {
58146 "tag": "p",
58147 "children": [
58148 {
58149 "text": "X"
58150 }
58151 ]
58152 }
58153 ]
58154 }
58155 ]
58156 }
58157 ],
58158 "html": "<!DOCTYPE html><html><head></head><body>X<p>X</p></body></html>",
58159 "noQuirksBodyHtml": "X<p>X</p>"
58160 }
58161 },
58162 {
58163 "data": "<!DOCTYPE html>X<p/x/y/z>",
58164 "errors": [
58165 "(1,19): unexpected-character-after-solidus-in-tag",
58166 "(1,21): unexpected-character-after-solidus-in-tag",
58167 "(1,23): unexpected-character-after-solidus-in-tag"
58168 ],
58169 "document": {
58170 "props": {
58171 "tags": {
58172 "html": true,
58173 "head": true,
58174 "body": true,
58175 "p": true
58176 },
58177 "doctype": true
58178 },
58179 "tree": [
58180 {
58181 "doctype": "html"
58182 },
58183 {
58184 "tag": "html",
58185 "children": [
58186 {
58187 "tag": "head"
58188 },
58189 {
58190 "tag": "body",
58191 "children": [
58192 {
58193 "text": "X"
58194 },
58195 {
58196 "tag": "p",
58197 "attrs": [
58198 {
58199 "name": "x",
58200 "value": ""
58201 },
58202 {
58203 "name": "y",
58204 "value": ""
58205 },
58206 {
58207 "name": "z",
58208 "value": ""
58209 }
58210 ]
58211 }
58212 ]
58213 }
58214 ]
58215 }
58216 ],
58217 "html": "<!DOCTYPE html><html><head></head><body>X<p x=\"\" y=\"\" z=\"\"></p></body></html>",
58218 "noQuirksBodyHtml": "X<p x=\"\" y=\"\" z=\"\"></p>"
58219 }
58220 },
58221 {
58222 "data": "<!DOCTYPE html><!--x--",
58223 "errors": [
58224 "(1,22): eof-in-comment-double-dash"
58225 ],
58226 "document": {
58227 "props": {
58228 "tags": {
58229 "html": true,
58230 "head": true,
58231 "body": true
58232 },
58233 "doctype": true,
58234 "comment": true
58235 },
58236 "tree": [
58237 {
58238 "doctype": "html"
58239 },
58240 {
58241 "comment": "x"
58242 },
58243 {
58244 "tag": "html",
58245 "children": [
58246 {
58247 "tag": "head"
58248 },
58249 {
58250 "tag": "body"
58251 }
58252 ]
58253 }
58254 ],
58255 "html": "<!DOCTYPE html><!--x--><html><head></head><body></body></html>",
58256 "noQuirksBodyHtml": "<!--x-->"
58257 }
58258 },
58259 {
58260 "data": "<!DOCTYPE html><table><tr><td></p></table>",
58261 "errors": [
58262 "(1,34): unexpected-end-tag"
58263 ],
58264 "document": {
58265 "props": {
58266 "tags": {
58267 "html": true,
58268 "head": true,
58269 "body": true,
58270 "table": true,
58271 "tbody": true,
58272 "tr": true,
58273 "td": true,
58274 "p": true
58275 },
58276 "doctype": true
58277 },
58278 "tree": [
58279 {
58280 "doctype": "html"
58281 },
58282 {
58283 "tag": "html",
58284 "children": [
58285 {
58286 "tag": "head"
58287 },
58288 {
58289 "tag": "body",
58290 "children": [
58291 {
58292 "tag": "table",
58293 "children": [
58294 {
58295 "tag": "tbody",
58296 "children": [
58297 {
58298 "tag": "tr",
58299 "children": [
58300 {
58301 "tag": "td",
58302 "children": [
58303 {
58304 "tag": "p"
58305 }
58306 ]
58307 }
58308 ]
58309 }
58310 ]
58311 }
58312 ]
58313 }
58314 ]
58315 }
58316 ]
58317 }
58318 ],
58319 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><p></p></td></tr></tbody></table></body></html>",
58320 "noQuirksBodyHtml": "<table><tbody><tr><td><p></p></td></tr></tbody></table>"
58321 }
58322 },
58323 {
58324 "data": "<!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->-->",
58325 "errors": [
58326 "(1,20): expected-space-or-right-bracket-in-doctype",
58327 "(1,25): unknown-doctype",
58328 "(1,35): unexpected-char-in-comment"
58329 ],
58330 "document": {
58331 "props": {
58332 "tags": {
58333 "html": true,
58334 "head": true,
58335 "body": true
58336 },
58337 "doctype": true,
58338 "escaped": true,
58339 "comment": true
58340 },
58341 "tree": [
58342 {
58343 "doctype": "<!doctype"
58344 },
58345 {
58346 "tag": "html",
58347 "children": [
58348 {
58349 "tag": "head"
58350 },
58351 {
58352 "tag": "body",
58353 "children": [
58354 {
58355 "text": ">",
58356 "escaped": true
58357 },
58358 {
58359 "comment": "<!--x"
58360 },
58361 {
58362 "text": "-->",
58363 "escaped": true
58364 }
58365 ]
58366 }
58367 ]
58368 }
58369 ],
58370 "html": "<!DOCTYPE <!doctype><html><head></head><body>&gt;<!--<!--x-->--&gt;</body></html>",
58371 "noQuirksBodyHtml": "&gt;<!--<!--x-->--&gt;"
58372 }
58373 },
58374 {
58375 "data": "<!doctype html><div><form></form><div></div></div>",
58376 "errors": [],
58377 "document": {
58378 "props": {
58379 "tags": {
58380 "html": true,
58381 "head": true,
58382 "body": true,
58383 "div": true,
58384 "form": true
58385 },
58386 "doctype": true
58387 },
58388 "tree": [
58389 {
58390 "doctype": "html"
58391 },
58392 {
58393 "tag": "html",
58394 "children": [
58395 {
58396 "tag": "head"
58397 },
58398 {
58399 "tag": "body",
58400 "children": [
58401 {
58402 "tag": "div",
58403 "children": [
58404 {
58405 "tag": "form"
58406 },
58407 {
58408 "tag": "div"
58409 }
58410 ]
58411 }
58412 ]
58413 }
58414 ]
58415 }
58416 ],
58417 "html": "<!DOCTYPE html><html><head></head><body><div><form></form><div></div></div></body></html>",
58418 "noQuirksBodyHtml": "<div><form></form><div></div></div>"
58419 }
58420 }
58421 ],
58422 "tests20.dat": [
58423 {
58424 "data": "<!doctype html><p><button><button>",
58425 "errors": [
58426 "(1,34): unexpected-start-tag-implies-end-tag",
58427 "(1,34): expected-closing-tag-but-got-eof"
58428 ],
58429 "document": {
58430 "props": {
58431 "tags": {
58432 "html": true,
58433 "head": true,
58434 "body": true,
58435 "p": true,
58436 "button": true
58437 },
58438 "doctype": true
58439 },
58440 "tree": [
58441 {
58442 "doctype": "html"
58443 },
58444 {
58445 "tag": "html",
58446 "children": [
58447 {
58448 "tag": "head"
58449 },
58450 {
58451 "tag": "body",
58452 "children": [
58453 {
58454 "tag": "p",
58455 "children": [
58456 {
58457 "tag": "button"
58458 },
58459 {
58460 "tag": "button"
58461 }
58462 ]
58463 }
58464 ]
58465 }
58466 ]
58467 }
58468 ],
58469 "html": "<!DOCTYPE html><html><head></head><body><p><button></button><button></button></p></body></html>",
58470 "noQuirksBodyHtml": "<p><button></button><button></button></p>"
58471 }
58472 },
58473 {
58474 "data": "<!doctype html><p><button><address>",
58475 "errors": [
58476 "(1,35): expected-closing-tag-but-got-eof"
58477 ],
58478 "document": {
58479 "props": {
58480 "tags": {
58481 "html": true,
58482 "head": true,
58483 "body": true,
58484 "p": true,
58485 "button": true,
58486 "address": true
58487 },
58488 "doctype": true
58489 },
58490 "tree": [
58491 {
58492 "doctype": "html"
58493 },
58494 {
58495 "tag": "html",
58496 "children": [
58497 {
58498 "tag": "head"
58499 },
58500 {
58501 "tag": "body",
58502 "children": [
58503 {
58504 "tag": "p",
58505 "children": [
58506 {
58507 "tag": "button",
58508 "children": [
58509 {
58510 "tag": "address"
58511 }
58512 ]
58513 }
58514 ]
58515 }
58516 ]
58517 }
58518 ]
58519 }
58520 ],
58521 "html": "<!DOCTYPE html><html><head></head><body><p><button><address></address></button></p></body></html>",
58522 "noQuirksBodyHtml": "<p><button><address></address></button></p>"
58523 }
58524 },
58525 {
58526 "data": "<!doctype html><p><button><blockquote>",
58527 "errors": [
58528 "(1,38): expected-closing-tag-but-got-eof"
58529 ],
58530 "document": {
58531 "props": {
58532 "tags": {
58533 "html": true,
58534 "head": true,
58535 "body": true,
58536 "p": true,
58537 "button": true,
58538 "blockquote": true
58539 },
58540 "doctype": true
58541 },
58542 "tree": [
58543 {
58544 "doctype": "html"
58545 },
58546 {
58547 "tag": "html",
58548 "children": [
58549 {
58550 "tag": "head"
58551 },
58552 {
58553 "tag": "body",
58554 "children": [
58555 {
58556 "tag": "p",
58557 "children": [
58558 {
58559 "tag": "button",
58560 "children": [
58561 {
58562 "tag": "blockquote"
58563 }
58564 ]
58565 }
58566 ]
58567 }
58568 ]
58569 }
58570 ]
58571 }
58572 ],
58573 "html": "<!DOCTYPE html><html><head></head><body><p><button><blockquote></blockquote></button></p></body></html>",
58574 "noQuirksBodyHtml": "<p><button><blockquote></blockquote></button></p>"
58575 }
58576 },
58577 {
58578 "data": "<!doctype html><p><button><menu>",
58579 "errors": [
58580 "(1,32): expected-closing-tag-but-got-eof"
58581 ],
58582 "document": {
58583 "props": {
58584 "tags": {
58585 "html": true,
58586 "head": true,
58587 "body": true,
58588 "p": true,
58589 "button": true,
58590 "menu": true
58591 },
58592 "doctype": true
58593 },
58594 "tree": [
58595 {
58596 "doctype": "html"
58597 },
58598 {
58599 "tag": "html",
58600 "children": [
58601 {
58602 "tag": "head"
58603 },
58604 {
58605 "tag": "body",
58606 "children": [
58607 {
58608 "tag": "p",
58609 "children": [
58610 {
58611 "tag": "button",
58612 "children": [
58613 {
58614 "tag": "menu"
58615 }
58616 ]
58617 }
58618 ]
58619 }
58620 ]
58621 }
58622 ]
58623 }
58624 ],
58625 "html": "<!DOCTYPE html><html><head></head><body><p><button><menu></menu></button></p></body></html>",
58626 "noQuirksBodyHtml": "<p><button><menu></menu></button></p>"
58627 }
58628 },
58629 {
58630 "data": "<!doctype html><p><button><p>",
58631 "errors": [
58632 "(1,29): expected-closing-tag-but-got-eof"
58633 ],
58634 "document": {
58635 "props": {
58636 "tags": {
58637 "html": true,
58638 "head": true,
58639 "body": true,
58640 "p": true,
58641 "button": true
58642 },
58643 "doctype": true
58644 },
58645 "tree": [
58646 {
58647 "doctype": "html"
58648 },
58649 {
58650 "tag": "html",
58651 "children": [
58652 {
58653 "tag": "head"
58654 },
58655 {
58656 "tag": "body",
58657 "children": [
58658 {
58659 "tag": "p",
58660 "children": [
58661 {
58662 "tag": "button",
58663 "children": [
58664 {
58665 "tag": "p"
58666 }
58667 ]
58668 }
58669 ]
58670 }
58671 ]
58672 }
58673 ]
58674 }
58675 ],
58676 "html": "<!DOCTYPE html><html><head></head><body><p><button><p></p></button></p></body></html>",
58677 "noQuirksBodyHtml": "<p><button><p></p></button></p>"
58678 }
58679 },
58680 {
58681 "data": "<!doctype html><p><button><ul>",
58682 "errors": [
58683 "(1,30): expected-closing-tag-but-got-eof"
58684 ],
58685 "document": {
58686 "props": {
58687 "tags": {
58688 "html": true,
58689 "head": true,
58690 "body": true,
58691 "p": true,
58692 "button": true,
58693 "ul": true
58694 },
58695 "doctype": true
58696 },
58697 "tree": [
58698 {
58699 "doctype": "html"
58700 },
58701 {
58702 "tag": "html",
58703 "children": [
58704 {
58705 "tag": "head"
58706 },
58707 {
58708 "tag": "body",
58709 "children": [
58710 {
58711 "tag": "p",
58712 "children": [
58713 {
58714 "tag": "button",
58715 "children": [
58716 {
58717 "tag": "ul"
58718 }
58719 ]
58720 }
58721 ]
58722 }
58723 ]
58724 }
58725 ]
58726 }
58727 ],
58728 "html": "<!DOCTYPE html><html><head></head><body><p><button><ul></ul></button></p></body></html>",
58729 "noQuirksBodyHtml": "<p><button><ul></ul></button></p>"
58730 }
58731 },
58732 {
58733 "data": "<!doctype html><p><button><h1>",
58734 "errors": [
58735 "(1,30): expected-closing-tag-but-got-eof"
58736 ],
58737 "document": {
58738 "props": {
58739 "tags": {
58740 "html": true,
58741 "head": true,
58742 "body": true,
58743 "p": true,
58744 "button": true,
58745 "h1": true
58746 },
58747 "doctype": true
58748 },
58749 "tree": [
58750 {
58751 "doctype": "html"
58752 },
58753 {
58754 "tag": "html",
58755 "children": [
58756 {
58757 "tag": "head"
58758 },
58759 {
58760 "tag": "body",
58761 "children": [
58762 {
58763 "tag": "p",
58764 "children": [
58765 {
58766 "tag": "button",
58767 "children": [
58768 {
58769 "tag": "h1"
58770 }
58771 ]
58772 }
58773 ]
58774 }
58775 ]
58776 }
58777 ]
58778 }
58779 ],
58780 "html": "<!DOCTYPE html><html><head></head><body><p><button><h1></h1></button></p></body></html>",
58781 "noQuirksBodyHtml": "<p><button><h1></h1></button></p>"
58782 }
58783 },
58784 {
58785 "data": "<!doctype html><p><button><h6>",
58786 "errors": [
58787 "(1,30): expected-closing-tag-but-got-eof"
58788 ],
58789 "document": {
58790 "props": {
58791 "tags": {
58792 "html": true,
58793 "head": true,
58794 "body": true,
58795 "p": true,
58796 "button": true,
58797 "h6": true
58798 },
58799 "doctype": true
58800 },
58801 "tree": [
58802 {
58803 "doctype": "html"
58804 },
58805 {
58806 "tag": "html",
58807 "children": [
58808 {
58809 "tag": "head"
58810 },
58811 {
58812 "tag": "body",
58813 "children": [
58814 {
58815 "tag": "p",
58816 "children": [
58817 {
58818 "tag": "button",
58819 "children": [
58820 {
58821 "tag": "h6"
58822 }
58823 ]
58824 }
58825 ]
58826 }
58827 ]
58828 }
58829 ]
58830 }
58831 ],
58832 "html": "<!DOCTYPE html><html><head></head><body><p><button><h6></h6></button></p></body></html>",
58833 "noQuirksBodyHtml": "<p><button><h6></h6></button></p>"
58834 }
58835 },
58836 {
58837 "data": "<!doctype html><p><button><listing>",
58838 "errors": [
58839 "(1,35): expected-closing-tag-but-got-eof"
58840 ],
58841 "document": {
58842 "props": {
58843 "tags": {
58844 "html": true,
58845 "head": true,
58846 "body": true,
58847 "p": true,
58848 "button": true,
58849 "listing": true
58850 },
58851 "doctype": true
58852 },
58853 "tree": [
58854 {
58855 "doctype": "html"
58856 },
58857 {
58858 "tag": "html",
58859 "children": [
58860 {
58861 "tag": "head"
58862 },
58863 {
58864 "tag": "body",
58865 "children": [
58866 {
58867 "tag": "p",
58868 "children": [
58869 {
58870 "tag": "button",
58871 "children": [
58872 {
58873 "tag": "listing"
58874 }
58875 ]
58876 }
58877 ]
58878 }
58879 ]
58880 }
58881 ]
58882 }
58883 ],
58884 "html": "<!DOCTYPE html><html><head></head><body><p><button><listing></listing></button></p></body></html>",
58885 "noQuirksBodyHtml": "<p><button><listing></listing></button></p>"
58886 }
58887 },
58888 {
58889 "data": "<!doctype html><p><button><pre>",
58890 "errors": [
58891 "(1,31): expected-closing-tag-but-got-eof"
58892 ],
58893 "document": {
58894 "props": {
58895 "tags": {
58896 "html": true,
58897 "head": true,
58898 "body": true,
58899 "p": true,
58900 "button": true,
58901 "pre": true
58902 },
58903 "doctype": true
58904 },
58905 "tree": [
58906 {
58907 "doctype": "html"
58908 },
58909 {
58910 "tag": "html",
58911 "children": [
58912 {
58913 "tag": "head"
58914 },
58915 {
58916 "tag": "body",
58917 "children": [
58918 {
58919 "tag": "p",
58920 "children": [
58921 {
58922 "tag": "button",
58923 "children": [
58924 {
58925 "tag": "pre"
58926 }
58927 ]
58928 }
58929 ]
58930 }
58931 ]
58932 }
58933 ]
58934 }
58935 ],
58936 "html": "<!DOCTYPE html><html><head></head><body><p><button><pre></pre></button></p></body></html>",
58937 "noQuirksBodyHtml": "<p><button><pre></pre></button></p>"
58938 }
58939 },
58940 {
58941 "data": "<!doctype html><p><button><form>",
58942 "errors": [
58943 "(1,32): expected-closing-tag-but-got-eof"
58944 ],
58945 "document": {
58946 "props": {
58947 "tags": {
58948 "html": true,
58949 "head": true,
58950 "body": true,
58951 "p": true,
58952 "button": true,
58953 "form": true
58954 },
58955 "doctype": true
58956 },
58957 "tree": [
58958 {
58959 "doctype": "html"
58960 },
58961 {
58962 "tag": "html",
58963 "children": [
58964 {
58965 "tag": "head"
58966 },
58967 {
58968 "tag": "body",
58969 "children": [
58970 {
58971 "tag": "p",
58972 "children": [
58973 {
58974 "tag": "button",
58975 "children": [
58976 {
58977 "tag": "form"
58978 }
58979 ]
58980 }
58981 ]
58982 }
58983 ]
58984 }
58985 ]
58986 }
58987 ],
58988 "html": "<!DOCTYPE html><html><head></head><body><p><button><form></form></button></p></body></html>",
58989 "noQuirksBodyHtml": "<p><button><form></form></button></p>"
58990 }
58991 },
58992 {
58993 "data": "<!doctype html><p><button><li>",
58994 "errors": [
58995 "(1,30): expected-closing-tag-but-got-eof"
58996 ],
58997 "document": {
58998 "props": {
58999 "tags": {
59000 "html": true,
59001 "head": true,
59002 "body": true,
59003 "p": true,
59004 "button": true,
59005 "li": true
59006 },
59007 "doctype": true
59008 },
59009 "tree": [
59010 {
59011 "doctype": "html"
59012 },
59013 {
59014 "tag": "html",
59015 "children": [
59016 {
59017 "tag": "head"
59018 },
59019 {
59020 "tag": "body",
59021 "children": [
59022 {
59023 "tag": "p",
59024 "children": [
59025 {
59026 "tag": "button",
59027 "children": [
59028 {
59029 "tag": "li"
59030 }
59031 ]
59032 }
59033 ]
59034 }
59035 ]
59036 }
59037 ]
59038 }
59039 ],
59040 "html": "<!DOCTYPE html><html><head></head><body><p><button><li></li></button></p></body></html>",
59041 "noQuirksBodyHtml": "<p><button><li></li></button></p>"
59042 }
59043 },
59044 {
59045 "data": "<!doctype html><p><button><dd>",
59046 "errors": [
59047 "(1,30): expected-closing-tag-but-got-eof"
59048 ],
59049 "document": {
59050 "props": {
59051 "tags": {
59052 "html": true,
59053 "head": true,
59054 "body": true,
59055 "p": true,
59056 "button": true,
59057 "dd": true
59058 },
59059 "doctype": true
59060 },
59061 "tree": [
59062 {
59063 "doctype": "html"
59064 },
59065 {
59066 "tag": "html",
59067 "children": [
59068 {
59069 "tag": "head"
59070 },
59071 {
59072 "tag": "body",
59073 "children": [
59074 {
59075 "tag": "p",
59076 "children": [
59077 {
59078 "tag": "button",
59079 "children": [
59080 {
59081 "tag": "dd"
59082 }
59083 ]
59084 }
59085 ]
59086 }
59087 ]
59088 }
59089 ]
59090 }
59091 ],
59092 "html": "<!DOCTYPE html><html><head></head><body><p><button><dd></dd></button></p></body></html>",
59093 "noQuirksBodyHtml": "<p><button><dd></dd></button></p>"
59094 }
59095 },
59096 {
59097 "data": "<!doctype html><p><button><dt>",
59098 "errors": [
59099 "(1,30): expected-closing-tag-but-got-eof"
59100 ],
59101 "document": {
59102 "props": {
59103 "tags": {
59104 "html": true,
59105 "head": true,
59106 "body": true,
59107 "p": true,
59108 "button": true,
59109 "dt": true
59110 },
59111 "doctype": true
59112 },
59113 "tree": [
59114 {
59115 "doctype": "html"
59116 },
59117 {
59118 "tag": "html",
59119 "children": [
59120 {
59121 "tag": "head"
59122 },
59123 {
59124 "tag": "body",
59125 "children": [
59126 {
59127 "tag": "p",
59128 "children": [
59129 {
59130 "tag": "button",
59131 "children": [
59132 {
59133 "tag": "dt"
59134 }
59135 ]
59136 }
59137 ]
59138 }
59139 ]
59140 }
59141 ]
59142 }
59143 ],
59144 "html": "<!DOCTYPE html><html><head></head><body><p><button><dt></dt></button></p></body></html>",
59145 "noQuirksBodyHtml": "<p><button><dt></dt></button></p>"
59146 }
59147 },
59148 {
59149 "data": "<!doctype html><p><button><plaintext>",
59150 "errors": [
59151 "(1,37): expected-closing-tag-but-got-eof"
59152 ],
59153 "document": {
59154 "props": {
59155 "tags": {
59156 "html": true,
59157 "head": true,
59158 "body": true,
59159 "p": true,
59160 "button": true,
59161 "plaintext": true
59162 },
59163 "doctype": true
59164 },
59165 "tree": [
59166 {
59167 "doctype": "html"
59168 },
59169 {
59170 "tag": "html",
59171 "children": [
59172 {
59173 "tag": "head"
59174 },
59175 {
59176 "tag": "body",
59177 "children": [
59178 {
59179 "tag": "p",
59180 "children": [
59181 {
59182 "tag": "button",
59183 "children": [
59184 {
59185 "tag": "plaintext"
59186 }
59187 ]
59188 }
59189 ]
59190 }
59191 ]
59192 }
59193 ]
59194 }
59195 ],
59196 "html": "<!DOCTYPE html><html><head></head><body><p><button><plaintext></plaintext></button></p></body></html>",
59197 "noQuirksBodyHtml": "<p><button><plaintext></plaintext></button></p>"
59198 }
59199 },
59200 {
59201 "data": "<!doctype html><p><button><table>",
59202 "errors": [
59203 "(1,33): eof-in-table"
59204 ],
59205 "document": {
59206 "props": {
59207 "tags": {
59208 "html": true,
59209 "head": true,
59210 "body": true,
59211 "p": true,
59212 "button": true,
59213 "table": true
59214 },
59215 "doctype": true
59216 },
59217 "tree": [
59218 {
59219 "doctype": "html"
59220 },
59221 {
59222 "tag": "html",
59223 "children": [
59224 {
59225 "tag": "head"
59226 },
59227 {
59228 "tag": "body",
59229 "children": [
59230 {
59231 "tag": "p",
59232 "children": [
59233 {
59234 "tag": "button",
59235 "children": [
59236 {
59237 "tag": "table"
59238 }
59239 ]
59240 }
59241 ]
59242 }
59243 ]
59244 }
59245 ]
59246 }
59247 ],
59248 "html": "<!DOCTYPE html><html><head></head><body><p><button><table></table></button></p></body></html>",
59249 "noQuirksBodyHtml": "<p><button><table></table></button></p>"
59250 }
59251 },
59252 {
59253 "data": "<!doctype html><p><button><hr>",
59254 "errors": [
59255 "(1,30): expected-closing-tag-but-got-eof"
59256 ],
59257 "document": {
59258 "props": {
59259 "tags": {
59260 "html": true,
59261 "head": true,
59262 "body": true,
59263 "p": true,
59264 "button": true,
59265 "hr": true
59266 },
59267 "doctype": true
59268 },
59269 "tree": [
59270 {
59271 "doctype": "html"
59272 },
59273 {
59274 "tag": "html",
59275 "children": [
59276 {
59277 "tag": "head"
59278 },
59279 {
59280 "tag": "body",
59281 "children": [
59282 {
59283 "tag": "p",
59284 "children": [
59285 {
59286 "tag": "button",
59287 "children": [
59288 {
59289 "tag": "hr"
59290 }
59291 ]
59292 }
59293 ]
59294 }
59295 ]
59296 }
59297 ]
59298 }
59299 ],
59300 "html": "<!DOCTYPE html><html><head></head><body><p><button><hr></button></p></body></html>",
59301 "noQuirksBodyHtml": "<p><button><hr></button></p>"
59302 }
59303 },
59304 {
59305 "data": "<!doctype html><p><button><xmp>",
59306 "errors": [
59307 "(1,31): expected-named-closing-tag-but-got-eof",
59308 "(1,31): expected-closing-tag-but-got-eof"
59309 ],
59310 "document": {
59311 "props": {
59312 "tags": {
59313 "html": true,
59314 "head": true,
59315 "body": true,
59316 "p": true,
59317 "button": true,
59318 "xmp": true
59319 },
59320 "doctype": true
59321 },
59322 "tree": [
59323 {
59324 "doctype": "html"
59325 },
59326 {
59327 "tag": "html",
59328 "children": [
59329 {
59330 "tag": "head"
59331 },
59332 {
59333 "tag": "body",
59334 "children": [
59335 {
59336 "tag": "p",
59337 "children": [
59338 {
59339 "tag": "button",
59340 "children": [
59341 {
59342 "tag": "xmp"
59343 }
59344 ]
59345 }
59346 ]
59347 }
59348 ]
59349 }
59350 ]
59351 }
59352 ],
59353 "html": "<!DOCTYPE html><html><head></head><body><p><button><xmp></xmp></button></p></body></html>",
59354 "noQuirksBodyHtml": "<p><button><xmp></xmp></button></p>"
59355 }
59356 },
59357 {
59358 "data": "<!doctype html><p><button></p>",
59359 "errors": [
59360 "(1,30): unexpected-end-tag",
59361 "(1,30): expected-closing-tag-but-got-eof"
59362 ],
59363 "document": {
59364 "props": {
59365 "tags": {
59366 "html": true,
59367 "head": true,
59368 "body": true,
59369 "p": true,
59370 "button": true
59371 },
59372 "doctype": true
59373 },
59374 "tree": [
59375 {
59376 "doctype": "html"
59377 },
59378 {
59379 "tag": "html",
59380 "children": [
59381 {
59382 "tag": "head"
59383 },
59384 {
59385 "tag": "body",
59386 "children": [
59387 {
59388 "tag": "p",
59389 "children": [
59390 {
59391 "tag": "button",
59392 "children": [
59393 {
59394 "tag": "p"
59395 }
59396 ]
59397 }
59398 ]
59399 }
59400 ]
59401 }
59402 ]
59403 }
59404 ],
59405 "html": "<!DOCTYPE html><html><head></head><body><p><button><p></p></button></p></body></html>",
59406 "noQuirksBodyHtml": "<p><button><p></p></button></p>"
59407 }
59408 },
59409 {
59410 "data": "<!doctype html><address><button></address>a",
59411 "errors": [
59412 "(1,42): end-tag-too-early"
59413 ],
59414 "document": {
59415 "props": {
59416 "tags": {
59417 "html": true,
59418 "head": true,
59419 "body": true,
59420 "address": true,
59421 "button": true
59422 },
59423 "doctype": true
59424 },
59425 "tree": [
59426 {
59427 "doctype": "html"
59428 },
59429 {
59430 "tag": "html",
59431 "children": [
59432 {
59433 "tag": "head"
59434 },
59435 {
59436 "tag": "body",
59437 "children": [
59438 {
59439 "tag": "address",
59440 "children": [
59441 {
59442 "tag": "button"
59443 }
59444 ]
59445 },
59446 {
59447 "text": "a"
59448 }
59449 ]
59450 }
59451 ]
59452 }
59453 ],
59454 "html": "<!DOCTYPE html><html><head></head><body><address><button></button></address>a</body></html>",
59455 "noQuirksBodyHtml": "<address><button></button></address>a"
59456 }
59457 },
59458 {
59459 "data": "<!doctype html><address><button></address>a",
59460 "errors": [
59461 "(1,42): end-tag-too-early"
59462 ],
59463 "document": {
59464 "props": {
59465 "tags": {
59466 "html": true,
59467 "head": true,
59468 "body": true,
59469 "address": true,
59470 "button": true
59471 },
59472 "doctype": true
59473 },
59474 "tree": [
59475 {
59476 "doctype": "html"
59477 },
59478 {
59479 "tag": "html",
59480 "children": [
59481 {
59482 "tag": "head"
59483 },
59484 {
59485 "tag": "body",
59486 "children": [
59487 {
59488 "tag": "address",
59489 "children": [
59490 {
59491 "tag": "button"
59492 }
59493 ]
59494 },
59495 {
59496 "text": "a"
59497 }
59498 ]
59499 }
59500 ]
59501 }
59502 ],
59503 "html": "<!DOCTYPE html><html><head></head><body><address><button></button></address>a</body></html>",
59504 "noQuirksBodyHtml": "<address><button></button></address>a"
59505 }
59506 },
59507 {
59508 "data": "<p><table></p>",
59509 "errors": [
59510 "(1,3): expected-doctype-but-got-start-tag",
59511 "(1,14): unexpected-end-tag-implies-table-voodoo",
59512 "(1,14): unexpected-end-tag",
59513 "(1,14): eof-in-table"
59514 ],
59515 "document": {
59516 "props": {
59517 "tags": {
59518 "html": true,
59519 "head": true,
59520 "body": true,
59521 "p": true,
59522 "table": true
59523 }
59524 },
59525 "tree": [
59526 {
59527 "tag": "html",
59528 "children": [
59529 {
59530 "tag": "head"
59531 },
59532 {
59533 "tag": "body",
59534 "children": [
59535 {
59536 "tag": "p",
59537 "children": [
59538 {
59539 "tag": "p"
59540 },
59541 {
59542 "tag": "table"
59543 }
59544 ]
59545 }
59546 ]
59547 }
59548 ]
59549 }
59550 ],
59551 "html": "<html><head></head><body><p><p></p><table></table></p></body></html>",
59552 "noQuirksBodyHtml": "<p></p><p></p><table></table>"
59553 }
59554 },
59555 {
59556 "data": "<!doctype html><svg>",
59557 "errors": [
59558 "(1,20): expected-closing-tag-but-got-eof"
59559 ],
59560 "document": {
59561 "props": {
59562 "tags": {
59563 "html": true,
59564 "head": true,
59565 "body": true,
59566 "svg svg": true
59567 },
59568 "doctype": true
59569 },
59570 "tree": [
59571 {
59572 "doctype": "html"
59573 },
59574 {
59575 "tag": "html",
59576 "children": [
59577 {
59578 "tag": "head"
59579 },
59580 {
59581 "tag": "body",
59582 "children": [
59583 {
59584 "tag": "svg",
59585 "ns": "http://www.w3.org/2000/svg"
59586 }
59587 ]
59588 }
59589 ]
59590 }
59591 ],
59592 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
59593 "noQuirksBodyHtml": "<svg></svg>"
59594 }
59595 },
59596 {
59597 "data": "<!doctype html><p><figcaption>",
59598 "errors": [
59599 "(1,30): expected-closing-tag-but-got-eof"
59600 ],
59601 "document": {
59602 "props": {
59603 "tags": {
59604 "html": true,
59605 "head": true,
59606 "body": true,
59607 "p": true,
59608 "figcaption": true
59609 },
59610 "doctype": true
59611 },
59612 "tree": [
59613 {
59614 "doctype": "html"
59615 },
59616 {
59617 "tag": "html",
59618 "children": [
59619 {
59620 "tag": "head"
59621 },
59622 {
59623 "tag": "body",
59624 "children": [
59625 {
59626 "tag": "p"
59627 },
59628 {
59629 "tag": "figcaption"
59630 }
59631 ]
59632 }
59633 ]
59634 }
59635 ],
59636 "html": "<!DOCTYPE html><html><head></head><body><p></p><figcaption></figcaption></body></html>",
59637 "noQuirksBodyHtml": "<p></p><figcaption></figcaption>"
59638 }
59639 },
59640 {
59641 "data": "<!doctype html><p><summary>",
59642 "errors": [
59643 "(1,27): expected-closing-tag-but-got-eof"
59644 ],
59645 "document": {
59646 "props": {
59647 "tags": {
59648 "html": true,
59649 "head": true,
59650 "body": true,
59651 "p": true,
59652 "summary": true
59653 },
59654 "doctype": true
59655 },
59656 "tree": [
59657 {
59658 "doctype": "html"
59659 },
59660 {
59661 "tag": "html",
59662 "children": [
59663 {
59664 "tag": "head"
59665 },
59666 {
59667 "tag": "body",
59668 "children": [
59669 {
59670 "tag": "p"
59671 },
59672 {
59673 "tag": "summary"
59674 }
59675 ]
59676 }
59677 ]
59678 }
59679 ],
59680 "html": "<!DOCTYPE html><html><head></head><body><p></p><summary></summary></body></html>",
59681 "noQuirksBodyHtml": "<p></p><summary></summary>"
59682 }
59683 },
59684 {
59685 "data": "<!doctype html><form><table><form>",
59686 "errors": [
59687 "(1,34): unexpected-form-in-table",
59688 "(1,34): eof-in-table"
59689 ],
59690 "document": {
59691 "props": {
59692 "tags": {
59693 "html": true,
59694 "head": true,
59695 "body": true,
59696 "form": true,
59697 "table": true
59698 },
59699 "doctype": true
59700 },
59701 "tree": [
59702 {
59703 "doctype": "html"
59704 },
59705 {
59706 "tag": "html",
59707 "children": [
59708 {
59709 "tag": "head"
59710 },
59711 {
59712 "tag": "body",
59713 "children": [
59714 {
59715 "tag": "form",
59716 "children": [
59717 {
59718 "tag": "table"
59719 }
59720 ]
59721 }
59722 ]
59723 }
59724 ]
59725 }
59726 ],
59727 "html": "<!DOCTYPE html><html><head></head><body><form><table></table></form></body></html>",
59728 "noQuirksBodyHtml": "<form><table></table></form>"
59729 }
59730 },
59731 {
59732 "data": "<!doctype html><table><form><form>",
59733 "errors": [
59734 "(1,28): unexpected-form-in-table",
59735 "(1,34): unexpected-form-in-table",
59736 "(1,34): eof-in-table"
59737 ],
59738 "document": {
59739 "props": {
59740 "tags": {
59741 "html": true,
59742 "head": true,
59743 "body": true,
59744 "table": true,
59745 "form": true
59746 },
59747 "doctype": true
59748 },
59749 "tree": [
59750 {
59751 "doctype": "html"
59752 },
59753 {
59754 "tag": "html",
59755 "children": [
59756 {
59757 "tag": "head"
59758 },
59759 {
59760 "tag": "body",
59761 "children": [
59762 {
59763 "tag": "table",
59764 "children": [
59765 {
59766 "tag": "form"
59767 }
59768 ]
59769 }
59770 ]
59771 }
59772 ]
59773 }
59774 ],
59775 "html": "<!DOCTYPE html><html><head></head><body><table><form></form></table></body></html>",
59776 "noQuirksBodyHtml": "<table><form></form></table>"
59777 }
59778 },
59779 {
59780 "data": "<!doctype html><table><form></table><form>",
59781 "errors": [
59782 "(1,28): unexpected-form-in-table",
59783 "(1,42): unexpected-start-tag"
59784 ],
59785 "document": {
59786 "props": {
59787 "tags": {
59788 "html": true,
59789 "head": true,
59790 "body": true,
59791 "table": true,
59792 "form": true
59793 },
59794 "doctype": true
59795 },
59796 "tree": [
59797 {
59798 "doctype": "html"
59799 },
59800 {
59801 "tag": "html",
59802 "children": [
59803 {
59804 "tag": "head"
59805 },
59806 {
59807 "tag": "body",
59808 "children": [
59809 {
59810 "tag": "table",
59811 "children": [
59812 {
59813 "tag": "form"
59814 }
59815 ]
59816 }
59817 ]
59818 }
59819 ]
59820 }
59821 ],
59822 "html": "<!DOCTYPE html><html><head></head><body><table><form></form></table></body></html>",
59823 "noQuirksBodyHtml": "<table><form></form></table>"
59824 }
59825 },
59826 {
59827 "data": "<!doctype html><svg><foreignObject><p>",
59828 "errors": [
59829 "(1,38): expected-closing-tag-but-got-eof"
59830 ],
59831 "document": {
59832 "props": {
59833 "tags": {
59834 "html": true,
59835 "head": true,
59836 "body": true,
59837 "svg svg": true,
59838 "svg foreignObject": true,
59839 "p": true
59840 },
59841 "doctype": true
59842 },
59843 "tree": [
59844 {
59845 "doctype": "html"
59846 },
59847 {
59848 "tag": "html",
59849 "children": [
59850 {
59851 "tag": "head"
59852 },
59853 {
59854 "tag": "body",
59855 "children": [
59856 {
59857 "tag": "svg",
59858 "ns": "http://www.w3.org/2000/svg",
59859 "children": [
59860 {
59861 "tag": "foreignObject",
59862 "ns": "http://www.w3.org/2000/svg",
59863 "children": [
59864 {
59865 "tag": "p"
59866 }
59867 ]
59868 }
59869 ]
59870 }
59871 ]
59872 }
59873 ]
59874 }
59875 ],
59876 "html": "<!DOCTYPE html><html><head></head><body><svg><foreignObject><p></p></foreignObject></svg></body></html>",
59877 "noQuirksBodyHtml": "<svg><foreignObject><p></p></foreignObject></svg>"
59878 }
59879 },
59880 {
59881 "data": "<!doctype html><svg><title>abc",
59882 "errors": [
59883 "(1,30): expected-closing-tag-but-got-eof"
59884 ],
59885 "document": {
59886 "props": {
59887 "tags": {
59888 "html": true,
59889 "head": true,
59890 "body": true,
59891 "svg svg": true,
59892 "svg title": true
59893 },
59894 "doctype": true
59895 },
59896 "tree": [
59897 {
59898 "doctype": "html"
59899 },
59900 {
59901 "tag": "html",
59902 "children": [
59903 {
59904 "tag": "head"
59905 },
59906 {
59907 "tag": "body",
59908 "children": [
59909 {
59910 "tag": "svg",
59911 "ns": "http://www.w3.org/2000/svg",
59912 "children": [
59913 {
59914 "tag": "title",
59915 "ns": "http://www.w3.org/2000/svg",
59916 "children": [
59917 {
59918 "text": "abc"
59919 }
59920 ]
59921 }
59922 ]
59923 }
59924 ]
59925 }
59926 ]
59927 }
59928 ],
59929 "html": "<!DOCTYPE html><html><head></head><body><svg><title>abc</title></svg></body></html>",
59930 "noQuirksBodyHtml": "<svg><title>abc</title></svg>"
59931 }
59932 },
59933 {
59934 "data": "<option><span><option>",
59935 "errors": [
59936 "(1,8): expected-doctype-but-got-start-tag",
59937 "(1,22): expected-closing-tag-but-got-eof"
59938 ],
59939 "document": {
59940 "props": {
59941 "tags": {
59942 "html": true,
59943 "head": true,
59944 "body": true,
59945 "option": true,
59946 "span": true
59947 }
59948 },
59949 "tree": [
59950 {
59951 "tag": "html",
59952 "children": [
59953 {
59954 "tag": "head"
59955 },
59956 {
59957 "tag": "body",
59958 "children": [
59959 {
59960 "tag": "option",
59961 "children": [
59962 {
59963 "tag": "span",
59964 "children": [
59965 {
59966 "tag": "option"
59967 }
59968 ]
59969 }
59970 ]
59971 }
59972 ]
59973 }
59974 ]
59975 }
59976 ],
59977 "html": "<html><head></head><body><option><span><option></option></span></option></body></html>",
59978 "noQuirksBodyHtml": "<option><span><option></option></span></option>"
59979 }
59980 },
59981 {
59982 "data": "<option><option>",
59983 "errors": [
59984 "(1,8): expected-doctype-but-got-start-tag"
59985 ],
59986 "document": {
59987 "props": {
59988 "tags": {
59989 "html": true,
59990 "head": true,
59991 "body": true,
59992 "option": true
59993 }
59994 },
59995 "tree": [
59996 {
59997 "tag": "html",
59998 "children": [
59999 {
60000 "tag": "head"
60001 },
60002 {
60003 "tag": "body",
60004 "children": [
60005 {
60006 "tag": "option"
60007 },
60008 {
60009 "tag": "option"
60010 }
60011 ]
60012 }
60013 ]
60014 }
60015 ],
60016 "html": "<html><head></head><body><option></option><option></option></body></html>",
60017 "noQuirksBodyHtml": "<option></option><option></option>"
60018 }
60019 },
60020 {
60021 "data": "<math><annotation-xml><div>",
60022 "errors": [
60023 "(1,6): expected-doctype-but-got-start-tag",
60024 "(1,27): unexpected-html-element-in-foreign-content",
60025 "(1,27): expected-closing-tag-but-got-eof"
60026 ],
60027 "document": {
60028 "props": {
60029 "tags": {
60030 "html": true,
60031 "head": true,
60032 "body": true,
60033 "math math": true,
60034 "math annotation-xml": true,
60035 "div": true
60036 }
60037 },
60038 "tree": [
60039 {
60040 "tag": "html",
60041 "children": [
60042 {
60043 "tag": "head"
60044 },
60045 {
60046 "tag": "body",
60047 "children": [
60048 {
60049 "tag": "math",
60050 "ns": "http://www.w3.org/1998/Math/MathML",
60051 "children": [
60052 {
60053 "tag": "annotation-xml",
60054 "ns": "http://www.w3.org/1998/Math/MathML"
60055 }
60056 ]
60057 },
60058 {
60059 "tag": "div"
60060 }
60061 ]
60062 }
60063 ]
60064 }
60065 ],
60066 "html": "<html><head></head><body><math><annotation-xml></annotation-xml></math><div></div></body></html>",
60067 "noQuirksBodyHtml": "<math><annotation-xml><div></div></annotation-xml></math>"
60068 }
60069 },
60070 {
60071 "data": "<math><annotation-xml encoding=\"application/svg+xml\"><div>",
60072 "errors": [
60073 "(1,6): expected-doctype-but-got-start-tag",
60074 "(1,58): unexpected-html-element-in-foreign-content",
60075 "(1,58): expected-closing-tag-but-got-eof"
60076 ],
60077 "document": {
60078 "props": {
60079 "tags": {
60080 "html": true,
60081 "head": true,
60082 "body": true,
60083 "math math": true,
60084 "math annotation-xml": true,
60085 "div": true
60086 }
60087 },
60088 "tree": [
60089 {
60090 "tag": "html",
60091 "children": [
60092 {
60093 "tag": "head"
60094 },
60095 {
60096 "tag": "body",
60097 "children": [
60098 {
60099 "tag": "math",
60100 "ns": "http://www.w3.org/1998/Math/MathML",
60101 "children": [
60102 {
60103 "tag": "annotation-xml",
60104 "ns": "http://www.w3.org/1998/Math/MathML",
60105 "attrs": [
60106 {
60107 "name": "encoding",
60108 "value": "application/svg+xml"
60109 }
60110 ]
60111 }
60112 ]
60113 },
60114 {
60115 "tag": "div"
60116 }
60117 ]
60118 }
60119 ]
60120 }
60121 ],
60122 "html": "<html><head></head><body><math><annotation-xml encoding=\"application/svg+xml\"></annotation-xml></math><div></div></body></html>",
60123 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"application/svg+xml\"><div></div></annotation-xml></math>"
60124 }
60125 },
60126 {
60127 "data": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div>",
60128 "errors": [
60129 "(1,6): expected-doctype-but-got-start-tag",
60130 "(1,60): expected-closing-tag-but-got-eof"
60131 ],
60132 "document": {
60133 "props": {
60134 "tags": {
60135 "html": true,
60136 "head": true,
60137 "body": true,
60138 "math math": true,
60139 "math annotation-xml": true,
60140 "div": true
60141 }
60142 },
60143 "tree": [
60144 {
60145 "tag": "html",
60146 "children": [
60147 {
60148 "tag": "head"
60149 },
60150 {
60151 "tag": "body",
60152 "children": [
60153 {
60154 "tag": "math",
60155 "ns": "http://www.w3.org/1998/Math/MathML",
60156 "children": [
60157 {
60158 "tag": "annotation-xml",
60159 "ns": "http://www.w3.org/1998/Math/MathML",
60160 "attrs": [
60161 {
60162 "name": "encoding",
60163 "value": "application/xhtml+xml"
60164 }
60165 ],
60166 "children": [
60167 {
60168 "tag": "div"
60169 }
60170 ]
60171 }
60172 ]
60173 }
60174 ]
60175 }
60176 ]
60177 }
60178 ],
60179 "html": "<html><head></head><body><math><annotation-xml encoding=\"application/xhtml+xml\"><div></div></annotation-xml></math></body></html>",
60180 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div></div></annotation-xml></math>"
60181 }
60182 },
60183 {
60184 "data": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div>",
60185 "errors": [
60186 "(1,6): expected-doctype-but-got-start-tag",
60187 "(1,60): expected-closing-tag-but-got-eof"
60188 ],
60189 "document": {
60190 "props": {
60191 "tags": {
60192 "html": true,
60193 "head": true,
60194 "body": true,
60195 "math math": true,
60196 "math annotation-xml": true,
60197 "div": true
60198 }
60199 },
60200 "tree": [
60201 {
60202 "tag": "html",
60203 "children": [
60204 {
60205 "tag": "head"
60206 },
60207 {
60208 "tag": "body",
60209 "children": [
60210 {
60211 "tag": "math",
60212 "ns": "http://www.w3.org/1998/Math/MathML",
60213 "children": [
60214 {
60215 "tag": "annotation-xml",
60216 "ns": "http://www.w3.org/1998/Math/MathML",
60217 "attrs": [
60218 {
60219 "name": "encoding",
60220 "value": "aPPlication/xhtmL+xMl"
60221 }
60222 ],
60223 "children": [
60224 {
60225 "tag": "div"
60226 }
60227 ]
60228 }
60229 ]
60230 }
60231 ]
60232 }
60233 ]
60234 }
60235 ],
60236 "html": "<html><head></head><body><math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div></div></annotation-xml></math></body></html>",
60237 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div></div></annotation-xml></math>"
60238 }
60239 },
60240 {
60241 "data": "<math><annotation-xml encoding=\"text/html\"><div>",
60242 "errors": [
60243 "(1,6): expected-doctype-but-got-start-tag",
60244 "(1,48): expected-closing-tag-but-got-eof"
60245 ],
60246 "document": {
60247 "props": {
60248 "tags": {
60249 "html": true,
60250 "head": true,
60251 "body": true,
60252 "math math": true,
60253 "math annotation-xml": true,
60254 "div": true
60255 }
60256 },
60257 "tree": [
60258 {
60259 "tag": "html",
60260 "children": [
60261 {
60262 "tag": "head"
60263 },
60264 {
60265 "tag": "body",
60266 "children": [
60267 {
60268 "tag": "math",
60269 "ns": "http://www.w3.org/1998/Math/MathML",
60270 "children": [
60271 {
60272 "tag": "annotation-xml",
60273 "ns": "http://www.w3.org/1998/Math/MathML",
60274 "attrs": [
60275 {
60276 "name": "encoding",
60277 "value": "text/html"
60278 }
60279 ],
60280 "children": [
60281 {
60282 "tag": "div"
60283 }
60284 ]
60285 }
60286 ]
60287 }
60288 ]
60289 }
60290 ]
60291 }
60292 ],
60293 "html": "<html><head></head><body><math><annotation-xml encoding=\"text/html\"><div></div></annotation-xml></math></body></html>",
60294 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"text/html\"><div></div></annotation-xml></math>"
60295 }
60296 },
60297 {
60298 "data": "<math><annotation-xml encoding=\"Text/htmL\"><div>",
60299 "errors": [
60300 "(1,6): expected-doctype-but-got-start-tag",
60301 "(1,48): expected-closing-tag-but-got-eof"
60302 ],
60303 "document": {
60304 "props": {
60305 "tags": {
60306 "html": true,
60307 "head": true,
60308 "body": true,
60309 "math math": true,
60310 "math annotation-xml": true,
60311 "div": true
60312 }
60313 },
60314 "tree": [
60315 {
60316 "tag": "html",
60317 "children": [
60318 {
60319 "tag": "head"
60320 },
60321 {
60322 "tag": "body",
60323 "children": [
60324 {
60325 "tag": "math",
60326 "ns": "http://www.w3.org/1998/Math/MathML",
60327 "children": [
60328 {
60329 "tag": "annotation-xml",
60330 "ns": "http://www.w3.org/1998/Math/MathML",
60331 "attrs": [
60332 {
60333 "name": "encoding",
60334 "value": "Text/htmL"
60335 }
60336 ],
60337 "children": [
60338 {
60339 "tag": "div"
60340 }
60341 ]
60342 }
60343 ]
60344 }
60345 ]
60346 }
60347 ]
60348 }
60349 ],
60350 "html": "<html><head></head><body><math><annotation-xml encoding=\"Text/htmL\"><div></div></annotation-xml></math></body></html>",
60351 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"Text/htmL\"><div></div></annotation-xml></math>"
60352 }
60353 },
60354 {
60355 "data": "<math><annotation-xml encoding=\" text/html \"><div>",
60356 "errors": [
60357 "(1,6): expected-doctype-but-got-start-tag",
60358 "(1,50): unexpected-html-element-in-foreign-content",
60359 "(1,50): expected-closing-tag-but-got-eof"
60360 ],
60361 "document": {
60362 "props": {
60363 "tags": {
60364 "html": true,
60365 "head": true,
60366 "body": true,
60367 "math math": true,
60368 "math annotation-xml": true,
60369 "div": true
60370 }
60371 },
60372 "tree": [
60373 {
60374 "tag": "html",
60375 "children": [
60376 {
60377 "tag": "head"
60378 },
60379 {
60380 "tag": "body",
60381 "children": [
60382 {
60383 "tag": "math",
60384 "ns": "http://www.w3.org/1998/Math/MathML",
60385 "children": [
60386 {
60387 "tag": "annotation-xml",
60388 "ns": "http://www.w3.org/1998/Math/MathML",
60389 "attrs": [
60390 {
60391 "name": "encoding",
60392 "value": " text/html "
60393 }
60394 ]
60395 }
60396 ]
60397 },
60398 {
60399 "tag": "div"
60400 }
60401 ]
60402 }
60403 ]
60404 }
60405 ],
60406 "html": "<html><head></head><body><math><annotation-xml encoding=\" text/html \"></annotation-xml></math><div></div></body></html>",
60407 "noQuirksBodyHtml": "<math><annotation-xml encoding=\" text/html \"><div></div></annotation-xml></math>"
60408 }
60409 },
60410 {
60411 "data": "<math><annotation-xml> </annotation-xml>",
60412 "errors": [
60413 "(1,6): expected-doctype-but-got-start-tag",
60414 "(1,40): expected-closing-tag-but-got-eof"
60415 ],
60416 "document": {
60417 "props": {
60418 "tags": {
60419 "html": true,
60420 "head": true,
60421 "body": true,
60422 "math math": true,
60423 "math annotation-xml": true
60424 }
60425 },
60426 "tree": [
60427 {
60428 "tag": "html",
60429 "children": [
60430 {
60431 "tag": "head"
60432 },
60433 {
60434 "tag": "body",
60435 "children": [
60436 {
60437 "tag": "math",
60438 "ns": "http://www.w3.org/1998/Math/MathML",
60439 "children": [
60440 {
60441 "tag": "annotation-xml",
60442 "ns": "http://www.w3.org/1998/Math/MathML",
60443 "children": [
60444 {
60445 "text": " "
60446 }
60447 ]
60448 }
60449 ]
60450 }
60451 ]
60452 }
60453 ]
60454 }
60455 ],
60456 "html": "<html><head></head><body><math><annotation-xml> </annotation-xml></math></body></html>",
60457 "noQuirksBodyHtml": "<math><annotation-xml> </annotation-xml></math>"
60458 }
60459 },
60460 {
60461 "data": "<math><annotation-xml>c</annotation-xml>",
60462 "errors": [
60463 "(1,6): expected-doctype-but-got-start-tag",
60464 "(1,40): expected-closing-tag-but-got-eof"
60465 ],
60466 "document": {
60467 "props": {
60468 "tags": {
60469 "html": true,
60470 "head": true,
60471 "body": true,
60472 "math math": true,
60473 "math annotation-xml": true
60474 }
60475 },
60476 "tree": [
60477 {
60478 "tag": "html",
60479 "children": [
60480 {
60481 "tag": "head"
60482 },
60483 {
60484 "tag": "body",
60485 "children": [
60486 {
60487 "tag": "math",
60488 "ns": "http://www.w3.org/1998/Math/MathML",
60489 "children": [
60490 {
60491 "tag": "annotation-xml",
60492 "ns": "http://www.w3.org/1998/Math/MathML",
60493 "children": [
60494 {
60495 "text": "c"
60496 }
60497 ]
60498 }
60499 ]
60500 }
60501 ]
60502 }
60503 ]
60504 }
60505 ],
60506 "html": "<html><head></head><body><math><annotation-xml>c</annotation-xml></math></body></html>",
60507 "noQuirksBodyHtml": "<math><annotation-xml>c</annotation-xml></math>"
60508 }
60509 },
60510 {
60511 "data": "<math><annotation-xml><!--foo-->",
60512 "errors": [
60513 "(1,6): expected-doctype-but-got-start-tag",
60514 "(1,32): expected-closing-tag-but-got-eof"
60515 ],
60516 "document": {
60517 "props": {
60518 "tags": {
60519 "html": true,
60520 "head": true,
60521 "body": true,
60522 "math math": true,
60523 "math annotation-xml": true
60524 },
60525 "comment": true
60526 },
60527 "tree": [
60528 {
60529 "tag": "html",
60530 "children": [
60531 {
60532 "tag": "head"
60533 },
60534 {
60535 "tag": "body",
60536 "children": [
60537 {
60538 "tag": "math",
60539 "ns": "http://www.w3.org/1998/Math/MathML",
60540 "children": [
60541 {
60542 "tag": "annotation-xml",
60543 "ns": "http://www.w3.org/1998/Math/MathML",
60544 "children": [
60545 {
60546 "comment": "foo"
60547 }
60548 ]
60549 }
60550 ]
60551 }
60552 ]
60553 }
60554 ]
60555 }
60556 ],
60557 "html": "<html><head></head><body><math><annotation-xml><!--foo--></annotation-xml></math></body></html>",
60558 "noQuirksBodyHtml": "<math><annotation-xml><!--foo--></annotation-xml></math>"
60559 }
60560 },
60561 {
60562 "data": "<math><annotation-xml></svg>x",
60563 "errors": [
60564 "(1,6): expected-doctype-but-got-start-tag",
60565 "(1,28): unexpected-end-tag",
60566 "(1,29): expected-closing-tag-but-got-eof"
60567 ],
60568 "document": {
60569 "props": {
60570 "tags": {
60571 "html": true,
60572 "head": true,
60573 "body": true,
60574 "math math": true,
60575 "math annotation-xml": true
60576 }
60577 },
60578 "tree": [
60579 {
60580 "tag": "html",
60581 "children": [
60582 {
60583 "tag": "head"
60584 },
60585 {
60586 "tag": "body",
60587 "children": [
60588 {
60589 "tag": "math",
60590 "ns": "http://www.w3.org/1998/Math/MathML",
60591 "children": [
60592 {
60593 "tag": "annotation-xml",
60594 "ns": "http://www.w3.org/1998/Math/MathML",
60595 "children": [
60596 {
60597 "text": "x"
60598 }
60599 ]
60600 }
60601 ]
60602 }
60603 ]
60604 }
60605 ]
60606 }
60607 ],
60608 "html": "<html><head></head><body><math><annotation-xml>x</annotation-xml></math></body></html>",
60609 "noQuirksBodyHtml": "<math><annotation-xml>x</annotation-xml></math>"
60610 }
60611 },
60612 {
60613 "data": "<math><annotation-xml><svg>x",
60614 "errors": [
60615 "(1,6): expected-doctype-but-got-start-tag",
60616 "(1,28): expected-closing-tag-but-got-eof"
60617 ],
60618 "document": {
60619 "props": {
60620 "tags": {
60621 "html": true,
60622 "head": true,
60623 "body": true,
60624 "math math": true,
60625 "math annotation-xml": true,
60626 "svg svg": true
60627 }
60628 },
60629 "tree": [
60630 {
60631 "tag": "html",
60632 "children": [
60633 {
60634 "tag": "head"
60635 },
60636 {
60637 "tag": "body",
60638 "children": [
60639 {
60640 "tag": "math",
60641 "ns": "http://www.w3.org/1998/Math/MathML",
60642 "children": [
60643 {
60644 "tag": "annotation-xml",
60645 "ns": "http://www.w3.org/1998/Math/MathML",
60646 "children": [
60647 {
60648 "tag": "svg",
60649 "ns": "http://www.w3.org/2000/svg",
60650 "children": [
60651 {
60652 "text": "x"
60653 }
60654 ]
60655 }
60656 ]
60657 }
60658 ]
60659 }
60660 ]
60661 }
60662 ]
60663 }
60664 ],
60665 "html": "<html><head></head><body><math><annotation-xml><svg>x</svg></annotation-xml></math></body></html>",
60666 "noQuirksBodyHtml": "<math><annotation-xml><svg>x</svg></annotation-xml></math>"
60667 }
60668 }
60669 ],
60670 "tests21.dat": [
60671 {
60672 "data": "<svg><![CDATA[foo]]>",
60673 "errors": [
60674 "(1,5): expected-doctype-but-got-start-tag",
60675 "(1,20): expected-closing-tag-but-got-eof"
60676 ],
60677 "document": {
60678 "props": {
60679 "tags": {
60680 "html": true,
60681 "head": true,
60682 "body": true,
60683 "svg svg": true
60684 }
60685 },
60686 "tree": [
60687 {
60688 "tag": "html",
60689 "children": [
60690 {
60691 "tag": "head"
60692 },
60693 {
60694 "tag": "body",
60695 "children": [
60696 {
60697 "tag": "svg",
60698 "ns": "http://www.w3.org/2000/svg",
60699 "children": [
60700 {
60701 "text": "foo"
60702 }
60703 ]
60704 }
60705 ]
60706 }
60707 ]
60708 }
60709 ],
60710 "html": "<html><head></head><body><svg>foo</svg></body></html>",
60711 "noQuirksBodyHtml": "<svg>foo</svg>"
60712 }
60713 },
60714 {
60715 "data": "<math><![CDATA[foo]]>",
60716 "errors": [
60717 "(1,6): expected-doctype-but-got-start-tag",
60718 "(1,21): expected-closing-tag-but-got-eof"
60719 ],
60720 "document": {
60721 "props": {
60722 "tags": {
60723 "html": true,
60724 "head": true,
60725 "body": true,
60726 "math math": true
60727 }
60728 },
60729 "tree": [
60730 {
60731 "tag": "html",
60732 "children": [
60733 {
60734 "tag": "head"
60735 },
60736 {
60737 "tag": "body",
60738 "children": [
60739 {
60740 "tag": "math",
60741 "ns": "http://www.w3.org/1998/Math/MathML",
60742 "children": [
60743 {
60744 "text": "foo"
60745 }
60746 ]
60747 }
60748 ]
60749 }
60750 ]
60751 }
60752 ],
60753 "html": "<html><head></head><body><math>foo</math></body></html>",
60754 "noQuirksBodyHtml": "<math>foo</math>"
60755 }
60756 },
60757 {
60758 "data": "<div><![CDATA[foo]]>",
60759 "errors": [
60760 "(1,5): expected-doctype-but-got-start-tag",
60761 "(1,7): expected-dashes-or-doctype",
60762 "(1,20): expected-closing-tag-but-got-eof"
60763 ],
60764 "document": {
60765 "props": {
60766 "tags": {
60767 "html": true,
60768 "head": true,
60769 "body": true,
60770 "div": true
60771 },
60772 "comment": true
60773 },
60774 "tree": [
60775 {
60776 "tag": "html",
60777 "children": [
60778 {
60779 "tag": "head"
60780 },
60781 {
60782 "tag": "body",
60783 "children": [
60784 {
60785 "tag": "div",
60786 "children": [
60787 {
60788 "comment": "[CDATA[foo]]"
60789 }
60790 ]
60791 }
60792 ]
60793 }
60794 ]
60795 }
60796 ],
60797 "html": "<html><head></head><body><div><!--[CDATA[foo]]--></div></body></html>",
60798 "noQuirksBodyHtml": "<div><!--[CDATA[foo]]--></div>"
60799 }
60800 },
60801 {
60802 "data": "<svg><![CDATA[foo",
60803 "errors": [
60804 "(1,5): expected-doctype-but-got-start-tag",
60805 "(1,17): expected-closing-tag-but-got-eof"
60806 ],
60807 "document": {
60808 "props": {
60809 "tags": {
60810 "html": true,
60811 "head": true,
60812 "body": true,
60813 "svg svg": true
60814 }
60815 },
60816 "tree": [
60817 {
60818 "tag": "html",
60819 "children": [
60820 {
60821 "tag": "head"
60822 },
60823 {
60824 "tag": "body",
60825 "children": [
60826 {
60827 "tag": "svg",
60828 "ns": "http://www.w3.org/2000/svg",
60829 "children": [
60830 {
60831 "text": "foo"
60832 }
60833 ]
60834 }
60835 ]
60836 }
60837 ]
60838 }
60839 ],
60840 "html": "<html><head></head><body><svg>foo</svg></body></html>",
60841 "noQuirksBodyHtml": "<svg>foo</svg>"
60842 }
60843 },
60844 {
60845 "data": "<svg><![CDATA[foo",
60846 "errors": [
60847 "(1,5): expected-doctype-but-got-start-tag",
60848 "(1,17): expected-closing-tag-but-got-eof"
60849 ],
60850 "document": {
60851 "props": {
60852 "tags": {
60853 "html": true,
60854 "head": true,
60855 "body": true,
60856 "svg svg": true
60857 }
60858 },
60859 "tree": [
60860 {
60861 "tag": "html",
60862 "children": [
60863 {
60864 "tag": "head"
60865 },
60866 {
60867 "tag": "body",
60868 "children": [
60869 {
60870 "tag": "svg",
60871 "ns": "http://www.w3.org/2000/svg",
60872 "children": [
60873 {
60874 "text": "foo"
60875 }
60876 ]
60877 }
60878 ]
60879 }
60880 ]
60881 }
60882 ],
60883 "html": "<html><head></head><body><svg>foo</svg></body></html>",
60884 "noQuirksBodyHtml": "<svg>foo</svg>"
60885 }
60886 },
60887 {
60888 "data": "<svg><![CDATA[",
60889 "errors": [
60890 "(1,5): expected-doctype-but-got-start-tag",
60891 "(1,14): expected-closing-tag-but-got-eof"
60892 ],
60893 "document": {
60894 "props": {
60895 "tags": {
60896 "html": true,
60897 "head": true,
60898 "body": true,
60899 "svg svg": true
60900 }
60901 },
60902 "tree": [
60903 {
60904 "tag": "html",
60905 "children": [
60906 {
60907 "tag": "head"
60908 },
60909 {
60910 "tag": "body",
60911 "children": [
60912 {
60913 "tag": "svg",
60914 "ns": "http://www.w3.org/2000/svg"
60915 }
60916 ]
60917 }
60918 ]
60919 }
60920 ],
60921 "html": "<html><head></head><body><svg></svg></body></html>",
60922 "noQuirksBodyHtml": "<svg></svg>"
60923 }
60924 },
60925 {
60926 "data": "<svg><![CDATA[]]>",
60927 "errors": [
60928 "(1,5): expected-doctype-but-got-start-tag",
60929 "(1,17): expected-closing-tag-but-got-eof"
60930 ],
60931 "document": {
60932 "props": {
60933 "tags": {
60934 "html": true,
60935 "head": true,
60936 "body": true,
60937 "svg svg": true
60938 }
60939 },
60940 "tree": [
60941 {
60942 "tag": "html",
60943 "children": [
60944 {
60945 "tag": "head"
60946 },
60947 {
60948 "tag": "body",
60949 "children": [
60950 {
60951 "tag": "svg",
60952 "ns": "http://www.w3.org/2000/svg"
60953 }
60954 ]
60955 }
60956 ]
60957 }
60958 ],
60959 "html": "<html><head></head><body><svg></svg></body></html>",
60960 "noQuirksBodyHtml": "<svg></svg>"
60961 }
60962 },
60963 {
60964 "data": "<svg><![CDATA[]] >]]>",
60965 "errors": [
60966 "(1,5): expected-doctype-but-got-start-tag",
60967 "(1,21): expected-closing-tag-but-got-eof"
60968 ],
60969 "document": {
60970 "props": {
60971 "tags": {
60972 "html": true,
60973 "head": true,
60974 "body": true,
60975 "svg svg": true
60976 },
60977 "escaped": true
60978 },
60979 "tree": [
60980 {
60981 "tag": "html",
60982 "children": [
60983 {
60984 "tag": "head"
60985 },
60986 {
60987 "tag": "body",
60988 "children": [
60989 {
60990 "tag": "svg",
60991 "ns": "http://www.w3.org/2000/svg",
60992 "children": [
60993 {
60994 "text": "]] >",
60995 "escaped": true
60996 }
60997 ]
60998 }
60999 ]
61000 }
61001 ]
61002 }
61003 ],
61004 "html": "<html><head></head><body><svg>]] &gt;</svg></body></html>",
61005 "noQuirksBodyHtml": "<svg>]] &gt;</svg>"
61006 }
61007 },
61008 {
61009 "data": "<svg><![CDATA[]] >]]>",
61010 "errors": [
61011 "(1,5): expected-doctype-but-got-start-tag",
61012 "(1,21): expected-closing-tag-but-got-eof"
61013 ],
61014 "document": {
61015 "props": {
61016 "tags": {
61017 "html": true,
61018 "head": true,
61019 "body": true,
61020 "svg svg": true
61021 },
61022 "escaped": true
61023 },
61024 "tree": [
61025 {
61026 "tag": "html",
61027 "children": [
61028 {
61029 "tag": "head"
61030 },
61031 {
61032 "tag": "body",
61033 "children": [
61034 {
61035 "tag": "svg",
61036 "ns": "http://www.w3.org/2000/svg",
61037 "children": [
61038 {
61039 "text": "]] >",
61040 "escaped": true
61041 }
61042 ]
61043 }
61044 ]
61045 }
61046 ]
61047 }
61048 ],
61049 "html": "<html><head></head><body><svg>]] &gt;</svg></body></html>",
61050 "noQuirksBodyHtml": "<svg>]] &gt;</svg>"
61051 }
61052 },
61053 {
61054 "data": "<svg><![CDATA[]]",
61055 "errors": [
61056 "(1,5): expected-doctype-but-got-start-tag",
61057 "(1,16): expected-closing-tag-but-got-eof"
61058 ],
61059 "document": {
61060 "props": {
61061 "tags": {
61062 "html": true,
61063 "head": true,
61064 "body": true,
61065 "svg svg": true
61066 }
61067 },
61068 "tree": [
61069 {
61070 "tag": "html",
61071 "children": [
61072 {
61073 "tag": "head"
61074 },
61075 {
61076 "tag": "body",
61077 "children": [
61078 {
61079 "tag": "svg",
61080 "ns": "http://www.w3.org/2000/svg",
61081 "children": [
61082 {
61083 "text": "]]"
61084 }
61085 ]
61086 }
61087 ]
61088 }
61089 ]
61090 }
61091 ],
61092 "html": "<html><head></head><body><svg>]]</svg></body></html>",
61093 "noQuirksBodyHtml": "<svg>]]</svg>"
61094 }
61095 },
61096 {
61097 "data": "<svg><![CDATA[]",
61098 "errors": [
61099 "(1,5): expected-doctype-but-got-start-tag",
61100 "(1,15): expected-closing-tag-but-got-eof"
61101 ],
61102 "document": {
61103 "props": {
61104 "tags": {
61105 "html": true,
61106 "head": true,
61107 "body": true,
61108 "svg svg": true
61109 }
61110 },
61111 "tree": [
61112 {
61113 "tag": "html",
61114 "children": [
61115 {
61116 "tag": "head"
61117 },
61118 {
61119 "tag": "body",
61120 "children": [
61121 {
61122 "tag": "svg",
61123 "ns": "http://www.w3.org/2000/svg",
61124 "children": [
61125 {
61126 "text": "]"
61127 }
61128 ]
61129 }
61130 ]
61131 }
61132 ]
61133 }
61134 ],
61135 "html": "<html><head></head><body><svg>]</svg></body></html>",
61136 "noQuirksBodyHtml": "<svg>]</svg>"
61137 }
61138 },
61139 {
61140 "data": "<svg><![CDATA[]>a",
61141 "errors": [
61142 "(1,5): expected-doctype-but-got-start-tag",
61143 "(1,17): expected-closing-tag-but-got-eof"
61144 ],
61145 "document": {
61146 "props": {
61147 "tags": {
61148 "html": true,
61149 "head": true,
61150 "body": true,
61151 "svg svg": true
61152 },
61153 "escaped": true
61154 },
61155 "tree": [
61156 {
61157 "tag": "html",
61158 "children": [
61159 {
61160 "tag": "head"
61161 },
61162 {
61163 "tag": "body",
61164 "children": [
61165 {
61166 "tag": "svg",
61167 "ns": "http://www.w3.org/2000/svg",
61168 "children": [
61169 {
61170 "text": "]>a",
61171 "escaped": true
61172 }
61173 ]
61174 }
61175 ]
61176 }
61177 ]
61178 }
61179 ],
61180 "html": "<html><head></head><body><svg>]&gt;a</svg></body></html>",
61181 "noQuirksBodyHtml": "<svg>]&gt;a</svg>"
61182 }
61183 },
61184 {
61185 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]>",
61186 "errors": [
61187 "(1,36): expected-closing-tag-but-got-eof"
61188 ],
61189 "document": {
61190 "props": {
61191 "tags": {
61192 "html": true,
61193 "head": true,
61194 "body": true,
61195 "svg svg": true
61196 },
61197 "doctype": true
61198 },
61199 "tree": [
61200 {
61201 "doctype": "html"
61202 },
61203 {
61204 "tag": "html",
61205 "children": [
61206 {
61207 "tag": "head"
61208 },
61209 {
61210 "tag": "body",
61211 "children": [
61212 {
61213 "tag": "svg",
61214 "ns": "http://www.w3.org/2000/svg",
61215 "children": [
61216 {
61217 "text": "foo]"
61218 }
61219 ]
61220 }
61221 ]
61222 }
61223 ]
61224 }
61225 ],
61226 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]</svg></body></html>",
61227 "noQuirksBodyHtml": "<svg>foo]</svg>"
61228 }
61229 },
61230 {
61231 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]]>",
61232 "errors": [
61233 "(1,37): expected-closing-tag-but-got-eof"
61234 ],
61235 "document": {
61236 "props": {
61237 "tags": {
61238 "html": true,
61239 "head": true,
61240 "body": true,
61241 "svg svg": true
61242 },
61243 "doctype": true
61244 },
61245 "tree": [
61246 {
61247 "doctype": "html"
61248 },
61249 {
61250 "tag": "html",
61251 "children": [
61252 {
61253 "tag": "head"
61254 },
61255 {
61256 "tag": "body",
61257 "children": [
61258 {
61259 "tag": "svg",
61260 "ns": "http://www.w3.org/2000/svg",
61261 "children": [
61262 {
61263 "text": "foo]]"
61264 }
61265 ]
61266 }
61267 ]
61268 }
61269 ]
61270 }
61271 ],
61272 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]]</svg></body></html>",
61273 "noQuirksBodyHtml": "<svg>foo]]</svg>"
61274 }
61275 },
61276 {
61277 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]]]>",
61278 "errors": [
61279 "(1,38): expected-closing-tag-but-got-eof"
61280 ],
61281 "document": {
61282 "props": {
61283 "tags": {
61284 "html": true,
61285 "head": true,
61286 "body": true,
61287 "svg svg": true
61288 },
61289 "doctype": true
61290 },
61291 "tree": [
61292 {
61293 "doctype": "html"
61294 },
61295 {
61296 "tag": "html",
61297 "children": [
61298 {
61299 "tag": "head"
61300 },
61301 {
61302 "tag": "body",
61303 "children": [
61304 {
61305 "tag": "svg",
61306 "ns": "http://www.w3.org/2000/svg",
61307 "children": [
61308 {
61309 "text": "foo]]]"
61310 }
61311 ]
61312 }
61313 ]
61314 }
61315 ]
61316 }
61317 ],
61318 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]]]</svg></body></html>",
61319 "noQuirksBodyHtml": "<svg>foo]]]</svg>"
61320 }
61321 },
61322 {
61323 "data": "<svg><foreignObject><div><![CDATA[foo]]>",
61324 "errors": [
61325 "(1,5): expected-doctype-but-got-start-tag",
61326 "(1,27): expected-dashes-or-doctype",
61327 "(1,40): expected-closing-tag-but-got-eof"
61328 ],
61329 "document": {
61330 "props": {
61331 "tags": {
61332 "html": true,
61333 "head": true,
61334 "body": true,
61335 "svg svg": true,
61336 "svg foreignObject": true,
61337 "div": true
61338 },
61339 "comment": true
61340 },
61341 "tree": [
61342 {
61343 "tag": "html",
61344 "children": [
61345 {
61346 "tag": "head"
61347 },
61348 {
61349 "tag": "body",
61350 "children": [
61351 {
61352 "tag": "svg",
61353 "ns": "http://www.w3.org/2000/svg",
61354 "children": [
61355 {
61356 "tag": "foreignObject",
61357 "ns": "http://www.w3.org/2000/svg",
61358 "children": [
61359 {
61360 "tag": "div",
61361 "children": [
61362 {
61363 "comment": "[CDATA[foo]]"
61364 }
61365 ]
61366 }
61367 ]
61368 }
61369 ]
61370 }
61371 ]
61372 }
61373 ]
61374 }
61375 ],
61376 "html": "<html><head></head><body><svg><foreignObject><div><!--[CDATA[foo]]--></div></foreignObject></svg></body></html>",
61377 "noQuirksBodyHtml": "<svg><foreignObject><div><!--[CDATA[foo]]--></div></foreignObject></svg>"
61378 }
61379 },
61380 {
61381 "data": "<svg><![CDATA[<svg>]]>",
61382 "errors": [
61383 "(1,5): expected-doctype-but-got-start-tag",
61384 "(1,22): expected-closing-tag-but-got-eof"
61385 ],
61386 "document": {
61387 "props": {
61388 "tags": {
61389 "html": true,
61390 "head": true,
61391 "body": true,
61392 "svg svg": true
61393 },
61394 "escaped": true
61395 },
61396 "tree": [
61397 {
61398 "tag": "html",
61399 "children": [
61400 {
61401 "tag": "head"
61402 },
61403 {
61404 "tag": "body",
61405 "children": [
61406 {
61407 "tag": "svg",
61408 "ns": "http://www.w3.org/2000/svg",
61409 "children": [
61410 {
61411 "text": "<svg>",
61412 "escaped": true
61413 }
61414 ]
61415 }
61416 ]
61417 }
61418 ]
61419 }
61420 ],
61421 "html": "<html><head></head><body><svg>&lt;svg&gt;</svg></body></html>",
61422 "noQuirksBodyHtml": "<svg>&lt;svg&gt;</svg>"
61423 }
61424 },
61425 {
61426 "data": "<svg><![CDATA[</svg>a]]>",
61427 "errors": [
61428 "(1,5): expected-doctype-but-got-start-tag",
61429 "(1,24): expected-closing-tag-but-got-eof"
61430 ],
61431 "document": {
61432 "props": {
61433 "tags": {
61434 "html": true,
61435 "head": true,
61436 "body": true,
61437 "svg svg": true
61438 },
61439 "escaped": true
61440 },
61441 "tree": [
61442 {
61443 "tag": "html",
61444 "children": [
61445 {
61446 "tag": "head"
61447 },
61448 {
61449 "tag": "body",
61450 "children": [
61451 {
61452 "tag": "svg",
61453 "ns": "http://www.w3.org/2000/svg",
61454 "children": [
61455 {
61456 "text": "</svg>a",
61457 "escaped": true
61458 }
61459 ]
61460 }
61461 ]
61462 }
61463 ]
61464 }
61465 ],
61466 "html": "<html><head></head><body><svg>&lt;/svg&gt;a</svg></body></html>",
61467 "noQuirksBodyHtml": "<svg>&lt;/svg&gt;a</svg>"
61468 }
61469 },
61470 {
61471 "data": "<svg><![CDATA[<svg>a",
61472 "errors": [
61473 "(1,5): expected-doctype-but-got-start-tag",
61474 "(1,20): expected-closing-tag-but-got-eof"
61475 ],
61476 "document": {
61477 "props": {
61478 "tags": {
61479 "html": true,
61480 "head": true,
61481 "body": true,
61482 "svg svg": true
61483 },
61484 "escaped": true
61485 },
61486 "tree": [
61487 {
61488 "tag": "html",
61489 "children": [
61490 {
61491 "tag": "head"
61492 },
61493 {
61494 "tag": "body",
61495 "children": [
61496 {
61497 "tag": "svg",
61498 "ns": "http://www.w3.org/2000/svg",
61499 "children": [
61500 {
61501 "text": "<svg>a",
61502 "escaped": true
61503 }
61504 ]
61505 }
61506 ]
61507 }
61508 ]
61509 }
61510 ],
61511 "html": "<html><head></head><body><svg>&lt;svg&gt;a</svg></body></html>",
61512 "noQuirksBodyHtml": "<svg>&lt;svg&gt;a</svg>"
61513 }
61514 },
61515 {
61516 "data": "<svg><![CDATA[</svg>a",
61517 "errors": [
61518 "(1,5): expected-doctype-but-got-start-tag",
61519 "(1,21): expected-closing-tag-but-got-eof"
61520 ],
61521 "document": {
61522 "props": {
61523 "tags": {
61524 "html": true,
61525 "head": true,
61526 "body": true,
61527 "svg svg": true
61528 },
61529 "escaped": true
61530 },
61531 "tree": [
61532 {
61533 "tag": "html",
61534 "children": [
61535 {
61536 "tag": "head"
61537 },
61538 {
61539 "tag": "body",
61540 "children": [
61541 {
61542 "tag": "svg",
61543 "ns": "http://www.w3.org/2000/svg",
61544 "children": [
61545 {
61546 "text": "</svg>a",
61547 "escaped": true
61548 }
61549 ]
61550 }
61551 ]
61552 }
61553 ]
61554 }
61555 ],
61556 "html": "<html><head></head><body><svg>&lt;/svg&gt;a</svg></body></html>",
61557 "noQuirksBodyHtml": "<svg>&lt;/svg&gt;a</svg>"
61558 }
61559 },
61560 {
61561 "data": "<svg><![CDATA[<svg>]]><path>",
61562 "errors": [
61563 "(1,5): expected-doctype-but-got-start-tag",
61564 "(1,28): expected-closing-tag-but-got-eof"
61565 ],
61566 "document": {
61567 "props": {
61568 "tags": {
61569 "html": true,
61570 "head": true,
61571 "body": true,
61572 "svg svg": true,
61573 "svg path": true
61574 },
61575 "escaped": true
61576 },
61577 "tree": [
61578 {
61579 "tag": "html",
61580 "children": [
61581 {
61582 "tag": "head"
61583 },
61584 {
61585 "tag": "body",
61586 "children": [
61587 {
61588 "tag": "svg",
61589 "ns": "http://www.w3.org/2000/svg",
61590 "children": [
61591 {
61592 "text": "<svg>",
61593 "escaped": true
61594 },
61595 {
61596 "tag": "path",
61597 "ns": "http://www.w3.org/2000/svg"
61598 }
61599 ]
61600 }
61601 ]
61602 }
61603 ]
61604 }
61605 ],
61606 "html": "<html><head></head><body><svg>&lt;svg&gt;<path></path></svg></body></html>",
61607 "noQuirksBodyHtml": "<svg>&lt;svg&gt;<path></path></svg>"
61608 }
61609 },
61610 {
61611 "data": "<svg><![CDATA[<svg>]]></path>",
61612 "errors": [
61613 "(1,5): expected-doctype-but-got-start-tag",
61614 "(1,29): unexpected-end-tag",
61615 "(1,29): unexpected-end-tag",
61616 "(1,29): expected-closing-tag-but-got-eof"
61617 ],
61618 "document": {
61619 "props": {
61620 "tags": {
61621 "html": true,
61622 "head": true,
61623 "body": true,
61624 "svg svg": true
61625 },
61626 "escaped": true
61627 },
61628 "tree": [
61629 {
61630 "tag": "html",
61631 "children": [
61632 {
61633 "tag": "head"
61634 },
61635 {
61636 "tag": "body",
61637 "children": [
61638 {
61639 "tag": "svg",
61640 "ns": "http://www.w3.org/2000/svg",
61641 "children": [
61642 {
61643 "text": "<svg>",
61644 "escaped": true
61645 }
61646 ]
61647 }
61648 ]
61649 }
61650 ]
61651 }
61652 ],
61653 "html": "<html><head></head><body><svg>&lt;svg&gt;</svg></body></html>",
61654 "noQuirksBodyHtml": "<svg>&lt;svg&gt;</svg>"
61655 }
61656 },
61657 {
61658 "data": "<svg><![CDATA[<svg>]]><!--path-->",
61659 "errors": [
61660 "(1,5): expected-doctype-but-got-start-tag",
61661 "(1,33): expected-closing-tag-but-got-eof"
61662 ],
61663 "document": {
61664 "props": {
61665 "tags": {
61666 "html": true,
61667 "head": true,
61668 "body": true,
61669 "svg svg": true
61670 },
61671 "escaped": true,
61672 "comment": true
61673 },
61674 "tree": [
61675 {
61676 "tag": "html",
61677 "children": [
61678 {
61679 "tag": "head"
61680 },
61681 {
61682 "tag": "body",
61683 "children": [
61684 {
61685 "tag": "svg",
61686 "ns": "http://www.w3.org/2000/svg",
61687 "children": [
61688 {
61689 "text": "<svg>",
61690 "escaped": true
61691 },
61692 {
61693 "comment": "path"
61694 }
61695 ]
61696 }
61697 ]
61698 }
61699 ]
61700 }
61701 ],
61702 "html": "<html><head></head><body><svg>&lt;svg&gt;<!--path--></svg></body></html>",
61703 "noQuirksBodyHtml": "<svg>&lt;svg&gt;<!--path--></svg>"
61704 }
61705 },
61706 {
61707 "data": "<svg><![CDATA[<svg>]]>path",
61708 "errors": [
61709 "(1,5): expected-doctype-but-got-start-tag",
61710 "(1,26): expected-closing-tag-but-got-eof"
61711 ],
61712 "document": {
61713 "props": {
61714 "tags": {
61715 "html": true,
61716 "head": true,
61717 "body": true,
61718 "svg svg": true
61719 },
61720 "escaped": true
61721 },
61722 "tree": [
61723 {
61724 "tag": "html",
61725 "children": [
61726 {
61727 "tag": "head"
61728 },
61729 {
61730 "tag": "body",
61731 "children": [
61732 {
61733 "tag": "svg",
61734 "ns": "http://www.w3.org/2000/svg",
61735 "children": [
61736 {
61737 "text": "<svg>path",
61738 "escaped": true
61739 }
61740 ]
61741 }
61742 ]
61743 }
61744 ]
61745 }
61746 ],
61747 "html": "<html><head></head><body><svg>&lt;svg&gt;path</svg></body></html>",
61748 "noQuirksBodyHtml": "<svg>&lt;svg&gt;path</svg>"
61749 }
61750 },
61751 {
61752 "data": "<svg><![CDATA[<!--svg-->]]>",
61753 "errors": [
61754 "(1,5): expected-doctype-but-got-start-tag",
61755 "(1,27): expected-closing-tag-but-got-eof"
61756 ],
61757 "document": {
61758 "props": {
61759 "tags": {
61760 "html": true,
61761 "head": true,
61762 "body": true,
61763 "svg svg": true
61764 },
61765 "escaped": true
61766 },
61767 "tree": [
61768 {
61769 "tag": "html",
61770 "children": [
61771 {
61772 "tag": "head"
61773 },
61774 {
61775 "tag": "body",
61776 "children": [
61777 {
61778 "tag": "svg",
61779 "ns": "http://www.w3.org/2000/svg",
61780 "children": [
61781 {
61782 "text": "<!--svg-->",
61783 "escaped": true
61784 }
61785 ]
61786 }
61787 ]
61788 }
61789 ]
61790 }
61791 ],
61792 "html": "<html><head></head><body><svg>&lt;!--svg--&gt;</svg></body></html>",
61793 "noQuirksBodyHtml": "<svg>&lt;!--svg--&gt;</svg>"
61794 }
61795 }
61796 ],
61797 "tests22.dat": [
61798 {
61799 "data": "<a><b><big><em><strong><div>X</a>",
61800 "errors": [
61801 "(1,3): expected-doctype-but-got-start-tag",
61802 "(1,33): adoption-agency-1.3",
61803 "(1,33): expected-closing-tag-but-got-eof"
61804 ],
61805 "document": {
61806 "props": {
61807 "tags": {
61808 "html": true,
61809 "head": true,
61810 "body": true,
61811 "a": true,
61812 "b": true,
61813 "big": true,
61814 "em": true,
61815 "strong": true,
61816 "div": true
61817 }
61818 },
61819 "tree": [
61820 {
61821 "tag": "html",
61822 "children": [
61823 {
61824 "tag": "head"
61825 },
61826 {
61827 "tag": "body",
61828 "children": [
61829 {
61830 "tag": "a",
61831 "children": [
61832 {
61833 "tag": "b",
61834 "children": [
61835 {
61836 "tag": "big",
61837 "children": [
61838 {
61839 "tag": "em",
61840 "children": [
61841 {
61842 "tag": "strong"
61843 }
61844 ]
61845 }
61846 ]
61847 }
61848 ]
61849 }
61850 ]
61851 },
61852 {
61853 "tag": "big",
61854 "children": [
61855 {
61856 "tag": "em",
61857 "children": [
61858 {
61859 "tag": "strong",
61860 "children": [
61861 {
61862 "tag": "div",
61863 "children": [
61864 {
61865 "tag": "a",
61866 "children": [
61867 {
61868 "text": "X"
61869 }
61870 ]
61871 }
61872 ]
61873 }
61874 ]
61875 }
61876 ]
61877 }
61878 ]
61879 }
61880 ]
61881 }
61882 ]
61883 }
61884 ],
61885 "html": "<html><head></head><body><a><b><big><em><strong></strong></em></big></b></a><big><em><strong><div><a>X</a></div></strong></em></big></body></html>",
61886 "noQuirksBodyHtml": "<a><b><big><em><strong></strong></em></big></b></a><big><em><strong><div><a>X</a></div></strong></em></big>"
61887 }
61888 },
61889 {
61890 "data": "<a><b><div id=1><div id=2><div id=3><div id=4><div id=5><div id=6><div id=7><div id=8>A</a>",
61891 "errors": [
61892 "(1,3): expected-doctype-but-got-start-tag",
61893 "(1,91): adoption-agency-1.3",
61894 "(1,91): adoption-agency-1.3",
61895 "(1,91): adoption-agency-1.3",
61896 "(1,91): adoption-agency-1.3",
61897 "(1,91): adoption-agency-1.3",
61898 "(1,91): adoption-agency-1.3",
61899 "(1,91): adoption-agency-1.3",
61900 "(1,91): adoption-agency-1.3",
61901 "(1,91): expected-closing-tag-but-got-eof"
61902 ],
61903 "document": {
61904 "props": {
61905 "tags": {
61906 "html": true,
61907 "head": true,
61908 "body": true,
61909 "a": true,
61910 "b": true,
61911 "div": true
61912 }
61913 },
61914 "tree": [
61915 {
61916 "tag": "html",
61917 "children": [
61918 {
61919 "tag": "head"
61920 },
61921 {
61922 "tag": "body",
61923 "children": [
61924 {
61925 "tag": "a",
61926 "children": [
61927 {
61928 "tag": "b"
61929 }
61930 ]
61931 },
61932 {
61933 "tag": "b",
61934 "children": [
61935 {
61936 "tag": "div",
61937 "attrs": [
61938 {
61939 "name": "id",
61940 "value": "1"
61941 }
61942 ],
61943 "children": [
61944 {
61945 "tag": "a"
61946 },
61947 {
61948 "tag": "div",
61949 "attrs": [
61950 {
61951 "name": "id",
61952 "value": "2"
61953 }
61954 ],
61955 "children": [
61956 {
61957 "tag": "a"
61958 },
61959 {
61960 "tag": "div",
61961 "attrs": [
61962 {
61963 "name": "id",
61964 "value": "3"
61965 }
61966 ],
61967 "children": [
61968 {
61969 "tag": "a"
61970 },
61971 {
61972 "tag": "div",
61973 "attrs": [
61974 {
61975 "name": "id",
61976 "value": "4"
61977 }
61978 ],
61979 "children": [
61980 {
61981 "tag": "a"
61982 },
61983 {
61984 "tag": "div",
61985 "attrs": [
61986 {
61987 "name": "id",
61988 "value": "5"
61989 }
61990 ],
61991 "children": [
61992 {
61993 "tag": "a"
61994 },
61995 {
61996 "tag": "div",
61997 "attrs": [
61998 {
61999 "name": "id",
62000 "value": "6"
62001 }
62002 ],
62003 "children": [
62004 {
62005 "tag": "a"
62006 },
62007 {
62008 "tag": "div",
62009 "attrs": [
62010 {
62011 "name": "id",
62012 "value": "7"
62013 }
62014 ],
62015 "children": [
62016 {
62017 "tag": "a"
62018 },
62019 {
62020 "tag": "div",
62021 "attrs": [
62022 {
62023 "name": "id",
62024 "value": "8"
62025 }
62026 ],
62027 "children": [
62028 {
62029 "tag": "a",
62030 "children": [
62031 {
62032 "text": "A"
62033 }
62034 ]
62035 }
62036 ]
62037 }
62038 ]
62039 }
62040 ]
62041 }
62042 ]
62043 }
62044 ]
62045 }
62046 ]
62047 }
62048 ]
62049 }
62050 ]
62051 }
62052 ]
62053 }
62054 ]
62055 }
62056 ]
62057 }
62058 ],
62059 "html": "<html><head></head><body><a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a>A</a></div></div></div></div></div></div></div></div></b></body></html>",
62060 "noQuirksBodyHtml": "<a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a>A</a></div></div></div></div></div></div></div></div></b>"
62061 }
62062 },
62063 {
62064 "data": "<a><b><div id=1><div id=2><div id=3><div id=4><div id=5><div id=6><div id=7><div id=8><div id=9>A</a>",
62065 "errors": [
62066 "(1,3): expected-doctype-but-got-start-tag",
62067 "(1,101): adoption-agency-1.3",
62068 "(1,101): adoption-agency-1.3",
62069 "(1,101): adoption-agency-1.3",
62070 "(1,101): adoption-agency-1.3",
62071 "(1,101): adoption-agency-1.3",
62072 "(1,101): adoption-agency-1.3",
62073 "(1,101): adoption-agency-1.3",
62074 "(1,101): adoption-agency-1.3",
62075 "(1,101): expected-closing-tag-but-got-eof"
62076 ],
62077 "document": {
62078 "props": {
62079 "tags": {
62080 "html": true,
62081 "head": true,
62082 "body": true,
62083 "a": true,
62084 "b": true,
62085 "div": true
62086 }
62087 },
62088 "tree": [
62089 {
62090 "tag": "html",
62091 "children": [
62092 {
62093 "tag": "head"
62094 },
62095 {
62096 "tag": "body",
62097 "children": [
62098 {
62099 "tag": "a",
62100 "children": [
62101 {
62102 "tag": "b"
62103 }
62104 ]
62105 },
62106 {
62107 "tag": "b",
62108 "children": [
62109 {
62110 "tag": "div",
62111 "attrs": [
62112 {
62113 "name": "id",
62114 "value": "1"
62115 }
62116 ],
62117 "children": [
62118 {
62119 "tag": "a"
62120 },
62121 {
62122 "tag": "div",
62123 "attrs": [
62124 {
62125 "name": "id",
62126 "value": "2"
62127 }
62128 ],
62129 "children": [
62130 {
62131 "tag": "a"
62132 },
62133 {
62134 "tag": "div",
62135 "attrs": [
62136 {
62137 "name": "id",
62138 "value": "3"
62139 }
62140 ],
62141 "children": [
62142 {
62143 "tag": "a"
62144 },
62145 {
62146 "tag": "div",
62147 "attrs": [
62148 {
62149 "name": "id",
62150 "value": "4"
62151 }
62152 ],
62153 "children": [
62154 {
62155 "tag": "a"
62156 },
62157 {
62158 "tag": "div",
62159 "attrs": [
62160 {
62161 "name": "id",
62162 "value": "5"
62163 }
62164 ],
62165 "children": [
62166 {
62167 "tag": "a"
62168 },
62169 {
62170 "tag": "div",
62171 "attrs": [
62172 {
62173 "name": "id",
62174 "value": "6"
62175 }
62176 ],
62177 "children": [
62178 {
62179 "tag": "a"
62180 },
62181 {
62182 "tag": "div",
62183 "attrs": [
62184 {
62185 "name": "id",
62186 "value": "7"
62187 }
62188 ],
62189 "children": [
62190 {
62191 "tag": "a"
62192 },
62193 {
62194 "tag": "div",
62195 "attrs": [
62196 {
62197 "name": "id",
62198 "value": "8"
62199 }
62200 ],
62201 "children": [
62202 {
62203 "tag": "a",
62204 "children": [
62205 {
62206 "tag": "div",
62207 "attrs": [
62208 {
62209 "name": "id",
62210 "value": "9"
62211 }
62212 ],
62213 "children": [
62214 {
62215 "text": "A"
62216 }
62217 ]
62218 }
62219 ]
62220 }
62221 ]
62222 }
62223 ]
62224 }
62225 ]
62226 }
62227 ]
62228 }
62229 ]
62230 }
62231 ]
62232 }
62233 ]
62234 }
62235 ]
62236 }
62237 ]
62238 }
62239 ]
62240 }
62241 ]
62242 }
62243 ],
62244 "html": "<html><head></head><body><a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a><div id=\"9\">A</div></a></div></div></div></div></div></div></div></div></b></body></html>",
62245 "noQuirksBodyHtml": "<a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a><div id=\"9\">A</div></a></div></div></div></div></div></div></div></div></b>"
62246 }
62247 },
62248 {
62249 "data": "<a><b><div id=1><div id=2><div id=3><div id=4><div id=5><div id=6><div id=7><div id=8><div id=9><div id=10>A</a>",
62250 "errors": [
62251 "(1,3): expected-doctype-but-got-start-tag",
62252 "(1,112): adoption-agency-1.3",
62253 "(1,112): adoption-agency-1.3",
62254 "(1,112): adoption-agency-1.3",
62255 "(1,112): adoption-agency-1.3",
62256 "(1,112): adoption-agency-1.3",
62257 "(1,112): adoption-agency-1.3",
62258 "(1,112): adoption-agency-1.3",
62259 "(1,112): adoption-agency-1.3",
62260 "(1,112): expected-closing-tag-but-got-eof"
62261 ],
62262 "document": {
62263 "props": {
62264 "tags": {
62265 "html": true,
62266 "head": true,
62267 "body": true,
62268 "a": true,
62269 "b": true,
62270 "div": true
62271 }
62272 },
62273 "tree": [
62274 {
62275 "tag": "html",
62276 "children": [
62277 {
62278 "tag": "head"
62279 },
62280 {
62281 "tag": "body",
62282 "children": [
62283 {
62284 "tag": "a",
62285 "children": [
62286 {
62287 "tag": "b"
62288 }
62289 ]
62290 },
62291 {
62292 "tag": "b",
62293 "children": [
62294 {
62295 "tag": "div",
62296 "attrs": [
62297 {
62298 "name": "id",
62299 "value": "1"
62300 }
62301 ],
62302 "children": [
62303 {
62304 "tag": "a"
62305 },
62306 {
62307 "tag": "div",
62308 "attrs": [
62309 {
62310 "name": "id",
62311 "value": "2"
62312 }
62313 ],
62314 "children": [
62315 {
62316 "tag": "a"
62317 },
62318 {
62319 "tag": "div",
62320 "attrs": [
62321 {
62322 "name": "id",
62323 "value": "3"
62324 }
62325 ],
62326 "children": [
62327 {
62328 "tag": "a"
62329 },
62330 {
62331 "tag": "div",
62332 "attrs": [
62333 {
62334 "name": "id",
62335 "value": "4"
62336 }
62337 ],
62338 "children": [
62339 {
62340 "tag": "a"
62341 },
62342 {
62343 "tag": "div",
62344 "attrs": [
62345 {
62346 "name": "id",
62347 "value": "5"
62348 }
62349 ],
62350 "children": [
62351 {
62352 "tag": "a"
62353 },
62354 {
62355 "tag": "div",
62356 "attrs": [
62357 {
62358 "name": "id",
62359 "value": "6"
62360 }
62361 ],
62362 "children": [
62363 {
62364 "tag": "a"
62365 },
62366 {
62367 "tag": "div",
62368 "attrs": [
62369 {
62370 "name": "id",
62371 "value": "7"
62372 }
62373 ],
62374 "children": [
62375 {
62376 "tag": "a"
62377 },
62378 {
62379 "tag": "div",
62380 "attrs": [
62381 {
62382 "name": "id",
62383 "value": "8"
62384 }
62385 ],
62386 "children": [
62387 {
62388 "tag": "a",
62389 "children": [
62390 {
62391 "tag": "div",
62392 "attrs": [
62393 {
62394 "name": "id",
62395 "value": "9"
62396 }
62397 ],
62398 "children": [
62399 {
62400 "tag": "div",
62401 "attrs": [
62402 {
62403 "name": "id",
62404 "value": "10"
62405 }
62406 ],
62407 "children": [
62408 {
62409 "text": "A"
62410 }
62411 ]
62412 }
62413 ]
62414 }
62415 ]
62416 }
62417 ]
62418 }
62419 ]
62420 }
62421 ]
62422 }
62423 ]
62424 }
62425 ]
62426 }
62427 ]
62428 }
62429 ]
62430 }
62431 ]
62432 }
62433 ]
62434 }
62435 ]
62436 }
62437 ]
62438 }
62439 ],
62440 "html": "<html><head></head><body><a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a><div id=\"9\"><div id=\"10\">A</div></div></a></div></div></div></div></div></div></div></div></b></body></html>",
62441 "noQuirksBodyHtml": "<a><b></b></a><b><div id=\"1\"><a></a><div id=\"2\"><a></a><div id=\"3\"><a></a><div id=\"4\"><a></a><div id=\"5\"><a></a><div id=\"6\"><a></a><div id=\"7\"><a></a><div id=\"8\"><a><div id=\"9\"><div id=\"10\">A</div></div></a></div></div></div></div></div></div></div></div></b>"
62442 }
62443 },
62444 {
62445 "data": "<cite><b><cite><i><cite><i><cite><i><div>X</b>TEST",
62446 "errors": [
62447 "(1,6): expected-doctype-but-got-start-tag",
62448 "(1,46): adoption-agency-1.3",
62449 "(1,50): expected-closing-tag-but-got-eof"
62450 ],
62451 "document": {
62452 "props": {
62453 "tags": {
62454 "html": true,
62455 "head": true,
62456 "body": true,
62457 "cite": true,
62458 "b": true,
62459 "i": true,
62460 "div": true
62461 }
62462 },
62463 "tree": [
62464 {
62465 "tag": "html",
62466 "children": [
62467 {
62468 "tag": "head"
62469 },
62470 {
62471 "tag": "body",
62472 "children": [
62473 {
62474 "tag": "cite",
62475 "children": [
62476 {
62477 "tag": "b",
62478 "children": [
62479 {
62480 "tag": "cite",
62481 "children": [
62482 {
62483 "tag": "i",
62484 "children": [
62485 {
62486 "tag": "cite",
62487 "children": [
62488 {
62489 "tag": "i",
62490 "children": [
62491 {
62492 "tag": "cite",
62493 "children": [
62494 {
62495 "tag": "i"
62496 }
62497 ]
62498 }
62499 ]
62500 }
62501 ]
62502 }
62503 ]
62504 }
62505 ]
62506 }
62507 ]
62508 },
62509 {
62510 "tag": "i",
62511 "children": [
62512 {
62513 "tag": "i",
62514 "children": [
62515 {
62516 "tag": "div",
62517 "children": [
62518 {
62519 "tag": "b",
62520 "children": [
62521 {
62522 "text": "X"
62523 }
62524 ]
62525 },
62526 {
62527 "text": "TEST"
62528 }
62529 ]
62530 }
62531 ]
62532 }
62533 ]
62534 }
62535 ]
62536 }
62537 ]
62538 }
62539 ]
62540 }
62541 ],
62542 "html": "<html><head></head><body><cite><b><cite><i><cite><i><cite><i></i></cite></i></cite></i></cite></b><i><i><div><b>X</b>TEST</div></i></i></cite></body></html>",
62543 "noQuirksBodyHtml": "<cite><b><cite><i><cite><i><cite><i></i></cite></i></cite></i></cite></b><i><i><div><b>X</b>TEST</div></i></i></cite>"
62544 }
62545 }
62546 ],
62547 "tests23.dat": [
62548 {
62549 "data": "<p><font size=4><font color=red><font size=4><font size=4><font size=4><font size=4><font size=4><font color=red><p>X",
62550 "errors": [
62551 "(1,3): expected-doctype-but-got-start-tag",
62552 "(1,116): unexpected-end-tag",
62553 "(1,117): expected-closing-tag-but-got-eof"
62554 ],
62555 "document": {
62556 "props": {
62557 "tags": {
62558 "html": true,
62559 "head": true,
62560 "body": true,
62561 "p": true,
62562 "font": true
62563 }
62564 },
62565 "tree": [
62566 {
62567 "tag": "html",
62568 "children": [
62569 {
62570 "tag": "head"
62571 },
62572 {
62573 "tag": "body",
62574 "children": [
62575 {
62576 "tag": "p",
62577 "children": [
62578 {
62579 "tag": "font",
62580 "attrs": [
62581 {
62582 "name": "size",
62583 "value": "4"
62584 }
62585 ],
62586 "children": [
62587 {
62588 "tag": "font",
62589 "attrs": [
62590 {
62591 "name": "color",
62592 "value": "red"
62593 }
62594 ],
62595 "children": [
62596 {
62597 "tag": "font",
62598 "attrs": [
62599 {
62600 "name": "size",
62601 "value": "4"
62602 }
62603 ],
62604 "children": [
62605 {
62606 "tag": "font",
62607 "attrs": [
62608 {
62609 "name": "size",
62610 "value": "4"
62611 }
62612 ],
62613 "children": [
62614 {
62615 "tag": "font",
62616 "attrs": [
62617 {
62618 "name": "size",
62619 "value": "4"
62620 }
62621 ],
62622 "children": [
62623 {
62624 "tag": "font",
62625 "attrs": [
62626 {
62627 "name": "size",
62628 "value": "4"
62629 }
62630 ],
62631 "children": [
62632 {
62633 "tag": "font",
62634 "attrs": [
62635 {
62636 "name": "size",
62637 "value": "4"
62638 }
62639 ],
62640 "children": [
62641 {
62642 "tag": "font",
62643 "attrs": [
62644 {
62645 "name": "color",
62646 "value": "red"
62647 }
62648 ]
62649 }
62650 ]
62651 }
62652 ]
62653 }
62654 ]
62655 }
62656 ]
62657 }
62658 ]
62659 }
62660 ]
62661 }
62662 ]
62663 }
62664 ]
62665 },
62666 {
62667 "tag": "p",
62668 "children": [
62669 {
62670 "tag": "font",
62671 "attrs": [
62672 {
62673 "name": "color",
62674 "value": "red"
62675 }
62676 ],
62677 "children": [
62678 {
62679 "tag": "font",
62680 "attrs": [
62681 {
62682 "name": "size",
62683 "value": "4"
62684 }
62685 ],
62686 "children": [
62687 {
62688 "tag": "font",
62689 "attrs": [
62690 {
62691 "name": "size",
62692 "value": "4"
62693 }
62694 ],
62695 "children": [
62696 {
62697 "tag": "font",
62698 "attrs": [
62699 {
62700 "name": "size",
62701 "value": "4"
62702 }
62703 ],
62704 "children": [
62705 {
62706 "tag": "font",
62707 "attrs": [
62708 {
62709 "name": "color",
62710 "value": "red"
62711 }
62712 ],
62713 "children": [
62714 {
62715 "text": "X"
62716 }
62717 ]
62718 }
62719 ]
62720 }
62721 ]
62722 }
62723 ]
62724 }
62725 ]
62726 }
62727 ]
62728 }
62729 ]
62730 }
62731 ]
62732 }
62733 ],
62734 "html": "<html><head></head><body><p><font size=\"4\"><font color=\"red\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font color=\"red\"></font></font></font></font></font></font></font></font></p><p><font color=\"red\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font color=\"red\">X</font></font></font></font></font></p></body></html>",
62735 "noQuirksBodyHtml": "<p><font size=\"4\"><font color=\"red\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font color=\"red\"></font></font></font></font></font></font></font></font></p><p><font color=\"red\"><font size=\"4\"><font size=\"4\"><font size=\"4\"><font color=\"red\">X</font></font></font></font></font></p>"
62736 }
62737 },
62738 {
62739 "data": "<p><font size=4><font size=4><font size=4><font size=4><p>X",
62740 "errors": [
62741 "(1,3): expected-doctype-but-got-start-tag",
62742 "(1,58): unexpected-end-tag",
62743 "(1,59): expected-closing-tag-but-got-eof"
62744 ],
62745 "document": {
62746 "props": {
62747 "tags": {
62748 "html": true,
62749 "head": true,
62750 "body": true,
62751 "p": true,
62752 "font": true
62753 }
62754 },
62755 "tree": [
62756 {
62757 "tag": "html",
62758 "children": [
62759 {
62760 "tag": "head"
62761 },
62762 {
62763 "tag": "body",
62764 "children": [
62765 {
62766 "tag": "p",
62767 "children": [
62768 {
62769 "tag": "font",
62770 "attrs": [
62771 {
62772 "name": "size",
62773 "value": "4"
62774 }
62775 ],
62776 "children": [
62777 {
62778 "tag": "font",
62779 "attrs": [
62780 {
62781 "name": "size",
62782 "value": "4"
62783 }
62784 ],
62785 "children": [
62786 {
62787 "tag": "font",
62788 "attrs": [
62789 {
62790 "name": "size",
62791 "value": "4"
62792 }
62793 ],
62794 "children": [
62795 {
62796 "tag": "font",
62797 "attrs": [
62798 {
62799 "name": "size",
62800 "value": "4"
62801 }
62802 ]
62803 }
62804 ]
62805 }
62806 ]
62807 }
62808 ]
62809 }
62810 ]
62811 },
62812 {
62813 "tag": "p",
62814 "children": [
62815 {
62816 "tag": "font",
62817 "attrs": [
62818 {
62819 "name": "size",
62820 "value": "4"
62821 }
62822 ],
62823 "children": [
62824 {
62825 "tag": "font",
62826 "attrs": [
62827 {
62828 "name": "size",
62829 "value": "4"
62830 }
62831 ],
62832 "children": [
62833 {
62834 "tag": "font",
62835 "attrs": [
62836 {
62837 "name": "size",
62838 "value": "4"
62839 }
62840 ],
62841 "children": [
62842 {
62843 "text": "X"
62844 }
62845 ]
62846 }
62847 ]
62848 }
62849 ]
62850 }
62851 ]
62852 }
62853 ]
62854 }
62855 ]
62856 }
62857 ],
62858 "html": "<html><head></head><body><p><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"></font></font></font></font></p><p><font size=\"4\"><font size=\"4\"><font size=\"4\">X</font></font></font></p></body></html>",
62859 "noQuirksBodyHtml": "<p><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"4\"></font></font></font></font></p><p><font size=\"4\"><font size=\"4\"><font size=\"4\">X</font></font></font></p>"
62860 }
62861 },
62862 {
62863 "data": "<p><font size=4><font size=4><font size=4><font size=\"5\"><font size=4><p>X",
62864 "errors": [
62865 "(1,3): expected-doctype-but-got-start-tag",
62866 "(1,73): unexpected-end-tag",
62867 "(1,74): expected-closing-tag-but-got-eof"
62868 ],
62869 "document": {
62870 "props": {
62871 "tags": {
62872 "html": true,
62873 "head": true,
62874 "body": true,
62875 "p": true,
62876 "font": true
62877 }
62878 },
62879 "tree": [
62880 {
62881 "tag": "html",
62882 "children": [
62883 {
62884 "tag": "head"
62885 },
62886 {
62887 "tag": "body",
62888 "children": [
62889 {
62890 "tag": "p",
62891 "children": [
62892 {
62893 "tag": "font",
62894 "attrs": [
62895 {
62896 "name": "size",
62897 "value": "4"
62898 }
62899 ],
62900 "children": [
62901 {
62902 "tag": "font",
62903 "attrs": [
62904 {
62905 "name": "size",
62906 "value": "4"
62907 }
62908 ],
62909 "children": [
62910 {
62911 "tag": "font",
62912 "attrs": [
62913 {
62914 "name": "size",
62915 "value": "4"
62916 }
62917 ],
62918 "children": [
62919 {
62920 "tag": "font",
62921 "attrs": [
62922 {
62923 "name": "size",
62924 "value": "5"
62925 }
62926 ],
62927 "children": [
62928 {
62929 "tag": "font",
62930 "attrs": [
62931 {
62932 "name": "size",
62933 "value": "4"
62934 }
62935 ]
62936 }
62937 ]
62938 }
62939 ]
62940 }
62941 ]
62942 }
62943 ]
62944 }
62945 ]
62946 },
62947 {
62948 "tag": "p",
62949 "children": [
62950 {
62951 "tag": "font",
62952 "attrs": [
62953 {
62954 "name": "size",
62955 "value": "4"
62956 }
62957 ],
62958 "children": [
62959 {
62960 "tag": "font",
62961 "attrs": [
62962 {
62963 "name": "size",
62964 "value": "4"
62965 }
62966 ],
62967 "children": [
62968 {
62969 "tag": "font",
62970 "attrs": [
62971 {
62972 "name": "size",
62973 "value": "5"
62974 }
62975 ],
62976 "children": [
62977 {
62978 "tag": "font",
62979 "attrs": [
62980 {
62981 "name": "size",
62982 "value": "4"
62983 }
62984 ],
62985 "children": [
62986 {
62987 "text": "X"
62988 }
62989 ]
62990 }
62991 ]
62992 }
62993 ]
62994 }
62995 ]
62996 }
62997 ]
62998 }
62999 ]
63000 }
63001 ]
63002 }
63003 ],
63004 "html": "<html><head></head><body><p><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"5\"><font size=\"4\"></font></font></font></font></font></p><p><font size=\"4\"><font size=\"4\"><font size=\"5\"><font size=\"4\">X</font></font></font></font></p></body></html>",
63005 "noQuirksBodyHtml": "<p><font size=\"4\"><font size=\"4\"><font size=\"4\"><font size=\"5\"><font size=\"4\"></font></font></font></font></font></p><p><font size=\"4\"><font size=\"4\"><font size=\"5\"><font size=\"4\">X</font></font></font></font></p>"
63006 }
63007 },
63008 {
63009 "data": "<p><font size=4 id=a><font size=4 id=b><font size=4><font size=4><p>X",
63010 "errors": [
63011 "(1,3): expected-doctype-but-got-start-tag",
63012 "(1,68): unexpected-end-tag",
63013 "(1,69): expected-closing-tag-but-got-eof"
63014 ],
63015 "document": {
63016 "props": {
63017 "tags": {
63018 "html": true,
63019 "head": true,
63020 "body": true,
63021 "p": true,
63022 "font": true
63023 }
63024 },
63025 "tree": [
63026 {
63027 "tag": "html",
63028 "children": [
63029 {
63030 "tag": "head"
63031 },
63032 {
63033 "tag": "body",
63034 "children": [
63035 {
63036 "tag": "p",
63037 "children": [
63038 {
63039 "tag": "font",
63040 "attrs": [
63041 {
63042 "name": "id",
63043 "value": "a"
63044 },
63045 {
63046 "name": "size",
63047 "value": "4"
63048 }
63049 ],
63050 "children": [
63051 {
63052 "tag": "font",
63053 "attrs": [
63054 {
63055 "name": "id",
63056 "value": "b"
63057 },
63058 {
63059 "name": "size",
63060 "value": "4"
63061 }
63062 ],
63063 "children": [
63064 {
63065 "tag": "font",
63066 "attrs": [
63067 {
63068 "name": "size",
63069 "value": "4"
63070 }
63071 ],
63072 "children": [
63073 {
63074 "tag": "font",
63075 "attrs": [
63076 {
63077 "name": "size",
63078 "value": "4"
63079 }
63080 ]
63081 }
63082 ]
63083 }
63084 ]
63085 }
63086 ]
63087 }
63088 ]
63089 },
63090 {
63091 "tag": "p",
63092 "children": [
63093 {
63094 "tag": "font",
63095 "attrs": [
63096 {
63097 "name": "id",
63098 "value": "a"
63099 },
63100 {
63101 "name": "size",
63102 "value": "4"
63103 }
63104 ],
63105 "children": [
63106 {
63107 "tag": "font",
63108 "attrs": [
63109 {
63110 "name": "id",
63111 "value": "b"
63112 },
63113 {
63114 "name": "size",
63115 "value": "4"
63116 }
63117 ],
63118 "children": [
63119 {
63120 "tag": "font",
63121 "attrs": [
63122 {
63123 "name": "size",
63124 "value": "4"
63125 }
63126 ],
63127 "children": [
63128 {
63129 "tag": "font",
63130 "attrs": [
63131 {
63132 "name": "size",
63133 "value": "4"
63134 }
63135 ],
63136 "children": [
63137 {
63138 "text": "X"
63139 }
63140 ]
63141 }
63142 ]
63143 }
63144 ]
63145 }
63146 ]
63147 }
63148 ]
63149 }
63150 ]
63151 }
63152 ]
63153 }
63154 ],
63155 "html": "<html><head></head><body><p><font size=\"4\" id=\"a\"><font size=\"4\" id=\"b\"><font size=\"4\"><font size=\"4\"></font></font></font></font></p><p><font size=\"4\" id=\"a\"><font size=\"4\" id=\"b\"><font size=\"4\"><font size=\"4\">X</font></font></font></font></p></body></html>",
63156 "noQuirksBodyHtml": "<p><font size=\"4\" id=\"a\"><font size=\"4\" id=\"b\"><font size=\"4\"><font size=\"4\"></font></font></font></font></p><p><font size=\"4\" id=\"a\"><font size=\"4\" id=\"b\"><font size=\"4\"><font size=\"4\">X</font></font></font></font></p>"
63157 }
63158 },
63159 {
63160 "data": "<p><b id=a><b id=a><b id=a><b><object><b id=a><b id=a>X</object><p>Y",
63161 "errors": [
63162 "(1,3): expected-doctype-but-got-start-tag",
63163 "(1,64): end-tag-too-early",
63164 "(1,67): unexpected-end-tag",
63165 "(1,68): expected-closing-tag-but-got-eof"
63166 ],
63167 "document": {
63168 "props": {
63169 "tags": {
63170 "html": true,
63171 "head": true,
63172 "body": true,
63173 "p": true,
63174 "b": true,
63175 "object": true
63176 }
63177 },
63178 "tree": [
63179 {
63180 "tag": "html",
63181 "children": [
63182 {
63183 "tag": "head"
63184 },
63185 {
63186 "tag": "body",
63187 "children": [
63188 {
63189 "tag": "p",
63190 "children": [
63191 {
63192 "tag": "b",
63193 "attrs": [
63194 {
63195 "name": "id",
63196 "value": "a"
63197 }
63198 ],
63199 "children": [
63200 {
63201 "tag": "b",
63202 "attrs": [
63203 {
63204 "name": "id",
63205 "value": "a"
63206 }
63207 ],
63208 "children": [
63209 {
63210 "tag": "b",
63211 "attrs": [
63212 {
63213 "name": "id",
63214 "value": "a"
63215 }
63216 ],
63217 "children": [
63218 {
63219 "tag": "b",
63220 "children": [
63221 {
63222 "tag": "object",
63223 "children": [
63224 {
63225 "tag": "b",
63226 "attrs": [
63227 {
63228 "name": "id",
63229 "value": "a"
63230 }
63231 ],
63232 "children": [
63233 {
63234 "tag": "b",
63235 "attrs": [
63236 {
63237 "name": "id",
63238 "value": "a"
63239 }
63240 ],
63241 "children": [
63242 {
63243 "text": "X"
63244 }
63245 ]
63246 }
63247 ]
63248 }
63249 ]
63250 }
63251 ]
63252 }
63253 ]
63254 }
63255 ]
63256 }
63257 ]
63258 }
63259 ]
63260 },
63261 {
63262 "tag": "p",
63263 "children": [
63264 {
63265 "tag": "b",
63266 "attrs": [
63267 {
63268 "name": "id",
63269 "value": "a"
63270 }
63271 ],
63272 "children": [
63273 {
63274 "tag": "b",
63275 "attrs": [
63276 {
63277 "name": "id",
63278 "value": "a"
63279 }
63280 ],
63281 "children": [
63282 {
63283 "tag": "b",
63284 "attrs": [
63285 {
63286 "name": "id",
63287 "value": "a"
63288 }
63289 ],
63290 "children": [
63291 {
63292 "tag": "b",
63293 "children": [
63294 {
63295 "text": "Y"
63296 }
63297 ]
63298 }
63299 ]
63300 }
63301 ]
63302 }
63303 ]
63304 }
63305 ]
63306 }
63307 ]
63308 }
63309 ]
63310 }
63311 ],
63312 "html": "<html><head></head><body><p><b id=\"a\"><b id=\"a\"><b id=\"a\"><b><object><b id=\"a\"><b id=\"a\">X</b></b></object></b></b></b></b></p><p><b id=\"a\"><b id=\"a\"><b id=\"a\"><b>Y</b></b></b></b></p></body></html>",
63313 "noQuirksBodyHtml": "<p><b id=\"a\"><b id=\"a\"><b id=\"a\"><b><object><b id=\"a\"><b id=\"a\">X</b></b></object></b></b></b></b></p><p><b id=\"a\"><b id=\"a\"><b id=\"a\"><b>Y</b></b></b></b></p>"
63314 }
63315 }
63316 ],
63317 "tests24.dat": [
63318 {
63319 "data": "<!DOCTYPE html>&NotEqualTilde;",
63320 "errors": [],
63321 "document": {
63322 "props": {
63323 "tags": {
63324 "html": true,
63325 "head": true,
63326 "body": true
63327 },
63328 "doctype": true
63329 },
63330 "tree": [
63331 {
63332 "doctype": "html"
63333 },
63334 {
63335 "tag": "html",
63336 "children": [
63337 {
63338 "tag": "head"
63339 },
63340 {
63341 "tag": "body",
63342 "children": [
63343 {
63344 "text": "≂̸"
63345 }
63346 ]
63347 }
63348 ]
63349 }
63350 ],
63351 "html": "<!DOCTYPE html><html><head></head><body>≂̸</body></html>",
63352 "noQuirksBodyHtml": "≂̸"
63353 }
63354 },
63355 {
63356 "data": "<!DOCTYPE html>&NotEqualTilde;A",
63357 "errors": [],
63358 "document": {
63359 "props": {
63360 "tags": {
63361 "html": true,
63362 "head": true,
63363 "body": true
63364 },
63365 "doctype": true
63366 },
63367 "tree": [
63368 {
63369 "doctype": "html"
63370 },
63371 {
63372 "tag": "html",
63373 "children": [
63374 {
63375 "tag": "head"
63376 },
63377 {
63378 "tag": "body",
63379 "children": [
63380 {
63381 "text": "≂̸A"
63382 }
63383 ]
63384 }
63385 ]
63386 }
63387 ],
63388 "html": "<!DOCTYPE html><html><head></head><body>≂̸A</body></html>",
63389 "noQuirksBodyHtml": "≂̸A"
63390 }
63391 },
63392 {
63393 "data": "<!DOCTYPE html>&ThickSpace;",
63394 "errors": [],
63395 "document": {
63396 "props": {
63397 "tags": {
63398 "html": true,
63399 "head": true,
63400 "body": true
63401 },
63402 "doctype": true
63403 },
63404 "tree": [
63405 {
63406 "doctype": "html"
63407 },
63408 {
63409 "tag": "html",
63410 "children": [
63411 {
63412 "tag": "head"
63413 },
63414 {
63415 "tag": "body",
63416 "children": [
63417 {
63418 "text": "  "
63419 }
63420 ]
63421 }
63422 ]
63423 }
63424 ],
63425 "html": "<!DOCTYPE html><html><head></head><body>  </body></html>",
63426 "noQuirksBodyHtml": "  "
63427 }
63428 },
63429 {
63430 "data": "<!DOCTYPE html>&ThickSpace;A",
63431 "errors": [],
63432 "document": {
63433 "props": {
63434 "tags": {
63435 "html": true,
63436 "head": true,
63437 "body": true
63438 },
63439 "doctype": true
63440 },
63441 "tree": [
63442 {
63443 "doctype": "html"
63444 },
63445 {
63446 "tag": "html",
63447 "children": [
63448 {
63449 "tag": "head"
63450 },
63451 {
63452 "tag": "body",
63453 "children": [
63454 {
63455 "text": "  A"
63456 }
63457 ]
63458 }
63459 ]
63460 }
63461 ],
63462 "html": "<!DOCTYPE html><html><head></head><body>  A</body></html>",
63463 "noQuirksBodyHtml": "  A"
63464 }
63465 },
63466 {
63467 "data": "<!DOCTYPE html>&NotSubset;",
63468 "errors": [],
63469 "document": {
63470 "props": {
63471 "tags": {
63472 "html": true,
63473 "head": true,
63474 "body": true
63475 },
63476 "doctype": true
63477 },
63478 "tree": [
63479 {
63480 "doctype": "html"
63481 },
63482 {
63483 "tag": "html",
63484 "children": [
63485 {
63486 "tag": "head"
63487 },
63488 {
63489 "tag": "body",
63490 "children": [
63491 {
63492 "text": "⊂⃒"
63493 }
63494 ]
63495 }
63496 ]
63497 }
63498 ],
63499 "html": "<!DOCTYPE html><html><head></head><body>⊂⃒</body></html>",
63500 "noQuirksBodyHtml": "⊂⃒"
63501 }
63502 },
63503 {
63504 "data": "<!DOCTYPE html>&NotSubset;A",
63505 "errors": [],
63506 "document": {
63507 "props": {
63508 "tags": {
63509 "html": true,
63510 "head": true,
63511 "body": true
63512 },
63513 "doctype": true
63514 },
63515 "tree": [
63516 {
63517 "doctype": "html"
63518 },
63519 {
63520 "tag": "html",
63521 "children": [
63522 {
63523 "tag": "head"
63524 },
63525 {
63526 "tag": "body",
63527 "children": [
63528 {
63529 "text": "⊂⃒A"
63530 }
63531 ]
63532 }
63533 ]
63534 }
63535 ],
63536 "html": "<!DOCTYPE html><html><head></head><body>⊂⃒A</body></html>",
63537 "noQuirksBodyHtml": "⊂⃒A"
63538 }
63539 },
63540 {
63541 "data": "<!DOCTYPE html>&Gopf;",
63542 "errors": [],
63543 "document": {
63544 "props": {
63545 "tags": {
63546 "html": true,
63547 "head": true,
63548 "body": true
63549 },
63550 "doctype": true
63551 },
63552 "tree": [
63553 {
63554 "doctype": "html"
63555 },
63556 {
63557 "tag": "html",
63558 "children": [
63559 {
63560 "tag": "head"
63561 },
63562 {
63563 "tag": "body",
63564 "children": [
63565 {
63566 "text": "𝔾"
63567 }
63568 ]
63569 }
63570 ]
63571 }
63572 ],
63573 "html": "<!DOCTYPE html><html><head></head><body>𝔾</body></html>",
63574 "noQuirksBodyHtml": "𝔾"
63575 }
63576 },
63577 {
63578 "data": "<!DOCTYPE html>&Gopf;A",
63579 "errors": [],
63580 "document": {
63581 "props": {
63582 "tags": {
63583 "html": true,
63584 "head": true,
63585 "body": true
63586 },
63587 "doctype": true
63588 },
63589 "tree": [
63590 {
63591 "doctype": "html"
63592 },
63593 {
63594 "tag": "html",
63595 "children": [
63596 {
63597 "tag": "head"
63598 },
63599 {
63600 "tag": "body",
63601 "children": [
63602 {
63603 "text": "𝔾A"
63604 }
63605 ]
63606 }
63607 ]
63608 }
63609 ],
63610 "html": "<!DOCTYPE html><html><head></head><body>𝔾A</body></html>",
63611 "noQuirksBodyHtml": "𝔾A"
63612 }
63613 }
63614 ],
63615 "tests25.dat": [
63616 {
63617 "data": "<!DOCTYPE html><body><foo>A",
63618 "errors": [
63619 "(1,27): expected-closing-tag-but-got-eof"
63620 ],
63621 "document": {
63622 "props": {
63623 "tags": {
63624 "html": true,
63625 "head": true,
63626 "body": true,
63627 "foo": true
63628 },
63629 "doctype": true
63630 },
63631 "tree": [
63632 {
63633 "doctype": "html"
63634 },
63635 {
63636 "tag": "html",
63637 "children": [
63638 {
63639 "tag": "head"
63640 },
63641 {
63642 "tag": "body",
63643 "children": [
63644 {
63645 "tag": "foo",
63646 "children": [
63647 {
63648 "text": "A"
63649 }
63650 ]
63651 }
63652 ]
63653 }
63654 ]
63655 }
63656 ],
63657 "html": "<!DOCTYPE html><html><head></head><body><foo>A</foo></body></html>",
63658 "noQuirksBodyHtml": "<foo>A</foo>"
63659 }
63660 },
63661 {
63662 "data": "<!DOCTYPE html><body><area>A",
63663 "errors": [],
63664 "document": {
63665 "props": {
63666 "tags": {
63667 "html": true,
63668 "head": true,
63669 "body": true,
63670 "area": true
63671 },
63672 "doctype": true
63673 },
63674 "tree": [
63675 {
63676 "doctype": "html"
63677 },
63678 {
63679 "tag": "html",
63680 "children": [
63681 {
63682 "tag": "head"
63683 },
63684 {
63685 "tag": "body",
63686 "children": [
63687 {
63688 "tag": "area"
63689 },
63690 {
63691 "text": "A"
63692 }
63693 ]
63694 }
63695 ]
63696 }
63697 ],
63698 "html": "<!DOCTYPE html><html><head></head><body><area>A</body></html>",
63699 "noQuirksBodyHtml": "<area>A"
63700 }
63701 },
63702 {
63703 "data": "<!DOCTYPE html><body><base>A",
63704 "errors": [],
63705 "document": {
63706 "props": {
63707 "tags": {
63708 "html": true,
63709 "head": true,
63710 "body": true,
63711 "base": true
63712 },
63713 "doctype": true
63714 },
63715 "tree": [
63716 {
63717 "doctype": "html"
63718 },
63719 {
63720 "tag": "html",
63721 "children": [
63722 {
63723 "tag": "head"
63724 },
63725 {
63726 "tag": "body",
63727 "children": [
63728 {
63729 "tag": "base"
63730 },
63731 {
63732 "text": "A"
63733 }
63734 ]
63735 }
63736 ]
63737 }
63738 ],
63739 "html": "<!DOCTYPE html><html><head></head><body><base>A</body></html>",
63740 "noQuirksBodyHtml": "<base>A"
63741 }
63742 },
63743 {
63744 "data": "<!DOCTYPE html><body><basefont>A",
63745 "errors": [],
63746 "document": {
63747 "props": {
63748 "tags": {
63749 "html": true,
63750 "head": true,
63751 "body": true,
63752 "basefont": true
63753 },
63754 "doctype": true
63755 },
63756 "tree": [
63757 {
63758 "doctype": "html"
63759 },
63760 {
63761 "tag": "html",
63762 "children": [
63763 {
63764 "tag": "head"
63765 },
63766 {
63767 "tag": "body",
63768 "children": [
63769 {
63770 "tag": "basefont"
63771 },
63772 {
63773 "text": "A"
63774 }
63775 ]
63776 }
63777 ]
63778 }
63779 ],
63780 "html": "<!DOCTYPE html><html><head></head><body><basefont>A</body></html>",
63781 "noQuirksBodyHtml": "<basefont>A"
63782 }
63783 },
63784 {
63785 "data": "<!DOCTYPE html><body><bgsound>A",
63786 "errors": [],
63787 "document": {
63788 "props": {
63789 "tags": {
63790 "html": true,
63791 "head": true,
63792 "body": true,
63793 "bgsound": true
63794 },
63795 "doctype": true
63796 },
63797 "tree": [
63798 {
63799 "doctype": "html"
63800 },
63801 {
63802 "tag": "html",
63803 "children": [
63804 {
63805 "tag": "head"
63806 },
63807 {
63808 "tag": "body",
63809 "children": [
63810 {
63811 "tag": "bgsound"
63812 },
63813 {
63814 "text": "A"
63815 }
63816 ]
63817 }
63818 ]
63819 }
63820 ],
63821 "html": "<!DOCTYPE html><html><head></head><body><bgsound>A</body></html>",
63822 "noQuirksBodyHtml": "<bgsound>A"
63823 }
63824 },
63825 {
63826 "data": "<!DOCTYPE html><body><br>A",
63827 "errors": [],
63828 "document": {
63829 "props": {
63830 "tags": {
63831 "html": true,
63832 "head": true,
63833 "body": true,
63834 "br": true
63835 },
63836 "doctype": true
63837 },
63838 "tree": [
63839 {
63840 "doctype": "html"
63841 },
63842 {
63843 "tag": "html",
63844 "children": [
63845 {
63846 "tag": "head"
63847 },
63848 {
63849 "tag": "body",
63850 "children": [
63851 {
63852 "tag": "br"
63853 },
63854 {
63855 "text": "A"
63856 }
63857 ]
63858 }
63859 ]
63860 }
63861 ],
63862 "html": "<!DOCTYPE html><html><head></head><body><br>A</body></html>",
63863 "noQuirksBodyHtml": "<br>A"
63864 }
63865 },
63866 {
63867 "data": "<!DOCTYPE html><body><col>A",
63868 "errors": [
63869 "(1,26): unexpected-start-tag-ignored"
63870 ],
63871 "document": {
63872 "props": {
63873 "tags": {
63874 "html": true,
63875 "head": true,
63876 "body": true
63877 },
63878 "doctype": true
63879 },
63880 "tree": [
63881 {
63882 "doctype": "html"
63883 },
63884 {
63885 "tag": "html",
63886 "children": [
63887 {
63888 "tag": "head"
63889 },
63890 {
63891 "tag": "body",
63892 "children": [
63893 {
63894 "text": "A"
63895 }
63896 ]
63897 }
63898 ]
63899 }
63900 ],
63901 "html": "<!DOCTYPE html><html><head></head><body>A</body></html>",
63902 "noQuirksBodyHtml": "A"
63903 }
63904 },
63905 {
63906 "data": "<!DOCTYPE html><body><command>A",
63907 "errors": [
63908 "eof"
63909 ],
63910 "document": {
63911 "props": {
63912 "tags": {
63913 "html": true,
63914 "head": true,
63915 "body": true,
63916 "command": true
63917 },
63918 "doctype": true
63919 },
63920 "tree": [
63921 {
63922 "doctype": "html"
63923 },
63924 {
63925 "tag": "html",
63926 "children": [
63927 {
63928 "tag": "head"
63929 },
63930 {
63931 "tag": "body",
63932 "children": [
63933 {
63934 "tag": "command",
63935 "children": [
63936 {
63937 "text": "A"
63938 }
63939 ]
63940 }
63941 ]
63942 }
63943 ]
63944 }
63945 ],
63946 "html": "<!DOCTYPE html><html><head></head><body><command>A</command></body></html>",
63947 "noQuirksBodyHtml": "<command>A</command>"
63948 }
63949 },
63950 {
63951 "data": "<!DOCTYPE html><body><embed>A",
63952 "errors": [],
63953 "document": {
63954 "props": {
63955 "tags": {
63956 "html": true,
63957 "head": true,
63958 "body": true,
63959 "embed": true
63960 },
63961 "doctype": true
63962 },
63963 "tree": [
63964 {
63965 "doctype": "html"
63966 },
63967 {
63968 "tag": "html",
63969 "children": [
63970 {
63971 "tag": "head"
63972 },
63973 {
63974 "tag": "body",
63975 "children": [
63976 {
63977 "tag": "embed"
63978 },
63979 {
63980 "text": "A"
63981 }
63982 ]
63983 }
63984 ]
63985 }
63986 ],
63987 "html": "<!DOCTYPE html><html><head></head><body><embed>A</body></html>",
63988 "noQuirksBodyHtml": "<embed>A"
63989 }
63990 },
63991 {
63992 "data": "<!DOCTYPE html><body><frame>A",
63993 "errors": [
63994 "(1,28): unexpected-start-tag-ignored"
63995 ],
63996 "document": {
63997 "props": {
63998 "tags": {
63999 "html": true,
64000 "head": true,
64001 "body": true
64002 },
64003 "doctype": true
64004 },
64005 "tree": [
64006 {
64007 "doctype": "html"
64008 },
64009 {
64010 "tag": "html",
64011 "children": [
64012 {
64013 "tag": "head"
64014 },
64015 {
64016 "tag": "body",
64017 "children": [
64018 {
64019 "text": "A"
64020 }
64021 ]
64022 }
64023 ]
64024 }
64025 ],
64026 "html": "<!DOCTYPE html><html><head></head><body>A</body></html>",
64027 "noQuirksBodyHtml": "A"
64028 }
64029 },
64030 {
64031 "data": "<!DOCTYPE html><body><hr>A",
64032 "errors": [],
64033 "document": {
64034 "props": {
64035 "tags": {
64036 "html": true,
64037 "head": true,
64038 "body": true,
64039 "hr": true
64040 },
64041 "doctype": true
64042 },
64043 "tree": [
64044 {
64045 "doctype": "html"
64046 },
64047 {
64048 "tag": "html",
64049 "children": [
64050 {
64051 "tag": "head"
64052 },
64053 {
64054 "tag": "body",
64055 "children": [
64056 {
64057 "tag": "hr"
64058 },
64059 {
64060 "text": "A"
64061 }
64062 ]
64063 }
64064 ]
64065 }
64066 ],
64067 "html": "<!DOCTYPE html><html><head></head><body><hr>A</body></html>",
64068 "noQuirksBodyHtml": "<hr>A"
64069 }
64070 },
64071 {
64072 "data": "<!DOCTYPE html><body><img>A",
64073 "errors": [],
64074 "document": {
64075 "props": {
64076 "tags": {
64077 "html": true,
64078 "head": true,
64079 "body": true,
64080 "img": true
64081 },
64082 "doctype": true
64083 },
64084 "tree": [
64085 {
64086 "doctype": "html"
64087 },
64088 {
64089 "tag": "html",
64090 "children": [
64091 {
64092 "tag": "head"
64093 },
64094 {
64095 "tag": "body",
64096 "children": [
64097 {
64098 "tag": "img"
64099 },
64100 {
64101 "text": "A"
64102 }
64103 ]
64104 }
64105 ]
64106 }
64107 ],
64108 "html": "<!DOCTYPE html><html><head></head><body><img>A</body></html>",
64109 "noQuirksBodyHtml": "<img>A"
64110 }
64111 },
64112 {
64113 "data": "<!DOCTYPE html><body><input>A",
64114 "errors": [],
64115 "document": {
64116 "props": {
64117 "tags": {
64118 "html": true,
64119 "head": true,
64120 "body": true,
64121 "input": true
64122 },
64123 "doctype": true
64124 },
64125 "tree": [
64126 {
64127 "doctype": "html"
64128 },
64129 {
64130 "tag": "html",
64131 "children": [
64132 {
64133 "tag": "head"
64134 },
64135 {
64136 "tag": "body",
64137 "children": [
64138 {
64139 "tag": "input"
64140 },
64141 {
64142 "text": "A"
64143 }
64144 ]
64145 }
64146 ]
64147 }
64148 ],
64149 "html": "<!DOCTYPE html><html><head></head><body><input>A</body></html>",
64150 "noQuirksBodyHtml": "<input>A"
64151 }
64152 },
64153 {
64154 "data": "<!DOCTYPE html><body><keygen>A",
64155 "errors": [],
64156 "document": {
64157 "props": {
64158 "tags": {
64159 "html": true,
64160 "head": true,
64161 "body": true,
64162 "keygen": true
64163 },
64164 "doctype": true
64165 },
64166 "tree": [
64167 {
64168 "doctype": "html"
64169 },
64170 {
64171 "tag": "html",
64172 "children": [
64173 {
64174 "tag": "head"
64175 },
64176 {
64177 "tag": "body",
64178 "children": [
64179 {
64180 "tag": "keygen"
64181 },
64182 {
64183 "text": "A"
64184 }
64185 ]
64186 }
64187 ]
64188 }
64189 ],
64190 "html": "<!DOCTYPE html><html><head></head><body><keygen>A</body></html>",
64191 "noQuirksBodyHtml": "<keygen>A"
64192 }
64193 },
64194 {
64195 "data": "<!DOCTYPE html><body><link>A",
64196 "errors": [],
64197 "document": {
64198 "props": {
64199 "tags": {
64200 "html": true,
64201 "head": true,
64202 "body": true,
64203 "link": true
64204 },
64205 "doctype": true
64206 },
64207 "tree": [
64208 {
64209 "doctype": "html"
64210 },
64211 {
64212 "tag": "html",
64213 "children": [
64214 {
64215 "tag": "head"
64216 },
64217 {
64218 "tag": "body",
64219 "children": [
64220 {
64221 "tag": "link"
64222 },
64223 {
64224 "text": "A"
64225 }
64226 ]
64227 }
64228 ]
64229 }
64230 ],
64231 "html": "<!DOCTYPE html><html><head></head><body><link>A</body></html>",
64232 "noQuirksBodyHtml": "<link>A"
64233 }
64234 },
64235 {
64236 "data": "<!DOCTYPE html><body><meta>A",
64237 "errors": [],
64238 "document": {
64239 "props": {
64240 "tags": {
64241 "html": true,
64242 "head": true,
64243 "body": true,
64244 "meta": true
64245 },
64246 "doctype": true
64247 },
64248 "tree": [
64249 {
64250 "doctype": "html"
64251 },
64252 {
64253 "tag": "html",
64254 "children": [
64255 {
64256 "tag": "head"
64257 },
64258 {
64259 "tag": "body",
64260 "children": [
64261 {
64262 "tag": "meta"
64263 },
64264 {
64265 "text": "A"
64266 }
64267 ]
64268 }
64269 ]
64270 }
64271 ],
64272 "html": "<!DOCTYPE html><html><head></head><body><meta>A</body></html>",
64273 "noQuirksBodyHtml": "<meta>A"
64274 }
64275 },
64276 {
64277 "data": "<!DOCTYPE html><body><param>A",
64278 "errors": [],
64279 "document": {
64280 "props": {
64281 "tags": {
64282 "html": true,
64283 "head": true,
64284 "body": true,
64285 "param": true
64286 },
64287 "doctype": true
64288 },
64289 "tree": [
64290 {
64291 "doctype": "html"
64292 },
64293 {
64294 "tag": "html",
64295 "children": [
64296 {
64297 "tag": "head"
64298 },
64299 {
64300 "tag": "body",
64301 "children": [
64302 {
64303 "tag": "param"
64304 },
64305 {
64306 "text": "A"
64307 }
64308 ]
64309 }
64310 ]
64311 }
64312 ],
64313 "html": "<!DOCTYPE html><html><head></head><body><param>A</body></html>",
64314 "noQuirksBodyHtml": "<param>A"
64315 }
64316 },
64317 {
64318 "data": "<!DOCTYPE html><body><source>A",
64319 "errors": [],
64320 "document": {
64321 "props": {
64322 "tags": {
64323 "html": true,
64324 "head": true,
64325 "body": true,
64326 "source": true
64327 },
64328 "doctype": true
64329 },
64330 "tree": [
64331 {
64332 "doctype": "html"
64333 },
64334 {
64335 "tag": "html",
64336 "children": [
64337 {
64338 "tag": "head"
64339 },
64340 {
64341 "tag": "body",
64342 "children": [
64343 {
64344 "tag": "source"
64345 },
64346 {
64347 "text": "A"
64348 }
64349 ]
64350 }
64351 ]
64352 }
64353 ],
64354 "html": "<!DOCTYPE html><html><head></head><body><source>A</body></html>",
64355 "noQuirksBodyHtml": "<source>A"
64356 }
64357 },
64358 {
64359 "data": "<!DOCTYPE html><body><track>A",
64360 "errors": [],
64361 "document": {
64362 "props": {
64363 "tags": {
64364 "html": true,
64365 "head": true,
64366 "body": true,
64367 "track": true
64368 },
64369 "doctype": true
64370 },
64371 "tree": [
64372 {
64373 "doctype": "html"
64374 },
64375 {
64376 "tag": "html",
64377 "children": [
64378 {
64379 "tag": "head"
64380 },
64381 {
64382 "tag": "body",
64383 "children": [
64384 {
64385 "tag": "track"
64386 },
64387 {
64388 "text": "A"
64389 }
64390 ]
64391 }
64392 ]
64393 }
64394 ],
64395 "html": "<!DOCTYPE html><html><head></head><body><track>A</body></html>",
64396 "noQuirksBodyHtml": "<track>A"
64397 }
64398 },
64399 {
64400 "data": "<!DOCTYPE html><body><wbr>A",
64401 "errors": [],
64402 "document": {
64403 "props": {
64404 "tags": {
64405 "html": true,
64406 "head": true,
64407 "body": true,
64408 "wbr": true
64409 },
64410 "doctype": true
64411 },
64412 "tree": [
64413 {
64414 "doctype": "html"
64415 },
64416 {
64417 "tag": "html",
64418 "children": [
64419 {
64420 "tag": "head"
64421 },
64422 {
64423 "tag": "body",
64424 "children": [
64425 {
64426 "tag": "wbr"
64427 },
64428 {
64429 "text": "A"
64430 }
64431 ]
64432 }
64433 ]
64434 }
64435 ],
64436 "html": "<!DOCTYPE html><html><head></head><body><wbr>A</body></html>",
64437 "noQuirksBodyHtml": "<wbr>A"
64438 }
64439 }
64440 ],
64441 "tests26.dat": [
64442 {
64443 "data": "<!DOCTYPE html><body><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#3'><nobr>3<nobr></a>",
64444 "errors": [
64445 "(1,47): unexpected-start-tag-implies-end-tag",
64446 "(1,51): adoption-agency-1.3",
64447 "(1,74): unexpected-start-tag-implies-end-tag",
64448 "(1,74): adoption-agency-1.3",
64449 "(1,81): unexpected-start-tag-implies-end-tag",
64450 "(1,85): adoption-agency-1.3",
64451 "(1,108): unexpected-start-tag-implies-end-tag",
64452 "(1,108): adoption-agency-1.3",
64453 "(1,115): unexpected-start-tag-implies-end-tag",
64454 "(1,119): adoption-agency-1.3"
64455 ],
64456 "document": {
64457 "props": {
64458 "tags": {
64459 "html": true,
64460 "head": true,
64461 "body": true,
64462 "a": true,
64463 "nobr": true,
64464 "br": true
64465 },
64466 "doctype": true
64467 },
64468 "tree": [
64469 {
64470 "doctype": "html"
64471 },
64472 {
64473 "tag": "html",
64474 "children": [
64475 {
64476 "tag": "head"
64477 },
64478 {
64479 "tag": "body",
64480 "children": [
64481 {
64482 "tag": "a",
64483 "attrs": [
64484 {
64485 "name": "href",
64486 "value": "#1"
64487 }
64488 ],
64489 "children": [
64490 {
64491 "tag": "nobr",
64492 "children": [
64493 {
64494 "text": "1"
64495 }
64496 ]
64497 },
64498 {
64499 "tag": "nobr"
64500 }
64501 ]
64502 },
64503 {
64504 "tag": "nobr",
64505 "children": [
64506 {
64507 "tag": "br"
64508 },
64509 {
64510 "tag": "a",
64511 "attrs": [
64512 {
64513 "name": "href",
64514 "value": "#2"
64515 }
64516 ]
64517 }
64518 ]
64519 },
64520 {
64521 "tag": "a",
64522 "attrs": [
64523 {
64524 "name": "href",
64525 "value": "#2"
64526 }
64527 ],
64528 "children": [
64529 {
64530 "tag": "nobr",
64531 "children": [
64532 {
64533 "text": "2"
64534 }
64535 ]
64536 },
64537 {
64538 "tag": "nobr"
64539 }
64540 ]
64541 },
64542 {
64543 "tag": "nobr",
64544 "children": [
64545 {
64546 "tag": "br"
64547 },
64548 {
64549 "tag": "a",
64550 "attrs": [
64551 {
64552 "name": "href",
64553 "value": "#3"
64554 }
64555 ]
64556 }
64557 ]
64558 },
64559 {
64560 "tag": "a",
64561 "attrs": [
64562 {
64563 "name": "href",
64564 "value": "#3"
64565 }
64566 ],
64567 "children": [
64568 {
64569 "tag": "nobr",
64570 "children": [
64571 {
64572 "text": "3"
64573 }
64574 ]
64575 },
64576 {
64577 "tag": "nobr"
64578 }
64579 ]
64580 }
64581 ]
64582 }
64583 ]
64584 }
64585 ],
64586 "html": "<!DOCTYPE html><html><head></head><body><a href=\"#1\"><nobr>1</nobr><nobr></nobr></a><nobr><br><a href=\"#2\"></a></nobr><a href=\"#2\"><nobr>2</nobr><nobr></nobr></a><nobr><br><a href=\"#3\"></a></nobr><a href=\"#3\"><nobr>3</nobr><nobr></nobr></a></body></html>",
64587 "noQuirksBodyHtml": "<a href=\"#1\"><nobr>1</nobr><nobr></nobr></a><nobr><br><a href=\"#2\"></a></nobr><a href=\"#2\"><nobr>2</nobr><nobr></nobr></a><nobr><br><a href=\"#3\"></a></nobr><a href=\"#3\"><nobr>3</nobr><nobr></nobr></a>"
64588 }
64589 },
64590 {
64591 "data": "<!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3",
64592 "errors": [
64593 "(1,37): unexpected-start-tag-implies-end-tag",
64594 "(1,41): adoption-agency-1.3",
64595 "(1,50): unexpected-start-tag-implies-end-tag",
64596 "(1,50): adoption-agency-1.3",
64597 "(1,57): unexpected-start-tag-implies-end-tag",
64598 "(1,61): adoption-agency-1.3",
64599 "(1,62): expected-closing-tag-but-got-eof"
64600 ],
64601 "document": {
64602 "props": {
64603 "tags": {
64604 "html": true,
64605 "head": true,
64606 "body": true,
64607 "b": true,
64608 "nobr": true,
64609 "i": true
64610 },
64611 "doctype": true
64612 },
64613 "tree": [
64614 {
64615 "doctype": "html"
64616 },
64617 {
64618 "tag": "html",
64619 "children": [
64620 {
64621 "tag": "head"
64622 },
64623 {
64624 "tag": "body",
64625 "children": [
64626 {
64627 "tag": "b",
64628 "children": [
64629 {
64630 "tag": "nobr",
64631 "children": [
64632 {
64633 "text": "1"
64634 }
64635 ]
64636 },
64637 {
64638 "tag": "nobr"
64639 }
64640 ]
64641 },
64642 {
64643 "tag": "nobr",
64644 "children": [
64645 {
64646 "tag": "i"
64647 }
64648 ]
64649 },
64650 {
64651 "tag": "i",
64652 "children": [
64653 {
64654 "tag": "nobr",
64655 "children": [
64656 {
64657 "text": "2"
64658 }
64659 ]
64660 },
64661 {
64662 "tag": "nobr"
64663 }
64664 ]
64665 },
64666 {
64667 "tag": "nobr",
64668 "children": [
64669 {
64670 "text": "3"
64671 }
64672 ]
64673 }
64674 ]
64675 }
64676 ]
64677 }
64678 ],
64679 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1</nobr><nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></body></html>",
64680 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr>"
64681 }
64682 },
64683 {
64684 "data": "<!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3",
64685 "errors": [
64686 "(1,44): foster-parenting-start-tag",
64687 "(1,48): foster-parenting-end-tag",
64688 "(1,48): adoption-agency-1.3",
64689 "(1,51): foster-parenting-start-tag",
64690 "(1,57): foster-parenting-start-tag",
64691 "(1,57): nobr-already-in-scope",
64692 "(1,57): adoption-agency-1.2",
64693 "(1,58): foster-parenting-character",
64694 "(1,64): foster-parenting-start-tag",
64695 "(1,64): nobr-already-in-scope",
64696 "(1,68): foster-parenting-end-tag",
64697 "(1,68): adoption-agency-1.2",
64698 "(1,69): foster-parenting-character",
64699 "(1,69): eof-in-table"
64700 ],
64701 "document": {
64702 "props": {
64703 "tags": {
64704 "html": true,
64705 "head": true,
64706 "body": true,
64707 "b": true,
64708 "nobr": true,
64709 "i": true,
64710 "table": true
64711 },
64712 "doctype": true
64713 },
64714 "tree": [
64715 {
64716 "doctype": "html"
64717 },
64718 {
64719 "tag": "html",
64720 "children": [
64721 {
64722 "tag": "head"
64723 },
64724 {
64725 "tag": "body",
64726 "children": [
64727 {
64728 "tag": "b",
64729 "children": [
64730 {
64731 "tag": "nobr",
64732 "children": [
64733 {
64734 "text": "1"
64735 },
64736 {
64737 "tag": "nobr",
64738 "children": [
64739 {
64740 "tag": "i"
64741 }
64742 ]
64743 },
64744 {
64745 "tag": "i",
64746 "children": [
64747 {
64748 "tag": "nobr",
64749 "children": [
64750 {
64751 "text": "2"
64752 }
64753 ]
64754 },
64755 {
64756 "tag": "nobr"
64757 }
64758 ]
64759 },
64760 {
64761 "tag": "nobr",
64762 "children": [
64763 {
64764 "text": "3"
64765 }
64766 ]
64767 },
64768 {
64769 "tag": "table"
64770 }
64771 ]
64772 }
64773 ]
64774 }
64775 ]
64776 }
64777 ]
64778 }
64779 ],
64780 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1<nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr><table></table></nobr></b></body></html>",
64781 "noQuirksBodyHtml": "<b><nobr>1<nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr><table></table></nobr></b>"
64782 }
64783 },
64784 {
64785 "data": "<!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3",
64786 "errors": [
64787 "(1,56): unexpected-end-tag",
64788 "(1,65): unexpected-start-tag-implies-end-tag",
64789 "(1,65): adoption-agency-1.3",
64790 "(1,72): unexpected-start-tag-implies-end-tag",
64791 "(1,76): adoption-agency-1.3",
64792 "(1,77): expected-closing-tag-but-got-eof"
64793 ],
64794 "document": {
64795 "props": {
64796 "tags": {
64797 "html": true,
64798 "head": true,
64799 "body": true,
64800 "b": true,
64801 "nobr": true,
64802 "table": true,
64803 "tbody": true,
64804 "tr": true,
64805 "td": true,
64806 "i": true
64807 },
64808 "doctype": true
64809 },
64810 "tree": [
64811 {
64812 "doctype": "html"
64813 },
64814 {
64815 "tag": "html",
64816 "children": [
64817 {
64818 "tag": "head"
64819 },
64820 {
64821 "tag": "body",
64822 "children": [
64823 {
64824 "tag": "b",
64825 "children": [
64826 {
64827 "tag": "nobr",
64828 "children": [
64829 {
64830 "text": "1"
64831 },
64832 {
64833 "tag": "table",
64834 "children": [
64835 {
64836 "tag": "tbody",
64837 "children": [
64838 {
64839 "tag": "tr",
64840 "children": [
64841 {
64842 "tag": "td",
64843 "children": [
64844 {
64845 "tag": "nobr",
64846 "children": [
64847 {
64848 "tag": "i"
64849 }
64850 ]
64851 },
64852 {
64853 "tag": "i",
64854 "children": [
64855 {
64856 "tag": "nobr",
64857 "children": [
64858 {
64859 "text": "2"
64860 }
64861 ]
64862 },
64863 {
64864 "tag": "nobr"
64865 }
64866 ]
64867 },
64868 {
64869 "tag": "nobr",
64870 "children": [
64871 {
64872 "text": "3"
64873 }
64874 ]
64875 }
64876 ]
64877 }
64878 ]
64879 }
64880 ]
64881 }
64882 ]
64883 }
64884 ]
64885 }
64886 ]
64887 }
64888 ]
64889 }
64890 ]
64891 }
64892 ],
64893 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1<table><tbody><tr><td><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></td></tr></tbody></table></nobr></b></body></html>",
64894 "noQuirksBodyHtml": "<b><nobr>1<table><tbody><tr><td><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></td></tr></tbody></table></nobr></b>"
64895 }
64896 },
64897 {
64898 "data": "<!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3",
64899 "errors": [
64900 "(1,42): unexpected-start-tag-implies-end-tag",
64901 "(1,42): adoption-agency-1.3",
64902 "(1,46): adoption-agency-1.3",
64903 "(1,46): adoption-agency-1.3",
64904 "(1,55): unexpected-start-tag-implies-end-tag",
64905 "(1,55): adoption-agency-1.3",
64906 "(1,62): unexpected-start-tag-implies-end-tag",
64907 "(1,66): adoption-agency-1.3",
64908 "(1,67): expected-closing-tag-but-got-eof"
64909 ],
64910 "document": {
64911 "props": {
64912 "tags": {
64913 "html": true,
64914 "head": true,
64915 "body": true,
64916 "b": true,
64917 "nobr": true,
64918 "div": true,
64919 "i": true
64920 },
64921 "doctype": true
64922 },
64923 "tree": [
64924 {
64925 "doctype": "html"
64926 },
64927 {
64928 "tag": "html",
64929 "children": [
64930 {
64931 "tag": "head"
64932 },
64933 {
64934 "tag": "body",
64935 "children": [
64936 {
64937 "tag": "b",
64938 "children": [
64939 {
64940 "tag": "nobr",
64941 "children": [
64942 {
64943 "text": "1"
64944 }
64945 ]
64946 }
64947 ]
64948 },
64949 {
64950 "tag": "div",
64951 "children": [
64952 {
64953 "tag": "b",
64954 "children": [
64955 {
64956 "tag": "nobr"
64957 },
64958 {
64959 "tag": "nobr"
64960 }
64961 ]
64962 },
64963 {
64964 "tag": "nobr",
64965 "children": [
64966 {
64967 "tag": "i"
64968 }
64969 ]
64970 },
64971 {
64972 "tag": "i",
64973 "children": [
64974 {
64975 "tag": "nobr",
64976 "children": [
64977 {
64978 "text": "2"
64979 }
64980 ]
64981 },
64982 {
64983 "tag": "nobr"
64984 }
64985 ]
64986 },
64987 {
64988 "tag": "nobr",
64989 "children": [
64990 {
64991 "text": "3"
64992 }
64993 ]
64994 }
64995 ]
64996 }
64997 ]
64998 }
64999 ]
65000 }
65001 ],
65002 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1</nobr></b><div><b><nobr></nobr><nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></div></body></html>",
65003 "noQuirksBodyHtml": "<b><nobr>1</nobr></b><div><b><nobr></nobr><nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></div>"
65004 }
65005 },
65006 {
65007 "data": "<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3",
65008 "errors": [
65009 "(1,37): unexpected-start-tag-implies-end-tag",
65010 "(1,41): adoption-agency-1.3",
65011 "(1,55): unexpected-start-tag-implies-end-tag",
65012 "(1,55): adoption-agency-1.3",
65013 "(1,62): unexpected-start-tag-implies-end-tag",
65014 "(1,66): adoption-agency-1.3",
65015 "(1,67): expected-closing-tag-but-got-eof"
65016 ],
65017 "document": {
65018 "props": {
65019 "tags": {
65020 "html": true,
65021 "head": true,
65022 "body": true,
65023 "b": true,
65024 "nobr": true,
65025 "div": true,
65026 "i": true
65027 },
65028 "doctype": true
65029 },
65030 "tree": [
65031 {
65032 "doctype": "html"
65033 },
65034 {
65035 "tag": "html",
65036 "children": [
65037 {
65038 "tag": "head"
65039 },
65040 {
65041 "tag": "body",
65042 "children": [
65043 {
65044 "tag": "b",
65045 "children": [
65046 {
65047 "tag": "nobr",
65048 "children": [
65049 {
65050 "text": "1"
65051 }
65052 ]
65053 },
65054 {
65055 "tag": "nobr"
65056 }
65057 ]
65058 },
65059 {
65060 "tag": "div",
65061 "children": [
65062 {
65063 "tag": "nobr",
65064 "children": [
65065 {
65066 "tag": "i"
65067 }
65068 ]
65069 },
65070 {
65071 "tag": "i",
65072 "children": [
65073 {
65074 "tag": "nobr",
65075 "children": [
65076 {
65077 "text": "2"
65078 }
65079 ]
65080 },
65081 {
65082 "tag": "nobr"
65083 }
65084 ]
65085 },
65086 {
65087 "tag": "nobr",
65088 "children": [
65089 {
65090 "text": "3"
65091 }
65092 ]
65093 }
65094 ]
65095 }
65096 ]
65097 }
65098 ]
65099 }
65100 ],
65101 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1</nobr><nobr></nobr></b><div><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></div></body></html>",
65102 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr></nobr></b><div><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></div>"
65103 }
65104 },
65105 {
65106 "data": "<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>",
65107 "errors": [
65108 "(1,37): unexpected-start-tag-implies-end-tag",
65109 "(1,46): adoption-agency-1.3",
65110 "(1,55): unexpected-start-tag-implies-end-tag",
65111 "(1,55): adoption-agency-1.3",
65112 "(1,55): expected-closing-tag-but-got-eof"
65113 ],
65114 "document": {
65115 "props": {
65116 "tags": {
65117 "html": true,
65118 "head": true,
65119 "body": true,
65120 "b": true,
65121 "nobr": true,
65122 "ins": true,
65123 "i": true
65124 },
65125 "doctype": true
65126 },
65127 "tree": [
65128 {
65129 "doctype": "html"
65130 },
65131 {
65132 "tag": "html",
65133 "children": [
65134 {
65135 "tag": "head"
65136 },
65137 {
65138 "tag": "body",
65139 "children": [
65140 {
65141 "tag": "b",
65142 "children": [
65143 {
65144 "tag": "nobr",
65145 "children": [
65146 {
65147 "text": "1"
65148 }
65149 ]
65150 },
65151 {
65152 "tag": "nobr",
65153 "children": [
65154 {
65155 "tag": "ins"
65156 }
65157 ]
65158 }
65159 ]
65160 },
65161 {
65162 "tag": "nobr",
65163 "children": [
65164 {
65165 "tag": "i"
65166 }
65167 ]
65168 },
65169 {
65170 "tag": "i",
65171 "children": [
65172 {
65173 "tag": "nobr"
65174 }
65175 ]
65176 }
65177 ]
65178 }
65179 ]
65180 }
65181 ],
65182 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1</nobr><nobr><ins></ins></nobr></b><nobr><i></i></nobr><i><nobr></nobr></i></body></html>",
65183 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr><ins></ins></nobr></b><nobr><i></i></nobr><i><nobr></nobr></i>"
65184 }
65185 },
65186 {
65187 "data": "<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2",
65188 "errors": [
65189 "(1,42): unexpected-start-tag-implies-end-tag",
65190 "(1,42): adoption-agency-1.3",
65191 "(1,46): adoption-agency-1.3",
65192 "(1,50): expected-closing-tag-but-got-eof"
65193 ],
65194 "document": {
65195 "props": {
65196 "tags": {
65197 "html": true,
65198 "head": true,
65199 "body": true,
65200 "b": true,
65201 "nobr": true,
65202 "ins": true,
65203 "i": true
65204 },
65205 "doctype": true
65206 },
65207 "tree": [
65208 {
65209 "doctype": "html"
65210 },
65211 {
65212 "tag": "html",
65213 "children": [
65214 {
65215 "tag": "head"
65216 },
65217 {
65218 "tag": "body",
65219 "children": [
65220 {
65221 "tag": "b",
65222 "children": [
65223 {
65224 "tag": "nobr",
65225 "children": [
65226 {
65227 "text": "1"
65228 },
65229 {
65230 "tag": "ins"
65231 }
65232 ]
65233 },
65234 {
65235 "tag": "nobr"
65236 }
65237 ]
65238 },
65239 {
65240 "tag": "nobr",
65241 "children": [
65242 {
65243 "tag": "i",
65244 "children": [
65245 {
65246 "text": "2"
65247 }
65248 ]
65249 }
65250 ]
65251 }
65252 ]
65253 }
65254 ]
65255 }
65256 ],
65257 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1<ins></ins></nobr><nobr></nobr></b><nobr><i>2</i></nobr></body></html>",
65258 "noQuirksBodyHtml": "<b><nobr>1<ins></ins></nobr><nobr></nobr></b><nobr><i>2</i></nobr>"
65259 }
65260 },
65261 {
65262 "data": "<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>",
65263 "errors": [
65264 "(1,35): adoption-agency-1.3",
65265 "(1,44): unexpected-start-tag-implies-end-tag",
65266 "(1,44): adoption-agency-1.3",
65267 "(1,49): adoption-agency-1.3"
65268 ],
65269 "document": {
65270 "props": {
65271 "tags": {
65272 "html": true,
65273 "head": true,
65274 "body": true,
65275 "b": true,
65276 "nobr": true,
65277 "i": true
65278 },
65279 "doctype": true
65280 },
65281 "tree": [
65282 {
65283 "doctype": "html"
65284 },
65285 {
65286 "tag": "html",
65287 "children": [
65288 {
65289 "tag": "head"
65290 },
65291 {
65292 "tag": "body",
65293 "children": [
65294 {
65295 "tag": "b",
65296 "children": [
65297 {
65298 "text": "1"
65299 },
65300 {
65301 "tag": "nobr"
65302 }
65303 ]
65304 },
65305 {
65306 "tag": "nobr",
65307 "children": [
65308 {
65309 "tag": "i"
65310 }
65311 ]
65312 },
65313 {
65314 "tag": "i",
65315 "children": [
65316 {
65317 "tag": "nobr",
65318 "children": [
65319 {
65320 "text": "2"
65321 }
65322 ]
65323 }
65324 ]
65325 }
65326 ]
65327 }
65328 ]
65329 }
65330 ],
65331 "html": "<!DOCTYPE html><html><head></head><body><b>1<nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr></i></body></html>",
65332 "noQuirksBodyHtml": "<b>1<nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr></i>"
65333 }
65334 },
65335 {
65336 "data": "<p><code x</code></p>\n",
65337 "errors": [
65338 "(1,3): expected-doctype-but-got-start-tag",
65339 "(1,11): invalid-character-in-attribute-name",
65340 "(1,12): unexpected-character-after-solidus-in-tag",
65341 "(1,21): unexpected-end-tag",
65342 "(2,0): expected-closing-tag-but-got-eof"
65343 ],
65344 "document": {
65345 "props": {
65346 "tags": {
65347 "html": true,
65348 "head": true,
65349 "body": true,
65350 "p": true,
65351 "code": true
65352 },
65353 "attrWithFunnyChar": true
65354 },
65355 "tree": [
65356 {
65357 "tag": "html",
65358 "children": [
65359 {
65360 "tag": "head"
65361 },
65362 {
65363 "tag": "body",
65364 "children": [
65365 {
65366 "tag": "p",
65367 "children": [
65368 {
65369 "tag": "code",
65370 "attrs": [
65371 {
65372 "name": "code",
65373 "value": ""
65374 },
65375 {
65376 "name": "x<",
65377 "value": ""
65378 }
65379 ]
65380 }
65381 ]
65382 },
65383 {
65384 "tag": "code",
65385 "attrs": [
65386 {
65387 "name": "code",
65388 "value": ""
65389 },
65390 {
65391 "name": "x<",
65392 "value": ""
65393 }
65394 ],
65395 "children": [
65396 {
65397 "text": "\n"
65398 }
65399 ]
65400 }
65401 ]
65402 }
65403 ]
65404 }
65405 ],
65406 "html": "<html><head></head><body><p><code x<=\"\" code=\"\"></code></p><code x<=\"\" code=\"\">\n</code></body></html>",
65407 "noQuirksBodyHtml": "<p><code x<=\"\" code=\"\"></code></p><code x<=\"\" code=\"\">\n</code>"
65408 }
65409 },
65410 {
65411 "data": "<!DOCTYPE html><svg><foreignObject><p><i></p>a",
65412 "errors": [
65413 "(1,45): unexpected-end-tag",
65414 "(1,46): expected-closing-tag-but-got-eof"
65415 ],
65416 "document": {
65417 "props": {
65418 "tags": {
65419 "html": true,
65420 "head": true,
65421 "body": true,
65422 "svg svg": true,
65423 "svg foreignObject": true,
65424 "p": true,
65425 "i": true
65426 },
65427 "doctype": true
65428 },
65429 "tree": [
65430 {
65431 "doctype": "html"
65432 },
65433 {
65434 "tag": "html",
65435 "children": [
65436 {
65437 "tag": "head"
65438 },
65439 {
65440 "tag": "body",
65441 "children": [
65442 {
65443 "tag": "svg",
65444 "ns": "http://www.w3.org/2000/svg",
65445 "children": [
65446 {
65447 "tag": "foreignObject",
65448 "ns": "http://www.w3.org/2000/svg",
65449 "children": [
65450 {
65451 "tag": "p",
65452 "children": [
65453 {
65454 "tag": "i"
65455 }
65456 ]
65457 },
65458 {
65459 "tag": "i",
65460 "children": [
65461 {
65462 "text": "a"
65463 }
65464 ]
65465 }
65466 ]
65467 }
65468 ]
65469 }
65470 ]
65471 }
65472 ]
65473 }
65474 ],
65475 "html": "<!DOCTYPE html><html><head></head><body><svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg></body></html>",
65476 "noQuirksBodyHtml": "<svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg>"
65477 }
65478 },
65479 {
65480 "data": "<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a",
65481 "errors": [
65482 "(1,60): unexpected-end-tag",
65483 "(1,61): expected-closing-tag-but-got-eof"
65484 ],
65485 "document": {
65486 "props": {
65487 "tags": {
65488 "html": true,
65489 "head": true,
65490 "body": true,
65491 "table": true,
65492 "tbody": true,
65493 "tr": true,
65494 "td": true,
65495 "svg svg": true,
65496 "svg foreignObject": true,
65497 "p": true,
65498 "i": true
65499 },
65500 "doctype": true
65501 },
65502 "tree": [
65503 {
65504 "doctype": "html"
65505 },
65506 {
65507 "tag": "html",
65508 "children": [
65509 {
65510 "tag": "head"
65511 },
65512 {
65513 "tag": "body",
65514 "children": [
65515 {
65516 "tag": "table",
65517 "children": [
65518 {
65519 "tag": "tbody",
65520 "children": [
65521 {
65522 "tag": "tr",
65523 "children": [
65524 {
65525 "tag": "td",
65526 "children": [
65527 {
65528 "tag": "svg",
65529 "ns": "http://www.w3.org/2000/svg",
65530 "children": [
65531 {
65532 "tag": "foreignObject",
65533 "ns": "http://www.w3.org/2000/svg",
65534 "children": [
65535 {
65536 "tag": "p",
65537 "children": [
65538 {
65539 "tag": "i"
65540 }
65541 ]
65542 },
65543 {
65544 "tag": "i",
65545 "children": [
65546 {
65547 "text": "a"
65548 }
65549 ]
65550 }
65551 ]
65552 }
65553 ]
65554 }
65555 ]
65556 }
65557 ]
65558 }
65559 ]
65560 }
65561 ]
65562 }
65563 ]
65564 }
65565 ]
65566 }
65567 ],
65568 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg></td></tr></tbody></table></body></html>",
65569 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg></td></tr></tbody></table>"
65570 }
65571 },
65572 {
65573 "data": "<!DOCTYPE html><math><mtext><p><i></p>a",
65574 "errors": [
65575 "(1,38): unexpected-end-tag",
65576 "(1,39): expected-closing-tag-but-got-eof"
65577 ],
65578 "document": {
65579 "props": {
65580 "tags": {
65581 "html": true,
65582 "head": true,
65583 "body": true,
65584 "math math": true,
65585 "math mtext": true,
65586 "p": true,
65587 "i": true
65588 },
65589 "doctype": true
65590 },
65591 "tree": [
65592 {
65593 "doctype": "html"
65594 },
65595 {
65596 "tag": "html",
65597 "children": [
65598 {
65599 "tag": "head"
65600 },
65601 {
65602 "tag": "body",
65603 "children": [
65604 {
65605 "tag": "math",
65606 "ns": "http://www.w3.org/1998/Math/MathML",
65607 "children": [
65608 {
65609 "tag": "mtext",
65610 "ns": "http://www.w3.org/1998/Math/MathML",
65611 "children": [
65612 {
65613 "tag": "p",
65614 "children": [
65615 {
65616 "tag": "i"
65617 }
65618 ]
65619 },
65620 {
65621 "tag": "i",
65622 "children": [
65623 {
65624 "text": "a"
65625 }
65626 ]
65627 }
65628 ]
65629 }
65630 ]
65631 }
65632 ]
65633 }
65634 ]
65635 }
65636 ],
65637 "html": "<!DOCTYPE html><html><head></head><body><math><mtext><p><i></i></p><i>a</i></mtext></math></body></html>",
65638 "noQuirksBodyHtml": "<math><mtext><p><i></i></p><i>a</i></mtext></math>"
65639 }
65640 },
65641 {
65642 "data": "<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a",
65643 "errors": [
65644 "(1,53): unexpected-end-tag",
65645 "(1,54): expected-closing-tag-but-got-eof"
65646 ],
65647 "document": {
65648 "props": {
65649 "tags": {
65650 "html": true,
65651 "head": true,
65652 "body": true,
65653 "table": true,
65654 "tbody": true,
65655 "tr": true,
65656 "td": true,
65657 "math math": true,
65658 "math mtext": true,
65659 "p": true,
65660 "i": true
65661 },
65662 "doctype": true
65663 },
65664 "tree": [
65665 {
65666 "doctype": "html"
65667 },
65668 {
65669 "tag": "html",
65670 "children": [
65671 {
65672 "tag": "head"
65673 },
65674 {
65675 "tag": "body",
65676 "children": [
65677 {
65678 "tag": "table",
65679 "children": [
65680 {
65681 "tag": "tbody",
65682 "children": [
65683 {
65684 "tag": "tr",
65685 "children": [
65686 {
65687 "tag": "td",
65688 "children": [
65689 {
65690 "tag": "math",
65691 "ns": "http://www.w3.org/1998/Math/MathML",
65692 "children": [
65693 {
65694 "tag": "mtext",
65695 "ns": "http://www.w3.org/1998/Math/MathML",
65696 "children": [
65697 {
65698 "tag": "p",
65699 "children": [
65700 {
65701 "tag": "i"
65702 }
65703 ]
65704 },
65705 {
65706 "tag": "i",
65707 "children": [
65708 {
65709 "text": "a"
65710 }
65711 ]
65712 }
65713 ]
65714 }
65715 ]
65716 }
65717 ]
65718 }
65719 ]
65720 }
65721 ]
65722 }
65723 ]
65724 }
65725 ]
65726 }
65727 ]
65728 }
65729 ],
65730 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><math><mtext><p><i></i></p><i>a</i></mtext></math></td></tr></tbody></table></body></html>",
65731 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mtext><p><i></i></p><i>a</i></mtext></math></td></tr></tbody></table>"
65732 }
65733 },
65734 {
65735 "data": "<!DOCTYPE html><body><div><!/div>a",
65736 "errors": [
65737 "(1,28): expected-dashes-or-doctype",
65738 "(1,34): expected-closing-tag-but-got-eof"
65739 ],
65740 "document": {
65741 "props": {
65742 "tags": {
65743 "html": true,
65744 "head": true,
65745 "body": true,
65746 "div": true
65747 },
65748 "doctype": true,
65749 "comment": true
65750 },
65751 "tree": [
65752 {
65753 "doctype": "html"
65754 },
65755 {
65756 "tag": "html",
65757 "children": [
65758 {
65759 "tag": "head"
65760 },
65761 {
65762 "tag": "body",
65763 "children": [
65764 {
65765 "tag": "div",
65766 "children": [
65767 {
65768 "comment": "/div"
65769 },
65770 {
65771 "text": "a"
65772 }
65773 ]
65774 }
65775 ]
65776 }
65777 ]
65778 }
65779 ],
65780 "html": "<!DOCTYPE html><html><head></head><body><div><!--/div-->a</div></body></html>",
65781 "noQuirksBodyHtml": "<div><!--/div-->a</div>"
65782 }
65783 },
65784 {
65785 "data": "<button><p><button>",
65786 "errors": [
65787 "Line 1 Col 8 Unexpected start tag (button). Expected DOCTYPE.",
65788 "Line 1 Col 19 Unexpected start tag (button) implies end tag (button).",
65789 "Line 1 Col 19 Expected closing tag. Unexpected end of file."
65790 ],
65791 "document": {
65792 "props": {
65793 "tags": {
65794 "html": true,
65795 "head": true,
65796 "body": true,
65797 "button": true,
65798 "p": true
65799 }
65800 },
65801 "tree": [
65802 {
65803 "tag": "html",
65804 "children": [
65805 {
65806 "tag": "head"
65807 },
65808 {
65809 "tag": "body",
65810 "children": [
65811 {
65812 "tag": "button",
65813 "children": [
65814 {
65815 "tag": "p"
65816 }
65817 ]
65818 },
65819 {
65820 "tag": "button"
65821 }
65822 ]
65823 }
65824 ]
65825 }
65826 ],
65827 "html": "<html><head></head><body><button><p></p></button><button></button></body></html>",
65828 "noQuirksBodyHtml": "<button><p></p></button><button></button>"
65829 }
65830 }
65831 ],
65832 "tests3.dat": [
65833 {
65834 "data": "<head></head><style></style>",
65835 "errors": [
65836 "(1,6): expected-doctype-but-got-start-tag",
65837 "(1,20): unexpected-start-tag-out-of-my-head"
65838 ],
65839 "document": {
65840 "props": {
65841 "tags": {
65842 "html": true,
65843 "head": true,
65844 "style": true,
65845 "body": true
65846 }
65847 },
65848 "tree": [
65849 {
65850 "tag": "html",
65851 "children": [
65852 {
65853 "tag": "head",
65854 "children": [
65855 {
65856 "tag": "style"
65857 }
65858 ]
65859 },
65860 {
65861 "tag": "body"
65862 }
65863 ]
65864 }
65865 ],
65866 "html": "<html><head><style></style></head><body></body></html>",
65867 "noQuirksBodyHtml": "<style></style>"
65868 }
65869 },
65870 {
65871 "data": "<head></head><script></script>",
65872 "errors": [
65873 "(1,6): expected-doctype-but-got-start-tag",
65874 "(1,21): unexpected-start-tag-out-of-my-head"
65875 ],
65876 "document": {
65877 "props": {
65878 "tags": {
65879 "html": true,
65880 "head": true,
65881 "script": true,
65882 "body": true
65883 }
65884 },
65885 "tree": [
65886 {
65887 "tag": "html",
65888 "children": [
65889 {
65890 "tag": "head",
65891 "children": [
65892 {
65893 "tag": "script"
65894 }
65895 ]
65896 },
65897 {
65898 "tag": "body"
65899 }
65900 ]
65901 }
65902 ],
65903 "html": "<html><head><script></script></head><body></body></html>",
65904 "noQuirksBodyHtml": "<script></script>"
65905 }
65906 },
65907 {
65908 "data": "<head></head><!-- --><style></style><!-- --><script></script>",
65909 "errors": [
65910 "(1,6): expected-doctype-but-got-start-tag",
65911 "(1,28): unexpected-start-tag-out-of-my-head",
65912 "(1,52): unexpected-start-tag-out-of-my-head"
65913 ],
65914 "document": {
65915 "props": {
65916 "tags": {
65917 "html": true,
65918 "head": true,
65919 "style": true,
65920 "script": true,
65921 "body": true
65922 },
65923 "comment": true
65924 },
65925 "tree": [
65926 {
65927 "tag": "html",
65928 "children": [
65929 {
65930 "tag": "head",
65931 "children": [
65932 {
65933 "tag": "style"
65934 },
65935 {
65936 "tag": "script"
65937 }
65938 ]
65939 },
65940 {
65941 "comment": " "
65942 },
65943 {
65944 "comment": " "
65945 },
65946 {
65947 "tag": "body"
65948 }
65949 ]
65950 }
65951 ],
65952 "html": "<html><head><style></style><script></script></head><!-- --><!-- --><body></body></html>",
65953 "noQuirksBodyHtml": "<!-- --><style></style><!-- --><script></script>"
65954 }
65955 },
65956 {
65957 "data": "<head></head><!-- -->x<style></style><!-- --><script></script>",
65958 "errors": [
65959 "(1,6): expected-doctype-but-got-start-tag"
65960 ],
65961 "document": {
65962 "props": {
65963 "tags": {
65964 "html": true,
65965 "head": true,
65966 "body": true,
65967 "style": true,
65968 "script": true
65969 },
65970 "comment": true
65971 },
65972 "tree": [
65973 {
65974 "tag": "html",
65975 "children": [
65976 {
65977 "tag": "head"
65978 },
65979 {
65980 "comment": " "
65981 },
65982 {
65983 "tag": "body",
65984 "children": [
65985 {
65986 "text": "x"
65987 },
65988 {
65989 "tag": "style"
65990 },
65991 {
65992 "comment": " "
65993 },
65994 {
65995 "tag": "script"
65996 }
65997 ]
65998 }
65999 ]
66000 }
66001 ],
66002 "html": "<html><head></head><!-- --><body>x<style></style><!-- --><script></script></body></html>",
66003 "noQuirksBodyHtml": "<!-- -->x<style></style><!-- --><script></script>"
66004 }
66005 },
66006 {
66007 "data": "<!DOCTYPE html><html><head></head><body><pre>\n</pre></body></html>",
66008 "errors": [],
66009 "document": {
66010 "props": {
66011 "tags": {
66012 "html": true,
66013 "head": true,
66014 "body": true,
66015 "pre": true
66016 },
66017 "doctype": true
66018 },
66019 "tree": [
66020 {
66021 "doctype": "html"
66022 },
66023 {
66024 "tag": "html",
66025 "children": [
66026 {
66027 "tag": "head"
66028 },
66029 {
66030 "tag": "body",
66031 "children": [
66032 {
66033 "tag": "pre"
66034 }
66035 ]
66036 }
66037 ]
66038 }
66039 ],
66040 "html": "<!DOCTYPE html><html><head></head><body><pre></pre></body></html>",
66041 "noQuirksBodyHtml": "<pre></pre>"
66042 }
66043 },
66044 {
66045 "data": "<!DOCTYPE html><html><head></head><body><pre>\nfoo</pre></body></html>",
66046 "errors": [],
66047 "document": {
66048 "props": {
66049 "tags": {
66050 "html": true,
66051 "head": true,
66052 "body": true,
66053 "pre": true
66054 },
66055 "doctype": true
66056 },
66057 "tree": [
66058 {
66059 "doctype": "html"
66060 },
66061 {
66062 "tag": "html",
66063 "children": [
66064 {
66065 "tag": "head"
66066 },
66067 {
66068 "tag": "body",
66069 "children": [
66070 {
66071 "tag": "pre",
66072 "children": [
66073 {
66074 "text": "foo"
66075 }
66076 ]
66077 }
66078 ]
66079 }
66080 ]
66081 }
66082 ],
66083 "html": "<!DOCTYPE html><html><head></head><body><pre>foo</pre></body></html>",
66084 "noQuirksBodyHtml": "<pre>foo</pre>"
66085 }
66086 },
66087 {
66088 "data": "<!DOCTYPE html><html><head></head><body><pre>\n\nfoo</pre></body></html>",
66089 "errors": [],
66090 "document": {
66091 "props": {
66092 "tags": {
66093 "html": true,
66094 "head": true,
66095 "body": true,
66096 "pre": true
66097 },
66098 "doctype": true
66099 },
66100 "tree": [
66101 {
66102 "doctype": "html"
66103 },
66104 {
66105 "tag": "html",
66106 "children": [
66107 {
66108 "tag": "head"
66109 },
66110 {
66111 "tag": "body",
66112 "children": [
66113 {
66114 "tag": "pre",
66115 "children": [
66116 {
66117 "text": "\nfoo"
66118 }
66119 ]
66120 }
66121 ]
66122 }
66123 ]
66124 }
66125 ],
66126 "html": "<!DOCTYPE html><html><head></head><body><pre>\nfoo</pre></body></html>",
66127 "noQuirksBodyHtml": "<pre>\nfoo</pre>"
66128 }
66129 },
66130 {
66131 "data": "<!DOCTYPE html><html><head></head><body><pre>\nfoo\n</pre></body></html>",
66132 "errors": [],
66133 "document": {
66134 "props": {
66135 "tags": {
66136 "html": true,
66137 "head": true,
66138 "body": true,
66139 "pre": true
66140 },
66141 "doctype": true
66142 },
66143 "tree": [
66144 {
66145 "doctype": "html"
66146 },
66147 {
66148 "tag": "html",
66149 "children": [
66150 {
66151 "tag": "head"
66152 },
66153 {
66154 "tag": "body",
66155 "children": [
66156 {
66157 "tag": "pre",
66158 "children": [
66159 {
66160 "text": "foo\n"
66161 }
66162 ]
66163 }
66164 ]
66165 }
66166 ]
66167 }
66168 ],
66169 "html": "<!DOCTYPE html><html><head></head><body><pre>foo\n</pre></body></html>",
66170 "noQuirksBodyHtml": "<pre>foo\n</pre>"
66171 }
66172 },
66173 {
66174 "data": "<!DOCTYPE html><html><head></head><body><pre>x</pre><span>\n</span></body></html>",
66175 "errors": [],
66176 "document": {
66177 "props": {
66178 "tags": {
66179 "html": true,
66180 "head": true,
66181 "body": true,
66182 "pre": true,
66183 "span": true
66184 },
66185 "doctype": true
66186 },
66187 "tree": [
66188 {
66189 "doctype": "html"
66190 },
66191 {
66192 "tag": "html",
66193 "children": [
66194 {
66195 "tag": "head"
66196 },
66197 {
66198 "tag": "body",
66199 "children": [
66200 {
66201 "tag": "pre",
66202 "children": [
66203 {
66204 "text": "x"
66205 }
66206 ]
66207 },
66208 {
66209 "tag": "span",
66210 "children": [
66211 {
66212 "text": "\n"
66213 }
66214 ]
66215 }
66216 ]
66217 }
66218 ]
66219 }
66220 ],
66221 "html": "<!DOCTYPE html><html><head></head><body><pre>x</pre><span>\n</span></body></html>",
66222 "noQuirksBodyHtml": "<pre>x</pre><span>\n</span>"
66223 }
66224 },
66225 {
66226 "data": "<!DOCTYPE html><html><head></head><body><pre>x\ny</pre></body></html>",
66227 "errors": [],
66228 "document": {
66229 "props": {
66230 "tags": {
66231 "html": true,
66232 "head": true,
66233 "body": true,
66234 "pre": true
66235 },
66236 "doctype": true
66237 },
66238 "tree": [
66239 {
66240 "doctype": "html"
66241 },
66242 {
66243 "tag": "html",
66244 "children": [
66245 {
66246 "tag": "head"
66247 },
66248 {
66249 "tag": "body",
66250 "children": [
66251 {
66252 "tag": "pre",
66253 "children": [
66254 {
66255 "text": "x\ny"
66256 }
66257 ]
66258 }
66259 ]
66260 }
66261 ]
66262 }
66263 ],
66264 "html": "<!DOCTYPE html><html><head></head><body><pre>x\ny</pre></body></html>",
66265 "noQuirksBodyHtml": "<pre>x\ny</pre>"
66266 }
66267 },
66268 {
66269 "data": "<!DOCTYPE html><html><head></head><body><pre>x<div>\ny</pre></body></html>",
66270 "errors": [
66271 "(2,7): end-tag-too-early"
66272 ],
66273 "document": {
66274 "props": {
66275 "tags": {
66276 "html": true,
66277 "head": true,
66278 "body": true,
66279 "pre": true,
66280 "div": true
66281 },
66282 "doctype": true
66283 },
66284 "tree": [
66285 {
66286 "doctype": "html"
66287 },
66288 {
66289 "tag": "html",
66290 "children": [
66291 {
66292 "tag": "head"
66293 },
66294 {
66295 "tag": "body",
66296 "children": [
66297 {
66298 "tag": "pre",
66299 "children": [
66300 {
66301 "text": "x"
66302 },
66303 {
66304 "tag": "div",
66305 "children": [
66306 {
66307 "text": "\ny"
66308 }
66309 ]
66310 }
66311 ]
66312 }
66313 ]
66314 }
66315 ]
66316 }
66317 ],
66318 "html": "<!DOCTYPE html><html><head></head><body><pre>x<div>\ny</div></pre></body></html>",
66319 "noQuirksBodyHtml": "<pre>x<div>\ny</div></pre>"
66320 }
66321 },
66322 {
66323 "data": "<!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>",
66324 "errors": [],
66325 "document": {
66326 "props": {
66327 "tags": {
66328 "html": true,
66329 "head": true,
66330 "body": true,
66331 "pre": true
66332 },
66333 "doctype": true
66334 },
66335 "tree": [
66336 {
66337 "doctype": "html"
66338 },
66339 {
66340 "tag": "html",
66341 "children": [
66342 {
66343 "tag": "head"
66344 },
66345 {
66346 "tag": "body",
66347 "children": [
66348 {
66349 "tag": "pre",
66350 "children": [
66351 {
66352 "text": "\nA"
66353 }
66354 ]
66355 }
66356 ]
66357 }
66358 ]
66359 }
66360 ],
66361 "html": "<!DOCTYPE html><html><head></head><body><pre>\nA</pre></body></html>",
66362 "noQuirksBodyHtml": "<pre>\nA</pre>"
66363 }
66364 },
66365 {
66366 "data": "<!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>",
66367 "errors": [
66368 "(1,33): two-heads-are-not-better-than-one"
66369 ],
66370 "document": {
66371 "props": {
66372 "tags": {
66373 "html": true,
66374 "head": true,
66375 "meta": true,
66376 "body": true
66377 },
66378 "doctype": true
66379 },
66380 "tree": [
66381 {
66382 "doctype": "html"
66383 },
66384 {
66385 "tag": "html",
66386 "children": [
66387 {
66388 "tag": "head",
66389 "children": [
66390 {
66391 "tag": "meta"
66392 }
66393 ]
66394 },
66395 {
66396 "tag": "body"
66397 }
66398 ]
66399 }
66400 ],
66401 "html": "<!DOCTYPE html><html><head><meta></head><body></body></html>",
66402 "noQuirksBodyHtml": "<meta>"
66403 }
66404 },
66405 {
66406 "data": "<!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>",
66407 "errors": [
66408 "(1,33): two-heads-are-not-better-than-one"
66409 ],
66410 "document": {
66411 "props": {
66412 "tags": {
66413 "html": true,
66414 "head": true,
66415 "body": true
66416 },
66417 "doctype": true
66418 },
66419 "tree": [
66420 {
66421 "doctype": "html"
66422 },
66423 {
66424 "tag": "html",
66425 "children": [
66426 {
66427 "tag": "head"
66428 },
66429 {
66430 "tag": "body"
66431 }
66432 ]
66433 }
66434 ],
66435 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
66436 "noQuirksBodyHtml": ""
66437 }
66438 },
66439 {
66440 "data": "<textarea>foo<span>bar</span><i>baz",
66441 "errors": [
66442 "(1,10): expected-doctype-but-got-start-tag",
66443 "(1,35): expected-closing-tag-but-got-eof"
66444 ],
66445 "document": {
66446 "props": {
66447 "tags": {
66448 "html": true,
66449 "head": true,
66450 "body": true,
66451 "textarea": true
66452 },
66453 "escaped": true
66454 },
66455 "tree": [
66456 {
66457 "tag": "html",
66458 "children": [
66459 {
66460 "tag": "head"
66461 },
66462 {
66463 "tag": "body",
66464 "children": [
66465 {
66466 "tag": "textarea",
66467 "children": [
66468 {
66469 "text": "foo<span>bar</span><i>baz",
66470 "escaped": true
66471 }
66472 ]
66473 }
66474 ]
66475 }
66476 ]
66477 }
66478 ],
66479 "html": "<html><head></head><body><textarea>foo&lt;span&gt;bar&lt;/span&gt;&lt;i&gt;baz</textarea></body></html>",
66480 "noQuirksBodyHtml": "<textarea>foo&lt;span&gt;bar&lt;/span&gt;&lt;i&gt;baz</textarea>"
66481 }
66482 },
66483 {
66484 "data": "<title>foo<span>bar</em><i>baz",
66485 "errors": [
66486 "(1,7): expected-doctype-but-got-start-tag",
66487 "(1,30): expected-named-closing-tag-but-got-eof"
66488 ],
66489 "document": {
66490 "props": {
66491 "tags": {
66492 "html": true,
66493 "head": true,
66494 "title": true,
66495 "body": true
66496 },
66497 "escaped": true
66498 },
66499 "tree": [
66500 {
66501 "tag": "html",
66502 "children": [
66503 {
66504 "tag": "head",
66505 "children": [
66506 {
66507 "tag": "title",
66508 "children": [
66509 {
66510 "text": "foo<span>bar</em><i>baz",
66511 "escaped": true
66512 }
66513 ]
66514 }
66515 ]
66516 },
66517 {
66518 "tag": "body"
66519 }
66520 ]
66521 }
66522 ],
66523 "html": "<html><head><title>foo&lt;span&gt;bar&lt;/em&gt;&lt;i&gt;baz</title></head><body></body></html>",
66524 "noQuirksBodyHtml": "<title>foo&lt;span&gt;bar&lt;/em&gt;&lt;i&gt;baz</title>"
66525 }
66526 },
66527 {
66528 "data": "<!DOCTYPE html><textarea>\n</textarea>",
66529 "errors": [],
66530 "document": {
66531 "props": {
66532 "tags": {
66533 "html": true,
66534 "head": true,
66535 "body": true,
66536 "textarea": true
66537 },
66538 "doctype": true
66539 },
66540 "tree": [
66541 {
66542 "doctype": "html"
66543 },
66544 {
66545 "tag": "html",
66546 "children": [
66547 {
66548 "tag": "head"
66549 },
66550 {
66551 "tag": "body",
66552 "children": [
66553 {
66554 "tag": "textarea"
66555 }
66556 ]
66557 }
66558 ]
66559 }
66560 ],
66561 "html": "<!DOCTYPE html><html><head></head><body><textarea></textarea></body></html>",
66562 "noQuirksBodyHtml": "<textarea></textarea>"
66563 }
66564 },
66565 {
66566 "data": "<!DOCTYPE html><textarea>\nfoo</textarea>",
66567 "errors": [],
66568 "document": {
66569 "props": {
66570 "tags": {
66571 "html": true,
66572 "head": true,
66573 "body": true,
66574 "textarea": true
66575 },
66576 "doctype": true
66577 },
66578 "tree": [
66579 {
66580 "doctype": "html"
66581 },
66582 {
66583 "tag": "html",
66584 "children": [
66585 {
66586 "tag": "head"
66587 },
66588 {
66589 "tag": "body",
66590 "children": [
66591 {
66592 "tag": "textarea",
66593 "children": [
66594 {
66595 "text": "foo"
66596 }
66597 ]
66598 }
66599 ]
66600 }
66601 ]
66602 }
66603 ],
66604 "html": "<!DOCTYPE html><html><head></head><body><textarea>foo</textarea></body></html>",
66605 "noQuirksBodyHtml": "<textarea>foo</textarea>"
66606 }
66607 },
66608 {
66609 "data": "<!DOCTYPE html><textarea>\n\nfoo</textarea>",
66610 "errors": [],
66611 "document": {
66612 "props": {
66613 "tags": {
66614 "html": true,
66615 "head": true,
66616 "body": true,
66617 "textarea": true
66618 },
66619 "doctype": true
66620 },
66621 "tree": [
66622 {
66623 "doctype": "html"
66624 },
66625 {
66626 "tag": "html",
66627 "children": [
66628 {
66629 "tag": "head"
66630 },
66631 {
66632 "tag": "body",
66633 "children": [
66634 {
66635 "tag": "textarea",
66636 "children": [
66637 {
66638 "text": "\nfoo"
66639 }
66640 ]
66641 }
66642 ]
66643 }
66644 ]
66645 }
66646 ],
66647 "html": "<!DOCTYPE html><html><head></head><body><textarea>\nfoo</textarea></body></html>",
66648 "noQuirksBodyHtml": "<textarea>\nfoo</textarea>"
66649 }
66650 },
66651 {
66652 "data": "<!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>",
66653 "errors": [
66654 "(1,60): end-tag-too-early"
66655 ],
66656 "document": {
66657 "props": {
66658 "tags": {
66659 "html": true,
66660 "head": true,
66661 "body": true,
66662 "ul": true,
66663 "li": true,
66664 "div": true,
66665 "p": true
66666 },
66667 "doctype": true
66668 },
66669 "tree": [
66670 {
66671 "doctype": "html"
66672 },
66673 {
66674 "tag": "html",
66675 "children": [
66676 {
66677 "tag": "head"
66678 },
66679 {
66680 "tag": "body",
66681 "children": [
66682 {
66683 "tag": "ul",
66684 "children": [
66685 {
66686 "tag": "li",
66687 "children": [
66688 {
66689 "tag": "div",
66690 "children": [
66691 {
66692 "tag": "p"
66693 }
66694 ]
66695 }
66696 ]
66697 },
66698 {
66699 "tag": "li"
66700 }
66701 ]
66702 }
66703 ]
66704 }
66705 ]
66706 }
66707 ],
66708 "html": "<!DOCTYPE html><html><head></head><body><ul><li><div><p></p></div></li><li></li></ul></body></html>",
66709 "noQuirksBodyHtml": "<ul><li><div><p></p></div></li><li></li></ul>"
66710 }
66711 },
66712 {
66713 "data": "<!doctype html><nobr><nobr><nobr>",
66714 "errors": [
66715 "(1,27): unexpected-start-tag-implies-end-tag",
66716 "(1,33): unexpected-start-tag-implies-end-tag",
66717 "(1,33): expected-closing-tag-but-got-eof"
66718 ],
66719 "document": {
66720 "props": {
66721 "tags": {
66722 "html": true,
66723 "head": true,
66724 "body": true,
66725 "nobr": true
66726 },
66727 "doctype": true
66728 },
66729 "tree": [
66730 {
66731 "doctype": "html"
66732 },
66733 {
66734 "tag": "html",
66735 "children": [
66736 {
66737 "tag": "head"
66738 },
66739 {
66740 "tag": "body",
66741 "children": [
66742 {
66743 "tag": "nobr"
66744 },
66745 {
66746 "tag": "nobr"
66747 },
66748 {
66749 "tag": "nobr"
66750 }
66751 ]
66752 }
66753 ]
66754 }
66755 ],
66756 "html": "<!DOCTYPE html><html><head></head><body><nobr></nobr><nobr></nobr><nobr></nobr></body></html>",
66757 "noQuirksBodyHtml": "<nobr></nobr><nobr></nobr><nobr></nobr>"
66758 }
66759 },
66760 {
66761 "data": "<!doctype html><nobr><nobr></nobr><nobr>",
66762 "errors": [
66763 "(1,27): unexpected-start-tag-implies-end-tag",
66764 "(1,40): expected-closing-tag-but-got-eof"
66765 ],
66766 "document": {
66767 "props": {
66768 "tags": {
66769 "html": true,
66770 "head": true,
66771 "body": true,
66772 "nobr": true
66773 },
66774 "doctype": true
66775 },
66776 "tree": [
66777 {
66778 "doctype": "html"
66779 },
66780 {
66781 "tag": "html",
66782 "children": [
66783 {
66784 "tag": "head"
66785 },
66786 {
66787 "tag": "body",
66788 "children": [
66789 {
66790 "tag": "nobr"
66791 },
66792 {
66793 "tag": "nobr"
66794 },
66795 {
66796 "tag": "nobr"
66797 }
66798 ]
66799 }
66800 ]
66801 }
66802 ],
66803 "html": "<!DOCTYPE html><html><head></head><body><nobr></nobr><nobr></nobr><nobr></nobr></body></html>",
66804 "noQuirksBodyHtml": "<nobr></nobr><nobr></nobr><nobr></nobr>"
66805 }
66806 },
66807 {
66808 "data": "<!doctype html><html><body><p><table></table></body></html>",
66809 "errors": [],
66810 "document": {
66811 "props": {
66812 "tags": {
66813 "html": true,
66814 "head": true,
66815 "body": true,
66816 "p": true,
66817 "table": true
66818 },
66819 "doctype": true
66820 },
66821 "tree": [
66822 {
66823 "doctype": "html"
66824 },
66825 {
66826 "tag": "html",
66827 "children": [
66828 {
66829 "tag": "head"
66830 },
66831 {
66832 "tag": "body",
66833 "children": [
66834 {
66835 "tag": "p"
66836 },
66837 {
66838 "tag": "table"
66839 }
66840 ]
66841 }
66842 ]
66843 }
66844 ],
66845 "html": "<!DOCTYPE html><html><head></head><body><p></p><table></table></body></html>",
66846 "noQuirksBodyHtml": "<p></p><table></table>"
66847 }
66848 },
66849 {
66850 "data": "<p><table></table>",
66851 "errors": [
66852 "(1,3): expected-doctype-but-got-start-tag"
66853 ],
66854 "document": {
66855 "props": {
66856 "tags": {
66857 "html": true,
66858 "head": true,
66859 "body": true,
66860 "p": true,
66861 "table": true
66862 }
66863 },
66864 "tree": [
66865 {
66866 "tag": "html",
66867 "children": [
66868 {
66869 "tag": "head"
66870 },
66871 {
66872 "tag": "body",
66873 "children": [
66874 {
66875 "tag": "p",
66876 "children": [
66877 {
66878 "tag": "table"
66879 }
66880 ]
66881 }
66882 ]
66883 }
66884 ]
66885 }
66886 ],
66887 "html": "<html><head></head><body><p><table></table></p></body></html>",
66888 "noQuirksBodyHtml": "<p></p><table></table>"
66889 }
66890 }
66891 ],
66892 "tests4.dat": [
66893 {
66894 "data": "direct div content",
66895 "errors": [],
66896 "fragment": {
66897 "name": "div"
66898 },
66899 "document": {
66900 "props": {
66901 "tags": {}
66902 },
66903 "tree": [
66904 {
66905 "text": "direct div content"
66906 }
66907 ],
66908 "html": "direct div content",
66909 "noQuirksBodyHtml": "direct div content"
66910 }
66911 },
66912 {
66913 "data": "direct textarea content",
66914 "errors": [],
66915 "fragment": {
66916 "name": "textarea"
66917 },
66918 "document": {
66919 "props": {
66920 "tags": {}
66921 },
66922 "tree": [
66923 {
66924 "text": "direct textarea content"
66925 }
66926 ],
66927 "html": "direct textarea content",
66928 "noQuirksBodyHtml": "direct textarea content"
66929 }
66930 },
66931 {
66932 "data": "textarea content with <em>pseudo</em> <foo>markup",
66933 "errors": [],
66934 "fragment": {
66935 "name": "textarea"
66936 },
66937 "document": {
66938 "props": {
66939 "tags": {},
66940 "escaped": true
66941 },
66942 "tree": [
66943 {
66944 "text": "textarea content with <em>pseudo</em> <foo>markup",
66945 "escaped": true
66946 }
66947 ],
66948 "html": "textarea content with &lt;em&gt;pseudo&lt;/em&gt; &lt;foo&gt;markup",
66949 "noQuirksBodyHtml": "textarea content with <em>pseudo</em> <foo>markup</foo>"
66950 }
66951 },
66952 {
66953 "data": "this is &#x0043;DATA inside a <style> element",
66954 "errors": [],
66955 "fragment": {
66956 "name": "style"
66957 },
66958 "document": {
66959 "props": {
66960 "tags": {},
66961 "no_escape": true
66962 },
66963 "tree": [
66964 {
66965 "text": "this is &#x0043;DATA inside a <style> element",
66966 "no_escape": true
66967 }
66968 ],
66969 "html": "this is &#x0043;DATA inside a <style> element",
66970 "noQuirksBodyHtml": "this is CDATA inside a <style> element</style>"
66971 }
66972 },
66973 {
66974 "data": "</plaintext>",
66975 "errors": [],
66976 "fragment": {
66977 "name": "plaintext"
66978 },
66979 "document": {
66980 "props": {
66981 "tags": {},
66982 "no_escape": true
66983 },
66984 "tree": [
66985 {
66986 "text": "</plaintext>",
66987 "no_escape": true
66988 }
66989 ],
66990 "html": "</plaintext>",
66991 "noQuirksBodyHtml": ""
66992 }
66993 },
66994 {
66995 "data": "setting html's innerHTML",
66996 "errors": [],
66997 "fragment": {
66998 "name": "html"
66999 },
67000 "document": {
67001 "props": {
67002 "tags": {
67003 "head": true,
67004 "body": true
67005 }
67006 },
67007 "tree": [
67008 {
67009 "tag": "head"
67010 },
67011 {
67012 "tag": "body",
67013 "children": [
67014 {
67015 "text": "setting html's innerHTML"
67016 }
67017 ]
67018 }
67019 ],
67020 "html": "<head></head><body>setting html's innerHTML</body>",
67021 "noQuirksBodyHtml": "setting html's innerHTML"
67022 }
67023 },
67024 {
67025 "data": "<title>setting head's innerHTML</title>",
67026 "errors": [],
67027 "fragment": {
67028 "name": "head"
67029 },
67030 "document": {
67031 "props": {
67032 "tags": {
67033 "title": true
67034 }
67035 },
67036 "tree": [
67037 {
67038 "tag": "title",
67039 "children": [
67040 {
67041 "text": "setting head's innerHTML"
67042 }
67043 ]
67044 }
67045 ],
67046 "html": "<title>setting head's innerHTML</title>",
67047 "noQuirksBodyHtml": "<title>setting head's innerHTML</title>"
67048 }
67049 }
67050 ],
67051 "tests5.dat": [
67052 {
67053 "data": "<style> <!-- </style>x",
67054 "errors": [
67055 "(1,7): expected-doctype-but-got-start-tag"
67056 ],
67057 "document": {
67058 "props": {
67059 "tags": {
67060 "html": true,
67061 "head": true,
67062 "style": true,
67063 "body": true
67064 },
67065 "no_escape": true
67066 },
67067 "tree": [
67068 {
67069 "tag": "html",
67070 "children": [
67071 {
67072 "tag": "head",
67073 "children": [
67074 {
67075 "tag": "style",
67076 "children": [
67077 {
67078 "text": " <!-- ",
67079 "no_escape": true
67080 }
67081 ]
67082 }
67083 ]
67084 },
67085 {
67086 "tag": "body",
67087 "children": [
67088 {
67089 "text": "x"
67090 }
67091 ]
67092 }
67093 ]
67094 }
67095 ],
67096 "html": "<html><head><style> <!-- </style></head><body>x</body></html>",
67097 "noQuirksBodyHtml": "<style> <!-- </style>x"
67098 }
67099 },
67100 {
67101 "data": "<style> <!-- </style> --> </style>x",
67102 "errors": [
67103 "(1,7): expected-doctype-but-got-start-tag",
67104 "(1,34): unexpected-end-tag"
67105 ],
67106 "document": {
67107 "props": {
67108 "tags": {
67109 "html": true,
67110 "head": true,
67111 "style": true,
67112 "body": true
67113 },
67114 "no_escape": true,
67115 "escaped": true
67116 },
67117 "tree": [
67118 {
67119 "tag": "html",
67120 "children": [
67121 {
67122 "tag": "head",
67123 "children": [
67124 {
67125 "tag": "style",
67126 "children": [
67127 {
67128 "text": " <!-- ",
67129 "no_escape": true
67130 }
67131 ]
67132 },
67133 {
67134 "text": " "
67135 }
67136 ]
67137 },
67138 {
67139 "tag": "body",
67140 "children": [
67141 {
67142 "text": "--> x",
67143 "escaped": true
67144 }
67145 ]
67146 }
67147 ]
67148 }
67149 ],
67150 "html": "<html><head><style> <!-- </style> </head><body>--&gt; x</body></html>",
67151 "noQuirksBodyHtml": "<style> <!-- </style> --&gt; x"
67152 }
67153 },
67154 {
67155 "data": "<style> <!--> </style>x",
67156 "errors": [
67157 "(1,7): expected-doctype-but-got-start-tag"
67158 ],
67159 "document": {
67160 "props": {
67161 "tags": {
67162 "html": true,
67163 "head": true,
67164 "style": true,
67165 "body": true
67166 },
67167 "no_escape": true
67168 },
67169 "tree": [
67170 {
67171 "tag": "html",
67172 "children": [
67173 {
67174 "tag": "head",
67175 "children": [
67176 {
67177 "tag": "style",
67178 "children": [
67179 {
67180 "text": " <!--> ",
67181 "no_escape": true
67182 }
67183 ]
67184 }
67185 ]
67186 },
67187 {
67188 "tag": "body",
67189 "children": [
67190 {
67191 "text": "x"
67192 }
67193 ]
67194 }
67195 ]
67196 }
67197 ],
67198 "html": "<html><head><style> <!--> </style></head><body>x</body></html>",
67199 "noQuirksBodyHtml": "<style> <!--> </style>x"
67200 }
67201 },
67202 {
67203 "data": "<style> <!---> </style>x",
67204 "errors": [
67205 "(1,7): expected-doctype-but-got-start-tag"
67206 ],
67207 "document": {
67208 "props": {
67209 "tags": {
67210 "html": true,
67211 "head": true,
67212 "style": true,
67213 "body": true
67214 },
67215 "no_escape": true
67216 },
67217 "tree": [
67218 {
67219 "tag": "html",
67220 "children": [
67221 {
67222 "tag": "head",
67223 "children": [
67224 {
67225 "tag": "style",
67226 "children": [
67227 {
67228 "text": " <!---> ",
67229 "no_escape": true
67230 }
67231 ]
67232 }
67233 ]
67234 },
67235 {
67236 "tag": "body",
67237 "children": [
67238 {
67239 "text": "x"
67240 }
67241 ]
67242 }
67243 ]
67244 }
67245 ],
67246 "html": "<html><head><style> <!---> </style></head><body>x</body></html>",
67247 "noQuirksBodyHtml": "<style> <!---> </style>x"
67248 }
67249 },
67250 {
67251 "data": "<iframe> <!---> </iframe>x",
67252 "errors": [
67253 "(1,8): expected-doctype-but-got-start-tag"
67254 ],
67255 "document": {
67256 "props": {
67257 "tags": {
67258 "html": true,
67259 "head": true,
67260 "body": true,
67261 "iframe": true
67262 },
67263 "no_escape": true
67264 },
67265 "tree": [
67266 {
67267 "tag": "html",
67268 "children": [
67269 {
67270 "tag": "head"
67271 },
67272 {
67273 "tag": "body",
67274 "children": [
67275 {
67276 "tag": "iframe",
67277 "children": [
67278 {
67279 "text": " <!---> ",
67280 "no_escape": true
67281 }
67282 ]
67283 },
67284 {
67285 "text": "x"
67286 }
67287 ]
67288 }
67289 ]
67290 }
67291 ],
67292 "html": "<html><head></head><body><iframe> <!---> </iframe>x</body></html>",
67293 "noQuirksBodyHtml": "<iframe> <!---> </iframe>x"
67294 }
67295 },
67296 {
67297 "data": "<iframe> <!--- </iframe>->x</iframe> --> </iframe>x",
67298 "errors": [
67299 "(1,8): expected-doctype-but-got-start-tag",
67300 "(1,36): unexpected-end-tag",
67301 "(1,50): unexpected-end-tag"
67302 ],
67303 "document": {
67304 "props": {
67305 "tags": {
67306 "html": true,
67307 "head": true,
67308 "body": true,
67309 "iframe": true
67310 },
67311 "no_escape": true,
67312 "escaped": true
67313 },
67314 "tree": [
67315 {
67316 "tag": "html",
67317 "children": [
67318 {
67319 "tag": "head"
67320 },
67321 {
67322 "tag": "body",
67323 "children": [
67324 {
67325 "tag": "iframe",
67326 "children": [
67327 {
67328 "text": " <!--- ",
67329 "no_escape": true
67330 }
67331 ]
67332 },
67333 {
67334 "text": "->x --> x",
67335 "escaped": true
67336 }
67337 ]
67338 }
67339 ]
67340 }
67341 ],
67342 "html": "<html><head></head><body><iframe> <!--- </iframe>-&gt;x --&gt; x</body></html>",
67343 "noQuirksBodyHtml": "<iframe> <!--- </iframe>-&gt;x --&gt; x"
67344 }
67345 },
67346 {
67347 "data": "<script> <!-- </script> --> </script>x",
67348 "errors": [
67349 "(1,8): expected-doctype-but-got-start-tag",
67350 "(1,37): unexpected-end-tag"
67351 ],
67352 "document": {
67353 "props": {
67354 "tags": {
67355 "html": true,
67356 "head": true,
67357 "script": true,
67358 "body": true
67359 },
67360 "no_escape": true,
67361 "escaped": true
67362 },
67363 "tree": [
67364 {
67365 "tag": "html",
67366 "children": [
67367 {
67368 "tag": "head",
67369 "children": [
67370 {
67371 "tag": "script",
67372 "children": [
67373 {
67374 "text": " <!-- ",
67375 "no_escape": true
67376 }
67377 ]
67378 },
67379 {
67380 "text": " "
67381 }
67382 ]
67383 },
67384 {
67385 "tag": "body",
67386 "children": [
67387 {
67388 "text": "--> x",
67389 "escaped": true
67390 }
67391 ]
67392 }
67393 ]
67394 }
67395 ],
67396 "html": "<html><head><script> <!-- </script> </head><body>--&gt; x</body></html>",
67397 "noQuirksBodyHtml": "<script> <!-- </script> --&gt; x"
67398 }
67399 },
67400 {
67401 "data": "<title> <!-- </title> --> </title>x",
67402 "errors": [
67403 "(1,7): expected-doctype-but-got-start-tag",
67404 "(1,34): unexpected-end-tag"
67405 ],
67406 "document": {
67407 "props": {
67408 "tags": {
67409 "html": true,
67410 "head": true,
67411 "title": true,
67412 "body": true
67413 },
67414 "escaped": true
67415 },
67416 "tree": [
67417 {
67418 "tag": "html",
67419 "children": [
67420 {
67421 "tag": "head",
67422 "children": [
67423 {
67424 "tag": "title",
67425 "children": [
67426 {
67427 "text": " <!-- ",
67428 "escaped": true
67429 }
67430 ]
67431 },
67432 {
67433 "text": " "
67434 }
67435 ]
67436 },
67437 {
67438 "tag": "body",
67439 "children": [
67440 {
67441 "text": "--> x",
67442 "escaped": true
67443 }
67444 ]
67445 }
67446 ]
67447 }
67448 ],
67449 "html": "<html><head><title> &lt;!-- </title> </head><body>--&gt; x</body></html>",
67450 "noQuirksBodyHtml": "<title> &lt;!-- </title> --&gt; x"
67451 }
67452 },
67453 {
67454 "data": "<textarea> <!--- </textarea>->x</textarea> --> </textarea>x",
67455 "errors": [
67456 "(1,10): expected-doctype-but-got-start-tag",
67457 "(1,42): unexpected-end-tag",
67458 "(1,58): unexpected-end-tag"
67459 ],
67460 "document": {
67461 "props": {
67462 "tags": {
67463 "html": true,
67464 "head": true,
67465 "body": true,
67466 "textarea": true
67467 },
67468 "escaped": true
67469 },
67470 "tree": [
67471 {
67472 "tag": "html",
67473 "children": [
67474 {
67475 "tag": "head"
67476 },
67477 {
67478 "tag": "body",
67479 "children": [
67480 {
67481 "tag": "textarea",
67482 "children": [
67483 {
67484 "text": " <!--- ",
67485 "escaped": true
67486 }
67487 ]
67488 },
67489 {
67490 "text": "->x --> x",
67491 "escaped": true
67492 }
67493 ]
67494 }
67495 ]
67496 }
67497 ],
67498 "html": "<html><head></head><body><textarea> &lt;!--- </textarea>-&gt;x --&gt; x</body></html>",
67499 "noQuirksBodyHtml": "<textarea> &lt;!--- </textarea>-&gt;x --&gt; x"
67500 }
67501 },
67502 {
67503 "data": "<style> <!</-- </style>x",
67504 "errors": [
67505 "(1,7): expected-doctype-but-got-start-tag"
67506 ],
67507 "document": {
67508 "props": {
67509 "tags": {
67510 "html": true,
67511 "head": true,
67512 "style": true,
67513 "body": true
67514 },
67515 "no_escape": true
67516 },
67517 "tree": [
67518 {
67519 "tag": "html",
67520 "children": [
67521 {
67522 "tag": "head",
67523 "children": [
67524 {
67525 "tag": "style",
67526 "children": [
67527 {
67528 "text": " <!</-- ",
67529 "no_escape": true
67530 }
67531 ]
67532 }
67533 ]
67534 },
67535 {
67536 "tag": "body",
67537 "children": [
67538 {
67539 "text": "x"
67540 }
67541 ]
67542 }
67543 ]
67544 }
67545 ],
67546 "html": "<html><head><style> <!</-- </style></head><body>x</body></html>",
67547 "noQuirksBodyHtml": "<style> <!</-- </style>x"
67548 }
67549 },
67550 {
67551 "data": "<p><xmp></xmp>",
67552 "errors": [
67553 "(1,3): expected-doctype-but-got-start-tag"
67554 ],
67555 "document": {
67556 "props": {
67557 "tags": {
67558 "html": true,
67559 "head": true,
67560 "body": true,
67561 "p": true,
67562 "xmp": true
67563 }
67564 },
67565 "tree": [
67566 {
67567 "tag": "html",
67568 "children": [
67569 {
67570 "tag": "head"
67571 },
67572 {
67573 "tag": "body",
67574 "children": [
67575 {
67576 "tag": "p"
67577 },
67578 {
67579 "tag": "xmp"
67580 }
67581 ]
67582 }
67583 ]
67584 }
67585 ],
67586 "html": "<html><head></head><body><p></p><xmp></xmp></body></html>",
67587 "noQuirksBodyHtml": "<p></p><xmp></xmp>"
67588 }
67589 },
67590 {
67591 "data": "<xmp> <!-- > --> </xmp>",
67592 "errors": [
67593 "(1,5): expected-doctype-but-got-start-tag"
67594 ],
67595 "document": {
67596 "props": {
67597 "tags": {
67598 "html": true,
67599 "head": true,
67600 "body": true,
67601 "xmp": true
67602 },
67603 "no_escape": true
67604 },
67605 "tree": [
67606 {
67607 "tag": "html",
67608 "children": [
67609 {
67610 "tag": "head"
67611 },
67612 {
67613 "tag": "body",
67614 "children": [
67615 {
67616 "tag": "xmp",
67617 "children": [
67618 {
67619 "text": " <!-- > --> ",
67620 "no_escape": true
67621 }
67622 ]
67623 }
67624 ]
67625 }
67626 ]
67627 }
67628 ],
67629 "html": "<html><head></head><body><xmp> <!-- > --> </xmp></body></html>",
67630 "noQuirksBodyHtml": "<xmp> <!-- > --> </xmp>"
67631 }
67632 },
67633 {
67634 "data": "<title>&amp;</title>",
67635 "errors": [
67636 "(1,7): expected-doctype-but-got-start-tag"
67637 ],
67638 "document": {
67639 "props": {
67640 "tags": {
67641 "html": true,
67642 "head": true,
67643 "title": true,
67644 "body": true
67645 },
67646 "escaped": true
67647 },
67648 "tree": [
67649 {
67650 "tag": "html",
67651 "children": [
67652 {
67653 "tag": "head",
67654 "children": [
67655 {
67656 "tag": "title",
67657 "children": [
67658 {
67659 "text": "&",
67660 "escaped": true
67661 }
67662 ]
67663 }
67664 ]
67665 },
67666 {
67667 "tag": "body"
67668 }
67669 ]
67670 }
67671 ],
67672 "html": "<html><head><title>&amp;</title></head><body></body></html>",
67673 "noQuirksBodyHtml": "<title>&amp;</title>"
67674 }
67675 },
67676 {
67677 "data": "<title><!--&amp;--></title>",
67678 "errors": [
67679 "(1,7): expected-doctype-but-got-start-tag"
67680 ],
67681 "document": {
67682 "props": {
67683 "tags": {
67684 "html": true,
67685 "head": true,
67686 "title": true,
67687 "body": true
67688 },
67689 "escaped": true
67690 },
67691 "tree": [
67692 {
67693 "tag": "html",
67694 "children": [
67695 {
67696 "tag": "head",
67697 "children": [
67698 {
67699 "tag": "title",
67700 "children": [
67701 {
67702 "text": "<!--&-->",
67703 "escaped": true
67704 }
67705 ]
67706 }
67707 ]
67708 },
67709 {
67710 "tag": "body"
67711 }
67712 ]
67713 }
67714 ],
67715 "html": "<html><head><title>&lt;!--&amp;--&gt;</title></head><body></body></html>",
67716 "noQuirksBodyHtml": "<title>&lt;!--&amp;--&gt;</title>"
67717 }
67718 },
67719 {
67720 "data": "<title><!--</title>",
67721 "errors": [
67722 "(1,7): expected-doctype-but-got-start-tag"
67723 ],
67724 "document": {
67725 "props": {
67726 "tags": {
67727 "html": true,
67728 "head": true,
67729 "title": true,
67730 "body": true
67731 },
67732 "escaped": true
67733 },
67734 "tree": [
67735 {
67736 "tag": "html",
67737 "children": [
67738 {
67739 "tag": "head",
67740 "children": [
67741 {
67742 "tag": "title",
67743 "children": [
67744 {
67745 "text": "<!--",
67746 "escaped": true
67747 }
67748 ]
67749 }
67750 ]
67751 },
67752 {
67753 "tag": "body"
67754 }
67755 ]
67756 }
67757 ],
67758 "html": "<html><head><title>&lt;!--</title></head><body></body></html>",
67759 "noQuirksBodyHtml": "<title>&lt;!--</title>"
67760 }
67761 },
67762 {
67763 "data": "<noscript><!--</noscript>--></noscript>",
67764 "errors": [
67765 "(1,10): expected-doctype-but-got-start-tag",
67766 "(1,39): unexpected-end-tag"
67767 ],
67768 "script": "on",
67769 "document": {
67770 "props": {
67771 "tags": {
67772 "html": true,
67773 "head": true,
67774 "noscript": true,
67775 "body": true
67776 },
67777 "no_escape": true,
67778 "escaped": true
67779 },
67780 "tree": [
67781 {
67782 "tag": "html",
67783 "children": [
67784 {
67785 "tag": "head",
67786 "children": [
67787 {
67788 "tag": "noscript",
67789 "children": [
67790 {
67791 "text": "<!--",
67792 "no_escape": true
67793 }
67794 ]
67795 }
67796 ]
67797 },
67798 {
67799 "tag": "body",
67800 "children": [
67801 {
67802 "text": "-->",
67803 "escaped": true
67804 }
67805 ]
67806 }
67807 ]
67808 }
67809 ],
67810 "html": "<html><head><noscript><!--</noscript></head><body>--&gt;</body></html>",
67811 "noQuirksBodyHtml": "<noscript><!--</noscript>--></noscript>"
67812 }
67813 },
67814 {
67815 "data": "<noscript><!--</noscript>--></noscript>",
67816 "errors": [
67817 "(1,10): expected-doctype-but-got-start-tag"
67818 ],
67819 "script": "off",
67820 "document": {
67821 "props": {
67822 "tags": {
67823 "html": true,
67824 "head": true,
67825 "noscript": true,
67826 "body": true
67827 },
67828 "comment": true
67829 },
67830 "tree": [
67831 {
67832 "tag": "html",
67833 "children": [
67834 {
67835 "tag": "head",
67836 "children": [
67837 {
67838 "tag": "noscript",
67839 "children": [
67840 {
67841 "comment": "</noscript>"
67842 }
67843 ]
67844 }
67845 ]
67846 },
67847 {
67848 "tag": "body"
67849 }
67850 ]
67851 }
67852 ],
67853 "html": "<html><head><noscript><!--</noscript>--></noscript></head><body></body></html>",
67854 "noQuirksBodyHtml": "<noscript><!--</noscript>--></noscript>"
67855 }
67856 }
67857 ],
67858 "tests6.dat": [
67859 {
67860 "data": "<!doctype html></head> <head>",
67861 "errors": [
67862 "(1,29): unexpected-start-tag"
67863 ],
67864 "document": {
67865 "props": {
67866 "tags": {
67867 "html": true,
67868 "head": true,
67869 "body": true
67870 },
67871 "doctype": true
67872 },
67873 "tree": [
67874 {
67875 "doctype": "html"
67876 },
67877 {
67878 "tag": "html",
67879 "children": [
67880 {
67881 "tag": "head"
67882 },
67883 {
67884 "text": " "
67885 },
67886 {
67887 "tag": "body"
67888 }
67889 ]
67890 }
67891 ],
67892 "html": "<!DOCTYPE html><html><head></head> <body></body></html>",
67893 "noQuirksBodyHtml": " "
67894 }
67895 },
67896 {
67897 "data": "<!doctype html><form><div></form><div>",
67898 "errors": [
67899 "(1,33): end-tag-too-early-ignored",
67900 "(1,38): expected-closing-tag-but-got-eof"
67901 ],
67902 "document": {
67903 "props": {
67904 "tags": {
67905 "html": true,
67906 "head": true,
67907 "body": true,
67908 "form": true,
67909 "div": true
67910 },
67911 "doctype": true
67912 },
67913 "tree": [
67914 {
67915 "doctype": "html"
67916 },
67917 {
67918 "tag": "html",
67919 "children": [
67920 {
67921 "tag": "head"
67922 },
67923 {
67924 "tag": "body",
67925 "children": [
67926 {
67927 "tag": "form",
67928 "children": [
67929 {
67930 "tag": "div",
67931 "children": [
67932 {
67933 "tag": "div"
67934 }
67935 ]
67936 }
67937 ]
67938 }
67939 ]
67940 }
67941 ]
67942 }
67943 ],
67944 "html": "<!DOCTYPE html><html><head></head><body><form><div><div></div></div></form></body></html>",
67945 "noQuirksBodyHtml": "<form><div><div></div></div></form>"
67946 }
67947 },
67948 {
67949 "data": "<!doctype html><title>&amp;</title>",
67950 "errors": [],
67951 "document": {
67952 "props": {
67953 "tags": {
67954 "html": true,
67955 "head": true,
67956 "title": true,
67957 "body": true
67958 },
67959 "doctype": true,
67960 "escaped": true
67961 },
67962 "tree": [
67963 {
67964 "doctype": "html"
67965 },
67966 {
67967 "tag": "html",
67968 "children": [
67969 {
67970 "tag": "head",
67971 "children": [
67972 {
67973 "tag": "title",
67974 "children": [
67975 {
67976 "text": "&",
67977 "escaped": true
67978 }
67979 ]
67980 }
67981 ]
67982 },
67983 {
67984 "tag": "body"
67985 }
67986 ]
67987 }
67988 ],
67989 "html": "<!DOCTYPE html><html><head><title>&amp;</title></head><body></body></html>",
67990 "noQuirksBodyHtml": "<title>&amp;</title>"
67991 }
67992 },
67993 {
67994 "data": "<!doctype html><title><!--&amp;--></title>",
67995 "errors": [],
67996 "document": {
67997 "props": {
67998 "tags": {
67999 "html": true,
68000 "head": true,
68001 "title": true,
68002 "body": true
68003 },
68004 "doctype": true,
68005 "escaped": true
68006 },
68007 "tree": [
68008 {
68009 "doctype": "html"
68010 },
68011 {
68012 "tag": "html",
68013 "children": [
68014 {
68015 "tag": "head",
68016 "children": [
68017 {
68018 "tag": "title",
68019 "children": [
68020 {
68021 "text": "<!--&-->",
68022 "escaped": true
68023 }
68024 ]
68025 }
68026 ]
68027 },
68028 {
68029 "tag": "body"
68030 }
68031 ]
68032 }
68033 ],
68034 "html": "<!DOCTYPE html><html><head><title>&lt;!--&amp;--&gt;</title></head><body></body></html>",
68035 "noQuirksBodyHtml": "<title>&lt;!--&amp;--&gt;</title>"
68036 }
68037 },
68038 {
68039 "data": "<!doctype>",
68040 "errors": [
68041 "(1,9): need-space-after-doctype",
68042 "(1,10): expected-doctype-name-but-got-right-bracket",
68043 "(1,10): unknown-doctype"
68044 ],
68045 "document": {
68046 "props": {
68047 "tags": {
68048 "html": true,
68049 "head": true,
68050 "body": true
68051 },
68052 "doctype": true
68053 },
68054 "tree": [
68055 {
68056 "doctype": ""
68057 },
68058 {
68059 "tag": "html",
68060 "children": [
68061 {
68062 "tag": "head"
68063 },
68064 {
68065 "tag": "body"
68066 }
68067 ]
68068 }
68069 ],
68070 "html": "<!DOCTYPE ><html><head></head><body></body></html>",
68071 "noQuirksBodyHtml": ""
68072 }
68073 },
68074 {
68075 "data": "<!---x",
68076 "errors": [
68077 "(1,6): eof-in-comment",
68078 "(1,6): expected-doctype-but-got-eof"
68079 ],
68080 "document": {
68081 "props": {
68082 "tags": {
68083 "html": true,
68084 "head": true,
68085 "body": true
68086 },
68087 "comment": true
68088 },
68089 "tree": [
68090 {
68091 "comment": "-x"
68092 },
68093 {
68094 "tag": "html",
68095 "children": [
68096 {
68097 "tag": "head"
68098 },
68099 {
68100 "tag": "body"
68101 }
68102 ]
68103 }
68104 ],
68105 "html": "<!---x--><html><head></head><body></body></html>",
68106 "noQuirksBodyHtml": "<!---x-->"
68107 }
68108 },
68109 {
68110 "data": "<body>\n<div>",
68111 "errors": [
68112 "(1,6): unexpected-start-tag",
68113 "(2,5): expected-closing-tag-but-got-eof"
68114 ],
68115 "fragment": {
68116 "name": "div"
68117 },
68118 "document": {
68119 "props": {
68120 "tags": {
68121 "div": true
68122 }
68123 },
68124 "tree": [
68125 {
68126 "text": "\n"
68127 },
68128 {
68129 "tag": "div"
68130 }
68131 ],
68132 "html": "\n<div></div>",
68133 "noQuirksBodyHtml": "\n<div></div>"
68134 }
68135 },
68136 {
68137 "data": "<frameset></frameset>\nfoo",
68138 "errors": [
68139 "(1,10): expected-doctype-but-got-start-tag",
68140 "(2,1): unexpected-char-after-frameset",
68141 "(2,2): unexpected-char-after-frameset",
68142 "(2,3): unexpected-char-after-frameset"
68143 ],
68144 "document": {
68145 "props": {
68146 "tags": {
68147 "html": true,
68148 "head": true,
68149 "frameset": true
68150 }
68151 },
68152 "tree": [
68153 {
68154 "tag": "html",
68155 "children": [
68156 {
68157 "tag": "head"
68158 },
68159 {
68160 "tag": "frameset"
68161 },
68162 {
68163 "text": "\n"
68164 }
68165 ]
68166 }
68167 ],
68168 "html": "<html><head></head><frameset></frameset>\n</html>",
68169 "noQuirksBodyHtml": "\nfoo"
68170 }
68171 },
68172 {
68173 "data": "<frameset></frameset>\n<noframes>",
68174 "errors": [
68175 "(1,10): expected-doctype-but-got-start-tag",
68176 "(2,10): expected-named-closing-tag-but-got-eof"
68177 ],
68178 "document": {
68179 "props": {
68180 "tags": {
68181 "html": true,
68182 "head": true,
68183 "frameset": true,
68184 "noframes": true
68185 }
68186 },
68187 "tree": [
68188 {
68189 "tag": "html",
68190 "children": [
68191 {
68192 "tag": "head"
68193 },
68194 {
68195 "tag": "frameset"
68196 },
68197 {
68198 "text": "\n"
68199 },
68200 {
68201 "tag": "noframes"
68202 }
68203 ]
68204 }
68205 ],
68206 "html": "<html><head></head><frameset></frameset>\n<noframes></noframes></html>",
68207 "noQuirksBodyHtml": "\n<noframes></noframes>"
68208 }
68209 },
68210 {
68211 "data": "<frameset></frameset>\n<div>",
68212 "errors": [
68213 "(1,10): expected-doctype-but-got-start-tag",
68214 "(2,5): unexpected-start-tag-after-frameset"
68215 ],
68216 "document": {
68217 "props": {
68218 "tags": {
68219 "html": true,
68220 "head": true,
68221 "frameset": true
68222 }
68223 },
68224 "tree": [
68225 {
68226 "tag": "html",
68227 "children": [
68228 {
68229 "tag": "head"
68230 },
68231 {
68232 "tag": "frameset"
68233 },
68234 {
68235 "text": "\n"
68236 }
68237 ]
68238 }
68239 ],
68240 "html": "<html><head></head><frameset></frameset>\n</html>",
68241 "noQuirksBodyHtml": "\n<div></div>"
68242 }
68243 },
68244 {
68245 "data": "<frameset></frameset>\n</html>",
68246 "errors": [
68247 "(1,10): expected-doctype-but-got-start-tag"
68248 ],
68249 "document": {
68250 "props": {
68251 "tags": {
68252 "html": true,
68253 "head": true,
68254 "frameset": true
68255 }
68256 },
68257 "tree": [
68258 {
68259 "tag": "html",
68260 "children": [
68261 {
68262 "tag": "head"
68263 },
68264 {
68265 "tag": "frameset"
68266 },
68267 {
68268 "text": "\n"
68269 }
68270 ]
68271 }
68272 ],
68273 "html": "<html><head></head><frameset></frameset>\n</html>",
68274 "noQuirksBodyHtml": "\n"
68275 }
68276 },
68277 {
68278 "data": "<frameset></frameset>\n</div>",
68279 "errors": [
68280 "(1,10): expected-doctype-but-got-start-tag",
68281 "(2,6): unexpected-end-tag-after-frameset"
68282 ],
68283 "document": {
68284 "props": {
68285 "tags": {
68286 "html": true,
68287 "head": true,
68288 "frameset": true
68289 }
68290 },
68291 "tree": [
68292 {
68293 "tag": "html",
68294 "children": [
68295 {
68296 "tag": "head"
68297 },
68298 {
68299 "tag": "frameset"
68300 },
68301 {
68302 "text": "\n"
68303 }
68304 ]
68305 }
68306 ],
68307 "html": "<html><head></head><frameset></frameset>\n</html>",
68308 "noQuirksBodyHtml": "\n"
68309 }
68310 },
68311 {
68312 "data": "<form><form>",
68313 "errors": [
68314 "(1,6): expected-doctype-but-got-start-tag",
68315 "(1,12): unexpected-start-tag",
68316 "(1,12): expected-closing-tag-but-got-eof"
68317 ],
68318 "document": {
68319 "props": {
68320 "tags": {
68321 "html": true,
68322 "head": true,
68323 "body": true,
68324 "form": true
68325 }
68326 },
68327 "tree": [
68328 {
68329 "tag": "html",
68330 "children": [
68331 {
68332 "tag": "head"
68333 },
68334 {
68335 "tag": "body",
68336 "children": [
68337 {
68338 "tag": "form"
68339 }
68340 ]
68341 }
68342 ]
68343 }
68344 ],
68345 "html": "<html><head></head><body><form></form></body></html>",
68346 "noQuirksBodyHtml": "<form></form>"
68347 }
68348 },
68349 {
68350 "data": "<button><button>",
68351 "errors": [
68352 "(1,8): expected-doctype-but-got-start-tag",
68353 "(1,16): unexpected-start-tag-implies-end-tag",
68354 "(1,16): expected-closing-tag-but-got-eof"
68355 ],
68356 "document": {
68357 "props": {
68358 "tags": {
68359 "html": true,
68360 "head": true,
68361 "body": true,
68362 "button": true
68363 }
68364 },
68365 "tree": [
68366 {
68367 "tag": "html",
68368 "children": [
68369 {
68370 "tag": "head"
68371 },
68372 {
68373 "tag": "body",
68374 "children": [
68375 {
68376 "tag": "button"
68377 },
68378 {
68379 "tag": "button"
68380 }
68381 ]
68382 }
68383 ]
68384 }
68385 ],
68386 "html": "<html><head></head><body><button></button><button></button></body></html>",
68387 "noQuirksBodyHtml": "<button></button><button></button>"
68388 }
68389 },
68390 {
68391 "data": "<table><tr><td></th>",
68392 "errors": [
68393 "(1,7): expected-doctype-but-got-start-tag",
68394 "(1,20): unexpected-end-tag",
68395 "(1,20): expected-closing-tag-but-got-eof"
68396 ],
68397 "document": {
68398 "props": {
68399 "tags": {
68400 "html": true,
68401 "head": true,
68402 "body": true,
68403 "table": true,
68404 "tbody": true,
68405 "tr": true,
68406 "td": true
68407 }
68408 },
68409 "tree": [
68410 {
68411 "tag": "html",
68412 "children": [
68413 {
68414 "tag": "head"
68415 },
68416 {
68417 "tag": "body",
68418 "children": [
68419 {
68420 "tag": "table",
68421 "children": [
68422 {
68423 "tag": "tbody",
68424 "children": [
68425 {
68426 "tag": "tr",
68427 "children": [
68428 {
68429 "tag": "td"
68430 }
68431 ]
68432 }
68433 ]
68434 }
68435 ]
68436 }
68437 ]
68438 }
68439 ]
68440 }
68441 ],
68442 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
68443 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
68444 }
68445 },
68446 {
68447 "data": "<table><caption><td>",
68448 "errors": [
68449 "(1,7): expected-doctype-but-got-start-tag",
68450 "(1,20): unexpected-cell-in-table-body",
68451 "(1,20): expected-closing-tag-but-got-eof"
68452 ],
68453 "document": {
68454 "props": {
68455 "tags": {
68456 "html": true,
68457 "head": true,
68458 "body": true,
68459 "table": true,
68460 "caption": true,
68461 "tbody": true,
68462 "tr": true,
68463 "td": true
68464 }
68465 },
68466 "tree": [
68467 {
68468 "tag": "html",
68469 "children": [
68470 {
68471 "tag": "head"
68472 },
68473 {
68474 "tag": "body",
68475 "children": [
68476 {
68477 "tag": "table",
68478 "children": [
68479 {
68480 "tag": "caption"
68481 },
68482 {
68483 "tag": "tbody",
68484 "children": [
68485 {
68486 "tag": "tr",
68487 "children": [
68488 {
68489 "tag": "td"
68490 }
68491 ]
68492 }
68493 ]
68494 }
68495 ]
68496 }
68497 ]
68498 }
68499 ]
68500 }
68501 ],
68502 "html": "<html><head></head><body><table><caption></caption><tbody><tr><td></td></tr></tbody></table></body></html>",
68503 "noQuirksBodyHtml": "<table><caption></caption><tbody><tr><td></td></tr></tbody></table>"
68504 }
68505 },
68506 {
68507 "data": "<table><caption><div>",
68508 "errors": [
68509 "(1,7): expected-doctype-but-got-start-tag",
68510 "(1,21): expected-closing-tag-but-got-eof"
68511 ],
68512 "document": {
68513 "props": {
68514 "tags": {
68515 "html": true,
68516 "head": true,
68517 "body": true,
68518 "table": true,
68519 "caption": true,
68520 "div": true
68521 }
68522 },
68523 "tree": [
68524 {
68525 "tag": "html",
68526 "children": [
68527 {
68528 "tag": "head"
68529 },
68530 {
68531 "tag": "body",
68532 "children": [
68533 {
68534 "tag": "table",
68535 "children": [
68536 {
68537 "tag": "caption",
68538 "children": [
68539 {
68540 "tag": "div"
68541 }
68542 ]
68543 }
68544 ]
68545 }
68546 ]
68547 }
68548 ]
68549 }
68550 ],
68551 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
68552 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
68553 }
68554 },
68555 {
68556 "data": "</caption><div>",
68557 "errors": [
68558 "(1,10): XXX-undefined-error",
68559 "(1,15): expected-closing-tag-but-got-eof"
68560 ],
68561 "fragment": {
68562 "name": "caption"
68563 },
68564 "document": {
68565 "props": {
68566 "tags": {
68567 "div": true
68568 }
68569 },
68570 "tree": [
68571 {
68572 "tag": "div"
68573 }
68574 ],
68575 "html": "<div></div>",
68576 "noQuirksBodyHtml": "<div></div>"
68577 }
68578 },
68579 {
68580 "data": "<table><caption><div></caption>",
68581 "errors": [
68582 "(1,7): expected-doctype-but-got-start-tag",
68583 "(1,31): expected-one-end-tag-but-got-another",
68584 "(1,31): eof-in-table"
68585 ],
68586 "document": {
68587 "props": {
68588 "tags": {
68589 "html": true,
68590 "head": true,
68591 "body": true,
68592 "table": true,
68593 "caption": true,
68594 "div": true
68595 }
68596 },
68597 "tree": [
68598 {
68599 "tag": "html",
68600 "children": [
68601 {
68602 "tag": "head"
68603 },
68604 {
68605 "tag": "body",
68606 "children": [
68607 {
68608 "tag": "table",
68609 "children": [
68610 {
68611 "tag": "caption",
68612 "children": [
68613 {
68614 "tag": "div"
68615 }
68616 ]
68617 }
68618 ]
68619 }
68620 ]
68621 }
68622 ]
68623 }
68624 ],
68625 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
68626 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
68627 }
68628 },
68629 {
68630 "data": "<table><caption></table>",
68631 "errors": [
68632 "(1,7): expected-doctype-but-got-start-tag"
68633 ],
68634 "document": {
68635 "props": {
68636 "tags": {
68637 "html": true,
68638 "head": true,
68639 "body": true,
68640 "table": true,
68641 "caption": true
68642 }
68643 },
68644 "tree": [
68645 {
68646 "tag": "html",
68647 "children": [
68648 {
68649 "tag": "head"
68650 },
68651 {
68652 "tag": "body",
68653 "children": [
68654 {
68655 "tag": "table",
68656 "children": [
68657 {
68658 "tag": "caption"
68659 }
68660 ]
68661 }
68662 ]
68663 }
68664 ]
68665 }
68666 ],
68667 "html": "<html><head></head><body><table><caption></caption></table></body></html>",
68668 "noQuirksBodyHtml": "<table><caption></caption></table>"
68669 }
68670 },
68671 {
68672 "data": "</table><div>",
68673 "errors": [
68674 "(1,8): unexpected-end-tag",
68675 "(1,13): expected-closing-tag-but-got-eof"
68676 ],
68677 "fragment": {
68678 "name": "caption"
68679 },
68680 "document": {
68681 "props": {
68682 "tags": {
68683 "div": true
68684 }
68685 },
68686 "tree": [
68687 {
68688 "tag": "div"
68689 }
68690 ],
68691 "html": "<div></div>",
68692 "noQuirksBodyHtml": "<div></div>"
68693 }
68694 },
68695 {
68696 "data": "<table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr>",
68697 "errors": [
68698 "(1,7): expected-doctype-but-got-start-tag",
68699 "(1,23): unexpected-end-tag",
68700 "(1,29): unexpected-end-tag",
68701 "(1,40): unexpected-end-tag",
68702 "(1,47): unexpected-end-tag",
68703 "(1,55): unexpected-end-tag",
68704 "(1,60): unexpected-end-tag",
68705 "(1,68): unexpected-end-tag",
68706 "(1,73): unexpected-end-tag",
68707 "(1,81): unexpected-end-tag",
68708 "(1,86): unexpected-end-tag",
68709 "(1,86): expected-closing-tag-but-got-eof"
68710 ],
68711 "document": {
68712 "props": {
68713 "tags": {
68714 "html": true,
68715 "head": true,
68716 "body": true,
68717 "table": true,
68718 "caption": true
68719 }
68720 },
68721 "tree": [
68722 {
68723 "tag": "html",
68724 "children": [
68725 {
68726 "tag": "head"
68727 },
68728 {
68729 "tag": "body",
68730 "children": [
68731 {
68732 "tag": "table",
68733 "children": [
68734 {
68735 "tag": "caption"
68736 }
68737 ]
68738 }
68739 ]
68740 }
68741 ]
68742 }
68743 ],
68744 "html": "<html><head></head><body><table><caption></caption></table></body></html>",
68745 "noQuirksBodyHtml": "<table><caption></caption></table>"
68746 }
68747 },
68748 {
68749 "data": "<table><caption><div></div>",
68750 "errors": [
68751 "(1,7): expected-doctype-but-got-start-tag",
68752 "(1,27): expected-closing-tag-but-got-eof"
68753 ],
68754 "document": {
68755 "props": {
68756 "tags": {
68757 "html": true,
68758 "head": true,
68759 "body": true,
68760 "table": true,
68761 "caption": true,
68762 "div": true
68763 }
68764 },
68765 "tree": [
68766 {
68767 "tag": "html",
68768 "children": [
68769 {
68770 "tag": "head"
68771 },
68772 {
68773 "tag": "body",
68774 "children": [
68775 {
68776 "tag": "table",
68777 "children": [
68778 {
68779 "tag": "caption",
68780 "children": [
68781 {
68782 "tag": "div"
68783 }
68784 ]
68785 }
68786 ]
68787 }
68788 ]
68789 }
68790 ]
68791 }
68792 ],
68793 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
68794 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
68795 }
68796 },
68797 {
68798 "data": "<table><tr><td></body></caption></col></colgroup></html>",
68799 "errors": [
68800 "(1,7): expected-doctype-but-got-start-tag",
68801 "(1,22): unexpected-end-tag",
68802 "(1,32): unexpected-end-tag",
68803 "(1,38): unexpected-end-tag",
68804 "(1,49): unexpected-end-tag",
68805 "(1,56): unexpected-end-tag",
68806 "(1,56): expected-closing-tag-but-got-eof"
68807 ],
68808 "document": {
68809 "props": {
68810 "tags": {
68811 "html": true,
68812 "head": true,
68813 "body": true,
68814 "table": true,
68815 "tbody": true,
68816 "tr": true,
68817 "td": true
68818 }
68819 },
68820 "tree": [
68821 {
68822 "tag": "html",
68823 "children": [
68824 {
68825 "tag": "head"
68826 },
68827 {
68828 "tag": "body",
68829 "children": [
68830 {
68831 "tag": "table",
68832 "children": [
68833 {
68834 "tag": "tbody",
68835 "children": [
68836 {
68837 "tag": "tr",
68838 "children": [
68839 {
68840 "tag": "td"
68841 }
68842 ]
68843 }
68844 ]
68845 }
68846 ]
68847 }
68848 ]
68849 }
68850 ]
68851 }
68852 ],
68853 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
68854 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
68855 }
68856 },
68857 {
68858 "data": "</table></tbody></tfoot></thead></tr><div>",
68859 "errors": [
68860 "(1,8): unexpected-end-tag",
68861 "(1,16): unexpected-end-tag",
68862 "(1,24): unexpected-end-tag",
68863 "(1,32): unexpected-end-tag",
68864 "(1,37): unexpected-end-tag",
68865 "(1,42): expected-closing-tag-but-got-eof"
68866 ],
68867 "fragment": {
68868 "name": "td"
68869 },
68870 "document": {
68871 "props": {
68872 "tags": {
68873 "div": true
68874 }
68875 },
68876 "tree": [
68877 {
68878 "tag": "div"
68879 }
68880 ],
68881 "html": "<div></div>",
68882 "noQuirksBodyHtml": "<div></div>"
68883 }
68884 },
68885 {
68886 "data": "<table><colgroup>foo",
68887 "errors": [
68888 "(1,7): expected-doctype-but-got-start-tag",
68889 "(1,18): foster-parenting-character-in-table",
68890 "(1,19): foster-parenting-character-in-table",
68891 "(1,20): foster-parenting-character-in-table",
68892 "(1,20): eof-in-table"
68893 ],
68894 "document": {
68895 "props": {
68896 "tags": {
68897 "html": true,
68898 "head": true,
68899 "body": true,
68900 "table": true,
68901 "colgroup": true
68902 }
68903 },
68904 "tree": [
68905 {
68906 "tag": "html",
68907 "children": [
68908 {
68909 "tag": "head"
68910 },
68911 {
68912 "tag": "body",
68913 "children": [
68914 {
68915 "text": "foo"
68916 },
68917 {
68918 "tag": "table",
68919 "children": [
68920 {
68921 "tag": "colgroup"
68922 }
68923 ]
68924 }
68925 ]
68926 }
68927 ]
68928 }
68929 ],
68930 "html": "<html><head></head><body>foo<table><colgroup></colgroup></table></body></html>",
68931 "noQuirksBodyHtml": "foo<table><colgroup></colgroup></table>"
68932 }
68933 },
68934 {
68935 "data": "foo<col>",
68936 "errors": [
68937 "(1,1): unexpected-character-in-colgroup",
68938 "(1,2): unexpected-character-in-colgroup",
68939 "(1,3): unexpected-character-in-colgroup"
68940 ],
68941 "fragment": {
68942 "name": "colgroup"
68943 },
68944 "document": {
68945 "props": {
68946 "tags": {
68947 "col": true
68948 }
68949 },
68950 "tree": [
68951 {
68952 "tag": "col"
68953 }
68954 ],
68955 "html": "<col>",
68956 "noQuirksBodyHtml": "foo"
68957 }
68958 },
68959 {
68960 "data": "<table><colgroup></col>",
68961 "errors": [
68962 "(1,7): expected-doctype-but-got-start-tag",
68963 "(1,23): no-end-tag",
68964 "(1,23): eof-in-table"
68965 ],
68966 "document": {
68967 "props": {
68968 "tags": {
68969 "html": true,
68970 "head": true,
68971 "body": true,
68972 "table": true,
68973 "colgroup": true
68974 }
68975 },
68976 "tree": [
68977 {
68978 "tag": "html",
68979 "children": [
68980 {
68981 "tag": "head"
68982 },
68983 {
68984 "tag": "body",
68985 "children": [
68986 {
68987 "tag": "table",
68988 "children": [
68989 {
68990 "tag": "colgroup"
68991 }
68992 ]
68993 }
68994 ]
68995 }
68996 ]
68997 }
68998 ],
68999 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
69000 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
69001 }
69002 },
69003 {
69004 "data": "<frameset><div>",
69005 "errors": [
69006 "(1,10): expected-doctype-but-got-start-tag",
69007 "(1,15): unexpected-start-tag-in-frameset",
69008 "(1,15): eof-in-frameset"
69009 ],
69010 "document": {
69011 "props": {
69012 "tags": {
69013 "html": true,
69014 "head": true,
69015 "frameset": true
69016 }
69017 },
69018 "tree": [
69019 {
69020 "tag": "html",
69021 "children": [
69022 {
69023 "tag": "head"
69024 },
69025 {
69026 "tag": "frameset"
69027 }
69028 ]
69029 }
69030 ],
69031 "html": "<html><head></head><frameset></frameset></html>",
69032 "noQuirksBodyHtml": "<div></div>"
69033 }
69034 },
69035 {
69036 "data": "</frameset><frame>",
69037 "errors": [
69038 "(1,11): unexpected-frameset-in-frameset-innerhtml"
69039 ],
69040 "fragment": {
69041 "name": "frameset"
69042 },
69043 "document": {
69044 "props": {
69045 "tags": {
69046 "frame": true
69047 }
69048 },
69049 "tree": [
69050 {
69051 "tag": "frame"
69052 }
69053 ],
69054 "html": "<frame>",
69055 "noQuirksBodyHtml": ""
69056 }
69057 },
69058 {
69059 "data": "<frameset></div>",
69060 "errors": [
69061 "(1,10): expected-doctype-but-got-start-tag",
69062 "(1,16): unexpected-end-tag-in-frameset",
69063 "(1,16): eof-in-frameset"
69064 ],
69065 "document": {
69066 "props": {
69067 "tags": {
69068 "html": true,
69069 "head": true,
69070 "frameset": true
69071 }
69072 },
69073 "tree": [
69074 {
69075 "tag": "html",
69076 "children": [
69077 {
69078 "tag": "head"
69079 },
69080 {
69081 "tag": "frameset"
69082 }
69083 ]
69084 }
69085 ],
69086 "html": "<html><head></head><frameset></frameset></html>",
69087 "noQuirksBodyHtml": ""
69088 }
69089 },
69090 {
69091 "data": "</body><div>",
69092 "errors": [
69093 "(1,7): unexpected-close-tag",
69094 "(1,12): expected-closing-tag-but-got-eof"
69095 ],
69096 "fragment": {
69097 "name": "body"
69098 },
69099 "document": {
69100 "props": {
69101 "tags": {
69102 "div": true
69103 }
69104 },
69105 "tree": [
69106 {
69107 "tag": "div"
69108 }
69109 ],
69110 "html": "<div></div>",
69111 "noQuirksBodyHtml": "<div></div>"
69112 }
69113 },
69114 {
69115 "data": "<table><tr><div>",
69116 "errors": [
69117 "(1,7): expected-doctype-but-got-start-tag",
69118 "(1,16): unexpected-start-tag-implies-table-voodoo",
69119 "(1,16): eof-in-table"
69120 ],
69121 "document": {
69122 "props": {
69123 "tags": {
69124 "html": true,
69125 "head": true,
69126 "body": true,
69127 "div": true,
69128 "table": true,
69129 "tbody": true,
69130 "tr": true
69131 }
69132 },
69133 "tree": [
69134 {
69135 "tag": "html",
69136 "children": [
69137 {
69138 "tag": "head"
69139 },
69140 {
69141 "tag": "body",
69142 "children": [
69143 {
69144 "tag": "div"
69145 },
69146 {
69147 "tag": "table",
69148 "children": [
69149 {
69150 "tag": "tbody",
69151 "children": [
69152 {
69153 "tag": "tr"
69154 }
69155 ]
69156 }
69157 ]
69158 }
69159 ]
69160 }
69161 ]
69162 }
69163 ],
69164 "html": "<html><head></head><body><div></div><table><tbody><tr></tr></tbody></table></body></html>",
69165 "noQuirksBodyHtml": "<div></div><table><tbody><tr></tr></tbody></table>"
69166 }
69167 },
69168 {
69169 "data": "</tr><td>",
69170 "errors": [
69171 "(1,5): unexpected-end-tag"
69172 ],
69173 "fragment": {
69174 "name": "tr"
69175 },
69176 "document": {
69177 "props": {
69178 "tags": {
69179 "td": true
69180 }
69181 },
69182 "tree": [
69183 {
69184 "tag": "td"
69185 }
69186 ],
69187 "html": "<td></td>",
69188 "noQuirksBodyHtml": ""
69189 }
69190 },
69191 {
69192 "data": "</tbody></tfoot></thead><td>",
69193 "errors": [
69194 "(1,8): unexpected-end-tag",
69195 "(1,16): unexpected-end-tag",
69196 "(1,24): unexpected-end-tag"
69197 ],
69198 "fragment": {
69199 "name": "tr"
69200 },
69201 "document": {
69202 "props": {
69203 "tags": {
69204 "td": true
69205 }
69206 },
69207 "tree": [
69208 {
69209 "tag": "td"
69210 }
69211 ],
69212 "html": "<td></td>",
69213 "noQuirksBodyHtml": ""
69214 }
69215 },
69216 {
69217 "data": "<table><tr><div><td>",
69218 "errors": [
69219 "(1,7): expected-doctype-but-got-start-tag",
69220 "(1,16): foster-parenting-start-tag",
69221 "(1,20): expected-closing-tag-but-got-eof"
69222 ],
69223 "document": {
69224 "props": {
69225 "tags": {
69226 "html": true,
69227 "head": true,
69228 "body": true,
69229 "div": true,
69230 "table": true,
69231 "tbody": true,
69232 "tr": true,
69233 "td": true
69234 }
69235 },
69236 "tree": [
69237 {
69238 "tag": "html",
69239 "children": [
69240 {
69241 "tag": "head"
69242 },
69243 {
69244 "tag": "body",
69245 "children": [
69246 {
69247 "tag": "div"
69248 },
69249 {
69250 "tag": "table",
69251 "children": [
69252 {
69253 "tag": "tbody",
69254 "children": [
69255 {
69256 "tag": "tr",
69257 "children": [
69258 {
69259 "tag": "td"
69260 }
69261 ]
69262 }
69263 ]
69264 }
69265 ]
69266 }
69267 ]
69268 }
69269 ]
69270 }
69271 ],
69272 "html": "<html><head></head><body><div></div><table><tbody><tr><td></td></tr></tbody></table></body></html>",
69273 "noQuirksBodyHtml": "<div></div><table><tbody><tr><td></td></tr></tbody></table>"
69274 }
69275 },
69276 {
69277 "data": "<caption><col><colgroup><tbody><tfoot><thead><tr>",
69278 "errors": [
69279 "(1,9): unexpected-start-tag",
69280 "(1,14): unexpected-start-tag",
69281 "(1,24): unexpected-start-tag",
69282 "(1,31): unexpected-start-tag",
69283 "(1,38): unexpected-start-tag",
69284 "(1,45): unexpected-start-tag"
69285 ],
69286 "fragment": {
69287 "name": "tbody"
69288 },
69289 "document": {
69290 "props": {
69291 "tags": {
69292 "tr": true
69293 }
69294 },
69295 "tree": [
69296 {
69297 "tag": "tr"
69298 }
69299 ],
69300 "html": "<tr></tr>",
69301 "noQuirksBodyHtml": ""
69302 }
69303 },
69304 {
69305 "data": "<table><tbody></thead>",
69306 "errors": [
69307 "(1,7): expected-doctype-but-got-start-tag",
69308 "(1,22): unexpected-end-tag-in-table-body",
69309 "(1,22): eof-in-table"
69310 ],
69311 "document": {
69312 "props": {
69313 "tags": {
69314 "html": true,
69315 "head": true,
69316 "body": true,
69317 "table": true,
69318 "tbody": true
69319 }
69320 },
69321 "tree": [
69322 {
69323 "tag": "html",
69324 "children": [
69325 {
69326 "tag": "head"
69327 },
69328 {
69329 "tag": "body",
69330 "children": [
69331 {
69332 "tag": "table",
69333 "children": [
69334 {
69335 "tag": "tbody"
69336 }
69337 ]
69338 }
69339 ]
69340 }
69341 ]
69342 }
69343 ],
69344 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
69345 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
69346 }
69347 },
69348 {
69349 "data": "</table><tr>",
69350 "errors": [
69351 "(1,8): unexpected-end-tag"
69352 ],
69353 "fragment": {
69354 "name": "tbody"
69355 },
69356 "document": {
69357 "props": {
69358 "tags": {
69359 "tr": true
69360 }
69361 },
69362 "tree": [
69363 {
69364 "tag": "tr"
69365 }
69366 ],
69367 "html": "<tr></tr>",
69368 "noQuirksBodyHtml": ""
69369 }
69370 },
69371 {
69372 "data": "<table><tbody></body></caption></col></colgroup></html></td></th></tr>",
69373 "errors": [
69374 "(1,7): expected-doctype-but-got-start-tag",
69375 "(1,21): unexpected-end-tag-in-table-body",
69376 "(1,31): unexpected-end-tag-in-table-body",
69377 "(1,37): unexpected-end-tag-in-table-body",
69378 "(1,48): unexpected-end-tag-in-table-body",
69379 "(1,55): unexpected-end-tag-in-table-body",
69380 "(1,60): unexpected-end-tag-in-table-body",
69381 "(1,65): unexpected-end-tag-in-table-body",
69382 "(1,70): unexpected-end-tag-in-table-body",
69383 "(1,70): eof-in-table"
69384 ],
69385 "document": {
69386 "props": {
69387 "tags": {
69388 "html": true,
69389 "head": true,
69390 "body": true,
69391 "table": true,
69392 "tbody": true
69393 }
69394 },
69395 "tree": [
69396 {
69397 "tag": "html",
69398 "children": [
69399 {
69400 "tag": "head"
69401 },
69402 {
69403 "tag": "body",
69404 "children": [
69405 {
69406 "tag": "table",
69407 "children": [
69408 {
69409 "tag": "tbody"
69410 }
69411 ]
69412 }
69413 ]
69414 }
69415 ]
69416 }
69417 ],
69418 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
69419 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
69420 }
69421 },
69422 {
69423 "data": "<table><tbody></div>",
69424 "errors": [
69425 "(1,7): expected-doctype-but-got-start-tag",
69426 "(1,20): unexpected-end-tag-implies-table-voodoo",
69427 "(1,20): end-tag-too-early",
69428 "(1,20): eof-in-table"
69429 ],
69430 "document": {
69431 "props": {
69432 "tags": {
69433 "html": true,
69434 "head": true,
69435 "body": true,
69436 "table": true,
69437 "tbody": true
69438 }
69439 },
69440 "tree": [
69441 {
69442 "tag": "html",
69443 "children": [
69444 {
69445 "tag": "head"
69446 },
69447 {
69448 "tag": "body",
69449 "children": [
69450 {
69451 "tag": "table",
69452 "children": [
69453 {
69454 "tag": "tbody"
69455 }
69456 ]
69457 }
69458 ]
69459 }
69460 ]
69461 }
69462 ],
69463 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
69464 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
69465 }
69466 },
69467 {
69468 "data": "<table><table>",
69469 "errors": [
69470 "(1,7): expected-doctype-but-got-start-tag",
69471 "(1,14): unexpected-start-tag-implies-end-tag",
69472 "(1,14): eof-in-table"
69473 ],
69474 "document": {
69475 "props": {
69476 "tags": {
69477 "html": true,
69478 "head": true,
69479 "body": true,
69480 "table": true
69481 }
69482 },
69483 "tree": [
69484 {
69485 "tag": "html",
69486 "children": [
69487 {
69488 "tag": "head"
69489 },
69490 {
69491 "tag": "body",
69492 "children": [
69493 {
69494 "tag": "table"
69495 },
69496 {
69497 "tag": "table"
69498 }
69499 ]
69500 }
69501 ]
69502 }
69503 ],
69504 "html": "<html><head></head><body><table></table><table></table></body></html>",
69505 "noQuirksBodyHtml": "<table></table><table></table>"
69506 }
69507 },
69508 {
69509 "data": "<table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr>",
69510 "errors": [
69511 "(1,7): expected-doctype-but-got-start-tag",
69512 "(1,14): unexpected-end-tag",
69513 "(1,24): unexpected-end-tag",
69514 "(1,30): unexpected-end-tag",
69515 "(1,41): unexpected-end-tag",
69516 "(1,48): unexpected-end-tag",
69517 "(1,56): unexpected-end-tag",
69518 "(1,61): unexpected-end-tag",
69519 "(1,69): unexpected-end-tag",
69520 "(1,74): unexpected-end-tag",
69521 "(1,82): unexpected-end-tag",
69522 "(1,87): unexpected-end-tag",
69523 "(1,87): eof-in-table"
69524 ],
69525 "document": {
69526 "props": {
69527 "tags": {
69528 "html": true,
69529 "head": true,
69530 "body": true,
69531 "table": true
69532 }
69533 },
69534 "tree": [
69535 {
69536 "tag": "html",
69537 "children": [
69538 {
69539 "tag": "head"
69540 },
69541 {
69542 "tag": "body",
69543 "children": [
69544 {
69545 "tag": "table"
69546 }
69547 ]
69548 }
69549 ]
69550 }
69551 ],
69552 "html": "<html><head></head><body><table></table></body></html>",
69553 "noQuirksBodyHtml": "<table></table>"
69554 }
69555 },
69556 {
69557 "data": "</table><tr>",
69558 "errors": [
69559 "(1,8): unexpected-end-tag"
69560 ],
69561 "fragment": {
69562 "name": "table"
69563 },
69564 "document": {
69565 "props": {
69566 "tags": {
69567 "tbody": true,
69568 "tr": true
69569 }
69570 },
69571 "tree": [
69572 {
69573 "tag": "tbody",
69574 "children": [
69575 {
69576 "tag": "tr"
69577 }
69578 ]
69579 }
69580 ],
69581 "html": "<tbody><tr></tr></tbody>",
69582 "noQuirksBodyHtml": ""
69583 }
69584 },
69585 {
69586 "data": "<body></body></html>",
69587 "errors": [
69588 "(1,20): unexpected-end-tag-after-body-innerhtml"
69589 ],
69590 "fragment": {
69591 "name": "html"
69592 },
69593 "document": {
69594 "props": {
69595 "tags": {
69596 "head": true,
69597 "body": true
69598 }
69599 },
69600 "tree": [
69601 {
69602 "tag": "head"
69603 },
69604 {
69605 "tag": "body"
69606 }
69607 ],
69608 "html": "<head></head><body></body>",
69609 "noQuirksBodyHtml": ""
69610 }
69611 },
69612 {
69613 "data": "<html><frameset></frameset></html> ",
69614 "errors": [
69615 "(1,6): expected-doctype-but-got-start-tag"
69616 ],
69617 "document": {
69618 "props": {
69619 "tags": {
69620 "html": true,
69621 "head": true,
69622 "frameset": true
69623 }
69624 },
69625 "tree": [
69626 {
69627 "tag": "html",
69628 "children": [
69629 {
69630 "tag": "head"
69631 },
69632 {
69633 "tag": "frameset"
69634 },
69635 {
69636 "text": " "
69637 }
69638 ]
69639 }
69640 ],
69641 "html": "<html><head></head><frameset></frameset> </html>",
69642 "noQuirksBodyHtml": " "
69643 }
69644 },
69645 {
69646 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\"><html></html>",
69647 "errors": [],
69648 "document": {
69649 "props": {
69650 "tags": {
69651 "html": true,
69652 "head": true,
69653 "body": true
69654 },
69655 "doctype": true
69656 },
69657 "tree": [
69658 {
69659 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"\""
69660 },
69661 {
69662 "tag": "html",
69663 "children": [
69664 {
69665 "tag": "head"
69666 },
69667 {
69668 "tag": "body"
69669 }
69670 ]
69671 }
69672 ],
69673 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
69674 "noQuirksBodyHtml": ""
69675 }
69676 },
69677 {
69678 "data": "<param><frameset></frameset>",
69679 "errors": [
69680 "(1,7): expected-doctype-but-got-start-tag",
69681 "(1,17): unexpected-start-tag"
69682 ],
69683 "document": {
69684 "props": {
69685 "tags": {
69686 "html": true,
69687 "head": true,
69688 "frameset": true
69689 }
69690 },
69691 "tree": [
69692 {
69693 "tag": "html",
69694 "children": [
69695 {
69696 "tag": "head"
69697 },
69698 {
69699 "tag": "frameset"
69700 }
69701 ]
69702 }
69703 ],
69704 "html": "<html><head></head><frameset></frameset></html>",
69705 "noQuirksBodyHtml": "<param>"
69706 }
69707 },
69708 {
69709 "data": "<source><frameset></frameset>",
69710 "errors": [
69711 "(1,8): expected-doctype-but-got-start-tag",
69712 "(1,18): unexpected-start-tag"
69713 ],
69714 "document": {
69715 "props": {
69716 "tags": {
69717 "html": true,
69718 "head": true,
69719 "frameset": true
69720 }
69721 },
69722 "tree": [
69723 {
69724 "tag": "html",
69725 "children": [
69726 {
69727 "tag": "head"
69728 },
69729 {
69730 "tag": "frameset"
69731 }
69732 ]
69733 }
69734 ],
69735 "html": "<html><head></head><frameset></frameset></html>",
69736 "noQuirksBodyHtml": "<source>"
69737 }
69738 },
69739 {
69740 "data": "<track><frameset></frameset>",
69741 "errors": [
69742 "(1,7): expected-doctype-but-got-start-tag",
69743 "(1,17): unexpected-start-tag"
69744 ],
69745 "document": {
69746 "props": {
69747 "tags": {
69748 "html": true,
69749 "head": true,
69750 "frameset": true
69751 }
69752 },
69753 "tree": [
69754 {
69755 "tag": "html",
69756 "children": [
69757 {
69758 "tag": "head"
69759 },
69760 {
69761 "tag": "frameset"
69762 }
69763 ]
69764 }
69765 ],
69766 "html": "<html><head></head><frameset></frameset></html>",
69767 "noQuirksBodyHtml": "<track>"
69768 }
69769 },
69770 {
69771 "data": "</html><frameset></frameset>",
69772 "errors": [
69773 "(1,7): expected-doctype-but-got-end-tag",
69774 "(1,17): expected-eof-but-got-start-tag",
69775 "(1,17): unexpected-start-tag"
69776 ],
69777 "document": {
69778 "props": {
69779 "tags": {
69780 "html": true,
69781 "head": true,
69782 "frameset": true
69783 }
69784 },
69785 "tree": [
69786 {
69787 "tag": "html",
69788 "children": [
69789 {
69790 "tag": "head"
69791 },
69792 {
69793 "tag": "frameset"
69794 }
69795 ]
69796 }
69797 ],
69798 "html": "<html><head></head><frameset></frameset></html>",
69799 "noQuirksBodyHtml": ""
69800 }
69801 },
69802 {
69803 "data": "</body><frameset></frameset>",
69804 "errors": [
69805 "(1,7): expected-doctype-but-got-end-tag",
69806 "(1,17): unexpected-start-tag-after-body",
69807 "(1,17): unexpected-start-tag"
69808 ],
69809 "document": {
69810 "props": {
69811 "tags": {
69812 "html": true,
69813 "head": true,
69814 "frameset": true
69815 }
69816 },
69817 "tree": [
69818 {
69819 "tag": "html",
69820 "children": [
69821 {
69822 "tag": "head"
69823 },
69824 {
69825 "tag": "frameset"
69826 }
69827 ]
69828 }
69829 ],
69830 "html": "<html><head></head><frameset></frameset></html>",
69831 "noQuirksBodyHtml": ""
69832 }
69833 }
69834 ],
69835 "tests7.dat": [
69836 {
69837 "data": "<!doctype html><body><title>X</title>",
69838 "errors": [],
69839 "document": {
69840 "props": {
69841 "tags": {
69842 "html": true,
69843 "head": true,
69844 "body": true,
69845 "title": true
69846 },
69847 "doctype": true
69848 },
69849 "tree": [
69850 {
69851 "doctype": "html"
69852 },
69853 {
69854 "tag": "html",
69855 "children": [
69856 {
69857 "tag": "head"
69858 },
69859 {
69860 "tag": "body",
69861 "children": [
69862 {
69863 "tag": "title",
69864 "children": [
69865 {
69866 "text": "X"
69867 }
69868 ]
69869 }
69870 ]
69871 }
69872 ]
69873 }
69874 ],
69875 "html": "<!DOCTYPE html><html><head></head><body><title>X</title></body></html>",
69876 "noQuirksBodyHtml": "<title>X</title>"
69877 }
69878 },
69879 {
69880 "data": "<!doctype html><table><title>X</title></table>",
69881 "errors": [
69882 "(1,29): unexpected-start-tag-implies-table-voodoo"
69883 ],
69884 "document": {
69885 "props": {
69886 "tags": {
69887 "html": true,
69888 "head": true,
69889 "body": true,
69890 "title": true,
69891 "table": true
69892 },
69893 "doctype": true
69894 },
69895 "tree": [
69896 {
69897 "doctype": "html"
69898 },
69899 {
69900 "tag": "html",
69901 "children": [
69902 {
69903 "tag": "head"
69904 },
69905 {
69906 "tag": "body",
69907 "children": [
69908 {
69909 "tag": "title",
69910 "children": [
69911 {
69912 "text": "X"
69913 }
69914 ]
69915 },
69916 {
69917 "tag": "table"
69918 }
69919 ]
69920 }
69921 ]
69922 }
69923 ],
69924 "html": "<!DOCTYPE html><html><head></head><body><title>X</title><table></table></body></html>",
69925 "noQuirksBodyHtml": "<title>X</title><table></table>"
69926 }
69927 },
69928 {
69929 "data": "<!doctype html><head></head><title>X</title>",
69930 "errors": [
69931 "(1,35): unexpected-start-tag-out-of-my-head"
69932 ],
69933 "document": {
69934 "props": {
69935 "tags": {
69936 "html": true,
69937 "head": true,
69938 "title": true,
69939 "body": true
69940 },
69941 "doctype": true
69942 },
69943 "tree": [
69944 {
69945 "doctype": "html"
69946 },
69947 {
69948 "tag": "html",
69949 "children": [
69950 {
69951 "tag": "head",
69952 "children": [
69953 {
69954 "tag": "title",
69955 "children": [
69956 {
69957 "text": "X"
69958 }
69959 ]
69960 }
69961 ]
69962 },
69963 {
69964 "tag": "body"
69965 }
69966 ]
69967 }
69968 ],
69969 "html": "<!DOCTYPE html><html><head><title>X</title></head><body></body></html>",
69970 "noQuirksBodyHtml": "<title>X</title>"
69971 }
69972 },
69973 {
69974 "data": "<!doctype html></head><title>X</title>",
69975 "errors": [
69976 "(1,29): unexpected-start-tag-out-of-my-head"
69977 ],
69978 "document": {
69979 "props": {
69980 "tags": {
69981 "html": true,
69982 "head": true,
69983 "title": true,
69984 "body": true
69985 },
69986 "doctype": true
69987 },
69988 "tree": [
69989 {
69990 "doctype": "html"
69991 },
69992 {
69993 "tag": "html",
69994 "children": [
69995 {
69996 "tag": "head",
69997 "children": [
69998 {
69999 "tag": "title",
70000 "children": [
70001 {
70002 "text": "X"
70003 }
70004 ]
70005 }
70006 ]
70007 },
70008 {
70009 "tag": "body"
70010 }
70011 ]
70012 }
70013 ],
70014 "html": "<!DOCTYPE html><html><head><title>X</title></head><body></body></html>",
70015 "noQuirksBodyHtml": "<title>X</title>"
70016 }
70017 },
70018 {
70019 "data": "<!doctype html><table><meta></table>",
70020 "errors": [
70021 "(1,28): unexpected-start-tag-implies-table-voodoo"
70022 ],
70023 "document": {
70024 "props": {
70025 "tags": {
70026 "html": true,
70027 "head": true,
70028 "body": true,
70029 "meta": true,
70030 "table": true
70031 },
70032 "doctype": true
70033 },
70034 "tree": [
70035 {
70036 "doctype": "html"
70037 },
70038 {
70039 "tag": "html",
70040 "children": [
70041 {
70042 "tag": "head"
70043 },
70044 {
70045 "tag": "body",
70046 "children": [
70047 {
70048 "tag": "meta"
70049 },
70050 {
70051 "tag": "table"
70052 }
70053 ]
70054 }
70055 ]
70056 }
70057 ],
70058 "html": "<!DOCTYPE html><html><head></head><body><meta><table></table></body></html>",
70059 "noQuirksBodyHtml": "<meta><table></table>"
70060 }
70061 },
70062 {
70063 "data": "<!doctype html><table>X<tr><td><table> <meta></table></table>",
70064 "errors": [
70065 "unexpected text in table",
70066 "(1,45): unexpected-start-tag-implies-table-voodoo"
70067 ],
70068 "document": {
70069 "props": {
70070 "tags": {
70071 "html": true,
70072 "head": true,
70073 "body": true,
70074 "table": true,
70075 "tbody": true,
70076 "tr": true,
70077 "td": true,
70078 "meta": true
70079 },
70080 "doctype": true
70081 },
70082 "tree": [
70083 {
70084 "doctype": "html"
70085 },
70086 {
70087 "tag": "html",
70088 "children": [
70089 {
70090 "tag": "head"
70091 },
70092 {
70093 "tag": "body",
70094 "children": [
70095 {
70096 "text": "X"
70097 },
70098 {
70099 "tag": "table",
70100 "children": [
70101 {
70102 "tag": "tbody",
70103 "children": [
70104 {
70105 "tag": "tr",
70106 "children": [
70107 {
70108 "tag": "td",
70109 "children": [
70110 {
70111 "tag": "meta"
70112 },
70113 {
70114 "tag": "table",
70115 "children": [
70116 {
70117 "text": " "
70118 }
70119 ]
70120 }
70121 ]
70122 }
70123 ]
70124 }
70125 ]
70126 }
70127 ]
70128 }
70129 ]
70130 }
70131 ]
70132 }
70133 ],
70134 "html": "<!DOCTYPE html><html><head></head><body>X<table><tbody><tr><td><meta><table> </table></td></tr></tbody></table></body></html>",
70135 "noQuirksBodyHtml": "X<table><tbody><tr><td><meta><table> </table></td></tr></tbody></table>"
70136 }
70137 },
70138 {
70139 "data": "<!doctype html><html> <head>",
70140 "errors": [],
70141 "document": {
70142 "props": {
70143 "tags": {
70144 "html": true,
70145 "head": true,
70146 "body": true
70147 },
70148 "doctype": true
70149 },
70150 "tree": [
70151 {
70152 "doctype": "html"
70153 },
70154 {
70155 "tag": "html",
70156 "children": [
70157 {
70158 "tag": "head"
70159 },
70160 {
70161 "tag": "body"
70162 }
70163 ]
70164 }
70165 ],
70166 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
70167 "noQuirksBodyHtml": " "
70168 }
70169 },
70170 {
70171 "data": "<!doctype html> <head>",
70172 "errors": [],
70173 "document": {
70174 "props": {
70175 "tags": {
70176 "html": true,
70177 "head": true,
70178 "body": true
70179 },
70180 "doctype": true
70181 },
70182 "tree": [
70183 {
70184 "doctype": "html"
70185 },
70186 {
70187 "tag": "html",
70188 "children": [
70189 {
70190 "tag": "head"
70191 },
70192 {
70193 "tag": "body"
70194 }
70195 ]
70196 }
70197 ],
70198 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
70199 "noQuirksBodyHtml": " "
70200 }
70201 },
70202 {
70203 "data": "<!doctype html><table><style> <tr>x </style> </table>",
70204 "errors": [],
70205 "document": {
70206 "props": {
70207 "tags": {
70208 "html": true,
70209 "head": true,
70210 "body": true,
70211 "table": true,
70212 "style": true
70213 },
70214 "doctype": true,
70215 "no_escape": true
70216 },
70217 "tree": [
70218 {
70219 "doctype": "html"
70220 },
70221 {
70222 "tag": "html",
70223 "children": [
70224 {
70225 "tag": "head"
70226 },
70227 {
70228 "tag": "body",
70229 "children": [
70230 {
70231 "tag": "table",
70232 "children": [
70233 {
70234 "tag": "style",
70235 "children": [
70236 {
70237 "text": " <tr>x ",
70238 "no_escape": true
70239 }
70240 ]
70241 },
70242 {
70243 "text": " "
70244 }
70245 ]
70246 }
70247 ]
70248 }
70249 ]
70250 }
70251 ],
70252 "html": "<!DOCTYPE html><html><head></head><body><table><style> <tr>x </style> </table></body></html>",
70253 "noQuirksBodyHtml": "<table><style> <tr>x </style> </table>"
70254 }
70255 },
70256 {
70257 "data": "<!doctype html><table><TBODY><script> <tr>x </script> </table>",
70258 "errors": [],
70259 "document": {
70260 "props": {
70261 "tags": {
70262 "html": true,
70263 "head": true,
70264 "body": true,
70265 "table": true,
70266 "tbody": true,
70267 "script": true
70268 },
70269 "doctype": true,
70270 "no_escape": true
70271 },
70272 "tree": [
70273 {
70274 "doctype": "html"
70275 },
70276 {
70277 "tag": "html",
70278 "children": [
70279 {
70280 "tag": "head"
70281 },
70282 {
70283 "tag": "body",
70284 "children": [
70285 {
70286 "tag": "table",
70287 "children": [
70288 {
70289 "tag": "tbody",
70290 "children": [
70291 {
70292 "tag": "script",
70293 "children": [
70294 {
70295 "text": " <tr>x ",
70296 "no_escape": true
70297 }
70298 ]
70299 },
70300 {
70301 "text": " "
70302 }
70303 ]
70304 }
70305 ]
70306 }
70307 ]
70308 }
70309 ]
70310 }
70311 ],
70312 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><script> <tr>x </script> </tbody></table></body></html>",
70313 "noQuirksBodyHtml": "<table><tbody><script> <tr>x </script> </tbody></table>"
70314 }
70315 },
70316 {
70317 "data": "<!doctype html><p><applet><p>X</p></applet>",
70318 "errors": [],
70319 "document": {
70320 "props": {
70321 "tags": {
70322 "html": true,
70323 "head": true,
70324 "body": true,
70325 "p": true,
70326 "applet": true
70327 },
70328 "doctype": true
70329 },
70330 "tree": [
70331 {
70332 "doctype": "html"
70333 },
70334 {
70335 "tag": "html",
70336 "children": [
70337 {
70338 "tag": "head"
70339 },
70340 {
70341 "tag": "body",
70342 "children": [
70343 {
70344 "tag": "p",
70345 "children": [
70346 {
70347 "tag": "applet",
70348 "children": [
70349 {
70350 "tag": "p",
70351 "children": [
70352 {
70353 "text": "X"
70354 }
70355 ]
70356 }
70357 ]
70358 }
70359 ]
70360 }
70361 ]
70362 }
70363 ]
70364 }
70365 ],
70366 "html": "<!DOCTYPE html><html><head></head><body><p><applet><p>X</p></applet></p></body></html>",
70367 "noQuirksBodyHtml": "<p><applet><p>X</p></applet></p>"
70368 }
70369 },
70370 {
70371 "data": "<!doctype html><p><object type=\"application/x-non-existant-plugin\"><p>X</p></object>",
70372 "errors": [],
70373 "document": {
70374 "props": {
70375 "tags": {
70376 "html": true,
70377 "head": true,
70378 "body": true,
70379 "p": true,
70380 "object": true
70381 },
70382 "doctype": true
70383 },
70384 "tree": [
70385 {
70386 "doctype": "html"
70387 },
70388 {
70389 "tag": "html",
70390 "children": [
70391 {
70392 "tag": "head"
70393 },
70394 {
70395 "tag": "body",
70396 "children": [
70397 {
70398 "tag": "p",
70399 "children": [
70400 {
70401 "tag": "object",
70402 "attrs": [
70403 {
70404 "name": "type",
70405 "value": "application/x-non-existant-plugin"
70406 }
70407 ],
70408 "children": [
70409 {
70410 "tag": "p",
70411 "children": [
70412 {
70413 "text": "X"
70414 }
70415 ]
70416 }
70417 ]
70418 }
70419 ]
70420 }
70421 ]
70422 }
70423 ]
70424 }
70425 ],
70426 "html": "<!DOCTYPE html><html><head></head><body><p><object type=\"application/x-non-existant-plugin\"><p>X</p></object></p></body></html>",
70427 "noQuirksBodyHtml": "<p><object type=\"application/x-non-existant-plugin\"><p>X</p></object></p>"
70428 }
70429 },
70430 {
70431 "data": "<!doctype html><listing>\nX</listing>",
70432 "errors": [],
70433 "document": {
70434 "props": {
70435 "tags": {
70436 "html": true,
70437 "head": true,
70438 "body": true,
70439 "listing": true
70440 },
70441 "doctype": true
70442 },
70443 "tree": [
70444 {
70445 "doctype": "html"
70446 },
70447 {
70448 "tag": "html",
70449 "children": [
70450 {
70451 "tag": "head"
70452 },
70453 {
70454 "tag": "body",
70455 "children": [
70456 {
70457 "tag": "listing",
70458 "children": [
70459 {
70460 "text": "X"
70461 }
70462 ]
70463 }
70464 ]
70465 }
70466 ]
70467 }
70468 ],
70469 "html": "<!DOCTYPE html><html><head></head><body><listing>X</listing></body></html>",
70470 "noQuirksBodyHtml": "<listing>X</listing>"
70471 }
70472 },
70473 {
70474 "data": "<!doctype html><select><input>X",
70475 "errors": [
70476 "(1,30): unexpected-input-in-select"
70477 ],
70478 "document": {
70479 "props": {
70480 "tags": {
70481 "html": true,
70482 "head": true,
70483 "body": true,
70484 "select": true,
70485 "input": true
70486 },
70487 "doctype": true
70488 },
70489 "tree": [
70490 {
70491 "doctype": "html"
70492 },
70493 {
70494 "tag": "html",
70495 "children": [
70496 {
70497 "tag": "head"
70498 },
70499 {
70500 "tag": "body",
70501 "children": [
70502 {
70503 "tag": "select"
70504 },
70505 {
70506 "tag": "input"
70507 },
70508 {
70509 "text": "X"
70510 }
70511 ]
70512 }
70513 ]
70514 }
70515 ],
70516 "html": "<!DOCTYPE html><html><head></head><body><select></select><input>X</body></html>",
70517 "noQuirksBodyHtml": "<select></select><input>X"
70518 }
70519 },
70520 {
70521 "data": "<!doctype html><select><select>X",
70522 "errors": [
70523 "(1,31): unexpected-select-in-select"
70524 ],
70525 "document": {
70526 "props": {
70527 "tags": {
70528 "html": true,
70529 "head": true,
70530 "body": true,
70531 "select": true
70532 },
70533 "doctype": true
70534 },
70535 "tree": [
70536 {
70537 "doctype": "html"
70538 },
70539 {
70540 "tag": "html",
70541 "children": [
70542 {
70543 "tag": "head"
70544 },
70545 {
70546 "tag": "body",
70547 "children": [
70548 {
70549 "tag": "select"
70550 },
70551 {
70552 "text": "X"
70553 }
70554 ]
70555 }
70556 ]
70557 }
70558 ],
70559 "html": "<!DOCTYPE html><html><head></head><body><select></select>X</body></html>",
70560 "noQuirksBodyHtml": "<select></select>X"
70561 }
70562 },
70563 {
70564 "data": "<!doctype html><table><input type=hidDEN></table>",
70565 "errors": [
70566 "(1,41): unexpected-hidden-input-in-table"
70567 ],
70568 "document": {
70569 "props": {
70570 "tags": {
70571 "html": true,
70572 "head": true,
70573 "body": true,
70574 "table": true,
70575 "input": true
70576 },
70577 "doctype": true
70578 },
70579 "tree": [
70580 {
70581 "doctype": "html"
70582 },
70583 {
70584 "tag": "html",
70585 "children": [
70586 {
70587 "tag": "head"
70588 },
70589 {
70590 "tag": "body",
70591 "children": [
70592 {
70593 "tag": "table",
70594 "children": [
70595 {
70596 "tag": "input",
70597 "attrs": [
70598 {
70599 "name": "type",
70600 "value": "hidDEN"
70601 }
70602 ]
70603 }
70604 ]
70605 }
70606 ]
70607 }
70608 ]
70609 }
70610 ],
70611 "html": "<!DOCTYPE html><html><head></head><body><table><input type=\"hidDEN\"></table></body></html>",
70612 "noQuirksBodyHtml": "<table><input type=\"hidDEN\"></table>"
70613 }
70614 },
70615 {
70616 "data": "<!doctype html><table>X<input type=hidDEN></table>",
70617 "errors": [
70618 "(1,23): foster-parenting-character",
70619 "(1,42): unexpected-hidden-input-in-table"
70620 ],
70621 "document": {
70622 "props": {
70623 "tags": {
70624 "html": true,
70625 "head": true,
70626 "body": true,
70627 "table": true,
70628 "input": true
70629 },
70630 "doctype": true
70631 },
70632 "tree": [
70633 {
70634 "doctype": "html"
70635 },
70636 {
70637 "tag": "html",
70638 "children": [
70639 {
70640 "tag": "head"
70641 },
70642 {
70643 "tag": "body",
70644 "children": [
70645 {
70646 "text": "X"
70647 },
70648 {
70649 "tag": "table",
70650 "children": [
70651 {
70652 "tag": "input",
70653 "attrs": [
70654 {
70655 "name": "type",
70656 "value": "hidDEN"
70657 }
70658 ]
70659 }
70660 ]
70661 }
70662 ]
70663 }
70664 ]
70665 }
70666 ],
70667 "html": "<!DOCTYPE html><html><head></head><body>X<table><input type=\"hidDEN\"></table></body></html>",
70668 "noQuirksBodyHtml": "X<table><input type=\"hidDEN\"></table>"
70669 }
70670 },
70671 {
70672 "data": "<!doctype html><table> <input type=hidDEN></table>",
70673 "errors": [
70674 "(1,43): unexpected-hidden-input-in-table"
70675 ],
70676 "document": {
70677 "props": {
70678 "tags": {
70679 "html": true,
70680 "head": true,
70681 "body": true,
70682 "table": true,
70683 "input": true
70684 },
70685 "doctype": true
70686 },
70687 "tree": [
70688 {
70689 "doctype": "html"
70690 },
70691 {
70692 "tag": "html",
70693 "children": [
70694 {
70695 "tag": "head"
70696 },
70697 {
70698 "tag": "body",
70699 "children": [
70700 {
70701 "tag": "table",
70702 "children": [
70703 {
70704 "text": " "
70705 },
70706 {
70707 "tag": "input",
70708 "attrs": [
70709 {
70710 "name": "type",
70711 "value": "hidDEN"
70712 }
70713 ]
70714 }
70715 ]
70716 }
70717 ]
70718 }
70719 ]
70720 }
70721 ],
70722 "html": "<!DOCTYPE html><html><head></head><body><table> <input type=\"hidDEN\"></table></body></html>",
70723 "noQuirksBodyHtml": "<table> <input type=\"hidDEN\"></table>"
70724 }
70725 },
70726 {
70727 "data": "<!doctype html><table> <input type='hidDEN'></table>",
70728 "errors": [
70729 "(1,45): unexpected-hidden-input-in-table"
70730 ],
70731 "document": {
70732 "props": {
70733 "tags": {
70734 "html": true,
70735 "head": true,
70736 "body": true,
70737 "table": true,
70738 "input": true
70739 },
70740 "doctype": true
70741 },
70742 "tree": [
70743 {
70744 "doctype": "html"
70745 },
70746 {
70747 "tag": "html",
70748 "children": [
70749 {
70750 "tag": "head"
70751 },
70752 {
70753 "tag": "body",
70754 "children": [
70755 {
70756 "tag": "table",
70757 "children": [
70758 {
70759 "text": " "
70760 },
70761 {
70762 "tag": "input",
70763 "attrs": [
70764 {
70765 "name": "type",
70766 "value": "hidDEN"
70767 }
70768 ]
70769 }
70770 ]
70771 }
70772 ]
70773 }
70774 ]
70775 }
70776 ],
70777 "html": "<!DOCTYPE html><html><head></head><body><table> <input type=\"hidDEN\"></table></body></html>",
70778 "noQuirksBodyHtml": "<table> <input type=\"hidDEN\"></table>"
70779 }
70780 },
70781 {
70782 "data": "<!doctype html><table><input type=\" hidden\"><input type=hidDEN></table>",
70783 "errors": [
70784 "(1,44): unexpected-start-tag-implies-table-voodoo",
70785 "(1,63): unexpected-hidden-input-in-table"
70786 ],
70787 "document": {
70788 "props": {
70789 "tags": {
70790 "html": true,
70791 "head": true,
70792 "body": true,
70793 "input": true,
70794 "table": true
70795 },
70796 "doctype": true
70797 },
70798 "tree": [
70799 {
70800 "doctype": "html"
70801 },
70802 {
70803 "tag": "html",
70804 "children": [
70805 {
70806 "tag": "head"
70807 },
70808 {
70809 "tag": "body",
70810 "children": [
70811 {
70812 "tag": "input",
70813 "attrs": [
70814 {
70815 "name": "type",
70816 "value": " hidden"
70817 }
70818 ]
70819 },
70820 {
70821 "tag": "table",
70822 "children": [
70823 {
70824 "tag": "input",
70825 "attrs": [
70826 {
70827 "name": "type",
70828 "value": "hidDEN"
70829 }
70830 ]
70831 }
70832 ]
70833 }
70834 ]
70835 }
70836 ]
70837 }
70838 ],
70839 "html": "<!DOCTYPE html><html><head></head><body><input type=\" hidden\"><table><input type=\"hidDEN\"></table></body></html>",
70840 "noQuirksBodyHtml": "<input type=\" hidden\"><table><input type=\"hidDEN\"></table>"
70841 }
70842 },
70843 {
70844 "data": "<!doctype html><table><select>X<tr>",
70845 "errors": [
70846 "(1,30): unexpected-start-tag-implies-table-voodoo",
70847 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
70848 "(1,35): eof-in-table"
70849 ],
70850 "document": {
70851 "props": {
70852 "tags": {
70853 "html": true,
70854 "head": true,
70855 "body": true,
70856 "select": true,
70857 "table": true,
70858 "tbody": true,
70859 "tr": true
70860 },
70861 "doctype": true
70862 },
70863 "tree": [
70864 {
70865 "doctype": "html"
70866 },
70867 {
70868 "tag": "html",
70869 "children": [
70870 {
70871 "tag": "head"
70872 },
70873 {
70874 "tag": "body",
70875 "children": [
70876 {
70877 "tag": "select",
70878 "children": [
70879 {
70880 "text": "X"
70881 }
70882 ]
70883 },
70884 {
70885 "tag": "table",
70886 "children": [
70887 {
70888 "tag": "tbody",
70889 "children": [
70890 {
70891 "tag": "tr"
70892 }
70893 ]
70894 }
70895 ]
70896 }
70897 ]
70898 }
70899 ]
70900 }
70901 ],
70902 "html": "<!DOCTYPE html><html><head></head><body><select>X</select><table><tbody><tr></tr></tbody></table></body></html>",
70903 "noQuirksBodyHtml": "<select>X</select><table><tbody><tr></tr></tbody></table>"
70904 }
70905 },
70906 {
70907 "data": "<!doctype html><select>X</select>",
70908 "errors": [],
70909 "document": {
70910 "props": {
70911 "tags": {
70912 "html": true,
70913 "head": true,
70914 "body": true,
70915 "select": true
70916 },
70917 "doctype": true
70918 },
70919 "tree": [
70920 {
70921 "doctype": "html"
70922 },
70923 {
70924 "tag": "html",
70925 "children": [
70926 {
70927 "tag": "head"
70928 },
70929 {
70930 "tag": "body",
70931 "children": [
70932 {
70933 "tag": "select",
70934 "children": [
70935 {
70936 "text": "X"
70937 }
70938 ]
70939 }
70940 ]
70941 }
70942 ]
70943 }
70944 ],
70945 "html": "<!DOCTYPE html><html><head></head><body><select>X</select></body></html>",
70946 "noQuirksBodyHtml": "<select>X</select>"
70947 }
70948 },
70949 {
70950 "data": "<!DOCTYPE hTmL><html></html>",
70951 "errors": [],
70952 "document": {
70953 "props": {
70954 "tags": {
70955 "html": true,
70956 "head": true,
70957 "body": true
70958 },
70959 "doctype": true
70960 },
70961 "tree": [
70962 {
70963 "doctype": "html"
70964 },
70965 {
70966 "tag": "html",
70967 "children": [
70968 {
70969 "tag": "head"
70970 },
70971 {
70972 "tag": "body"
70973 }
70974 ]
70975 }
70976 ],
70977 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
70978 "noQuirksBodyHtml": ""
70979 }
70980 },
70981 {
70982 "data": "<!DOCTYPE HTML><html></html>",
70983 "errors": [],
70984 "document": {
70985 "props": {
70986 "tags": {
70987 "html": true,
70988 "head": true,
70989 "body": true
70990 },
70991 "doctype": true
70992 },
70993 "tree": [
70994 {
70995 "doctype": "html"
70996 },
70997 {
70998 "tag": "html",
70999 "children": [
71000 {
71001 "tag": "head"
71002 },
71003 {
71004 "tag": "body"
71005 }
71006 ]
71007 }
71008 ],
71009 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
71010 "noQuirksBodyHtml": ""
71011 }
71012 },
71013 {
71014 "data": "<body>X</body></body>",
71015 "errors": [
71016 "(1,21): unexpected-end-tag-after-body"
71017 ],
71018 "fragment": {
71019 "name": "html"
71020 },
71021 "document": {
71022 "props": {
71023 "tags": {
71024 "head": true,
71025 "body": true
71026 }
71027 },
71028 "tree": [
71029 {
71030 "tag": "head"
71031 },
71032 {
71033 "tag": "body",
71034 "children": [
71035 {
71036 "text": "X"
71037 }
71038 ]
71039 }
71040 ],
71041 "html": "<head></head><body>X</body>",
71042 "noQuirksBodyHtml": "X"
71043 }
71044 },
71045 {
71046 "data": "<div><p>a</x> b",
71047 "errors": [
71048 "(1,5): expected-doctype-but-got-start-tag",
71049 "(1,13): unexpected-end-tag",
71050 "(1,15): expected-closing-tag-but-got-eof"
71051 ],
71052 "document": {
71053 "props": {
71054 "tags": {
71055 "html": true,
71056 "head": true,
71057 "body": true,
71058 "div": true,
71059 "p": true
71060 }
71061 },
71062 "tree": [
71063 {
71064 "tag": "html",
71065 "children": [
71066 {
71067 "tag": "head"
71068 },
71069 {
71070 "tag": "body",
71071 "children": [
71072 {
71073 "tag": "div",
71074 "children": [
71075 {
71076 "tag": "p",
71077 "children": [
71078 {
71079 "text": "a b"
71080 }
71081 ]
71082 }
71083 ]
71084 }
71085 ]
71086 }
71087 ]
71088 }
71089 ],
71090 "html": "<html><head></head><body><div><p>a b</p></div></body></html>",
71091 "noQuirksBodyHtml": "<div><p>a b</p></div>"
71092 }
71093 },
71094 {
71095 "data": "<table><tr><td><code></code> </table>",
71096 "errors": [
71097 "(1,7): expected-doctype-but-got-start-tag"
71098 ],
71099 "document": {
71100 "props": {
71101 "tags": {
71102 "html": true,
71103 "head": true,
71104 "body": true,
71105 "table": true,
71106 "tbody": true,
71107 "tr": true,
71108 "td": true,
71109 "code": true
71110 }
71111 },
71112 "tree": [
71113 {
71114 "tag": "html",
71115 "children": [
71116 {
71117 "tag": "head"
71118 },
71119 {
71120 "tag": "body",
71121 "children": [
71122 {
71123 "tag": "table",
71124 "children": [
71125 {
71126 "tag": "tbody",
71127 "children": [
71128 {
71129 "tag": "tr",
71130 "children": [
71131 {
71132 "tag": "td",
71133 "children": [
71134 {
71135 "tag": "code"
71136 },
71137 {
71138 "text": " "
71139 }
71140 ]
71141 }
71142 ]
71143 }
71144 ]
71145 }
71146 ]
71147 }
71148 ]
71149 }
71150 ]
71151 }
71152 ],
71153 "html": "<html><head></head><body><table><tbody><tr><td><code></code> </td></tr></tbody></table></body></html>",
71154 "noQuirksBodyHtml": "<table><tbody><tr><td><code></code> </td></tr></tbody></table>"
71155 }
71156 },
71157 {
71158 "data": "<table><b><tr><td>aaa</td></tr>bbb</table>ccc",
71159 "errors": [
71160 "(1,7): expected-doctype-but-got-start-tag",
71161 "(1,10): foster-parenting-start-tag",
71162 "(1,32): foster-parenting-character",
71163 "(1,33): foster-parenting-character",
71164 "(1,34): foster-parenting-character",
71165 "(1,45): expected-closing-tag-but-got-eof"
71166 ],
71167 "document": {
71168 "props": {
71169 "tags": {
71170 "html": true,
71171 "head": true,
71172 "body": true,
71173 "b": true,
71174 "table": true,
71175 "tbody": true,
71176 "tr": true,
71177 "td": true
71178 }
71179 },
71180 "tree": [
71181 {
71182 "tag": "html",
71183 "children": [
71184 {
71185 "tag": "head"
71186 },
71187 {
71188 "tag": "body",
71189 "children": [
71190 {
71191 "tag": "b"
71192 },
71193 {
71194 "tag": "b",
71195 "children": [
71196 {
71197 "text": "bbb"
71198 }
71199 ]
71200 },
71201 {
71202 "tag": "table",
71203 "children": [
71204 {
71205 "tag": "tbody",
71206 "children": [
71207 {
71208 "tag": "tr",
71209 "children": [
71210 {
71211 "tag": "td",
71212 "children": [
71213 {
71214 "text": "aaa"
71215 }
71216 ]
71217 }
71218 ]
71219 }
71220 ]
71221 }
71222 ]
71223 },
71224 {
71225 "tag": "b",
71226 "children": [
71227 {
71228 "text": "ccc"
71229 }
71230 ]
71231 }
71232 ]
71233 }
71234 ]
71235 }
71236 ],
71237 "html": "<html><head></head><body><b></b><b>bbb</b><table><tbody><tr><td>aaa</td></tr></tbody></table><b>ccc</b></body></html>",
71238 "noQuirksBodyHtml": "<b></b><b>bbb</b><table><tbody><tr><td>aaa</td></tr></tbody></table><b>ccc</b>"
71239 }
71240 },
71241 {
71242 "data": "A<table><tr> B</tr> B</table>",
71243 "errors": [
71244 "(1,1): expected-doctype-but-got-chars",
71245 "(1,13): foster-parenting-character",
71246 "(1,14): foster-parenting-character",
71247 "(1,20): foster-parenting-character",
71248 "(1,21): foster-parenting-character"
71249 ],
71250 "document": {
71251 "props": {
71252 "tags": {
71253 "html": true,
71254 "head": true,
71255 "body": true,
71256 "table": true,
71257 "tbody": true,
71258 "tr": true
71259 }
71260 },
71261 "tree": [
71262 {
71263 "tag": "html",
71264 "children": [
71265 {
71266 "tag": "head"
71267 },
71268 {
71269 "tag": "body",
71270 "children": [
71271 {
71272 "text": "A B B"
71273 },
71274 {
71275 "tag": "table",
71276 "children": [
71277 {
71278 "tag": "tbody",
71279 "children": [
71280 {
71281 "tag": "tr"
71282 }
71283 ]
71284 }
71285 ]
71286 }
71287 ]
71288 }
71289 ]
71290 }
71291 ],
71292 "html": "<html><head></head><body>A B B<table><tbody><tr></tr></tbody></table></body></html>",
71293 "noQuirksBodyHtml": "A B B<table><tbody><tr></tr></tbody></table>"
71294 }
71295 },
71296 {
71297 "data": "A<table><tr> B</tr> </em>C</table>",
71298 "errors": [
71299 "(1,1): expected-doctype-but-got-chars",
71300 "(1,13): foster-parenting-character",
71301 "(1,14): foster-parenting-character",
71302 "(1,20): foster-parenting-character",
71303 "(1,25): unexpected-end-tag",
71304 "(1,25): unexpected-end-tag-in-special-element",
71305 "(1,26): foster-parenting-character"
71306 ],
71307 "document": {
71308 "props": {
71309 "tags": {
71310 "html": true,
71311 "head": true,
71312 "body": true,
71313 "table": true,
71314 "tbody": true,
71315 "tr": true
71316 }
71317 },
71318 "tree": [
71319 {
71320 "tag": "html",
71321 "children": [
71322 {
71323 "tag": "head"
71324 },
71325 {
71326 "tag": "body",
71327 "children": [
71328 {
71329 "text": "A BC"
71330 },
71331 {
71332 "tag": "table",
71333 "children": [
71334 {
71335 "tag": "tbody",
71336 "children": [
71337 {
71338 "tag": "tr"
71339 },
71340 {
71341 "text": " "
71342 }
71343 ]
71344 }
71345 ]
71346 }
71347 ]
71348 }
71349 ]
71350 }
71351 ],
71352 "html": "<html><head></head><body>A BC<table><tbody><tr></tr> </tbody></table></body></html>",
71353 "noQuirksBodyHtml": "A BC<table><tbody><tr></tr> </tbody></table>"
71354 }
71355 },
71356 {
71357 "data": "<select><keygen>",
71358 "errors": [
71359 "(1,8): expected-doctype-but-got-start-tag",
71360 "(1,16): unexpected-input-in-select"
71361 ],
71362 "document": {
71363 "props": {
71364 "tags": {
71365 "html": true,
71366 "head": true,
71367 "body": true,
71368 "select": true,
71369 "keygen": true
71370 }
71371 },
71372 "tree": [
71373 {
71374 "tag": "html",
71375 "children": [
71376 {
71377 "tag": "head"
71378 },
71379 {
71380 "tag": "body",
71381 "children": [
71382 {
71383 "tag": "select"
71384 },
71385 {
71386 "tag": "keygen"
71387 }
71388 ]
71389 }
71390 ]
71391 }
71392 ],
71393 "html": "<html><head></head><body><select></select><keygen></body></html>",
71394 "noQuirksBodyHtml": "<select></select><keygen>"
71395 }
71396 }
71397 ],
71398 "tests8.dat": [
71399 {
71400 "data": "<div>\n<div></div>\n</span>x",
71401 "errors": [
71402 "(1,5): expected-doctype-but-got-start-tag",
71403 "(3,7): unexpected-end-tag",
71404 "(3,8): expected-closing-tag-but-got-eof"
71405 ],
71406 "document": {
71407 "props": {
71408 "tags": {
71409 "html": true,
71410 "head": true,
71411 "body": true,
71412 "div": true
71413 }
71414 },
71415 "tree": [
71416 {
71417 "tag": "html",
71418 "children": [
71419 {
71420 "tag": "head"
71421 },
71422 {
71423 "tag": "body",
71424 "children": [
71425 {
71426 "tag": "div",
71427 "children": [
71428 {
71429 "text": "\n"
71430 },
71431 {
71432 "tag": "div"
71433 },
71434 {
71435 "text": "\nx"
71436 }
71437 ]
71438 }
71439 ]
71440 }
71441 ]
71442 }
71443 ],
71444 "html": "<html><head></head><body><div>\n<div></div>\nx</div></body></html>",
71445 "noQuirksBodyHtml": "<div>\n<div></div>\nx</div>"
71446 }
71447 },
71448 {
71449 "data": "<div>x<div></div>\n</span>x",
71450 "errors": [
71451 "(1,5): expected-doctype-but-got-start-tag",
71452 "(2,7): unexpected-end-tag",
71453 "(2,8): expected-closing-tag-but-got-eof"
71454 ],
71455 "document": {
71456 "props": {
71457 "tags": {
71458 "html": true,
71459 "head": true,
71460 "body": true,
71461 "div": true
71462 }
71463 },
71464 "tree": [
71465 {
71466 "tag": "html",
71467 "children": [
71468 {
71469 "tag": "head"
71470 },
71471 {
71472 "tag": "body",
71473 "children": [
71474 {
71475 "tag": "div",
71476 "children": [
71477 {
71478 "text": "x"
71479 },
71480 {
71481 "tag": "div"
71482 },
71483 {
71484 "text": "\nx"
71485 }
71486 ]
71487 }
71488 ]
71489 }
71490 ]
71491 }
71492 ],
71493 "html": "<html><head></head><body><div>x<div></div>\nx</div></body></html>",
71494 "noQuirksBodyHtml": "<div>x<div></div>\nx</div>"
71495 }
71496 },
71497 {
71498 "data": "<div>x<div></div>x</span>x",
71499 "errors": [
71500 "(1,5): expected-doctype-but-got-start-tag",
71501 "(1,25): unexpected-end-tag",
71502 "(1,26): expected-closing-tag-but-got-eof"
71503 ],
71504 "document": {
71505 "props": {
71506 "tags": {
71507 "html": true,
71508 "head": true,
71509 "body": true,
71510 "div": true
71511 }
71512 },
71513 "tree": [
71514 {
71515 "tag": "html",
71516 "children": [
71517 {
71518 "tag": "head"
71519 },
71520 {
71521 "tag": "body",
71522 "children": [
71523 {
71524 "tag": "div",
71525 "children": [
71526 {
71527 "text": "x"
71528 },
71529 {
71530 "tag": "div"
71531 },
71532 {
71533 "text": "xx"
71534 }
71535 ]
71536 }
71537 ]
71538 }
71539 ]
71540 }
71541 ],
71542 "html": "<html><head></head><body><div>x<div></div>xx</div></body></html>",
71543 "noQuirksBodyHtml": "<div>x<div></div>xx</div>"
71544 }
71545 },
71546 {
71547 "data": "<div>x<div></div>y</span>z",
71548 "errors": [
71549 "(1,5): expected-doctype-but-got-start-tag",
71550 "(1,25): unexpected-end-tag",
71551 "(1,26): expected-closing-tag-but-got-eof"
71552 ],
71553 "document": {
71554 "props": {
71555 "tags": {
71556 "html": true,
71557 "head": true,
71558 "body": true,
71559 "div": true
71560 }
71561 },
71562 "tree": [
71563 {
71564 "tag": "html",
71565 "children": [
71566 {
71567 "tag": "head"
71568 },
71569 {
71570 "tag": "body",
71571 "children": [
71572 {
71573 "tag": "div",
71574 "children": [
71575 {
71576 "text": "x"
71577 },
71578 {
71579 "tag": "div"
71580 },
71581 {
71582 "text": "yz"
71583 }
71584 ]
71585 }
71586 ]
71587 }
71588 ]
71589 }
71590 ],
71591 "html": "<html><head></head><body><div>x<div></div>yz</div></body></html>",
71592 "noQuirksBodyHtml": "<div>x<div></div>yz</div>"
71593 }
71594 },
71595 {
71596 "data": "<table><div>x<div></div>x</span>x",
71597 "errors": [
71598 "(1,7): expected-doctype-but-got-start-tag",
71599 "(1,12): foster-parenting-start-tag",
71600 "(1,13): foster-parenting-character",
71601 "(1,18): foster-parenting-start-tag",
71602 "(1,24): foster-parenting-end-tag",
71603 "(1,25): foster-parenting-start-tag",
71604 "(1,32): foster-parenting-end-tag",
71605 "(1,32): unexpected-end-tag",
71606 "(1,33): foster-parenting-character",
71607 "(1,33): eof-in-table"
71608 ],
71609 "document": {
71610 "props": {
71611 "tags": {
71612 "html": true,
71613 "head": true,
71614 "body": true,
71615 "div": true,
71616 "table": true
71617 }
71618 },
71619 "tree": [
71620 {
71621 "tag": "html",
71622 "children": [
71623 {
71624 "tag": "head"
71625 },
71626 {
71627 "tag": "body",
71628 "children": [
71629 {
71630 "tag": "div",
71631 "children": [
71632 {
71633 "text": "x"
71634 },
71635 {
71636 "tag": "div"
71637 },
71638 {
71639 "text": "xx"
71640 }
71641 ]
71642 },
71643 {
71644 "tag": "table"
71645 }
71646 ]
71647 }
71648 ]
71649 }
71650 ],
71651 "html": "<html><head></head><body><div>x<div></div>xx</div><table></table></body></html>",
71652 "noQuirksBodyHtml": "<div>x<div></div>xx</div><table></table>"
71653 }
71654 },
71655 {
71656 "data": "x<table>x",
71657 "errors": [
71658 "(1,1): expected-doctype-but-got-chars",
71659 "(1,9): foster-parenting-character",
71660 "(1,9): eof-in-table"
71661 ],
71662 "document": {
71663 "props": {
71664 "tags": {
71665 "html": true,
71666 "head": true,
71667 "body": true,
71668 "table": true
71669 }
71670 },
71671 "tree": [
71672 {
71673 "tag": "html",
71674 "children": [
71675 {
71676 "tag": "head"
71677 },
71678 {
71679 "tag": "body",
71680 "children": [
71681 {
71682 "text": "xx"
71683 },
71684 {
71685 "tag": "table"
71686 }
71687 ]
71688 }
71689 ]
71690 }
71691 ],
71692 "html": "<html><head></head><body>xx<table></table></body></html>",
71693 "noQuirksBodyHtml": "xx<table></table>"
71694 }
71695 },
71696 {
71697 "data": "x<table><table>x",
71698 "errors": [
71699 "(1,1): expected-doctype-but-got-chars",
71700 "(1,15): unexpected-start-tag-implies-end-tag",
71701 "(1,16): foster-parenting-character",
71702 "(1,16): eof-in-table"
71703 ],
71704 "document": {
71705 "props": {
71706 "tags": {
71707 "html": true,
71708 "head": true,
71709 "body": true,
71710 "table": true
71711 }
71712 },
71713 "tree": [
71714 {
71715 "tag": "html",
71716 "children": [
71717 {
71718 "tag": "head"
71719 },
71720 {
71721 "tag": "body",
71722 "children": [
71723 {
71724 "text": "x"
71725 },
71726 {
71727 "tag": "table"
71728 },
71729 {
71730 "text": "x"
71731 },
71732 {
71733 "tag": "table"
71734 }
71735 ]
71736 }
71737 ]
71738 }
71739 ],
71740 "html": "<html><head></head><body>x<table></table>x<table></table></body></html>",
71741 "noQuirksBodyHtml": "x<table></table>x<table></table>"
71742 }
71743 },
71744 {
71745 "data": "<b>a<div></div><div></b>y",
71746 "errors": [
71747 "(1,3): expected-doctype-but-got-start-tag",
71748 "(1,24): adoption-agency-1.3",
71749 "(1,25): expected-closing-tag-but-got-eof"
71750 ],
71751 "document": {
71752 "props": {
71753 "tags": {
71754 "html": true,
71755 "head": true,
71756 "body": true,
71757 "b": true,
71758 "div": true
71759 }
71760 },
71761 "tree": [
71762 {
71763 "tag": "html",
71764 "children": [
71765 {
71766 "tag": "head"
71767 },
71768 {
71769 "tag": "body",
71770 "children": [
71771 {
71772 "tag": "b",
71773 "children": [
71774 {
71775 "text": "a"
71776 },
71777 {
71778 "tag": "div"
71779 }
71780 ]
71781 },
71782 {
71783 "tag": "div",
71784 "children": [
71785 {
71786 "tag": "b"
71787 },
71788 {
71789 "text": "y"
71790 }
71791 ]
71792 }
71793 ]
71794 }
71795 ]
71796 }
71797 ],
71798 "html": "<html><head></head><body><b>a<div></div></b><div><b></b>y</div></body></html>",
71799 "noQuirksBodyHtml": "<b>a<div></div></b><div><b></b>y</div>"
71800 }
71801 },
71802 {
71803 "data": "<a><div><p></a>",
71804 "errors": [
71805 "(1,3): expected-doctype-but-got-start-tag",
71806 "(1,15): adoption-agency-1.3",
71807 "(1,15): adoption-agency-1.3",
71808 "(1,15): expected-closing-tag-but-got-eof"
71809 ],
71810 "document": {
71811 "props": {
71812 "tags": {
71813 "html": true,
71814 "head": true,
71815 "body": true,
71816 "a": true,
71817 "div": true,
71818 "p": true
71819 }
71820 },
71821 "tree": [
71822 {
71823 "tag": "html",
71824 "children": [
71825 {
71826 "tag": "head"
71827 },
71828 {
71829 "tag": "body",
71830 "children": [
71831 {
71832 "tag": "a"
71833 },
71834 {
71835 "tag": "div",
71836 "children": [
71837 {
71838 "tag": "a"
71839 },
71840 {
71841 "tag": "p",
71842 "children": [
71843 {
71844 "tag": "a"
71845 }
71846 ]
71847 }
71848 ]
71849 }
71850 ]
71851 }
71852 ]
71853 }
71854 ],
71855 "html": "<html><head></head><body><a></a><div><a></a><p><a></a></p></div></body></html>",
71856 "noQuirksBodyHtml": "<a></a><div><a></a><p><a></a></p></div>"
71857 }
71858 }
71859 ],
71860 "tests9.dat": [
71861 {
71862 "data": "<!DOCTYPE html><math></math>",
71863 "errors": [],
71864 "document": {
71865 "props": {
71866 "tags": {
71867 "html": true,
71868 "head": true,
71869 "body": true,
71870 "math math": true
71871 },
71872 "doctype": true
71873 },
71874 "tree": [
71875 {
71876 "doctype": "html"
71877 },
71878 {
71879 "tag": "html",
71880 "children": [
71881 {
71882 "tag": "head"
71883 },
71884 {
71885 "tag": "body",
71886 "children": [
71887 {
71888 "tag": "math",
71889 "ns": "http://www.w3.org/1998/Math/MathML"
71890 }
71891 ]
71892 }
71893 ]
71894 }
71895 ],
71896 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
71897 "noQuirksBodyHtml": "<math></math>"
71898 }
71899 },
71900 {
71901 "data": "<!DOCTYPE html><body><math></math>",
71902 "errors": [],
71903 "document": {
71904 "props": {
71905 "tags": {
71906 "html": true,
71907 "head": true,
71908 "body": true,
71909 "math math": true
71910 },
71911 "doctype": true
71912 },
71913 "tree": [
71914 {
71915 "doctype": "html"
71916 },
71917 {
71918 "tag": "html",
71919 "children": [
71920 {
71921 "tag": "head"
71922 },
71923 {
71924 "tag": "body",
71925 "children": [
71926 {
71927 "tag": "math",
71928 "ns": "http://www.w3.org/1998/Math/MathML"
71929 }
71930 ]
71931 }
71932 ]
71933 }
71934 ],
71935 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
71936 "noQuirksBodyHtml": "<math></math>"
71937 }
71938 },
71939 {
71940 "data": "<!DOCTYPE html><math><mi>",
71941 "errors": [
71942 "(1,25) expected-closing-tag-but-got-eof"
71943 ],
71944 "document": {
71945 "props": {
71946 "tags": {
71947 "html": true,
71948 "head": true,
71949 "body": true,
71950 "math math": true,
71951 "math mi": true
71952 },
71953 "doctype": true
71954 },
71955 "tree": [
71956 {
71957 "doctype": "html"
71958 },
71959 {
71960 "tag": "html",
71961 "children": [
71962 {
71963 "tag": "head"
71964 },
71965 {
71966 "tag": "body",
71967 "children": [
71968 {
71969 "tag": "math",
71970 "ns": "http://www.w3.org/1998/Math/MathML",
71971 "children": [
71972 {
71973 "tag": "mi",
71974 "ns": "http://www.w3.org/1998/Math/MathML"
71975 }
71976 ]
71977 }
71978 ]
71979 }
71980 ]
71981 }
71982 ],
71983 "html": "<!DOCTYPE html><html><head></head><body><math><mi></mi></math></body></html>",
71984 "noQuirksBodyHtml": "<math><mi></mi></math>"
71985 }
71986 },
71987 {
71988 "data": "<!DOCTYPE html><math><annotation-xml><svg><u>",
71989 "errors": [
71990 "(1,45) unexpected-html-element-in-foreign-content",
71991 "(1,45) expected-closing-tag-but-got-eof"
71992 ],
71993 "document": {
71994 "props": {
71995 "tags": {
71996 "html": true,
71997 "head": true,
71998 "body": true,
71999 "math math": true,
72000 "math annotation-xml": true,
72001 "svg svg": true,
72002 "u": true
72003 },
72004 "doctype": true
72005 },
72006 "tree": [
72007 {
72008 "doctype": "html"
72009 },
72010 {
72011 "tag": "html",
72012 "children": [
72013 {
72014 "tag": "head"
72015 },
72016 {
72017 "tag": "body",
72018 "children": [
72019 {
72020 "tag": "math",
72021 "ns": "http://www.w3.org/1998/Math/MathML",
72022 "children": [
72023 {
72024 "tag": "annotation-xml",
72025 "ns": "http://www.w3.org/1998/Math/MathML",
72026 "children": [
72027 {
72028 "tag": "svg",
72029 "ns": "http://www.w3.org/2000/svg"
72030 }
72031 ]
72032 }
72033 ]
72034 },
72035 {
72036 "tag": "u"
72037 }
72038 ]
72039 }
72040 ]
72041 }
72042 ],
72043 "html": "<!DOCTYPE html><html><head></head><body><math><annotation-xml><svg></svg></annotation-xml></math><u></u></body></html>",
72044 "noQuirksBodyHtml": "<math><annotation-xml><svg><u></u></svg></annotation-xml></math>"
72045 }
72046 },
72047 {
72048 "data": "<!DOCTYPE html><body><select><math></math></select>",
72049 "errors": [
72050 "(1,35) unexpected-start-tag-in-select",
72051 "(1,42) unexpected-end-tag-in-select"
72052 ],
72053 "document": {
72054 "props": {
72055 "tags": {
72056 "html": true,
72057 "head": true,
72058 "body": true,
72059 "select": true
72060 },
72061 "doctype": true
72062 },
72063 "tree": [
72064 {
72065 "doctype": "html"
72066 },
72067 {
72068 "tag": "html",
72069 "children": [
72070 {
72071 "tag": "head"
72072 },
72073 {
72074 "tag": "body",
72075 "children": [
72076 {
72077 "tag": "select"
72078 }
72079 ]
72080 }
72081 ]
72082 }
72083 ],
72084 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
72085 "noQuirksBodyHtml": "<select></select>"
72086 }
72087 },
72088 {
72089 "data": "<!DOCTYPE html><body><select><option><math></math></option></select>",
72090 "errors": [
72091 "(1,43) unexpected-start-tag-in-select",
72092 "(1,50) unexpected-end-tag-in-select"
72093 ],
72094 "document": {
72095 "props": {
72096 "tags": {
72097 "html": true,
72098 "head": true,
72099 "body": true,
72100 "select": true,
72101 "option": true
72102 },
72103 "doctype": true
72104 },
72105 "tree": [
72106 {
72107 "doctype": "html"
72108 },
72109 {
72110 "tag": "html",
72111 "children": [
72112 {
72113 "tag": "head"
72114 },
72115 {
72116 "tag": "body",
72117 "children": [
72118 {
72119 "tag": "select",
72120 "children": [
72121 {
72122 "tag": "option"
72123 }
72124 ]
72125 }
72126 ]
72127 }
72128 ]
72129 }
72130 ],
72131 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
72132 "noQuirksBodyHtml": "<select><option></option></select>"
72133 }
72134 },
72135 {
72136 "data": "<!DOCTYPE html><body><table><math></math></table>",
72137 "errors": [
72138 "(1,34) unexpected-start-tag-implies-table-voodoo"
72139 ],
72140 "document": {
72141 "props": {
72142 "tags": {
72143 "html": true,
72144 "head": true,
72145 "body": true,
72146 "math math": true,
72147 "table": true
72148 },
72149 "doctype": true
72150 },
72151 "tree": [
72152 {
72153 "doctype": "html"
72154 },
72155 {
72156 "tag": "html",
72157 "children": [
72158 {
72159 "tag": "head"
72160 },
72161 {
72162 "tag": "body",
72163 "children": [
72164 {
72165 "tag": "math",
72166 "ns": "http://www.w3.org/1998/Math/MathML"
72167 },
72168 {
72169 "tag": "table"
72170 }
72171 ]
72172 }
72173 ]
72174 }
72175 ],
72176 "html": "<!DOCTYPE html><html><head></head><body><math></math><table></table></body></html>",
72177 "noQuirksBodyHtml": "<math></math><table></table>"
72178 }
72179 },
72180 {
72181 "data": "<!DOCTYPE html><body><table><math><mi>foo</mi></math></table>",
72182 "errors": [
72183 "(1,34) foster-parenting-start-token",
72184 "(1,39) foster-parenting-character",
72185 "(1,40) foster-parenting-character",
72186 "(1,41) foster-parenting-character"
72187 ],
72188 "document": {
72189 "props": {
72190 "tags": {
72191 "html": true,
72192 "head": true,
72193 "body": true,
72194 "math math": true,
72195 "math mi": true,
72196 "table": true
72197 },
72198 "doctype": true
72199 },
72200 "tree": [
72201 {
72202 "doctype": "html"
72203 },
72204 {
72205 "tag": "html",
72206 "children": [
72207 {
72208 "tag": "head"
72209 },
72210 {
72211 "tag": "body",
72212 "children": [
72213 {
72214 "tag": "math",
72215 "ns": "http://www.w3.org/1998/Math/MathML",
72216 "children": [
72217 {
72218 "tag": "mi",
72219 "ns": "http://www.w3.org/1998/Math/MathML",
72220 "children": [
72221 {
72222 "text": "foo"
72223 }
72224 ]
72225 }
72226 ]
72227 },
72228 {
72229 "tag": "table"
72230 }
72231 ]
72232 }
72233 ]
72234 }
72235 ],
72236 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi></math><table></table></body></html>",
72237 "noQuirksBodyHtml": "<math><mi>foo</mi></math><table></table>"
72238 }
72239 },
72240 {
72241 "data": "<!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>",
72242 "errors": [
72243 "(1,34) foster-parenting-start-tag",
72244 "(1,39) foster-parenting-character",
72245 "(1,40) foster-parenting-character",
72246 "(1,41) foster-parenting-character",
72247 "(1,51) foster-parenting-character",
72248 "(1,52) foster-parenting-character",
72249 "(1,53) foster-parenting-character"
72250 ],
72251 "document": {
72252 "props": {
72253 "tags": {
72254 "html": true,
72255 "head": true,
72256 "body": true,
72257 "math math": true,
72258 "math mi": true,
72259 "table": true
72260 },
72261 "doctype": true
72262 },
72263 "tree": [
72264 {
72265 "doctype": "html"
72266 },
72267 {
72268 "tag": "html",
72269 "children": [
72270 {
72271 "tag": "head"
72272 },
72273 {
72274 "tag": "body",
72275 "children": [
72276 {
72277 "tag": "math",
72278 "ns": "http://www.w3.org/1998/Math/MathML",
72279 "children": [
72280 {
72281 "tag": "mi",
72282 "ns": "http://www.w3.org/1998/Math/MathML",
72283 "children": [
72284 {
72285 "text": "foo"
72286 }
72287 ]
72288 },
72289 {
72290 "tag": "mi",
72291 "ns": "http://www.w3.org/1998/Math/MathML",
72292 "children": [
72293 {
72294 "text": "bar"
72295 }
72296 ]
72297 }
72298 ]
72299 },
72300 {
72301 "tag": "table"
72302 }
72303 ]
72304 }
72305 ]
72306 }
72307 ],
72308 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table></table></body></html>",
72309 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table></table>"
72310 }
72311 },
72312 {
72313 "data": "<!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>",
72314 "errors": [
72315 "(1,41) foster-parenting-start-tag",
72316 "(1,46) foster-parenting-character",
72317 "(1,47) foster-parenting-character",
72318 "(1,48) foster-parenting-character",
72319 "(1,58) foster-parenting-character",
72320 "(1,59) foster-parenting-character",
72321 "(1,60) foster-parenting-character"
72322 ],
72323 "document": {
72324 "props": {
72325 "tags": {
72326 "html": true,
72327 "head": true,
72328 "body": true,
72329 "math math": true,
72330 "math mi": true,
72331 "table": true,
72332 "tbody": true
72333 },
72334 "doctype": true
72335 },
72336 "tree": [
72337 {
72338 "doctype": "html"
72339 },
72340 {
72341 "tag": "html",
72342 "children": [
72343 {
72344 "tag": "head"
72345 },
72346 {
72347 "tag": "body",
72348 "children": [
72349 {
72350 "tag": "math",
72351 "ns": "http://www.w3.org/1998/Math/MathML",
72352 "children": [
72353 {
72354 "tag": "mi",
72355 "ns": "http://www.w3.org/1998/Math/MathML",
72356 "children": [
72357 {
72358 "text": "foo"
72359 }
72360 ]
72361 },
72362 {
72363 "tag": "mi",
72364 "ns": "http://www.w3.org/1998/Math/MathML",
72365 "children": [
72366 {
72367 "text": "bar"
72368 }
72369 ]
72370 }
72371 ]
72372 },
72373 {
72374 "tag": "table",
72375 "children": [
72376 {
72377 "tag": "tbody"
72378 }
72379 ]
72380 }
72381 ]
72382 }
72383 ]
72384 }
72385 ],
72386 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table><tbody></tbody></table></body></html>",
72387 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table><tbody></tbody></table>"
72388 }
72389 },
72390 {
72391 "data": "<!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>",
72392 "errors": [
72393 "(1,45) foster-parenting-start-tag",
72394 "(1,50) foster-parenting-character",
72395 "(1,51) foster-parenting-character",
72396 "(1,52) foster-parenting-character",
72397 "(1,62) foster-parenting-character",
72398 "(1,63) foster-parenting-character",
72399 "(1,64) foster-parenting-character"
72400 ],
72401 "document": {
72402 "props": {
72403 "tags": {
72404 "html": true,
72405 "head": true,
72406 "body": true,
72407 "math math": true,
72408 "math mi": true,
72409 "table": true,
72410 "tbody": true,
72411 "tr": true
72412 },
72413 "doctype": true
72414 },
72415 "tree": [
72416 {
72417 "doctype": "html"
72418 },
72419 {
72420 "tag": "html",
72421 "children": [
72422 {
72423 "tag": "head"
72424 },
72425 {
72426 "tag": "body",
72427 "children": [
72428 {
72429 "tag": "math",
72430 "ns": "http://www.w3.org/1998/Math/MathML",
72431 "children": [
72432 {
72433 "tag": "mi",
72434 "ns": "http://www.w3.org/1998/Math/MathML",
72435 "children": [
72436 {
72437 "text": "foo"
72438 }
72439 ]
72440 },
72441 {
72442 "tag": "mi",
72443 "ns": "http://www.w3.org/1998/Math/MathML",
72444 "children": [
72445 {
72446 "text": "bar"
72447 }
72448 ]
72449 }
72450 ]
72451 },
72452 {
72453 "tag": "table",
72454 "children": [
72455 {
72456 "tag": "tbody",
72457 "children": [
72458 {
72459 "tag": "tr"
72460 }
72461 ]
72462 }
72463 ]
72464 }
72465 ]
72466 }
72467 ]
72468 }
72469 ],
72470 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table><tbody><tr></tr></tbody></table></body></html>",
72471 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table><tbody><tr></tr></tbody></table>"
72472 }
72473 },
72474 {
72475 "data": "<!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>",
72476 "errors": [],
72477 "document": {
72478 "props": {
72479 "tags": {
72480 "html": true,
72481 "head": true,
72482 "body": true,
72483 "table": true,
72484 "tbody": true,
72485 "tr": true,
72486 "td": true,
72487 "math math": true,
72488 "math mi": true
72489 },
72490 "doctype": true
72491 },
72492 "tree": [
72493 {
72494 "doctype": "html"
72495 },
72496 {
72497 "tag": "html",
72498 "children": [
72499 {
72500 "tag": "head"
72501 },
72502 {
72503 "tag": "body",
72504 "children": [
72505 {
72506 "tag": "table",
72507 "children": [
72508 {
72509 "tag": "tbody",
72510 "children": [
72511 {
72512 "tag": "tr",
72513 "children": [
72514 {
72515 "tag": "td",
72516 "children": [
72517 {
72518 "tag": "math",
72519 "ns": "http://www.w3.org/1998/Math/MathML",
72520 "children": [
72521 {
72522 "tag": "mi",
72523 "ns": "http://www.w3.org/1998/Math/MathML",
72524 "children": [
72525 {
72526 "text": "foo"
72527 }
72528 ]
72529 },
72530 {
72531 "tag": "mi",
72532 "ns": "http://www.w3.org/1998/Math/MathML",
72533 "children": [
72534 {
72535 "text": "bar"
72536 }
72537 ]
72538 }
72539 ]
72540 }
72541 ]
72542 }
72543 ]
72544 }
72545 ]
72546 }
72547 ]
72548 }
72549 ]
72550 }
72551 ]
72552 }
72553 ],
72554 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table></body></html>",
72555 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>"
72556 }
72557 },
72558 {
72559 "data": "<!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>",
72560 "errors": [],
72561 "document": {
72562 "props": {
72563 "tags": {
72564 "html": true,
72565 "head": true,
72566 "body": true,
72567 "table": true,
72568 "tbody": true,
72569 "tr": true,
72570 "td": true,
72571 "math math": true,
72572 "math mi": true,
72573 "p": true
72574 },
72575 "doctype": true
72576 },
72577 "tree": [
72578 {
72579 "doctype": "html"
72580 },
72581 {
72582 "tag": "html",
72583 "children": [
72584 {
72585 "tag": "head"
72586 },
72587 {
72588 "tag": "body",
72589 "children": [
72590 {
72591 "tag": "table",
72592 "children": [
72593 {
72594 "tag": "tbody",
72595 "children": [
72596 {
72597 "tag": "tr",
72598 "children": [
72599 {
72600 "tag": "td",
72601 "children": [
72602 {
72603 "tag": "math",
72604 "ns": "http://www.w3.org/1998/Math/MathML",
72605 "children": [
72606 {
72607 "tag": "mi",
72608 "ns": "http://www.w3.org/1998/Math/MathML",
72609 "children": [
72610 {
72611 "text": "foo"
72612 }
72613 ]
72614 },
72615 {
72616 "tag": "mi",
72617 "ns": "http://www.w3.org/1998/Math/MathML",
72618 "children": [
72619 {
72620 "text": "bar"
72621 }
72622 ]
72623 }
72624 ]
72625 },
72626 {
72627 "tag": "p",
72628 "children": [
72629 {
72630 "text": "baz"
72631 }
72632 ]
72633 }
72634 ]
72635 }
72636 ]
72637 }
72638 ]
72639 }
72640 ]
72641 }
72642 ]
72643 }
72644 ]
72645 }
72646 ],
72647 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></td></tr></tbody></table></body></html>",
72648 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></td></tr></tbody></table>"
72649 }
72650 },
72651 {
72652 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>",
72653 "errors": [],
72654 "document": {
72655 "props": {
72656 "tags": {
72657 "html": true,
72658 "head": true,
72659 "body": true,
72660 "table": true,
72661 "caption": true,
72662 "math math": true,
72663 "math mi": true,
72664 "p": true
72665 },
72666 "doctype": true
72667 },
72668 "tree": [
72669 {
72670 "doctype": "html"
72671 },
72672 {
72673 "tag": "html",
72674 "children": [
72675 {
72676 "tag": "head"
72677 },
72678 {
72679 "tag": "body",
72680 "children": [
72681 {
72682 "tag": "table",
72683 "children": [
72684 {
72685 "tag": "caption",
72686 "children": [
72687 {
72688 "tag": "math",
72689 "ns": "http://www.w3.org/1998/Math/MathML",
72690 "children": [
72691 {
72692 "tag": "mi",
72693 "ns": "http://www.w3.org/1998/Math/MathML",
72694 "children": [
72695 {
72696 "text": "foo"
72697 }
72698 ]
72699 },
72700 {
72701 "tag": "mi",
72702 "ns": "http://www.w3.org/1998/Math/MathML",
72703 "children": [
72704 {
72705 "text": "bar"
72706 }
72707 ]
72708 }
72709 ]
72710 },
72711 {
72712 "tag": "p",
72713 "children": [
72714 {
72715 "text": "baz"
72716 }
72717 ]
72718 }
72719 ]
72720 }
72721 ]
72722 }
72723 ]
72724 }
72725 ]
72726 }
72727 ],
72728 "html": "<!DOCTYPE html><html><head></head><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></caption></table></body></html>",
72729 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></caption></table>"
72730 }
72731 },
72732 {
72733 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
72734 "errors": [
72735 "(1,70) unexpected-html-element-in-foreign-content"
72736 ],
72737 "document": {
72738 "props": {
72739 "tags": {
72740 "html": true,
72741 "head": true,
72742 "body": true,
72743 "table": true,
72744 "caption": true,
72745 "math math": true,
72746 "math mi": true,
72747 "p": true
72748 },
72749 "doctype": true
72750 },
72751 "tree": [
72752 {
72753 "doctype": "html"
72754 },
72755 {
72756 "tag": "html",
72757 "children": [
72758 {
72759 "tag": "head"
72760 },
72761 {
72762 "tag": "body",
72763 "children": [
72764 {
72765 "tag": "table",
72766 "children": [
72767 {
72768 "tag": "caption",
72769 "children": [
72770 {
72771 "tag": "math",
72772 "ns": "http://www.w3.org/1998/Math/MathML",
72773 "children": [
72774 {
72775 "tag": "mi",
72776 "ns": "http://www.w3.org/1998/Math/MathML",
72777 "children": [
72778 {
72779 "text": "foo"
72780 }
72781 ]
72782 },
72783 {
72784 "tag": "mi",
72785 "ns": "http://www.w3.org/1998/Math/MathML",
72786 "children": [
72787 {
72788 "text": "bar"
72789 }
72790 ]
72791 }
72792 ]
72793 },
72794 {
72795 "tag": "p",
72796 "children": [
72797 {
72798 "text": "baz"
72799 }
72800 ]
72801 }
72802 ]
72803 }
72804 ]
72805 },
72806 {
72807 "tag": "p",
72808 "children": [
72809 {
72810 "text": "quux"
72811 }
72812 ]
72813 }
72814 ]
72815 }
72816 ]
72817 }
72818 ],
72819 "html": "<!DOCTYPE html><html><head></head><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></caption></table><p>quux</p></body></html>",
72820 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</p></math></caption></table><p>quux</p>"
72821 }
72822 },
72823 {
72824 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux",
72825 "errors": [
72826 "(1,78) unexpected-end-tag",
72827 "(1,78) expected-one-end-tag-but-got-another"
72828 ],
72829 "document": {
72830 "props": {
72831 "tags": {
72832 "html": true,
72833 "head": true,
72834 "body": true,
72835 "table": true,
72836 "caption": true,
72837 "math math": true,
72838 "math mi": true,
72839 "p": true
72840 },
72841 "doctype": true
72842 },
72843 "tree": [
72844 {
72845 "doctype": "html"
72846 },
72847 {
72848 "tag": "html",
72849 "children": [
72850 {
72851 "tag": "head"
72852 },
72853 {
72854 "tag": "body",
72855 "children": [
72856 {
72857 "tag": "table",
72858 "children": [
72859 {
72860 "tag": "caption",
72861 "children": [
72862 {
72863 "tag": "math",
72864 "ns": "http://www.w3.org/1998/Math/MathML",
72865 "children": [
72866 {
72867 "tag": "mi",
72868 "ns": "http://www.w3.org/1998/Math/MathML",
72869 "children": [
72870 {
72871 "text": "foo"
72872 }
72873 ]
72874 },
72875 {
72876 "tag": "mi",
72877 "ns": "http://www.w3.org/1998/Math/MathML",
72878 "children": [
72879 {
72880 "text": "bar"
72881 }
72882 ]
72883 },
72884 {
72885 "text": "baz"
72886 }
72887 ]
72888 }
72889 ]
72890 }
72891 ]
72892 },
72893 {
72894 "tag": "p",
72895 "children": [
72896 {
72897 "text": "quux"
72898 }
72899 ]
72900 }
72901 ]
72902 }
72903 ]
72904 }
72905 ],
72906 "html": "<!DOCTYPE html><html><head></head><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</math></caption></table><p>quux</p></body></html>",
72907 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi>baz</math></caption></table><p>quux</p>"
72908 }
72909 },
72910 {
72911 "data": "<!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
72912 "errors": [
72913 "(1,44) foster-parenting-start-tag",
72914 "(1,49) foster-parenting-character",
72915 "(1,50) foster-parenting-character",
72916 "(1,51) foster-parenting-character",
72917 "(1,61) foster-parenting-character",
72918 "(1,62) foster-parenting-character",
72919 "(1,63) foster-parenting-character",
72920 "(1,71) unexpected-html-element-in-foreign-content",
72921 "(1,71) foster-parenting-start-tag",
72922 "(1,63) foster-parenting-character",
72923 "(1,63) foster-parenting-character",
72924 "(1,63) foster-parenting-character"
72925 ],
72926 "document": {
72927 "props": {
72928 "tags": {
72929 "html": true,
72930 "head": true,
72931 "body": true,
72932 "math math": true,
72933 "math mi": true,
72934 "p": true,
72935 "table": true,
72936 "colgroup": true
72937 },
72938 "doctype": true
72939 },
72940 "tree": [
72941 {
72942 "doctype": "html"
72943 },
72944 {
72945 "tag": "html",
72946 "children": [
72947 {
72948 "tag": "head"
72949 },
72950 {
72951 "tag": "body",
72952 "children": [
72953 {
72954 "tag": "math",
72955 "ns": "http://www.w3.org/1998/Math/MathML",
72956 "children": [
72957 {
72958 "tag": "mi",
72959 "ns": "http://www.w3.org/1998/Math/MathML",
72960 "children": [
72961 {
72962 "text": "foo"
72963 }
72964 ]
72965 },
72966 {
72967 "tag": "mi",
72968 "ns": "http://www.w3.org/1998/Math/MathML",
72969 "children": [
72970 {
72971 "text": "bar"
72972 }
72973 ]
72974 }
72975 ]
72976 },
72977 {
72978 "tag": "p",
72979 "children": [
72980 {
72981 "text": "baz"
72982 }
72983 ]
72984 },
72985 {
72986 "tag": "table",
72987 "children": [
72988 {
72989 "tag": "colgroup"
72990 }
72991 ]
72992 },
72993 {
72994 "tag": "p",
72995 "children": [
72996 {
72997 "text": "quux"
72998 }
72999 ]
73000 }
73001 ]
73002 }
73003 ]
73004 }
73005 ],
73006 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><p>baz</p><table><colgroup></colgroup></table><p>quux</p></body></html>",
73007 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math><table><colgroup></colgroup></table><p>quux</p>"
73008 }
73009 },
73010 {
73011 "data": "<!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
73012 "errors": [
73013 "(1,50) unexpected-start-tag-in-select",
73014 "(1,54) unexpected-start-tag-in-select",
73015 "(1,62) unexpected-end-tag-in-select",
73016 "(1,66) unexpected-start-tag-in-select",
73017 "(1,74) unexpected-end-tag-in-select",
73018 "(1,77) unexpected-start-tag-in-select",
73019 "(1,88) unexpected-table-element-end-tag-in-select-in-table"
73020 ],
73021 "document": {
73022 "props": {
73023 "tags": {
73024 "html": true,
73025 "head": true,
73026 "body": true,
73027 "table": true,
73028 "tbody": true,
73029 "tr": true,
73030 "td": true,
73031 "select": true,
73032 "p": true
73033 },
73034 "doctype": true
73035 },
73036 "tree": [
73037 {
73038 "doctype": "html"
73039 },
73040 {
73041 "tag": "html",
73042 "children": [
73043 {
73044 "tag": "head"
73045 },
73046 {
73047 "tag": "body",
73048 "children": [
73049 {
73050 "tag": "table",
73051 "children": [
73052 {
73053 "tag": "tbody",
73054 "children": [
73055 {
73056 "tag": "tr",
73057 "children": [
73058 {
73059 "tag": "td",
73060 "children": [
73061 {
73062 "tag": "select",
73063 "children": [
73064 {
73065 "text": "foobarbaz"
73066 }
73067 ]
73068 }
73069 ]
73070 }
73071 ]
73072 }
73073 ]
73074 }
73075 ]
73076 },
73077 {
73078 "tag": "p",
73079 "children": [
73080 {
73081 "text": "quux"
73082 }
73083 ]
73084 }
73085 ]
73086 }
73087 ]
73088 }
73089 ],
73090 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p></body></html>",
73091 "noQuirksBodyHtml": "<table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p>"
73092 }
73093 },
73094 {
73095 "data": "<!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
73096 "errors": [
73097 "(1,36) unexpected-start-tag-implies-table-voodoo",
73098 "(1,42) unexpected-start-tag-in-select",
73099 "(1,46) unexpected-start-tag-in-select",
73100 "(1,54) unexpected-end-tag-in-select",
73101 "(1,58) unexpected-start-tag-in-select",
73102 "(1,66) unexpected-end-tag-in-select",
73103 "(1,69) unexpected-start-tag-in-select",
73104 "(1,80) unexpected-table-element-end-tag-in-select-in-table"
73105 ],
73106 "document": {
73107 "props": {
73108 "tags": {
73109 "html": true,
73110 "head": true,
73111 "body": true,
73112 "select": true,
73113 "table": true,
73114 "p": true
73115 },
73116 "doctype": true
73117 },
73118 "tree": [
73119 {
73120 "doctype": "html"
73121 },
73122 {
73123 "tag": "html",
73124 "children": [
73125 {
73126 "tag": "head"
73127 },
73128 {
73129 "tag": "body",
73130 "children": [
73131 {
73132 "tag": "select",
73133 "children": [
73134 {
73135 "text": "foobarbaz"
73136 }
73137 ]
73138 },
73139 {
73140 "tag": "table"
73141 },
73142 {
73143 "tag": "p",
73144 "children": [
73145 {
73146 "text": "quux"
73147 }
73148 ]
73149 }
73150 ]
73151 }
73152 ]
73153 }
73154 ],
73155 "html": "<!DOCTYPE html><html><head></head><body><select>foobarbaz</select><table></table><p>quux</p></body></html>",
73156 "noQuirksBodyHtml": "<select>foobarbaz</select><table></table><p>quux</p>"
73157 }
73158 },
73159 {
73160 "data": "<!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz",
73161 "errors": [
73162 "(1,41) expected-eof-but-got-start-tag",
73163 "(1,68) unexpected-html-element-in-foreign-content"
73164 ],
73165 "document": {
73166 "props": {
73167 "tags": {
73168 "html": true,
73169 "head": true,
73170 "body": true,
73171 "math math": true,
73172 "math mi": true,
73173 "p": true
73174 },
73175 "doctype": true
73176 },
73177 "tree": [
73178 {
73179 "doctype": "html"
73180 },
73181 {
73182 "tag": "html",
73183 "children": [
73184 {
73185 "tag": "head"
73186 },
73187 {
73188 "tag": "body",
73189 "children": [
73190 {
73191 "tag": "math",
73192 "ns": "http://www.w3.org/1998/Math/MathML",
73193 "children": [
73194 {
73195 "tag": "mi",
73196 "ns": "http://www.w3.org/1998/Math/MathML",
73197 "children": [
73198 {
73199 "text": "foo"
73200 }
73201 ]
73202 },
73203 {
73204 "tag": "mi",
73205 "ns": "http://www.w3.org/1998/Math/MathML",
73206 "children": [
73207 {
73208 "text": "bar"
73209 }
73210 ]
73211 }
73212 ]
73213 },
73214 {
73215 "tag": "p",
73216 "children": [
73217 {
73218 "text": "baz"
73219 }
73220 ]
73221 }
73222 ]
73223 }
73224 ]
73225 }
73226 ],
73227 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></body></html>",
73228 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math>"
73229 }
73230 },
73231 {
73232 "data": "<!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz",
73233 "errors": [
73234 "(1,34) unexpected-start-tag-after-body",
73235 "(1,61) unexpected-html-element-in-foreign-content"
73236 ],
73237 "document": {
73238 "props": {
73239 "tags": {
73240 "html": true,
73241 "head": true,
73242 "body": true,
73243 "math math": true,
73244 "math mi": true,
73245 "p": true
73246 },
73247 "doctype": true
73248 },
73249 "tree": [
73250 {
73251 "doctype": "html"
73252 },
73253 {
73254 "tag": "html",
73255 "children": [
73256 {
73257 "tag": "head"
73258 },
73259 {
73260 "tag": "body",
73261 "children": [
73262 {
73263 "tag": "math",
73264 "ns": "http://www.w3.org/1998/Math/MathML",
73265 "children": [
73266 {
73267 "tag": "mi",
73268 "ns": "http://www.w3.org/1998/Math/MathML",
73269 "children": [
73270 {
73271 "text": "foo"
73272 }
73273 ]
73274 },
73275 {
73276 "tag": "mi",
73277 "ns": "http://www.w3.org/1998/Math/MathML",
73278 "children": [
73279 {
73280 "text": "bar"
73281 }
73282 ]
73283 }
73284 ]
73285 },
73286 {
73287 "tag": "p",
73288 "children": [
73289 {
73290 "text": "baz"
73291 }
73292 ]
73293 }
73294 ]
73295 }
73296 ]
73297 }
73298 ],
73299 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></body></html>",
73300 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math>"
73301 }
73302 },
73303 {
73304 "data": "<!DOCTYPE html><frameset><math><mi></mi><mi></mi><p><span>",
73305 "errors": [
73306 "(1,31) unexpected-start-tag-in-frameset",
73307 "(1,35) unexpected-start-tag-in-frameset",
73308 "(1,40) unexpected-end-tag-in-frameset",
73309 "(1,44) unexpected-start-tag-in-frameset",
73310 "(1,49) unexpected-end-tag-in-frameset",
73311 "(1,52) unexpected-start-tag-in-frameset",
73312 "(1,58) unexpected-start-tag-in-frameset",
73313 "(1,58) eof-in-frameset"
73314 ],
73315 "document": {
73316 "props": {
73317 "tags": {
73318 "html": true,
73319 "head": true,
73320 "frameset": true
73321 },
73322 "doctype": true
73323 },
73324 "tree": [
73325 {
73326 "doctype": "html"
73327 },
73328 {
73329 "tag": "html",
73330 "children": [
73331 {
73332 "tag": "head"
73333 },
73334 {
73335 "tag": "frameset"
73336 }
73337 ]
73338 }
73339 ],
73340 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
73341 "noQuirksBodyHtml": "<math><mi></mi><mi></mi><p><span></span></p></math>"
73342 }
73343 },
73344 {
73345 "data": "<!DOCTYPE html><frameset></frameset><math><mi></mi><mi></mi><p><span>",
73346 "errors": [
73347 "(1,42) unexpected-start-tag-after-frameset",
73348 "(1,46) unexpected-start-tag-after-frameset",
73349 "(1,51) unexpected-end-tag-after-frameset",
73350 "(1,55) unexpected-start-tag-after-frameset",
73351 "(1,60) unexpected-end-tag-after-frameset",
73352 "(1,63) unexpected-start-tag-after-frameset",
73353 "(1,69) unexpected-start-tag-after-frameset"
73354 ],
73355 "document": {
73356 "props": {
73357 "tags": {
73358 "html": true,
73359 "head": true,
73360 "frameset": true
73361 },
73362 "doctype": true
73363 },
73364 "tree": [
73365 {
73366 "doctype": "html"
73367 },
73368 {
73369 "tag": "html",
73370 "children": [
73371 {
73372 "tag": "head"
73373 },
73374 {
73375 "tag": "frameset"
73376 }
73377 ]
73378 }
73379 ],
73380 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
73381 "noQuirksBodyHtml": "<math><mi></mi><mi></mi><p><span></span></p></math>"
73382 }
73383 },
73384 {
73385 "data": "<!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>",
73386 "errors": [],
73387 "document": {
73388 "props": {
73389 "tags": {
73390 "html": true,
73391 "head": true,
73392 "body": true,
73393 "math math": true
73394 },
73395 "doctype": true
73396 },
73397 "tree": [
73398 {
73399 "doctype": "html"
73400 },
73401 {
73402 "tag": "html",
73403 "children": [
73404 {
73405 "tag": "head"
73406 },
73407 {
73408 "tag": "body",
73409 "attrs": [
73410 {
73411 "name": "xlink:href",
73412 "value": "foo"
73413 }
73414 ],
73415 "children": [
73416 {
73417 "tag": "math",
73418 "ns": "http://www.w3.org/1998/Math/MathML",
73419 "attrs": [
73420 {
73421 "name": "href",
73422 "ns": "http://www.w3.org/1999/xlink",
73423 "value": "foo"
73424 }
73425 ]
73426 }
73427 ]
73428 }
73429 ]
73430 }
73431 ],
73432 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\"><math xlink:href=\"foo\"></math></body></html>",
73433 "noQuirksBodyHtml": "<math xlink:href=\"foo\"></math>"
73434 }
73435 },
73436 {
73437 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>",
73438 "errors": [],
73439 "document": {
73440 "props": {
73441 "tags": {
73442 "html": true,
73443 "head": true,
73444 "body": true,
73445 "math math": true,
73446 "math mi": true
73447 },
73448 "doctype": true
73449 },
73450 "tree": [
73451 {
73452 "doctype": "html"
73453 },
73454 {
73455 "tag": "html",
73456 "children": [
73457 {
73458 "tag": "head"
73459 },
73460 {
73461 "tag": "body",
73462 "attrs": [
73463 {
73464 "name": "xlink:href",
73465 "value": "foo"
73466 },
73467 {
73468 "name": "xml:lang",
73469 "value": "en"
73470 }
73471 ],
73472 "children": [
73473 {
73474 "tag": "math",
73475 "ns": "http://www.w3.org/1998/Math/MathML",
73476 "children": [
73477 {
73478 "tag": "mi",
73479 "ns": "http://www.w3.org/1998/Math/MathML",
73480 "attrs": [
73481 {
73482 "name": "href",
73483 "ns": "http://www.w3.org/1999/xlink",
73484 "value": "foo"
73485 },
73486 {
73487 "name": "lang",
73488 "ns": "http://www.w3.org/XML/1998/namespace",
73489 "value": "en"
73490 }
73491 ]
73492 }
73493 ]
73494 }
73495 ]
73496 }
73497 ]
73498 }
73499 ],
73500 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math></body></html>",
73501 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math>"
73502 }
73503 },
73504 {
73505 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>",
73506 "errors": [],
73507 "document": {
73508 "props": {
73509 "tags": {
73510 "html": true,
73511 "head": true,
73512 "body": true,
73513 "math math": true,
73514 "math mi": true
73515 },
73516 "doctype": true
73517 },
73518 "tree": [
73519 {
73520 "doctype": "html"
73521 },
73522 {
73523 "tag": "html",
73524 "children": [
73525 {
73526 "tag": "head"
73527 },
73528 {
73529 "tag": "body",
73530 "attrs": [
73531 {
73532 "name": "xlink:href",
73533 "value": "foo"
73534 },
73535 {
73536 "name": "xml:lang",
73537 "value": "en"
73538 }
73539 ],
73540 "children": [
73541 {
73542 "tag": "math",
73543 "ns": "http://www.w3.org/1998/Math/MathML",
73544 "children": [
73545 {
73546 "tag": "mi",
73547 "ns": "http://www.w3.org/1998/Math/MathML",
73548 "attrs": [
73549 {
73550 "name": "href",
73551 "ns": "http://www.w3.org/1999/xlink",
73552 "value": "foo"
73553 },
73554 {
73555 "name": "lang",
73556 "ns": "http://www.w3.org/XML/1998/namespace",
73557 "value": "en"
73558 }
73559 ]
73560 }
73561 ]
73562 }
73563 ]
73564 }
73565 ]
73566 }
73567 ],
73568 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math></body></html>",
73569 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math>"
73570 }
73571 },
73572 {
73573 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>",
73574 "errors": [],
73575 "document": {
73576 "props": {
73577 "tags": {
73578 "html": true,
73579 "head": true,
73580 "body": true,
73581 "math math": true,
73582 "math mi": true
73583 },
73584 "doctype": true
73585 },
73586 "tree": [
73587 {
73588 "doctype": "html"
73589 },
73590 {
73591 "tag": "html",
73592 "children": [
73593 {
73594 "tag": "head"
73595 },
73596 {
73597 "tag": "body",
73598 "attrs": [
73599 {
73600 "name": "xlink:href",
73601 "value": "foo"
73602 },
73603 {
73604 "name": "xml:lang",
73605 "value": "en"
73606 }
73607 ],
73608 "children": [
73609 {
73610 "tag": "math",
73611 "ns": "http://www.w3.org/1998/Math/MathML",
73612 "children": [
73613 {
73614 "tag": "mi",
73615 "ns": "http://www.w3.org/1998/Math/MathML",
73616 "attrs": [
73617 {
73618 "name": "href",
73619 "ns": "http://www.w3.org/1999/xlink",
73620 "value": "foo"
73621 },
73622 {
73623 "name": "lang",
73624 "ns": "http://www.w3.org/XML/1998/namespace",
73625 "value": "en"
73626 }
73627 ]
73628 },
73629 {
73630 "text": "bar"
73631 }
73632 ]
73633 }
73634 ]
73635 }
73636 ]
73637 }
73638 ],
73639 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\" xml:lang=\"en\"><math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi>bar</math></body></html>",
73640 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi>bar</math>"
73641 }
73642 }
73643 ],
73644 "tests_innerHTML_1.dat": [
73645 {
73646 "data": "<body><span>",
73647 "errors": [
73648 "(1,6): unexpected-start-tag",
73649 "(1,12): expected-closing-tag-but-got-eof"
73650 ],
73651 "fragment": {
73652 "name": "body"
73653 },
73654 "document": {
73655 "props": {
73656 "tags": {
73657 "span": true
73658 }
73659 },
73660 "tree": [
73661 {
73662 "tag": "span"
73663 }
73664 ],
73665 "html": "<span></span>",
73666 "noQuirksBodyHtml": "<span></span>"
73667 }
73668 },
73669 {
73670 "data": "<span><body>",
73671 "errors": [
73672 "(1,12): unexpected-start-tag",
73673 "(1,12): expected-closing-tag-but-got-eof"
73674 ],
73675 "fragment": {
73676 "name": "body"
73677 },
73678 "document": {
73679 "props": {
73680 "tags": {
73681 "span": true
73682 }
73683 },
73684 "tree": [
73685 {
73686 "tag": "span"
73687 }
73688 ],
73689 "html": "<span></span>",
73690 "noQuirksBodyHtml": "<span></span>"
73691 }
73692 },
73693 {
73694 "data": "<span><body>",
73695 "errors": [
73696 "(1,12): unexpected-start-tag",
73697 "(1,12): expected-closing-tag-but-got-eof"
73698 ],
73699 "fragment": {
73700 "name": "div"
73701 },
73702 "document": {
73703 "props": {
73704 "tags": {
73705 "span": true
73706 }
73707 },
73708 "tree": [
73709 {
73710 "tag": "span"
73711 }
73712 ],
73713 "html": "<span></span>",
73714 "noQuirksBodyHtml": "<span></span>"
73715 }
73716 },
73717 {
73718 "data": "<body><span>",
73719 "errors": [
73720 "(1,12): expected-closing-tag-but-got-eof"
73721 ],
73722 "fragment": {
73723 "name": "html"
73724 },
73725 "document": {
73726 "props": {
73727 "tags": {
73728 "head": true,
73729 "body": true,
73730 "span": true
73731 }
73732 },
73733 "tree": [
73734 {
73735 "tag": "head"
73736 },
73737 {
73738 "tag": "body",
73739 "children": [
73740 {
73741 "tag": "span"
73742 }
73743 ]
73744 }
73745 ],
73746 "html": "<head></head><body><span></span></body>",
73747 "noQuirksBodyHtml": "<span></span>"
73748 }
73749 },
73750 {
73751 "data": "<frameset><span>",
73752 "errors": [
73753 "(1,10): unexpected-start-tag",
73754 "(1,16): expected-closing-tag-but-got-eof"
73755 ],
73756 "fragment": {
73757 "name": "body"
73758 },
73759 "document": {
73760 "props": {
73761 "tags": {
73762 "span": true
73763 }
73764 },
73765 "tree": [
73766 {
73767 "tag": "span"
73768 }
73769 ],
73770 "html": "<span></span>",
73771 "noQuirksBodyHtml": "<span></span>"
73772 }
73773 },
73774 {
73775 "data": "<span><frameset>",
73776 "errors": [
73777 "(1,16): unexpected-start-tag",
73778 "(1,16): expected-closing-tag-but-got-eof"
73779 ],
73780 "fragment": {
73781 "name": "body"
73782 },
73783 "document": {
73784 "props": {
73785 "tags": {
73786 "span": true
73787 }
73788 },
73789 "tree": [
73790 {
73791 "tag": "span"
73792 }
73793 ],
73794 "html": "<span></span>",
73795 "noQuirksBodyHtml": "<span></span>"
73796 }
73797 },
73798 {
73799 "data": "<span><frameset>",
73800 "errors": [
73801 "(1,16): unexpected-start-tag",
73802 "(1,16): expected-closing-tag-but-got-eof"
73803 ],
73804 "fragment": {
73805 "name": "div"
73806 },
73807 "document": {
73808 "props": {
73809 "tags": {
73810 "span": true
73811 }
73812 },
73813 "tree": [
73814 {
73815 "tag": "span"
73816 }
73817 ],
73818 "html": "<span></span>",
73819 "noQuirksBodyHtml": "<span></span>"
73820 }
73821 },
73822 {
73823 "data": "<frameset><span>",
73824 "errors": [
73825 "(1,16): unexpected-start-tag-in-frameset",
73826 "(1,16): eof-in-frameset"
73827 ],
73828 "fragment": {
73829 "name": "html"
73830 },
73831 "document": {
73832 "props": {
73833 "tags": {
73834 "head": true,
73835 "frameset": true
73836 }
73837 },
73838 "tree": [
73839 {
73840 "tag": "head"
73841 },
73842 {
73843 "tag": "frameset"
73844 }
73845 ],
73846 "html": "<head></head><frameset></frameset>",
73847 "noQuirksBodyHtml": "<span></span>"
73848 }
73849 },
73850 {
73851 "data": "<table><tr>",
73852 "errors": [
73853 "(1,7): unexpected-start-tag"
73854 ],
73855 "fragment": {
73856 "name": "table"
73857 },
73858 "document": {
73859 "props": {
73860 "tags": {
73861 "tbody": true,
73862 "tr": true
73863 }
73864 },
73865 "tree": [
73866 {
73867 "tag": "tbody",
73868 "children": [
73869 {
73870 "tag": "tr"
73871 }
73872 ]
73873 }
73874 ],
73875 "html": "<tbody><tr></tr></tbody>",
73876 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody></table>"
73877 }
73878 },
73879 {
73880 "data": "</table><tr>",
73881 "errors": [
73882 "(1,8): unexpected-end-tag"
73883 ],
73884 "fragment": {
73885 "name": "table"
73886 },
73887 "document": {
73888 "props": {
73889 "tags": {
73890 "tbody": true,
73891 "tr": true
73892 }
73893 },
73894 "tree": [
73895 {
73896 "tag": "tbody",
73897 "children": [
73898 {
73899 "tag": "tr"
73900 }
73901 ]
73902 }
73903 ],
73904 "html": "<tbody><tr></tr></tbody>",
73905 "noQuirksBodyHtml": ""
73906 }
73907 },
73908 {
73909 "data": "<a>",
73910 "errors": [
73911 "(1,3): unexpected-start-tag-implies-table-voodoo",
73912 "(1,3): eof-in-table"
73913 ],
73914 "fragment": {
73915 "name": "table"
73916 },
73917 "document": {
73918 "props": {
73919 "tags": {
73920 "a": true
73921 }
73922 },
73923 "tree": [
73924 {
73925 "tag": "a"
73926 }
73927 ],
73928 "html": "<a></a>",
73929 "noQuirksBodyHtml": "<a></a>"
73930 }
73931 },
73932 {
73933 "data": "<a>",
73934 "errors": [
73935 "(1,3): unexpected-start-tag-implies-table-voodoo",
73936 "(1,3): eof-in-table"
73937 ],
73938 "fragment": {
73939 "name": "table"
73940 },
73941 "document": {
73942 "props": {
73943 "tags": {
73944 "a": true
73945 }
73946 },
73947 "tree": [
73948 {
73949 "tag": "a"
73950 }
73951 ],
73952 "html": "<a></a>",
73953 "noQuirksBodyHtml": "<a></a>"
73954 }
73955 },
73956 {
73957 "data": "<a><caption>a",
73958 "errors": [
73959 "(1,3): unexpected-start-tag-implies-table-voodoo",
73960 "(1,13): expected-closing-tag-but-got-eof"
73961 ],
73962 "fragment": {
73963 "name": "table"
73964 },
73965 "document": {
73966 "props": {
73967 "tags": {
73968 "a": true,
73969 "caption": true
73970 }
73971 },
73972 "tree": [
73973 {
73974 "tag": "a"
73975 },
73976 {
73977 "tag": "caption",
73978 "children": [
73979 {
73980 "text": "a"
73981 }
73982 ]
73983 }
73984 ],
73985 "html": "<a></a><caption>a</caption>",
73986 "noQuirksBodyHtml": "<a>a</a>"
73987 }
73988 },
73989 {
73990 "data": "<a><colgroup><col>",
73991 "errors": [
73992 "(1,3): foster-parenting-start-token",
73993 "(1,18): expected-closing-tag-but-got-eof"
73994 ],
73995 "fragment": {
73996 "name": "table"
73997 },
73998 "document": {
73999 "props": {
74000 "tags": {
74001 "a": true,
74002 "colgroup": true,
74003 "col": true
74004 }
74005 },
74006 "tree": [
74007 {
74008 "tag": "a"
74009 },
74010 {
74011 "tag": "colgroup",
74012 "children": [
74013 {
74014 "tag": "col"
74015 }
74016 ]
74017 }
74018 ],
74019 "html": "<a></a><colgroup><col></colgroup>",
74020 "noQuirksBodyHtml": "<a></a>"
74021 }
74022 },
74023 {
74024 "data": "<a><tbody><tr>",
74025 "errors": [
74026 "(1,3): foster-parenting-start-tag"
74027 ],
74028 "fragment": {
74029 "name": "table"
74030 },
74031 "document": {
74032 "props": {
74033 "tags": {
74034 "a": true,
74035 "tbody": true,
74036 "tr": true
74037 }
74038 },
74039 "tree": [
74040 {
74041 "tag": "a"
74042 },
74043 {
74044 "tag": "tbody",
74045 "children": [
74046 {
74047 "tag": "tr"
74048 }
74049 ]
74050 }
74051 ],
74052 "html": "<a></a><tbody><tr></tr></tbody>",
74053 "noQuirksBodyHtml": "<a></a>"
74054 }
74055 },
74056 {
74057 "data": "<a><tfoot><tr>",
74058 "errors": [
74059 "(1,3): foster-parenting-start-tag"
74060 ],
74061 "fragment": {
74062 "name": "table"
74063 },
74064 "document": {
74065 "props": {
74066 "tags": {
74067 "a": true,
74068 "tfoot": true,
74069 "tr": true
74070 }
74071 },
74072 "tree": [
74073 {
74074 "tag": "a"
74075 },
74076 {
74077 "tag": "tfoot",
74078 "children": [
74079 {
74080 "tag": "tr"
74081 }
74082 ]
74083 }
74084 ],
74085 "html": "<a></a><tfoot><tr></tr></tfoot>",
74086 "noQuirksBodyHtml": "<a></a>"
74087 }
74088 },
74089 {
74090 "data": "<a><thead><tr>",
74091 "errors": [
74092 "(1,3): foster-parenting-start-tag"
74093 ],
74094 "fragment": {
74095 "name": "table"
74096 },
74097 "document": {
74098 "props": {
74099 "tags": {
74100 "a": true,
74101 "thead": true,
74102 "tr": true
74103 }
74104 },
74105 "tree": [
74106 {
74107 "tag": "a"
74108 },
74109 {
74110 "tag": "thead",
74111 "children": [
74112 {
74113 "tag": "tr"
74114 }
74115 ]
74116 }
74117 ],
74118 "html": "<a></a><thead><tr></tr></thead>",
74119 "noQuirksBodyHtml": "<a></a>"
74120 }
74121 },
74122 {
74123 "data": "<a><tr>",
74124 "errors": [
74125 "(1,3): foster-parenting-start-tag"
74126 ],
74127 "fragment": {
74128 "name": "table"
74129 },
74130 "document": {
74131 "props": {
74132 "tags": {
74133 "a": true,
74134 "tbody": true,
74135 "tr": true
74136 }
74137 },
74138 "tree": [
74139 {
74140 "tag": "a"
74141 },
74142 {
74143 "tag": "tbody",
74144 "children": [
74145 {
74146 "tag": "tr"
74147 }
74148 ]
74149 }
74150 ],
74151 "html": "<a></a><tbody><tr></tr></tbody>",
74152 "noQuirksBodyHtml": "<a></a>"
74153 }
74154 },
74155 {
74156 "data": "<a><th>",
74157 "errors": [
74158 "(1,3): unexpected-start-tag-implies-table-voodoo",
74159 "(1,7): unexpected-cell-in-table-body"
74160 ],
74161 "fragment": {
74162 "name": "table"
74163 },
74164 "document": {
74165 "props": {
74166 "tags": {
74167 "a": true,
74168 "tbody": true,
74169 "tr": true,
74170 "th": true
74171 }
74172 },
74173 "tree": [
74174 {
74175 "tag": "a"
74176 },
74177 {
74178 "tag": "tbody",
74179 "children": [
74180 {
74181 "tag": "tr",
74182 "children": [
74183 {
74184 "tag": "th"
74185 }
74186 ]
74187 }
74188 ]
74189 }
74190 ],
74191 "html": "<a></a><tbody><tr><th></th></tr></tbody>",
74192 "noQuirksBodyHtml": "<a></a>"
74193 }
74194 },
74195 {
74196 "data": "<a><td>",
74197 "errors": [
74198 "(1,3): unexpected-start-tag-implies-table-voodoo",
74199 "(1,7): unexpected-cell-in-table-body"
74200 ],
74201 "fragment": {
74202 "name": "table"
74203 },
74204 "document": {
74205 "props": {
74206 "tags": {
74207 "a": true,
74208 "tbody": true,
74209 "tr": true,
74210 "td": true
74211 }
74212 },
74213 "tree": [
74214 {
74215 "tag": "a"
74216 },
74217 {
74218 "tag": "tbody",
74219 "children": [
74220 {
74221 "tag": "tr",
74222 "children": [
74223 {
74224 "tag": "td"
74225 }
74226 ]
74227 }
74228 ]
74229 }
74230 ],
74231 "html": "<a></a><tbody><tr><td></td></tr></tbody>",
74232 "noQuirksBodyHtml": "<a></a>"
74233 }
74234 },
74235 {
74236 "data": "<table></table><tbody>",
74237 "errors": [
74238 "(1,22): unexpected-start-tag"
74239 ],
74240 "fragment": {
74241 "name": "caption"
74242 },
74243 "document": {
74244 "props": {
74245 "tags": {
74246 "table": true
74247 }
74248 },
74249 "tree": [
74250 {
74251 "tag": "table"
74252 }
74253 ],
74254 "html": "<table></table>",
74255 "noQuirksBodyHtml": "<table></table>"
74256 }
74257 },
74258 {
74259 "data": "</table><span>",
74260 "errors": [
74261 "(1,8): unexpected-end-tag",
74262 "(1,14): expected-closing-tag-but-got-eof"
74263 ],
74264 "fragment": {
74265 "name": "caption"
74266 },
74267 "document": {
74268 "props": {
74269 "tags": {
74270 "span": true
74271 }
74272 },
74273 "tree": [
74274 {
74275 "tag": "span"
74276 }
74277 ],
74278 "html": "<span></span>",
74279 "noQuirksBodyHtml": "<span></span>"
74280 }
74281 },
74282 {
74283 "data": "<span></table>",
74284 "errors": [
74285 "(1,14): unexpected-end-tag",
74286 "(1,14): expected-closing-tag-but-got-eof"
74287 ],
74288 "fragment": {
74289 "name": "caption"
74290 },
74291 "document": {
74292 "props": {
74293 "tags": {
74294 "span": true
74295 }
74296 },
74297 "tree": [
74298 {
74299 "tag": "span"
74300 }
74301 ],
74302 "html": "<span></span>",
74303 "noQuirksBodyHtml": "<span></span>"
74304 }
74305 },
74306 {
74307 "data": "</caption><span>",
74308 "errors": [
74309 "(1,10): XXX-undefined-error",
74310 "(1,16): expected-closing-tag-but-got-eof"
74311 ],
74312 "fragment": {
74313 "name": "caption"
74314 },
74315 "document": {
74316 "props": {
74317 "tags": {
74318 "span": true
74319 }
74320 },
74321 "tree": [
74322 {
74323 "tag": "span"
74324 }
74325 ],
74326 "html": "<span></span>",
74327 "noQuirksBodyHtml": "<span></span>"
74328 }
74329 },
74330 {
74331 "data": "<span></caption><span>",
74332 "errors": [
74333 "(1,16): XXX-undefined-error",
74334 "(1,22): expected-closing-tag-but-got-eof"
74335 ],
74336 "fragment": {
74337 "name": "caption"
74338 },
74339 "document": {
74340 "props": {
74341 "tags": {
74342 "span": true
74343 }
74344 },
74345 "tree": [
74346 {
74347 "tag": "span",
74348 "children": [
74349 {
74350 "tag": "span"
74351 }
74352 ]
74353 }
74354 ],
74355 "html": "<span><span></span></span>",
74356 "noQuirksBodyHtml": "<span><span></span></span>"
74357 }
74358 },
74359 {
74360 "data": "<span><caption><span>",
74361 "errors": [
74362 "(1,15): unexpected-start-tag",
74363 "(1,21): expected-closing-tag-but-got-eof"
74364 ],
74365 "fragment": {
74366 "name": "caption"
74367 },
74368 "document": {
74369 "props": {
74370 "tags": {
74371 "span": true
74372 }
74373 },
74374 "tree": [
74375 {
74376 "tag": "span",
74377 "children": [
74378 {
74379 "tag": "span"
74380 }
74381 ]
74382 }
74383 ],
74384 "html": "<span><span></span></span>",
74385 "noQuirksBodyHtml": "<span><span></span></span>"
74386 }
74387 },
74388 {
74389 "data": "<span><col><span>",
74390 "errors": [
74391 "(1,11): unexpected-start-tag",
74392 "(1,17): expected-closing-tag-but-got-eof"
74393 ],
74394 "fragment": {
74395 "name": "caption"
74396 },
74397 "document": {
74398 "props": {
74399 "tags": {
74400 "span": true
74401 }
74402 },
74403 "tree": [
74404 {
74405 "tag": "span",
74406 "children": [
74407 {
74408 "tag": "span"
74409 }
74410 ]
74411 }
74412 ],
74413 "html": "<span><span></span></span>",
74414 "noQuirksBodyHtml": "<span><span></span></span>"
74415 }
74416 },
74417 {
74418 "data": "<span><colgroup><span>",
74419 "errors": [
74420 "(1,16): unexpected-start-tag",
74421 "(1,22): expected-closing-tag-but-got-eof"
74422 ],
74423 "fragment": {
74424 "name": "caption"
74425 },
74426 "document": {
74427 "props": {
74428 "tags": {
74429 "span": true
74430 }
74431 },
74432 "tree": [
74433 {
74434 "tag": "span",
74435 "children": [
74436 {
74437 "tag": "span"
74438 }
74439 ]
74440 }
74441 ],
74442 "html": "<span><span></span></span>",
74443 "noQuirksBodyHtml": "<span><span></span></span>"
74444 }
74445 },
74446 {
74447 "data": "<span><html><span>",
74448 "errors": [
74449 "(1,12): non-html-root",
74450 "(1,18): expected-closing-tag-but-got-eof"
74451 ],
74452 "fragment": {
74453 "name": "caption"
74454 },
74455 "document": {
74456 "props": {
74457 "tags": {
74458 "span": true
74459 }
74460 },
74461 "tree": [
74462 {
74463 "tag": "span",
74464 "children": [
74465 {
74466 "tag": "span"
74467 }
74468 ]
74469 }
74470 ],
74471 "html": "<span><span></span></span>",
74472 "noQuirksBodyHtml": "<span><span></span></span>"
74473 }
74474 },
74475 {
74476 "data": "<span><tbody><span>",
74477 "errors": [
74478 "(1,13): unexpected-start-tag",
74479 "(1,19): expected-closing-tag-but-got-eof"
74480 ],
74481 "fragment": {
74482 "name": "caption"
74483 },
74484 "document": {
74485 "props": {
74486 "tags": {
74487 "span": true
74488 }
74489 },
74490 "tree": [
74491 {
74492 "tag": "span",
74493 "children": [
74494 {
74495 "tag": "span"
74496 }
74497 ]
74498 }
74499 ],
74500 "html": "<span><span></span></span>",
74501 "noQuirksBodyHtml": "<span><span></span></span>"
74502 }
74503 },
74504 {
74505 "data": "<span><td><span>",
74506 "errors": [
74507 "(1,10): unexpected-start-tag",
74508 "(1,16): expected-closing-tag-but-got-eof"
74509 ],
74510 "fragment": {
74511 "name": "caption"
74512 },
74513 "document": {
74514 "props": {
74515 "tags": {
74516 "span": true
74517 }
74518 },
74519 "tree": [
74520 {
74521 "tag": "span",
74522 "children": [
74523 {
74524 "tag": "span"
74525 }
74526 ]
74527 }
74528 ],
74529 "html": "<span><span></span></span>",
74530 "noQuirksBodyHtml": "<span><span></span></span>"
74531 }
74532 },
74533 {
74534 "data": "<span><tfoot><span>",
74535 "errors": [
74536 "(1,13): unexpected-start-tag",
74537 "(1,19): expected-closing-tag-but-got-eof"
74538 ],
74539 "fragment": {
74540 "name": "caption"
74541 },
74542 "document": {
74543 "props": {
74544 "tags": {
74545 "span": true
74546 }
74547 },
74548 "tree": [
74549 {
74550 "tag": "span",
74551 "children": [
74552 {
74553 "tag": "span"
74554 }
74555 ]
74556 }
74557 ],
74558 "html": "<span><span></span></span>",
74559 "noQuirksBodyHtml": "<span><span></span></span>"
74560 }
74561 },
74562 {
74563 "data": "<span><thead><span>",
74564 "errors": [
74565 "(1,13): unexpected-start-tag",
74566 "(1,19): expected-closing-tag-but-got-eof"
74567 ],
74568 "fragment": {
74569 "name": "caption"
74570 },
74571 "document": {
74572 "props": {
74573 "tags": {
74574 "span": true
74575 }
74576 },
74577 "tree": [
74578 {
74579 "tag": "span",
74580 "children": [
74581 {
74582 "tag": "span"
74583 }
74584 ]
74585 }
74586 ],
74587 "html": "<span><span></span></span>",
74588 "noQuirksBodyHtml": "<span><span></span></span>"
74589 }
74590 },
74591 {
74592 "data": "<span><th><span>",
74593 "errors": [
74594 "(1,10): unexpected-start-tag",
74595 "(1,16): expected-closing-tag-but-got-eof"
74596 ],
74597 "fragment": {
74598 "name": "caption"
74599 },
74600 "document": {
74601 "props": {
74602 "tags": {
74603 "span": true
74604 }
74605 },
74606 "tree": [
74607 {
74608 "tag": "span",
74609 "children": [
74610 {
74611 "tag": "span"
74612 }
74613 ]
74614 }
74615 ],
74616 "html": "<span><span></span></span>",
74617 "noQuirksBodyHtml": "<span><span></span></span>"
74618 }
74619 },
74620 {
74621 "data": "<span><tr><span>",
74622 "errors": [
74623 "(1,10): unexpected-start-tag",
74624 "(1,16): expected-closing-tag-but-got-eof"
74625 ],
74626 "fragment": {
74627 "name": "caption"
74628 },
74629 "document": {
74630 "props": {
74631 "tags": {
74632 "span": true
74633 }
74634 },
74635 "tree": [
74636 {
74637 "tag": "span",
74638 "children": [
74639 {
74640 "tag": "span"
74641 }
74642 ]
74643 }
74644 ],
74645 "html": "<span><span></span></span>",
74646 "noQuirksBodyHtml": "<span><span></span></span>"
74647 }
74648 },
74649 {
74650 "data": "<span></table><span>",
74651 "errors": [
74652 "(1,14): unexpected-end-tag",
74653 "(1,20): expected-closing-tag-but-got-eof"
74654 ],
74655 "fragment": {
74656 "name": "caption"
74657 },
74658 "document": {
74659 "props": {
74660 "tags": {
74661 "span": true
74662 }
74663 },
74664 "tree": [
74665 {
74666 "tag": "span",
74667 "children": [
74668 {
74669 "tag": "span"
74670 }
74671 ]
74672 }
74673 ],
74674 "html": "<span><span></span></span>",
74675 "noQuirksBodyHtml": "<span><span></span></span>"
74676 }
74677 },
74678 {
74679 "data": "</colgroup><col>",
74680 "errors": [
74681 "(1,11): XXX-undefined-error"
74682 ],
74683 "fragment": {
74684 "name": "colgroup"
74685 },
74686 "document": {
74687 "props": {
74688 "tags": {
74689 "col": true
74690 }
74691 },
74692 "tree": [
74693 {
74694 "tag": "col"
74695 }
74696 ],
74697 "html": "<col>",
74698 "noQuirksBodyHtml": ""
74699 }
74700 },
74701 {
74702 "data": "<a><col>",
74703 "errors": [
74704 "(1,3): XXX-undefined-error"
74705 ],
74706 "fragment": {
74707 "name": "colgroup"
74708 },
74709 "document": {
74710 "props": {
74711 "tags": {
74712 "col": true
74713 }
74714 },
74715 "tree": [
74716 {
74717 "tag": "col"
74718 }
74719 ],
74720 "html": "<col>",
74721 "noQuirksBodyHtml": "<a></a>"
74722 }
74723 },
74724 {
74725 "data": "<caption><a>",
74726 "errors": [
74727 "(1,9): XXX-undefined-error",
74728 "(1,12): unexpected-start-tag-implies-table-voodoo",
74729 "(1,12): eof-in-table"
74730 ],
74731 "fragment": {
74732 "name": "tbody"
74733 },
74734 "document": {
74735 "props": {
74736 "tags": {
74737 "a": true
74738 }
74739 },
74740 "tree": [
74741 {
74742 "tag": "a"
74743 }
74744 ],
74745 "html": "<a></a>",
74746 "noQuirksBodyHtml": "<a></a>"
74747 }
74748 },
74749 {
74750 "data": "<col><a>",
74751 "errors": [
74752 "(1,5): XXX-undefined-error",
74753 "(1,8): unexpected-start-tag-implies-table-voodoo",
74754 "(1,8): eof-in-table"
74755 ],
74756 "fragment": {
74757 "name": "tbody"
74758 },
74759 "document": {
74760 "props": {
74761 "tags": {
74762 "a": true
74763 }
74764 },
74765 "tree": [
74766 {
74767 "tag": "a"
74768 }
74769 ],
74770 "html": "<a></a>",
74771 "noQuirksBodyHtml": "<a></a>"
74772 }
74773 },
74774 {
74775 "data": "<colgroup><a>",
74776 "errors": [
74777 "(1,10): XXX-undefined-error",
74778 "(1,13): unexpected-start-tag-implies-table-voodoo",
74779 "(1,13): eof-in-table"
74780 ],
74781 "fragment": {
74782 "name": "tbody"
74783 },
74784 "document": {
74785 "props": {
74786 "tags": {
74787 "a": true
74788 }
74789 },
74790 "tree": [
74791 {
74792 "tag": "a"
74793 }
74794 ],
74795 "html": "<a></a>",
74796 "noQuirksBodyHtml": "<a></a>"
74797 }
74798 },
74799 {
74800 "data": "<tbody><a>",
74801 "errors": [
74802 "(1,7): XXX-undefined-error",
74803 "(1,10): unexpected-start-tag-implies-table-voodoo",
74804 "(1,10): eof-in-table"
74805 ],
74806 "fragment": {
74807 "name": "tbody"
74808 },
74809 "document": {
74810 "props": {
74811 "tags": {
74812 "a": true
74813 }
74814 },
74815 "tree": [
74816 {
74817 "tag": "a"
74818 }
74819 ],
74820 "html": "<a></a>",
74821 "noQuirksBodyHtml": "<a></a>"
74822 }
74823 },
74824 {
74825 "data": "<tfoot><a>",
74826 "errors": [
74827 "(1,7): XXX-undefined-error",
74828 "(1,10): unexpected-start-tag-implies-table-voodoo",
74829 "(1,10): eof-in-table"
74830 ],
74831 "fragment": {
74832 "name": "tbody"
74833 },
74834 "document": {
74835 "props": {
74836 "tags": {
74837 "a": true
74838 }
74839 },
74840 "tree": [
74841 {
74842 "tag": "a"
74843 }
74844 ],
74845 "html": "<a></a>",
74846 "noQuirksBodyHtml": "<a></a>"
74847 }
74848 },
74849 {
74850 "data": "<thead><a>",
74851 "errors": [
74852 "(1,7): XXX-undefined-error",
74853 "(1,10): unexpected-start-tag-implies-table-voodoo",
74854 "(1,10): eof-in-table"
74855 ],
74856 "fragment": {
74857 "name": "tbody"
74858 },
74859 "document": {
74860 "props": {
74861 "tags": {
74862 "a": true
74863 }
74864 },
74865 "tree": [
74866 {
74867 "tag": "a"
74868 }
74869 ],
74870 "html": "<a></a>",
74871 "noQuirksBodyHtml": "<a></a>"
74872 }
74873 },
74874 {
74875 "data": "</table><a>",
74876 "errors": [
74877 "(1,8): XXX-undefined-error",
74878 "(1,11): unexpected-start-tag-implies-table-voodoo",
74879 "(1,11): eof-in-table"
74880 ],
74881 "fragment": {
74882 "name": "tbody"
74883 },
74884 "document": {
74885 "props": {
74886 "tags": {
74887 "a": true
74888 }
74889 },
74890 "tree": [
74891 {
74892 "tag": "a"
74893 }
74894 ],
74895 "html": "<a></a>",
74896 "noQuirksBodyHtml": "<a></a>"
74897 }
74898 },
74899 {
74900 "data": "<a><tr>",
74901 "errors": [
74902 "(1,3): unexpected-start-tag-implies-table-voodoo"
74903 ],
74904 "fragment": {
74905 "name": "tbody"
74906 },
74907 "document": {
74908 "props": {
74909 "tags": {
74910 "a": true,
74911 "tr": true
74912 }
74913 },
74914 "tree": [
74915 {
74916 "tag": "a"
74917 },
74918 {
74919 "tag": "tr"
74920 }
74921 ],
74922 "html": "<a></a><tr></tr>",
74923 "noQuirksBodyHtml": "<a></a>"
74924 }
74925 },
74926 {
74927 "data": "<a><td>",
74928 "errors": [
74929 "(1,3): unexpected-start-tag-implies-table-voodoo",
74930 "(1,7): unexpected-cell-in-table-body"
74931 ],
74932 "fragment": {
74933 "name": "tbody"
74934 },
74935 "document": {
74936 "props": {
74937 "tags": {
74938 "a": true,
74939 "tr": true,
74940 "td": true
74941 }
74942 },
74943 "tree": [
74944 {
74945 "tag": "a"
74946 },
74947 {
74948 "tag": "tr",
74949 "children": [
74950 {
74951 "tag": "td"
74952 }
74953 ]
74954 }
74955 ],
74956 "html": "<a></a><tr><td></td></tr>",
74957 "noQuirksBodyHtml": "<a></a>"
74958 }
74959 },
74960 {
74961 "data": "<a><td>",
74962 "errors": [
74963 "(1,3): unexpected-start-tag-implies-table-voodoo",
74964 "(1,7): unexpected-cell-in-table-body"
74965 ],
74966 "fragment": {
74967 "name": "tbody"
74968 },
74969 "document": {
74970 "props": {
74971 "tags": {
74972 "a": true,
74973 "tr": true,
74974 "td": true
74975 }
74976 },
74977 "tree": [
74978 {
74979 "tag": "a"
74980 },
74981 {
74982 "tag": "tr",
74983 "children": [
74984 {
74985 "tag": "td"
74986 }
74987 ]
74988 }
74989 ],
74990 "html": "<a></a><tr><td></td></tr>",
74991 "noQuirksBodyHtml": "<a></a>"
74992 }
74993 },
74994 {
74995 "data": "<a><td>",
74996 "errors": [
74997 "(1,3): unexpected-start-tag-implies-table-voodoo",
74998 "(1,7): unexpected-cell-in-table-body"
74999 ],
75000 "fragment": {
75001 "name": "tbody"
75002 },
75003 "document": {
75004 "props": {
75005 "tags": {
75006 "a": true,
75007 "tr": true,
75008 "td": true
75009 }
75010 },
75011 "tree": [
75012 {
75013 "tag": "a"
75014 },
75015 {
75016 "tag": "tr",
75017 "children": [
75018 {
75019 "tag": "td"
75020 }
75021 ]
75022 }
75023 ],
75024 "html": "<a></a><tr><td></td></tr>",
75025 "noQuirksBodyHtml": "<a></a>"
75026 }
75027 },
75028 {
75029 "data": "<td><table><tbody><a><tr>",
75030 "errors": [
75031 "(1,4): unexpected-cell-in-table-body",
75032 "(1,21): unexpected-start-tag-implies-table-voodoo",
75033 "(1,25): eof-in-table"
75034 ],
75035 "fragment": {
75036 "name": "tbody"
75037 },
75038 "document": {
75039 "props": {
75040 "tags": {
75041 "tr": true,
75042 "td": true,
75043 "a": true,
75044 "table": true,
75045 "tbody": true
75046 }
75047 },
75048 "tree": [
75049 {
75050 "tag": "tr",
75051 "children": [
75052 {
75053 "tag": "td",
75054 "children": [
75055 {
75056 "tag": "a"
75057 },
75058 {
75059 "tag": "table",
75060 "children": [
75061 {
75062 "tag": "tbody",
75063 "children": [
75064 {
75065 "tag": "tr"
75066 }
75067 ]
75068 }
75069 ]
75070 }
75071 ]
75072 }
75073 ]
75074 }
75075 ],
75076 "html": "<tr><td><a></a><table><tbody><tr></tr></tbody></table></td></tr>",
75077 "noQuirksBodyHtml": "<a></a><table><tbody><tr></tr></tbody></table>"
75078 }
75079 },
75080 {
75081 "data": "</tr><td>",
75082 "errors": [
75083 "(1,5): XXX-undefined-error"
75084 ],
75085 "fragment": {
75086 "name": "tr"
75087 },
75088 "document": {
75089 "props": {
75090 "tags": {
75091 "td": true
75092 }
75093 },
75094 "tree": [
75095 {
75096 "tag": "td"
75097 }
75098 ],
75099 "html": "<td></td>",
75100 "noQuirksBodyHtml": ""
75101 }
75102 },
75103 {
75104 "data": "<td><table><a><tr></tr><tr>",
75105 "errors": [
75106 "(1,14): unexpected-start-tag-implies-table-voodoo",
75107 "(1,27): eof-in-table"
75108 ],
75109 "fragment": {
75110 "name": "tr"
75111 },
75112 "document": {
75113 "props": {
75114 "tags": {
75115 "td": true,
75116 "a": true,
75117 "table": true,
75118 "tbody": true,
75119 "tr": true
75120 }
75121 },
75122 "tree": [
75123 {
75124 "tag": "td",
75125 "children": [
75126 {
75127 "tag": "a"
75128 },
75129 {
75130 "tag": "table",
75131 "children": [
75132 {
75133 "tag": "tbody",
75134 "children": [
75135 {
75136 "tag": "tr"
75137 },
75138 {
75139 "tag": "tr"
75140 }
75141 ]
75142 }
75143 ]
75144 }
75145 ]
75146 }
75147 ],
75148 "html": "<td><a></a><table><tbody><tr></tr><tr></tr></tbody></table></td>",
75149 "noQuirksBodyHtml": "<a></a><table><tbody><tr></tr><tr></tr></tbody></table>"
75150 }
75151 },
75152 {
75153 "data": "<caption><td>",
75154 "errors": [
75155 "(1,9): XXX-undefined-error"
75156 ],
75157 "fragment": {
75158 "name": "tr"
75159 },
75160 "document": {
75161 "props": {
75162 "tags": {
75163 "td": true
75164 }
75165 },
75166 "tree": [
75167 {
75168 "tag": "td"
75169 }
75170 ],
75171 "html": "<td></td>",
75172 "noQuirksBodyHtml": ""
75173 }
75174 },
75175 {
75176 "data": "<col><td>",
75177 "errors": [
75178 "(1,5): XXX-undefined-error"
75179 ],
75180 "fragment": {
75181 "name": "tr"
75182 },
75183 "document": {
75184 "props": {
75185 "tags": {
75186 "td": true
75187 }
75188 },
75189 "tree": [
75190 {
75191 "tag": "td"
75192 }
75193 ],
75194 "html": "<td></td>",
75195 "noQuirksBodyHtml": ""
75196 }
75197 },
75198 {
75199 "data": "<colgroup><td>",
75200 "errors": [
75201 "(1,10): XXX-undefined-error"
75202 ],
75203 "fragment": {
75204 "name": "tr"
75205 },
75206 "document": {
75207 "props": {
75208 "tags": {
75209 "td": true
75210 }
75211 },
75212 "tree": [
75213 {
75214 "tag": "td"
75215 }
75216 ],
75217 "html": "<td></td>",
75218 "noQuirksBodyHtml": ""
75219 }
75220 },
75221 {
75222 "data": "<tbody><td>",
75223 "errors": [
75224 "(1,7): XXX-undefined-error"
75225 ],
75226 "fragment": {
75227 "name": "tr"
75228 },
75229 "document": {
75230 "props": {
75231 "tags": {
75232 "td": true
75233 }
75234 },
75235 "tree": [
75236 {
75237 "tag": "td"
75238 }
75239 ],
75240 "html": "<td></td>",
75241 "noQuirksBodyHtml": ""
75242 }
75243 },
75244 {
75245 "data": "<tfoot><td>",
75246 "errors": [
75247 "(1,7): XXX-undefined-error"
75248 ],
75249 "fragment": {
75250 "name": "tr"
75251 },
75252 "document": {
75253 "props": {
75254 "tags": {
75255 "td": true
75256 }
75257 },
75258 "tree": [
75259 {
75260 "tag": "td"
75261 }
75262 ],
75263 "html": "<td></td>",
75264 "noQuirksBodyHtml": ""
75265 }
75266 },
75267 {
75268 "data": "<thead><td>",
75269 "errors": [
75270 "(1,7): XXX-undefined-error"
75271 ],
75272 "fragment": {
75273 "name": "tr"
75274 },
75275 "document": {
75276 "props": {
75277 "tags": {
75278 "td": true
75279 }
75280 },
75281 "tree": [
75282 {
75283 "tag": "td"
75284 }
75285 ],
75286 "html": "<td></td>",
75287 "noQuirksBodyHtml": ""
75288 }
75289 },
75290 {
75291 "data": "<tr><td>",
75292 "errors": [
75293 "(1,4): XXX-undefined-error"
75294 ],
75295 "fragment": {
75296 "name": "tr"
75297 },
75298 "document": {
75299 "props": {
75300 "tags": {
75301 "td": true
75302 }
75303 },
75304 "tree": [
75305 {
75306 "tag": "td"
75307 }
75308 ],
75309 "html": "<td></td>",
75310 "noQuirksBodyHtml": ""
75311 }
75312 },
75313 {
75314 "data": "</table><td>",
75315 "errors": [
75316 "(1,8): XXX-undefined-error"
75317 ],
75318 "fragment": {
75319 "name": "tr"
75320 },
75321 "document": {
75322 "props": {
75323 "tags": {
75324 "td": true
75325 }
75326 },
75327 "tree": [
75328 {
75329 "tag": "td"
75330 }
75331 ],
75332 "html": "<td></td>",
75333 "noQuirksBodyHtml": ""
75334 }
75335 },
75336 {
75337 "data": "<td><table></table><td>",
75338 "errors": [],
75339 "fragment": {
75340 "name": "tr"
75341 },
75342 "document": {
75343 "props": {
75344 "tags": {
75345 "td": true,
75346 "table": true
75347 }
75348 },
75349 "tree": [
75350 {
75351 "tag": "td",
75352 "children": [
75353 {
75354 "tag": "table"
75355 }
75356 ]
75357 },
75358 {
75359 "tag": "td"
75360 }
75361 ],
75362 "html": "<td><table></table></td><td></td>",
75363 "noQuirksBodyHtml": "<table></table>"
75364 }
75365 },
75366 {
75367 "data": "<td><table></table><td>",
75368 "errors": [],
75369 "fragment": {
75370 "name": "tr"
75371 },
75372 "document": {
75373 "props": {
75374 "tags": {
75375 "td": true,
75376 "table": true
75377 }
75378 },
75379 "tree": [
75380 {
75381 "tag": "td",
75382 "children": [
75383 {
75384 "tag": "table"
75385 }
75386 ]
75387 },
75388 {
75389 "tag": "td"
75390 }
75391 ],
75392 "html": "<td><table></table></td><td></td>",
75393 "noQuirksBodyHtml": "<table></table>"
75394 }
75395 },
75396 {
75397 "data": "<caption><a>",
75398 "errors": [
75399 "(1,9): XXX-undefined-error",
75400 "(1,12): expected-closing-tag-but-got-eof"
75401 ],
75402 "fragment": {
75403 "name": "td"
75404 },
75405 "document": {
75406 "props": {
75407 "tags": {
75408 "a": true
75409 }
75410 },
75411 "tree": [
75412 {
75413 "tag": "a"
75414 }
75415 ],
75416 "html": "<a></a>",
75417 "noQuirksBodyHtml": "<a></a>"
75418 }
75419 },
75420 {
75421 "data": "<col><a>",
75422 "errors": [
75423 "(1,5): XXX-undefined-error",
75424 "(1,8): expected-closing-tag-but-got-eof"
75425 ],
75426 "fragment": {
75427 "name": "td"
75428 },
75429 "document": {
75430 "props": {
75431 "tags": {
75432 "a": true
75433 }
75434 },
75435 "tree": [
75436 {
75437 "tag": "a"
75438 }
75439 ],
75440 "html": "<a></a>",
75441 "noQuirksBodyHtml": "<a></a>"
75442 }
75443 },
75444 {
75445 "data": "<colgroup><a>",
75446 "errors": [
75447 "(1,10): XXX-undefined-error",
75448 "(1,13): expected-closing-tag-but-got-eof"
75449 ],
75450 "fragment": {
75451 "name": "td"
75452 },
75453 "document": {
75454 "props": {
75455 "tags": {
75456 "a": true
75457 }
75458 },
75459 "tree": [
75460 {
75461 "tag": "a"
75462 }
75463 ],
75464 "html": "<a></a>",
75465 "noQuirksBodyHtml": "<a></a>"
75466 }
75467 },
75468 {
75469 "data": "<tbody><a>",
75470 "errors": [
75471 "(1,7): XXX-undefined-error",
75472 "(1,10): expected-closing-tag-but-got-eof"
75473 ],
75474 "fragment": {
75475 "name": "td"
75476 },
75477 "document": {
75478 "props": {
75479 "tags": {
75480 "a": true
75481 }
75482 },
75483 "tree": [
75484 {
75485 "tag": "a"
75486 }
75487 ],
75488 "html": "<a></a>",
75489 "noQuirksBodyHtml": "<a></a>"
75490 }
75491 },
75492 {
75493 "data": "<tfoot><a>",
75494 "errors": [
75495 "(1,7): XXX-undefined-error",
75496 "(1,10): expected-closing-tag-but-got-eof"
75497 ],
75498 "fragment": {
75499 "name": "td"
75500 },
75501 "document": {
75502 "props": {
75503 "tags": {
75504 "a": true
75505 }
75506 },
75507 "tree": [
75508 {
75509 "tag": "a"
75510 }
75511 ],
75512 "html": "<a></a>",
75513 "noQuirksBodyHtml": "<a></a>"
75514 }
75515 },
75516 {
75517 "data": "<th><a>",
75518 "errors": [
75519 "(1,4): XXX-undefined-error",
75520 "(1,7): expected-closing-tag-but-got-eof"
75521 ],
75522 "fragment": {
75523 "name": "td"
75524 },
75525 "document": {
75526 "props": {
75527 "tags": {
75528 "a": true
75529 }
75530 },
75531 "tree": [
75532 {
75533 "tag": "a"
75534 }
75535 ],
75536 "html": "<a></a>",
75537 "noQuirksBodyHtml": "<a></a>"
75538 }
75539 },
75540 {
75541 "data": "<thead><a>",
75542 "errors": [
75543 "(1,7): XXX-undefined-error",
75544 "(1,10): expected-closing-tag-but-got-eof"
75545 ],
75546 "fragment": {
75547 "name": "td"
75548 },
75549 "document": {
75550 "props": {
75551 "tags": {
75552 "a": true
75553 }
75554 },
75555 "tree": [
75556 {
75557 "tag": "a"
75558 }
75559 ],
75560 "html": "<a></a>",
75561 "noQuirksBodyHtml": "<a></a>"
75562 }
75563 },
75564 {
75565 "data": "<tr><a>",
75566 "errors": [
75567 "(1,4): XXX-undefined-error",
75568 "(1,7): expected-closing-tag-but-got-eof"
75569 ],
75570 "fragment": {
75571 "name": "td"
75572 },
75573 "document": {
75574 "props": {
75575 "tags": {
75576 "a": true
75577 }
75578 },
75579 "tree": [
75580 {
75581 "tag": "a"
75582 }
75583 ],
75584 "html": "<a></a>",
75585 "noQuirksBodyHtml": "<a></a>"
75586 }
75587 },
75588 {
75589 "data": "</table><a>",
75590 "errors": [
75591 "(1,8): XXX-undefined-error",
75592 "(1,11): expected-closing-tag-but-got-eof"
75593 ],
75594 "fragment": {
75595 "name": "td"
75596 },
75597 "document": {
75598 "props": {
75599 "tags": {
75600 "a": true
75601 }
75602 },
75603 "tree": [
75604 {
75605 "tag": "a"
75606 }
75607 ],
75608 "html": "<a></a>",
75609 "noQuirksBodyHtml": "<a></a>"
75610 }
75611 },
75612 {
75613 "data": "</tbody><a>",
75614 "errors": [
75615 "(1,8): XXX-undefined-error",
75616 "(1,11): expected-closing-tag-but-got-eof"
75617 ],
75618 "fragment": {
75619 "name": "td"
75620 },
75621 "document": {
75622 "props": {
75623 "tags": {
75624 "a": true
75625 }
75626 },
75627 "tree": [
75628 {
75629 "tag": "a"
75630 }
75631 ],
75632 "html": "<a></a>",
75633 "noQuirksBodyHtml": "<a></a>"
75634 }
75635 },
75636 {
75637 "data": "</td><a>",
75638 "errors": [
75639 "(1,5): unexpected-end-tag",
75640 "(1,8): expected-closing-tag-but-got-eof"
75641 ],
75642 "fragment": {
75643 "name": "td"
75644 },
75645 "document": {
75646 "props": {
75647 "tags": {
75648 "a": true
75649 }
75650 },
75651 "tree": [
75652 {
75653 "tag": "a"
75654 }
75655 ],
75656 "html": "<a></a>",
75657 "noQuirksBodyHtml": "<a></a>"
75658 }
75659 },
75660 {
75661 "data": "</tfoot><a>",
75662 "errors": [
75663 "(1,8): XXX-undefined-error",
75664 "(1,11): expected-closing-tag-but-got-eof"
75665 ],
75666 "fragment": {
75667 "name": "td"
75668 },
75669 "document": {
75670 "props": {
75671 "tags": {
75672 "a": true
75673 }
75674 },
75675 "tree": [
75676 {
75677 "tag": "a"
75678 }
75679 ],
75680 "html": "<a></a>",
75681 "noQuirksBodyHtml": "<a></a>"
75682 }
75683 },
75684 {
75685 "data": "</thead><a>",
75686 "errors": [
75687 "(1,8): XXX-undefined-error",
75688 "(1,11): expected-closing-tag-but-got-eof"
75689 ],
75690 "fragment": {
75691 "name": "td"
75692 },
75693 "document": {
75694 "props": {
75695 "tags": {
75696 "a": true
75697 }
75698 },
75699 "tree": [
75700 {
75701 "tag": "a"
75702 }
75703 ],
75704 "html": "<a></a>",
75705 "noQuirksBodyHtml": "<a></a>"
75706 }
75707 },
75708 {
75709 "data": "</th><a>",
75710 "errors": [
75711 "(1,5): unexpected-end-tag",
75712 "(1,8): expected-closing-tag-but-got-eof"
75713 ],
75714 "fragment": {
75715 "name": "td"
75716 },
75717 "document": {
75718 "props": {
75719 "tags": {
75720 "a": true
75721 }
75722 },
75723 "tree": [
75724 {
75725 "tag": "a"
75726 }
75727 ],
75728 "html": "<a></a>",
75729 "noQuirksBodyHtml": "<a></a>"
75730 }
75731 },
75732 {
75733 "data": "</tr><a>",
75734 "errors": [
75735 "(1,5): XXX-undefined-error",
75736 "(1,8): expected-closing-tag-but-got-eof"
75737 ],
75738 "fragment": {
75739 "name": "td"
75740 },
75741 "document": {
75742 "props": {
75743 "tags": {
75744 "a": true
75745 }
75746 },
75747 "tree": [
75748 {
75749 "tag": "a"
75750 }
75751 ],
75752 "html": "<a></a>",
75753 "noQuirksBodyHtml": "<a></a>"
75754 }
75755 },
75756 {
75757 "data": "<table><td><td>",
75758 "errors": [
75759 "(1,11): unexpected-cell-in-table-body",
75760 "(1,15): expected-closing-tag-but-got-eof"
75761 ],
75762 "fragment": {
75763 "name": "td"
75764 },
75765 "document": {
75766 "props": {
75767 "tags": {
75768 "table": true,
75769 "tbody": true,
75770 "tr": true,
75771 "td": true
75772 }
75773 },
75774 "tree": [
75775 {
75776 "tag": "table",
75777 "children": [
75778 {
75779 "tag": "tbody",
75780 "children": [
75781 {
75782 "tag": "tr",
75783 "children": [
75784 {
75785 "tag": "td"
75786 },
75787 {
75788 "tag": "td"
75789 }
75790 ]
75791 }
75792 ]
75793 }
75794 ]
75795 }
75796 ],
75797 "html": "<table><tbody><tr><td></td><td></td></tr></tbody></table>",
75798 "noQuirksBodyHtml": "<table><tbody><tr><td></td><td></td></tr></tbody></table>"
75799 }
75800 },
75801 {
75802 "data": "</select><option>",
75803 "errors": [
75804 "(1,9): XXX-undefined-error"
75805 ],
75806 "fragment": {
75807 "name": "select"
75808 },
75809 "document": {
75810 "props": {
75811 "tags": {
75812 "option": true
75813 }
75814 },
75815 "tree": [
75816 {
75817 "tag": "option"
75818 }
75819 ],
75820 "html": "<option></option>",
75821 "noQuirksBodyHtml": "<option></option>"
75822 }
75823 },
75824 {
75825 "data": "<input><option>",
75826 "errors": [
75827 "(1,7): unexpected-input-in-select"
75828 ],
75829 "fragment": {
75830 "name": "select"
75831 },
75832 "document": {
75833 "props": {
75834 "tags": {
75835 "option": true
75836 }
75837 },
75838 "tree": [
75839 {
75840 "tag": "option"
75841 }
75842 ],
75843 "html": "<option></option>",
75844 "noQuirksBodyHtml": "<input><option></option>"
75845 }
75846 },
75847 {
75848 "data": "<keygen><option>",
75849 "errors": [
75850 "(1,8): unexpected-input-in-select"
75851 ],
75852 "fragment": {
75853 "name": "select"
75854 },
75855 "document": {
75856 "props": {
75857 "tags": {
75858 "option": true
75859 }
75860 },
75861 "tree": [
75862 {
75863 "tag": "option"
75864 }
75865 ],
75866 "html": "<option></option>",
75867 "noQuirksBodyHtml": "<keygen><option></option>"
75868 }
75869 },
75870 {
75871 "data": "<textarea><option>",
75872 "errors": [
75873 "(1,10): unexpected-input-in-select"
75874 ],
75875 "fragment": {
75876 "name": "select"
75877 },
75878 "document": {
75879 "props": {
75880 "tags": {
75881 "option": true
75882 }
75883 },
75884 "tree": [
75885 {
75886 "tag": "option"
75887 }
75888 ],
75889 "html": "<option></option>",
75890 "noQuirksBodyHtml": "<textarea>&lt;option&gt;</textarea>"
75891 }
75892 },
75893 {
75894 "data": "</html><!--abc-->",
75895 "errors": [
75896 "(1,7): unexpected-end-tag-after-body-innerhtml"
75897 ],
75898 "fragment": {
75899 "name": "html"
75900 },
75901 "document": {
75902 "props": {
75903 "tags": {
75904 "head": true,
75905 "body": true
75906 },
75907 "comment": true
75908 },
75909 "tree": [
75910 {
75911 "tag": "head"
75912 },
75913 {
75914 "tag": "body"
75915 },
75916 {
75917 "comment": "abc"
75918 }
75919 ],
75920 "html": "<head></head><body></body><!--abc-->",
75921 "noQuirksBodyHtml": "<!--abc-->"
75922 }
75923 },
75924 {
75925 "data": "</frameset><frame>",
75926 "errors": [
75927 "(1,11): unexpected-frameset-in-frameset-innerhtml"
75928 ],
75929 "fragment": {
75930 "name": "frameset"
75931 },
75932 "document": {
75933 "props": {
75934 "tags": {
75935 "frame": true
75936 }
75937 },
75938 "tree": [
75939 {
75940 "tag": "frame"
75941 }
75942 ],
75943 "html": "<frame>",
75944 "noQuirksBodyHtml": ""
75945 }
75946 },
75947 {
75948 "data": "",
75949 "errors": [],
75950 "fragment": {
75951 "name": "html"
75952 },
75953 "document": {
75954 "props": {
75955 "tags": {
75956 "head": true,
75957 "body": true
75958 }
75959 },
75960 "tree": [
75961 {
75962 "tag": "head"
75963 },
75964 {
75965 "tag": "body"
75966 }
75967 ],
75968 "html": "<head></head><body></body>",
75969 "noQuirksBodyHtml": ""
75970 }
75971 }
75972 ],
75973 "tricky01.dat": [
75974 {
75975 "data": "<b><p>Bold </b> Not bold</p>\nAlso not bold.",
75976 "errors": [
75977 "(1,3): expected-doctype-but-got-start-tag",
75978 "(1,15): adoption-agency-1.3"
75979 ],
75980 "document": {
75981 "props": {
75982 "tags": {
75983 "html": true,
75984 "head": true,
75985 "body": true,
75986 "b": true,
75987 "p": true
75988 }
75989 },
75990 "tree": [
75991 {
75992 "tag": "html",
75993 "children": [
75994 {
75995 "tag": "head"
75996 },
75997 {
75998 "tag": "body",
75999 "children": [
76000 {
76001 "tag": "b"
76002 },
76003 {
76004 "tag": "p",
76005 "children": [
76006 {
76007 "tag": "b",
76008 "children": [
76009 {
76010 "text": "Bold "
76011 }
76012 ]
76013 },
76014 {
76015 "text": " Not bold"
76016 }
76017 ]
76018 },
76019 {
76020 "text": "\nAlso not bold."
76021 }
76022 ]
76023 }
76024 ]
76025 }
76026 ],
76027 "html": "<html><head></head><body><b></b><p><b>Bold </b> Not bold</p>\nAlso not bold.</body></html>",
76028 "noQuirksBodyHtml": "<b></b><p><b>Bold </b> Not bold</p>\nAlso not bold."
76029 }
76030 },
76031 {
76032 "data": "<html>\n<font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain\n<p>I should not be red. <font color=red>Red. <i>Italic and red.</p>\n<p>Italic and red. </i> Red.</font> I should not be red.</p>\n<b>Bold <i>Bold and italic</b> Only Italic </i> Plain",
76033 "errors": [
76034 "(1,6): expected-doctype-but-got-start-tag",
76035 "(2,58): adoption-agency-1.3",
76036 "(3,67): unexpected-end-tag",
76037 "(4,23): adoption-agency-1.3",
76038 "(4,35): adoption-agency-1.3",
76039 "(5,30): adoption-agency-1.3"
76040 ],
76041 "document": {
76042 "props": {
76043 "tags": {
76044 "html": true,
76045 "head": true,
76046 "body": true,
76047 "font": true,
76048 "i": true,
76049 "p": true,
76050 "b": true
76051 }
76052 },
76053 "tree": [
76054 {
76055 "tag": "html",
76056 "children": [
76057 {
76058 "tag": "head"
76059 },
76060 {
76061 "tag": "body",
76062 "children": [
76063 {
76064 "tag": "font",
76065 "attrs": [
76066 {
76067 "name": "color",
76068 "value": "red"
76069 }
76070 ],
76071 "children": [
76072 {
76073 "tag": "i",
76074 "children": [
76075 {
76076 "text": "Italic and Red"
76077 }
76078 ]
76079 }
76080 ]
76081 },
76082 {
76083 "tag": "i",
76084 "children": [
76085 {
76086 "tag": "p",
76087 "children": [
76088 {
76089 "tag": "font",
76090 "attrs": [
76091 {
76092 "name": "color",
76093 "value": "red"
76094 }
76095 ],
76096 "children": [
76097 {
76098 "text": "Italic and Red "
76099 }
76100 ]
76101 },
76102 {
76103 "text": " Just italic."
76104 }
76105 ]
76106 },
76107 {
76108 "text": " Italic only."
76109 }
76110 ]
76111 },
76112 {
76113 "text": " Plain\n"
76114 },
76115 {
76116 "tag": "p",
76117 "children": [
76118 {
76119 "text": "I should not be red. "
76120 },
76121 {
76122 "tag": "font",
76123 "attrs": [
76124 {
76125 "name": "color",
76126 "value": "red"
76127 }
76128 ],
76129 "children": [
76130 {
76131 "text": "Red. "
76132 },
76133 {
76134 "tag": "i",
76135 "children": [
76136 {
76137 "text": "Italic and red."
76138 }
76139 ]
76140 }
76141 ]
76142 }
76143 ]
76144 },
76145 {
76146 "tag": "font",
76147 "attrs": [
76148 {
76149 "name": "color",
76150 "value": "red"
76151 }
76152 ],
76153 "children": [
76154 {
76155 "tag": "i",
76156 "children": [
76157 {
76158 "text": "\n"
76159 }
76160 ]
76161 }
76162 ]
76163 },
76164 {
76165 "tag": "p",
76166 "children": [
76167 {
76168 "tag": "font",
76169 "attrs": [
76170 {
76171 "name": "color",
76172 "value": "red"
76173 }
76174 ],
76175 "children": [
76176 {
76177 "tag": "i",
76178 "children": [
76179 {
76180 "text": "Italic and red. "
76181 }
76182 ]
76183 },
76184 {
76185 "text": " Red."
76186 }
76187 ]
76188 },
76189 {
76190 "text": " I should not be red."
76191 }
76192 ]
76193 },
76194 {
76195 "text": "\n"
76196 },
76197 {
76198 "tag": "b",
76199 "children": [
76200 {
76201 "text": "Bold "
76202 },
76203 {
76204 "tag": "i",
76205 "children": [
76206 {
76207 "text": "Bold and italic"
76208 }
76209 ]
76210 }
76211 ]
76212 },
76213 {
76214 "tag": "i",
76215 "children": [
76216 {
76217 "text": " Only Italic "
76218 }
76219 ]
76220 },
76221 {
76222 "text": " Plain"
76223 }
76224 ]
76225 }
76226 ]
76227 }
76228 ],
76229 "html": "<html><head></head><body><font color=\"red\"><i>Italic and Red</i></font><i><p><font color=\"red\">Italic and Red </font> Just italic.</p> Italic only.</i> Plain\n<p>I should not be red. <font color=\"red\">Red. <i>Italic and red.</i></font></p><font color=\"red\"><i>\n</i></font><p><font color=\"red\"><i>Italic and red. </i> Red.</font> I should not be red.</p>\n<b>Bold <i>Bold and italic</i></b><i> Only Italic </i> Plain</body></html>",
76230 "noQuirksBodyHtml": "\n<font color=\"red\"><i>Italic and Red</i></font><i><p><font color=\"red\">Italic and Red </font> Just italic.</p> Italic only.</i> Plain\n<p>I should not be red. <font color=\"red\">Red. <i>Italic and red.</i></font></p><font color=\"red\"><i>\n</i></font><p><font color=\"red\"><i>Italic and red. </i> Red.</font> I should not be red.</p>\n<b>Bold <i>Bold and italic</i></b><i> Only Italic </i> Plain"
76231 }
76232 },
76233 {
76234 "data": "<html><body>\n<p><font size=\"7\">First paragraph.</p>\n<p>Second paragraph.</p></font>\n<b><p><i>Bold and Italic</b> Italic</p>",
76235 "errors": [
76236 "(1,6): expected-doctype-but-got-start-tag",
76237 "(2,38): unexpected-end-tag",
76238 "(4,28): adoption-agency-1.3",
76239 "(4,28): adoption-agency-1.3",
76240 "(4,39): unexpected-end-tag"
76241 ],
76242 "document": {
76243 "props": {
76244 "tags": {
76245 "html": true,
76246 "head": true,
76247 "body": true,
76248 "p": true,
76249 "font": true,
76250 "b": true,
76251 "i": true
76252 }
76253 },
76254 "tree": [
76255 {
76256 "tag": "html",
76257 "children": [
76258 {
76259 "tag": "head"
76260 },
76261 {
76262 "tag": "body",
76263 "children": [
76264 {
76265 "text": "\n"
76266 },
76267 {
76268 "tag": "p",
76269 "children": [
76270 {
76271 "tag": "font",
76272 "attrs": [
76273 {
76274 "name": "size",
76275 "value": "7"
76276 }
76277 ],
76278 "children": [
76279 {
76280 "text": "First paragraph."
76281 }
76282 ]
76283 }
76284 ]
76285 },
76286 {
76287 "tag": "font",
76288 "attrs": [
76289 {
76290 "name": "size",
76291 "value": "7"
76292 }
76293 ],
76294 "children": [
76295 {
76296 "text": "\n"
76297 },
76298 {
76299 "tag": "p",
76300 "children": [
76301 {
76302 "text": "Second paragraph."
76303 }
76304 ]
76305 }
76306 ]
76307 },
76308 {
76309 "text": "\n"
76310 },
76311 {
76312 "tag": "b"
76313 },
76314 {
76315 "tag": "p",
76316 "children": [
76317 {
76318 "tag": "b",
76319 "children": [
76320 {
76321 "tag": "i",
76322 "children": [
76323 {
76324 "text": "Bold and Italic"
76325 }
76326 ]
76327 }
76328 ]
76329 },
76330 {
76331 "tag": "i",
76332 "children": [
76333 {
76334 "text": " Italic"
76335 }
76336 ]
76337 }
76338 ]
76339 }
76340 ]
76341 }
76342 ]
76343 }
76344 ],
76345 "html": "<html><head></head><body>\n<p><font size=\"7\">First paragraph.</font></p><font size=\"7\">\n<p>Second paragraph.</p></font>\n<b></b><p><b><i>Bold and Italic</i></b><i> Italic</i></p></body></html>",
76346 "noQuirksBodyHtml": "\n<p><font size=\"7\">First paragraph.</font></p><font size=\"7\">\n<p>Second paragraph.</p></font>\n<b></b><p><b><i>Bold and Italic</i></b><i> Italic</i></p>"
76347 }
76348 },
76349 {
76350 "data": "<html>\n<dl>\n<dt><b>Boo\n<dd>Goo?\n</dl>\n</html>",
76351 "errors": [
76352 "(1,6): expected-doctype-but-got-start-tag",
76353 "(4,4): end-tag-too-early",
76354 "(5,5): end-tag-too-early",
76355 "(6,7): expected-one-end-tag-but-got-another"
76356 ],
76357 "document": {
76358 "props": {
76359 "tags": {
76360 "html": true,
76361 "head": true,
76362 "body": true,
76363 "dl": true,
76364 "dt": true,
76365 "b": true,
76366 "dd": true
76367 }
76368 },
76369 "tree": [
76370 {
76371 "tag": "html",
76372 "children": [
76373 {
76374 "tag": "head"
76375 },
76376 {
76377 "tag": "body",
76378 "children": [
76379 {
76380 "tag": "dl",
76381 "children": [
76382 {
76383 "text": "\n"
76384 },
76385 {
76386 "tag": "dt",
76387 "children": [
76388 {
76389 "tag": "b",
76390 "children": [
76391 {
76392 "text": "Boo\n"
76393 }
76394 ]
76395 }
76396 ]
76397 },
76398 {
76399 "tag": "dd",
76400 "children": [
76401 {
76402 "tag": "b",
76403 "children": [
76404 {
76405 "text": "Goo?\n"
76406 }
76407 ]
76408 }
76409 ]
76410 }
76411 ]
76412 },
76413 {
76414 "tag": "b",
76415 "children": [
76416 {
76417 "text": "\n"
76418 }
76419 ]
76420 }
76421 ]
76422 }
76423 ]
76424 }
76425 ],
76426 "html": "<html><head></head><body><dl>\n<dt><b>Boo\n</b></dt><dd><b>Goo?\n</b></dd></dl><b>\n</b></body></html>",
76427 "noQuirksBodyHtml": "\n<dl>\n<dt><b>Boo\n</b></dt><dd><b>Goo?\n</b></dd></dl><b>\n</b>"
76428 }
76429 },
76430 {
76431 "data": "<html><body>\n<label><a><div>Hello<div>World</div></a></label> \n</body></html>",
76432 "errors": [
76433 "(1,6): expected-doctype-but-got-start-tag",
76434 "(2,40): adoption-agency-1.3",
76435 "(2,48): unexpected-end-tag",
76436 "(3,7): expected-one-end-tag-but-got-another"
76437 ],
76438 "document": {
76439 "props": {
76440 "tags": {
76441 "html": true,
76442 "head": true,
76443 "body": true,
76444 "label": true,
76445 "a": true,
76446 "div": true
76447 }
76448 },
76449 "tree": [
76450 {
76451 "tag": "html",
76452 "children": [
76453 {
76454 "tag": "head"
76455 },
76456 {
76457 "tag": "body",
76458 "children": [
76459 {
76460 "text": "\n"
76461 },
76462 {
76463 "tag": "label",
76464 "children": [
76465 {
76466 "tag": "a"
76467 },
76468 {
76469 "tag": "div",
76470 "children": [
76471 {
76472 "tag": "a",
76473 "children": [
76474 {
76475 "text": "Hello"
76476 },
76477 {
76478 "tag": "div",
76479 "children": [
76480 {
76481 "text": "World"
76482 }
76483 ]
76484 }
76485 ]
76486 },
76487 {
76488 "text": " \n"
76489 }
76490 ]
76491 }
76492 ]
76493 }
76494 ]
76495 }
76496 ]
76497 }
76498 ],
76499 "html": "<html><head></head><body>\n<label><a></a><div><a>Hello<div>World</div></a> \n</div></label></body></html>",
76500 "noQuirksBodyHtml": "\n<label><a></a><div><a>Hello<div>World</div></a> \n</div></label>"
76501 }
76502 },
76503 {
76504 "data": "<table><center> <font>a</center> <img> <tr><td> </td> </tr> </table>",
76505 "errors": [
76506 "(1,7): expected-doctype-but-got-start-tag",
76507 "(1,15): foster-parenting-start-tag",
76508 "(1,16): foster-parenting-character",
76509 "(1,22): foster-parenting-start-tag",
76510 "(1,23): foster-parenting-character",
76511 "(1,32): foster-parenting-end-tag",
76512 "(1,32): end-tag-too-early",
76513 "(1,33): foster-parenting-character",
76514 "(1,38): foster-parenting-start-tag"
76515 ],
76516 "document": {
76517 "props": {
76518 "tags": {
76519 "html": true,
76520 "head": true,
76521 "body": true,
76522 "center": true,
76523 "font": true,
76524 "img": true,
76525 "table": true,
76526 "tbody": true,
76527 "tr": true,
76528 "td": true
76529 }
76530 },
76531 "tree": [
76532 {
76533 "tag": "html",
76534 "children": [
76535 {
76536 "tag": "head"
76537 },
76538 {
76539 "tag": "body",
76540 "children": [
76541 {
76542 "tag": "center",
76543 "children": [
76544 {
76545 "text": " "
76546 },
76547 {
76548 "tag": "font",
76549 "children": [
76550 {
76551 "text": "a"
76552 }
76553 ]
76554 }
76555 ]
76556 },
76557 {
76558 "tag": "font",
76559 "children": [
76560 {
76561 "tag": "img"
76562 },
76563 {
76564 "text": " "
76565 }
76566 ]
76567 },
76568 {
76569 "tag": "table",
76570 "children": [
76571 {
76572 "text": " "
76573 },
76574 {
76575 "tag": "tbody",
76576 "children": [
76577 {
76578 "tag": "tr",
76579 "children": [
76580 {
76581 "tag": "td",
76582 "children": [
76583 {
76584 "text": " "
76585 }
76586 ]
76587 },
76588 {
76589 "text": " "
76590 }
76591 ]
76592 },
76593 {
76594 "text": " "
76595 }
76596 ]
76597 }
76598 ]
76599 }
76600 ]
76601 }
76602 ]
76603 }
76604 ],
76605 "html": "<html><head></head><body><center> <font>a</font></center><font><img> </font><table> <tbody><tr><td> </td> </tr> </tbody></table></body></html>",
76606 "noQuirksBodyHtml": "<center> <font>a</font></center><font><img> </font><table> <tbody><tr><td> </td> </tr> </tbody></table>"
76607 }
76608 },
76609 {
76610 "data": "<table><tr><p><a><p>You should see this text.",
76611 "errors": [
76612 "(1,7): expected-doctype-but-got-start-tag",
76613 "(1,14): unexpected-start-tag-implies-table-voodoo",
76614 "(1,17): unexpected-start-tag-implies-table-voodoo",
76615 "(1,20): unexpected-start-tag-implies-table-voodoo",
76616 "(1,20): closing-non-current-p-element",
76617 "(1,21): foster-parenting-character",
76618 "(1,22): foster-parenting-character",
76619 "(1,23): foster-parenting-character",
76620 "(1,24): foster-parenting-character",
76621 "(1,25): foster-parenting-character",
76622 "(1,26): foster-parenting-character",
76623 "(1,27): foster-parenting-character",
76624 "(1,28): foster-parenting-character",
76625 "(1,29): foster-parenting-character",
76626 "(1,30): foster-parenting-character",
76627 "(1,31): foster-parenting-character",
76628 "(1,32): foster-parenting-character",
76629 "(1,33): foster-parenting-character",
76630 "(1,34): foster-parenting-character",
76631 "(1,35): foster-parenting-character",
76632 "(1,36): foster-parenting-character",
76633 "(1,37): foster-parenting-character",
76634 "(1,38): foster-parenting-character",
76635 "(1,39): foster-parenting-character",
76636 "(1,40): foster-parenting-character",
76637 "(1,41): foster-parenting-character",
76638 "(1,42): foster-parenting-character",
76639 "(1,43): foster-parenting-character",
76640 "(1,44): foster-parenting-character",
76641 "(1,45): foster-parenting-character",
76642 "(1,45): eof-in-table"
76643 ],
76644 "document": {
76645 "props": {
76646 "tags": {
76647 "html": true,
76648 "head": true,
76649 "body": true,
76650 "p": true,
76651 "a": true,
76652 "table": true,
76653 "tbody": true,
76654 "tr": true
76655 }
76656 },
76657 "tree": [
76658 {
76659 "tag": "html",
76660 "children": [
76661 {
76662 "tag": "head"
76663 },
76664 {
76665 "tag": "body",
76666 "children": [
76667 {
76668 "tag": "p",
76669 "children": [
76670 {
76671 "tag": "a"
76672 }
76673 ]
76674 },
76675 {
76676 "tag": "p",
76677 "children": [
76678 {
76679 "tag": "a",
76680 "children": [
76681 {
76682 "text": "You should see this text."
76683 }
76684 ]
76685 }
76686 ]
76687 },
76688 {
76689 "tag": "table",
76690 "children": [
76691 {
76692 "tag": "tbody",
76693 "children": [
76694 {
76695 "tag": "tr"
76696 }
76697 ]
76698 }
76699 ]
76700 }
76701 ]
76702 }
76703 ]
76704 }
76705 ],
76706 "html": "<html><head></head><body><p><a></a></p><p><a>You should see this text.</a></p><table><tbody><tr></tr></tbody></table></body></html>",
76707 "noQuirksBodyHtml": "<p><a></a></p><p><a>You should see this text.</a></p><table><tbody><tr></tr></tbody></table>"
76708 }
76709 },
76710 {
76711 "data": "<TABLE>\n<TR>\n<CENTER><CENTER><TD></TD></TR><TR>\n<FONT>\n<TABLE><tr></tr></TABLE>\n</P>\n<a></font><font></a>\nThis page contains an insanely badly-nested tag sequence.",
76712 "errors": [
76713 "(1,7): expected-doctype-but-got-start-tag",
76714 "(3,8): unexpected-start-tag-implies-table-voodoo",
76715 "(3,16): unexpected-start-tag-implies-table-voodoo",
76716 "(4,6): unexpected-start-tag-implies-table-voodoo",
76717 "(4,6): unexpected character token in table (the newline)",
76718 "(5,7): unexpected-start-tag-implies-end-tag",
76719 "(6,4): unexpected p end tag",
76720 "(7,10): adoption-agency-1.3",
76721 "(7,20): adoption-agency-1.3",
76722 "(8,57): expected-closing-tag-but-got-eof"
76723 ],
76724 "document": {
76725 "props": {
76726 "tags": {
76727 "html": true,
76728 "head": true,
76729 "body": true,
76730 "center": true,
76731 "font": true,
76732 "table": true,
76733 "tbody": true,
76734 "tr": true,
76735 "td": true,
76736 "p": true,
76737 "a": true
76738 }
76739 },
76740 "tree": [
76741 {
76742 "tag": "html",
76743 "children": [
76744 {
76745 "tag": "head"
76746 },
76747 {
76748 "tag": "body",
76749 "children": [
76750 {
76751 "tag": "center",
76752 "children": [
76753 {
76754 "tag": "center"
76755 }
76756 ]
76757 },
76758 {
76759 "tag": "font",
76760 "children": [
76761 {
76762 "text": "\n"
76763 }
76764 ]
76765 },
76766 {
76767 "tag": "table",
76768 "children": [
76769 {
76770 "text": "\n"
76771 },
76772 {
76773 "tag": "tbody",
76774 "children": [
76775 {
76776 "tag": "tr",
76777 "children": [
76778 {
76779 "text": "\n"
76780 },
76781 {
76782 "tag": "td"
76783 }
76784 ]
76785 },
76786 {
76787 "tag": "tr",
76788 "children": [
76789 {
76790 "text": "\n"
76791 }
76792 ]
76793 }
76794 ]
76795 }
76796 ]
76797 },
76798 {
76799 "tag": "table",
76800 "children": [
76801 {
76802 "tag": "tbody",
76803 "children": [
76804 {
76805 "tag": "tr"
76806 }
76807 ]
76808 }
76809 ]
76810 },
76811 {
76812 "tag": "font",
76813 "children": [
76814 {
76815 "text": "\n"
76816 },
76817 {
76818 "tag": "p"
76819 },
76820 {
76821 "text": "\n"
76822 },
76823 {
76824 "tag": "a"
76825 }
76826 ]
76827 },
76828 {
76829 "tag": "a",
76830 "children": [
76831 {
76832 "tag": "font"
76833 }
76834 ]
76835 },
76836 {
76837 "tag": "font",
76838 "children": [
76839 {
76840 "text": "\nThis page contains an insanely badly-nested tag sequence."
76841 }
76842 ]
76843 }
76844 ]
76845 }
76846 ]
76847 }
76848 ],
76849 "html": "<html><head></head><body><center><center></center></center><font>\n</font><table>\n<tbody><tr>\n<td></td></tr><tr>\n</tr></tbody></table><table><tbody><tr></tr></tbody></table><font>\n<p></p>\n<a></a></font><a><font></font></a><font>\nThis page contains an insanely badly-nested tag sequence.</font></body></html>",
76850 "noQuirksBodyHtml": "<center><center></center></center><font>\n</font><table>\n<tbody><tr>\n<td></td></tr><tr>\n</tr></tbody></table><table><tbody><tr></tr></tbody></table><font>\n<p></p>\n<a></a></font><a><font></font></a><font>\nThis page contains an insanely badly-nested tag sequence.</font>"
76851 }
76852 },
76853 {
76854 "data": "<html>\n<body>\n<b><nobr><div>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the\nnobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>\n</body>\n</html>",
76855 "errors": [
76856 "(1,6): expected-doctype-but-got-start-tag",
76857 "(3,56): adoption-agency-1.3",
76858 "(4,58): adoption-agency-1.3",
76859 "(5,7): expected-one-end-tag-but-got-another"
76860 ],
76861 "document": {
76862 "props": {
76863 "tags": {
76864 "html": true,
76865 "head": true,
76866 "body": true,
76867 "b": true,
76868 "nobr": true,
76869 "div": true,
76870 "pre": true
76871 }
76872 },
76873 "tree": [
76874 {
76875 "tag": "html",
76876 "children": [
76877 {
76878 "tag": "head"
76879 },
76880 {
76881 "tag": "body",
76882 "children": [
76883 {
76884 "text": "\n"
76885 },
76886 {
76887 "tag": "b",
76888 "children": [
76889 {
76890 "tag": "nobr"
76891 }
76892 ]
76893 },
76894 {
76895 "tag": "div",
76896 "children": [
76897 {
76898 "tag": "b",
76899 "children": [
76900 {
76901 "tag": "nobr",
76902 "children": [
76903 {
76904 "text": "This text is in a div inside a nobr"
76905 }
76906 ]
76907 },
76908 {
76909 "text": "More text that should not be in the nobr, i.e., the\nnobr should have closed the div inside it implicitly. "
76910 }
76911 ]
76912 },
76913 {
76914 "tag": "pre",
76915 "children": [
76916 {
76917 "text": "A pre tag outside everything else."
76918 }
76919 ]
76920 },
76921 {
76922 "text": "\n\n"
76923 }
76924 ]
76925 }
76926 ]
76927 }
76928 ]
76929 }
76930 ],
76931 "html": "<html><head></head><body>\n<b><nobr></nobr></b><div><b><nobr>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the\nnobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>\n\n</div></body></html>",
76932 "noQuirksBodyHtml": "\n\n<b><nobr></nobr></b><div><b><nobr>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the\nnobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>\n\n</div>"
76933 }
76934 }
76935 ],
76936 "webkit01.dat": [
76937 {
76938 "data": "Test",
76939 "errors": [
76940 "(1,4): expected-doctype-but-got-chars"
76941 ],
76942 "document": {
76943 "props": {
76944 "tags": {
76945 "html": true,
76946 "head": true,
76947 "body": true
76948 }
76949 },
76950 "tree": [
76951 {
76952 "tag": "html",
76953 "children": [
76954 {
76955 "tag": "head"
76956 },
76957 {
76958 "tag": "body",
76959 "children": [
76960 {
76961 "text": "Test"
76962 }
76963 ]
76964 }
76965 ]
76966 }
76967 ],
76968 "html": "<html><head></head><body>Test</body></html>",
76969 "noQuirksBodyHtml": "Test"
76970 }
76971 },
76972 {
76973 "data": "<div></div>",
76974 "errors": [
76975 "(1,5): expected-doctype-but-got-start-tag"
76976 ],
76977 "document": {
76978 "props": {
76979 "tags": {
76980 "html": true,
76981 "head": true,
76982 "body": true,
76983 "div": true
76984 }
76985 },
76986 "tree": [
76987 {
76988 "tag": "html",
76989 "children": [
76990 {
76991 "tag": "head"
76992 },
76993 {
76994 "tag": "body",
76995 "children": [
76996 {
76997 "tag": "div"
76998 }
76999 ]
77000 }
77001 ]
77002 }
77003 ],
77004 "html": "<html><head></head><body><div></div></body></html>",
77005 "noQuirksBodyHtml": "<div></div>"
77006 }
77007 },
77008 {
77009 "data": "<div>Test</div>",
77010 "errors": [
77011 "(1,5): expected-doctype-but-got-start-tag"
77012 ],
77013 "document": {
77014 "props": {
77015 "tags": {
77016 "html": true,
77017 "head": true,
77018 "body": true,
77019 "div": true
77020 }
77021 },
77022 "tree": [
77023 {
77024 "tag": "html",
77025 "children": [
77026 {
77027 "tag": "head"
77028 },
77029 {
77030 "tag": "body",
77031 "children": [
77032 {
77033 "tag": "div",
77034 "children": [
77035 {
77036 "text": "Test"
77037 }
77038 ]
77039 }
77040 ]
77041 }
77042 ]
77043 }
77044 ],
77045 "html": "<html><head></head><body><div>Test</div></body></html>",
77046 "noQuirksBodyHtml": "<div>Test</div>"
77047 }
77048 },
77049 {
77050 "data": "<di",
77051 "errors": [
77052 "(1,3): eof-in-tag-name",
77053 "(1,3): expected-doctype-but-got-eof"
77054 ],
77055 "document": {
77056 "props": {
77057 "tags": {
77058 "html": true,
77059 "head": true,
77060 "body": true
77061 }
77062 },
77063 "tree": [
77064 {
77065 "tag": "html",
77066 "children": [
77067 {
77068 "tag": "head"
77069 },
77070 {
77071 "tag": "body"
77072 }
77073 ]
77074 }
77075 ],
77076 "html": "<html><head></head><body></body></html>",
77077 "noQuirksBodyHtml": ""
77078 }
77079 },
77080 {
77081 "data": "<div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div>",
77082 "errors": [
77083 "(1,5): expected-doctype-but-got-start-tag"
77084 ],
77085 "document": {
77086 "props": {
77087 "tags": {
77088 "html": true,
77089 "head": true,
77090 "body": true,
77091 "div": true,
77092 "script": true
77093 },
77094 "no_escape": true
77095 },
77096 "tree": [
77097 {
77098 "tag": "html",
77099 "children": [
77100 {
77101 "tag": "head"
77102 },
77103 {
77104 "tag": "body",
77105 "children": [
77106 {
77107 "tag": "div",
77108 "children": [
77109 {
77110 "text": "Hello"
77111 }
77112 ]
77113 },
77114 {
77115 "text": "\n"
77116 },
77117 {
77118 "tag": "script",
77119 "children": [
77120 {
77121 "text": "\nconsole.log(\"PASS\");\n",
77122 "no_escape": true
77123 }
77124 ]
77125 },
77126 {
77127 "text": "\n"
77128 },
77129 {
77130 "tag": "div",
77131 "children": [
77132 {
77133 "text": "Bye"
77134 }
77135 ]
77136 }
77137 ]
77138 }
77139 ]
77140 }
77141 ],
77142 "html": "<html><head></head><body><div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div></body></html>",
77143 "noQuirksBodyHtml": "<div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div>"
77144 }
77145 },
77146 {
77147 "data": "<div foo=\"bar\">Hello</div>",
77148 "errors": [
77149 "(1,15): expected-doctype-but-got-start-tag"
77150 ],
77151 "document": {
77152 "props": {
77153 "tags": {
77154 "html": true,
77155 "head": true,
77156 "body": true,
77157 "div": true
77158 }
77159 },
77160 "tree": [
77161 {
77162 "tag": "html",
77163 "children": [
77164 {
77165 "tag": "head"
77166 },
77167 {
77168 "tag": "body",
77169 "children": [
77170 {
77171 "tag": "div",
77172 "attrs": [
77173 {
77174 "name": "foo",
77175 "value": "bar"
77176 }
77177 ],
77178 "children": [
77179 {
77180 "text": "Hello"
77181 }
77182 ]
77183 }
77184 ]
77185 }
77186 ]
77187 }
77188 ],
77189 "html": "<html><head></head><body><div foo=\"bar\">Hello</div></body></html>",
77190 "noQuirksBodyHtml": "<div foo=\"bar\">Hello</div>"
77191 }
77192 },
77193 {
77194 "data": "<div>Hello</div>\n<script>\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n</script>\n<div>Bye</div>",
77195 "errors": [
77196 "(1,5): expected-doctype-but-got-start-tag"
77197 ],
77198 "document": {
77199 "props": {
77200 "tags": {
77201 "html": true,
77202 "head": true,
77203 "body": true,
77204 "div": true,
77205 "script": true
77206 },
77207 "no_escape": true
77208 },
77209 "tree": [
77210 {
77211 "tag": "html",
77212 "children": [
77213 {
77214 "tag": "head"
77215 },
77216 {
77217 "tag": "body",
77218 "children": [
77219 {
77220 "tag": "div",
77221 "children": [
77222 {
77223 "text": "Hello"
77224 }
77225 ]
77226 },
77227 {
77228 "text": "\n"
77229 },
77230 {
77231 "tag": "script",
77232 "children": [
77233 {
77234 "text": "\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n",
77235 "no_escape": true
77236 }
77237 ]
77238 },
77239 {
77240 "text": "\n"
77241 },
77242 {
77243 "tag": "div",
77244 "children": [
77245 {
77246 "text": "Bye"
77247 }
77248 ]
77249 }
77250 ]
77251 }
77252 ]
77253 }
77254 ],
77255 "html": "<html><head></head><body><div>Hello</div>\n<script>\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n</script>\n<div>Bye</div></body></html>",
77256 "noQuirksBodyHtml": "<div>Hello</div>\n<script>\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n</script>\n<div>Bye</div>"
77257 }
77258 },
77259 {
77260 "data": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>",
77261 "errors": [
77262 "(1,15): expected-doctype-but-got-start-tag"
77263 ],
77264 "document": {
77265 "props": {
77266 "tags": {
77267 "html": true,
77268 "head": true,
77269 "body": true,
77270 "foo": true,
77271 "potato": true
77272 }
77273 },
77274 "tree": [
77275 {
77276 "tag": "html",
77277 "children": [
77278 {
77279 "tag": "head"
77280 },
77281 {
77282 "tag": "body",
77283 "children": [
77284 {
77285 "tag": "foo",
77286 "attrs": [
77287 {
77288 "name": "bar",
77289 "value": "baz"
77290 }
77291 ]
77292 },
77293 {
77294 "tag": "potato",
77295 "attrs": [
77296 {
77297 "name": "quack",
77298 "value": "duck"
77299 }
77300 ]
77301 }
77302 ]
77303 }
77304 ]
77305 }
77306 ],
77307 "html": "<html><head></head><body><foo bar=\"baz\"></foo><potato quack=\"duck\"></potato></body></html>",
77308 "noQuirksBodyHtml": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>"
77309 }
77310 },
77311 {
77312 "data": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>",
77313 "errors": [
77314 "(1,15): expected-doctype-but-got-start-tag"
77315 ],
77316 "document": {
77317 "props": {
77318 "tags": {
77319 "html": true,
77320 "head": true,
77321 "body": true,
77322 "foo": true,
77323 "potato": true
77324 }
77325 },
77326 "tree": [
77327 {
77328 "tag": "html",
77329 "children": [
77330 {
77331 "tag": "head"
77332 },
77333 {
77334 "tag": "body",
77335 "children": [
77336 {
77337 "tag": "foo",
77338 "attrs": [
77339 {
77340 "name": "bar",
77341 "value": "baz"
77342 }
77343 ],
77344 "children": [
77345 {
77346 "tag": "potato",
77347 "attrs": [
77348 {
77349 "name": "quack",
77350 "value": "duck"
77351 }
77352 ]
77353 }
77354 ]
77355 }
77356 ]
77357 }
77358 ]
77359 }
77360 ],
77361 "html": "<html><head></head><body><foo bar=\"baz\"><potato quack=\"duck\"></potato></foo></body></html>",
77362 "noQuirksBodyHtml": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>"
77363 }
77364 },
77365 {
77366 "data": "<foo></foo bar=\"baz\"><potato></potato quack=\"duck\">",
77367 "errors": [
77368 "(1,5): expected-doctype-but-got-start-tag",
77369 "(1,21): attributes-in-end-tag",
77370 "(1,51): attributes-in-end-tag"
77371 ],
77372 "document": {
77373 "props": {
77374 "tags": {
77375 "html": true,
77376 "head": true,
77377 "body": true,
77378 "foo": true,
77379 "potato": true
77380 }
77381 },
77382 "tree": [
77383 {
77384 "tag": "html",
77385 "children": [
77386 {
77387 "tag": "head"
77388 },
77389 {
77390 "tag": "body",
77391 "children": [
77392 {
77393 "tag": "foo"
77394 },
77395 {
77396 "tag": "potato"
77397 }
77398 ]
77399 }
77400 ]
77401 }
77402 ],
77403 "html": "<html><head></head><body><foo></foo><potato></potato></body></html>",
77404 "noQuirksBodyHtml": "<foo></foo><potato></potato>"
77405 }
77406 },
77407 {
77408 "data": "</ tttt>",
77409 "errors": [
77410 "(1,2): expected-closing-tag-but-got-char",
77411 "(1,8): expected-doctype-but-got-eof"
77412 ],
77413 "document": {
77414 "props": {
77415 "tags": {
77416 "html": true,
77417 "head": true,
77418 "body": true
77419 },
77420 "comment": true
77421 },
77422 "tree": [
77423 {
77424 "comment": " tttt"
77425 },
77426 {
77427 "tag": "html",
77428 "children": [
77429 {
77430 "tag": "head"
77431 },
77432 {
77433 "tag": "body"
77434 }
77435 ]
77436 }
77437 ],
77438 "html": "<!-- tttt--><html><head></head><body></body></html>",
77439 "noQuirksBodyHtml": "<!-- tttt-->"
77440 }
77441 },
77442 {
77443 "data": "<div FOO ><img><img></div>",
77444 "errors": [
77445 "(1,10): expected-doctype-but-got-start-tag"
77446 ],
77447 "document": {
77448 "props": {
77449 "tags": {
77450 "html": true,
77451 "head": true,
77452 "body": true,
77453 "div": true,
77454 "img": true
77455 }
77456 },
77457 "tree": [
77458 {
77459 "tag": "html",
77460 "children": [
77461 {
77462 "tag": "head"
77463 },
77464 {
77465 "tag": "body",
77466 "children": [
77467 {
77468 "tag": "div",
77469 "attrs": [
77470 {
77471 "name": "foo",
77472 "value": ""
77473 }
77474 ],
77475 "children": [
77476 {
77477 "tag": "img"
77478 },
77479 {
77480 "tag": "img"
77481 }
77482 ]
77483 }
77484 ]
77485 }
77486 ]
77487 }
77488 ],
77489 "html": "<html><head></head><body><div foo=\"\"><img><img></div></body></html>",
77490 "noQuirksBodyHtml": "<div foo=\"\"><img><img></div>"
77491 }
77492 },
77493 {
77494 "data": "<p>Test</p<p>Test2</p>",
77495 "errors": [
77496 "(1,3): expected-doctype-but-got-start-tag",
77497 "(1,13): unexpected-end-tag"
77498 ],
77499 "document": {
77500 "props": {
77501 "tags": {
77502 "html": true,
77503 "head": true,
77504 "body": true,
77505 "p": true
77506 }
77507 },
77508 "tree": [
77509 {
77510 "tag": "html",
77511 "children": [
77512 {
77513 "tag": "head"
77514 },
77515 {
77516 "tag": "body",
77517 "children": [
77518 {
77519 "tag": "p",
77520 "children": [
77521 {
77522 "text": "TestTest2"
77523 }
77524 ]
77525 }
77526 ]
77527 }
77528 ]
77529 }
77530 ],
77531 "html": "<html><head></head><body><p>TestTest2</p></body></html>",
77532 "noQuirksBodyHtml": "<p>TestTest2</p>"
77533 }
77534 },
77535 {
77536 "data": "<rdar://problem/6869687>",
77537 "errors": [
77538 "(1,7): unexpected-character-after-solidus-in-tag",
77539 "(1,8): unexpected-character-after-solidus-in-tag",
77540 "(1,16): unexpected-character-after-solidus-in-tag",
77541 "(1,24): expected-doctype-but-got-start-tag",
77542 "(1,24): expected-closing-tag-but-got-eof"
77543 ],
77544 "document": {
77545 "props": {
77546 "tags": {
77547 "html": true,
77548 "head": true,
77549 "body": true,
77550 "rdar:": true
77551 }
77552 },
77553 "tree": [
77554 {
77555 "tag": "html",
77556 "children": [
77557 {
77558 "tag": "head"
77559 },
77560 {
77561 "tag": "body",
77562 "children": [
77563 {
77564 "tag": "rdar:",
77565 "attrs": [
77566 {
77567 "name": "6869687",
77568 "value": ""
77569 },
77570 {
77571 "name": "problem",
77572 "value": ""
77573 }
77574 ]
77575 }
77576 ]
77577 }
77578 ]
77579 }
77580 ],
77581 "html": "<html><head></head><body><rdar: problem=\"\" 6869687=\"\"></rdar:></body></html>",
77582 "noQuirksBodyHtml": "<rdar: problem=\"\" 6869687=\"\"></rdar:>"
77583 }
77584 },
77585 {
77586 "data": "<A>test< /A>",
77587 "errors": [
77588 "(1,3): expected-doctype-but-got-start-tag",
77589 "(1,8): expected-tag-name",
77590 "(1,12): expected-closing-tag-but-got-eof"
77591 ],
77592 "document": {
77593 "props": {
77594 "tags": {
77595 "html": true,
77596 "head": true,
77597 "body": true,
77598 "a": true
77599 },
77600 "escaped": true
77601 },
77602 "tree": [
77603 {
77604 "tag": "html",
77605 "children": [
77606 {
77607 "tag": "head"
77608 },
77609 {
77610 "tag": "body",
77611 "children": [
77612 {
77613 "tag": "a",
77614 "children": [
77615 {
77616 "text": "test< /A>",
77617 "escaped": true
77618 }
77619 ]
77620 }
77621 ]
77622 }
77623 ]
77624 }
77625 ],
77626 "html": "<html><head></head><body><a>test&lt; /A&gt;</a></body></html>",
77627 "noQuirksBodyHtml": "<a>test&lt; /A&gt;</a>"
77628 }
77629 },
77630 {
77631 "data": "&lt;",
77632 "errors": [
77633 "(1,4): expected-doctype-but-got-chars"
77634 ],
77635 "document": {
77636 "props": {
77637 "tags": {
77638 "html": true,
77639 "head": true,
77640 "body": true
77641 },
77642 "escaped": true
77643 },
77644 "tree": [
77645 {
77646 "tag": "html",
77647 "children": [
77648 {
77649 "tag": "head"
77650 },
77651 {
77652 "tag": "body",
77653 "children": [
77654 {
77655 "text": "<",
77656 "escaped": true
77657 }
77658 ]
77659 }
77660 ]
77661 }
77662 ],
77663 "html": "<html><head></head><body>&lt;</body></html>",
77664 "noQuirksBodyHtml": "&lt;"
77665 }
77666 },
77667 {
77668 "data": "<body foo='bar'><body foo='baz' yo='mama'>",
77669 "errors": [
77670 "(1,16): expected-doctype-but-got-start-tag",
77671 "(1,42): unexpected-start-tag"
77672 ],
77673 "document": {
77674 "props": {
77675 "tags": {
77676 "html": true,
77677 "head": true,
77678 "body": true
77679 }
77680 },
77681 "tree": [
77682 {
77683 "tag": "html",
77684 "children": [
77685 {
77686 "tag": "head"
77687 },
77688 {
77689 "tag": "body",
77690 "attrs": [
77691 {
77692 "name": "foo",
77693 "value": "bar"
77694 },
77695 {
77696 "name": "yo",
77697 "value": "mama"
77698 }
77699 ]
77700 }
77701 ]
77702 }
77703 ],
77704 "html": "<html><head></head><body foo=\"bar\" yo=\"mama\"></body></html>",
77705 "noQuirksBodyHtml": ""
77706 }
77707 },
77708 {
77709 "data": "<body></br foo=\"bar\"></body>",
77710 "errors": [
77711 "(1,6): expected-doctype-but-got-start-tag",
77712 "(1,21): attributes-in-end-tag",
77713 "(1,21): unexpected-end-tag-treated-as"
77714 ],
77715 "document": {
77716 "props": {
77717 "tags": {
77718 "html": true,
77719 "head": true,
77720 "body": true,
77721 "br": true
77722 }
77723 },
77724 "tree": [
77725 {
77726 "tag": "html",
77727 "children": [
77728 {
77729 "tag": "head"
77730 },
77731 {
77732 "tag": "body",
77733 "children": [
77734 {
77735 "tag": "br"
77736 }
77737 ]
77738 }
77739 ]
77740 }
77741 ],
77742 "html": "<html><head></head><body><br></body></html>",
77743 "noQuirksBodyHtml": "<br>"
77744 }
77745 },
77746 {
77747 "data": "<bdy><br foo=\"bar\"></body>",
77748 "errors": [
77749 "(1,5): expected-doctype-but-got-start-tag",
77750 "(1,26): expected-one-end-tag-but-got-another"
77751 ],
77752 "document": {
77753 "props": {
77754 "tags": {
77755 "html": true,
77756 "head": true,
77757 "body": true,
77758 "bdy": true,
77759 "br": true
77760 }
77761 },
77762 "tree": [
77763 {
77764 "tag": "html",
77765 "children": [
77766 {
77767 "tag": "head"
77768 },
77769 {
77770 "tag": "body",
77771 "children": [
77772 {
77773 "tag": "bdy",
77774 "children": [
77775 {
77776 "tag": "br",
77777 "attrs": [
77778 {
77779 "name": "foo",
77780 "value": "bar"
77781 }
77782 ]
77783 }
77784 ]
77785 }
77786 ]
77787 }
77788 ]
77789 }
77790 ],
77791 "html": "<html><head></head><body><bdy><br foo=\"bar\"></bdy></body></html>",
77792 "noQuirksBodyHtml": "<bdy><br foo=\"bar\"></bdy>"
77793 }
77794 },
77795 {
77796 "data": "<body></body></br foo=\"bar\">",
77797 "errors": [
77798 "(1,6): expected-doctype-but-got-start-tag",
77799 "(1,28): attributes-in-end-tag",
77800 "(1,28): unexpected-end-tag-after-body",
77801 "(1,28): unexpected-end-tag-treated-as"
77802 ],
77803 "document": {
77804 "props": {
77805 "tags": {
77806 "html": true,
77807 "head": true,
77808 "body": true,
77809 "br": true
77810 }
77811 },
77812 "tree": [
77813 {
77814 "tag": "html",
77815 "children": [
77816 {
77817 "tag": "head"
77818 },
77819 {
77820 "tag": "body",
77821 "children": [
77822 {
77823 "tag": "br"
77824 }
77825 ]
77826 }
77827 ]
77828 }
77829 ],
77830 "html": "<html><head></head><body><br></body></html>",
77831 "noQuirksBodyHtml": "<br>"
77832 }
77833 },
77834 {
77835 "data": "<bdy></body><br foo=\"bar\">",
77836 "errors": [
77837 "(1,5): expected-doctype-but-got-start-tag",
77838 "(1,12): expected-one-end-tag-but-got-another",
77839 "(1,26): unexpected-start-tag-after-body",
77840 "(1,26): expected-closing-tag-but-got-eof"
77841 ],
77842 "document": {
77843 "props": {
77844 "tags": {
77845 "html": true,
77846 "head": true,
77847 "body": true,
77848 "bdy": true,
77849 "br": true
77850 }
77851 },
77852 "tree": [
77853 {
77854 "tag": "html",
77855 "children": [
77856 {
77857 "tag": "head"
77858 },
77859 {
77860 "tag": "body",
77861 "children": [
77862 {
77863 "tag": "bdy",
77864 "children": [
77865 {
77866 "tag": "br",
77867 "attrs": [
77868 {
77869 "name": "foo",
77870 "value": "bar"
77871 }
77872 ]
77873 }
77874 ]
77875 }
77876 ]
77877 }
77878 ]
77879 }
77880 ],
77881 "html": "<html><head></head><body><bdy><br foo=\"bar\"></bdy></body></html>",
77882 "noQuirksBodyHtml": "<bdy><br foo=\"bar\"></bdy>"
77883 }
77884 },
77885 {
77886 "data": "<html><body></body></html><!-- Hi there -->",
77887 "errors": [
77888 "(1,6): expected-doctype-but-got-start-tag"
77889 ],
77890 "document": {
77891 "props": {
77892 "tags": {
77893 "html": true,
77894 "head": true,
77895 "body": true
77896 },
77897 "comment": true
77898 },
77899 "tree": [
77900 {
77901 "tag": "html",
77902 "children": [
77903 {
77904 "tag": "head"
77905 },
77906 {
77907 "tag": "body"
77908 }
77909 ]
77910 },
77911 {
77912 "comment": " Hi there "
77913 }
77914 ],
77915 "html": "<html><head></head><body></body></html><!-- Hi there -->",
77916 "noQuirksBodyHtml": "<!-- Hi there -->"
77917 }
77918 },
77919 {
77920 "data": "<html><body></body></html>x<!-- Hi there -->",
77921 "errors": [
77922 "(1,6): expected-doctype-but-got-start-tag",
77923 "(1,27): expected-eof-but-got-char"
77924 ],
77925 "document": {
77926 "props": {
77927 "tags": {
77928 "html": true,
77929 "head": true,
77930 "body": true
77931 },
77932 "comment": true
77933 },
77934 "tree": [
77935 {
77936 "tag": "html",
77937 "children": [
77938 {
77939 "tag": "head"
77940 },
77941 {
77942 "tag": "body",
77943 "children": [
77944 {
77945 "text": "x"
77946 },
77947 {
77948 "comment": " Hi there "
77949 }
77950 ]
77951 }
77952 ]
77953 }
77954 ],
77955 "html": "<html><head></head><body>x<!-- Hi there --></body></html>",
77956 "noQuirksBodyHtml": "x<!-- Hi there -->"
77957 }
77958 },
77959 {
77960 "data": "<html><body></body></html>x<!-- Hi there --></html><!-- Again -->",
77961 "errors": [
77962 "(1,6): expected-doctype-but-got-start-tag",
77963 "(1,27): expected-eof-but-got-char"
77964 ],
77965 "document": {
77966 "props": {
77967 "tags": {
77968 "html": true,
77969 "head": true,
77970 "body": true
77971 },
77972 "comment": true
77973 },
77974 "tree": [
77975 {
77976 "tag": "html",
77977 "children": [
77978 {
77979 "tag": "head"
77980 },
77981 {
77982 "tag": "body",
77983 "children": [
77984 {
77985 "text": "x"
77986 },
77987 {
77988 "comment": " Hi there "
77989 }
77990 ]
77991 }
77992 ]
77993 },
77994 {
77995 "comment": " Again "
77996 }
77997 ],
77998 "html": "<html><head></head><body>x<!-- Hi there --></body></html><!-- Again -->",
77999 "noQuirksBodyHtml": "x<!-- Hi there --><!-- Again -->"
78000 }
78001 },
78002 {
78003 "data": "<html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->",
78004 "errors": [
78005 "(1,6): expected-doctype-but-got-start-tag",
78006 "(1,27): expected-eof-but-got-char"
78007 ],
78008 "document": {
78009 "props": {
78010 "tags": {
78011 "html": true,
78012 "head": true,
78013 "body": true
78014 },
78015 "comment": true
78016 },
78017 "tree": [
78018 {
78019 "tag": "html",
78020 "children": [
78021 {
78022 "tag": "head"
78023 },
78024 {
78025 "tag": "body",
78026 "children": [
78027 {
78028 "text": "x"
78029 },
78030 {
78031 "comment": " Hi there "
78032 }
78033 ]
78034 }
78035 ]
78036 },
78037 {
78038 "comment": " Again "
78039 }
78040 ],
78041 "html": "<html><head></head><body>x<!-- Hi there --></body></html><!-- Again -->",
78042 "noQuirksBodyHtml": "x<!-- Hi there --><!-- Again -->"
78043 }
78044 },
78045 {
78046 "data": "<html><body><ruby><div><rp>xx</rp></div></ruby></body></html>",
78047 "errors": [
78048 "(1,6): expected-doctype-but-got-start-tag",
78049 "(1,27): XXX-undefined-error"
78050 ],
78051 "document": {
78052 "props": {
78053 "tags": {
78054 "html": true,
78055 "head": true,
78056 "body": true,
78057 "ruby": true,
78058 "div": true,
78059 "rp": true
78060 }
78061 },
78062 "tree": [
78063 {
78064 "tag": "html",
78065 "children": [
78066 {
78067 "tag": "head"
78068 },
78069 {
78070 "tag": "body",
78071 "children": [
78072 {
78073 "tag": "ruby",
78074 "children": [
78075 {
78076 "tag": "div",
78077 "children": [
78078 {
78079 "tag": "rp",
78080 "children": [
78081 {
78082 "text": "xx"
78083 }
78084 ]
78085 }
78086 ]
78087 }
78088 ]
78089 }
78090 ]
78091 }
78092 ]
78093 }
78094 ],
78095 "html": "<html><head></head><body><ruby><div><rp>xx</rp></div></ruby></body></html>",
78096 "noQuirksBodyHtml": "<ruby><div><rp>xx</rp></div></ruby>"
78097 }
78098 },
78099 {
78100 "data": "<html><body><ruby><div><rt>xx</rt></div></ruby></body></html>",
78101 "errors": [
78102 "(1,6): expected-doctype-but-got-start-tag",
78103 "(1,27): XXX-undefined-error"
78104 ],
78105 "document": {
78106 "props": {
78107 "tags": {
78108 "html": true,
78109 "head": true,
78110 "body": true,
78111 "ruby": true,
78112 "div": true,
78113 "rt": true
78114 }
78115 },
78116 "tree": [
78117 {
78118 "tag": "html",
78119 "children": [
78120 {
78121 "tag": "head"
78122 },
78123 {
78124 "tag": "body",
78125 "children": [
78126 {
78127 "tag": "ruby",
78128 "children": [
78129 {
78130 "tag": "div",
78131 "children": [
78132 {
78133 "tag": "rt",
78134 "children": [
78135 {
78136 "text": "xx"
78137 }
78138 ]
78139 }
78140 ]
78141 }
78142 ]
78143 }
78144 ]
78145 }
78146 ]
78147 }
78148 ],
78149 "html": "<html><head></head><body><ruby><div><rt>xx</rt></div></ruby></body></html>",
78150 "noQuirksBodyHtml": "<ruby><div><rt>xx</rt></div></ruby>"
78151 }
78152 },
78153 {
78154 "data": "<html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->",
78155 "errors": [
78156 "(1,6): expected-doctype-but-got-start-tag"
78157 ],
78158 "document": {
78159 "props": {
78160 "tags": {
78161 "html": true,
78162 "head": true,
78163 "frameset": true,
78164 "noframes": true
78165 },
78166 "comment": true,
78167 "no_escape": true
78168 },
78169 "tree": [
78170 {
78171 "tag": "html",
78172 "children": [
78173 {
78174 "tag": "head"
78175 },
78176 {
78177 "tag": "frameset",
78178 "children": [
78179 {
78180 "comment": "1"
78181 },
78182 {
78183 "tag": "noframes",
78184 "children": [
78185 {
78186 "text": "A",
78187 "no_escape": true
78188 }
78189 ]
78190 },
78191 {
78192 "comment": "2"
78193 }
78194 ]
78195 },
78196 {
78197 "comment": "3"
78198 },
78199 {
78200 "tag": "noframes",
78201 "children": [
78202 {
78203 "text": "B",
78204 "no_escape": true
78205 }
78206 ]
78207 },
78208 {
78209 "comment": "4"
78210 },
78211 {
78212 "tag": "noframes",
78213 "children": [
78214 {
78215 "text": "C",
78216 "no_escape": true
78217 }
78218 ]
78219 }
78220 ]
78221 },
78222 {
78223 "comment": "5"
78224 },
78225 {
78226 "comment": "6"
78227 }
78228 ],
78229 "html": "<html><head></head><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--><noframes>C</noframes></html><!--5--><!--6-->",
78230 "noQuirksBodyHtml": "<!--1--><noframes>A</noframes><!--2--><!--3--><noframes>B</noframes><!--4--><!--5--><noframes>C</noframes><!--6-->"
78231 }
78232 },
78233 {
78234 "data": "<select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>",
78235 "errors": [
78236 "(1,8): expected-doctype-but-got-start-tag",
78237 "(1,25): unexpected-select-in-select",
78238 "(1,59): unexpected-select-in-select",
78239 "(1,93): unexpected-select-in-select",
78240 "(1,127): unexpected-select-in-select"
78241 ],
78242 "document": {
78243 "props": {
78244 "tags": {
78245 "html": true,
78246 "head": true,
78247 "body": true,
78248 "select": true,
78249 "option": true
78250 }
78251 },
78252 "tree": [
78253 {
78254 "tag": "html",
78255 "children": [
78256 {
78257 "tag": "head"
78258 },
78259 {
78260 "tag": "body",
78261 "children": [
78262 {
78263 "tag": "select",
78264 "children": [
78265 {
78266 "tag": "option",
78267 "children": [
78268 {
78269 "text": "A"
78270 }
78271 ]
78272 }
78273 ]
78274 },
78275 {
78276 "tag": "option",
78277 "children": [
78278 {
78279 "text": "B"
78280 },
78281 {
78282 "tag": "select",
78283 "children": [
78284 {
78285 "tag": "option",
78286 "children": [
78287 {
78288 "text": "C"
78289 }
78290 ]
78291 }
78292 ]
78293 }
78294 ]
78295 },
78296 {
78297 "tag": "option",
78298 "children": [
78299 {
78300 "text": "D"
78301 },
78302 {
78303 "tag": "select",
78304 "children": [
78305 {
78306 "tag": "option",
78307 "children": [
78308 {
78309 "text": "E"
78310 }
78311 ]
78312 }
78313 ]
78314 }
78315 ]
78316 },
78317 {
78318 "tag": "option",
78319 "children": [
78320 {
78321 "text": "F"
78322 },
78323 {
78324 "tag": "select",
78325 "children": [
78326 {
78327 "tag": "option",
78328 "children": [
78329 {
78330 "text": "G"
78331 }
78332 ]
78333 }
78334 ]
78335 }
78336 ]
78337 }
78338 ]
78339 }
78340 ]
78341 }
78342 ],
78343 "html": "<html><head></head><body><select><option>A</option></select><option>B<select><option>C</option></select></option><option>D<select><option>E</option></select></option><option>F<select><option>G</option></select></option></body></html>",
78344 "noQuirksBodyHtml": "<select><option>A</option></select><option>B<select><option>C</option></select></option><option>D<select><option>E</option></select></option><option>F<select><option>G</option></select></option>"
78345 }
78346 },
78347 {
78348 "data": "<dd><dd><dt><dt><dd><li><li>",
78349 "errors": [
78350 "(1,4): expected-doctype-but-got-start-tag"
78351 ],
78352 "document": {
78353 "props": {
78354 "tags": {
78355 "html": true,
78356 "head": true,
78357 "body": true,
78358 "dd": true,
78359 "dt": true,
78360 "li": true
78361 }
78362 },
78363 "tree": [
78364 {
78365 "tag": "html",
78366 "children": [
78367 {
78368 "tag": "head"
78369 },
78370 {
78371 "tag": "body",
78372 "children": [
78373 {
78374 "tag": "dd"
78375 },
78376 {
78377 "tag": "dd"
78378 },
78379 {
78380 "tag": "dt"
78381 },
78382 {
78383 "tag": "dt"
78384 },
78385 {
78386 "tag": "dd",
78387 "children": [
78388 {
78389 "tag": "li"
78390 },
78391 {
78392 "tag": "li"
78393 }
78394 ]
78395 }
78396 ]
78397 }
78398 ]
78399 }
78400 ],
78401 "html": "<html><head></head><body><dd></dd><dd></dd><dt></dt><dt></dt><dd><li></li><li></li></dd></body></html>",
78402 "noQuirksBodyHtml": "<dd></dd><dd></dd><dt></dt><dt></dt><dd><li></li><li></li></dd>"
78403 }
78404 },
78405 {
78406 "data": "<div><b></div><div><nobr>a<nobr>",
78407 "errors": [
78408 "(1,5): expected-doctype-but-got-start-tag",
78409 "(1,14): end-tag-too-early",
78410 "(1,32): unexpected-start-tag-implies-end-tag",
78411 "(1,32): expected-closing-tag-but-got-eof"
78412 ],
78413 "document": {
78414 "props": {
78415 "tags": {
78416 "html": true,
78417 "head": true,
78418 "body": true,
78419 "div": true,
78420 "b": true,
78421 "nobr": true
78422 }
78423 },
78424 "tree": [
78425 {
78426 "tag": "html",
78427 "children": [
78428 {
78429 "tag": "head"
78430 },
78431 {
78432 "tag": "body",
78433 "children": [
78434 {
78435 "tag": "div",
78436 "children": [
78437 {
78438 "tag": "b"
78439 }
78440 ]
78441 },
78442 {
78443 "tag": "div",
78444 "children": [
78445 {
78446 "tag": "b",
78447 "children": [
78448 {
78449 "tag": "nobr",
78450 "children": [
78451 {
78452 "text": "a"
78453 }
78454 ]
78455 },
78456 {
78457 "tag": "nobr"
78458 }
78459 ]
78460 }
78461 ]
78462 }
78463 ]
78464 }
78465 ]
78466 }
78467 ],
78468 "html": "<html><head></head><body><div><b></b></div><div><b><nobr>a</nobr><nobr></nobr></b></div></body></html>",
78469 "noQuirksBodyHtml": "<div><b></b></div><div><b><nobr>a</nobr><nobr></nobr></b></div>"
78470 }
78471 },
78472 {
78473 "data": "<head></head>\n<body></body>",
78474 "errors": [
78475 "(1,6): expected-doctype-but-got-start-tag"
78476 ],
78477 "document": {
78478 "props": {
78479 "tags": {
78480 "html": true,
78481 "head": true,
78482 "body": true
78483 }
78484 },
78485 "tree": [
78486 {
78487 "tag": "html",
78488 "children": [
78489 {
78490 "tag": "head"
78491 },
78492 {
78493 "text": "\n"
78494 },
78495 {
78496 "tag": "body"
78497 }
78498 ]
78499 }
78500 ],
78501 "html": "<html><head></head>\n<body></body></html>",
78502 "noQuirksBodyHtml": "\n"
78503 }
78504 },
78505 {
78506 "data": "<head></head> <style></style>ddd",
78507 "errors": [
78508 "(1,6): expected-doctype-but-got-start-tag",
78509 "(1,21): unexpected-start-tag-out-of-my-head"
78510 ],
78511 "document": {
78512 "props": {
78513 "tags": {
78514 "html": true,
78515 "head": true,
78516 "style": true,
78517 "body": true
78518 }
78519 },
78520 "tree": [
78521 {
78522 "tag": "html",
78523 "children": [
78524 {
78525 "tag": "head",
78526 "children": [
78527 {
78528 "tag": "style"
78529 }
78530 ]
78531 },
78532 {
78533 "text": " "
78534 },
78535 {
78536 "tag": "body",
78537 "children": [
78538 {
78539 "text": "ddd"
78540 }
78541 ]
78542 }
78543 ]
78544 }
78545 ],
78546 "html": "<html><head><style></style></head> <body>ddd</body></html>",
78547 "noQuirksBodyHtml": " <style></style>ddd"
78548 }
78549 },
78550 {
78551 "data": "<kbd><table></kbd><col><select><tr>",
78552 "errors": [
78553 "(1,5): expected-doctype-but-got-start-tag",
78554 "(1,18): unexpected-end-tag-implies-table-voodoo",
78555 "(1,18): unexpected-end-tag",
78556 "(1,31): unexpected-start-tag-implies-table-voodoo",
78557 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
78558 "(1,35): eof-in-table"
78559 ],
78560 "document": {
78561 "props": {
78562 "tags": {
78563 "html": true,
78564 "head": true,
78565 "body": true,
78566 "kbd": true,
78567 "select": true,
78568 "table": true,
78569 "colgroup": true,
78570 "col": true,
78571 "tbody": true,
78572 "tr": true
78573 }
78574 },
78575 "tree": [
78576 {
78577 "tag": "html",
78578 "children": [
78579 {
78580 "tag": "head"
78581 },
78582 {
78583 "tag": "body",
78584 "children": [
78585 {
78586 "tag": "kbd",
78587 "children": [
78588 {
78589 "tag": "select"
78590 },
78591 {
78592 "tag": "table",
78593 "children": [
78594 {
78595 "tag": "colgroup",
78596 "children": [
78597 {
78598 "tag": "col"
78599 }
78600 ]
78601 },
78602 {
78603 "tag": "tbody",
78604 "children": [
78605 {
78606 "tag": "tr"
78607 }
78608 ]
78609 }
78610 ]
78611 }
78612 ]
78613 }
78614 ]
78615 }
78616 ]
78617 }
78618 ],
78619 "html": "<html><head></head><body><kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table></kbd></body></html>",
78620 "noQuirksBodyHtml": "<kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table></kbd>"
78621 }
78622 },
78623 {
78624 "data": "<kbd><table></kbd><col><select><tr></table><div>",
78625 "errors": [
78626 "(1,5): expected-doctype-but-got-start-tag",
78627 "(1,18): unexpected-end-tag-implies-table-voodoo",
78628 "(1,18): unexpected-end-tag",
78629 "(1,31): unexpected-start-tag-implies-table-voodoo",
78630 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
78631 "(1,48): expected-closing-tag-but-got-eof"
78632 ],
78633 "document": {
78634 "props": {
78635 "tags": {
78636 "html": true,
78637 "head": true,
78638 "body": true,
78639 "kbd": true,
78640 "select": true,
78641 "table": true,
78642 "colgroup": true,
78643 "col": true,
78644 "tbody": true,
78645 "tr": true,
78646 "div": true
78647 }
78648 },
78649 "tree": [
78650 {
78651 "tag": "html",
78652 "children": [
78653 {
78654 "tag": "head"
78655 },
78656 {
78657 "tag": "body",
78658 "children": [
78659 {
78660 "tag": "kbd",
78661 "children": [
78662 {
78663 "tag": "select"
78664 },
78665 {
78666 "tag": "table",
78667 "children": [
78668 {
78669 "tag": "colgroup",
78670 "children": [
78671 {
78672 "tag": "col"
78673 }
78674 ]
78675 },
78676 {
78677 "tag": "tbody",
78678 "children": [
78679 {
78680 "tag": "tr"
78681 }
78682 ]
78683 }
78684 ]
78685 },
78686 {
78687 "tag": "div"
78688 }
78689 ]
78690 }
78691 ]
78692 }
78693 ]
78694 }
78695 ],
78696 "html": "<html><head></head><body><kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table><div></div></kbd></body></html>",
78697 "noQuirksBodyHtml": "<kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table><div></div></kbd>"
78698 }
78699 },
78700 {
78701 "data": "<a><li><style></style><title></title></a>",
78702 "errors": [
78703 "(1,3): expected-doctype-but-got-start-tag",
78704 "(1,41): adoption-agency-1.3"
78705 ],
78706 "document": {
78707 "props": {
78708 "tags": {
78709 "html": true,
78710 "head": true,
78711 "body": true,
78712 "a": true,
78713 "li": true,
78714 "style": true,
78715 "title": true
78716 }
78717 },
78718 "tree": [
78719 {
78720 "tag": "html",
78721 "children": [
78722 {
78723 "tag": "head"
78724 },
78725 {
78726 "tag": "body",
78727 "children": [
78728 {
78729 "tag": "a"
78730 },
78731 {
78732 "tag": "li",
78733 "children": [
78734 {
78735 "tag": "a",
78736 "children": [
78737 {
78738 "tag": "style"
78739 },
78740 {
78741 "tag": "title"
78742 }
78743 ]
78744 }
78745 ]
78746 }
78747 ]
78748 }
78749 ]
78750 }
78751 ],
78752 "html": "<html><head></head><body><a></a><li><a><style></style><title></title></a></li></body></html>",
78753 "noQuirksBodyHtml": "<a></a><li><a><style></style><title></title></a></li>"
78754 }
78755 },
78756 {
78757 "data": "<font></p><p><meta><title></title></font>",
78758 "errors": [
78759 "(1,6): expected-doctype-but-got-start-tag",
78760 "(1,10): unexpected-end-tag",
78761 "(1,41): adoption-agency-1.3"
78762 ],
78763 "document": {
78764 "props": {
78765 "tags": {
78766 "html": true,
78767 "head": true,
78768 "body": true,
78769 "font": true,
78770 "p": true,
78771 "meta": true,
78772 "title": true
78773 }
78774 },
78775 "tree": [
78776 {
78777 "tag": "html",
78778 "children": [
78779 {
78780 "tag": "head"
78781 },
78782 {
78783 "tag": "body",
78784 "children": [
78785 {
78786 "tag": "font",
78787 "children": [
78788 {
78789 "tag": "p"
78790 }
78791 ]
78792 },
78793 {
78794 "tag": "p",
78795 "children": [
78796 {
78797 "tag": "font",
78798 "children": [
78799 {
78800 "tag": "meta"
78801 },
78802 {
78803 "tag": "title"
78804 }
78805 ]
78806 }
78807 ]
78808 }
78809 ]
78810 }
78811 ]
78812 }
78813 ],
78814 "html": "<html><head></head><body><font><p></p></font><p><font><meta><title></title></font></p></body></html>",
78815 "noQuirksBodyHtml": "<font><p></p></font><p><font><meta><title></title></font></p>"
78816 }
78817 },
78818 {
78819 "data": "<a><center><title></title><a>",
78820 "errors": [
78821 "(1,3): expected-doctype-but-got-start-tag",
78822 "(1,29): unexpected-start-tag-implies-end-tag",
78823 "(1,29): adoption-agency-1.3",
78824 "(1,29): expected-closing-tag-but-got-eof"
78825 ],
78826 "document": {
78827 "props": {
78828 "tags": {
78829 "html": true,
78830 "head": true,
78831 "body": true,
78832 "a": true,
78833 "center": true,
78834 "title": true
78835 }
78836 },
78837 "tree": [
78838 {
78839 "tag": "html",
78840 "children": [
78841 {
78842 "tag": "head"
78843 },
78844 {
78845 "tag": "body",
78846 "children": [
78847 {
78848 "tag": "a"
78849 },
78850 {
78851 "tag": "center",
78852 "children": [
78853 {
78854 "tag": "a",
78855 "children": [
78856 {
78857 "tag": "title"
78858 }
78859 ]
78860 },
78861 {
78862 "tag": "a"
78863 }
78864 ]
78865 }
78866 ]
78867 }
78868 ]
78869 }
78870 ],
78871 "html": "<html><head></head><body><a></a><center><a><title></title></a><a></a></center></body></html>",
78872 "noQuirksBodyHtml": "<a></a><center><a><title></title></a><a></a></center>"
78873 }
78874 },
78875 {
78876 "data": "<svg><title><div>",
78877 "errors": [
78878 "(1,5): expected-doctype-but-got-start-tag",
78879 "(1,17): expected-closing-tag-but-got-eof"
78880 ],
78881 "document": {
78882 "props": {
78883 "tags": {
78884 "html": true,
78885 "head": true,
78886 "body": true,
78887 "svg svg": true,
78888 "svg title": true,
78889 "div": true
78890 }
78891 },
78892 "tree": [
78893 {
78894 "tag": "html",
78895 "children": [
78896 {
78897 "tag": "head"
78898 },
78899 {
78900 "tag": "body",
78901 "children": [
78902 {
78903 "tag": "svg",
78904 "ns": "http://www.w3.org/2000/svg",
78905 "children": [
78906 {
78907 "tag": "title",
78908 "ns": "http://www.w3.org/2000/svg",
78909 "children": [
78910 {
78911 "tag": "div"
78912 }
78913 ]
78914 }
78915 ]
78916 }
78917 ]
78918 }
78919 ]
78920 }
78921 ],
78922 "html": "<html><head></head><body><svg><title><div></div></title></svg></body></html>",
78923 "noQuirksBodyHtml": "<svg><title><div></div></title></svg>"
78924 }
78925 },
78926 {
78927 "data": "<svg><title><rect><div>",
78928 "errors": [
78929 "(1,5): expected-doctype-but-got-start-tag",
78930 "(1,23): expected-closing-tag-but-got-eof"
78931 ],
78932 "document": {
78933 "props": {
78934 "tags": {
78935 "html": true,
78936 "head": true,
78937 "body": true,
78938 "svg svg": true,
78939 "svg title": true,
78940 "rect": true,
78941 "div": true
78942 }
78943 },
78944 "tree": [
78945 {
78946 "tag": "html",
78947 "children": [
78948 {
78949 "tag": "head"
78950 },
78951 {
78952 "tag": "body",
78953 "children": [
78954 {
78955 "tag": "svg",
78956 "ns": "http://www.w3.org/2000/svg",
78957 "children": [
78958 {
78959 "tag": "title",
78960 "ns": "http://www.w3.org/2000/svg",
78961 "children": [
78962 {
78963 "tag": "rect",
78964 "children": [
78965 {
78966 "tag": "div"
78967 }
78968 ]
78969 }
78970 ]
78971 }
78972 ]
78973 }
78974 ]
78975 }
78976 ]
78977 }
78978 ],
78979 "html": "<html><head></head><body><svg><title><rect><div></div></rect></title></svg></body></html>",
78980 "noQuirksBodyHtml": "<svg><title><rect><div></div></rect></title></svg>"
78981 }
78982 },
78983 {
78984 "data": "<svg><title><svg><div>",
78985 "errors": [
78986 "(1,5): expected-doctype-but-got-start-tag",
78987 "(1,22): unexpected-html-element-in-foreign-content",
78988 "(1,22): expected-closing-tag-but-got-eof"
78989 ],
78990 "document": {
78991 "props": {
78992 "tags": {
78993 "html": true,
78994 "head": true,
78995 "body": true,
78996 "svg svg": true,
78997 "svg title": true,
78998 "div": true
78999 }
79000 },
79001 "tree": [
79002 {
79003 "tag": "html",
79004 "children": [
79005 {
79006 "tag": "head"
79007 },
79008 {
79009 "tag": "body",
79010 "children": [
79011 {
79012 "tag": "svg",
79013 "ns": "http://www.w3.org/2000/svg",
79014 "children": [
79015 {
79016 "tag": "title",
79017 "ns": "http://www.w3.org/2000/svg",
79018 "children": [
79019 {
79020 "tag": "svg",
79021 "ns": "http://www.w3.org/2000/svg"
79022 },
79023 {
79024 "tag": "div"
79025 }
79026 ]
79027 }
79028 ]
79029 }
79030 ]
79031 }
79032 ]
79033 }
79034 ],
79035 "html": "<html><head></head><body><svg><title><svg></svg><div></div></title></svg></body></html>",
79036 "noQuirksBodyHtml": "<svg><title><svg><div></div></svg></title></svg>"
79037 }
79038 },
79039 {
79040 "data": "<img <=\"\" FAIL>",
79041 "errors": [
79042 "(1,6): invalid-character-in-attribute-name",
79043 "(1,15): expected-doctype-but-got-start-tag"
79044 ],
79045 "document": {
79046 "props": {
79047 "tags": {
79048 "html": true,
79049 "head": true,
79050 "body": true,
79051 "img": true
79052 },
79053 "attrWithFunnyChar": true
79054 },
79055 "tree": [
79056 {
79057 "tag": "html",
79058 "children": [
79059 {
79060 "tag": "head"
79061 },
79062 {
79063 "tag": "body",
79064 "children": [
79065 {
79066 "tag": "img",
79067 "attrs": [
79068 {
79069 "name": "<",
79070 "value": ""
79071 },
79072 {
79073 "name": "fail",
79074 "value": ""
79075 }
79076 ]
79077 }
79078 ]
79079 }
79080 ]
79081 }
79082 ],
79083 "html": "<html><head></head><body><img <=\"\" fail=\"\"></body></html>",
79084 "noQuirksBodyHtml": "<img <=\"\" fail=\"\">"
79085 }
79086 },
79087 {
79088 "data": "<ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul>",
79089 "errors": [
79090 "(1,4): expected-doctype-but-got-start-tag",
79091 "(1,23): non-void-element-with-trailing-solidus",
79092 "(1,29): end-tag-too-early"
79093 ],
79094 "document": {
79095 "props": {
79096 "tags": {
79097 "html": true,
79098 "head": true,
79099 "body": true,
79100 "ul": true,
79101 "li": true,
79102 "div": true
79103 }
79104 },
79105 "tree": [
79106 {
79107 "tag": "html",
79108 "children": [
79109 {
79110 "tag": "head"
79111 },
79112 {
79113 "tag": "body",
79114 "children": [
79115 {
79116 "tag": "ul",
79117 "children": [
79118 {
79119 "tag": "li",
79120 "children": [
79121 {
79122 "tag": "div",
79123 "attrs": [
79124 {
79125 "name": "id",
79126 "value": "foo"
79127 }
79128 ],
79129 "children": [
79130 {
79131 "text": "A"
79132 }
79133 ]
79134 }
79135 ]
79136 },
79137 {
79138 "tag": "li",
79139 "children": [
79140 {
79141 "text": "B"
79142 },
79143 {
79144 "tag": "div",
79145 "children": [
79146 {
79147 "text": "C"
79148 }
79149 ]
79150 }
79151 ]
79152 }
79153 ]
79154 }
79155 ]
79156 }
79157 ]
79158 }
79159 ],
79160 "html": "<html><head></head><body><ul><li><div id=\"foo\">A</div></li><li>B<div>C</div></li></ul></body></html>",
79161 "noQuirksBodyHtml": "<ul><li><div id=\"foo\">A</div></li><li>B<div>C</div></li></ul>"
79162 }
79163 },
79164 {
79165 "data": "<svg><em><desc></em>",
79166 "errors": [
79167 "(1,5): expected-doctype-but-got-start-tag",
79168 "(1,9): unexpected-html-element-in-foreign-content",
79169 "(1,20): adoption-agency-1.3"
79170 ],
79171 "document": {
79172 "props": {
79173 "tags": {
79174 "html": true,
79175 "head": true,
79176 "body": true,
79177 "svg svg": true,
79178 "em": true,
79179 "desc": true
79180 }
79181 },
79182 "tree": [
79183 {
79184 "tag": "html",
79185 "children": [
79186 {
79187 "tag": "head"
79188 },
79189 {
79190 "tag": "body",
79191 "children": [
79192 {
79193 "tag": "svg",
79194 "ns": "http://www.w3.org/2000/svg"
79195 },
79196 {
79197 "tag": "em",
79198 "children": [
79199 {
79200 "tag": "desc"
79201 }
79202 ]
79203 }
79204 ]
79205 }
79206 ]
79207 }
79208 ],
79209 "html": "<html><head></head><body><svg></svg><em><desc></desc></em></body></html>",
79210 "noQuirksBodyHtml": "<svg><em><desc></desc></em></svg>"
79211 }
79212 },
79213 {
79214 "data": "<table><tr><td><svg><desc><td></desc><circle>",
79215 "errors": [],
79216 "document": {
79217 "props": {
79218 "tags": {
79219 "html": true,
79220 "head": true,
79221 "body": true,
79222 "table": true,
79223 "tbody": true,
79224 "tr": true,
79225 "td": true,
79226 "svg svg": true,
79227 "svg desc": true,
79228 "circle": true
79229 }
79230 },
79231 "tree": [
79232 {
79233 "tag": "html",
79234 "children": [
79235 {
79236 "tag": "head"
79237 },
79238 {
79239 "tag": "body",
79240 "children": [
79241 {
79242 "tag": "table",
79243 "children": [
79244 {
79245 "tag": "tbody",
79246 "children": [
79247 {
79248 "tag": "tr",
79249 "children": [
79250 {
79251 "tag": "td",
79252 "children": [
79253 {
79254 "tag": "svg",
79255 "ns": "http://www.w3.org/2000/svg",
79256 "children": [
79257 {
79258 "tag": "desc",
79259 "ns": "http://www.w3.org/2000/svg"
79260 }
79261 ]
79262 }
79263 ]
79264 },
79265 {
79266 "tag": "td",
79267 "children": [
79268 {
79269 "tag": "circle"
79270 }
79271 ]
79272 }
79273 ]
79274 }
79275 ]
79276 }
79277 ]
79278 }
79279 ]
79280 }
79281 ]
79282 }
79283 ],
79284 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table></body></html>",
79285 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table>"
79286 }
79287 },
79288 {
79289 "data": "<svg><tfoot></mi><td>",
79290 "errors": [
79291 "(1,5): expected-doctype-but-got-start-tag",
79292 "(1,17): unexpected-end-tag",
79293 "(1,17): unexpected-end-tag",
79294 "(1,21): expected-closing-tag-but-got-eof"
79295 ],
79296 "document": {
79297 "props": {
79298 "tags": {
79299 "html": true,
79300 "head": true,
79301 "body": true,
79302 "svg svg": true,
79303 "svg tfoot": true,
79304 "svg td": true
79305 }
79306 },
79307 "tree": [
79308 {
79309 "tag": "html",
79310 "children": [
79311 {
79312 "tag": "head"
79313 },
79314 {
79315 "tag": "body",
79316 "children": [
79317 {
79318 "tag": "svg",
79319 "ns": "http://www.w3.org/2000/svg",
79320 "children": [
79321 {
79322 "tag": "tfoot",
79323 "ns": "http://www.w3.org/2000/svg",
79324 "children": [
79325 {
79326 "tag": "td",
79327 "ns": "http://www.w3.org/2000/svg"
79328 }
79329 ]
79330 }
79331 ]
79332 }
79333 ]
79334 }
79335 ]
79336 }
79337 ],
79338 "html": "<html><head></head><body><svg><tfoot><td></td></tfoot></svg></body></html>",
79339 "noQuirksBodyHtml": "<svg><tfoot><td></td></tfoot></svg>"
79340 }
79341 },
79342 {
79343 "data": "<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>",
79344 "errors": [
79345 "(1,6): expected-doctype-but-got-start-tag"
79346 ],
79347 "document": {
79348 "props": {
79349 "tags": {
79350 "html": true,
79351 "head": true,
79352 "body": true,
79353 "math math": true,
79354 "math mrow": true,
79355 "math mn": true,
79356 "math mi": true
79357 }
79358 },
79359 "tree": [
79360 {
79361 "tag": "html",
79362 "children": [
79363 {
79364 "tag": "head"
79365 },
79366 {
79367 "tag": "body",
79368 "children": [
79369 {
79370 "tag": "math",
79371 "ns": "http://www.w3.org/1998/Math/MathML",
79372 "children": [
79373 {
79374 "tag": "mrow",
79375 "ns": "http://www.w3.org/1998/Math/MathML",
79376 "children": [
79377 {
79378 "tag": "mrow",
79379 "ns": "http://www.w3.org/1998/Math/MathML",
79380 "children": [
79381 {
79382 "tag": "mn",
79383 "ns": "http://www.w3.org/1998/Math/MathML",
79384 "children": [
79385 {
79386 "text": "1"
79387 }
79388 ]
79389 }
79390 ]
79391 },
79392 {
79393 "tag": "mi",
79394 "ns": "http://www.w3.org/1998/Math/MathML",
79395 "children": [
79396 {
79397 "text": "a"
79398 }
79399 ]
79400 }
79401 ]
79402 }
79403 ]
79404 }
79405 ]
79406 }
79407 ]
79408 }
79409 ],
79410 "html": "<html><head></head><body><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></body></html>",
79411 "noQuirksBodyHtml": "<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>"
79412 }
79413 },
79414 {
79415 "data": "<!doctype html><input type=\"hidden\"><frameset>",
79416 "errors": [
79417 "(1,46): unexpected-start-tag",
79418 "(1,46): eof-in-frameset"
79419 ],
79420 "document": {
79421 "props": {
79422 "tags": {
79423 "html": true,
79424 "head": true,
79425 "frameset": true
79426 },
79427 "doctype": true
79428 },
79429 "tree": [
79430 {
79431 "doctype": "html"
79432 },
79433 {
79434 "tag": "html",
79435 "children": [
79436 {
79437 "tag": "head"
79438 },
79439 {
79440 "tag": "frameset"
79441 }
79442 ]
79443 }
79444 ],
79445 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
79446 "noQuirksBodyHtml": "<input type=\"hidden\">"
79447 }
79448 },
79449 {
79450 "data": "<!doctype html><input type=\"button\"><frameset>",
79451 "errors": [
79452 "(1,46): unexpected-start-tag"
79453 ],
79454 "document": {
79455 "props": {
79456 "tags": {
79457 "html": true,
79458 "head": true,
79459 "body": true,
79460 "input": true
79461 },
79462 "doctype": true
79463 },
79464 "tree": [
79465 {
79466 "doctype": "html"
79467 },
79468 {
79469 "tag": "html",
79470 "children": [
79471 {
79472 "tag": "head"
79473 },
79474 {
79475 "tag": "body",
79476 "children": [
79477 {
79478 "tag": "input",
79479 "attrs": [
79480 {
79481 "name": "type",
79482 "value": "button"
79483 }
79484 ]
79485 }
79486 ]
79487 }
79488 ]
79489 }
79490 ],
79491 "html": "<!DOCTYPE html><html><head></head><body><input type=\"button\"></body></html>",
79492 "noQuirksBodyHtml": "<input type=\"button\">"
79493 }
79494 }
79495 ],
79496 "webkit02.dat": [
79497 {
79498 "data": "<foo bar=qux/>",
79499 "errors": [
79500 "(1,14): expected-doctype-but-got-start-tag",
79501 "(1,14): expected-closing-tag-but-got-eof"
79502 ],
79503 "document": {
79504 "props": {
79505 "tags": {
79506 "html": true,
79507 "head": true,
79508 "body": true,
79509 "foo": true
79510 }
79511 },
79512 "tree": [
79513 {
79514 "tag": "html",
79515 "children": [
79516 {
79517 "tag": "head"
79518 },
79519 {
79520 "tag": "body",
79521 "children": [
79522 {
79523 "tag": "foo",
79524 "attrs": [
79525 {
79526 "name": "bar",
79527 "value": "qux/"
79528 }
79529 ]
79530 }
79531 ]
79532 }
79533 ]
79534 }
79535 ],
79536 "html": "<html><head></head><body><foo bar=\"qux/\"></foo></body></html>",
79537 "noQuirksBodyHtml": "<foo bar=\"qux/\"></foo>"
79538 }
79539 },
79540 {
79541 "data": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>",
79542 "errors": [
79543 "(1,15): expected-doctype-but-got-start-tag"
79544 ],
79545 "script": "on",
79546 "document": {
79547 "props": {
79548 "tags": {
79549 "html": true,
79550 "head": true,
79551 "body": true,
79552 "p": true,
79553 "noscript": true,
79554 "span": true
79555 },
79556 "no_escape": true
79557 },
79558 "tree": [
79559 {
79560 "tag": "html",
79561 "children": [
79562 {
79563 "tag": "head"
79564 },
79565 {
79566 "tag": "body",
79567 "children": [
79568 {
79569 "tag": "p",
79570 "attrs": [
79571 {
79572 "name": "id",
79573 "value": "status"
79574 }
79575 ],
79576 "children": [
79577 {
79578 "tag": "noscript",
79579 "children": [
79580 {
79581 "text": "<strong>A</strong>",
79582 "no_escape": true
79583 }
79584 ]
79585 },
79586 {
79587 "tag": "span",
79588 "children": [
79589 {
79590 "text": "B"
79591 }
79592 ]
79593 }
79594 ]
79595 }
79596 ]
79597 }
79598 ]
79599 }
79600 ],
79601 "html": "<html><head></head><body><p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p></body></html>",
79602 "noQuirksBodyHtml": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>"
79603 }
79604 },
79605 {
79606 "data": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>",
79607 "errors": [
79608 "(1,15): expected-doctype-but-got-start-tag"
79609 ],
79610 "script": "off",
79611 "document": {
79612 "props": {
79613 "tags": {
79614 "html": true,
79615 "head": true,
79616 "body": true,
79617 "p": true,
79618 "noscript": true,
79619 "strong": true,
79620 "span": true
79621 }
79622 },
79623 "tree": [
79624 {
79625 "tag": "html",
79626 "children": [
79627 {
79628 "tag": "head"
79629 },
79630 {
79631 "tag": "body",
79632 "children": [
79633 {
79634 "tag": "p",
79635 "attrs": [
79636 {
79637 "name": "id",
79638 "value": "status"
79639 }
79640 ],
79641 "children": [
79642 {
79643 "tag": "noscript",
79644 "children": [
79645 {
79646 "tag": "strong",
79647 "children": [
79648 {
79649 "text": "A"
79650 }
79651 ]
79652 }
79653 ]
79654 },
79655 {
79656 "tag": "span",
79657 "children": [
79658 {
79659 "text": "B"
79660 }
79661 ]
79662 }
79663 ]
79664 }
79665 ]
79666 }
79667 ]
79668 }
79669 ],
79670 "html": "<html><head></head><body><p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p></body></html>",
79671 "noQuirksBodyHtml": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>"
79672 }
79673 },
79674 {
79675 "data": "<div><sarcasm><div></div></sarcasm></div>",
79676 "errors": [
79677 "(1,5): expected-doctype-but-got-start-tag"
79678 ],
79679 "document": {
79680 "props": {
79681 "tags": {
79682 "html": true,
79683 "head": true,
79684 "body": true,
79685 "div": true,
79686 "sarcasm": true
79687 }
79688 },
79689 "tree": [
79690 {
79691 "tag": "html",
79692 "children": [
79693 {
79694 "tag": "head"
79695 },
79696 {
79697 "tag": "body",
79698 "children": [
79699 {
79700 "tag": "div",
79701 "children": [
79702 {
79703 "tag": "sarcasm",
79704 "children": [
79705 {
79706 "tag": "div"
79707 }
79708 ]
79709 }
79710 ]
79711 }
79712 ]
79713 }
79714 ]
79715 }
79716 ],
79717 "html": "<html><head></head><body><div><sarcasm><div></div></sarcasm></div></body></html>",
79718 "noQuirksBodyHtml": "<div><sarcasm><div></div></sarcasm></div>"
79719 }
79720 },
79721 {
79722 "data": "<html><body><img src=\"\" border=\"0\" alt=\"><div>A</div></body></html>",
79723 "errors": [
79724 "(1,6): expected-doctype-but-got-start-tag",
79725 "(1,67): eof-in-attribute-value-double-quote"
79726 ],
79727 "document": {
79728 "props": {
79729 "tags": {
79730 "html": true,
79731 "head": true,
79732 "body": true
79733 }
79734 },
79735 "tree": [
79736 {
79737 "tag": "html",
79738 "children": [
79739 {
79740 "tag": "head"
79741 },
79742 {
79743 "tag": "body"
79744 }
79745 ]
79746 }
79747 ],
79748 "html": "<html><head></head><body></body></html>",
79749 "noQuirksBodyHtml": ""
79750 }
79751 },
79752 {
79753 "data": "<table><td></tbody>A",
79754 "errors": [
79755 "(1,7): expected-doctype-but-got-start-tag",
79756 "(1,11): unexpected-cell-in-table-body",
79757 "(1,20): foster-parenting-character",
79758 "(1,20): eof-in-table"
79759 ],
79760 "document": {
79761 "props": {
79762 "tags": {
79763 "html": true,
79764 "head": true,
79765 "body": true,
79766 "table": true,
79767 "tbody": true,
79768 "tr": true,
79769 "td": true
79770 }
79771 },
79772 "tree": [
79773 {
79774 "tag": "html",
79775 "children": [
79776 {
79777 "tag": "head"
79778 },
79779 {
79780 "tag": "body",
79781 "children": [
79782 {
79783 "text": "A"
79784 },
79785 {
79786 "tag": "table",
79787 "children": [
79788 {
79789 "tag": "tbody",
79790 "children": [
79791 {
79792 "tag": "tr",
79793 "children": [
79794 {
79795 "tag": "td"
79796 }
79797 ]
79798 }
79799 ]
79800 }
79801 ]
79802 }
79803 ]
79804 }
79805 ]
79806 }
79807 ],
79808 "html": "<html><head></head><body>A<table><tbody><tr><td></td></tr></tbody></table></body></html>",
79809 "noQuirksBodyHtml": "A<table><tbody><tr><td></td></tr></tbody></table>"
79810 }
79811 },
79812 {
79813 "data": "<table><td></thead>A",
79814 "errors": [
79815 "(1,7): expected-doctype-but-got-start-tag",
79816 "(1,11): unexpected-cell-in-table-body",
79817 "(1,19): XXX-undefined-error",
79818 "(1,20): expected-closing-tag-but-got-eof"
79819 ],
79820 "document": {
79821 "props": {
79822 "tags": {
79823 "html": true,
79824 "head": true,
79825 "body": true,
79826 "table": true,
79827 "tbody": true,
79828 "tr": true,
79829 "td": true
79830 }
79831 },
79832 "tree": [
79833 {
79834 "tag": "html",
79835 "children": [
79836 {
79837 "tag": "head"
79838 },
79839 {
79840 "tag": "body",
79841 "children": [
79842 {
79843 "tag": "table",
79844 "children": [
79845 {
79846 "tag": "tbody",
79847 "children": [
79848 {
79849 "tag": "tr",
79850 "children": [
79851 {
79852 "tag": "td",
79853 "children": [
79854 {
79855 "text": "A"
79856 }
79857 ]
79858 }
79859 ]
79860 }
79861 ]
79862 }
79863 ]
79864 }
79865 ]
79866 }
79867 ]
79868 }
79869 ],
79870 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table></body></html>",
79871 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>"
79872 }
79873 },
79874 {
79875 "data": "<table><td></tfoot>A",
79876 "errors": [
79877 "(1,7): expected-doctype-but-got-start-tag",
79878 "(1,11): unexpected-cell-in-table-body",
79879 "(1,19): XXX-undefined-error",
79880 "(1,20): expected-closing-tag-but-got-eof"
79881 ],
79882 "document": {
79883 "props": {
79884 "tags": {
79885 "html": true,
79886 "head": true,
79887 "body": true,
79888 "table": true,
79889 "tbody": true,
79890 "tr": true,
79891 "td": true
79892 }
79893 },
79894 "tree": [
79895 {
79896 "tag": "html",
79897 "children": [
79898 {
79899 "tag": "head"
79900 },
79901 {
79902 "tag": "body",
79903 "children": [
79904 {
79905 "tag": "table",
79906 "children": [
79907 {
79908 "tag": "tbody",
79909 "children": [
79910 {
79911 "tag": "tr",
79912 "children": [
79913 {
79914 "tag": "td",
79915 "children": [
79916 {
79917 "text": "A"
79918 }
79919 ]
79920 }
79921 ]
79922 }
79923 ]
79924 }
79925 ]
79926 }
79927 ]
79928 }
79929 ]
79930 }
79931 ],
79932 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table></body></html>",
79933 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>"
79934 }
79935 },
79936 {
79937 "data": "<table><thead><td></tbody>A",
79938 "errors": [
79939 "(1,7): expected-doctype-but-got-start-tag",
79940 "(1,18): unexpected-cell-in-table-body",
79941 "(1,26): XXX-undefined-error",
79942 "(1,27): expected-closing-tag-but-got-eof"
79943 ],
79944 "document": {
79945 "props": {
79946 "tags": {
79947 "html": true,
79948 "head": true,
79949 "body": true,
79950 "table": true,
79951 "thead": true,
79952 "tr": true,
79953 "td": true
79954 }
79955 },
79956 "tree": [
79957 {
79958 "tag": "html",
79959 "children": [
79960 {
79961 "tag": "head"
79962 },
79963 {
79964 "tag": "body",
79965 "children": [
79966 {
79967 "tag": "table",
79968 "children": [
79969 {
79970 "tag": "thead",
79971 "children": [
79972 {
79973 "tag": "tr",
79974 "children": [
79975 {
79976 "tag": "td",
79977 "children": [
79978 {
79979 "text": "A"
79980 }
79981 ]
79982 }
79983 ]
79984 }
79985 ]
79986 }
79987 ]
79988 }
79989 ]
79990 }
79991 ]
79992 }
79993 ],
79994 "html": "<html><head></head><body><table><thead><tr><td>A</td></tr></thead></table></body></html>",
79995 "noQuirksBodyHtml": "<table><thead><tr><td>A</td></tr></thead></table>"
79996 }
79997 },
79998 {
79999 "data": "<legend>test</legend>",
80000 "errors": [],
80001 "document": {
80002 "props": {
80003 "tags": {
80004 "html": true,
80005 "head": true,
80006 "body": true,
80007 "legend": true
80008 }
80009 },
80010 "tree": [
80011 {
80012 "tag": "html",
80013 "children": [
80014 {
80015 "tag": "head"
80016 },
80017 {
80018 "tag": "body",
80019 "children": [
80020 {
80021 "tag": "legend",
80022 "children": [
80023 {
80024 "text": "test"
80025 }
80026 ]
80027 }
80028 ]
80029 }
80030 ]
80031 }
80032 ],
80033 "html": "<html><head></head><body><legend>test</legend></body></html>",
80034 "noQuirksBodyHtml": "<legend>test</legend>"
80035 }
80036 },
80037 {
80038 "data": "<table><input>",
80039 "errors": [],
80040 "document": {
80041 "props": {
80042 "tags": {
80043 "html": true,
80044 "head": true,
80045 "body": true,
80046 "input": true,
80047 "table": true
80048 }
80049 },
80050 "tree": [
80051 {
80052 "tag": "html",
80053 "children": [
80054 {
80055 "tag": "head"
80056 },
80057 {
80058 "tag": "body",
80059 "children": [
80060 {
80061 "tag": "input"
80062 },
80063 {
80064 "tag": "table"
80065 }
80066 ]
80067 }
80068 ]
80069 }
80070 ],
80071 "html": "<html><head></head><body><input><table></table></body></html>",
80072 "noQuirksBodyHtml": "<input><table></table>"
80073 }
80074 },
80075 {
80076 "data": "<b><em><foo><foo><aside></b>",
80077 "errors": [],
80078 "document": {
80079 "props": {
80080 "tags": {
80081 "html": true,
80082 "head": true,
80083 "body": true,
80084 "b": true,
80085 "em": true,
80086 "foo": true,
80087 "aside": true
80088 }
80089 },
80090 "tree": [
80091 {
80092 "tag": "html",
80093 "children": [
80094 {
80095 "tag": "head"
80096 },
80097 {
80098 "tag": "body",
80099 "children": [
80100 {
80101 "tag": "b",
80102 "children": [
80103 {
80104 "tag": "em",
80105 "children": [
80106 {
80107 "tag": "foo",
80108 "children": [
80109 {
80110 "tag": "foo"
80111 }
80112 ]
80113 }
80114 ]
80115 }
80116 ]
80117 },
80118 {
80119 "tag": "em",
80120 "children": [
80121 {
80122 "tag": "aside",
80123 "children": [
80124 {
80125 "tag": "b"
80126 }
80127 ]
80128 }
80129 ]
80130 }
80131 ]
80132 }
80133 ]
80134 }
80135 ],
80136 "html": "<html><head></head><body><b><em><foo><foo></foo></foo></em></b><em><aside><b></b></aside></em></body></html>",
80137 "noQuirksBodyHtml": "<b><em><foo><foo></foo></foo></em></b><em><aside><b></b></aside></em>"
80138 }
80139 },
80140 {
80141 "data": "<b><em><foo><foo><aside></b></em>",
80142 "errors": [],
80143 "document": {
80144 "props": {
80145 "tags": {
80146 "html": true,
80147 "head": true,
80148 "body": true,
80149 "b": true,
80150 "em": true,
80151 "foo": true,
80152 "aside": true
80153 }
80154 },
80155 "tree": [
80156 {
80157 "tag": "html",
80158 "children": [
80159 {
80160 "tag": "head"
80161 },
80162 {
80163 "tag": "body",
80164 "children": [
80165 {
80166 "tag": "b",
80167 "children": [
80168 {
80169 "tag": "em",
80170 "children": [
80171 {
80172 "tag": "foo",
80173 "children": [
80174 {
80175 "tag": "foo"
80176 }
80177 ]
80178 }
80179 ]
80180 }
80181 ]
80182 },
80183 {
80184 "tag": "em"
80185 },
80186 {
80187 "tag": "aside",
80188 "children": [
80189 {
80190 "tag": "em",
80191 "children": [
80192 {
80193 "tag": "b"
80194 }
80195 ]
80196 }
80197 ]
80198 }
80199 ]
80200 }
80201 ]
80202 }
80203 ],
80204 "html": "<html><head></head><body><b><em><foo><foo></foo></foo></em></b><em></em><aside><em><b></b></em></aside></body></html>",
80205 "noQuirksBodyHtml": "<b><em><foo><foo></foo></foo></em></b><em></em><aside><em><b></b></em></aside>"
80206 }
80207 },
80208 {
80209 "data": "<b><em><foo><foo><foo><aside></b>",
80210 "errors": [],
80211 "document": {
80212 "props": {
80213 "tags": {
80214 "html": true,
80215 "head": true,
80216 "body": true,
80217 "b": true,
80218 "em": true,
80219 "foo": true,
80220 "aside": true
80221 }
80222 },
80223 "tree": [
80224 {
80225 "tag": "html",
80226 "children": [
80227 {
80228 "tag": "head"
80229 },
80230 {
80231 "tag": "body",
80232 "children": [
80233 {
80234 "tag": "b",
80235 "children": [
80236 {
80237 "tag": "em",
80238 "children": [
80239 {
80240 "tag": "foo",
80241 "children": [
80242 {
80243 "tag": "foo",
80244 "children": [
80245 {
80246 "tag": "foo"
80247 }
80248 ]
80249 }
80250 ]
80251 }
80252 ]
80253 }
80254 ]
80255 },
80256 {
80257 "tag": "aside",
80258 "children": [
80259 {
80260 "tag": "b"
80261 }
80262 ]
80263 }
80264 ]
80265 }
80266 ]
80267 }
80268 ],
80269 "html": "<html><head></head><body><b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside></body></html>",
80270 "noQuirksBodyHtml": "<b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside>"
80271 }
80272 },
80273 {
80274 "data": "<b><em><foo><foo><foo><aside></b></em>",
80275 "errors": [],
80276 "document": {
80277 "props": {
80278 "tags": {
80279 "html": true,
80280 "head": true,
80281 "body": true,
80282 "b": true,
80283 "em": true,
80284 "foo": true,
80285 "aside": true
80286 }
80287 },
80288 "tree": [
80289 {
80290 "tag": "html",
80291 "children": [
80292 {
80293 "tag": "head"
80294 },
80295 {
80296 "tag": "body",
80297 "children": [
80298 {
80299 "tag": "b",
80300 "children": [
80301 {
80302 "tag": "em",
80303 "children": [
80304 {
80305 "tag": "foo",
80306 "children": [
80307 {
80308 "tag": "foo",
80309 "children": [
80310 {
80311 "tag": "foo"
80312 }
80313 ]
80314 }
80315 ]
80316 }
80317 ]
80318 }
80319 ]
80320 },
80321 {
80322 "tag": "aside",
80323 "children": [
80324 {
80325 "tag": "b"
80326 }
80327 ]
80328 }
80329 ]
80330 }
80331 ]
80332 }
80333 ],
80334 "html": "<html><head></head><body><b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside></body></html>",
80335 "noQuirksBodyHtml": "<b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside>"
80336 }
80337 },
80338 {
80339 "data": "<b><em><foo><foo><foo><foo><foo><foo><foo><foo><foo><foo><aside></b></em>",
80340 "errors": [],
80341 "fragment": {
80342 "name": "div"
80343 },
80344 "document": {
80345 "props": {
80346 "tags": {
80347 "b": true,
80348 "em": true,
80349 "foo": true,
80350 "aside": true
80351 }
80352 },
80353 "tree": [
80354 {
80355 "tag": "b",
80356 "children": [
80357 {
80358 "tag": "em",
80359 "children": [
80360 {
80361 "tag": "foo",
80362 "children": [
80363 {
80364 "tag": "foo",
80365 "children": [
80366 {
80367 "tag": "foo",
80368 "children": [
80369 {
80370 "tag": "foo",
80371 "children": [
80372 {
80373 "tag": "foo",
80374 "children": [
80375 {
80376 "tag": "foo",
80377 "children": [
80378 {
80379 "tag": "foo",
80380 "children": [
80381 {
80382 "tag": "foo",
80383 "children": [
80384 {
80385 "tag": "foo",
80386 "children": [
80387 {
80388 "tag": "foo"
80389 }
80390 ]
80391 }
80392 ]
80393 }
80394 ]
80395 }
80396 ]
80397 }
80398 ]
80399 }
80400 ]
80401 }
80402 ]
80403 }
80404 ]
80405 }
80406 ]
80407 }
80408 ]
80409 }
80410 ]
80411 },
80412 {
80413 "tag": "aside",
80414 "children": [
80415 {
80416 "tag": "b"
80417 }
80418 ]
80419 }
80420 ],
80421 "html": "<b><em><foo><foo><foo><foo><foo><foo><foo><foo><foo><foo></foo></foo></foo></foo></foo></foo></foo></foo></foo></foo></em></b><aside><b></b></aside>",
80422 "noQuirksBodyHtml": "<b><em><foo><foo><foo><foo><foo><foo><foo><foo><foo><foo></foo></foo></foo></foo></foo></foo></foo></foo></foo></foo></em></b><aside><b></b></aside>"
80423 }
80424 },
80425 {
80426 "data": "<b><em><foo><foob><foob><foob><foob><fooc><fooc><fooc><fooc><food><aside></b></em>",
80427 "errors": [],
80428 "fragment": {
80429 "name": "div"
80430 },
80431 "document": {
80432 "props": {
80433 "tags": {
80434 "b": true,
80435 "em": true,
80436 "foo": true,
80437 "foob": true,
80438 "fooc": true,
80439 "food": true,
80440 "aside": true
80441 }
80442 },
80443 "tree": [
80444 {
80445 "tag": "b",
80446 "children": [
80447 {
80448 "tag": "em",
80449 "children": [
80450 {
80451 "tag": "foo",
80452 "children": [
80453 {
80454 "tag": "foob",
80455 "children": [
80456 {
80457 "tag": "foob",
80458 "children": [
80459 {
80460 "tag": "foob",
80461 "children": [
80462 {
80463 "tag": "foob",
80464 "children": [
80465 {
80466 "tag": "fooc",
80467 "children": [
80468 {
80469 "tag": "fooc",
80470 "children": [
80471 {
80472 "tag": "fooc",
80473 "children": [
80474 {
80475 "tag": "fooc",
80476 "children": [
80477 {
80478 "tag": "food"
80479 }
80480 ]
80481 }
80482 ]
80483 }
80484 ]
80485 }
80486 ]
80487 }
80488 ]
80489 }
80490 ]
80491 }
80492 ]
80493 }
80494 ]
80495 }
80496 ]
80497 }
80498 ]
80499 }
80500 ]
80501 },
80502 {
80503 "tag": "aside",
80504 "children": [
80505 {
80506 "tag": "b"
80507 }
80508 ]
80509 }
80510 ],
80511 "html": "<b><em><foo><foob><foob><foob><foob><fooc><fooc><fooc><fooc><food></food></fooc></fooc></fooc></fooc></foob></foob></foob></foob></foo></em></b><aside><b></b></aside>",
80512 "noQuirksBodyHtml": "<b><em><foo><foob><foob><foob><foob><fooc><fooc><fooc><fooc><food></food></fooc></fooc></fooc></fooc></foob></foob></foob></foob></foo></em></b><aside><b></b></aside>"
80513 }
80514 },
80515 {
80516 "data": "<option><XH<optgroup></optgroup>",
80517 "errors": [],
80518 "fragment": {
80519 "name": "select"
80520 },
80521 "document": {
80522 "props": {
80523 "tags": {
80524 "option": true
80525 }
80526 },
80527 "tree": [
80528 {
80529 "tag": "option"
80530 }
80531 ],
80532 "html": "<option></option>",
80533 "noQuirksBodyHtml": "<option><xh<optgroup></xh<optgroup></option>"
80534 }
80535 },
80536 {
80537 "data": "<svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div>",
80538 "errors": [],
80539 "document": {
80540 "props": {
80541 "tags": {
80542 "html": true,
80543 "head": true,
80544 "body": true,
80545 "svg svg": true,
80546 "svg foreignObject": true,
80547 "div": true,
80548 "plaintext": true
80549 },
80550 "no_escape": true
80551 },
80552 "tree": [
80553 {
80554 "tag": "html",
80555 "children": [
80556 {
80557 "tag": "head"
80558 },
80559 {
80560 "tag": "body",
80561 "children": [
80562 {
80563 "tag": "svg",
80564 "ns": "http://www.w3.org/2000/svg",
80565 "children": [
80566 {
80567 "tag": "foreignObject",
80568 "ns": "http://www.w3.org/2000/svg",
80569 "children": [
80570 {
80571 "tag": "div",
80572 "children": [
80573 {
80574 "text": "foo"
80575 }
80576 ]
80577 },
80578 {
80579 "tag": "plaintext",
80580 "children": [
80581 {
80582 "text": "</foreignObject></svg><div>bar</div>",
80583 "no_escape": true
80584 }
80585 ]
80586 }
80587 ]
80588 }
80589 ]
80590 }
80591 ]
80592 }
80593 ]
80594 }
80595 ],
80596 "html": "<html><head></head><body><svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div></plaintext></foreignObject></svg></body></html>",
80597 "noQuirksBodyHtml": "<svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div></plaintext></foreignObject></svg>"
80598 }
80599 },
80600 {
80601 "data": "<svg><foreignObject></foreignObject><title></svg>foo",
80602 "errors": [],
80603 "document": {
80604 "props": {
80605 "tags": {
80606 "html": true,
80607 "head": true,
80608 "body": true,
80609 "svg svg": true,
80610 "svg foreignObject": true,
80611 "svg title": true
80612 }
80613 },
80614 "tree": [
80615 {
80616 "tag": "html",
80617 "children": [
80618 {
80619 "tag": "head"
80620 },
80621 {
80622 "tag": "body",
80623 "children": [
80624 {
80625 "tag": "svg",
80626 "ns": "http://www.w3.org/2000/svg",
80627 "children": [
80628 {
80629 "tag": "foreignObject",
80630 "ns": "http://www.w3.org/2000/svg"
80631 },
80632 {
80633 "tag": "title",
80634 "ns": "http://www.w3.org/2000/svg"
80635 }
80636 ]
80637 },
80638 {
80639 "text": "foo"
80640 }
80641 ]
80642 }
80643 ]
80644 }
80645 ],
80646 "html": "<html><head></head><body><svg><foreignObject></foreignObject><title></title></svg>foo</body></html>",
80647 "noQuirksBodyHtml": "<svg><foreignObject></foreignObject><title></title></svg>foo"
80648 }
80649 },
80650 {
80651 "data": "</foreignObject><plaintext><div>foo</div>",
80652 "errors": [],
80653 "document": {
80654 "props": {
80655 "tags": {
80656 "html": true,
80657 "head": true,
80658 "body": true,
80659 "plaintext": true
80660 },
80661 "no_escape": true
80662 },
80663 "tree": [
80664 {
80665 "tag": "html",
80666 "children": [
80667 {
80668 "tag": "head"
80669 },
80670 {
80671 "tag": "body",
80672 "children": [
80673 {
80674 "tag": "plaintext",
80675 "children": [
80676 {
80677 "text": "<div>foo</div>",
80678 "no_escape": true
80679 }
80680 ]
80681 }
80682 ]
80683 }
80684 ]
80685 }
80686 ],
80687 "html": "<html><head></head><body><plaintext><div>foo</div></plaintext></body></html>",
80688 "noQuirksBodyHtml": "<plaintext><div>foo</div></plaintext>"
80689 }
80690 }
80691 ]
80692 }