Merge "Remove .mw-help-field-hint and -data CSS classes from mw.legacy/shared"
[lhc/web/wiklou.git] / tests / phpunit / 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 "adoption02.dat": [
1248 {
1249 "data": "<b>1<i>2<p>3</b>4",
1250 "errors": [
1251 "(1,3): expected-doctype-but-got-start-tag",
1252 "(1,16): adoption-agency-1.3",
1253 "(1,17): expected-closing-tag-but-got-eof"
1254 ],
1255 "document": {
1256 "props": {
1257 "tags": {
1258 "html": true,
1259 "head": true,
1260 "body": true,
1261 "b": true,
1262 "i": true,
1263 "p": true
1264 }
1265 },
1266 "tree": [
1267 {
1268 "tag": "html",
1269 "children": [
1270 {
1271 "tag": "head"
1272 },
1273 {
1274 "tag": "body",
1275 "children": [
1276 {
1277 "tag": "b",
1278 "children": [
1279 {
1280 "text": "1"
1281 },
1282 {
1283 "tag": "i",
1284 "children": [
1285 {
1286 "text": "2"
1287 }
1288 ]
1289 }
1290 ]
1291 },
1292 {
1293 "tag": "i",
1294 "children": [
1295 {
1296 "tag": "p",
1297 "children": [
1298 {
1299 "tag": "b",
1300 "children": [
1301 {
1302 "text": "3"
1303 }
1304 ]
1305 },
1306 {
1307 "text": "4"
1308 }
1309 ]
1310 }
1311 ]
1312 }
1313 ]
1314 }
1315 ]
1316 }
1317 ],
1318 "html": "<html><head></head><body><b>1<i>2</i></b><i><p><b>3</b>4</p></i></body></html>",
1319 "noQuirksBodyHtml": "<b>1<i>2</i></b><i><p><b>3</b>4</p></i>"
1320 }
1321 },
1322 {
1323 "data": "<a><div><style></style><address><a>",
1324 "errors": [
1325 "(1,3): expected-doctype-but-got-start-tag",
1326 "(1,35): unexpected-start-tag-implies-end-tag",
1327 "(1,35): adoption-agency-1.3",
1328 "(1,35): adoption-agency-1.3",
1329 "(1,35): expected-closing-tag-but-got-eof"
1330 ],
1331 "document": {
1332 "props": {
1333 "tags": {
1334 "html": true,
1335 "head": true,
1336 "body": true,
1337 "a": true,
1338 "div": true,
1339 "style": true,
1340 "address": true
1341 }
1342 },
1343 "tree": [
1344 {
1345 "tag": "html",
1346 "children": [
1347 {
1348 "tag": "head"
1349 },
1350 {
1351 "tag": "body",
1352 "children": [
1353 {
1354 "tag": "a"
1355 },
1356 {
1357 "tag": "div",
1358 "children": [
1359 {
1360 "tag": "a",
1361 "children": [
1362 {
1363 "tag": "style"
1364 }
1365 ]
1366 },
1367 {
1368 "tag": "address",
1369 "children": [
1370 {
1371 "tag": "a"
1372 },
1373 {
1374 "tag": "a"
1375 }
1376 ]
1377 }
1378 ]
1379 }
1380 ]
1381 }
1382 ]
1383 }
1384 ],
1385 "html": "<html><head></head><body><a></a><div><a><style></style></a><address><a></a><a></a></address></div></body></html>",
1386 "noQuirksBodyHtml": "<a></a><div><a><style></style></a><address><a></a><a></a></address></div>"
1387 }
1388 }
1389 ],
1390 "comments01.dat": [
1391 {
1392 "data": "FOO<!-- BAR -->BAZ",
1393 "errors": [
1394 "(1,3): expected-doctype-but-got-chars"
1395 ],
1396 "document": {
1397 "props": {
1398 "tags": {
1399 "html": true,
1400 "head": true,
1401 "body": true
1402 },
1403 "comment": true
1404 },
1405 "tree": [
1406 {
1407 "tag": "html",
1408 "children": [
1409 {
1410 "tag": "head"
1411 },
1412 {
1413 "tag": "body",
1414 "children": [
1415 {
1416 "text": "FOO"
1417 },
1418 {
1419 "comment": " BAR "
1420 },
1421 {
1422 "text": "BAZ"
1423 }
1424 ]
1425 }
1426 ]
1427 }
1428 ],
1429 "html": "<html><head></head><body>FOO<!-- BAR -->BAZ</body></html>",
1430 "noQuirksBodyHtml": "FOO<!-- BAR -->BAZ"
1431 }
1432 },
1433 {
1434 "data": "FOO<!-- BAR --!>BAZ",
1435 "errors": [
1436 "(1,3): expected-doctype-but-got-chars",
1437 "(1,15): unexpected-bang-after-double-dash-in-comment"
1438 ],
1439 "document": {
1440 "props": {
1441 "tags": {
1442 "html": true,
1443 "head": true,
1444 "body": true
1445 },
1446 "comment": true
1447 },
1448 "tree": [
1449 {
1450 "tag": "html",
1451 "children": [
1452 {
1453 "tag": "head"
1454 },
1455 {
1456 "tag": "body",
1457 "children": [
1458 {
1459 "text": "FOO"
1460 },
1461 {
1462 "comment": " BAR "
1463 },
1464 {
1465 "text": "BAZ"
1466 }
1467 ]
1468 }
1469 ]
1470 }
1471 ],
1472 "html": "<html><head></head><body>FOO<!-- BAR -->BAZ</body></html>",
1473 "noQuirksBodyHtml": "FOO<!-- BAR -->BAZ"
1474 }
1475 },
1476 {
1477 "data": "FOO<!-- BAR -- >BAZ",
1478 "errors": [
1479 "(1,3): expected-doctype-but-got-chars",
1480 "(1,15): unexpected-char-in-comment",
1481 "(1,21): eof-in-comment"
1482 ],
1483 "document": {
1484 "props": {
1485 "tags": {
1486 "html": true,
1487 "head": true,
1488 "body": true
1489 },
1490 "comment": true
1491 },
1492 "tree": [
1493 {
1494 "tag": "html",
1495 "children": [
1496 {
1497 "tag": "head"
1498 },
1499 {
1500 "tag": "body",
1501 "children": [
1502 {
1503 "text": "FOO"
1504 },
1505 {
1506 "comment": " BAR -- >BAZ"
1507 }
1508 ]
1509 }
1510 ]
1511 }
1512 ],
1513 "html": "<html><head></head><body>FOO<!-- BAR -- >BAZ--></body></html>",
1514 "noQuirksBodyHtml": "FOO<!-- BAR -- >BAZ-->"
1515 }
1516 },
1517 {
1518 "data": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ",
1519 "errors": [
1520 "(1,3): expected-doctype-but-got-chars",
1521 "(1,15): unexpected-char-in-comment",
1522 "(1,24): unexpected-char-in-comment"
1523 ],
1524 "document": {
1525 "props": {
1526 "tags": {
1527 "html": true,
1528 "head": true,
1529 "body": true
1530 },
1531 "comment": true
1532 },
1533 "tree": [
1534 {
1535 "tag": "html",
1536 "children": [
1537 {
1538 "tag": "head"
1539 },
1540 {
1541 "tag": "body",
1542 "children": [
1543 {
1544 "text": "FOO"
1545 },
1546 {
1547 "comment": " BAR -- <QUX> -- MUX "
1548 },
1549 {
1550 "text": "BAZ"
1551 }
1552 ]
1553 }
1554 ]
1555 }
1556 ],
1557 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -->BAZ</body></html>",
1558 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ"
1559 }
1560 },
1561 {
1562 "data": "FOO<!-- BAR -- <QUX> -- MUX --!>BAZ",
1563 "errors": [
1564 "(1,3): expected-doctype-but-got-chars",
1565 "(1,15): unexpected-char-in-comment",
1566 "(1,24): unexpected-char-in-comment",
1567 "(1,31): unexpected-bang-after-double-dash-in-comment"
1568 ],
1569 "document": {
1570 "props": {
1571 "tags": {
1572 "html": true,
1573 "head": true,
1574 "body": true
1575 },
1576 "comment": true
1577 },
1578 "tree": [
1579 {
1580 "tag": "html",
1581 "children": [
1582 {
1583 "tag": "head"
1584 },
1585 {
1586 "tag": "body",
1587 "children": [
1588 {
1589 "text": "FOO"
1590 },
1591 {
1592 "comment": " BAR -- <QUX> -- MUX "
1593 },
1594 {
1595 "text": "BAZ"
1596 }
1597 ]
1598 }
1599 ]
1600 }
1601 ],
1602 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -->BAZ</body></html>",
1603 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -->BAZ"
1604 }
1605 },
1606 {
1607 "data": "FOO<!-- BAR -- <QUX> -- MUX -- >BAZ",
1608 "errors": [
1609 "(1,3): expected-doctype-but-got-chars",
1610 "(1,15): unexpected-char-in-comment",
1611 "(1,24): unexpected-char-in-comment",
1612 "(1,31): unexpected-char-in-comment",
1613 "(1,35): eof-in-comment"
1614 ],
1615 "document": {
1616 "props": {
1617 "tags": {
1618 "html": true,
1619 "head": true,
1620 "body": true
1621 },
1622 "comment": true
1623 },
1624 "tree": [
1625 {
1626 "tag": "html",
1627 "children": [
1628 {
1629 "tag": "head"
1630 },
1631 {
1632 "tag": "body",
1633 "children": [
1634 {
1635 "text": "FOO"
1636 },
1637 {
1638 "comment": " BAR -- <QUX> -- MUX -- >BAZ"
1639 }
1640 ]
1641 }
1642 ]
1643 }
1644 ],
1645 "html": "<html><head></head><body>FOO<!-- BAR -- <QUX> -- MUX -- >BAZ--></body></html>",
1646 "noQuirksBodyHtml": "FOO<!-- BAR -- <QUX> -- MUX -- >BAZ-->"
1647 }
1648 },
1649 {
1650 "data": "FOO<!---->BAZ",
1651 "errors": [
1652 "(1,3): expected-doctype-but-got-chars"
1653 ],
1654 "document": {
1655 "props": {
1656 "tags": {
1657 "html": true,
1658 "head": true,
1659 "body": true
1660 },
1661 "comment": true
1662 },
1663 "tree": [
1664 {
1665 "tag": "html",
1666 "children": [
1667 {
1668 "tag": "head"
1669 },
1670 {
1671 "tag": "body",
1672 "children": [
1673 {
1674 "text": "FOO"
1675 },
1676 {
1677 "comment": ""
1678 },
1679 {
1680 "text": "BAZ"
1681 }
1682 ]
1683 }
1684 ]
1685 }
1686 ],
1687 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1688 "noQuirksBodyHtml": "FOO<!---->BAZ"
1689 }
1690 },
1691 {
1692 "data": "FOO<!--->BAZ",
1693 "errors": [
1694 "(1,3): expected-doctype-but-got-chars",
1695 "(1,9): incorrect-comment"
1696 ],
1697 "document": {
1698 "props": {
1699 "tags": {
1700 "html": true,
1701 "head": true,
1702 "body": true
1703 },
1704 "comment": true
1705 },
1706 "tree": [
1707 {
1708 "tag": "html",
1709 "children": [
1710 {
1711 "tag": "head"
1712 },
1713 {
1714 "tag": "body",
1715 "children": [
1716 {
1717 "text": "FOO"
1718 },
1719 {
1720 "comment": ""
1721 },
1722 {
1723 "text": "BAZ"
1724 }
1725 ]
1726 }
1727 ]
1728 }
1729 ],
1730 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1731 "noQuirksBodyHtml": "FOO<!---->BAZ"
1732 }
1733 },
1734 {
1735 "data": "FOO<!-->BAZ",
1736 "errors": [
1737 "(1,3): expected-doctype-but-got-chars",
1738 "(1,8): incorrect-comment"
1739 ],
1740 "document": {
1741 "props": {
1742 "tags": {
1743 "html": true,
1744 "head": true,
1745 "body": true
1746 },
1747 "comment": true
1748 },
1749 "tree": [
1750 {
1751 "tag": "html",
1752 "children": [
1753 {
1754 "tag": "head"
1755 },
1756 {
1757 "tag": "body",
1758 "children": [
1759 {
1760 "text": "FOO"
1761 },
1762 {
1763 "comment": ""
1764 },
1765 {
1766 "text": "BAZ"
1767 }
1768 ]
1769 }
1770 ]
1771 }
1772 ],
1773 "html": "<html><head></head><body>FOO<!---->BAZ</body></html>",
1774 "noQuirksBodyHtml": "FOO<!---->BAZ"
1775 }
1776 },
1777 {
1778 "data": "<?xml version=\"1.0\">Hi",
1779 "errors": [
1780 "(1,1): expected-tag-name-but-got-question-mark",
1781 "(1,22): expected-doctype-but-got-chars"
1782 ],
1783 "document": {
1784 "props": {
1785 "tags": {
1786 "html": true,
1787 "head": true,
1788 "body": true
1789 },
1790 "comment": true
1791 },
1792 "tree": [
1793 {
1794 "comment": "?xml version=\"1.0\""
1795 },
1796 {
1797 "tag": "html",
1798 "children": [
1799 {
1800 "tag": "head"
1801 },
1802 {
1803 "tag": "body",
1804 "children": [
1805 {
1806 "text": "Hi"
1807 }
1808 ]
1809 }
1810 ]
1811 }
1812 ],
1813 "html": "<!--?xml version=\"1.0\"--><html><head></head><body>Hi</body></html>",
1814 "noQuirksBodyHtml": "<!--?xml version=\"1.0\"-->Hi"
1815 }
1816 },
1817 {
1818 "data": "<?xml version=\"1.0\">",
1819 "errors": [
1820 "(1,1): expected-tag-name-but-got-question-mark",
1821 "(1,20): expected-doctype-but-got-eof"
1822 ],
1823 "document": {
1824 "props": {
1825 "tags": {
1826 "html": true,
1827 "head": true,
1828 "body": true
1829 },
1830 "comment": true
1831 },
1832 "tree": [
1833 {
1834 "comment": "?xml version=\"1.0\""
1835 },
1836 {
1837 "tag": "html",
1838 "children": [
1839 {
1840 "tag": "head"
1841 },
1842 {
1843 "tag": "body"
1844 }
1845 ]
1846 }
1847 ],
1848 "html": "<!--?xml version=\"1.0\"--><html><head></head><body></body></html>",
1849 "noQuirksBodyHtml": "<!--?xml version=\"1.0\"-->"
1850 }
1851 },
1852 {
1853 "data": "<?xml version",
1854 "errors": [
1855 "(1,1): expected-tag-name-but-got-question-mark",
1856 "(1,13): expected-doctype-but-got-eof"
1857 ],
1858 "document": {
1859 "props": {
1860 "tags": {
1861 "html": true,
1862 "head": true,
1863 "body": true
1864 },
1865 "comment": true
1866 },
1867 "tree": [
1868 {
1869 "comment": "?xml version"
1870 },
1871 {
1872 "tag": "html",
1873 "children": [
1874 {
1875 "tag": "head"
1876 },
1877 {
1878 "tag": "body"
1879 }
1880 ]
1881 }
1882 ],
1883 "html": "<!--?xml version--><html><head></head><body></body></html>",
1884 "noQuirksBodyHtml": "<!--?xml version-->"
1885 }
1886 },
1887 {
1888 "data": "FOO<!----->BAZ",
1889 "errors": [
1890 "(1,3): expected-doctype-but-got-chars",
1891 "(1,10): unexpected-dash-after-double-dash-in-comment"
1892 ],
1893 "document": {
1894 "props": {
1895 "tags": {
1896 "html": true,
1897 "head": true,
1898 "body": true
1899 },
1900 "comment": true
1901 },
1902 "tree": [
1903 {
1904 "tag": "html",
1905 "children": [
1906 {
1907 "tag": "head"
1908 },
1909 {
1910 "tag": "body",
1911 "children": [
1912 {
1913 "text": "FOO"
1914 },
1915 {
1916 "comment": "-"
1917 },
1918 {
1919 "text": "BAZ"
1920 }
1921 ]
1922 }
1923 ]
1924 }
1925 ],
1926 "html": "<html><head></head><body>FOO<!----->BAZ</body></html>",
1927 "noQuirksBodyHtml": "FOO<!----->BAZ"
1928 }
1929 },
1930 {
1931 "data": "<html><!-- comment --><title>Comment before head</title>",
1932 "errors": [
1933 "(1,6): expected-doctype-but-got-start-tag"
1934 ],
1935 "document": {
1936 "props": {
1937 "tags": {
1938 "html": true,
1939 "head": true,
1940 "title": true,
1941 "body": true
1942 },
1943 "comment": true
1944 },
1945 "tree": [
1946 {
1947 "tag": "html",
1948 "children": [
1949 {
1950 "comment": " comment "
1951 },
1952 {
1953 "tag": "head",
1954 "children": [
1955 {
1956 "tag": "title",
1957 "children": [
1958 {
1959 "text": "Comment before head"
1960 }
1961 ]
1962 }
1963 ]
1964 },
1965 {
1966 "tag": "body"
1967 }
1968 ]
1969 }
1970 ],
1971 "html": "<html><!-- comment --><head><title>Comment before head</title></head><body></body></html>",
1972 "noQuirksBodyHtml": "<!-- comment --><title>Comment before head</title>"
1973 }
1974 }
1975 ],
1976 "doctype01.dat": [
1977 {
1978 "data": "<!DOCTYPE html>Hello",
1979 "errors": [],
1980 "document": {
1981 "props": {
1982 "tags": {
1983 "html": true,
1984 "head": true,
1985 "body": true
1986 },
1987 "doctype": true
1988 },
1989 "tree": [
1990 {
1991 "doctype": "html"
1992 },
1993 {
1994 "tag": "html",
1995 "children": [
1996 {
1997 "tag": "head"
1998 },
1999 {
2000 "tag": "body",
2001 "children": [
2002 {
2003 "text": "Hello"
2004 }
2005 ]
2006 }
2007 ]
2008 }
2009 ],
2010 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2011 "noQuirksBodyHtml": "Hello"
2012 }
2013 },
2014 {
2015 "data": "<!dOctYpE HtMl>Hello",
2016 "errors": [],
2017 "document": {
2018 "props": {
2019 "tags": {
2020 "html": true,
2021 "head": true,
2022 "body": true
2023 },
2024 "doctype": true
2025 },
2026 "tree": [
2027 {
2028 "doctype": "html"
2029 },
2030 {
2031 "tag": "html",
2032 "children": [
2033 {
2034 "tag": "head"
2035 },
2036 {
2037 "tag": "body",
2038 "children": [
2039 {
2040 "text": "Hello"
2041 }
2042 ]
2043 }
2044 ]
2045 }
2046 ],
2047 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2048 "noQuirksBodyHtml": "Hello"
2049 }
2050 },
2051 {
2052 "data": "<!DOCTYPEhtml>Hello",
2053 "errors": [
2054 "(1,9): need-space-after-doctype"
2055 ],
2056 "document": {
2057 "props": {
2058 "tags": {
2059 "html": true,
2060 "head": true,
2061 "body": true
2062 },
2063 "doctype": true
2064 },
2065 "tree": [
2066 {
2067 "doctype": "html"
2068 },
2069 {
2070 "tag": "html",
2071 "children": [
2072 {
2073 "tag": "head"
2074 },
2075 {
2076 "tag": "body",
2077 "children": [
2078 {
2079 "text": "Hello"
2080 }
2081 ]
2082 }
2083 ]
2084 }
2085 ],
2086 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
2087 "noQuirksBodyHtml": "Hello"
2088 }
2089 },
2090 {
2091 "data": "<!DOCTYPE>Hello",
2092 "errors": [
2093 "(1,9): need-space-after-doctype",
2094 "(1,10): expected-doctype-name-but-got-right-bracket",
2095 "(1,10): unknown-doctype"
2096 ],
2097 "document": {
2098 "props": {
2099 "tags": {
2100 "html": true,
2101 "head": true,
2102 "body": true
2103 },
2104 "doctype": true
2105 },
2106 "tree": [
2107 {
2108 "doctype": ""
2109 },
2110 {
2111 "tag": "html",
2112 "children": [
2113 {
2114 "tag": "head"
2115 },
2116 {
2117 "tag": "body",
2118 "children": [
2119 {
2120 "text": "Hello"
2121 }
2122 ]
2123 }
2124 ]
2125 }
2126 ],
2127 "html": "<!DOCTYPE ><html><head></head><body>Hello</body></html>",
2128 "noQuirksBodyHtml": "Hello"
2129 }
2130 },
2131 {
2132 "data": "<!DOCTYPE >Hello",
2133 "errors": [
2134 "(1,11): expected-doctype-name-but-got-right-bracket",
2135 "(1,11): unknown-doctype"
2136 ],
2137 "document": {
2138 "props": {
2139 "tags": {
2140 "html": true,
2141 "head": true,
2142 "body": true
2143 },
2144 "doctype": true
2145 },
2146 "tree": [
2147 {
2148 "doctype": ""
2149 },
2150 {
2151 "tag": "html",
2152 "children": [
2153 {
2154 "tag": "head"
2155 },
2156 {
2157 "tag": "body",
2158 "children": [
2159 {
2160 "text": "Hello"
2161 }
2162 ]
2163 }
2164 ]
2165 }
2166 ],
2167 "html": "<!DOCTYPE ><html><head></head><body>Hello</body></html>",
2168 "noQuirksBodyHtml": "Hello"
2169 }
2170 },
2171 {
2172 "data": "<!DOCTYPE potato>Hello",
2173 "errors": [
2174 "(1,17): unknown-doctype"
2175 ],
2176 "document": {
2177 "props": {
2178 "tags": {
2179 "html": true,
2180 "head": true,
2181 "body": true
2182 },
2183 "doctype": true
2184 },
2185 "tree": [
2186 {
2187 "doctype": "potato"
2188 },
2189 {
2190 "tag": "html",
2191 "children": [
2192 {
2193 "tag": "head"
2194 },
2195 {
2196 "tag": "body",
2197 "children": [
2198 {
2199 "text": "Hello"
2200 }
2201 ]
2202 }
2203 ]
2204 }
2205 ],
2206 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2207 "noQuirksBodyHtml": "Hello"
2208 }
2209 },
2210 {
2211 "data": "<!DOCTYPE potato >Hello",
2212 "errors": [
2213 "(1,18): unknown-doctype"
2214 ],
2215 "document": {
2216 "props": {
2217 "tags": {
2218 "html": true,
2219 "head": true,
2220 "body": true
2221 },
2222 "doctype": true
2223 },
2224 "tree": [
2225 {
2226 "doctype": "potato"
2227 },
2228 {
2229 "tag": "html",
2230 "children": [
2231 {
2232 "tag": "head"
2233 },
2234 {
2235 "tag": "body",
2236 "children": [
2237 {
2238 "text": "Hello"
2239 }
2240 ]
2241 }
2242 ]
2243 }
2244 ],
2245 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2246 "noQuirksBodyHtml": "Hello"
2247 }
2248 },
2249 {
2250 "data": "<!DOCTYPE potato taco>Hello",
2251 "errors": [
2252 "(1,17): expected-space-or-right-bracket-in-doctype",
2253 "(1,22): unknown-doctype"
2254 ],
2255 "document": {
2256 "props": {
2257 "tags": {
2258 "html": true,
2259 "head": true,
2260 "body": true
2261 },
2262 "doctype": true
2263 },
2264 "tree": [
2265 {
2266 "doctype": "potato"
2267 },
2268 {
2269 "tag": "html",
2270 "children": [
2271 {
2272 "tag": "head"
2273 },
2274 {
2275 "tag": "body",
2276 "children": [
2277 {
2278 "text": "Hello"
2279 }
2280 ]
2281 }
2282 ]
2283 }
2284 ],
2285 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2286 "noQuirksBodyHtml": "Hello"
2287 }
2288 },
2289 {
2290 "data": "<!DOCTYPE potato taco \"ddd>Hello",
2291 "errors": [
2292 "(1,17): expected-space-or-right-bracket-in-doctype",
2293 "(1,27): unknown-doctype"
2294 ],
2295 "document": {
2296 "props": {
2297 "tags": {
2298 "html": true,
2299 "head": true,
2300 "body": true
2301 },
2302 "doctype": true
2303 },
2304 "tree": [
2305 {
2306 "doctype": "potato"
2307 },
2308 {
2309 "tag": "html",
2310 "children": [
2311 {
2312 "tag": "head"
2313 },
2314 {
2315 "tag": "body",
2316 "children": [
2317 {
2318 "text": "Hello"
2319 }
2320 ]
2321 }
2322 ]
2323 }
2324 ],
2325 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2326 "noQuirksBodyHtml": "Hello"
2327 }
2328 },
2329 {
2330 "data": "<!DOCTYPE potato sYstEM>Hello",
2331 "errors": [
2332 "(1,24): unexpected-char-in-doctype",
2333 "(1,24): unknown-doctype"
2334 ],
2335 "document": {
2336 "props": {
2337 "tags": {
2338 "html": true,
2339 "head": true,
2340 "body": true
2341 },
2342 "doctype": true
2343 },
2344 "tree": [
2345 {
2346 "doctype": "potato"
2347 },
2348 {
2349 "tag": "html",
2350 "children": [
2351 {
2352 "tag": "head"
2353 },
2354 {
2355 "tag": "body",
2356 "children": [
2357 {
2358 "text": "Hello"
2359 }
2360 ]
2361 }
2362 ]
2363 }
2364 ],
2365 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2366 "noQuirksBodyHtml": "Hello"
2367 }
2368 },
2369 {
2370 "data": "<!DOCTYPE potato sYstEM >Hello",
2371 "errors": [
2372 "(1,28): unexpected-char-in-doctype",
2373 "(1,28): unknown-doctype"
2374 ],
2375 "document": {
2376 "props": {
2377 "tags": {
2378 "html": true,
2379 "head": true,
2380 "body": true
2381 },
2382 "doctype": true
2383 },
2384 "tree": [
2385 {
2386 "doctype": "potato"
2387 },
2388 {
2389 "tag": "html",
2390 "children": [
2391 {
2392 "tag": "head"
2393 },
2394 {
2395 "tag": "body",
2396 "children": [
2397 {
2398 "text": "Hello"
2399 }
2400 ]
2401 }
2402 ]
2403 }
2404 ],
2405 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2406 "noQuirksBodyHtml": "Hello"
2407 }
2408 },
2409 {
2410 "data": "<!DOCTYPE potato sYstEM ggg>Hello",
2411 "errors": [
2412 "(1,34): unexpected-char-in-doctype",
2413 "(1,37): unknown-doctype"
2414 ],
2415 "document": {
2416 "props": {
2417 "tags": {
2418 "html": true,
2419 "head": true,
2420 "body": true
2421 },
2422 "doctype": true
2423 },
2424 "tree": [
2425 {
2426 "doctype": "potato"
2427 },
2428 {
2429 "tag": "html",
2430 "children": [
2431 {
2432 "tag": "head"
2433 },
2434 {
2435 "tag": "body",
2436 "children": [
2437 {
2438 "text": "Hello"
2439 }
2440 ]
2441 }
2442 ]
2443 }
2444 ],
2445 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2446 "noQuirksBodyHtml": "Hello"
2447 }
2448 },
2449 {
2450 "data": "<!DOCTYPE potato SYSTEM taco >Hello",
2451 "errors": [
2452 "(1,25): unexpected-char-in-doctype",
2453 "(1,31): unknown-doctype"
2454 ],
2455 "document": {
2456 "props": {
2457 "tags": {
2458 "html": true,
2459 "head": true,
2460 "body": true
2461 },
2462 "doctype": true
2463 },
2464 "tree": [
2465 {
2466 "doctype": "potato"
2467 },
2468 {
2469 "tag": "html",
2470 "children": [
2471 {
2472 "tag": "head"
2473 },
2474 {
2475 "tag": "body",
2476 "children": [
2477 {
2478 "text": "Hello"
2479 }
2480 ]
2481 }
2482 ]
2483 }
2484 ],
2485 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2486 "noQuirksBodyHtml": "Hello"
2487 }
2488 },
2489 {
2490 "data": "<!DOCTYPE potato SYSTEM 'taco\"'>Hello",
2491 "errors": [
2492 "(1,32): unknown-doctype"
2493 ],
2494 "document": {
2495 "props": {
2496 "tags": {
2497 "html": true,
2498 "head": true,
2499 "body": true
2500 },
2501 "doctype": true
2502 },
2503 "tree": [
2504 {
2505 "doctype": "potato \"\" \"taco\"\""
2506 },
2507 {
2508 "tag": "html",
2509 "children": [
2510 {
2511 "tag": "head"
2512 },
2513 {
2514 "tag": "body",
2515 "children": [
2516 {
2517 "text": "Hello"
2518 }
2519 ]
2520 }
2521 ]
2522 }
2523 ],
2524 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2525 "noQuirksBodyHtml": "Hello"
2526 }
2527 },
2528 {
2529 "data": "<!DOCTYPE potato SYSTEM \"taco\">Hello",
2530 "errors": [
2531 "(1,31): unknown-doctype"
2532 ],
2533 "document": {
2534 "props": {
2535 "tags": {
2536 "html": true,
2537 "head": true,
2538 "body": true
2539 },
2540 "doctype": true
2541 },
2542 "tree": [
2543 {
2544 "doctype": "potato \"\" \"taco\""
2545 },
2546 {
2547 "tag": "html",
2548 "children": [
2549 {
2550 "tag": "head"
2551 },
2552 {
2553 "tag": "body",
2554 "children": [
2555 {
2556 "text": "Hello"
2557 }
2558 ]
2559 }
2560 ]
2561 }
2562 ],
2563 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2564 "noQuirksBodyHtml": "Hello"
2565 }
2566 },
2567 {
2568 "data": "<!DOCTYPE potato SYSTEM \"tai'co\">Hello",
2569 "errors": [
2570 "(1,33): unknown-doctype"
2571 ],
2572 "document": {
2573 "props": {
2574 "tags": {
2575 "html": true,
2576 "head": true,
2577 "body": true
2578 },
2579 "doctype": true
2580 },
2581 "tree": [
2582 {
2583 "doctype": "potato \"\" \"tai'co\""
2584 },
2585 {
2586 "tag": "html",
2587 "children": [
2588 {
2589 "tag": "head"
2590 },
2591 {
2592 "tag": "body",
2593 "children": [
2594 {
2595 "text": "Hello"
2596 }
2597 ]
2598 }
2599 ]
2600 }
2601 ],
2602 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2603 "noQuirksBodyHtml": "Hello"
2604 }
2605 },
2606 {
2607 "data": "<!DOCTYPE potato SYSTEMtaco \"ddd\">Hello",
2608 "errors": [
2609 "(1,24): unexpected-char-in-doctype",
2610 "(1,34): unknown-doctype"
2611 ],
2612 "document": {
2613 "props": {
2614 "tags": {
2615 "html": true,
2616 "head": true,
2617 "body": true
2618 },
2619 "doctype": true
2620 },
2621 "tree": [
2622 {
2623 "doctype": "potato"
2624 },
2625 {
2626 "tag": "html",
2627 "children": [
2628 {
2629 "tag": "head"
2630 },
2631 {
2632 "tag": "body",
2633 "children": [
2634 {
2635 "text": "Hello"
2636 }
2637 ]
2638 }
2639 ]
2640 }
2641 ],
2642 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2643 "noQuirksBodyHtml": "Hello"
2644 }
2645 },
2646 {
2647 "data": "<!DOCTYPE potato grass SYSTEM taco>Hello",
2648 "errors": [
2649 "(1,17): expected-space-or-right-bracket-in-doctype",
2650 "(1,35): unknown-doctype"
2651 ],
2652 "document": {
2653 "props": {
2654 "tags": {
2655 "html": true,
2656 "head": true,
2657 "body": true
2658 },
2659 "doctype": true
2660 },
2661 "tree": [
2662 {
2663 "doctype": "potato"
2664 },
2665 {
2666 "tag": "html",
2667 "children": [
2668 {
2669 "tag": "head"
2670 },
2671 {
2672 "tag": "body",
2673 "children": [
2674 {
2675 "text": "Hello"
2676 }
2677 ]
2678 }
2679 ]
2680 }
2681 ],
2682 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2683 "noQuirksBodyHtml": "Hello"
2684 }
2685 },
2686 {
2687 "data": "<!DOCTYPE potato pUbLIc>Hello",
2688 "errors": [
2689 "(1,24): unexpected-end-of-doctype",
2690 "(1,24): unknown-doctype"
2691 ],
2692 "document": {
2693 "props": {
2694 "tags": {
2695 "html": true,
2696 "head": true,
2697 "body": true
2698 },
2699 "doctype": true
2700 },
2701 "tree": [
2702 {
2703 "doctype": "potato"
2704 },
2705 {
2706 "tag": "html",
2707 "children": [
2708 {
2709 "tag": "head"
2710 },
2711 {
2712 "tag": "body",
2713 "children": [
2714 {
2715 "text": "Hello"
2716 }
2717 ]
2718 }
2719 ]
2720 }
2721 ],
2722 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2723 "noQuirksBodyHtml": "Hello"
2724 }
2725 },
2726 {
2727 "data": "<!DOCTYPE potato pUbLIc >Hello",
2728 "errors": [
2729 "(1,25): unexpected-end-of-doctype",
2730 "(1,25): unknown-doctype"
2731 ],
2732 "document": {
2733 "props": {
2734 "tags": {
2735 "html": true,
2736 "head": true,
2737 "body": true
2738 },
2739 "doctype": true
2740 },
2741 "tree": [
2742 {
2743 "doctype": "potato"
2744 },
2745 {
2746 "tag": "html",
2747 "children": [
2748 {
2749 "tag": "head"
2750 },
2751 {
2752 "tag": "body",
2753 "children": [
2754 {
2755 "text": "Hello"
2756 }
2757 ]
2758 }
2759 ]
2760 }
2761 ],
2762 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2763 "noQuirksBodyHtml": "Hello"
2764 }
2765 },
2766 {
2767 "data": "<!DOCTYPE potato pUbLIcgoof>Hello",
2768 "errors": [
2769 "(1,24): unexpected-char-in-doctype",
2770 "(1,28): unknown-doctype"
2771 ],
2772 "document": {
2773 "props": {
2774 "tags": {
2775 "html": true,
2776 "head": true,
2777 "body": true
2778 },
2779 "doctype": true
2780 },
2781 "tree": [
2782 {
2783 "doctype": "potato"
2784 },
2785 {
2786 "tag": "html",
2787 "children": [
2788 {
2789 "tag": "head"
2790 },
2791 {
2792 "tag": "body",
2793 "children": [
2794 {
2795 "text": "Hello"
2796 }
2797 ]
2798 }
2799 ]
2800 }
2801 ],
2802 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2803 "noQuirksBodyHtml": "Hello"
2804 }
2805 },
2806 {
2807 "data": "<!DOCTYPE potato PUBLIC goof>Hello",
2808 "errors": [
2809 "(1,25): unexpected-char-in-doctype",
2810 "(1,29): unknown-doctype"
2811 ],
2812 "document": {
2813 "props": {
2814 "tags": {
2815 "html": true,
2816 "head": true,
2817 "body": true
2818 },
2819 "doctype": true
2820 },
2821 "tree": [
2822 {
2823 "doctype": "potato"
2824 },
2825 {
2826 "tag": "html",
2827 "children": [
2828 {
2829 "tag": "head"
2830 },
2831 {
2832 "tag": "body",
2833 "children": [
2834 {
2835 "text": "Hello"
2836 }
2837 ]
2838 }
2839 ]
2840 }
2841 ],
2842 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2843 "noQuirksBodyHtml": "Hello"
2844 }
2845 },
2846 {
2847 "data": "<!DOCTYPE potato PUBLIC \"go'of\">Hello",
2848 "errors": [
2849 "(1,32): unknown-doctype"
2850 ],
2851 "document": {
2852 "props": {
2853 "tags": {
2854 "html": true,
2855 "head": true,
2856 "body": true
2857 },
2858 "doctype": true
2859 },
2860 "tree": [
2861 {
2862 "doctype": "potato \"go'of\" \"\""
2863 },
2864 {
2865 "tag": "html",
2866 "children": [
2867 {
2868 "tag": "head"
2869 },
2870 {
2871 "tag": "body",
2872 "children": [
2873 {
2874 "text": "Hello"
2875 }
2876 ]
2877 }
2878 ]
2879 }
2880 ],
2881 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2882 "noQuirksBodyHtml": "Hello"
2883 }
2884 },
2885 {
2886 "data": "<!DOCTYPE potato PUBLIC 'go'of'>Hello",
2887 "errors": [
2888 "(1,29): unexpected-char-in-doctype",
2889 "(1,32): unknown-doctype"
2890 ],
2891 "document": {
2892 "props": {
2893 "tags": {
2894 "html": true,
2895 "head": true,
2896 "body": true
2897 },
2898 "doctype": true
2899 },
2900 "tree": [
2901 {
2902 "doctype": "potato \"go\" \"\""
2903 },
2904 {
2905 "tag": "html",
2906 "children": [
2907 {
2908 "tag": "head"
2909 },
2910 {
2911 "tag": "body",
2912 "children": [
2913 {
2914 "text": "Hello"
2915 }
2916 ]
2917 }
2918 ]
2919 }
2920 ],
2921 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2922 "noQuirksBodyHtml": "Hello"
2923 }
2924 },
2925 {
2926 "data": "<!DOCTYPE potato PUBLIC 'go:hh of' >Hello",
2927 "errors": [
2928 "(1,38): unknown-doctype"
2929 ],
2930 "document": {
2931 "props": {
2932 "tags": {
2933 "html": true,
2934 "head": true,
2935 "body": true
2936 },
2937 "doctype": true
2938 },
2939 "tree": [
2940 {
2941 "doctype": "potato \"go:hh of\" \"\""
2942 },
2943 {
2944 "tag": "html",
2945 "children": [
2946 {
2947 "tag": "head"
2948 },
2949 {
2950 "tag": "body",
2951 "children": [
2952 {
2953 "text": "Hello"
2954 }
2955 ]
2956 }
2957 ]
2958 }
2959 ],
2960 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
2961 "noQuirksBodyHtml": "Hello"
2962 }
2963 },
2964 {
2965 "data": "<!DOCTYPE potato PUBLIC \"W3C-//dfdf\" SYSTEM ggg>Hello",
2966 "errors": [
2967 "(1,38): unexpected-char-in-doctype",
2968 "(1,48): unknown-doctype"
2969 ],
2970 "document": {
2971 "props": {
2972 "tags": {
2973 "html": true,
2974 "head": true,
2975 "body": true
2976 },
2977 "doctype": true
2978 },
2979 "tree": [
2980 {
2981 "doctype": "potato \"W3C-//dfdf\" \"\""
2982 },
2983 {
2984 "tag": "html",
2985 "children": [
2986 {
2987 "tag": "head"
2988 },
2989 {
2990 "tag": "body",
2991 "children": [
2992 {
2993 "text": "Hello"
2994 }
2995 ]
2996 }
2997 ]
2998 }
2999 ],
3000 "html": "<!DOCTYPE potato><html><head></head><body>Hello</body></html>",
3001 "noQuirksBodyHtml": "Hello"
3002 }
3003 },
3004 {
3005 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">Hello",
3006 "errors": [],
3007 "document": {
3008 "props": {
3009 "tags": {
3010 "html": true,
3011 "head": true,
3012 "body": true
3013 },
3014 "doctype": true
3015 },
3016 "tree": [
3017 {
3018 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3019 },
3020 {
3021 "tag": "html",
3022 "children": [
3023 {
3024 "tag": "head"
3025 },
3026 {
3027 "tag": "body",
3028 "children": [
3029 {
3030 "text": "Hello"
3031 }
3032 ]
3033 }
3034 ]
3035 }
3036 ],
3037 "html": "<!DOCTYPE html><html><head></head><body>Hello</body></html>",
3038 "noQuirksBodyHtml": "Hello"
3039 }
3040 },
3041 {
3042 "data": "<!DOCTYPE ...>Hello",
3043 "errors": [
3044 "(1,14): unknown-doctype"
3045 ],
3046 "document": {
3047 "props": {
3048 "tags": {
3049 "html": true,
3050 "head": true,
3051 "body": true
3052 },
3053 "doctype": true
3054 },
3055 "tree": [
3056 {
3057 "doctype": "..."
3058 },
3059 {
3060 "tag": "html",
3061 "children": [
3062 {
3063 "tag": "head"
3064 },
3065 {
3066 "tag": "body",
3067 "children": [
3068 {
3069 "text": "Hello"
3070 }
3071 ]
3072 }
3073 ]
3074 }
3075 ],
3076 "html": "<!DOCTYPE ...><html><head></head><body>Hello</body></html>",
3077 "noQuirksBodyHtml": "Hello"
3078 }
3079 },
3080 {
3081 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
3082 "errors": [
3083 "(2,58): unknown-doctype"
3084 ],
3085 "document": {
3086 "props": {
3087 "tags": {
3088 "html": true,
3089 "head": true,
3090 "body": true
3091 },
3092 "doctype": true
3093 },
3094 "tree": [
3095 {
3096 "doctype": "html \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
3097 },
3098 {
3099 "tag": "html",
3100 "children": [
3101 {
3102 "tag": "head"
3103 },
3104 {
3105 "tag": "body"
3106 }
3107 ]
3108 }
3109 ],
3110 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3111 "noQuirksBodyHtml": ""
3112 }
3113 },
3114 {
3115 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Frameset//EN\"\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\">",
3116 "errors": [
3117 "(2,54): unknown-doctype"
3118 ],
3119 "document": {
3120 "props": {
3121 "tags": {
3122 "html": true,
3123 "head": true,
3124 "body": true
3125 },
3126 "doctype": true
3127 },
3128 "tree": [
3129 {
3130 "doctype": "html \"-//W3C//DTD XHTML 1.0 Frameset//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd\""
3131 },
3132 {
3133 "tag": "html",
3134 "children": [
3135 {
3136 "tag": "head"
3137 },
3138 {
3139 "tag": "body"
3140 }
3141 ]
3142 }
3143 ],
3144 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3145 "noQuirksBodyHtml": ""
3146 }
3147 },
3148 {
3149 "data": "<!DOCTYPE root-element [SYSTEM OR PUBLIC FPI] \"uri\" [ \n<!-- internal declarations -->\n]>",
3150 "errors": [
3151 "(1,23): expected-space-or-right-bracket-in-doctype",
3152 "(2,30): unknown-doctype"
3153 ],
3154 "document": {
3155 "props": {
3156 "tags": {
3157 "html": true,
3158 "head": true,
3159 "body": true
3160 },
3161 "doctype": true,
3162 "escaped": true
3163 },
3164 "tree": [
3165 {
3166 "doctype": "root-element"
3167 },
3168 {
3169 "tag": "html",
3170 "children": [
3171 {
3172 "tag": "head"
3173 },
3174 {
3175 "tag": "body",
3176 "children": [
3177 {
3178 "text": "]>",
3179 "escaped": true
3180 }
3181 ]
3182 }
3183 ]
3184 }
3185 ],
3186 "html": "<!DOCTYPE root-element><html><head></head><body>]&gt;</body></html>",
3187 "noQuirksBodyHtml": "\n]&gt;"
3188 }
3189 },
3190 {
3191 "data": "<!DOCTYPE html PUBLIC\n \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\n \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">",
3192 "errors": [
3193 "(3,53): unknown-doctype"
3194 ],
3195 "document": {
3196 "props": {
3197 "tags": {
3198 "html": true,
3199 "head": true,
3200 "body": true
3201 },
3202 "doctype": true
3203 },
3204 "tree": [
3205 {
3206 "doctype": "html \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\""
3207 },
3208 {
3209 "tag": "html",
3210 "children": [
3211 {
3212 "tag": "head"
3213 },
3214 {
3215 "tag": "body"
3216 }
3217 ]
3218 }
3219 ],
3220 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3221 "noQuirksBodyHtml": ""
3222 }
3223 },
3224 {
3225 "data": "<!DOCTYPE HTML SYSTEM \"http://www.w3.org/DTD/HTML4-strict.dtd\"><body><b>Mine!</b></body>",
3226 "errors": [
3227 "(1,63): unknown-doctype"
3228 ],
3229 "document": {
3230 "props": {
3231 "tags": {
3232 "html": true,
3233 "head": true,
3234 "body": true,
3235 "b": true
3236 },
3237 "doctype": true
3238 },
3239 "tree": [
3240 {
3241 "doctype": "html \"\" \"http://www.w3.org/DTD/HTML4-strict.dtd\""
3242 },
3243 {
3244 "tag": "html",
3245 "children": [
3246 {
3247 "tag": "head"
3248 },
3249 {
3250 "tag": "body",
3251 "children": [
3252 {
3253 "tag": "b",
3254 "children": [
3255 {
3256 "text": "Mine!"
3257 }
3258 ]
3259 }
3260 ]
3261 }
3262 ]
3263 }
3264 ],
3265 "html": "<!DOCTYPE html><html><head></head><body><b>Mine!</b></body></html>",
3266 "noQuirksBodyHtml": "<b>Mine!</b>"
3267 }
3268 },
3269 {
3270 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">",
3271 "errors": [
3272 "(1,50): unexpected-char-in-doctype"
3273 ],
3274 "document": {
3275 "props": {
3276 "tags": {
3277 "html": true,
3278 "head": true,
3279 "body": true
3280 },
3281 "doctype": true
3282 },
3283 "tree": [
3284 {
3285 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3286 },
3287 {
3288 "tag": "html",
3289 "children": [
3290 {
3291 "tag": "head"
3292 },
3293 {
3294 "tag": "body"
3295 }
3296 ]
3297 }
3298 ],
3299 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3300 "noQuirksBodyHtml": ""
3301 }
3302 },
3303 {
3304 "data": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>",
3305 "errors": [
3306 "(1,50): unexpected-char-in-doctype"
3307 ],
3308 "document": {
3309 "props": {
3310 "tags": {
3311 "html": true,
3312 "head": true,
3313 "body": true
3314 },
3315 "doctype": true
3316 },
3317 "tree": [
3318 {
3319 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3320 },
3321 {
3322 "tag": "html",
3323 "children": [
3324 {
3325 "tag": "head"
3326 },
3327 {
3328 "tag": "body"
3329 }
3330 ]
3331 }
3332 ],
3333 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3334 "noQuirksBodyHtml": ""
3335 }
3336 },
3337 {
3338 "data": "<!DOCTYPE HTML PUBLIC\"-//W3C//DTD HTML 4.01//EN\"'http://www.w3.org/TR/html4/strict.dtd'>",
3339 "errors": [
3340 "(1,21): unexpected-char-in-doctype",
3341 "(1,49): unexpected-char-in-doctype"
3342 ],
3343 "document": {
3344 "props": {
3345 "tags": {
3346 "html": true,
3347 "head": true,
3348 "body": true
3349 },
3350 "doctype": true
3351 },
3352 "tree": [
3353 {
3354 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3355 },
3356 {
3357 "tag": "html",
3358 "children": [
3359 {
3360 "tag": "head"
3361 },
3362 {
3363 "tag": "body"
3364 }
3365 ]
3366 }
3367 ],
3368 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3369 "noQuirksBodyHtml": ""
3370 }
3371 },
3372 {
3373 "data": "<!DOCTYPE HTML PUBLIC'-//W3C//DTD HTML 4.01//EN''http://www.w3.org/TR/html4/strict.dtd'>",
3374 "errors": [
3375 "(1,21): unexpected-char-in-doctype",
3376 "(1,49): unexpected-char-in-doctype"
3377 ],
3378 "document": {
3379 "props": {
3380 "tags": {
3381 "html": true,
3382 "head": true,
3383 "body": true
3384 },
3385 "doctype": true
3386 },
3387 "tree": [
3388 {
3389 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\""
3390 },
3391 {
3392 "tag": "html",
3393 "children": [
3394 {
3395 "tag": "head"
3396 },
3397 {
3398 "tag": "body"
3399 }
3400 ]
3401 }
3402 ],
3403 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
3404 "noQuirksBodyHtml": ""
3405 }
3406 }
3407 ],
3408 "domjs-unsafe.dat": [
3409 {
3410 "data": "<svg><![CDATA[foo\nbar]]>",
3411 "errors": [
3412 "(1,5): expected-doctype-but-got-start-tag",
3413 "(2,6): expected-closing-tag-but-got-eof"
3414 ],
3415 "document": {
3416 "props": {
3417 "tags": {
3418 "html": true,
3419 "head": true,
3420 "body": true,
3421 "svg svg": true
3422 }
3423 },
3424 "tree": [
3425 {
3426 "tag": "html",
3427 "children": [
3428 {
3429 "tag": "head"
3430 },
3431 {
3432 "tag": "body",
3433 "children": [
3434 {
3435 "tag": "svg",
3436 "ns": "http://www.w3.org/2000/svg",
3437 "children": [
3438 {
3439 "text": "foo\nbar"
3440 }
3441 ]
3442 }
3443 ]
3444 }
3445 ]
3446 }
3447 ],
3448 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3449 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3450 }
3451 },
3452 {
3453 "data": "<svg><![CDATA[foo\rbar]]>",
3454 "errors": [
3455 "(1,5): expected-doctype-but-got-start-tag",
3456 "(2,6): expected-closing-tag-but-got-eof"
3457 ],
3458 "document": {
3459 "props": {
3460 "tags": {
3461 "html": true,
3462 "head": true,
3463 "body": true,
3464 "svg svg": true
3465 }
3466 },
3467 "tree": [
3468 {
3469 "tag": "html",
3470 "children": [
3471 {
3472 "tag": "head"
3473 },
3474 {
3475 "tag": "body",
3476 "children": [
3477 {
3478 "tag": "svg",
3479 "ns": "http://www.w3.org/2000/svg",
3480 "children": [
3481 {
3482 "text": "foo\nbar"
3483 }
3484 ]
3485 }
3486 ]
3487 }
3488 ]
3489 }
3490 ],
3491 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3492 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3493 }
3494 },
3495 {
3496 "data": "<svg><![CDATA[foo\r\nbar]]>",
3497 "errors": [
3498 "(1,5): expected-doctype-but-got-start-tag",
3499 "(2,6): expected-closing-tag-but-got-eof"
3500 ],
3501 "document": {
3502 "props": {
3503 "tags": {
3504 "html": true,
3505 "head": true,
3506 "body": true,
3507 "svg svg": true
3508 }
3509 },
3510 "tree": [
3511 {
3512 "tag": "html",
3513 "children": [
3514 {
3515 "tag": "head"
3516 },
3517 {
3518 "tag": "body",
3519 "children": [
3520 {
3521 "tag": "svg",
3522 "ns": "http://www.w3.org/2000/svg",
3523 "children": [
3524 {
3525 "text": "foo\nbar"
3526 }
3527 ]
3528 }
3529 ]
3530 }
3531 ]
3532 }
3533 ],
3534 "html": "<html><head></head><body><svg>foo\nbar</svg></body></html>",
3535 "noQuirksBodyHtml": "<svg>foo\nbar</svg>"
3536 }
3537 },
3538 {
3539 "data": "<script>a='\u0000'</script>",
3540 "errors": [
3541 "(1,8): expected-doctype-but-got-start-tag",
3542 "(1,12): invalid-codepoint"
3543 ],
3544 "document": {
3545 "props": {
3546 "tags": {
3547 "html": true,
3548 "head": true,
3549 "script": true,
3550 "body": true
3551 },
3552 "no_escape": true
3553 },
3554 "tree": [
3555 {
3556 "tag": "html",
3557 "children": [
3558 {
3559 "tag": "head",
3560 "children": [
3561 {
3562 "tag": "script",
3563 "children": [
3564 {
3565 "text": "a='�'",
3566 "no_escape": true
3567 }
3568 ]
3569 }
3570 ]
3571 },
3572 {
3573 "tag": "body"
3574 }
3575 ]
3576 }
3577 ],
3578 "html": "<html><head><script>a='�'</script></head><body></body></html>",
3579 "noQuirksBodyHtml": "<script>a='�'</script>"
3580 }
3581 },
3582 {
3583 "data": "<script type=\"data\"><!--\u0000</script>",
3584 "errors": [
3585 "(1,20): expected-doctype-but-got-start-tag",
3586 "(1,25): invalid-codepoint"
3587 ],
3588 "document": {
3589 "props": {
3590 "tags": {
3591 "html": true,
3592 "head": true,
3593 "script": true,
3594 "body": true
3595 },
3596 "no_escape": true
3597 },
3598 "tree": [
3599 {
3600 "tag": "html",
3601 "children": [
3602 {
3603 "tag": "head",
3604 "children": [
3605 {
3606 "tag": "script",
3607 "attrs": [
3608 {
3609 "name": "type",
3610 "value": "data"
3611 }
3612 ],
3613 "children": [
3614 {
3615 "text": "<!--�",
3616 "no_escape": true
3617 }
3618 ]
3619 }
3620 ]
3621 },
3622 {
3623 "tag": "body"
3624 }
3625 ]
3626 }
3627 ],
3628 "html": "<html><head><script type=\"data\"><!--�</script></head><body></body></html>",
3629 "noQuirksBodyHtml": "<script type=\"data\"><!--�</script>"
3630 }
3631 },
3632 {
3633 "data": "<script type=\"data\"><!--foo\u0000</script>",
3634 "errors": [
3635 "(1,20): expected-doctype-but-got-start-tag",
3636 "(1,28): invalid-codepoint"
3637 ],
3638 "document": {
3639 "props": {
3640 "tags": {
3641 "html": true,
3642 "head": true,
3643 "script": true,
3644 "body": true
3645 },
3646 "no_escape": true
3647 },
3648 "tree": [
3649 {
3650 "tag": "html",
3651 "children": [
3652 {
3653 "tag": "head",
3654 "children": [
3655 {
3656 "tag": "script",
3657 "attrs": [
3658 {
3659 "name": "type",
3660 "value": "data"
3661 }
3662 ],
3663 "children": [
3664 {
3665 "text": "<!--foo�",
3666 "no_escape": true
3667 }
3668 ]
3669 }
3670 ]
3671 },
3672 {
3673 "tag": "body"
3674 }
3675 ]
3676 }
3677 ],
3678 "html": "<html><head><script type=\"data\"><!--foo�</script></head><body></body></html>",
3679 "noQuirksBodyHtml": "<script type=\"data\"><!--foo�</script>"
3680 }
3681 },
3682 {
3683 "data": "<script type=\"data\"><!-- foo-\u0000</script>",
3684 "errors": [
3685 "(1,20): expected-doctype-but-got-start-tag",
3686 "(1,30): invalid-codepoint"
3687 ],
3688 "document": {
3689 "props": {
3690 "tags": {
3691 "html": true,
3692 "head": true,
3693 "script": true,
3694 "body": true
3695 },
3696 "no_escape": true
3697 },
3698 "tree": [
3699 {
3700 "tag": "html",
3701 "children": [
3702 {
3703 "tag": "head",
3704 "children": [
3705 {
3706 "tag": "script",
3707 "attrs": [
3708 {
3709 "name": "type",
3710 "value": "data"
3711 }
3712 ],
3713 "children": [
3714 {
3715 "text": "<!-- foo-�",
3716 "no_escape": true
3717 }
3718 ]
3719 }
3720 ]
3721 },
3722 {
3723 "tag": "body"
3724 }
3725 ]
3726 }
3727 ],
3728 "html": "<html><head><script type=\"data\"><!-- foo-�</script></head><body></body></html>",
3729 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-�</script>"
3730 }
3731 },
3732 {
3733 "data": "<script type=\"data\"><!-- foo--\u0000</script>",
3734 "errors": [
3735 "(1,20): expected-doctype-but-got-start-tag",
3736 "(1,31): invalid-codepoint"
3737 ],
3738 "document": {
3739 "props": {
3740 "tags": {
3741 "html": true,
3742 "head": true,
3743 "script": true,
3744 "body": true
3745 },
3746 "no_escape": true
3747 },
3748 "tree": [
3749 {
3750 "tag": "html",
3751 "children": [
3752 {
3753 "tag": "head",
3754 "children": [
3755 {
3756 "tag": "script",
3757 "attrs": [
3758 {
3759 "name": "type",
3760 "value": "data"
3761 }
3762 ],
3763 "children": [
3764 {
3765 "text": "<!-- foo--�",
3766 "no_escape": true
3767 }
3768 ]
3769 }
3770 ]
3771 },
3772 {
3773 "tag": "body"
3774 }
3775 ]
3776 }
3777 ],
3778 "html": "<html><head><script type=\"data\"><!-- foo--�</script></head><body></body></html>",
3779 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo--�</script>"
3780 }
3781 },
3782 {
3783 "data": "<script type=\"data\"><!-- foo-",
3784 "errors": [
3785 "(1,20): expected-doctype-but-got-start-tag",
3786 "(1,29): expected-script-data-but-got-eof",
3787 "(1,29): expected-named-closing-tag-but-got-eof"
3788 ],
3789 "document": {
3790 "props": {
3791 "tags": {
3792 "html": true,
3793 "head": true,
3794 "script": true,
3795 "body": true
3796 },
3797 "no_escape": true
3798 },
3799 "tree": [
3800 {
3801 "tag": "html",
3802 "children": [
3803 {
3804 "tag": "head",
3805 "children": [
3806 {
3807 "tag": "script",
3808 "attrs": [
3809 {
3810 "name": "type",
3811 "value": "data"
3812 }
3813 ],
3814 "children": [
3815 {
3816 "text": "<!-- foo-",
3817 "no_escape": true
3818 }
3819 ]
3820 }
3821 ]
3822 },
3823 {
3824 "tag": "body"
3825 }
3826 ]
3827 }
3828 ],
3829 "html": "<html><head><script type=\"data\"><!-- foo-</script></head><body></body></html>",
3830 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-</script>"
3831 }
3832 },
3833 {
3834 "data": "<script type=\"data\"><!-- foo-<</script>",
3835 "errors": [
3836 "(1,20): expected-doctype-but-got-start-tag"
3837 ],
3838 "document": {
3839 "props": {
3840 "tags": {
3841 "html": true,
3842 "head": true,
3843 "script": true,
3844 "body": true
3845 },
3846 "no_escape": true
3847 },
3848 "tree": [
3849 {
3850 "tag": "html",
3851 "children": [
3852 {
3853 "tag": "head",
3854 "children": [
3855 {
3856 "tag": "script",
3857 "attrs": [
3858 {
3859 "name": "type",
3860 "value": "data"
3861 }
3862 ],
3863 "children": [
3864 {
3865 "text": "<!-- foo-<",
3866 "no_escape": true
3867 }
3868 ]
3869 }
3870 ]
3871 },
3872 {
3873 "tag": "body"
3874 }
3875 ]
3876 }
3877 ],
3878 "html": "<html><head><script type=\"data\"><!-- foo-<</script></head><body></body></html>",
3879 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-<</script>"
3880 }
3881 },
3882 {
3883 "data": "<script type=\"data\"><!-- foo-<S",
3884 "errors": [
3885 "(1,20): expected-doctype-but-got-start-tag",
3886 "(1,31): expected-script-data-but-got-eof",
3887 "(1,31): expected-named-closing-tag-but-got-eof"
3888 ],
3889 "document": {
3890 "props": {
3891 "tags": {
3892 "html": true,
3893 "head": true,
3894 "script": true,
3895 "body": true
3896 },
3897 "no_escape": true
3898 },
3899 "tree": [
3900 {
3901 "tag": "html",
3902 "children": [
3903 {
3904 "tag": "head",
3905 "children": [
3906 {
3907 "tag": "script",
3908 "attrs": [
3909 {
3910 "name": "type",
3911 "value": "data"
3912 }
3913 ],
3914 "children": [
3915 {
3916 "text": "<!-- foo-<S",
3917 "no_escape": true
3918 }
3919 ]
3920 }
3921 ]
3922 },
3923 {
3924 "tag": "body"
3925 }
3926 ]
3927 }
3928 ],
3929 "html": "<html><head><script type=\"data\"><!-- foo-<S</script></head><body></body></html>",
3930 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-<S</script>"
3931 }
3932 },
3933 {
3934 "data": "<script type=\"data\"><!-- foo-</SCRIPT>",
3935 "errors": [
3936 "(1,20): expected-doctype-but-got-start-tag"
3937 ],
3938 "document": {
3939 "props": {
3940 "tags": {
3941 "html": true,
3942 "head": true,
3943 "script": true,
3944 "body": true
3945 },
3946 "no_escape": true
3947 },
3948 "tree": [
3949 {
3950 "tag": "html",
3951 "children": [
3952 {
3953 "tag": "head",
3954 "children": [
3955 {
3956 "tag": "script",
3957 "attrs": [
3958 {
3959 "name": "type",
3960 "value": "data"
3961 }
3962 ],
3963 "children": [
3964 {
3965 "text": "<!-- foo-",
3966 "no_escape": true
3967 }
3968 ]
3969 }
3970 ]
3971 },
3972 {
3973 "tag": "body"
3974 }
3975 ]
3976 }
3977 ],
3978 "html": "<html><head><script type=\"data\"><!-- foo-</script></head><body></body></html>",
3979 "noQuirksBodyHtml": "<script type=\"data\"><!-- foo-</script>"
3980 }
3981 },
3982 {
3983 "data": "<script type=\"data\"><!--<p></script>",
3984 "errors": [
3985 "(1,20): expected-doctype-but-got-start-tag"
3986 ],
3987 "document": {
3988 "props": {
3989 "tags": {
3990 "html": true,
3991 "head": true,
3992 "script": true,
3993 "body": true
3994 },
3995 "no_escape": true
3996 },
3997 "tree": [
3998 {
3999 "tag": "html",
4000 "children": [
4001 {
4002 "tag": "head",
4003 "children": [
4004 {
4005 "tag": "script",
4006 "attrs": [
4007 {
4008 "name": "type",
4009 "value": "data"
4010 }
4011 ],
4012 "children": [
4013 {
4014 "text": "<!--<p>",
4015 "no_escape": true
4016 }
4017 ]
4018 }
4019 ]
4020 },
4021 {
4022 "tag": "body"
4023 }
4024 ]
4025 }
4026 ],
4027 "html": "<html><head><script type=\"data\"><!--<p></script></head><body></body></html>",
4028 "noQuirksBodyHtml": "<script type=\"data\"><!--<p></script>"
4029 }
4030 },
4031 {
4032 "data": "<script type=\"data\"><!--<script></script></script>",
4033 "errors": [
4034 "(1,20): expected-doctype-but-got-start-tag"
4035 ],
4036 "document": {
4037 "props": {
4038 "tags": {
4039 "html": true,
4040 "head": true,
4041 "script": true,
4042 "body": true
4043 },
4044 "no_escape": true
4045 },
4046 "tree": [
4047 {
4048 "tag": "html",
4049 "children": [
4050 {
4051 "tag": "head",
4052 "children": [
4053 {
4054 "tag": "script",
4055 "attrs": [
4056 {
4057 "name": "type",
4058 "value": "data"
4059 }
4060 ],
4061 "children": [
4062 {
4063 "text": "<!--<script></script>",
4064 "no_escape": true
4065 }
4066 ]
4067 }
4068 ]
4069 },
4070 {
4071 "tag": "body"
4072 }
4073 ]
4074 }
4075 ],
4076 "html": "<html><head><script type=\"data\"><!--<script></script></script></head><body></body></html>",
4077 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></script></script>"
4078 }
4079 },
4080 {
4081 "data": "<script type=\"data\"><!--<script>\u0000</script></script>",
4082 "errors": [
4083 "(1,20): expected-doctype-but-got-start-tag",
4084 "(1,33): invalid-codepoint"
4085 ],
4086 "document": {
4087 "props": {
4088 "tags": {
4089 "html": true,
4090 "head": true,
4091 "script": true,
4092 "body": true
4093 },
4094 "no_escape": true
4095 },
4096 "tree": [
4097 {
4098 "tag": "html",
4099 "children": [
4100 {
4101 "tag": "head",
4102 "children": [
4103 {
4104 "tag": "script",
4105 "attrs": [
4106 {
4107 "name": "type",
4108 "value": "data"
4109 }
4110 ],
4111 "children": [
4112 {
4113 "text": "<!--<script>�</script>",
4114 "no_escape": true
4115 }
4116 ]
4117 }
4118 ]
4119 },
4120 {
4121 "tag": "body"
4122 }
4123 ]
4124 }
4125 ],
4126 "html": "<html><head><script type=\"data\"><!--<script>�</script></script></head><body></body></html>",
4127 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>�</script></script>"
4128 }
4129 },
4130 {
4131 "data": "<script type=\"data\"><!--<script>-\u0000</script></script>",
4132 "errors": [
4133 "(1,20): expected-doctype-but-got-start-tag",
4134 "(1,34): invalid-codepoint"
4135 ],
4136 "document": {
4137 "props": {
4138 "tags": {
4139 "html": true,
4140 "head": true,
4141 "script": true,
4142 "body": true
4143 },
4144 "no_escape": true
4145 },
4146 "tree": [
4147 {
4148 "tag": "html",
4149 "children": [
4150 {
4151 "tag": "head",
4152 "children": [
4153 {
4154 "tag": "script",
4155 "attrs": [
4156 {
4157 "name": "type",
4158 "value": "data"
4159 }
4160 ],
4161 "children": [
4162 {
4163 "text": "<!--<script>-�</script>",
4164 "no_escape": true
4165 }
4166 ]
4167 }
4168 ]
4169 },
4170 {
4171 "tag": "body"
4172 }
4173 ]
4174 }
4175 ],
4176 "html": "<html><head><script type=\"data\"><!--<script>-�</script></script></head><body></body></html>",
4177 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>-�</script></script>"
4178 }
4179 },
4180 {
4181 "data": "<script type=\"data\"><!--<script>--\u0000</script></script>",
4182 "errors": [
4183 "(1,20): expected-doctype-but-got-start-tag",
4184 "(1,35): invalid-codepoint"
4185 ],
4186 "document": {
4187 "props": {
4188 "tags": {
4189 "html": true,
4190 "head": true,
4191 "script": true,
4192 "body": true
4193 },
4194 "no_escape": true
4195 },
4196 "tree": [
4197 {
4198 "tag": "html",
4199 "children": [
4200 {
4201 "tag": "head",
4202 "children": [
4203 {
4204 "tag": "script",
4205 "attrs": [
4206 {
4207 "name": "type",
4208 "value": "data"
4209 }
4210 ],
4211 "children": [
4212 {
4213 "text": "<!--<script>--�</script>",
4214 "no_escape": true
4215 }
4216 ]
4217 }
4218 ]
4219 },
4220 {
4221 "tag": "body"
4222 }
4223 ]
4224 }
4225 ],
4226 "html": "<html><head><script type=\"data\"><!--<script>--�</script></script></head><body></body></html>",
4227 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>--�</script></script>"
4228 }
4229 },
4230 {
4231 "data": "<script type=\"data\"><!--<script>---</script></script>",
4232 "errors": [
4233 "(1,20): expected-doctype-but-got-start-tag"
4234 ],
4235 "document": {
4236 "props": {
4237 "tags": {
4238 "html": true,
4239 "head": true,
4240 "script": true,
4241 "body": true
4242 },
4243 "no_escape": true
4244 },
4245 "tree": [
4246 {
4247 "tag": "html",
4248 "children": [
4249 {
4250 "tag": "head",
4251 "children": [
4252 {
4253 "tag": "script",
4254 "attrs": [
4255 {
4256 "name": "type",
4257 "value": "data"
4258 }
4259 ],
4260 "children": [
4261 {
4262 "text": "<!--<script>---</script>",
4263 "no_escape": true
4264 }
4265 ]
4266 }
4267 ]
4268 },
4269 {
4270 "tag": "body"
4271 }
4272 ]
4273 }
4274 ],
4275 "html": "<html><head><script type=\"data\"><!--<script>---</script></script></head><body></body></html>",
4276 "noQuirksBodyHtml": "<script type=\"data\"><!--<script>---</script></script>"
4277 }
4278 },
4279 {
4280 "data": "<script type=\"data\"><!--<script></scrip></SCRIPT></script>",
4281 "errors": [
4282 "(1,20): expected-doctype-but-got-start-tag"
4283 ],
4284 "document": {
4285 "props": {
4286 "tags": {
4287 "html": true,
4288 "head": true,
4289 "script": true,
4290 "body": true
4291 },
4292 "no_escape": true
4293 },
4294 "tree": [
4295 {
4296 "tag": "html",
4297 "children": [
4298 {
4299 "tag": "head",
4300 "children": [
4301 {
4302 "tag": "script",
4303 "attrs": [
4304 {
4305 "name": "type",
4306 "value": "data"
4307 }
4308 ],
4309 "children": [
4310 {
4311 "text": "<!--<script></scrip></SCRIPT>",
4312 "no_escape": true
4313 }
4314 ]
4315 }
4316 ]
4317 },
4318 {
4319 "tag": "body"
4320 }
4321 ]
4322 }
4323 ],
4324 "html": "<html><head><script type=\"data\"><!--<script></scrip></SCRIPT></script></head><body></body></html>",
4325 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip></SCRIPT></script>"
4326 }
4327 },
4328 {
4329 "data": "<script type=\"data\"><!--<script></scrip </SCRIPT></script>",
4330 "errors": [
4331 "(1,20): expected-doctype-but-got-start-tag"
4332 ],
4333 "document": {
4334 "props": {
4335 "tags": {
4336 "html": true,
4337 "head": true,
4338 "script": true,
4339 "body": true
4340 },
4341 "no_escape": true
4342 },
4343 "tree": [
4344 {
4345 "tag": "html",
4346 "children": [
4347 {
4348 "tag": "head",
4349 "children": [
4350 {
4351 "tag": "script",
4352 "attrs": [
4353 {
4354 "name": "type",
4355 "value": "data"
4356 }
4357 ],
4358 "children": [
4359 {
4360 "text": "<!--<script></scrip </SCRIPT>",
4361 "no_escape": true
4362 }
4363 ]
4364 }
4365 ]
4366 },
4367 {
4368 "tag": "body"
4369 }
4370 ]
4371 }
4372 ],
4373 "html": "<html><head><script type=\"data\"><!--<script></scrip </SCRIPT></script></head><body></body></html>",
4374 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip </SCRIPT></script>"
4375 }
4376 },
4377 {
4378 "data": "<script type=\"data\"><!--<script></scrip/</SCRIPT></script>",
4379 "errors": [
4380 "(1,20): expected-doctype-but-got-start-tag"
4381 ],
4382 "document": {
4383 "props": {
4384 "tags": {
4385 "html": true,
4386 "head": true,
4387 "script": true,
4388 "body": true
4389 },
4390 "no_escape": true
4391 },
4392 "tree": [
4393 {
4394 "tag": "html",
4395 "children": [
4396 {
4397 "tag": "head",
4398 "children": [
4399 {
4400 "tag": "script",
4401 "attrs": [
4402 {
4403 "name": "type",
4404 "value": "data"
4405 }
4406 ],
4407 "children": [
4408 {
4409 "text": "<!--<script></scrip/</SCRIPT>",
4410 "no_escape": true
4411 }
4412 ]
4413 }
4414 ]
4415 },
4416 {
4417 "tag": "body"
4418 }
4419 ]
4420 }
4421 ],
4422 "html": "<html><head><script type=\"data\"><!--<script></scrip/</SCRIPT></script></head><body></body></html>",
4423 "noQuirksBodyHtml": "<script type=\"data\"><!--<script></scrip/</SCRIPT></script>"
4424 }
4425 },
4426 {
4427 "data": "<script type=\"data\"></scrip/></script>",
4428 "errors": [
4429 "(1,20): expected-doctype-but-got-start-tag"
4430 ],
4431 "document": {
4432 "props": {
4433 "tags": {
4434 "html": true,
4435 "head": true,
4436 "script": true,
4437 "body": true
4438 },
4439 "no_escape": true
4440 },
4441 "tree": [
4442 {
4443 "tag": "html",
4444 "children": [
4445 {
4446 "tag": "head",
4447 "children": [
4448 {
4449 "tag": "script",
4450 "attrs": [
4451 {
4452 "name": "type",
4453 "value": "data"
4454 }
4455 ],
4456 "children": [
4457 {
4458 "text": "</scrip/>",
4459 "no_escape": true
4460 }
4461 ]
4462 }
4463 ]
4464 },
4465 {
4466 "tag": "body"
4467 }
4468 ]
4469 }
4470 ],
4471 "html": "<html><head><script type=\"data\"></scrip/></script></head><body></body></html>",
4472 "noQuirksBodyHtml": "<script type=\"data\"></scrip/></script>"
4473 }
4474 },
4475 {
4476 "data": "<script type=\"data\"></scrip ></script>",
4477 "errors": [
4478 "(1,20): expected-doctype-but-got-start-tag"
4479 ],
4480 "document": {
4481 "props": {
4482 "tags": {
4483 "html": true,
4484 "head": true,
4485 "script": true,
4486 "body": true
4487 },
4488 "no_escape": true
4489 },
4490 "tree": [
4491 {
4492 "tag": "html",
4493 "children": [
4494 {
4495 "tag": "head",
4496 "children": [
4497 {
4498 "tag": "script",
4499 "attrs": [
4500 {
4501 "name": "type",
4502 "value": "data"
4503 }
4504 ],
4505 "children": [
4506 {
4507 "text": "</scrip >",
4508 "no_escape": true
4509 }
4510 ]
4511 }
4512 ]
4513 },
4514 {
4515 "tag": "body"
4516 }
4517 ]
4518 }
4519 ],
4520 "html": "<html><head><script type=\"data\"></scrip ></script></head><body></body></html>",
4521 "noQuirksBodyHtml": "<script type=\"data\"></scrip ></script>"
4522 }
4523 },
4524 {
4525 "data": "<script type=\"data\"><!--</scrip></script>",
4526 "errors": [
4527 "(1,20): expected-doctype-but-got-start-tag"
4528 ],
4529 "document": {
4530 "props": {
4531 "tags": {
4532 "html": true,
4533 "head": true,
4534 "script": true,
4535 "body": true
4536 },
4537 "no_escape": true
4538 },
4539 "tree": [
4540 {
4541 "tag": "html",
4542 "children": [
4543 {
4544 "tag": "head",
4545 "children": [
4546 {
4547 "tag": "script",
4548 "attrs": [
4549 {
4550 "name": "type",
4551 "value": "data"
4552 }
4553 ],
4554 "children": [
4555 {
4556 "text": "<!--</scrip>",
4557 "no_escape": true
4558 }
4559 ]
4560 }
4561 ]
4562 },
4563 {
4564 "tag": "body"
4565 }
4566 ]
4567 }
4568 ],
4569 "html": "<html><head><script type=\"data\"><!--</scrip></script></head><body></body></html>",
4570 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip></script>"
4571 }
4572 },
4573 {
4574 "data": "<script type=\"data\"><!--</scrip </script>",
4575 "errors": [
4576 "(1,20): expected-doctype-but-got-start-tag"
4577 ],
4578 "document": {
4579 "props": {
4580 "tags": {
4581 "html": true,
4582 "head": true,
4583 "script": true,
4584 "body": true
4585 },
4586 "no_escape": true
4587 },
4588 "tree": [
4589 {
4590 "tag": "html",
4591 "children": [
4592 {
4593 "tag": "head",
4594 "children": [
4595 {
4596 "tag": "script",
4597 "attrs": [
4598 {
4599 "name": "type",
4600 "value": "data"
4601 }
4602 ],
4603 "children": [
4604 {
4605 "text": "<!--</scrip ",
4606 "no_escape": true
4607 }
4608 ]
4609 }
4610 ]
4611 },
4612 {
4613 "tag": "body"
4614 }
4615 ]
4616 }
4617 ],
4618 "html": "<html><head><script type=\"data\"><!--</scrip </script></head><body></body></html>",
4619 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip </script>"
4620 }
4621 },
4622 {
4623 "data": "<script type=\"data\"><!--</scrip/</script>",
4624 "errors": [
4625 "(1,20): expected-doctype-but-got-start-tag"
4626 ],
4627 "document": {
4628 "props": {
4629 "tags": {
4630 "html": true,
4631 "head": true,
4632 "script": true,
4633 "body": true
4634 },
4635 "no_escape": true
4636 },
4637 "tree": [
4638 {
4639 "tag": "html",
4640 "children": [
4641 {
4642 "tag": "head",
4643 "children": [
4644 {
4645 "tag": "script",
4646 "attrs": [
4647 {
4648 "name": "type",
4649 "value": "data"
4650 }
4651 ],
4652 "children": [
4653 {
4654 "text": "<!--</scrip/",
4655 "no_escape": true
4656 }
4657 ]
4658 }
4659 ]
4660 },
4661 {
4662 "tag": "body"
4663 }
4664 ]
4665 }
4666 ],
4667 "html": "<html><head><script type=\"data\"><!--</scrip/</script></head><body></body></html>",
4668 "noQuirksBodyHtml": "<script type=\"data\"><!--</scrip/</script>"
4669 }
4670 },
4671 {
4672 "data": "<!DOCTYPE html><!DOCTYPE html>",
4673 "errors": [
4674 "(1,30): unexpected-doctype"
4675 ],
4676 "document": {
4677 "props": {
4678 "tags": {
4679 "html": true,
4680 "head": true,
4681 "body": true
4682 },
4683 "doctype": true
4684 },
4685 "tree": [
4686 {
4687 "doctype": "html"
4688 },
4689 {
4690 "tag": "html",
4691 "children": [
4692 {
4693 "tag": "head"
4694 },
4695 {
4696 "tag": "body"
4697 }
4698 ]
4699 }
4700 ],
4701 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
4702 "noQuirksBodyHtml": ""
4703 }
4704 },
4705 {
4706 "data": "<html><!DOCTYPE html>",
4707 "errors": [
4708 "(1,6): expected-doctype-but-got-start-tag",
4709 "(1,21): unexpected-doctype"
4710 ],
4711 "document": {
4712 "props": {
4713 "tags": {
4714 "html": true,
4715 "head": true,
4716 "body": true
4717 }
4718 },
4719 "tree": [
4720 {
4721 "tag": "html",
4722 "children": [
4723 {
4724 "tag": "head"
4725 },
4726 {
4727 "tag": "body"
4728 }
4729 ]
4730 }
4731 ],
4732 "html": "<html><head></head><body></body></html>",
4733 "noQuirksBodyHtml": ""
4734 }
4735 },
4736 {
4737 "data": "<html><head><!DOCTYPE html></head>",
4738 "errors": [
4739 "(1,6): expected-doctype-but-got-start-tag",
4740 "(1,27): unexpected-doctype"
4741 ],
4742 "document": {
4743 "props": {
4744 "tags": {
4745 "html": true,
4746 "head": true,
4747 "body": true
4748 }
4749 },
4750 "tree": [
4751 {
4752 "tag": "html",
4753 "children": [
4754 {
4755 "tag": "head"
4756 },
4757 {
4758 "tag": "body"
4759 }
4760 ]
4761 }
4762 ],
4763 "html": "<html><head></head><body></body></html>",
4764 "noQuirksBodyHtml": ""
4765 }
4766 },
4767 {
4768 "data": "<html><head></head><!DOCTYPE html>",
4769 "errors": [
4770 "(1,6): expected-doctype-but-got-start-tag",
4771 "(1,34): unexpected-doctype"
4772 ],
4773 "document": {
4774 "props": {
4775 "tags": {
4776 "html": true,
4777 "head": true,
4778 "body": true
4779 }
4780 },
4781 "tree": [
4782 {
4783 "tag": "html",
4784 "children": [
4785 {
4786 "tag": "head"
4787 },
4788 {
4789 "tag": "body"
4790 }
4791 ]
4792 }
4793 ],
4794 "html": "<html><head></head><body></body></html>",
4795 "noQuirksBodyHtml": ""
4796 }
4797 },
4798 {
4799 "data": "<body></body><!DOCTYPE html>",
4800 "errors": [
4801 "(1,6): expected-doctype-but-got-start-tag",
4802 "(1,28): unexpected-doctype"
4803 ],
4804 "document": {
4805 "props": {
4806 "tags": {
4807 "html": true,
4808 "head": true,
4809 "body": true
4810 }
4811 },
4812 "tree": [
4813 {
4814 "tag": "html",
4815 "children": [
4816 {
4817 "tag": "head"
4818 },
4819 {
4820 "tag": "body"
4821 }
4822 ]
4823 }
4824 ],
4825 "html": "<html><head></head><body></body></html>",
4826 "noQuirksBodyHtml": ""
4827 }
4828 },
4829 {
4830 "data": "<table><!DOCTYPE html></table>",
4831 "errors": [
4832 "(1,7): expected-doctype-but-got-start-tag",
4833 "(1,22): unexpected-doctype"
4834 ],
4835 "document": {
4836 "props": {
4837 "tags": {
4838 "html": true,
4839 "head": true,
4840 "body": true,
4841 "table": true
4842 }
4843 },
4844 "tree": [
4845 {
4846 "tag": "html",
4847 "children": [
4848 {
4849 "tag": "head"
4850 },
4851 {
4852 "tag": "body",
4853 "children": [
4854 {
4855 "tag": "table"
4856 }
4857 ]
4858 }
4859 ]
4860 }
4861 ],
4862 "html": "<html><head></head><body><table></table></body></html>",
4863 "noQuirksBodyHtml": "<table></table>"
4864 }
4865 },
4866 {
4867 "data": "<select><!DOCTYPE html></select>",
4868 "errors": [
4869 "(1,8): expected-doctype-but-got-start-tag",
4870 "(1,23): unexpected-doctype"
4871 ],
4872 "document": {
4873 "props": {
4874 "tags": {
4875 "html": true,
4876 "head": true,
4877 "body": true,
4878 "select": true
4879 }
4880 },
4881 "tree": [
4882 {
4883 "tag": "html",
4884 "children": [
4885 {
4886 "tag": "head"
4887 },
4888 {
4889 "tag": "body",
4890 "children": [
4891 {
4892 "tag": "select"
4893 }
4894 ]
4895 }
4896 ]
4897 }
4898 ],
4899 "html": "<html><head></head><body><select></select></body></html>",
4900 "noQuirksBodyHtml": "<select></select>"
4901 }
4902 },
4903 {
4904 "data": "<table><colgroup><!DOCTYPE html></colgroup></table>",
4905 "errors": [
4906 "(1,7): expected-doctype-but-got-start-tag",
4907 "(1,32): unexpected-doctype"
4908 ],
4909 "document": {
4910 "props": {
4911 "tags": {
4912 "html": true,
4913 "head": true,
4914 "body": true,
4915 "table": true,
4916 "colgroup": true
4917 }
4918 },
4919 "tree": [
4920 {
4921 "tag": "html",
4922 "children": [
4923 {
4924 "tag": "head"
4925 },
4926 {
4927 "tag": "body",
4928 "children": [
4929 {
4930 "tag": "table",
4931 "children": [
4932 {
4933 "tag": "colgroup"
4934 }
4935 ]
4936 }
4937 ]
4938 }
4939 ]
4940 }
4941 ],
4942 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
4943 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
4944 }
4945 },
4946 {
4947 "data": "<table><colgroup><!--test--></colgroup></table>",
4948 "errors": [
4949 "(1,7): expected-doctype-but-got-start-tag"
4950 ],
4951 "document": {
4952 "props": {
4953 "tags": {
4954 "html": true,
4955 "head": true,
4956 "body": true,
4957 "table": true,
4958 "colgroup": true
4959 },
4960 "comment": true
4961 },
4962 "tree": [
4963 {
4964 "tag": "html",
4965 "children": [
4966 {
4967 "tag": "head"
4968 },
4969 {
4970 "tag": "body",
4971 "children": [
4972 {
4973 "tag": "table",
4974 "children": [
4975 {
4976 "tag": "colgroup",
4977 "children": [
4978 {
4979 "comment": "test"
4980 }
4981 ]
4982 }
4983 ]
4984 }
4985 ]
4986 }
4987 ]
4988 }
4989 ],
4990 "html": "<html><head></head><body><table><colgroup><!--test--></colgroup></table></body></html>",
4991 "noQuirksBodyHtml": "<table><colgroup><!--test--></colgroup></table>"
4992 }
4993 },
4994 {
4995 "data": "<table><colgroup><html></colgroup></table>",
4996 "errors": [
4997 "(1,7): expected-doctype-but-got-start-tag",
4998 "(1,23): non-html-root"
4999 ],
5000 "document": {
5001 "props": {
5002 "tags": {
5003 "html": true,
5004 "head": true,
5005 "body": true,
5006 "table": true,
5007 "colgroup": true
5008 }
5009 },
5010 "tree": [
5011 {
5012 "tag": "html",
5013 "children": [
5014 {
5015 "tag": "head"
5016 },
5017 {
5018 "tag": "body",
5019 "children": [
5020 {
5021 "tag": "table",
5022 "children": [
5023 {
5024 "tag": "colgroup"
5025 }
5026 ]
5027 }
5028 ]
5029 }
5030 ]
5031 }
5032 ],
5033 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
5034 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
5035 }
5036 },
5037 {
5038 "data": "<table><colgroup> foo</colgroup></table>",
5039 "errors": [
5040 "(1,7): expected-doctype-but-got-start-tag",
5041 "(1,32): foster-parenting-character-in-table",
5042 "(1,32): foster-parenting-character-in-table",
5043 "(1,32): foster-parenting-character-in-table",
5044 "(1,32): unexpected-end-tag"
5045 ],
5046 "document": {
5047 "props": {
5048 "tags": {
5049 "html": true,
5050 "head": true,
5051 "body": true,
5052 "table": true,
5053 "colgroup": true
5054 }
5055 },
5056 "tree": [
5057 {
5058 "tag": "html",
5059 "children": [
5060 {
5061 "tag": "head"
5062 },
5063 {
5064 "tag": "body",
5065 "children": [
5066 {
5067 "text": "foo"
5068 },
5069 {
5070 "tag": "table",
5071 "children": [
5072 {
5073 "tag": "colgroup",
5074 "children": [
5075 {
5076 "text": " "
5077 }
5078 ]
5079 }
5080 ]
5081 }
5082 ]
5083 }
5084 ]
5085 }
5086 ],
5087 "html": "<html><head></head><body>foo<table><colgroup> </colgroup></table></body></html>",
5088 "noQuirksBodyHtml": "foo<table><colgroup> </colgroup></table>"
5089 }
5090 },
5091 {
5092 "data": "<select><!--test--></select>",
5093 "errors": [
5094 "(1,8): expected-doctype-but-got-start-tag"
5095 ],
5096 "document": {
5097 "props": {
5098 "tags": {
5099 "html": true,
5100 "head": true,
5101 "body": true,
5102 "select": true
5103 },
5104 "comment": true
5105 },
5106 "tree": [
5107 {
5108 "tag": "html",
5109 "children": [
5110 {
5111 "tag": "head"
5112 },
5113 {
5114 "tag": "body",
5115 "children": [
5116 {
5117 "tag": "select",
5118 "children": [
5119 {
5120 "comment": "test"
5121 }
5122 ]
5123 }
5124 ]
5125 }
5126 ]
5127 }
5128 ],
5129 "html": "<html><head></head><body><select><!--test--></select></body></html>",
5130 "noQuirksBodyHtml": "<select><!--test--></select>"
5131 }
5132 },
5133 {
5134 "data": "<select><html></select>",
5135 "errors": [
5136 "(1,8): expected-doctype-but-got-start-tag",
5137 "(1,14): non-html-root"
5138 ],
5139 "document": {
5140 "props": {
5141 "tags": {
5142 "html": true,
5143 "head": true,
5144 "body": true,
5145 "select": true
5146 }
5147 },
5148 "tree": [
5149 {
5150 "tag": "html",
5151 "children": [
5152 {
5153 "tag": "head"
5154 },
5155 {
5156 "tag": "body",
5157 "children": [
5158 {
5159 "tag": "select"
5160 }
5161 ]
5162 }
5163 ]
5164 }
5165 ],
5166 "html": "<html><head></head><body><select></select></body></html>",
5167 "noQuirksBodyHtml": "<select></select>"
5168 }
5169 },
5170 {
5171 "data": "<frameset><html></frameset>",
5172 "errors": [
5173 "(1,10): expected-doctype-but-got-start-tag",
5174 "(1,16): non-html-root"
5175 ],
5176 "document": {
5177 "props": {
5178 "tags": {
5179 "html": true,
5180 "head": true,
5181 "frameset": true
5182 }
5183 },
5184 "tree": [
5185 {
5186 "tag": "html",
5187 "children": [
5188 {
5189 "tag": "head"
5190 },
5191 {
5192 "tag": "frameset"
5193 }
5194 ]
5195 }
5196 ],
5197 "html": "<html><head></head><frameset></frameset></html>",
5198 "noQuirksBodyHtml": ""
5199 }
5200 },
5201 {
5202 "data": "<frameset></frameset><html>",
5203 "errors": [
5204 "(1,10): expected-doctype-but-got-start-tag",
5205 "(1,27): non-html-root"
5206 ],
5207 "document": {
5208 "props": {
5209 "tags": {
5210 "html": true,
5211 "head": true,
5212 "frameset": true
5213 }
5214 },
5215 "tree": [
5216 {
5217 "tag": "html",
5218 "children": [
5219 {
5220 "tag": "head"
5221 },
5222 {
5223 "tag": "frameset"
5224 }
5225 ]
5226 }
5227 ],
5228 "html": "<html><head></head><frameset></frameset></html>",
5229 "noQuirksBodyHtml": ""
5230 }
5231 },
5232 {
5233 "data": "<frameset></frameset><!DOCTYPE html>",
5234 "errors": [
5235 "(1,10): expected-doctype-but-got-start-tag",
5236 "(1,36): unexpected-doctype"
5237 ],
5238 "document": {
5239 "props": {
5240 "tags": {
5241 "html": true,
5242 "head": true,
5243 "frameset": true
5244 }
5245 },
5246 "tree": [
5247 {
5248 "tag": "html",
5249 "children": [
5250 {
5251 "tag": "head"
5252 },
5253 {
5254 "tag": "frameset"
5255 }
5256 ]
5257 }
5258 ],
5259 "html": "<html><head></head><frameset></frameset></html>",
5260 "noQuirksBodyHtml": ""
5261 }
5262 },
5263 {
5264 "data": "<html><body></body></html><!DOCTYPE html>",
5265 "errors": [
5266 "(1,6): expected-doctype-but-got-start-tag",
5267 "(1,41): unexpected-doctype"
5268 ],
5269 "document": {
5270 "props": {
5271 "tags": {
5272 "html": true,
5273 "head": true,
5274 "body": true
5275 }
5276 },
5277 "tree": [
5278 {
5279 "tag": "html",
5280 "children": [
5281 {
5282 "tag": "head"
5283 },
5284 {
5285 "tag": "body"
5286 }
5287 ]
5288 }
5289 ],
5290 "html": "<html><head></head><body></body></html>",
5291 "noQuirksBodyHtml": ""
5292 }
5293 },
5294 {
5295 "data": "<svg><!DOCTYPE html></svg>",
5296 "errors": [
5297 "(1,5): expected-doctype-but-got-start-tag",
5298 "(1,20): unexpected-doctype"
5299 ],
5300 "document": {
5301 "props": {
5302 "tags": {
5303 "html": true,
5304 "head": true,
5305 "body": true,
5306 "svg svg": true
5307 }
5308 },
5309 "tree": [
5310 {
5311 "tag": "html",
5312 "children": [
5313 {
5314 "tag": "head"
5315 },
5316 {
5317 "tag": "body",
5318 "children": [
5319 {
5320 "tag": "svg",
5321 "ns": "http://www.w3.org/2000/svg"
5322 }
5323 ]
5324 }
5325 ]
5326 }
5327 ],
5328 "html": "<html><head></head><body><svg></svg></body></html>",
5329 "noQuirksBodyHtml": "<svg></svg>"
5330 }
5331 },
5332 {
5333 "data": "<svg><font></font></svg>",
5334 "errors": [
5335 "(1,5): expected-doctype-but-got-start-tag"
5336 ],
5337 "document": {
5338 "props": {
5339 "tags": {
5340 "html": true,
5341 "head": true,
5342 "body": true,
5343 "svg svg": true,
5344 "svg font": true
5345 }
5346 },
5347 "tree": [
5348 {
5349 "tag": "html",
5350 "children": [
5351 {
5352 "tag": "head"
5353 },
5354 {
5355 "tag": "body",
5356 "children": [
5357 {
5358 "tag": "svg",
5359 "ns": "http://www.w3.org/2000/svg",
5360 "children": [
5361 {
5362 "tag": "font",
5363 "ns": "http://www.w3.org/2000/svg"
5364 }
5365 ]
5366 }
5367 ]
5368 }
5369 ]
5370 }
5371 ],
5372 "html": "<html><head></head><body><svg><font></font></svg></body></html>",
5373 "noQuirksBodyHtml": "<svg><font></font></svg>"
5374 }
5375 },
5376 {
5377 "data": "<svg><font id=foo></font></svg>",
5378 "errors": [
5379 "(1,5): expected-doctype-but-got-start-tag"
5380 ],
5381 "document": {
5382 "props": {
5383 "tags": {
5384 "html": true,
5385 "head": true,
5386 "body": true,
5387 "svg svg": true,
5388 "svg font": true
5389 }
5390 },
5391 "tree": [
5392 {
5393 "tag": "html",
5394 "children": [
5395 {
5396 "tag": "head"
5397 },
5398 {
5399 "tag": "body",
5400 "children": [
5401 {
5402 "tag": "svg",
5403 "ns": "http://www.w3.org/2000/svg",
5404 "children": [
5405 {
5406 "tag": "font",
5407 "ns": "http://www.w3.org/2000/svg",
5408 "attrs": [
5409 {
5410 "name": "id",
5411 "value": "foo"
5412 }
5413 ]
5414 }
5415 ]
5416 }
5417 ]
5418 }
5419 ]
5420 }
5421 ],
5422 "html": "<html><head></head><body><svg><font id=\"foo\"></font></svg></body></html>",
5423 "noQuirksBodyHtml": "<svg><font id=\"foo\"></font></svg>"
5424 }
5425 },
5426 {
5427 "data": "<svg><font size=4></font></svg>",
5428 "errors": [
5429 "(1,5): expected-doctype-but-got-start-tag",
5430 "(1,18): unexpected-html-element-in-foreign-content",
5431 "(1,31): unexpected-end-tag"
5432 ],
5433 "document": {
5434 "props": {
5435 "tags": {
5436 "html": true,
5437 "head": true,
5438 "body": true,
5439 "svg svg": true,
5440 "font": true
5441 }
5442 },
5443 "tree": [
5444 {
5445 "tag": "html",
5446 "children": [
5447 {
5448 "tag": "head"
5449 },
5450 {
5451 "tag": "body",
5452 "children": [
5453 {
5454 "tag": "svg",
5455 "ns": "http://www.w3.org/2000/svg"
5456 },
5457 {
5458 "tag": "font",
5459 "attrs": [
5460 {
5461 "name": "size",
5462 "value": "4"
5463 }
5464 ]
5465 }
5466 ]
5467 }
5468 ]
5469 }
5470 ],
5471 "html": "<html><head></head><body><svg></svg><font size=\"4\"></font></body></html>",
5472 "noQuirksBodyHtml": "<svg><font size=\"4\"></font></svg>"
5473 }
5474 },
5475 {
5476 "data": "<svg><font color=red></font></svg>",
5477 "errors": [
5478 "(1,5): expected-doctype-but-got-start-tag",
5479 "(1,21): unexpected-html-element-in-foreign-content",
5480 "(1,34): unexpected-end-tag"
5481 ],
5482 "document": {
5483 "props": {
5484 "tags": {
5485 "html": true,
5486 "head": true,
5487 "body": true,
5488 "svg svg": true,
5489 "font": true
5490 }
5491 },
5492 "tree": [
5493 {
5494 "tag": "html",
5495 "children": [
5496 {
5497 "tag": "head"
5498 },
5499 {
5500 "tag": "body",
5501 "children": [
5502 {
5503 "tag": "svg",
5504 "ns": "http://www.w3.org/2000/svg"
5505 },
5506 {
5507 "tag": "font",
5508 "attrs": [
5509 {
5510 "name": "color",
5511 "value": "red"
5512 }
5513 ]
5514 }
5515 ]
5516 }
5517 ]
5518 }
5519 ],
5520 "html": "<html><head></head><body><svg></svg><font color=\"red\"></font></body></html>",
5521 "noQuirksBodyHtml": "<svg><font color=\"red\"></font></svg>"
5522 }
5523 },
5524 {
5525 "data": "<svg><font font=sans></font></svg>",
5526 "errors": [
5527 "(1,5): expected-doctype-but-got-start-tag"
5528 ],
5529 "document": {
5530 "props": {
5531 "tags": {
5532 "html": true,
5533 "head": true,
5534 "body": true,
5535 "svg svg": true,
5536 "svg font": true
5537 }
5538 },
5539 "tree": [
5540 {
5541 "tag": "html",
5542 "children": [
5543 {
5544 "tag": "head"
5545 },
5546 {
5547 "tag": "body",
5548 "children": [
5549 {
5550 "tag": "svg",
5551 "ns": "http://www.w3.org/2000/svg",
5552 "children": [
5553 {
5554 "tag": "font",
5555 "ns": "http://www.w3.org/2000/svg",
5556 "attrs": [
5557 {
5558 "name": "font",
5559 "value": "sans"
5560 }
5561 ]
5562 }
5563 ]
5564 }
5565 ]
5566 }
5567 ]
5568 }
5569 ],
5570 "html": "<html><head></head><body><svg><font font=\"sans\"></font></svg></body></html>",
5571 "noQuirksBodyHtml": "<svg><font font=\"sans\"></font></svg>"
5572 }
5573 }
5574 ],
5575 "entities01.dat": [
5576 {
5577 "data": "FOO&gt;BAR",
5578 "errors": [
5579 "(1,3): expected-doctype-but-got-chars"
5580 ],
5581 "document": {
5582 "props": {
5583 "tags": {
5584 "html": true,
5585 "head": true,
5586 "body": true
5587 },
5588 "escaped": true
5589 },
5590 "tree": [
5591 {
5592 "tag": "html",
5593 "children": [
5594 {
5595 "tag": "head"
5596 },
5597 {
5598 "tag": "body",
5599 "children": [
5600 {
5601 "text": "FOO>BAR",
5602 "escaped": true
5603 }
5604 ]
5605 }
5606 ]
5607 }
5608 ],
5609 "html": "<html><head></head><body>FOO&gt;BAR</body></html>",
5610 "noQuirksBodyHtml": "FOO&gt;BAR"
5611 }
5612 },
5613 {
5614 "data": "FOO&gtBAR",
5615 "errors": [
5616 "(1,3): expected-doctype-but-got-chars",
5617 "(1,6): named-entity-without-semicolon"
5618 ],
5619 "document": {
5620 "props": {
5621 "tags": {
5622 "html": true,
5623 "head": true,
5624 "body": true
5625 },
5626 "escaped": true
5627 },
5628 "tree": [
5629 {
5630 "tag": "html",
5631 "children": [
5632 {
5633 "tag": "head"
5634 },
5635 {
5636 "tag": "body",
5637 "children": [
5638 {
5639 "text": "FOO>BAR",
5640 "escaped": true
5641 }
5642 ]
5643 }
5644 ]
5645 }
5646 ],
5647 "html": "<html><head></head><body>FOO&gt;BAR</body></html>",
5648 "noQuirksBodyHtml": "FOO&gt;BAR"
5649 }
5650 },
5651 {
5652 "data": "FOO&gt BAR",
5653 "errors": [
5654 "(1,3): expected-doctype-but-got-chars",
5655 "(1,6): named-entity-without-semicolon"
5656 ],
5657 "document": {
5658 "props": {
5659 "tags": {
5660 "html": true,
5661 "head": true,
5662 "body": true
5663 },
5664 "escaped": true
5665 },
5666 "tree": [
5667 {
5668 "tag": "html",
5669 "children": [
5670 {
5671 "tag": "head"
5672 },
5673 {
5674 "tag": "body",
5675 "children": [
5676 {
5677 "text": "FOO> BAR",
5678 "escaped": true
5679 }
5680 ]
5681 }
5682 ]
5683 }
5684 ],
5685 "html": "<html><head></head><body>FOO&gt; BAR</body></html>",
5686 "noQuirksBodyHtml": "FOO&gt; BAR"
5687 }
5688 },
5689 {
5690 "data": "FOO&gt;;;BAR",
5691 "errors": [
5692 "(1,3): expected-doctype-but-got-chars"
5693 ],
5694 "document": {
5695 "props": {
5696 "tags": {
5697 "html": true,
5698 "head": true,
5699 "body": true
5700 },
5701 "escaped": true
5702 },
5703 "tree": [
5704 {
5705 "tag": "html",
5706 "children": [
5707 {
5708 "tag": "head"
5709 },
5710 {
5711 "tag": "body",
5712 "children": [
5713 {
5714 "text": "FOO>;;BAR",
5715 "escaped": true
5716 }
5717 ]
5718 }
5719 ]
5720 }
5721 ],
5722 "html": "<html><head></head><body>FOO&gt;;;BAR</body></html>",
5723 "noQuirksBodyHtml": "FOO&gt;;;BAR"
5724 }
5725 },
5726 {
5727 "data": "I'm &notit; I tell you",
5728 "errors": [
5729 "(1,4): expected-doctype-but-got-chars",
5730 "(1,9): named-entity-without-semicolon"
5731 ],
5732 "document": {
5733 "props": {
5734 "tags": {
5735 "html": true,
5736 "head": true,
5737 "body": true
5738 }
5739 },
5740 "tree": [
5741 {
5742 "tag": "html",
5743 "children": [
5744 {
5745 "tag": "head"
5746 },
5747 {
5748 "tag": "body",
5749 "children": [
5750 {
5751 "text": "I'm ¬it; I tell you"
5752 }
5753 ]
5754 }
5755 ]
5756 }
5757 ],
5758 "html": "<html><head></head><body>I'm ¬it; I tell you</body></html>",
5759 "noQuirksBodyHtml": "I'm ¬it; I tell you"
5760 }
5761 },
5762 {
5763 "data": "I'm &notin; I tell you",
5764 "errors": [
5765 "(1,4): expected-doctype-but-got-chars"
5766 ],
5767 "document": {
5768 "props": {
5769 "tags": {
5770 "html": true,
5771 "head": true,
5772 "body": true
5773 }
5774 },
5775 "tree": [
5776 {
5777 "tag": "html",
5778 "children": [
5779 {
5780 "tag": "head"
5781 },
5782 {
5783 "tag": "body",
5784 "children": [
5785 {
5786 "text": "I'm ∉ I tell you"
5787 }
5788 ]
5789 }
5790 ]
5791 }
5792 ],
5793 "html": "<html><head></head><body>I'm ∉ I tell you</body></html>",
5794 "noQuirksBodyHtml": "I'm ∉ I tell you"
5795 }
5796 },
5797 {
5798 "data": "FOO& BAR",
5799 "errors": [
5800 "(1,3): expected-doctype-but-got-chars"
5801 ],
5802 "document": {
5803 "props": {
5804 "tags": {
5805 "html": true,
5806 "head": true,
5807 "body": true
5808 },
5809 "escaped": true
5810 },
5811 "tree": [
5812 {
5813 "tag": "html",
5814 "children": [
5815 {
5816 "tag": "head"
5817 },
5818 {
5819 "tag": "body",
5820 "children": [
5821 {
5822 "text": "FOO& BAR",
5823 "escaped": true
5824 }
5825 ]
5826 }
5827 ]
5828 }
5829 ],
5830 "html": "<html><head></head><body>FOO&amp; BAR</body></html>",
5831 "noQuirksBodyHtml": "FOO&amp; BAR"
5832 }
5833 },
5834 {
5835 "data": "FOO&<BAR>",
5836 "errors": [
5837 "(1,3): expected-doctype-but-got-chars",
5838 "(1,9): expected-closing-tag-but-got-eof"
5839 ],
5840 "document": {
5841 "props": {
5842 "tags": {
5843 "html": true,
5844 "head": true,
5845 "body": true,
5846 "bar": true
5847 },
5848 "escaped": true
5849 },
5850 "tree": [
5851 {
5852 "tag": "html",
5853 "children": [
5854 {
5855 "tag": "head"
5856 },
5857 {
5858 "tag": "body",
5859 "children": [
5860 {
5861 "text": "FOO&",
5862 "escaped": true
5863 },
5864 {
5865 "tag": "bar"
5866 }
5867 ]
5868 }
5869 ]
5870 }
5871 ],
5872 "html": "<html><head></head><body>FOO&amp;<bar></bar></body></html>",
5873 "noQuirksBodyHtml": "FOO&amp;<bar></bar>"
5874 }
5875 },
5876 {
5877 "data": "FOO&&&&gt;BAR",
5878 "errors": [
5879 "(1,3): expected-doctype-but-got-chars"
5880 ],
5881 "document": {
5882 "props": {
5883 "tags": {
5884 "html": true,
5885 "head": true,
5886 "body": true
5887 },
5888 "escaped": true
5889 },
5890 "tree": [
5891 {
5892 "tag": "html",
5893 "children": [
5894 {
5895 "tag": "head"
5896 },
5897 {
5898 "tag": "body",
5899 "children": [
5900 {
5901 "text": "FOO&&&>BAR",
5902 "escaped": true
5903 }
5904 ]
5905 }
5906 ]
5907 }
5908 ],
5909 "html": "<html><head></head><body>FOO&amp;&amp;&amp;&gt;BAR</body></html>",
5910 "noQuirksBodyHtml": "FOO&amp;&amp;&amp;&gt;BAR"
5911 }
5912 },
5913 {
5914 "data": "FOO&#41;BAR",
5915 "errors": [
5916 "(1,3): expected-doctype-but-got-chars"
5917 ],
5918 "document": {
5919 "props": {
5920 "tags": {
5921 "html": true,
5922 "head": true,
5923 "body": true
5924 }
5925 },
5926 "tree": [
5927 {
5928 "tag": "html",
5929 "children": [
5930 {
5931 "tag": "head"
5932 },
5933 {
5934 "tag": "body",
5935 "children": [
5936 {
5937 "text": "FOO)BAR"
5938 }
5939 ]
5940 }
5941 ]
5942 }
5943 ],
5944 "html": "<html><head></head><body>FOO)BAR</body></html>",
5945 "noQuirksBodyHtml": "FOO)BAR"
5946 }
5947 },
5948 {
5949 "data": "FOO&#x41;BAR",
5950 "errors": [
5951 "(1,3): expected-doctype-but-got-chars"
5952 ],
5953 "document": {
5954 "props": {
5955 "tags": {
5956 "html": true,
5957 "head": true,
5958 "body": true
5959 }
5960 },
5961 "tree": [
5962 {
5963 "tag": "html",
5964 "children": [
5965 {
5966 "tag": "head"
5967 },
5968 {
5969 "tag": "body",
5970 "children": [
5971 {
5972 "text": "FOOABAR"
5973 }
5974 ]
5975 }
5976 ]
5977 }
5978 ],
5979 "html": "<html><head></head><body>FOOABAR</body></html>",
5980 "noQuirksBodyHtml": "FOOABAR"
5981 }
5982 },
5983 {
5984 "data": "FOO&#X41;BAR",
5985 "errors": [
5986 "(1,3): expected-doctype-but-got-chars"
5987 ],
5988 "document": {
5989 "props": {
5990 "tags": {
5991 "html": true,
5992 "head": true,
5993 "body": true
5994 }
5995 },
5996 "tree": [
5997 {
5998 "tag": "html",
5999 "children": [
6000 {
6001 "tag": "head"
6002 },
6003 {
6004 "tag": "body",
6005 "children": [
6006 {
6007 "text": "FOOABAR"
6008 }
6009 ]
6010 }
6011 ]
6012 }
6013 ],
6014 "html": "<html><head></head><body>FOOABAR</body></html>",
6015 "noQuirksBodyHtml": "FOOABAR"
6016 }
6017 },
6018 {
6019 "data": "FOO&#BAR",
6020 "errors": [
6021 "(1,3): expected-doctype-but-got-chars",
6022 "(1,5): expected-numeric-entity"
6023 ],
6024 "document": {
6025 "props": {
6026 "tags": {
6027 "html": true,
6028 "head": true,
6029 "body": true
6030 },
6031 "escaped": true
6032 },
6033 "tree": [
6034 {
6035 "tag": "html",
6036 "children": [
6037 {
6038 "tag": "head"
6039 },
6040 {
6041 "tag": "body",
6042 "children": [
6043 {
6044 "text": "FOO&#BAR",
6045 "escaped": true
6046 }
6047 ]
6048 }
6049 ]
6050 }
6051 ],
6052 "html": "<html><head></head><body>FOO&amp;#BAR</body></html>",
6053 "noQuirksBodyHtml": "FOO&amp;#BAR"
6054 }
6055 },
6056 {
6057 "data": "FOO&#ZOO",
6058 "errors": [
6059 "(1,3): expected-doctype-but-got-chars",
6060 "(1,5): expected-numeric-entity"
6061 ],
6062 "document": {
6063 "props": {
6064 "tags": {
6065 "html": true,
6066 "head": true,
6067 "body": true
6068 },
6069 "escaped": true
6070 },
6071 "tree": [
6072 {
6073 "tag": "html",
6074 "children": [
6075 {
6076 "tag": "head"
6077 },
6078 {
6079 "tag": "body",
6080 "children": [
6081 {
6082 "text": "FOO&#ZOO",
6083 "escaped": true
6084 }
6085 ]
6086 }
6087 ]
6088 }
6089 ],
6090 "html": "<html><head></head><body>FOO&amp;#ZOO</body></html>",
6091 "noQuirksBodyHtml": "FOO&amp;#ZOO"
6092 }
6093 },
6094 {
6095 "data": "FOO&#xBAR",
6096 "errors": [
6097 "(1,3): expected-doctype-but-got-chars",
6098 "(1,7): expected-numeric-entity"
6099 ],
6100 "document": {
6101 "props": {
6102 "tags": {
6103 "html": true,
6104 "head": true,
6105 "body": true
6106 }
6107 },
6108 "tree": [
6109 {
6110 "tag": "html",
6111 "children": [
6112 {
6113 "tag": "head"
6114 },
6115 {
6116 "tag": "body",
6117 "children": [
6118 {
6119 "text": "FOOºR"
6120 }
6121 ]
6122 }
6123 ]
6124 }
6125 ],
6126 "html": "<html><head></head><body>FOOºR</body></html>",
6127 "noQuirksBodyHtml": "FOOºR"
6128 }
6129 },
6130 {
6131 "data": "FOO&#xZOO",
6132 "errors": [
6133 "(1,3): expected-doctype-but-got-chars",
6134 "(1,6): expected-numeric-entity"
6135 ],
6136 "document": {
6137 "props": {
6138 "tags": {
6139 "html": true,
6140 "head": true,
6141 "body": true
6142 },
6143 "escaped": true
6144 },
6145 "tree": [
6146 {
6147 "tag": "html",
6148 "children": [
6149 {
6150 "tag": "head"
6151 },
6152 {
6153 "tag": "body",
6154 "children": [
6155 {
6156 "text": "FOO&#xZOO",
6157 "escaped": true
6158 }
6159 ]
6160 }
6161 ]
6162 }
6163 ],
6164 "html": "<html><head></head><body>FOO&amp;#xZOO</body></html>",
6165 "noQuirksBodyHtml": "FOO&amp;#xZOO"
6166 }
6167 },
6168 {
6169 "data": "FOO&#XZOO",
6170 "errors": [
6171 "(1,3): expected-doctype-but-got-chars",
6172 "(1,6): expected-numeric-entity"
6173 ],
6174 "document": {
6175 "props": {
6176 "tags": {
6177 "html": true,
6178 "head": true,
6179 "body": true
6180 },
6181 "escaped": true
6182 },
6183 "tree": [
6184 {
6185 "tag": "html",
6186 "children": [
6187 {
6188 "tag": "head"
6189 },
6190 {
6191 "tag": "body",
6192 "children": [
6193 {
6194 "text": "FOO&#XZOO",
6195 "escaped": true
6196 }
6197 ]
6198 }
6199 ]
6200 }
6201 ],
6202 "html": "<html><head></head><body>FOO&amp;#XZOO</body></html>",
6203 "noQuirksBodyHtml": "FOO&amp;#XZOO"
6204 }
6205 },
6206 {
6207 "data": "FOO&#41BAR",
6208 "errors": [
6209 "(1,3): expected-doctype-but-got-chars",
6210 "(1,7): numeric-entity-without-semicolon"
6211 ],
6212 "document": {
6213 "props": {
6214 "tags": {
6215 "html": true,
6216 "head": true,
6217 "body": true
6218 }
6219 },
6220 "tree": [
6221 {
6222 "tag": "html",
6223 "children": [
6224 {
6225 "tag": "head"
6226 },
6227 {
6228 "tag": "body",
6229 "children": [
6230 {
6231 "text": "FOO)BAR"
6232 }
6233 ]
6234 }
6235 ]
6236 }
6237 ],
6238 "html": "<html><head></head><body>FOO)BAR</body></html>",
6239 "noQuirksBodyHtml": "FOO)BAR"
6240 }
6241 },
6242 {
6243 "data": "FOO&#x41BAR",
6244 "errors": [
6245 "(1,3): expected-doctype-but-got-chars",
6246 "(1,10): numeric-entity-without-semicolon"
6247 ],
6248 "document": {
6249 "props": {
6250 "tags": {
6251 "html": true,
6252 "head": true,
6253 "body": true
6254 }
6255 },
6256 "tree": [
6257 {
6258 "tag": "html",
6259 "children": [
6260 {
6261 "tag": "head"
6262 },
6263 {
6264 "tag": "body",
6265 "children": [
6266 {
6267 "text": "FOO䆺R"
6268 }
6269 ]
6270 }
6271 ]
6272 }
6273 ],
6274 "html": "<html><head></head><body>FOO䆺R</body></html>",
6275 "noQuirksBodyHtml": "FOO䆺R"
6276 }
6277 },
6278 {
6279 "data": "FOO&#x41ZOO",
6280 "errors": [
6281 "(1,3): expected-doctype-but-got-chars",
6282 "(1,8): numeric-entity-without-semicolon"
6283 ],
6284 "document": {
6285 "props": {
6286 "tags": {
6287 "html": true,
6288 "head": true,
6289 "body": true
6290 }
6291 },
6292 "tree": [
6293 {
6294 "tag": "html",
6295 "children": [
6296 {
6297 "tag": "head"
6298 },
6299 {
6300 "tag": "body",
6301 "children": [
6302 {
6303 "text": "FOOAZOO"
6304 }
6305 ]
6306 }
6307 ]
6308 }
6309 ],
6310 "html": "<html><head></head><body>FOOAZOO</body></html>",
6311 "noQuirksBodyHtml": "FOOAZOO"
6312 }
6313 },
6314 {
6315 "data": "FOO&#x0000;ZOO",
6316 "errors": [
6317 "(1,3): expected-doctype-but-got-chars",
6318 "(1,11): illegal-codepoint-for-numeric-entity"
6319 ],
6320 "document": {
6321 "props": {
6322 "tags": {
6323 "html": true,
6324 "head": true,
6325 "body": true
6326 }
6327 },
6328 "tree": [
6329 {
6330 "tag": "html",
6331 "children": [
6332 {
6333 "tag": "head"
6334 },
6335 {
6336 "tag": "body",
6337 "children": [
6338 {
6339 "text": "FOO�ZOO"
6340 }
6341 ]
6342 }
6343 ]
6344 }
6345 ],
6346 "html": "<html><head></head><body>FOO�ZOO</body></html>",
6347 "noQuirksBodyHtml": "FOO�ZOO"
6348 }
6349 },
6350 {
6351 "data": "FOO&#x0078;ZOO",
6352 "errors": [
6353 "(1,3): expected-doctype-but-got-chars"
6354 ],
6355 "document": {
6356 "props": {
6357 "tags": {
6358 "html": true,
6359 "head": true,
6360 "body": true
6361 }
6362 },
6363 "tree": [
6364 {
6365 "tag": "html",
6366 "children": [
6367 {
6368 "tag": "head"
6369 },
6370 {
6371 "tag": "body",
6372 "children": [
6373 {
6374 "text": "FOOxZOO"
6375 }
6376 ]
6377 }
6378 ]
6379 }
6380 ],
6381 "html": "<html><head></head><body>FOOxZOO</body></html>",
6382 "noQuirksBodyHtml": "FOOxZOO"
6383 }
6384 },
6385 {
6386 "data": "FOO&#x0079;ZOO",
6387 "errors": [
6388 "(1,3): expected-doctype-but-got-chars"
6389 ],
6390 "document": {
6391 "props": {
6392 "tags": {
6393 "html": true,
6394 "head": true,
6395 "body": true
6396 }
6397 },
6398 "tree": [
6399 {
6400 "tag": "html",
6401 "children": [
6402 {
6403 "tag": "head"
6404 },
6405 {
6406 "tag": "body",
6407 "children": [
6408 {
6409 "text": "FOOyZOO"
6410 }
6411 ]
6412 }
6413 ]
6414 }
6415 ],
6416 "html": "<html><head></head><body>FOOyZOO</body></html>",
6417 "noQuirksBodyHtml": "FOOyZOO"
6418 }
6419 },
6420 {
6421 "data": "FOO&#x0080;ZOO",
6422 "errors": [
6423 "(1,3): expected-doctype-but-got-chars",
6424 "(1,11): illegal-codepoint-for-numeric-entity"
6425 ],
6426 "document": {
6427 "props": {
6428 "tags": {
6429 "html": true,
6430 "head": true,
6431 "body": true
6432 }
6433 },
6434 "tree": [
6435 {
6436 "tag": "html",
6437 "children": [
6438 {
6439 "tag": "head"
6440 },
6441 {
6442 "tag": "body",
6443 "children": [
6444 {
6445 "text": "FOO€ZOO"
6446 }
6447 ]
6448 }
6449 ]
6450 }
6451 ],
6452 "html": "<html><head></head><body>FOO€ZOO</body></html>",
6453 "noQuirksBodyHtml": "FOO€ZOO"
6454 }
6455 },
6456 {
6457 "data": "FOO&#x0081;ZOO",
6458 "errors": [
6459 "(1,3): expected-doctype-but-got-chars",
6460 "(1,11): illegal-codepoint-for-numeric-entity"
6461 ],
6462 "document": {
6463 "props": {
6464 "tags": {
6465 "html": true,
6466 "head": true,
6467 "body": true
6468 }
6469 },
6470 "tree": [
6471 {
6472 "tag": "html",
6473 "children": [
6474 {
6475 "tag": "head"
6476 },
6477 {
6478 "tag": "body",
6479 "children": [
6480 {
6481 "text": "FOO\81ZOO"
6482 }
6483 ]
6484 }
6485 ]
6486 }
6487 ],
6488 "html": "<html><head></head><body>FOO\81ZOO</body></html>",
6489 "noQuirksBodyHtml": "FOO\81ZOO"
6490 }
6491 },
6492 {
6493 "data": "FOO&#x0082;ZOO",
6494 "errors": [
6495 "(1,3): expected-doctype-but-got-chars",
6496 "(1,11): illegal-codepoint-for-numeric-entity"
6497 ],
6498 "document": {
6499 "props": {
6500 "tags": {
6501 "html": true,
6502 "head": true,
6503 "body": true
6504 }
6505 },
6506 "tree": [
6507 {
6508 "tag": "html",
6509 "children": [
6510 {
6511 "tag": "head"
6512 },
6513 {
6514 "tag": "body",
6515 "children": [
6516 {
6517 "text": "FOO‚ZOO"
6518 }
6519 ]
6520 }
6521 ]
6522 }
6523 ],
6524 "html": "<html><head></head><body>FOO‚ZOO</body></html>",
6525 "noQuirksBodyHtml": "FOO‚ZOO"
6526 }
6527 },
6528 {
6529 "data": "FOO&#x0083;ZOO",
6530 "errors": [
6531 "(1,3): expected-doctype-but-got-chars",
6532 "(1,11): illegal-codepoint-for-numeric-entity"
6533 ],
6534 "document": {
6535 "props": {
6536 "tags": {
6537 "html": true,
6538 "head": true,
6539 "body": true
6540 }
6541 },
6542 "tree": [
6543 {
6544 "tag": "html",
6545 "children": [
6546 {
6547 "tag": "head"
6548 },
6549 {
6550 "tag": "body",
6551 "children": [
6552 {
6553 "text": "FOOƒZOO"
6554 }
6555 ]
6556 }
6557 ]
6558 }
6559 ],
6560 "html": "<html><head></head><body>FOOƒZOO</body></html>",
6561 "noQuirksBodyHtml": "FOOƒZOO"
6562 }
6563 },
6564 {
6565 "data": "FOO&#x0084;ZOO",
6566 "errors": [
6567 "(1,3): expected-doctype-but-got-chars",
6568 "(1,11): illegal-codepoint-for-numeric-entity"
6569 ],
6570 "document": {
6571 "props": {
6572 "tags": {
6573 "html": true,
6574 "head": true,
6575 "body": true
6576 }
6577 },
6578 "tree": [
6579 {
6580 "tag": "html",
6581 "children": [
6582 {
6583 "tag": "head"
6584 },
6585 {
6586 "tag": "body",
6587 "children": [
6588 {
6589 "text": "FOO„ZOO"
6590 }
6591 ]
6592 }
6593 ]
6594 }
6595 ],
6596 "html": "<html><head></head><body>FOO„ZOO</body></html>",
6597 "noQuirksBodyHtml": "FOO„ZOO"
6598 }
6599 },
6600 {
6601 "data": "FOO&#x0085;ZOO",
6602 "errors": [
6603 "(1,3): expected-doctype-but-got-chars",
6604 "(1,11): illegal-codepoint-for-numeric-entity"
6605 ],
6606 "document": {
6607 "props": {
6608 "tags": {
6609 "html": true,
6610 "head": true,
6611 "body": true
6612 }
6613 },
6614 "tree": [
6615 {
6616 "tag": "html",
6617 "children": [
6618 {
6619 "tag": "head"
6620 },
6621 {
6622 "tag": "body",
6623 "children": [
6624 {
6625 "text": "FOO…ZOO"
6626 }
6627 ]
6628 }
6629 ]
6630 }
6631 ],
6632 "html": "<html><head></head><body>FOO…ZOO</body></html>",
6633 "noQuirksBodyHtml": "FOO…ZOO"
6634 }
6635 },
6636 {
6637 "data": "FOO&#x0086;ZOO",
6638 "errors": [
6639 "(1,3): expected-doctype-but-got-chars",
6640 "(1,11): illegal-codepoint-for-numeric-entity"
6641 ],
6642 "document": {
6643 "props": {
6644 "tags": {
6645 "html": true,
6646 "head": true,
6647 "body": true
6648 }
6649 },
6650 "tree": [
6651 {
6652 "tag": "html",
6653 "children": [
6654 {
6655 "tag": "head"
6656 },
6657 {
6658 "tag": "body",
6659 "children": [
6660 {
6661 "text": "FOO†ZOO"
6662 }
6663 ]
6664 }
6665 ]
6666 }
6667 ],
6668 "html": "<html><head></head><body>FOO†ZOO</body></html>",
6669 "noQuirksBodyHtml": "FOO†ZOO"
6670 }
6671 },
6672 {
6673 "data": "FOO&#x0087;ZOO",
6674 "errors": [
6675 "(1,3): expected-doctype-but-got-chars",
6676 "(1,11): illegal-codepoint-for-numeric-entity"
6677 ],
6678 "document": {
6679 "props": {
6680 "tags": {
6681 "html": true,
6682 "head": true,
6683 "body": true
6684 }
6685 },
6686 "tree": [
6687 {
6688 "tag": "html",
6689 "children": [
6690 {
6691 "tag": "head"
6692 },
6693 {
6694 "tag": "body",
6695 "children": [
6696 {
6697 "text": "FOO‡ZOO"
6698 }
6699 ]
6700 }
6701 ]
6702 }
6703 ],
6704 "html": "<html><head></head><body>FOO‡ZOO</body></html>",
6705 "noQuirksBodyHtml": "FOO‡ZOO"
6706 }
6707 },
6708 {
6709 "data": "FOO&#x0088;ZOO",
6710 "errors": [
6711 "(1,3): expected-doctype-but-got-chars",
6712 "(1,11): illegal-codepoint-for-numeric-entity"
6713 ],
6714 "document": {
6715 "props": {
6716 "tags": {
6717 "html": true,
6718 "head": true,
6719 "body": true
6720 }
6721 },
6722 "tree": [
6723 {
6724 "tag": "html",
6725 "children": [
6726 {
6727 "tag": "head"
6728 },
6729 {
6730 "tag": "body",
6731 "children": [
6732 {
6733 "text": "FOOˆZOO"
6734 }
6735 ]
6736 }
6737 ]
6738 }
6739 ],
6740 "html": "<html><head></head><body>FOOˆZOO</body></html>",
6741 "noQuirksBodyHtml": "FOOˆZOO"
6742 }
6743 },
6744 {
6745 "data": "FOO&#x0089;ZOO",
6746 "errors": [
6747 "(1,3): expected-doctype-but-got-chars",
6748 "(1,11): illegal-codepoint-for-numeric-entity"
6749 ],
6750 "document": {
6751 "props": {
6752 "tags": {
6753 "html": true,
6754 "head": true,
6755 "body": true
6756 }
6757 },
6758 "tree": [
6759 {
6760 "tag": "html",
6761 "children": [
6762 {
6763 "tag": "head"
6764 },
6765 {
6766 "tag": "body",
6767 "children": [
6768 {
6769 "text": "FOO‰ZOO"
6770 }
6771 ]
6772 }
6773 ]
6774 }
6775 ],
6776 "html": "<html><head></head><body>FOO‰ZOO</body></html>",
6777 "noQuirksBodyHtml": "FOO‰ZOO"
6778 }
6779 },
6780 {
6781 "data": "FOO&#x008A;ZOO",
6782 "errors": [
6783 "(1,3): expected-doctype-but-got-chars",
6784 "(1,11): illegal-codepoint-for-numeric-entity"
6785 ],
6786 "document": {
6787 "props": {
6788 "tags": {
6789 "html": true,
6790 "head": true,
6791 "body": true
6792 }
6793 },
6794 "tree": [
6795 {
6796 "tag": "html",
6797 "children": [
6798 {
6799 "tag": "head"
6800 },
6801 {
6802 "tag": "body",
6803 "children": [
6804 {
6805 "text": "FOOŠZOO"
6806 }
6807 ]
6808 }
6809 ]
6810 }
6811 ],
6812 "html": "<html><head></head><body>FOOŠZOO</body></html>",
6813 "noQuirksBodyHtml": "FOOŠZOO"
6814 }
6815 },
6816 {
6817 "data": "FOO&#x008B;ZOO",
6818 "errors": [
6819 "(1,3): expected-doctype-but-got-chars",
6820 "(1,11): illegal-codepoint-for-numeric-entity"
6821 ],
6822 "document": {
6823 "props": {
6824 "tags": {
6825 "html": true,
6826 "head": true,
6827 "body": true
6828 }
6829 },
6830 "tree": [
6831 {
6832 "tag": "html",
6833 "children": [
6834 {
6835 "tag": "head"
6836 },
6837 {
6838 "tag": "body",
6839 "children": [
6840 {
6841 "text": "FOO‹ZOO"
6842 }
6843 ]
6844 }
6845 ]
6846 }
6847 ],
6848 "html": "<html><head></head><body>FOO‹ZOO</body></html>",
6849 "noQuirksBodyHtml": "FOO‹ZOO"
6850 }
6851 },
6852 {
6853 "data": "FOO&#x008C;ZOO",
6854 "errors": [
6855 "(1,3): expected-doctype-but-got-chars",
6856 "(1,11): illegal-codepoint-for-numeric-entity"
6857 ],
6858 "document": {
6859 "props": {
6860 "tags": {
6861 "html": true,
6862 "head": true,
6863 "body": true
6864 }
6865 },
6866 "tree": [
6867 {
6868 "tag": "html",
6869 "children": [
6870 {
6871 "tag": "head"
6872 },
6873 {
6874 "tag": "body",
6875 "children": [
6876 {
6877 "text": "FOOŒZOO"
6878 }
6879 ]
6880 }
6881 ]
6882 }
6883 ],
6884 "html": "<html><head></head><body>FOOŒZOO</body></html>",
6885 "noQuirksBodyHtml": "FOOŒZOO"
6886 }
6887 },
6888 {
6889 "data": "FOO&#x008D;ZOO",
6890 "errors": [
6891 "(1,3): expected-doctype-but-got-chars",
6892 "(1,11): illegal-codepoint-for-numeric-entity"
6893 ],
6894 "document": {
6895 "props": {
6896 "tags": {
6897 "html": true,
6898 "head": true,
6899 "body": true
6900 }
6901 },
6902 "tree": [
6903 {
6904 "tag": "html",
6905 "children": [
6906 {
6907 "tag": "head"
6908 },
6909 {
6910 "tag": "body",
6911 "children": [
6912 {
6913 "text": "FOO\8dZOO"
6914 }
6915 ]
6916 }
6917 ]
6918 }
6919 ],
6920 "html": "<html><head></head><body>FOO\8dZOO</body></html>",
6921 "noQuirksBodyHtml": "FOO\8dZOO"
6922 }
6923 },
6924 {
6925 "data": "FOO&#x008E;ZOO",
6926 "errors": [
6927 "(1,3): expected-doctype-but-got-chars",
6928 "(1,11): illegal-codepoint-for-numeric-entity"
6929 ],
6930 "document": {
6931 "props": {
6932 "tags": {
6933 "html": true,
6934 "head": true,
6935 "body": true
6936 }
6937 },
6938 "tree": [
6939 {
6940 "tag": "html",
6941 "children": [
6942 {
6943 "tag": "head"
6944 },
6945 {
6946 "tag": "body",
6947 "children": [
6948 {
6949 "text": "FOOŽZOO"
6950 }
6951 ]
6952 }
6953 ]
6954 }
6955 ],
6956 "html": "<html><head></head><body>FOOŽZOO</body></html>",
6957 "noQuirksBodyHtml": "FOOŽZOO"
6958 }
6959 },
6960 {
6961 "data": "FOO&#x008F;ZOO",
6962 "errors": [
6963 "(1,3): expected-doctype-but-got-chars",
6964 "(1,11): illegal-codepoint-for-numeric-entity"
6965 ],
6966 "document": {
6967 "props": {
6968 "tags": {
6969 "html": true,
6970 "head": true,
6971 "body": true
6972 }
6973 },
6974 "tree": [
6975 {
6976 "tag": "html",
6977 "children": [
6978 {
6979 "tag": "head"
6980 },
6981 {
6982 "tag": "body",
6983 "children": [
6984 {
6985 "text": "FOO\8fZOO"
6986 }
6987 ]
6988 }
6989 ]
6990 }
6991 ],
6992 "html": "<html><head></head><body>FOO\8fZOO</body></html>",
6993 "noQuirksBodyHtml": "FOO\8fZOO"
6994 }
6995 },
6996 {
6997 "data": "FOO&#x0090;ZOO",
6998 "errors": [
6999 "(1,3): expected-doctype-but-got-chars",
7000 "(1,11): illegal-codepoint-for-numeric-entity"
7001 ],
7002 "document": {
7003 "props": {
7004 "tags": {
7005 "html": true,
7006 "head": true,
7007 "body": true
7008 }
7009 },
7010 "tree": [
7011 {
7012 "tag": "html",
7013 "children": [
7014 {
7015 "tag": "head"
7016 },
7017 {
7018 "tag": "body",
7019 "children": [
7020 {
7021 "text": "FOO\90ZOO"
7022 }
7023 ]
7024 }
7025 ]
7026 }
7027 ],
7028 "html": "<html><head></head><body>FOO\90ZOO</body></html>",
7029 "noQuirksBodyHtml": "FOO\90ZOO"
7030 }
7031 },
7032 {
7033 "data": "FOO&#x0091;ZOO",
7034 "errors": [
7035 "(1,3): expected-doctype-but-got-chars",
7036 "(1,11): illegal-codepoint-for-numeric-entity"
7037 ],
7038 "document": {
7039 "props": {
7040 "tags": {
7041 "html": true,
7042 "head": true,
7043 "body": true
7044 }
7045 },
7046 "tree": [
7047 {
7048 "tag": "html",
7049 "children": [
7050 {
7051 "tag": "head"
7052 },
7053 {
7054 "tag": "body",
7055 "children": [
7056 {
7057 "text": "FOO‘ZOO"
7058 }
7059 ]
7060 }
7061 ]
7062 }
7063 ],
7064 "html": "<html><head></head><body>FOO‘ZOO</body></html>",
7065 "noQuirksBodyHtml": "FOO‘ZOO"
7066 }
7067 },
7068 {
7069 "data": "FOO&#x0092;ZOO",
7070 "errors": [
7071 "(1,3): expected-doctype-but-got-chars",
7072 "(1,11): illegal-codepoint-for-numeric-entity"
7073 ],
7074 "document": {
7075 "props": {
7076 "tags": {
7077 "html": true,
7078 "head": true,
7079 "body": true
7080 }
7081 },
7082 "tree": [
7083 {
7084 "tag": "html",
7085 "children": [
7086 {
7087 "tag": "head"
7088 },
7089 {
7090 "tag": "body",
7091 "children": [
7092 {
7093 "text": "FOO’ZOO"
7094 }
7095 ]
7096 }
7097 ]
7098 }
7099 ],
7100 "html": "<html><head></head><body>FOO’ZOO</body></html>",
7101 "noQuirksBodyHtml": "FOO’ZOO"
7102 }
7103 },
7104 {
7105 "data": "FOO&#x0093;ZOO",
7106 "errors": [
7107 "(1,3): expected-doctype-but-got-chars",
7108 "(1,11): illegal-codepoint-for-numeric-entity"
7109 ],
7110 "document": {
7111 "props": {
7112 "tags": {
7113 "html": true,
7114 "head": true,
7115 "body": true
7116 }
7117 },
7118 "tree": [
7119 {
7120 "tag": "html",
7121 "children": [
7122 {
7123 "tag": "head"
7124 },
7125 {
7126 "tag": "body",
7127 "children": [
7128 {
7129 "text": "FOO“ZOO"
7130 }
7131 ]
7132 }
7133 ]
7134 }
7135 ],
7136 "html": "<html><head></head><body>FOO“ZOO</body></html>",
7137 "noQuirksBodyHtml": "FOO“ZOO"
7138 }
7139 },
7140 {
7141 "data": "FOO&#x0094;ZOO",
7142 "errors": [
7143 "(1,3): expected-doctype-but-got-chars",
7144 "(1,11): illegal-codepoint-for-numeric-entity"
7145 ],
7146 "document": {
7147 "props": {
7148 "tags": {
7149 "html": true,
7150 "head": true,
7151 "body": true
7152 }
7153 },
7154 "tree": [
7155 {
7156 "tag": "html",
7157 "children": [
7158 {
7159 "tag": "head"
7160 },
7161 {
7162 "tag": "body",
7163 "children": [
7164 {
7165 "text": "FOO”ZOO"
7166 }
7167 ]
7168 }
7169 ]
7170 }
7171 ],
7172 "html": "<html><head></head><body>FOO”ZOO</body></html>",
7173 "noQuirksBodyHtml": "FOO”ZOO"
7174 }
7175 },
7176 {
7177 "data": "FOO&#x0095;ZOO",
7178 "errors": [
7179 "(1,3): expected-doctype-but-got-chars",
7180 "(1,11): illegal-codepoint-for-numeric-entity"
7181 ],
7182 "document": {
7183 "props": {
7184 "tags": {
7185 "html": true,
7186 "head": true,
7187 "body": true
7188 }
7189 },
7190 "tree": [
7191 {
7192 "tag": "html",
7193 "children": [
7194 {
7195 "tag": "head"
7196 },
7197 {
7198 "tag": "body",
7199 "children": [
7200 {
7201 "text": "FOO•ZOO"
7202 }
7203 ]
7204 }
7205 ]
7206 }
7207 ],
7208 "html": "<html><head></head><body>FOO•ZOO</body></html>",
7209 "noQuirksBodyHtml": "FOO•ZOO"
7210 }
7211 },
7212 {
7213 "data": "FOO&#x0096;ZOO",
7214 "errors": [
7215 "(1,3): expected-doctype-but-got-chars",
7216 "(1,11): illegal-codepoint-for-numeric-entity"
7217 ],
7218 "document": {
7219 "props": {
7220 "tags": {
7221 "html": true,
7222 "head": true,
7223 "body": true
7224 }
7225 },
7226 "tree": [
7227 {
7228 "tag": "html",
7229 "children": [
7230 {
7231 "tag": "head"
7232 },
7233 {
7234 "tag": "body",
7235 "children": [
7236 {
7237 "text": "FOO–ZOO"
7238 }
7239 ]
7240 }
7241 ]
7242 }
7243 ],
7244 "html": "<html><head></head><body>FOO–ZOO</body></html>",
7245 "noQuirksBodyHtml": "FOO–ZOO"
7246 }
7247 },
7248 {
7249 "data": "FOO&#x0097;ZOO",
7250 "errors": [
7251 "(1,3): expected-doctype-but-got-chars",
7252 "(1,11): illegal-codepoint-for-numeric-entity"
7253 ],
7254 "document": {
7255 "props": {
7256 "tags": {
7257 "html": true,
7258 "head": true,
7259 "body": true
7260 }
7261 },
7262 "tree": [
7263 {
7264 "tag": "html",
7265 "children": [
7266 {
7267 "tag": "head"
7268 },
7269 {
7270 "tag": "body",
7271 "children": [
7272 {
7273 "text": "FOO—ZOO"
7274 }
7275 ]
7276 }
7277 ]
7278 }
7279 ],
7280 "html": "<html><head></head><body>FOO—ZOO</body></html>",
7281 "noQuirksBodyHtml": "FOO—ZOO"
7282 }
7283 },
7284 {
7285 "data": "FOO&#x0098;ZOO",
7286 "errors": [
7287 "(1,3): expected-doctype-but-got-chars",
7288 "(1,11): illegal-codepoint-for-numeric-entity"
7289 ],
7290 "document": {
7291 "props": {
7292 "tags": {
7293 "html": true,
7294 "head": true,
7295 "body": true
7296 }
7297 },
7298 "tree": [
7299 {
7300 "tag": "html",
7301 "children": [
7302 {
7303 "tag": "head"
7304 },
7305 {
7306 "tag": "body",
7307 "children": [
7308 {
7309 "text": "FOO˜ZOO"
7310 }
7311 ]
7312 }
7313 ]
7314 }
7315 ],
7316 "html": "<html><head></head><body>FOO˜ZOO</body></html>",
7317 "noQuirksBodyHtml": "FOO˜ZOO"
7318 }
7319 },
7320 {
7321 "data": "FOO&#x0099;ZOO",
7322 "errors": [
7323 "(1,3): expected-doctype-but-got-chars",
7324 "(1,11): illegal-codepoint-for-numeric-entity"
7325 ],
7326 "document": {
7327 "props": {
7328 "tags": {
7329 "html": true,
7330 "head": true,
7331 "body": true
7332 }
7333 },
7334 "tree": [
7335 {
7336 "tag": "html",
7337 "children": [
7338 {
7339 "tag": "head"
7340 },
7341 {
7342 "tag": "body",
7343 "children": [
7344 {
7345 "text": "FOO™ZOO"
7346 }
7347 ]
7348 }
7349 ]
7350 }
7351 ],
7352 "html": "<html><head></head><body>FOO™ZOO</body></html>",
7353 "noQuirksBodyHtml": "FOO™ZOO"
7354 }
7355 },
7356 {
7357 "data": "FOO&#x009A;ZOO",
7358 "errors": [
7359 "(1,3): expected-doctype-but-got-chars",
7360 "(1,11): illegal-codepoint-for-numeric-entity"
7361 ],
7362 "document": {
7363 "props": {
7364 "tags": {
7365 "html": true,
7366 "head": true,
7367 "body": true
7368 }
7369 },
7370 "tree": [
7371 {
7372 "tag": "html",
7373 "children": [
7374 {
7375 "tag": "head"
7376 },
7377 {
7378 "tag": "body",
7379 "children": [
7380 {
7381 "text": "FOOšZOO"
7382 }
7383 ]
7384 }
7385 ]
7386 }
7387 ],
7388 "html": "<html><head></head><body>FOOšZOO</body></html>",
7389 "noQuirksBodyHtml": "FOOšZOO"
7390 }
7391 },
7392 {
7393 "data": "FOO&#x009B;ZOO",
7394 "errors": [
7395 "(1,3): expected-doctype-but-got-chars",
7396 "(1,11): illegal-codepoint-for-numeric-entity"
7397 ],
7398 "document": {
7399 "props": {
7400 "tags": {
7401 "html": true,
7402 "head": true,
7403 "body": true
7404 }
7405 },
7406 "tree": [
7407 {
7408 "tag": "html",
7409 "children": [
7410 {
7411 "tag": "head"
7412 },
7413 {
7414 "tag": "body",
7415 "children": [
7416 {
7417 "text": "FOO›ZOO"
7418 }
7419 ]
7420 }
7421 ]
7422 }
7423 ],
7424 "html": "<html><head></head><body>FOO›ZOO</body></html>",
7425 "noQuirksBodyHtml": "FOO›ZOO"
7426 }
7427 },
7428 {
7429 "data": "FOO&#x009C;ZOO",
7430 "errors": [
7431 "(1,3): expected-doctype-but-got-chars",
7432 "(1,11): illegal-codepoint-for-numeric-entity"
7433 ],
7434 "document": {
7435 "props": {
7436 "tags": {
7437 "html": true,
7438 "head": true,
7439 "body": true
7440 }
7441 },
7442 "tree": [
7443 {
7444 "tag": "html",
7445 "children": [
7446 {
7447 "tag": "head"
7448 },
7449 {
7450 "tag": "body",
7451 "children": [
7452 {
7453 "text": "FOOœZOO"
7454 }
7455 ]
7456 }
7457 ]
7458 }
7459 ],
7460 "html": "<html><head></head><body>FOOœZOO</body></html>",
7461 "noQuirksBodyHtml": "FOOœZOO"
7462 }
7463 },
7464 {
7465 "data": "FOO&#x009D;ZOO",
7466 "errors": [
7467 "(1,3): expected-doctype-but-got-chars",
7468 "(1,11): illegal-codepoint-for-numeric-entity"
7469 ],
7470 "document": {
7471 "props": {
7472 "tags": {
7473 "html": true,
7474 "head": true,
7475 "body": true
7476 }
7477 },
7478 "tree": [
7479 {
7480 "tag": "html",
7481 "children": [
7482 {
7483 "tag": "head"
7484 },
7485 {
7486 "tag": "body",
7487 "children": [
7488 {
7489 "text": "FOO\9dZOO"
7490 }
7491 ]
7492 }
7493 ]
7494 }
7495 ],
7496 "html": "<html><head></head><body>FOO\9dZOO</body></html>",
7497 "noQuirksBodyHtml": "FOO\9dZOO"
7498 }
7499 },
7500 {
7501 "data": "FOO&#x009E;ZOO",
7502 "errors": [
7503 "(1,3): expected-doctype-but-got-chars",
7504 "(1,11): illegal-codepoint-for-numeric-entity"
7505 ],
7506 "document": {
7507 "props": {
7508 "tags": {
7509 "html": true,
7510 "head": true,
7511 "body": true
7512 }
7513 },
7514 "tree": [
7515 {
7516 "tag": "html",
7517 "children": [
7518 {
7519 "tag": "head"
7520 },
7521 {
7522 "tag": "body",
7523 "children": [
7524 {
7525 "text": "FOOžZOO"
7526 }
7527 ]
7528 }
7529 ]
7530 }
7531 ],
7532 "html": "<html><head></head><body>FOOžZOO</body></html>",
7533 "noQuirksBodyHtml": "FOOžZOO"
7534 }
7535 },
7536 {
7537 "data": "FOO&#x009F;ZOO",
7538 "errors": [
7539 "(1,3): expected-doctype-but-got-chars",
7540 "(1,11): illegal-codepoint-for-numeric-entity"
7541 ],
7542 "document": {
7543 "props": {
7544 "tags": {
7545 "html": true,
7546 "head": true,
7547 "body": true
7548 }
7549 },
7550 "tree": [
7551 {
7552 "tag": "html",
7553 "children": [
7554 {
7555 "tag": "head"
7556 },
7557 {
7558 "tag": "body",
7559 "children": [
7560 {
7561 "text": "FOOŸZOO"
7562 }
7563 ]
7564 }
7565 ]
7566 }
7567 ],
7568 "html": "<html><head></head><body>FOOŸZOO</body></html>",
7569 "noQuirksBodyHtml": "FOOŸZOO"
7570 }
7571 },
7572 {
7573 "data": "FOO&#x00A0;ZOO",
7574 "errors": [
7575 "(1,3): expected-doctype-but-got-chars"
7576 ],
7577 "document": {
7578 "props": {
7579 "tags": {
7580 "html": true,
7581 "head": true,
7582 "body": true
7583 },
7584 "escaped": true
7585 },
7586 "tree": [
7587 {
7588 "tag": "html",
7589 "children": [
7590 {
7591 "tag": "head"
7592 },
7593 {
7594 "tag": "body",
7595 "children": [
7596 {
7597 "text": "FOO ZOO",
7598 "escaped": true
7599 }
7600 ]
7601 }
7602 ]
7603 }
7604 ],
7605 "html": "<html><head></head><body>FOO&nbsp;ZOO</body></html>",
7606 "noQuirksBodyHtml": "FOO&nbsp;ZOO"
7607 }
7608 },
7609 {
7610 "data": "FOO&#xD7FF;ZOO",
7611 "errors": [
7612 "(1,3): expected-doctype-but-got-chars"
7613 ],
7614 "document": {
7615 "props": {
7616 "tags": {
7617 "html": true,
7618 "head": true,
7619 "body": true
7620 }
7621 },
7622 "tree": [
7623 {
7624 "tag": "html",
7625 "children": [
7626 {
7627 "tag": "head"
7628 },
7629 {
7630 "tag": "body",
7631 "children": [
7632 {
7633 "text": "FOO퟿ZOO"
7634 }
7635 ]
7636 }
7637 ]
7638 }
7639 ],
7640 "html": "<html><head></head><body>FOO퟿ZOO</body></html>",
7641 "noQuirksBodyHtml": "FOO퟿ZOO"
7642 }
7643 },
7644 {
7645 "data": "FOO&#xD800;ZOO",
7646 "errors": [
7647 "(1,3): expected-doctype-but-got-chars",
7648 "(1,11): illegal-codepoint-for-numeric-entity"
7649 ],
7650 "document": {
7651 "props": {
7652 "tags": {
7653 "html": true,
7654 "head": true,
7655 "body": true
7656 }
7657 },
7658 "tree": [
7659 {
7660 "tag": "html",
7661 "children": [
7662 {
7663 "tag": "head"
7664 },
7665 {
7666 "tag": "body",
7667 "children": [
7668 {
7669 "text": "FOO�ZOO"
7670 }
7671 ]
7672 }
7673 ]
7674 }
7675 ],
7676 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7677 "noQuirksBodyHtml": "FOO�ZOO"
7678 }
7679 },
7680 {
7681 "data": "FOO&#xD801;ZOO",
7682 "errors": [
7683 "(1,3): expected-doctype-but-got-chars",
7684 "(1,11): illegal-codepoint-for-numeric-entity"
7685 ],
7686 "document": {
7687 "props": {
7688 "tags": {
7689 "html": true,
7690 "head": true,
7691 "body": true
7692 }
7693 },
7694 "tree": [
7695 {
7696 "tag": "html",
7697 "children": [
7698 {
7699 "tag": "head"
7700 },
7701 {
7702 "tag": "body",
7703 "children": [
7704 {
7705 "text": "FOO�ZOO"
7706 }
7707 ]
7708 }
7709 ]
7710 }
7711 ],
7712 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7713 "noQuirksBodyHtml": "FOO�ZOO"
7714 }
7715 },
7716 {
7717 "data": "FOO&#xDFFE;ZOO",
7718 "errors": [
7719 "(1,3): expected-doctype-but-got-chars",
7720 "(1,11): illegal-codepoint-for-numeric-entity"
7721 ],
7722 "document": {
7723 "props": {
7724 "tags": {
7725 "html": true,
7726 "head": true,
7727 "body": true
7728 }
7729 },
7730 "tree": [
7731 {
7732 "tag": "html",
7733 "children": [
7734 {
7735 "tag": "head"
7736 },
7737 {
7738 "tag": "body",
7739 "children": [
7740 {
7741 "text": "FOO�ZOO"
7742 }
7743 ]
7744 }
7745 ]
7746 }
7747 ],
7748 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7749 "noQuirksBodyHtml": "FOO�ZOO"
7750 }
7751 },
7752 {
7753 "data": "FOO&#xDFFF;ZOO",
7754 "errors": [
7755 "(1,3): expected-doctype-but-got-chars",
7756 "(1,11): illegal-codepoint-for-numeric-entity"
7757 ],
7758 "document": {
7759 "props": {
7760 "tags": {
7761 "html": true,
7762 "head": true,
7763 "body": true
7764 }
7765 },
7766 "tree": [
7767 {
7768 "tag": "html",
7769 "children": [
7770 {
7771 "tag": "head"
7772 },
7773 {
7774 "tag": "body",
7775 "children": [
7776 {
7777 "text": "FOO�ZOO"
7778 }
7779 ]
7780 }
7781 ]
7782 }
7783 ],
7784 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7785 "noQuirksBodyHtml": "FOO�ZOO"
7786 }
7787 },
7788 {
7789 "data": "FOO&#xE000;ZOO",
7790 "errors": [
7791 "(1,3): expected-doctype-but-got-chars"
7792 ],
7793 "document": {
7794 "props": {
7795 "tags": {
7796 "html": true,
7797 "head": true,
7798 "body": true
7799 }
7800 },
7801 "tree": [
7802 {
7803 "tag": "html",
7804 "children": [
7805 {
7806 "tag": "head"
7807 },
7808 {
7809 "tag": "body",
7810 "children": [
7811 {
7812 "text": "FOOZOO"
7813 }
7814 ]
7815 }
7816 ]
7817 }
7818 ],
7819 "html": "<html><head></head><body>FOOZOO</body></html>",
7820 "noQuirksBodyHtml": "FOOZOO"
7821 }
7822 },
7823 {
7824 "data": "FOO&#x10FFFE;ZOO",
7825 "errors": [
7826 "(1,3): expected-doctype-but-got-chars",
7827 "(1,13): illegal-codepoint-for-numeric-entity"
7828 ],
7829 "document": {
7830 "props": {
7831 "tags": {
7832 "html": true,
7833 "head": true,
7834 "body": true
7835 }
7836 },
7837 "tree": [
7838 {
7839 "tag": "html",
7840 "children": [
7841 {
7842 "tag": "head"
7843 },
7844 {
7845 "tag": "body",
7846 "children": [
7847 {
7848 "text": "FOO􏿾ZOO"
7849 }
7850 ]
7851 }
7852 ]
7853 }
7854 ],
7855 "html": "<html><head></head><body>FOO􏿾ZOO</body></html>",
7856 "noQuirksBodyHtml": "FOO􏿾ZOO"
7857 }
7858 },
7859 {
7860 "data": "FOO&#x1087D4;ZOO",
7861 "errors": [
7862 "(1,3): expected-doctype-but-got-chars"
7863 ],
7864 "document": {
7865 "props": {
7866 "tags": {
7867 "html": true,
7868 "head": true,
7869 "body": true
7870 }
7871 },
7872 "tree": [
7873 {
7874 "tag": "html",
7875 "children": [
7876 {
7877 "tag": "head"
7878 },
7879 {
7880 "tag": "body",
7881 "children": [
7882 {
7883 "text": "FOO􈟔ZOO"
7884 }
7885 ]
7886 }
7887 ]
7888 }
7889 ],
7890 "html": "<html><head></head><body>FOO􈟔ZOO</body></html>",
7891 "noQuirksBodyHtml": "FOO􈟔ZOO"
7892 }
7893 },
7894 {
7895 "data": "FOO&#x10FFFF;ZOO",
7896 "errors": [
7897 "(1,3): expected-doctype-but-got-chars",
7898 "(1,13): illegal-codepoint-for-numeric-entity"
7899 ],
7900 "document": {
7901 "props": {
7902 "tags": {
7903 "html": true,
7904 "head": true,
7905 "body": true
7906 }
7907 },
7908 "tree": [
7909 {
7910 "tag": "html",
7911 "children": [
7912 {
7913 "tag": "head"
7914 },
7915 {
7916 "tag": "body",
7917 "children": [
7918 {
7919 "text": "FOO􏿿ZOO"
7920 }
7921 ]
7922 }
7923 ]
7924 }
7925 ],
7926 "html": "<html><head></head><body>FOO􏿿ZOO</body></html>",
7927 "noQuirksBodyHtml": "FOO􏿿ZOO"
7928 }
7929 },
7930 {
7931 "data": "FOO&#x110000;ZOO",
7932 "errors": [
7933 "(1,3): expected-doctype-but-got-chars",
7934 "(1,13): illegal-codepoint-for-numeric-entity"
7935 ],
7936 "document": {
7937 "props": {
7938 "tags": {
7939 "html": true,
7940 "head": true,
7941 "body": true
7942 }
7943 },
7944 "tree": [
7945 {
7946 "tag": "html",
7947 "children": [
7948 {
7949 "tag": "head"
7950 },
7951 {
7952 "tag": "body",
7953 "children": [
7954 {
7955 "text": "FOO�ZOO"
7956 }
7957 ]
7958 }
7959 ]
7960 }
7961 ],
7962 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7963 "noQuirksBodyHtml": "FOO�ZOO"
7964 }
7965 },
7966 {
7967 "data": "FOO&#xFFFFFF;ZOO",
7968 "errors": [
7969 "(1,3): expected-doctype-but-got-chars",
7970 "(1,13): illegal-codepoint-for-numeric-entity"
7971 ],
7972 "document": {
7973 "props": {
7974 "tags": {
7975 "html": true,
7976 "head": true,
7977 "body": true
7978 }
7979 },
7980 "tree": [
7981 {
7982 "tag": "html",
7983 "children": [
7984 {
7985 "tag": "head"
7986 },
7987 {
7988 "tag": "body",
7989 "children": [
7990 {
7991 "text": "FOO�ZOO"
7992 }
7993 ]
7994 }
7995 ]
7996 }
7997 ],
7998 "html": "<html><head></head><body>FOO�ZOO</body></html>",
7999 "noQuirksBodyHtml": "FOO�ZOO"
8000 }
8001 },
8002 {
8003 "data": "FOO&#11111111111",
8004 "errors": [
8005 "(1,3): expected-doctype-but-got-chars",
8006 "(1,13): illegal-codepoint-for-numeric-entity",
8007 "(1,13): eof-in-numeric-entity"
8008 ],
8009 "document": {
8010 "props": {
8011 "tags": {
8012 "html": true,
8013 "head": true,
8014 "body": true
8015 }
8016 },
8017 "tree": [
8018 {
8019 "tag": "html",
8020 "children": [
8021 {
8022 "tag": "head"
8023 },
8024 {
8025 "tag": "body",
8026 "children": [
8027 {
8028 "text": "FOO�"
8029 }
8030 ]
8031 }
8032 ]
8033 }
8034 ],
8035 "html": "<html><head></head><body>FOO�</body></html>",
8036 "noQuirksBodyHtml": "FOO�"
8037 }
8038 },
8039 {
8040 "data": "FOO&#1111111111",
8041 "errors": [
8042 "(1,3): expected-doctype-but-got-chars",
8043 "(1,13): illegal-codepoint-for-numeric-entity",
8044 "(1,13): eof-in-numeric-entity"
8045 ],
8046 "document": {
8047 "props": {
8048 "tags": {
8049 "html": true,
8050 "head": true,
8051 "body": true
8052 }
8053 },
8054 "tree": [
8055 {
8056 "tag": "html",
8057 "children": [
8058 {
8059 "tag": "head"
8060 },
8061 {
8062 "tag": "body",
8063 "children": [
8064 {
8065 "text": "FOO�"
8066 }
8067 ]
8068 }
8069 ]
8070 }
8071 ],
8072 "html": "<html><head></head><body>FOO�</body></html>",
8073 "noQuirksBodyHtml": "FOO�"
8074 }
8075 },
8076 {
8077 "data": "FOO&#111111111111",
8078 "errors": [
8079 "(1,3): expected-doctype-but-got-chars",
8080 "(1,13): illegal-codepoint-for-numeric-entity",
8081 "(1,13): eof-in-numeric-entity"
8082 ],
8083 "document": {
8084 "props": {
8085 "tags": {
8086 "html": true,
8087 "head": true,
8088 "body": true
8089 }
8090 },
8091 "tree": [
8092 {
8093 "tag": "html",
8094 "children": [
8095 {
8096 "tag": "head"
8097 },
8098 {
8099 "tag": "body",
8100 "children": [
8101 {
8102 "text": "FOO�"
8103 }
8104 ]
8105 }
8106 ]
8107 }
8108 ],
8109 "html": "<html><head></head><body>FOO�</body></html>",
8110 "noQuirksBodyHtml": "FOO�"
8111 }
8112 },
8113 {
8114 "data": "FOO&#11111111111ZOO",
8115 "errors": [
8116 "(1,3): expected-doctype-but-got-chars",
8117 "(1,13): illegal-codepoint-for-numeric-entity"
8118 ],
8119 "document": {
8120 "props": {
8121 "tags": {
8122 "html": true,
8123 "head": true,
8124 "body": true
8125 }
8126 },
8127 "tree": [
8128 {
8129 "tag": "html",
8130 "children": [
8131 {
8132 "tag": "head"
8133 },
8134 {
8135 "tag": "body",
8136 "children": [
8137 {
8138 "text": "FOO�ZOO"
8139 }
8140 ]
8141 }
8142 ]
8143 }
8144 ],
8145 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8146 "noQuirksBodyHtml": "FOO�ZOO"
8147 }
8148 },
8149 {
8150 "data": "FOO&#1111111111ZOO",
8151 "errors": [
8152 "(1,3): expected-doctype-but-got-chars",
8153 "(1,13): illegal-codepoint-for-numeric-entity"
8154 ],
8155 "document": {
8156 "props": {
8157 "tags": {
8158 "html": true,
8159 "head": true,
8160 "body": true
8161 }
8162 },
8163 "tree": [
8164 {
8165 "tag": "html",
8166 "children": [
8167 {
8168 "tag": "head"
8169 },
8170 {
8171 "tag": "body",
8172 "children": [
8173 {
8174 "text": "FOO�ZOO"
8175 }
8176 ]
8177 }
8178 ]
8179 }
8180 ],
8181 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8182 "noQuirksBodyHtml": "FOO�ZOO"
8183 }
8184 },
8185 {
8186 "data": "FOO&#111111111111ZOO",
8187 "errors": [
8188 "(1,3): expected-doctype-but-got-chars",
8189 "(1,13): illegal-codepoint-for-numeric-entity"
8190 ],
8191 "document": {
8192 "props": {
8193 "tags": {
8194 "html": true,
8195 "head": true,
8196 "body": true
8197 }
8198 },
8199 "tree": [
8200 {
8201 "tag": "html",
8202 "children": [
8203 {
8204 "tag": "head"
8205 },
8206 {
8207 "tag": "body",
8208 "children": [
8209 {
8210 "text": "FOO�ZOO"
8211 }
8212 ]
8213 }
8214 ]
8215 }
8216 ],
8217 "html": "<html><head></head><body>FOO�ZOO</body></html>",
8218 "noQuirksBodyHtml": "FOO�ZOO"
8219 }
8220 }
8221 ],
8222 "entities02.dat": [
8223 {
8224 "data": "<div bar=\"ZZ&gt;YY\"></div>",
8225 "errors": [
8226 "(1,20): expected-doctype-but-got-start-tag"
8227 ],
8228 "document": {
8229 "props": {
8230 "tags": {
8231 "html": true,
8232 "head": true,
8233 "body": true,
8234 "div": true
8235 }
8236 },
8237 "tree": [
8238 {
8239 "tag": "html",
8240 "children": [
8241 {
8242 "tag": "head"
8243 },
8244 {
8245 "tag": "body",
8246 "children": [
8247 {
8248 "tag": "div",
8249 "attrs": [
8250 {
8251 "name": "bar",
8252 "value": "ZZ>YY"
8253 }
8254 ]
8255 }
8256 ]
8257 }
8258 ]
8259 }
8260 ],
8261 "html": "<html><head></head><body><div bar=\"ZZ>YY\"></div></body></html>",
8262 "noQuirksBodyHtml": "<div bar=\"ZZ>YY\"></div>"
8263 }
8264 },
8265 {
8266 "data": "<div bar=\"ZZ&\"></div>",
8267 "errors": [
8268 "(1,15): expected-doctype-but-got-start-tag"
8269 ],
8270 "document": {
8271 "props": {
8272 "tags": {
8273 "html": true,
8274 "head": true,
8275 "body": true,
8276 "div": true
8277 },
8278 "escaped": true
8279 },
8280 "tree": [
8281 {
8282 "tag": "html",
8283 "children": [
8284 {
8285 "tag": "head"
8286 },
8287 {
8288 "tag": "body",
8289 "children": [
8290 {
8291 "tag": "div",
8292 "attrs": [
8293 {
8294 "name": "bar",
8295 "value": "ZZ&",
8296 "escaped": true
8297 }
8298 ]
8299 }
8300 ]
8301 }
8302 ]
8303 }
8304 ],
8305 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8306 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8307 }
8308 },
8309 {
8310 "data": "<div bar='ZZ&'></div>",
8311 "errors": [
8312 "(1,15): expected-doctype-but-got-start-tag"
8313 ],
8314 "document": {
8315 "props": {
8316 "tags": {
8317 "html": true,
8318 "head": true,
8319 "body": true,
8320 "div": true
8321 },
8322 "escaped": true
8323 },
8324 "tree": [
8325 {
8326 "tag": "html",
8327 "children": [
8328 {
8329 "tag": "head"
8330 },
8331 {
8332 "tag": "body",
8333 "children": [
8334 {
8335 "tag": "div",
8336 "attrs": [
8337 {
8338 "name": "bar",
8339 "value": "ZZ&",
8340 "escaped": true
8341 }
8342 ]
8343 }
8344 ]
8345 }
8346 ]
8347 }
8348 ],
8349 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8350 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8351 }
8352 },
8353 {
8354 "data": "<div bar=ZZ&></div>",
8355 "errors": [
8356 "(1,13): expected-doctype-but-got-start-tag"
8357 ],
8358 "document": {
8359 "props": {
8360 "tags": {
8361 "html": true,
8362 "head": true,
8363 "body": true,
8364 "div": true
8365 },
8366 "escaped": true
8367 },
8368 "tree": [
8369 {
8370 "tag": "html",
8371 "children": [
8372 {
8373 "tag": "head"
8374 },
8375 {
8376 "tag": "body",
8377 "children": [
8378 {
8379 "tag": "div",
8380 "attrs": [
8381 {
8382 "name": "bar",
8383 "value": "ZZ&",
8384 "escaped": true
8385 }
8386 ]
8387 }
8388 ]
8389 }
8390 ]
8391 }
8392 ],
8393 "html": "<html><head></head><body><div bar=\"ZZ&amp;\"></div></body></html>",
8394 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;\"></div>"
8395 }
8396 },
8397 {
8398 "data": "<div bar=\"ZZ&gt=YY\"></div>",
8399 "errors": [
8400 "(1,15): named-entity-without-semicolon",
8401 "(1,20): expected-doctype-but-got-start-tag"
8402 ],
8403 "document": {
8404 "props": {
8405 "tags": {
8406 "html": true,
8407 "head": true,
8408 "body": true,
8409 "div": true
8410 },
8411 "escaped": true
8412 },
8413 "tree": [
8414 {
8415 "tag": "html",
8416 "children": [
8417 {
8418 "tag": "head"
8419 },
8420 {
8421 "tag": "body",
8422 "children": [
8423 {
8424 "tag": "div",
8425 "attrs": [
8426 {
8427 "name": "bar",
8428 "value": "ZZ&gt=YY",
8429 "escaped": true
8430 }
8431 ]
8432 }
8433 ]
8434 }
8435 ]
8436 }
8437 ],
8438 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt=YY\"></div></body></html>",
8439 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt=YY\"></div>"
8440 }
8441 },
8442 {
8443 "data": "<div bar=\"ZZ&gt0YY\"></div>",
8444 "errors": [
8445 "(1,20): expected-doctype-but-got-start-tag"
8446 ],
8447 "document": {
8448 "props": {
8449 "tags": {
8450 "html": true,
8451 "head": true,
8452 "body": true,
8453 "div": true
8454 },
8455 "escaped": true
8456 },
8457 "tree": [
8458 {
8459 "tag": "html",
8460 "children": [
8461 {
8462 "tag": "head"
8463 },
8464 {
8465 "tag": "body",
8466 "children": [
8467 {
8468 "tag": "div",
8469 "attrs": [
8470 {
8471 "name": "bar",
8472 "value": "ZZ&gt0YY",
8473 "escaped": true
8474 }
8475 ]
8476 }
8477 ]
8478 }
8479 ]
8480 }
8481 ],
8482 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt0YY\"></div></body></html>",
8483 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt0YY\"></div>"
8484 }
8485 },
8486 {
8487 "data": "<div bar=\"ZZ&gt9YY\"></div>",
8488 "errors": [
8489 "(1,20): expected-doctype-but-got-start-tag"
8490 ],
8491 "document": {
8492 "props": {
8493 "tags": {
8494 "html": true,
8495 "head": true,
8496 "body": true,
8497 "div": true
8498 },
8499 "escaped": true
8500 },
8501 "tree": [
8502 {
8503 "tag": "html",
8504 "children": [
8505 {
8506 "tag": "head"
8507 },
8508 {
8509 "tag": "body",
8510 "children": [
8511 {
8512 "tag": "div",
8513 "attrs": [
8514 {
8515 "name": "bar",
8516 "value": "ZZ&gt9YY",
8517 "escaped": true
8518 }
8519 ]
8520 }
8521 ]
8522 }
8523 ]
8524 }
8525 ],
8526 "html": "<html><head></head><body><div bar=\"ZZ&amp;gt9YY\"></div></body></html>",
8527 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gt9YY\"></div>"
8528 }
8529 },
8530 {
8531 "data": "<div bar=\"ZZ&gtaYY\"></div>",
8532 "errors": [
8533 "(1,20): expected-doctype-but-got-start-tag"
8534 ],
8535 "document": {
8536 "props": {
8537 "tags": {
8538 "html": true,
8539 "head": true,
8540 "body": true,
8541 "div": true
8542 },
8543 "escaped": true
8544 },
8545 "tree": [
8546 {
8547 "tag": "html",
8548 "children": [
8549 {
8550 "tag": "head"
8551 },
8552 {
8553 "tag": "body",
8554 "children": [
8555 {
8556 "tag": "div",
8557 "attrs": [
8558 {
8559 "name": "bar",
8560 "value": "ZZ&gtaYY",
8561 "escaped": true
8562 }
8563 ]
8564 }
8565 ]
8566 }
8567 ]
8568 }
8569 ],
8570 "html": "<html><head></head><body><div bar=\"ZZ&amp;gtaYY\"></div></body></html>",
8571 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gtaYY\"></div>"
8572 }
8573 },
8574 {
8575 "data": "<div bar=\"ZZ&gtZYY\"></div>",
8576 "errors": [
8577 "(1,20): expected-doctype-but-got-start-tag"
8578 ],
8579 "document": {
8580 "props": {
8581 "tags": {
8582 "html": true,
8583 "head": true,
8584 "body": true,
8585 "div": true
8586 },
8587 "escaped": true
8588 },
8589 "tree": [
8590 {
8591 "tag": "html",
8592 "children": [
8593 {
8594 "tag": "head"
8595 },
8596 {
8597 "tag": "body",
8598 "children": [
8599 {
8600 "tag": "div",
8601 "attrs": [
8602 {
8603 "name": "bar",
8604 "value": "ZZ&gtZYY",
8605 "escaped": true
8606 }
8607 ]
8608 }
8609 ]
8610 }
8611 ]
8612 }
8613 ],
8614 "html": "<html><head></head><body><div bar=\"ZZ&amp;gtZYY\"></div></body></html>",
8615 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;gtZYY\"></div>"
8616 }
8617 },
8618 {
8619 "data": "<div bar=\"ZZ&gt YY\"></div>",
8620 "errors": [
8621 "(1,15): named-entity-without-semicolon",
8622 "(1,20): expected-doctype-but-got-start-tag"
8623 ],
8624 "document": {
8625 "props": {
8626 "tags": {
8627 "html": true,
8628 "head": true,
8629 "body": true,
8630 "div": true
8631 }
8632 },
8633 "tree": [
8634 {
8635 "tag": "html",
8636 "children": [
8637 {
8638 "tag": "head"
8639 },
8640 {
8641 "tag": "body",
8642 "children": [
8643 {
8644 "tag": "div",
8645 "attrs": [
8646 {
8647 "name": "bar",
8648 "value": "ZZ> YY"
8649 }
8650 ]
8651 }
8652 ]
8653 }
8654 ]
8655 }
8656 ],
8657 "html": "<html><head></head><body><div bar=\"ZZ> YY\"></div></body></html>",
8658 "noQuirksBodyHtml": "<div bar=\"ZZ> YY\"></div>"
8659 }
8660 },
8661 {
8662 "data": "<div bar=\"ZZ&gt\"></div>",
8663 "errors": [
8664 "(1,15): named-entity-without-semicolon",
8665 "(1,17): expected-doctype-but-got-start-tag"
8666 ],
8667 "document": {
8668 "props": {
8669 "tags": {
8670 "html": true,
8671 "head": true,
8672 "body": true,
8673 "div": true
8674 }
8675 },
8676 "tree": [
8677 {
8678 "tag": "html",
8679 "children": [
8680 {
8681 "tag": "head"
8682 },
8683 {
8684 "tag": "body",
8685 "children": [
8686 {
8687 "tag": "div",
8688 "attrs": [
8689 {
8690 "name": "bar",
8691 "value": "ZZ>"
8692 }
8693 ]
8694 }
8695 ]
8696 }
8697 ]
8698 }
8699 ],
8700 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8701 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8702 }
8703 },
8704 {
8705 "data": "<div bar='ZZ&gt'></div>",
8706 "errors": [
8707 "(1,15): named-entity-without-semicolon",
8708 "(1,17): expected-doctype-but-got-start-tag"
8709 ],
8710 "document": {
8711 "props": {
8712 "tags": {
8713 "html": true,
8714 "head": true,
8715 "body": true,
8716 "div": true
8717 }
8718 },
8719 "tree": [
8720 {
8721 "tag": "html",
8722 "children": [
8723 {
8724 "tag": "head"
8725 },
8726 {
8727 "tag": "body",
8728 "children": [
8729 {
8730 "tag": "div",
8731 "attrs": [
8732 {
8733 "name": "bar",
8734 "value": "ZZ>"
8735 }
8736 ]
8737 }
8738 ]
8739 }
8740 ]
8741 }
8742 ],
8743 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8744 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8745 }
8746 },
8747 {
8748 "data": "<div bar=ZZ&gt></div>",
8749 "errors": [
8750 "(1,14): named-entity-without-semicolon",
8751 "(1,15): expected-doctype-but-got-start-tag"
8752 ],
8753 "document": {
8754 "props": {
8755 "tags": {
8756 "html": true,
8757 "head": true,
8758 "body": true,
8759 "div": true
8760 }
8761 },
8762 "tree": [
8763 {
8764 "tag": "html",
8765 "children": [
8766 {
8767 "tag": "head"
8768 },
8769 {
8770 "tag": "body",
8771 "children": [
8772 {
8773 "tag": "div",
8774 "attrs": [
8775 {
8776 "name": "bar",
8777 "value": "ZZ>"
8778 }
8779 ]
8780 }
8781 ]
8782 }
8783 ]
8784 }
8785 ],
8786 "html": "<html><head></head><body><div bar=\"ZZ>\"></div></body></html>",
8787 "noQuirksBodyHtml": "<div bar=\"ZZ>\"></div>"
8788 }
8789 },
8790 {
8791 "data": "<div bar=\"ZZ&pound_id=23\"></div>",
8792 "errors": [
8793 "(1,18): named-entity-without-semicolon",
8794 "(1,26): expected-doctype-but-got-start-tag"
8795 ],
8796 "document": {
8797 "props": {
8798 "tags": {
8799 "html": true,
8800 "head": true,
8801 "body": true,
8802 "div": true
8803 }
8804 },
8805 "tree": [
8806 {
8807 "tag": "html",
8808 "children": [
8809 {
8810 "tag": "head"
8811 },
8812 {
8813 "tag": "body",
8814 "children": [
8815 {
8816 "tag": "div",
8817 "attrs": [
8818 {
8819 "name": "bar",
8820 "value": "ZZ£_id=23"
8821 }
8822 ]
8823 }
8824 ]
8825 }
8826 ]
8827 }
8828 ],
8829 "html": "<html><head></head><body><div bar=\"ZZ£_id=23\"></div></body></html>",
8830 "noQuirksBodyHtml": "<div bar=\"ZZ£_id=23\"></div>"
8831 }
8832 },
8833 {
8834 "data": "<div bar=\"ZZ&prod_id=23\"></div>",
8835 "errors": [
8836 "(1,25): expected-doctype-but-got-start-tag"
8837 ],
8838 "document": {
8839 "props": {
8840 "tags": {
8841 "html": true,
8842 "head": true,
8843 "body": true,
8844 "div": true
8845 },
8846 "escaped": true
8847 },
8848 "tree": [
8849 {
8850 "tag": "html",
8851 "children": [
8852 {
8853 "tag": "head"
8854 },
8855 {
8856 "tag": "body",
8857 "children": [
8858 {
8859 "tag": "div",
8860 "attrs": [
8861 {
8862 "name": "bar",
8863 "value": "ZZ&prod_id=23",
8864 "escaped": true
8865 }
8866 ]
8867 }
8868 ]
8869 }
8870 ]
8871 }
8872 ],
8873 "html": "<html><head></head><body><div bar=\"ZZ&amp;prod_id=23\"></div></body></html>",
8874 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;prod_id=23\"></div>"
8875 }
8876 },
8877 {
8878 "data": "<div bar=\"ZZ&pound;_id=23\"></div>",
8879 "errors": [
8880 "(1,27): expected-doctype-but-got-start-tag"
8881 ],
8882 "document": {
8883 "props": {
8884 "tags": {
8885 "html": true,
8886 "head": true,
8887 "body": true,
8888 "div": true
8889 }
8890 },
8891 "tree": [
8892 {
8893 "tag": "html",
8894 "children": [
8895 {
8896 "tag": "head"
8897 },
8898 {
8899 "tag": "body",
8900 "children": [
8901 {
8902 "tag": "div",
8903 "attrs": [
8904 {
8905 "name": "bar",
8906 "value": "ZZ£_id=23"
8907 }
8908 ]
8909 }
8910 ]
8911 }
8912 ]
8913 }
8914 ],
8915 "html": "<html><head></head><body><div bar=\"ZZ£_id=23\"></div></body></html>",
8916 "noQuirksBodyHtml": "<div bar=\"ZZ£_id=23\"></div>"
8917 }
8918 },
8919 {
8920 "data": "<div bar=\"ZZ&prod;_id=23\"></div>",
8921 "errors": [
8922 "(1,26): expected-doctype-but-got-start-tag"
8923 ],
8924 "document": {
8925 "props": {
8926 "tags": {
8927 "html": true,
8928 "head": true,
8929 "body": true,
8930 "div": true
8931 }
8932 },
8933 "tree": [
8934 {
8935 "tag": "html",
8936 "children": [
8937 {
8938 "tag": "head"
8939 },
8940 {
8941 "tag": "body",
8942 "children": [
8943 {
8944 "tag": "div",
8945 "attrs": [
8946 {
8947 "name": "bar",
8948 "value": "ZZ∏_id=23"
8949 }
8950 ]
8951 }
8952 ]
8953 }
8954 ]
8955 }
8956 ],
8957 "html": "<html><head></head><body><div bar=\"ZZ∏_id=23\"></div></body></html>",
8958 "noQuirksBodyHtml": "<div bar=\"ZZ∏_id=23\"></div>"
8959 }
8960 },
8961 {
8962 "data": "<div bar=\"ZZ&pound=23\"></div>",
8963 "errors": [
8964 "(1,18): named-entity-without-semicolon",
8965 "(1,23): expected-doctype-but-got-start-tag"
8966 ],
8967 "document": {
8968 "props": {
8969 "tags": {
8970 "html": true,
8971 "head": true,
8972 "body": true,
8973 "div": true
8974 },
8975 "escaped": true
8976 },
8977 "tree": [
8978 {
8979 "tag": "html",
8980 "children": [
8981 {
8982 "tag": "head"
8983 },
8984 {
8985 "tag": "body",
8986 "children": [
8987 {
8988 "tag": "div",
8989 "attrs": [
8990 {
8991 "name": "bar",
8992 "value": "ZZ&pound=23",
8993 "escaped": true
8994 }
8995 ]
8996 }
8997 ]
8998 }
8999 ]
9000 }
9001 ],
9002 "html": "<html><head></head><body><div bar=\"ZZ&amp;pound=23\"></div></body></html>",
9003 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;pound=23\"></div>"
9004 }
9005 },
9006 {
9007 "data": "<div bar=\"ZZ&prod=23\"></div>",
9008 "errors": [
9009 "(1,22): expected-doctype-but-got-start-tag"
9010 ],
9011 "document": {
9012 "props": {
9013 "tags": {
9014 "html": true,
9015 "head": true,
9016 "body": true,
9017 "div": true
9018 },
9019 "escaped": true
9020 },
9021 "tree": [
9022 {
9023 "tag": "html",
9024 "children": [
9025 {
9026 "tag": "head"
9027 },
9028 {
9029 "tag": "body",
9030 "children": [
9031 {
9032 "tag": "div",
9033 "attrs": [
9034 {
9035 "name": "bar",
9036 "value": "ZZ&prod=23",
9037 "escaped": true
9038 }
9039 ]
9040 }
9041 ]
9042 }
9043 ]
9044 }
9045 ],
9046 "html": "<html><head></head><body><div bar=\"ZZ&amp;prod=23\"></div></body></html>",
9047 "noQuirksBodyHtml": "<div bar=\"ZZ&amp;prod=23\"></div>"
9048 }
9049 },
9050 {
9051 "data": "<div>ZZ&pound_id=23</div>",
9052 "errors": [
9053 "(1,5): expected-doctype-but-got-start-tag",
9054 "(1,13): named-entity-without-semicolon"
9055 ],
9056 "document": {
9057 "props": {
9058 "tags": {
9059 "html": true,
9060 "head": true,
9061 "body": true,
9062 "div": true
9063 }
9064 },
9065 "tree": [
9066 {
9067 "tag": "html",
9068 "children": [
9069 {
9070 "tag": "head"
9071 },
9072 {
9073 "tag": "body",
9074 "children": [
9075 {
9076 "tag": "div",
9077 "children": [
9078 {
9079 "text": "ZZ£_id=23"
9080 }
9081 ]
9082 }
9083 ]
9084 }
9085 ]
9086 }
9087 ],
9088 "html": "<html><head></head><body><div>ZZ£_id=23</div></body></html>",
9089 "noQuirksBodyHtml": "<div>ZZ£_id=23</div>"
9090 }
9091 },
9092 {
9093 "data": "<div>ZZ&prod_id=23</div>",
9094 "errors": [
9095 "(1,5): expected-doctype-but-got-start-tag"
9096 ],
9097 "document": {
9098 "props": {
9099 "tags": {
9100 "html": true,
9101 "head": true,
9102 "body": true,
9103 "div": true
9104 },
9105 "escaped": true
9106 },
9107 "tree": [
9108 {
9109 "tag": "html",
9110 "children": [
9111 {
9112 "tag": "head"
9113 },
9114 {
9115 "tag": "body",
9116 "children": [
9117 {
9118 "tag": "div",
9119 "children": [
9120 {
9121 "text": "ZZ&prod_id=23",
9122 "escaped": true
9123 }
9124 ]
9125 }
9126 ]
9127 }
9128 ]
9129 }
9130 ],
9131 "html": "<html><head></head><body><div>ZZ&amp;prod_id=23</div></body></html>",
9132 "noQuirksBodyHtml": "<div>ZZ&amp;prod_id=23</div>"
9133 }
9134 },
9135 {
9136 "data": "<div>ZZ&pound;_id=23</div>",
9137 "errors": [
9138 "(1,5): expected-doctype-but-got-start-tag"
9139 ],
9140 "document": {
9141 "props": {
9142 "tags": {
9143 "html": true,
9144 "head": true,
9145 "body": true,
9146 "div": true
9147 }
9148 },
9149 "tree": [
9150 {
9151 "tag": "html",
9152 "children": [
9153 {
9154 "tag": "head"
9155 },
9156 {
9157 "tag": "body",
9158 "children": [
9159 {
9160 "tag": "div",
9161 "children": [
9162 {
9163 "text": "ZZ£_id=23"
9164 }
9165 ]
9166 }
9167 ]
9168 }
9169 ]
9170 }
9171 ],
9172 "html": "<html><head></head><body><div>ZZ£_id=23</div></body></html>",
9173 "noQuirksBodyHtml": "<div>ZZ£_id=23</div>"
9174 }
9175 },
9176 {
9177 "data": "<div>ZZ&prod;_id=23</div>",
9178 "errors": [
9179 "(1,5): expected-doctype-but-got-start-tag"
9180 ],
9181 "document": {
9182 "props": {
9183 "tags": {
9184 "html": true,
9185 "head": true,
9186 "body": true,
9187 "div": true
9188 }
9189 },
9190 "tree": [
9191 {
9192 "tag": "html",
9193 "children": [
9194 {
9195 "tag": "head"
9196 },
9197 {
9198 "tag": "body",
9199 "children": [
9200 {
9201 "tag": "div",
9202 "children": [
9203 {
9204 "text": "ZZ∏_id=23"
9205 }
9206 ]
9207 }
9208 ]
9209 }
9210 ]
9211 }
9212 ],
9213 "html": "<html><head></head><body><div>ZZ∏_id=23</div></body></html>",
9214 "noQuirksBodyHtml": "<div>ZZ∏_id=23</div>"
9215 }
9216 },
9217 {
9218 "data": "<div>ZZ&pound=23</div>",
9219 "errors": [
9220 "(1,5): expected-doctype-but-got-start-tag",
9221 "(1,13): named-entity-without-semicolon"
9222 ],
9223 "document": {
9224 "props": {
9225 "tags": {
9226 "html": true,
9227 "head": true,
9228 "body": true,
9229 "div": true
9230 }
9231 },
9232 "tree": [
9233 {
9234 "tag": "html",
9235 "children": [
9236 {
9237 "tag": "head"
9238 },
9239 {
9240 "tag": "body",
9241 "children": [
9242 {
9243 "tag": "div",
9244 "children": [
9245 {
9246 "text": "ZZ£=23"
9247 }
9248 ]
9249 }
9250 ]
9251 }
9252 ]
9253 }
9254 ],
9255 "html": "<html><head></head><body><div>ZZ£=23</div></body></html>",
9256 "noQuirksBodyHtml": "<div>ZZ£=23</div>"
9257 }
9258 },
9259 {
9260 "data": "<div>ZZ&prod=23</div>",
9261 "errors": [
9262 "(1,5): expected-doctype-but-got-start-tag"
9263 ],
9264 "document": {
9265 "props": {
9266 "tags": {
9267 "html": true,
9268 "head": true,
9269 "body": true,
9270 "div": true
9271 },
9272 "escaped": true
9273 },
9274 "tree": [
9275 {
9276 "tag": "html",
9277 "children": [
9278 {
9279 "tag": "head"
9280 },
9281 {
9282 "tag": "body",
9283 "children": [
9284 {
9285 "tag": "div",
9286 "children": [
9287 {
9288 "text": "ZZ&prod=23",
9289 "escaped": true
9290 }
9291 ]
9292 }
9293 ]
9294 }
9295 ]
9296 }
9297 ],
9298 "html": "<html><head></head><body><div>ZZ&amp;prod=23</div></body></html>",
9299 "noQuirksBodyHtml": "<div>ZZ&amp;prod=23</div>"
9300 }
9301 },
9302 {
9303 "data": "<div>ZZ&AElig=</div>",
9304 "errors": [],
9305 "document": {
9306 "props": {
9307 "tags": {
9308 "html": true,
9309 "head": true,
9310 "body": true,
9311 "div": true
9312 }
9313 },
9314 "tree": [
9315 {
9316 "tag": "html",
9317 "children": [
9318 {
9319 "tag": "head"
9320 },
9321 {
9322 "tag": "body",
9323 "children": [
9324 {
9325 "tag": "div",
9326 "children": [
9327 {
9328 "text": "ZZÆ="
9329 }
9330 ]
9331 }
9332 ]
9333 }
9334 ]
9335 }
9336 ],
9337 "html": "<html><head></head><body><div>ZZÆ=</div></body></html>",
9338 "noQuirksBodyHtml": "<div>ZZÆ=</div>"
9339 }
9340 }
9341 ],
9342 "foreign-fragment.dat": [
9343 {
9344 "data": "<nobr>X",
9345 "errors": [
9346 "6: HTML start tag “nobr” in a foreign namespace context.",
9347 "7: End of file seen and there were open elements.",
9348 "6: Unclosed element “nobr”."
9349 ],
9350 "fragment": {
9351 "name": "path",
9352 "ns": "http://www.w3.org/2000/svg"
9353 },
9354 "document": {
9355 "props": {
9356 "tags": {
9357 "svg nobr": true
9358 }
9359 },
9360 "tree": [
9361 {
9362 "tag": "nobr",
9363 "ns": "http://www.w3.org/2000/svg",
9364 "children": [
9365 {
9366 "text": "X"
9367 }
9368 ]
9369 }
9370 ],
9371 "html": "<nobr>X</nobr>",
9372 "noQuirksBodyHtml": "<nobr>X</nobr>"
9373 }
9374 },
9375 {
9376 "data": "<font color></font>X",
9377 "errors": [
9378 "12: HTML start tag “font” in a foreign namespace context."
9379 ],
9380 "fragment": {
9381 "name": "path",
9382 "ns": "http://www.w3.org/2000/svg"
9383 },
9384 "document": {
9385 "props": {
9386 "tags": {
9387 "svg font": true
9388 }
9389 },
9390 "tree": [
9391 {
9392 "tag": "font",
9393 "ns": "http://www.w3.org/2000/svg",
9394 "attrs": [
9395 {
9396 "name": "color",
9397 "value": ""
9398 }
9399 ]
9400 },
9401 {
9402 "text": "X"
9403 }
9404 ],
9405 "html": "<font color=\"\"></font>X",
9406 "noQuirksBodyHtml": "<font color=\"\"></font>X"
9407 }
9408 },
9409 {
9410 "data": "<font></font>X",
9411 "errors": [],
9412 "fragment": {
9413 "name": "path",
9414 "ns": "http://www.w3.org/2000/svg"
9415 },
9416 "document": {
9417 "props": {
9418 "tags": {
9419 "svg font": true
9420 }
9421 },
9422 "tree": [
9423 {
9424 "tag": "font",
9425 "ns": "http://www.w3.org/2000/svg"
9426 },
9427 {
9428 "text": "X"
9429 }
9430 ],
9431 "html": "<font></font>X",
9432 "noQuirksBodyHtml": "<font></font>X"
9433 }
9434 },
9435 {
9436 "data": "<g></path>X",
9437 "errors": [
9438 "10: End tag “path” did not match the name of the current open element (“g”).",
9439 "11: End of file seen and there were open elements.",
9440 "3: Unclosed element “g”."
9441 ],
9442 "fragment": {
9443 "name": "path",
9444 "ns": "http://www.w3.org/2000/svg"
9445 },
9446 "document": {
9447 "props": {
9448 "tags": {
9449 "svg g": true
9450 }
9451 },
9452 "tree": [
9453 {
9454 "tag": "g",
9455 "ns": "http://www.w3.org/2000/svg",
9456 "children": [
9457 {
9458 "text": "X"
9459 }
9460 ]
9461 }
9462 ],
9463 "html": "<g>X</g>",
9464 "noQuirksBodyHtml": "<g>X</g>"
9465 }
9466 },
9467 {
9468 "data": "</path>X",
9469 "errors": [
9470 "5: Stray end tag “path”."
9471 ],
9472 "fragment": {
9473 "name": "path",
9474 "ns": "http://www.w3.org/2000/svg"
9475 },
9476 "document": {
9477 "props": {
9478 "tags": {}
9479 },
9480 "tree": [
9481 {
9482 "text": "X"
9483 }
9484 ],
9485 "html": "X",
9486 "noQuirksBodyHtml": "X"
9487 }
9488 },
9489 {
9490 "data": "</foreignObject>X",
9491 "errors": [
9492 "5: Stray end tag “foreignobject”."
9493 ],
9494 "fragment": {
9495 "name": "foreignObject",
9496 "ns": "http://www.w3.org/2000/svg"
9497 },
9498 "document": {
9499 "props": {
9500 "tags": {}
9501 },
9502 "tree": [
9503 {
9504 "text": "X"
9505 }
9506 ],
9507 "html": "X",
9508 "noQuirksBodyHtml": "X"
9509 }
9510 },
9511 {
9512 "data": "</desc>X",
9513 "errors": [
9514 "5: Stray end tag “desc”."
9515 ],
9516 "fragment": {
9517 "name": "desc",
9518 "ns": "http://www.w3.org/2000/svg"
9519 },
9520 "document": {
9521 "props": {
9522 "tags": {}
9523 },
9524 "tree": [
9525 {
9526 "text": "X"
9527 }
9528 ],
9529 "html": "X",
9530 "noQuirksBodyHtml": "X"
9531 }
9532 },
9533 {
9534 "data": "</title>X",
9535 "errors": [
9536 "5: Stray end tag “title”."
9537 ],
9538 "fragment": {
9539 "name": "title",
9540 "ns": "http://www.w3.org/2000/svg"
9541 },
9542 "document": {
9543 "props": {
9544 "tags": {}
9545 },
9546 "tree": [
9547 {
9548 "text": "X"
9549 }
9550 ],
9551 "html": "X",
9552 "noQuirksBodyHtml": "X"
9553 }
9554 },
9555 {
9556 "data": "</svg>X",
9557 "errors": [
9558 "5: Stray end tag “svg”."
9559 ],
9560 "fragment": {
9561 "name": "svg",
9562 "ns": "http://www.w3.org/2000/svg"
9563 },
9564 "document": {
9565 "props": {
9566 "tags": {}
9567 },
9568 "tree": [
9569 {
9570 "text": "X"
9571 }
9572 ],
9573 "html": "X",
9574 "noQuirksBodyHtml": "X"
9575 }
9576 },
9577 {
9578 "data": "</mfenced>X",
9579 "errors": [
9580 "5: Stray end tag “mfenced”."
9581 ],
9582 "fragment": {
9583 "name": "mfenced",
9584 "ns": "http://www.w3.org/1998/Math/MathML"
9585 },
9586 "document": {
9587 "props": {
9588 "tags": {}
9589 },
9590 "tree": [
9591 {
9592 "text": "X"
9593 }
9594 ],
9595 "html": "X",
9596 "noQuirksBodyHtml": "X"
9597 }
9598 },
9599 {
9600 "data": "</malignmark>X",
9601 "errors": [
9602 "5: Stray end tag “malignmark”."
9603 ],
9604 "fragment": {
9605 "name": "malignmark",
9606 "ns": "http://www.w3.org/1998/Math/MathML"
9607 },
9608 "document": {
9609 "props": {
9610 "tags": {}
9611 },
9612 "tree": [
9613 {
9614 "text": "X"
9615 }
9616 ],
9617 "html": "X",
9618 "noQuirksBodyHtml": "X"
9619 }
9620 },
9621 {
9622 "data": "</math>X",
9623 "errors": [
9624 "5: Stray end tag “math”."
9625 ],
9626 "fragment": {
9627 "name": "math",
9628 "ns": "http://www.w3.org/1998/Math/MathML"
9629 },
9630 "document": {
9631 "props": {
9632 "tags": {}
9633 },
9634 "tree": [
9635 {
9636 "text": "X"
9637 }
9638 ],
9639 "html": "X",
9640 "noQuirksBodyHtml": "X"
9641 }
9642 },
9643 {
9644 "data": "</annotation-xml>X",
9645 "errors": [
9646 "5: Stray end tag “annotation-xml”."
9647 ],
9648 "fragment": {
9649 "name": "annotation-xml",
9650 "ns": "http://www.w3.org/1998/Math/MathML"
9651 },
9652 "document": {
9653 "props": {
9654 "tags": {}
9655 },
9656 "tree": [
9657 {
9658 "text": "X"
9659 }
9660 ],
9661 "html": "X",
9662 "noQuirksBodyHtml": "X"
9663 }
9664 },
9665 {
9666 "data": "</mtext>X",
9667 "errors": [
9668 "5: Stray end tag “mtext”."
9669 ],
9670 "fragment": {
9671 "name": "mtext",
9672 "ns": "http://www.w3.org/1998/Math/MathML"
9673 },
9674 "document": {
9675 "props": {
9676 "tags": {}
9677 },
9678 "tree": [
9679 {
9680 "text": "X"
9681 }
9682 ],
9683 "html": "X",
9684 "noQuirksBodyHtml": "X"
9685 }
9686 },
9687 {
9688 "data": "</mi>X",
9689 "errors": [
9690 "5: Stray end tag “mi”."
9691 ],
9692 "fragment": {
9693 "name": "mi",
9694 "ns": "http://www.w3.org/1998/Math/MathML"
9695 },
9696 "document": {
9697 "props": {
9698 "tags": {}
9699 },
9700 "tree": [
9701 {
9702 "text": "X"
9703 }
9704 ],
9705 "html": "X",
9706 "noQuirksBodyHtml": "X"
9707 }
9708 },
9709 {
9710 "data": "</mo>X",
9711 "errors": [
9712 "5: Stray end tag “mo”."
9713 ],
9714 "fragment": {
9715 "name": "mo",
9716 "ns": "http://www.w3.org/1998/Math/MathML"
9717 },
9718 "document": {
9719 "props": {
9720 "tags": {}
9721 },
9722 "tree": [
9723 {
9724 "text": "X"
9725 }
9726 ],
9727 "html": "X",
9728 "noQuirksBodyHtml": "X"
9729 }
9730 },
9731 {
9732 "data": "</mn>X",
9733 "errors": [
9734 "5: Stray end tag “mn”."
9735 ],
9736 "fragment": {
9737 "name": "mn",
9738 "ns": "http://www.w3.org/1998/Math/MathML"
9739 },
9740 "document": {
9741 "props": {
9742 "tags": {}
9743 },
9744 "tree": [
9745 {
9746 "text": "X"
9747 }
9748 ],
9749 "html": "X",
9750 "noQuirksBodyHtml": "X"
9751 }
9752 },
9753 {
9754 "data": "</ms>X",
9755 "errors": [
9756 "5: Stray end tag “ms”."
9757 ],
9758 "fragment": {
9759 "name": "ms",
9760 "ns": "http://www.w3.org/1998/Math/MathML"
9761 },
9762 "document": {
9763 "props": {
9764 "tags": {}
9765 },
9766 "tree": [
9767 {
9768 "text": "X"
9769 }
9770 ],
9771 "html": "X",
9772 "noQuirksBodyHtml": "X"
9773 }
9774 },
9775 {
9776 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><ms/>X",
9777 "errors": [
9778 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
9779 "52: End of file seen and there were open elements.",
9780 "51: Unclosed element “ms”."
9781 ],
9782 "fragment": {
9783 "name": "ms",
9784 "ns": "http://www.w3.org/1998/Math/MathML"
9785 },
9786 "document": {
9787 "props": {
9788 "tags": {
9789 "b": true,
9790 "math mglyph": true,
9791 "i": true,
9792 "math malignmark": true,
9793 "u": true,
9794 "ms": true
9795 }
9796 },
9797 "tree": [
9798 {
9799 "tag": "b"
9800 },
9801 {
9802 "tag": "mglyph",
9803 "ns": "http://www.w3.org/1998/Math/MathML"
9804 },
9805 {
9806 "tag": "i"
9807 },
9808 {
9809 "tag": "malignmark",
9810 "ns": "http://www.w3.org/1998/Math/MathML"
9811 },
9812 {
9813 "tag": "u"
9814 },
9815 {
9816 "tag": "ms",
9817 "children": [
9818 {
9819 "text": "X"
9820 }
9821 ]
9822 }
9823 ],
9824 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><ms>X</ms>",
9825 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><ms>X</ms></malignmark></mglyph>"
9826 }
9827 },
9828 {
9829 "data": "<malignmark></malignmark>",
9830 "errors": [],
9831 "fragment": {
9832 "name": "ms",
9833 "ns": "http://www.w3.org/1998/Math/MathML"
9834 },
9835 "document": {
9836 "props": {
9837 "tags": {
9838 "math malignmark": true
9839 }
9840 },
9841 "tree": [
9842 {
9843 "tag": "malignmark",
9844 "ns": "http://www.w3.org/1998/Math/MathML"
9845 }
9846 ],
9847 "html": "<malignmark></malignmark>",
9848 "noQuirksBodyHtml": "<malignmark></malignmark>"
9849 }
9850 },
9851 {
9852 "data": "<div></div>",
9853 "errors": [],
9854 "fragment": {
9855 "name": "ms",
9856 "ns": "http://www.w3.org/1998/Math/MathML"
9857 },
9858 "document": {
9859 "props": {
9860 "tags": {
9861 "div": true
9862 }
9863 },
9864 "tree": [
9865 {
9866 "tag": "div"
9867 }
9868 ],
9869 "html": "<div></div>",
9870 "noQuirksBodyHtml": "<div></div>"
9871 }
9872 },
9873 {
9874 "data": "<figure></figure>",
9875 "errors": [],
9876 "fragment": {
9877 "name": "ms",
9878 "ns": "http://www.w3.org/1998/Math/MathML"
9879 },
9880 "document": {
9881 "props": {
9882 "tags": {
9883 "figure": true
9884 }
9885 },
9886 "tree": [
9887 {
9888 "tag": "figure"
9889 }
9890 ],
9891 "html": "<figure></figure>",
9892 "noQuirksBodyHtml": "<figure></figure>"
9893 }
9894 },
9895 {
9896 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mn/>X",
9897 "errors": [
9898 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
9899 "52: End of file seen and there were open elements.",
9900 "51: Unclosed element “mn”."
9901 ],
9902 "fragment": {
9903 "name": "mn",
9904 "ns": "http://www.w3.org/1998/Math/MathML"
9905 },
9906 "document": {
9907 "props": {
9908 "tags": {
9909 "b": true,
9910 "math mglyph": true,
9911 "i": true,
9912 "math malignmark": true,
9913 "u": true,
9914 "mn": true
9915 }
9916 },
9917 "tree": [
9918 {
9919 "tag": "b"
9920 },
9921 {
9922 "tag": "mglyph",
9923 "ns": "http://www.w3.org/1998/Math/MathML"
9924 },
9925 {
9926 "tag": "i"
9927 },
9928 {
9929 "tag": "malignmark",
9930 "ns": "http://www.w3.org/1998/Math/MathML"
9931 },
9932 {
9933 "tag": "u"
9934 },
9935 {
9936 "tag": "mn",
9937 "children": [
9938 {
9939 "text": "X"
9940 }
9941 ]
9942 }
9943 ],
9944 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mn>X</mn>",
9945 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mn>X</mn></malignmark></mglyph>"
9946 }
9947 },
9948 {
9949 "data": "<malignmark></malignmark>",
9950 "errors": [],
9951 "fragment": {
9952 "name": "mn",
9953 "ns": "http://www.w3.org/1998/Math/MathML"
9954 },
9955 "document": {
9956 "props": {
9957 "tags": {
9958 "math malignmark": true
9959 }
9960 },
9961 "tree": [
9962 {
9963 "tag": "malignmark",
9964 "ns": "http://www.w3.org/1998/Math/MathML"
9965 }
9966 ],
9967 "html": "<malignmark></malignmark>",
9968 "noQuirksBodyHtml": "<malignmark></malignmark>"
9969 }
9970 },
9971 {
9972 "data": "<div></div>",
9973 "errors": [],
9974 "fragment": {
9975 "name": "mn",
9976 "ns": "http://www.w3.org/1998/Math/MathML"
9977 },
9978 "document": {
9979 "props": {
9980 "tags": {
9981 "div": true
9982 }
9983 },
9984 "tree": [
9985 {
9986 "tag": "div"
9987 }
9988 ],
9989 "html": "<div></div>",
9990 "noQuirksBodyHtml": "<div></div>"
9991 }
9992 },
9993 {
9994 "data": "<figure></figure>",
9995 "errors": [],
9996 "fragment": {
9997 "name": "mn",
9998 "ns": "http://www.w3.org/1998/Math/MathML"
9999 },
10000 "document": {
10001 "props": {
10002 "tags": {
10003 "figure": true
10004 }
10005 },
10006 "tree": [
10007 {
10008 "tag": "figure"
10009 }
10010 ],
10011 "html": "<figure></figure>",
10012 "noQuirksBodyHtml": "<figure></figure>"
10013 }
10014 },
10015 {
10016 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mo/>X",
10017 "errors": [
10018 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10019 "52: End of file seen and there were open elements.",
10020 "51: Unclosed element “mo”."
10021 ],
10022 "fragment": {
10023 "name": "mo",
10024 "ns": "http://www.w3.org/1998/Math/MathML"
10025 },
10026 "document": {
10027 "props": {
10028 "tags": {
10029 "b": true,
10030 "math mglyph": true,
10031 "i": true,
10032 "math malignmark": true,
10033 "u": true,
10034 "mo": true
10035 }
10036 },
10037 "tree": [
10038 {
10039 "tag": "b"
10040 },
10041 {
10042 "tag": "mglyph",
10043 "ns": "http://www.w3.org/1998/Math/MathML"
10044 },
10045 {
10046 "tag": "i"
10047 },
10048 {
10049 "tag": "malignmark",
10050 "ns": "http://www.w3.org/1998/Math/MathML"
10051 },
10052 {
10053 "tag": "u"
10054 },
10055 {
10056 "tag": "mo",
10057 "children": [
10058 {
10059 "text": "X"
10060 }
10061 ]
10062 }
10063 ],
10064 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mo>X</mo>",
10065 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mo>X</mo></malignmark></mglyph>"
10066 }
10067 },
10068 {
10069 "data": "<malignmark></malignmark>",
10070 "errors": [],
10071 "fragment": {
10072 "name": "mo",
10073 "ns": "http://www.w3.org/1998/Math/MathML"
10074 },
10075 "document": {
10076 "props": {
10077 "tags": {
10078 "math malignmark": true
10079 }
10080 },
10081 "tree": [
10082 {
10083 "tag": "malignmark",
10084 "ns": "http://www.w3.org/1998/Math/MathML"
10085 }
10086 ],
10087 "html": "<malignmark></malignmark>",
10088 "noQuirksBodyHtml": "<malignmark></malignmark>"
10089 }
10090 },
10091 {
10092 "data": "<div></div>",
10093 "errors": [],
10094 "fragment": {
10095 "name": "mo",
10096 "ns": "http://www.w3.org/1998/Math/MathML"
10097 },
10098 "document": {
10099 "props": {
10100 "tags": {
10101 "div": true
10102 }
10103 },
10104 "tree": [
10105 {
10106 "tag": "div"
10107 }
10108 ],
10109 "html": "<div></div>",
10110 "noQuirksBodyHtml": "<div></div>"
10111 }
10112 },
10113 {
10114 "data": "<figure></figure>",
10115 "errors": [],
10116 "fragment": {
10117 "name": "mo",
10118 "ns": "http://www.w3.org/1998/Math/MathML"
10119 },
10120 "document": {
10121 "props": {
10122 "tags": {
10123 "figure": true
10124 }
10125 },
10126 "tree": [
10127 {
10128 "tag": "figure"
10129 }
10130 ],
10131 "html": "<figure></figure>",
10132 "noQuirksBodyHtml": "<figure></figure>"
10133 }
10134 },
10135 {
10136 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mi/>X",
10137 "errors": [
10138 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10139 "52: End of file seen and there were open elements.",
10140 "51: Unclosed element “mi”."
10141 ],
10142 "fragment": {
10143 "name": "mi",
10144 "ns": "http://www.w3.org/1998/Math/MathML"
10145 },
10146 "document": {
10147 "props": {
10148 "tags": {
10149 "b": true,
10150 "math mglyph": true,
10151 "i": true,
10152 "math malignmark": true,
10153 "u": true,
10154 "mi": true
10155 }
10156 },
10157 "tree": [
10158 {
10159 "tag": "b"
10160 },
10161 {
10162 "tag": "mglyph",
10163 "ns": "http://www.w3.org/1998/Math/MathML"
10164 },
10165 {
10166 "tag": "i"
10167 },
10168 {
10169 "tag": "malignmark",
10170 "ns": "http://www.w3.org/1998/Math/MathML"
10171 },
10172 {
10173 "tag": "u"
10174 },
10175 {
10176 "tag": "mi",
10177 "children": [
10178 {
10179 "text": "X"
10180 }
10181 ]
10182 }
10183 ],
10184 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mi>X</mi>",
10185 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mi>X</mi></malignmark></mglyph>"
10186 }
10187 },
10188 {
10189 "data": "<malignmark></malignmark>",
10190 "errors": [],
10191 "fragment": {
10192 "name": "mi",
10193 "ns": "http://www.w3.org/1998/Math/MathML"
10194 },
10195 "document": {
10196 "props": {
10197 "tags": {
10198 "math malignmark": true
10199 }
10200 },
10201 "tree": [
10202 {
10203 "tag": "malignmark",
10204 "ns": "http://www.w3.org/1998/Math/MathML"
10205 }
10206 ],
10207 "html": "<malignmark></malignmark>",
10208 "noQuirksBodyHtml": "<malignmark></malignmark>"
10209 }
10210 },
10211 {
10212 "data": "<div></div>",
10213 "errors": [],
10214 "fragment": {
10215 "name": "mi",
10216 "ns": "http://www.w3.org/1998/Math/MathML"
10217 },
10218 "document": {
10219 "props": {
10220 "tags": {
10221 "div": true
10222 }
10223 },
10224 "tree": [
10225 {
10226 "tag": "div"
10227 }
10228 ],
10229 "html": "<div></div>",
10230 "noQuirksBodyHtml": "<div></div>"
10231 }
10232 },
10233 {
10234 "data": "<figure></figure>",
10235 "errors": [],
10236 "fragment": {
10237 "name": "mi",
10238 "ns": "http://www.w3.org/1998/Math/MathML"
10239 },
10240 "document": {
10241 "props": {
10242 "tags": {
10243 "figure": true
10244 }
10245 },
10246 "tree": [
10247 {
10248 "tag": "figure"
10249 }
10250 ],
10251 "html": "<figure></figure>",
10252 "noQuirksBodyHtml": "<figure></figure>"
10253 }
10254 },
10255 {
10256 "data": "<b></b><mglyph/><i></i><malignmark/><u></u><mtext/>X",
10257 "errors": [
10258 "51: Self-closing syntax (“/>”) used on a non-void HTML element. Ignoring the slash and treating as a start tag.",
10259 "52: End of file seen and there were open elements.",
10260 "51: Unclosed element “mtext”."
10261 ],
10262 "fragment": {
10263 "name": "mtext",
10264 "ns": "http://www.w3.org/1998/Math/MathML"
10265 },
10266 "document": {
10267 "props": {
10268 "tags": {
10269 "b": true,
10270 "math mglyph": true,
10271 "i": true,
10272 "math malignmark": true,
10273 "u": true,
10274 "mtext": true
10275 }
10276 },
10277 "tree": [
10278 {
10279 "tag": "b"
10280 },
10281 {
10282 "tag": "mglyph",
10283 "ns": "http://www.w3.org/1998/Math/MathML"
10284 },
10285 {
10286 "tag": "i"
10287 },
10288 {
10289 "tag": "malignmark",
10290 "ns": "http://www.w3.org/1998/Math/MathML"
10291 },
10292 {
10293 "tag": "u"
10294 },
10295 {
10296 "tag": "mtext",
10297 "children": [
10298 {
10299 "text": "X"
10300 }
10301 ]
10302 }
10303 ],
10304 "html": "<b></b><mglyph></mglyph><i></i><malignmark></malignmark><u></u><mtext>X</mtext>",
10305 "noQuirksBodyHtml": "<b></b><mglyph><i></i><malignmark><u></u><mtext>X</mtext></malignmark></mglyph>"
10306 }
10307 },
10308 {
10309 "data": "<malignmark></malignmark>",
10310 "errors": [],
10311 "fragment": {
10312 "name": "mtext",
10313 "ns": "http://www.w3.org/1998/Math/MathML"
10314 },
10315 "document": {
10316 "props": {
10317 "tags": {
10318 "math malignmark": true
10319 }
10320 },
10321 "tree": [
10322 {
10323 "tag": "malignmark",
10324 "ns": "http://www.w3.org/1998/Math/MathML"
10325 }
10326 ],
10327 "html": "<malignmark></malignmark>",
10328 "noQuirksBodyHtml": "<malignmark></malignmark>"
10329 }
10330 },
10331 {
10332 "data": "<div></div>",
10333 "errors": [],
10334 "fragment": {
10335 "name": "mtext",
10336 "ns": "http://www.w3.org/1998/Math/MathML"
10337 },
10338 "document": {
10339 "props": {
10340 "tags": {
10341 "div": true
10342 }
10343 },
10344 "tree": [
10345 {
10346 "tag": "div"
10347 }
10348 ],
10349 "html": "<div></div>",
10350 "noQuirksBodyHtml": "<div></div>"
10351 }
10352 },
10353 {
10354 "data": "<figure></figure>",
10355 "errors": [],
10356 "fragment": {
10357 "name": "mtext",
10358 "ns": "http://www.w3.org/1998/Math/MathML"
10359 },
10360 "document": {
10361 "props": {
10362 "tags": {
10363 "figure": true
10364 }
10365 },
10366 "tree": [
10367 {
10368 "tag": "figure"
10369 }
10370 ],
10371 "html": "<figure></figure>",
10372 "noQuirksBodyHtml": "<figure></figure>"
10373 }
10374 },
10375 {
10376 "data": "<div></div>",
10377 "errors": [
10378 "5: HTML start tag “div” in a foreign namespace context."
10379 ],
10380 "fragment": {
10381 "name": "annotation-xml",
10382 "ns": "http://www.w3.org/1998/Math/MathML"
10383 },
10384 "document": {
10385 "props": {
10386 "tags": {
10387 "math div": true
10388 }
10389 },
10390 "tree": [
10391 {
10392 "tag": "div",
10393 "ns": "http://www.w3.org/1998/Math/MathML"
10394 }
10395 ],
10396 "html": "<div></div>",
10397 "noQuirksBodyHtml": "<div></div>"
10398 }
10399 },
10400 {
10401 "data": "<figure></figure>",
10402 "errors": [],
10403 "fragment": {
10404 "name": "annotation-xml",
10405 "ns": "http://www.w3.org/1998/Math/MathML"
10406 },
10407 "document": {
10408 "props": {
10409 "tags": {
10410 "math figure": true
10411 }
10412 },
10413 "tree": [
10414 {
10415 "tag": "figure",
10416 "ns": "http://www.w3.org/1998/Math/MathML"
10417 }
10418 ],
10419 "html": "<figure></figure>",
10420 "noQuirksBodyHtml": "<figure></figure>"
10421 }
10422 },
10423 {
10424 "data": "<div></div>",
10425 "errors": [
10426 "5: HTML start tag “div” in a foreign namespace context."
10427 ],
10428 "fragment": {
10429 "name": "math",
10430 "ns": "http://www.w3.org/1998/Math/MathML"
10431 },
10432 "document": {
10433 "props": {
10434 "tags": {
10435 "math div": true
10436 }
10437 },
10438 "tree": [
10439 {
10440 "tag": "div",
10441 "ns": "http://www.w3.org/1998/Math/MathML"
10442 }
10443 ],
10444 "html": "<div></div>",
10445 "noQuirksBodyHtml": "<div></div>"
10446 }
10447 },
10448 {
10449 "data": "<figure></figure>",
10450 "errors": [],
10451 "fragment": {
10452 "name": "math",
10453 "ns": "http://www.w3.org/1998/Math/MathML"
10454 },
10455 "document": {
10456 "props": {
10457 "tags": {
10458 "math figure": true
10459 }
10460 },
10461 "tree": [
10462 {
10463 "tag": "figure",
10464 "ns": "http://www.w3.org/1998/Math/MathML"
10465 }
10466 ],
10467 "html": "<figure></figure>",
10468 "noQuirksBodyHtml": "<figure></figure>"
10469 }
10470 },
10471 {
10472 "data": "<div></div>",
10473 "errors": [],
10474 "fragment": {
10475 "name": "foreignObject",
10476 "ns": "http://www.w3.org/2000/svg"
10477 },
10478 "document": {
10479 "props": {
10480 "tags": {
10481 "div": true
10482 }
10483 },
10484 "tree": [
10485 {
10486 "tag": "div"
10487 }
10488 ],
10489 "html": "<div></div>",
10490 "noQuirksBodyHtml": "<div></div>"
10491 }
10492 },
10493 {
10494 "data": "<figure></figure>",
10495 "errors": [],
10496 "fragment": {
10497 "name": "foreignObject",
10498 "ns": "http://www.w3.org/2000/svg"
10499 },
10500 "document": {
10501 "props": {
10502 "tags": {
10503 "figure": true
10504 }
10505 },
10506 "tree": [
10507 {
10508 "tag": "figure"
10509 }
10510 ],
10511 "html": "<figure></figure>",
10512 "noQuirksBodyHtml": "<figure></figure>"
10513 }
10514 },
10515 {
10516 "data": "<div></div>",
10517 "errors": [],
10518 "fragment": {
10519 "name": "title",
10520 "ns": "http://www.w3.org/2000/svg"
10521 },
10522 "document": {
10523 "props": {
10524 "tags": {
10525 "div": true
10526 }
10527 },
10528 "tree": [
10529 {
10530 "tag": "div"
10531 }
10532 ],
10533 "html": "<div></div>",
10534 "noQuirksBodyHtml": "<div></div>"
10535 }
10536 },
10537 {
10538 "data": "<figure></figure>",
10539 "errors": [],
10540 "fragment": {
10541 "name": "title",
10542 "ns": "http://www.w3.org/2000/svg"
10543 },
10544 "document": {
10545 "props": {
10546 "tags": {
10547 "figure": true
10548 }
10549 },
10550 "tree": [
10551 {
10552 "tag": "figure"
10553 }
10554 ],
10555 "html": "<figure></figure>",
10556 "noQuirksBodyHtml": "<figure></figure>"
10557 }
10558 },
10559 {
10560 "data": "<figure></figure>",
10561 "errors": [],
10562 "fragment": {
10563 "name": "desc",
10564 "ns": "http://www.w3.org/2000/svg"
10565 },
10566 "document": {
10567 "props": {
10568 "tags": {
10569 "figure": true
10570 }
10571 },
10572 "tree": [
10573 {
10574 "tag": "figure"
10575 }
10576 ],
10577 "html": "<figure></figure>",
10578 "noQuirksBodyHtml": "<figure></figure>"
10579 }
10580 },
10581 {
10582 "data": "<div><h1>X</h1></div>",
10583 "errors": [
10584 "5: HTML start tag “div” in a foreign namespace context.",
10585 "9: HTML start tag “h1” in a foreign namespace context."
10586 ],
10587 "fragment": {
10588 "name": "svg",
10589 "ns": "http://www.w3.org/2000/svg"
10590 },
10591 "document": {
10592 "props": {
10593 "tags": {
10594 "svg div": true,
10595 "svg h1": true
10596 }
10597 },
10598 "tree": [
10599 {
10600 "tag": "div",
10601 "ns": "http://www.w3.org/2000/svg",
10602 "children": [
10603 {
10604 "tag": "h1",
10605 "ns": "http://www.w3.org/2000/svg",
10606 "children": [
10607 {
10608 "text": "X"
10609 }
10610 ]
10611 }
10612 ]
10613 }
10614 ],
10615 "html": "<div><h1>X</h1></div>",
10616 "noQuirksBodyHtml": "<div><h1>X</h1></div>"
10617 }
10618 },
10619 {
10620 "data": "<div></div>",
10621 "errors": [
10622 "5: HTML start tag “div” in a foreign namespace context."
10623 ],
10624 "fragment": {
10625 "name": "svg",
10626 "ns": "http://www.w3.org/2000/svg"
10627 },
10628 "document": {
10629 "props": {
10630 "tags": {
10631 "svg div": true
10632 }
10633 },
10634 "tree": [
10635 {
10636 "tag": "div",
10637 "ns": "http://www.w3.org/2000/svg"
10638 }
10639 ],
10640 "html": "<div></div>",
10641 "noQuirksBodyHtml": "<div></div>"
10642 }
10643 },
10644 {
10645 "data": "<div></div>",
10646 "errors": [],
10647 "fragment": {
10648 "name": "desc",
10649 "ns": "http://www.w3.org/2000/svg"
10650 },
10651 "document": {
10652 "props": {
10653 "tags": {
10654 "div": true
10655 }
10656 },
10657 "tree": [
10658 {
10659 "tag": "div"
10660 }
10661 ],
10662 "html": "<div></div>",
10663 "noQuirksBodyHtml": "<div></div>"
10664 }
10665 },
10666 {
10667 "data": "<figure></figure>",
10668 "errors": [],
10669 "fragment": {
10670 "name": "desc",
10671 "ns": "http://www.w3.org/2000/svg"
10672 },
10673 "document": {
10674 "props": {
10675 "tags": {
10676 "figure": true
10677 }
10678 },
10679 "tree": [
10680 {
10681 "tag": "figure"
10682 }
10683 ],
10684 "html": "<figure></figure>",
10685 "noQuirksBodyHtml": "<figure></figure>"
10686 }
10687 },
10688 {
10689 "data": "<plaintext><foo>",
10690 "errors": [
10691 "16: End of file seen and there were open elements.",
10692 "11: Unclosed element “plaintext”."
10693 ],
10694 "fragment": {
10695 "name": "desc",
10696 "ns": "http://www.w3.org/2000/svg"
10697 },
10698 "document": {
10699 "props": {
10700 "tags": {
10701 "plaintext": true
10702 },
10703 "no_escape": true
10704 },
10705 "tree": [
10706 {
10707 "tag": "plaintext",
10708 "children": [
10709 {
10710 "text": "<foo>",
10711 "no_escape": true
10712 }
10713 ]
10714 }
10715 ],
10716 "html": "<plaintext><foo></plaintext>",
10717 "noQuirksBodyHtml": "<plaintext><foo></plaintext>"
10718 }
10719 },
10720 {
10721 "data": "<frameset>X",
10722 "errors": [
10723 "6: Stray start tag “frameset”."
10724 ],
10725 "fragment": {
10726 "name": "desc",
10727 "ns": "http://www.w3.org/2000/svg"
10728 },
10729 "document": {
10730 "props": {
10731 "tags": {}
10732 },
10733 "tree": [
10734 {
10735 "text": "X"
10736 }
10737 ],
10738 "html": "X",
10739 "noQuirksBodyHtml": "X"
10740 }
10741 },
10742 {
10743 "data": "<head>X",
10744 "errors": [
10745 "6: Stray start tag “head”."
10746 ],
10747 "fragment": {
10748 "name": "desc",
10749 "ns": "http://www.w3.org/2000/svg"
10750 },
10751 "document": {
10752 "props": {
10753 "tags": {}
10754 },
10755 "tree": [
10756 {
10757 "text": "X"
10758 }
10759 ],
10760 "html": "X",
10761 "noQuirksBodyHtml": "X"
10762 }
10763 },
10764 {
10765 "data": "<body>X",
10766 "errors": [
10767 "6: Stray start tag “body”."
10768 ],
10769 "fragment": {
10770 "name": "desc",
10771 "ns": "http://www.w3.org/2000/svg"
10772 },
10773 "document": {
10774 "props": {
10775 "tags": {}
10776 },
10777 "tree": [
10778 {
10779 "text": "X"
10780 }
10781 ],
10782 "html": "X",
10783 "noQuirksBodyHtml": "X"
10784 }
10785 },
10786 {
10787 "data": "<html>X",
10788 "errors": [
10789 "6: Stray start tag “html”."
10790 ],
10791 "fragment": {
10792 "name": "desc",
10793 "ns": "http://www.w3.org/2000/svg"
10794 },
10795 "document": {
10796 "props": {
10797 "tags": {}
10798 },
10799 "tree": [
10800 {
10801 "text": "X"
10802 }
10803 ],
10804 "html": "X",
10805 "noQuirksBodyHtml": "X"
10806 }
10807 },
10808 {
10809 "data": "<html class=\"foo\">X",
10810 "errors": [
10811 "6: Stray start tag “html”."
10812 ],
10813 "fragment": {
10814 "name": "desc",
10815 "ns": "http://www.w3.org/2000/svg"
10816 },
10817 "document": {
10818 "props": {
10819 "tags": {}
10820 },
10821 "tree": [
10822 {
10823 "text": "X"
10824 }
10825 ],
10826 "html": "X",
10827 "noQuirksBodyHtml": "X"
10828 }
10829 },
10830 {
10831 "data": "<body class=\"foo\">X",
10832 "errors": [
10833 "6: Stray start tag “body”."
10834 ],
10835 "fragment": {
10836 "name": "desc",
10837 "ns": "http://www.w3.org/2000/svg"
10838 },
10839 "document": {
10840 "props": {
10841 "tags": {}
10842 },
10843 "tree": [
10844 {
10845 "text": "X"
10846 }
10847 ],
10848 "html": "X",
10849 "noQuirksBodyHtml": "X"
10850 }
10851 }
10852 ],
10853 "html5test-com.dat": [
10854 {
10855 "data": "<div<div>",
10856 "errors": [
10857 "(1,9): expected-doctype-but-got-start-tag",
10858 "(1,9): expected-closing-tag-but-got-eof"
10859 ],
10860 "document": {
10861 "props": {
10862 "tags": {
10863 "html": true,
10864 "head": true,
10865 "body": true,
10866 "div<div": true
10867 },
10868 "tagWithLt": true
10869 },
10870 "tree": [
10871 {
10872 "tag": "html",
10873 "children": [
10874 {
10875 "tag": "head"
10876 },
10877 {
10878 "tag": "body",
10879 "children": [
10880 {
10881 "tag": "div<div"
10882 }
10883 ]
10884 }
10885 ]
10886 }
10887 ],
10888 "html": "<html><head></head><body><div<div></div<div></body></html>",
10889 "noQuirksBodyHtml": "<div<div></div<div>"
10890 }
10891 },
10892 {
10893 "data": "<div foo<bar=''>",
10894 "errors": [
10895 "(1,9): invalid-character-in-attribute-name",
10896 "(1,16): expected-doctype-but-got-start-tag",
10897 "(1,16): expected-closing-tag-but-got-eof"
10898 ],
10899 "document": {
10900 "props": {
10901 "tags": {
10902 "html": true,
10903 "head": true,
10904 "body": true,
10905 "div": true
10906 },
10907 "attrWithFunnyChar": true
10908 },
10909 "tree": [
10910 {
10911 "tag": "html",
10912 "children": [
10913 {
10914 "tag": "head"
10915 },
10916 {
10917 "tag": "body",
10918 "children": [
10919 {
10920 "tag": "div",
10921 "attrs": [
10922 {
10923 "name": "foo<bar",
10924 "value": ""
10925 }
10926 ]
10927 }
10928 ]
10929 }
10930 ]
10931 }
10932 ],
10933 "html": "<html><head></head><body><div foo<bar=\"\"></div></body></html>",
10934 "noQuirksBodyHtml": "<div foo<bar=\"\"></div>"
10935 }
10936 },
10937 {
10938 "data": "<div foo=`bar`>",
10939 "errors": [
10940 "(1,10): equals-in-unquoted-attribute-value",
10941 "(1,14): unexpected-character-in-unquoted-attribute-value",
10942 "(1,15): expected-doctype-but-got-start-tag",
10943 "(1,15): expected-closing-tag-but-got-eof"
10944 ],
10945 "document": {
10946 "props": {
10947 "tags": {
10948 "html": true,
10949 "head": true,
10950 "body": true,
10951 "div": true
10952 }
10953 },
10954 "tree": [
10955 {
10956 "tag": "html",
10957 "children": [
10958 {
10959 "tag": "head"
10960 },
10961 {
10962 "tag": "body",
10963 "children": [
10964 {
10965 "tag": "div",
10966 "attrs": [
10967 {
10968 "name": "foo",
10969 "value": "`bar`"
10970 }
10971 ]
10972 }
10973 ]
10974 }
10975 ]
10976 }
10977 ],
10978 "html": "<html><head></head><body><div foo=\"`bar`\"></div></body></html>",
10979 "noQuirksBodyHtml": "<div foo=\"`bar`\"></div>"
10980 }
10981 },
10982 {
10983 "data": "<div \\\"foo=''>",
10984 "errors": [
10985 "(1,7): invalid-character-in-attribute-name",
10986 "(1,14): expected-doctype-but-got-start-tag",
10987 "(1,14): expected-closing-tag-but-got-eof"
10988 ],
10989 "document": {
10990 "props": {
10991 "tags": {
10992 "html": true,
10993 "head": true,
10994 "body": true,
10995 "div": true
10996 },
10997 "attrWithFunnyChar": true
10998 },
10999 "tree": [
11000 {
11001 "tag": "html",
11002 "children": [
11003 {
11004 "tag": "head"
11005 },
11006 {
11007 "tag": "body",
11008 "children": [
11009 {
11010 "tag": "div",
11011 "attrs": [
11012 {
11013 "name": "\\\"foo",
11014 "value": ""
11015 }
11016 ]
11017 }
11018 ]
11019 }
11020 ]
11021 }
11022 ],
11023 "html": "<html><head></head><body><div \\\"foo=\"\"></div></body></html>",
11024 "noQuirksBodyHtml": "<div \\\"foo=\"\"></div>"
11025 }
11026 },
11027 {
11028 "data": "<a href='\\nbar'></a>",
11029 "errors": [
11030 "(1,16): expected-doctype-but-got-start-tag"
11031 ],
11032 "document": {
11033 "props": {
11034 "tags": {
11035 "html": true,
11036 "head": true,
11037 "body": true,
11038 "a": true
11039 }
11040 },
11041 "tree": [
11042 {
11043 "tag": "html",
11044 "children": [
11045 {
11046 "tag": "head"
11047 },
11048 {
11049 "tag": "body",
11050 "children": [
11051 {
11052 "tag": "a",
11053 "attrs": [
11054 {
11055 "name": "href",
11056 "value": "\\nbar"
11057 }
11058 ]
11059 }
11060 ]
11061 }
11062 ]
11063 }
11064 ],
11065 "html": "<html><head></head><body><a href=\"\\nbar\"></a></body></html>",
11066 "noQuirksBodyHtml": "<a href=\"\\nbar\"></a>"
11067 }
11068 },
11069 {
11070 "data": "<!DOCTYPE html>",
11071 "errors": [],
11072 "document": {
11073 "props": {
11074 "tags": {
11075 "html": true,
11076 "head": true,
11077 "body": true
11078 },
11079 "doctype": true
11080 },
11081 "tree": [
11082 {
11083 "doctype": "html"
11084 },
11085 {
11086 "tag": "html",
11087 "children": [
11088 {
11089 "tag": "head"
11090 },
11091 {
11092 "tag": "body"
11093 }
11094 ]
11095 }
11096 ],
11097 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
11098 "noQuirksBodyHtml": ""
11099 }
11100 },
11101 {
11102 "data": "&lang;&rang;",
11103 "errors": [
11104 "(1,6): expected-doctype-but-got-chars"
11105 ],
11106 "document": {
11107 "props": {
11108 "tags": {
11109 "html": true,
11110 "head": true,
11111 "body": true
11112 }
11113 },
11114 "tree": [
11115 {
11116 "tag": "html",
11117 "children": [
11118 {
11119 "tag": "head"
11120 },
11121 {
11122 "tag": "body",
11123 "children": [
11124 {
11125 "text": "⟨⟩"
11126 }
11127 ]
11128 }
11129 ]
11130 }
11131 ],
11132 "html": "<html><head></head><body>⟨⟩</body></html>",
11133 "noQuirksBodyHtml": "⟨⟩"
11134 }
11135 },
11136 {
11137 "data": "&apos;",
11138 "errors": [
11139 "(1,6): expected-doctype-but-got-chars"
11140 ],
11141 "document": {
11142 "props": {
11143 "tags": {
11144 "html": true,
11145 "head": true,
11146 "body": true
11147 }
11148 },
11149 "tree": [
11150 {
11151 "tag": "html",
11152 "children": [
11153 {
11154 "tag": "head"
11155 },
11156 {
11157 "tag": "body",
11158 "children": [
11159 {
11160 "text": "'"
11161 }
11162 ]
11163 }
11164 ]
11165 }
11166 ],
11167 "html": "<html><head></head><body>'</body></html>",
11168 "noQuirksBodyHtml": "'"
11169 }
11170 },
11171 {
11172 "data": "&ImaginaryI;",
11173 "errors": [
11174 "(1,12): expected-doctype-but-got-chars"
11175 ],
11176 "document": {
11177 "props": {
11178 "tags": {
11179 "html": true,
11180 "head": true,
11181 "body": true
11182 }
11183 },
11184 "tree": [
11185 {
11186 "tag": "html",
11187 "children": [
11188 {
11189 "tag": "head"
11190 },
11191 {
11192 "tag": "body",
11193 "children": [
11194 {
11195 "text": "ⅈ"
11196 }
11197 ]
11198 }
11199 ]
11200 }
11201 ],
11202 "html": "<html><head></head><body>ⅈ</body></html>",
11203 "noQuirksBodyHtml": "ⅈ"
11204 }
11205 },
11206 {
11207 "data": "&Kopf;",
11208 "errors": [
11209 "(1,6): expected-doctype-but-got-chars"
11210 ],
11211 "document": {
11212 "props": {
11213 "tags": {
11214 "html": true,
11215 "head": true,
11216 "body": true
11217 }
11218 },
11219 "tree": [
11220 {
11221 "tag": "html",
11222 "children": [
11223 {
11224 "tag": "head"
11225 },
11226 {
11227 "tag": "body",
11228 "children": [
11229 {
11230 "text": "𝕂"
11231 }
11232 ]
11233 }
11234 ]
11235 }
11236 ],
11237 "html": "<html><head></head><body>𝕂</body></html>",
11238 "noQuirksBodyHtml": "𝕂"
11239 }
11240 },
11241 {
11242 "data": "&notinva;",
11243 "errors": [
11244 "(1,9): expected-doctype-but-got-chars"
11245 ],
11246 "document": {
11247 "props": {
11248 "tags": {
11249 "html": true,
11250 "head": true,
11251 "body": true
11252 }
11253 },
11254 "tree": [
11255 {
11256 "tag": "html",
11257 "children": [
11258 {
11259 "tag": "head"
11260 },
11261 {
11262 "tag": "body",
11263 "children": [
11264 {
11265 "text": "∉"
11266 }
11267 ]
11268 }
11269 ]
11270 }
11271 ],
11272 "html": "<html><head></head><body>∉</body></html>",
11273 "noQuirksBodyHtml": "∉"
11274 }
11275 },
11276 {
11277 "data": "<?import namespace=\"foo\" implementation=\"#bar\">",
11278 "errors": [
11279 "(1,1): expected-tag-name-but-got-question-mark",
11280 "(1,47): expected-doctype-but-got-eof"
11281 ],
11282 "document": {
11283 "props": {
11284 "tags": {
11285 "html": true,
11286 "head": true,
11287 "body": true
11288 },
11289 "comment": true
11290 },
11291 "tree": [
11292 {
11293 "comment": "?import namespace=\"foo\" implementation=\"#bar\""
11294 },
11295 {
11296 "tag": "html",
11297 "children": [
11298 {
11299 "tag": "head"
11300 },
11301 {
11302 "tag": "body"
11303 }
11304 ]
11305 }
11306 ],
11307 "html": "<!--?import namespace=\"foo\" implementation=\"#bar\"--><html><head></head><body></body></html>",
11308 "noQuirksBodyHtml": "<!--?import namespace=\"foo\" implementation=\"#bar\"-->"
11309 }
11310 },
11311 {
11312 "data": "<!--foo--bar-->",
11313 "errors": [
11314 "(1,10): unexpected-char-in-comment",
11315 "(1,15): expected-doctype-but-got-eof"
11316 ],
11317 "document": {
11318 "props": {
11319 "tags": {
11320 "html": true,
11321 "head": true,
11322 "body": true
11323 },
11324 "comment": true
11325 },
11326 "tree": [
11327 {
11328 "comment": "foo--bar"
11329 },
11330 {
11331 "tag": "html",
11332 "children": [
11333 {
11334 "tag": "head"
11335 },
11336 {
11337 "tag": "body"
11338 }
11339 ]
11340 }
11341 ],
11342 "html": "<!--foo--bar--><html><head></head><body></body></html>",
11343 "noQuirksBodyHtml": "<!--foo--bar-->"
11344 }
11345 },
11346 {
11347 "data": "<![CDATA[x]]>",
11348 "errors": [
11349 "(1,2): expected-dashes-or-doctype",
11350 "(1,13): expected-doctype-but-got-eof"
11351 ],
11352 "document": {
11353 "props": {
11354 "tags": {
11355 "html": true,
11356 "head": true,
11357 "body": true
11358 },
11359 "comment": true
11360 },
11361 "tree": [
11362 {
11363 "comment": "[CDATA[x]]"
11364 },
11365 {
11366 "tag": "html",
11367 "children": [
11368 {
11369 "tag": "head"
11370 },
11371 {
11372 "tag": "body"
11373 }
11374 ]
11375 }
11376 ],
11377 "html": "<!--[CDATA[x]]--><html><head></head><body></body></html>",
11378 "noQuirksBodyHtml": "<!--[CDATA[x]]-->"
11379 }
11380 },
11381 {
11382 "data": "<textarea><!--</textarea>--></textarea>",
11383 "errors": [
11384 "(1,10): expected-doctype-but-got-start-tag",
11385 "(1,39): unexpected-end-tag"
11386 ],
11387 "document": {
11388 "props": {
11389 "tags": {
11390 "html": true,
11391 "head": true,
11392 "body": true,
11393 "textarea": true
11394 },
11395 "escaped": true
11396 },
11397 "tree": [
11398 {
11399 "tag": "html",
11400 "children": [
11401 {
11402 "tag": "head"
11403 },
11404 {
11405 "tag": "body",
11406 "children": [
11407 {
11408 "tag": "textarea",
11409 "children": [
11410 {
11411 "text": "<!--",
11412 "escaped": true
11413 }
11414 ]
11415 },
11416 {
11417 "text": "-->",
11418 "escaped": true
11419 }
11420 ]
11421 }
11422 ]
11423 }
11424 ],
11425 "html": "<html><head></head><body><textarea>&lt;!--</textarea>--&gt;</body></html>",
11426 "noQuirksBodyHtml": "<textarea>&lt;!--</textarea>--&gt;"
11427 }
11428 },
11429 {
11430 "data": "<textarea><!--</textarea>-->",
11431 "errors": [
11432 "(1,10): expected-doctype-but-got-start-tag"
11433 ],
11434 "document": {
11435 "props": {
11436 "tags": {
11437 "html": true,
11438 "head": true,
11439 "body": true,
11440 "textarea": true
11441 },
11442 "escaped": true
11443 },
11444 "tree": [
11445 {
11446 "tag": "html",
11447 "children": [
11448 {
11449 "tag": "head"
11450 },
11451 {
11452 "tag": "body",
11453 "children": [
11454 {
11455 "tag": "textarea",
11456 "children": [
11457 {
11458 "text": "<!--",
11459 "escaped": true
11460 }
11461 ]
11462 },
11463 {
11464 "text": "-->",
11465 "escaped": true
11466 }
11467 ]
11468 }
11469 ]
11470 }
11471 ],
11472 "html": "<html><head></head><body><textarea>&lt;!--</textarea>--&gt;</body></html>",
11473 "noQuirksBodyHtml": "<textarea>&lt;!--</textarea>--&gt;"
11474 }
11475 },
11476 {
11477 "data": "<style><!--</style>--></style>",
11478 "errors": [
11479 "(1,7): expected-doctype-but-got-start-tag",
11480 "(1,30): unexpected-end-tag"
11481 ],
11482 "document": {
11483 "props": {
11484 "tags": {
11485 "html": true,
11486 "head": true,
11487 "style": true,
11488 "body": true
11489 },
11490 "no_escape": true,
11491 "escaped": true
11492 },
11493 "tree": [
11494 {
11495 "tag": "html",
11496 "children": [
11497 {
11498 "tag": "head",
11499 "children": [
11500 {
11501 "tag": "style",
11502 "children": [
11503 {
11504 "text": "<!--",
11505 "no_escape": true
11506 }
11507 ]
11508 }
11509 ]
11510 },
11511 {
11512 "tag": "body",
11513 "children": [
11514 {
11515 "text": "-->",
11516 "escaped": true
11517 }
11518 ]
11519 }
11520 ]
11521 }
11522 ],
11523 "html": "<html><head><style><!--</style></head><body>--&gt;</body></html>",
11524 "noQuirksBodyHtml": "<style><!--</style>--&gt;"
11525 }
11526 },
11527 {
11528 "data": "<style><!--</style>-->",
11529 "errors": [
11530 "(1,7): expected-doctype-but-got-start-tag"
11531 ],
11532 "document": {
11533 "props": {
11534 "tags": {
11535 "html": true,
11536 "head": true,
11537 "style": true,
11538 "body": true
11539 },
11540 "no_escape": true,
11541 "escaped": true
11542 },
11543 "tree": [
11544 {
11545 "tag": "html",
11546 "children": [
11547 {
11548 "tag": "head",
11549 "children": [
11550 {
11551 "tag": "style",
11552 "children": [
11553 {
11554 "text": "<!--",
11555 "no_escape": true
11556 }
11557 ]
11558 }
11559 ]
11560 },
11561 {
11562 "tag": "body",
11563 "children": [
11564 {
11565 "text": "-->",
11566 "escaped": true
11567 }
11568 ]
11569 }
11570 ]
11571 }
11572 ],
11573 "html": "<html><head><style><!--</style></head><body>--&gt;</body></html>",
11574 "noQuirksBodyHtml": "<style><!--</style>--&gt;"
11575 }
11576 },
11577 {
11578 "data": "<ul><li>A </li> <li>B</li></ul>",
11579 "errors": [
11580 "(1,4): expected-doctype-but-got-start-tag"
11581 ],
11582 "document": {
11583 "props": {
11584 "tags": {
11585 "html": true,
11586 "head": true,
11587 "body": true,
11588 "ul": true,
11589 "li": true
11590 }
11591 },
11592 "tree": [
11593 {
11594 "tag": "html",
11595 "children": [
11596 {
11597 "tag": "head"
11598 },
11599 {
11600 "tag": "body",
11601 "children": [
11602 {
11603 "tag": "ul",
11604 "children": [
11605 {
11606 "tag": "li",
11607 "children": [
11608 {
11609 "text": "A "
11610 }
11611 ]
11612 },
11613 {
11614 "text": " "
11615 },
11616 {
11617 "tag": "li",
11618 "children": [
11619 {
11620 "text": "B"
11621 }
11622 ]
11623 }
11624 ]
11625 }
11626 ]
11627 }
11628 ]
11629 }
11630 ],
11631 "html": "<html><head></head><body><ul><li>A </li> <li>B</li></ul></body></html>",
11632 "noQuirksBodyHtml": "<ul><li>A </li> <li>B</li></ul>"
11633 }
11634 },
11635 {
11636 "data": "<table><form><input type=hidden><input></form><div></div></table>",
11637 "errors": [
11638 "(1,7): expected-doctype-but-got-start-tag",
11639 "(1,13): unexpected-form-in-table",
11640 "(1,32): unexpected-hidden-input-in-table",
11641 "(1,39): unexpected-start-tag-implies-table-voodoo",
11642 "(1,46): unexpected-end-tag-implies-table-voodoo",
11643 "(1,46): unexpected-end-tag",
11644 "(1,51): unexpected-start-tag-implies-table-voodoo",
11645 "(1,57): unexpected-end-tag-implies-table-voodoo"
11646 ],
11647 "document": {
11648 "props": {
11649 "tags": {
11650 "html": true,
11651 "head": true,
11652 "body": true,
11653 "input": true,
11654 "div": true,
11655 "table": true,
11656 "form": true
11657 }
11658 },
11659 "tree": [
11660 {
11661 "tag": "html",
11662 "children": [
11663 {
11664 "tag": "head"
11665 },
11666 {
11667 "tag": "body",
11668 "children": [
11669 {
11670 "tag": "input"
11671 },
11672 {
11673 "tag": "div"
11674 },
11675 {
11676 "tag": "table",
11677 "children": [
11678 {
11679 "tag": "form"
11680 },
11681 {
11682 "tag": "input",
11683 "attrs": [
11684 {
11685 "name": "type",
11686 "value": "hidden"
11687 }
11688 ]
11689 }
11690 ]
11691 }
11692 ]
11693 }
11694 ]
11695 }
11696 ],
11697 "html": "<html><head></head><body><input><div></div><table><form></form><input type=\"hidden\"></table></body></html>",
11698 "noQuirksBodyHtml": "<input><div></div><table><form></form><input type=\"hidden\"></table>"
11699 }
11700 },
11701 {
11702 "data": "<i>A<b>B<p></i>C</b>D",
11703 "errors": [
11704 "(1,3): expected-doctype-but-got-start-tag",
11705 "(1,15): adoption-agency-1.3",
11706 "(1,20): adoption-agency-1.3"
11707 ],
11708 "document": {
11709 "props": {
11710 "tags": {
11711 "html": true,
11712 "head": true,
11713 "body": true,
11714 "i": true,
11715 "b": true,
11716 "p": 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": "i",
11731 "children": [
11732 {
11733 "text": "A"
11734 },
11735 {
11736 "tag": "b",
11737 "children": [
11738 {
11739 "text": "B"
11740 }
11741 ]
11742 }
11743 ]
11744 },
11745 {
11746 "tag": "b"
11747 },
11748 {
11749 "tag": "p",
11750 "children": [
11751 {
11752 "tag": "b",
11753 "children": [
11754 {
11755 "tag": "i"
11756 },
11757 {
11758 "text": "C"
11759 }
11760 ]
11761 },
11762 {
11763 "text": "D"
11764 }
11765 ]
11766 }
11767 ]
11768 }
11769 ]
11770 }
11771 ],
11772 "html": "<html><head></head><body><i>A<b>B</b></i><b></b><p><b><i></i>C</b>D</p></body></html>",
11773 "noQuirksBodyHtml": "<i>A<b>B</b></i><b></b><p><b><i></i>C</b>D</p>"
11774 }
11775 },
11776 {
11777 "data": "<div></div>",
11778 "errors": [
11779 "(1,5): expected-doctype-but-got-start-tag"
11780 ],
11781 "document": {
11782 "props": {
11783 "tags": {
11784 "html": true,
11785 "head": true,
11786 "body": true,
11787 "div": true
11788 }
11789 },
11790 "tree": [
11791 {
11792 "tag": "html",
11793 "children": [
11794 {
11795 "tag": "head"
11796 },
11797 {
11798 "tag": "body",
11799 "children": [
11800 {
11801 "tag": "div"
11802 }
11803 ]
11804 }
11805 ]
11806 }
11807 ],
11808 "html": "<html><head></head><body><div></div></body></html>",
11809 "noQuirksBodyHtml": "<div></div>"
11810 }
11811 },
11812 {
11813 "data": "<svg></svg>",
11814 "errors": [
11815 "(1,5): expected-doctype-but-got-start-tag"
11816 ],
11817 "document": {
11818 "props": {
11819 "tags": {
11820 "html": true,
11821 "head": true,
11822 "body": true,
11823 "svg svg": true
11824 }
11825 },
11826 "tree": [
11827 {
11828 "tag": "html",
11829 "children": [
11830 {
11831 "tag": "head"
11832 },
11833 {
11834 "tag": "body",
11835 "children": [
11836 {
11837 "tag": "svg",
11838 "ns": "http://www.w3.org/2000/svg"
11839 }
11840 ]
11841 }
11842 ]
11843 }
11844 ],
11845 "html": "<html><head></head><body><svg></svg></body></html>",
11846 "noQuirksBodyHtml": "<svg></svg>"
11847 }
11848 },
11849 {
11850 "data": "<math></math>",
11851 "errors": [
11852 "(1,6): expected-doctype-but-got-start-tag"
11853 ],
11854 "document": {
11855 "props": {
11856 "tags": {
11857 "html": true,
11858 "head": true,
11859 "body": true,
11860 "math math": true
11861 }
11862 },
11863 "tree": [
11864 {
11865 "tag": "html",
11866 "children": [
11867 {
11868 "tag": "head"
11869 },
11870 {
11871 "tag": "body",
11872 "children": [
11873 {
11874 "tag": "math",
11875 "ns": "http://www.w3.org/1998/Math/MathML"
11876 }
11877 ]
11878 }
11879 ]
11880 }
11881 ],
11882 "html": "<html><head></head><body><math></math></body></html>",
11883 "noQuirksBodyHtml": "<math></math>"
11884 }
11885 }
11886 ],
11887 "inbody01.dat": [
11888 {
11889 "data": "<button>1</foo>",
11890 "errors": [
11891 "(1,8): expected-doctype-but-got-start-tag",
11892 "(1,15): unexpected-end-tag",
11893 "(1,15): expected-closing-tag-but-got-eof"
11894 ],
11895 "document": {
11896 "props": {
11897 "tags": {
11898 "html": true,
11899 "head": true,
11900 "body": true,
11901 "button": true
11902 }
11903 },
11904 "tree": [
11905 {
11906 "tag": "html",
11907 "children": [
11908 {
11909 "tag": "head"
11910 },
11911 {
11912 "tag": "body",
11913 "children": [
11914 {
11915 "tag": "button",
11916 "children": [
11917 {
11918 "text": "1"
11919 }
11920 ]
11921 }
11922 ]
11923 }
11924 ]
11925 }
11926 ],
11927 "html": "<html><head></head><body><button>1</button></body></html>",
11928 "noQuirksBodyHtml": "<button>1</button>"
11929 }
11930 },
11931 {
11932 "data": "<foo>1<p>2</foo>",
11933 "errors": [
11934 "(1,5): expected-doctype-but-got-start-tag",
11935 "(1,16): unexpected-end-tag",
11936 "(1,16): expected-closing-tag-but-got-eof"
11937 ],
11938 "document": {
11939 "props": {
11940 "tags": {
11941 "html": true,
11942 "head": true,
11943 "body": true,
11944 "foo": true,
11945 "p": true
11946 }
11947 },
11948 "tree": [
11949 {
11950 "tag": "html",
11951 "children": [
11952 {
11953 "tag": "head"
11954 },
11955 {
11956 "tag": "body",
11957 "children": [
11958 {
11959 "tag": "foo",
11960 "children": [
11961 {
11962 "text": "1"
11963 },
11964 {
11965 "tag": "p",
11966 "children": [
11967 {
11968 "text": "2"
11969 }
11970 ]
11971 }
11972 ]
11973 }
11974 ]
11975 }
11976 ]
11977 }
11978 ],
11979 "html": "<html><head></head><body><foo>1<p>2</p></foo></body></html>",
11980 "noQuirksBodyHtml": "<foo>1<p>2</p></foo>"
11981 }
11982 },
11983 {
11984 "data": "<dd>1</foo>",
11985 "errors": [
11986 "(1,4): expected-doctype-but-got-start-tag",
11987 "(1,11): unexpected-end-tag"
11988 ],
11989 "document": {
11990 "props": {
11991 "tags": {
11992 "html": true,
11993 "head": true,
11994 "body": true,
11995 "dd": true
11996 }
11997 },
11998 "tree": [
11999 {
12000 "tag": "html",
12001 "children": [
12002 {
12003 "tag": "head"
12004 },
12005 {
12006 "tag": "body",
12007 "children": [
12008 {
12009 "tag": "dd",
12010 "children": [
12011 {
12012 "text": "1"
12013 }
12014 ]
12015 }
12016 ]
12017 }
12018 ]
12019 }
12020 ],
12021 "html": "<html><head></head><body><dd>1</dd></body></html>",
12022 "noQuirksBodyHtml": "<dd>1</dd>"
12023 }
12024 },
12025 {
12026 "data": "<foo>1<dd>2</foo>",
12027 "errors": [
12028 "(1,5): expected-doctype-but-got-start-tag",
12029 "(1,17): unexpected-end-tag",
12030 "(1,17): expected-closing-tag-but-got-eof"
12031 ],
12032 "document": {
12033 "props": {
12034 "tags": {
12035 "html": true,
12036 "head": true,
12037 "body": true,
12038 "foo": true,
12039 "dd": true
12040 }
12041 },
12042 "tree": [
12043 {
12044 "tag": "html",
12045 "children": [
12046 {
12047 "tag": "head"
12048 },
12049 {
12050 "tag": "body",
12051 "children": [
12052 {
12053 "tag": "foo",
12054 "children": [
12055 {
12056 "text": "1"
12057 },
12058 {
12059 "tag": "dd",
12060 "children": [
12061 {
12062 "text": "2"
12063 }
12064 ]
12065 }
12066 ]
12067 }
12068 ]
12069 }
12070 ]
12071 }
12072 ],
12073 "html": "<html><head></head><body><foo>1<dd>2</dd></foo></body></html>",
12074 "noQuirksBodyHtml": "<foo>1<dd>2</dd></foo>"
12075 }
12076 }
12077 ],
12078 "isindex.dat": [
12079 {
12080 "data": "<isindex>",
12081 "errors": [
12082 "(1,9): expected-doctype-but-got-start-tag",
12083 "(1,9): deprecated-tag"
12084 ],
12085 "document": {
12086 "props": {
12087 "tags": {
12088 "html": true,
12089 "head": true,
12090 "body": true,
12091 "form": true,
12092 "hr": true,
12093 "label": true,
12094 "input": true
12095 }
12096 },
12097 "tree": [
12098 {
12099 "tag": "html",
12100 "children": [
12101 {
12102 "tag": "head"
12103 },
12104 {
12105 "tag": "body",
12106 "children": [
12107 {
12108 "tag": "form",
12109 "children": [
12110 {
12111 "tag": "hr"
12112 },
12113 {
12114 "tag": "label",
12115 "children": [
12116 {
12117 "text": "This is a searchable index. Enter search keywords: "
12118 },
12119 {
12120 "tag": "input",
12121 "attrs": [
12122 {
12123 "name": "name",
12124 "value": "isindex"
12125 }
12126 ]
12127 }
12128 ]
12129 },
12130 {
12131 "tag": "hr"
12132 }
12133 ]
12134 }
12135 ]
12136 }
12137 ]
12138 }
12139 ],
12140 "html": "<html><head></head><body><form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form></body></html>",
12141 "noQuirksBodyHtml": "<form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form>"
12142 }
12143 },
12144 {
12145 "data": "<isindex name=\"A\" action=\"B\" prompt=\"C\" foo=\"D\">",
12146 "errors": [
12147 "(1,48): expected-doctype-but-got-start-tag",
12148 "(1,48): deprecated-tag"
12149 ],
12150 "document": {
12151 "props": {
12152 "tags": {
12153 "html": true,
12154 "head": true,
12155 "body": true,
12156 "form": true,
12157 "hr": true,
12158 "label": true,
12159 "input": true
12160 }
12161 },
12162 "tree": [
12163 {
12164 "tag": "html",
12165 "children": [
12166 {
12167 "tag": "head"
12168 },
12169 {
12170 "tag": "body",
12171 "children": [
12172 {
12173 "tag": "form",
12174 "attrs": [
12175 {
12176 "name": "action",
12177 "value": "B"
12178 }
12179 ],
12180 "children": [
12181 {
12182 "tag": "hr"
12183 },
12184 {
12185 "tag": "label",
12186 "children": [
12187 {
12188 "text": "C"
12189 },
12190 {
12191 "tag": "input",
12192 "attrs": [
12193 {
12194 "name": "foo",
12195 "value": "D"
12196 },
12197 {
12198 "name": "name",
12199 "value": "isindex"
12200 }
12201 ]
12202 }
12203 ]
12204 },
12205 {
12206 "tag": "hr"
12207 }
12208 ]
12209 }
12210 ]
12211 }
12212 ]
12213 }
12214 ],
12215 "html": "<html><head></head><body><form action=\"B\"><hr><label>C<input name=\"isindex\" foo=\"D\"></label><hr></form></body></html>",
12216 "noQuirksBodyHtml": "<form action=\"B\"><hr><label>C<input name=\"isindex\" foo=\"D\"></label><hr></form>"
12217 }
12218 },
12219 {
12220 "data": "<form><isindex>",
12221 "errors": [
12222 "(1,6): expected-doctype-but-got-start-tag",
12223 "(1,15): deprecated-tag",
12224 "(1,15): expected-closing-tag-but-got-eof"
12225 ],
12226 "document": {
12227 "props": {
12228 "tags": {
12229 "html": true,
12230 "head": true,
12231 "body": true,
12232 "form": true
12233 }
12234 },
12235 "tree": [
12236 {
12237 "tag": "html",
12238 "children": [
12239 {
12240 "tag": "head"
12241 },
12242 {
12243 "tag": "body",
12244 "children": [
12245 {
12246 "tag": "form"
12247 }
12248 ]
12249 }
12250 ]
12251 }
12252 ],
12253 "html": "<html><head></head><body><form></form></body></html>",
12254 "noQuirksBodyHtml": "<form></form>"
12255 }
12256 }
12257 ],
12258 "main-element.dat": [
12259 {
12260 "data": "<!doctype html><p>foo<main>bar<p>baz",
12261 "errors": [
12262 "(1,36): expected-closing-tag-but-got-eof"
12263 ],
12264 "document": {
12265 "props": {
12266 "tags": {
12267 "html": true,
12268 "head": true,
12269 "body": true,
12270 "p": true,
12271 "main": true
12272 },
12273 "doctype": true
12274 },
12275 "tree": [
12276 {
12277 "doctype": "html"
12278 },
12279 {
12280 "tag": "html",
12281 "children": [
12282 {
12283 "tag": "head"
12284 },
12285 {
12286 "tag": "body",
12287 "children": [
12288 {
12289 "tag": "p",
12290 "children": [
12291 {
12292 "text": "foo"
12293 }
12294 ]
12295 },
12296 {
12297 "tag": "main",
12298 "children": [
12299 {
12300 "text": "bar"
12301 },
12302 {
12303 "tag": "p",
12304 "children": [
12305 {
12306 "text": "baz"
12307 }
12308 ]
12309 }
12310 ]
12311 }
12312 ]
12313 }
12314 ]
12315 }
12316 ],
12317 "html": "<!DOCTYPE html><html><head></head><body><p>foo</p><main>bar<p>baz</p></main></body></html>",
12318 "noQuirksBodyHtml": "<p>foo</p><main>bar<p>baz</p></main>"
12319 }
12320 },
12321 {
12322 "data": "<!doctype html><main><p>foo</main>bar",
12323 "errors": [],
12324 "document": {
12325 "props": {
12326 "tags": {
12327 "html": true,
12328 "head": true,
12329 "body": true,
12330 "main": true,
12331 "p": true
12332 },
12333 "doctype": true
12334 },
12335 "tree": [
12336 {
12337 "doctype": "html"
12338 },
12339 {
12340 "tag": "html",
12341 "children": [
12342 {
12343 "tag": "head"
12344 },
12345 {
12346 "tag": "body",
12347 "children": [
12348 {
12349 "tag": "main",
12350 "children": [
12351 {
12352 "tag": "p",
12353 "children": [
12354 {
12355 "text": "foo"
12356 }
12357 ]
12358 }
12359 ]
12360 },
12361 {
12362 "text": "bar"
12363 }
12364 ]
12365 }
12366 ]
12367 }
12368 ],
12369 "html": "<!DOCTYPE html><html><head></head><body><main><p>foo</p></main>bar</body></html>",
12370 "noQuirksBodyHtml": "<main><p>foo</p></main>bar"
12371 }
12372 },
12373 {
12374 "data": "<!DOCTYPE html>xxx<svg><x><g><a><main><b>",
12375 "errors": [
12376 " * (1,42) unexpected HTML-like start tag token in foreign content",
12377 " * (1,42) unexpected end of file"
12378 ],
12379 "document": {
12380 "props": {
12381 "tags": {
12382 "html": true,
12383 "head": true,
12384 "body": true,
12385 "svg svg": true,
12386 "svg x": true,
12387 "svg g": true,
12388 "svg a": true,
12389 "svg main": true,
12390 "b": true
12391 },
12392 "doctype": true
12393 },
12394 "tree": [
12395 {
12396 "doctype": "html"
12397 },
12398 {
12399 "tag": "html",
12400 "children": [
12401 {
12402 "tag": "head"
12403 },
12404 {
12405 "tag": "body",
12406 "children": [
12407 {
12408 "text": "xxx"
12409 },
12410 {
12411 "tag": "svg",
12412 "ns": "http://www.w3.org/2000/svg",
12413 "children": [
12414 {
12415 "tag": "x",
12416 "ns": "http://www.w3.org/2000/svg",
12417 "children": [
12418 {
12419 "tag": "g",
12420 "ns": "http://www.w3.org/2000/svg",
12421 "children": [
12422 {
12423 "tag": "a",
12424 "ns": "http://www.w3.org/2000/svg",
12425 "children": [
12426 {
12427 "tag": "main",
12428 "ns": "http://www.w3.org/2000/svg"
12429 }
12430 ]
12431 }
12432 ]
12433 }
12434 ]
12435 }
12436 ]
12437 },
12438 {
12439 "tag": "b"
12440 }
12441 ]
12442 }
12443 ]
12444 }
12445 ],
12446 "html": "<!DOCTYPE html><html><head></head><body>xxx<svg><x><g><a><main></main></a></g></x></svg><b></b></body></html>",
12447 "noQuirksBodyHtml": "xxx<svg><x><g><a><main><b></b></main></a></g></x></svg>"
12448 }
12449 }
12450 ],
12451 "math.dat": [
12452 {
12453 "data": "<math><tr><td><mo><tr>",
12454 "errors": [],
12455 "fragment": {
12456 "name": "td"
12457 },
12458 "document": {
12459 "props": {
12460 "tags": {
12461 "math math": true,
12462 "math tr": true,
12463 "math td": true,
12464 "math mo": true
12465 }
12466 },
12467 "tree": [
12468 {
12469 "tag": "math",
12470 "ns": "http://www.w3.org/1998/Math/MathML",
12471 "children": [
12472 {
12473 "tag": "tr",
12474 "ns": "http://www.w3.org/1998/Math/MathML",
12475 "children": [
12476 {
12477 "tag": "td",
12478 "ns": "http://www.w3.org/1998/Math/MathML",
12479 "children": [
12480 {
12481 "tag": "mo",
12482 "ns": "http://www.w3.org/1998/Math/MathML"
12483 }
12484 ]
12485 }
12486 ]
12487 }
12488 ]
12489 }
12490 ],
12491 "html": "<math><tr><td><mo></mo></td></tr></math>",
12492 "noQuirksBodyHtml": "<math><tr><td><mo></mo></td></tr></math>"
12493 }
12494 },
12495 {
12496 "data": "<math><tr><td><mo><tr>",
12497 "errors": [],
12498 "fragment": {
12499 "name": "tr"
12500 },
12501 "document": {
12502 "props": {
12503 "tags": {
12504 "math math": true,
12505 "math tr": true,
12506 "math td": true,
12507 "math mo": true
12508 }
12509 },
12510 "tree": [
12511 {
12512 "tag": "math",
12513 "ns": "http://www.w3.org/1998/Math/MathML",
12514 "children": [
12515 {
12516 "tag": "tr",
12517 "ns": "http://www.w3.org/1998/Math/MathML",
12518 "children": [
12519 {
12520 "tag": "td",
12521 "ns": "http://www.w3.org/1998/Math/MathML",
12522 "children": [
12523 {
12524 "tag": "mo",
12525 "ns": "http://www.w3.org/1998/Math/MathML"
12526 }
12527 ]
12528 }
12529 ]
12530 }
12531 ]
12532 }
12533 ],
12534 "html": "<math><tr><td><mo></mo></td></tr></math>",
12535 "noQuirksBodyHtml": "<math><tr><td><mo></mo></td></tr></math>"
12536 }
12537 },
12538 {
12539 "data": "<math><thead><mo><tbody>",
12540 "errors": [],
12541 "fragment": {
12542 "name": "thead"
12543 },
12544 "document": {
12545 "props": {
12546 "tags": {
12547 "math math": true,
12548 "math thead": true,
12549 "math mo": true
12550 }
12551 },
12552 "tree": [
12553 {
12554 "tag": "math",
12555 "ns": "http://www.w3.org/1998/Math/MathML",
12556 "children": [
12557 {
12558 "tag": "thead",
12559 "ns": "http://www.w3.org/1998/Math/MathML",
12560 "children": [
12561 {
12562 "tag": "mo",
12563 "ns": "http://www.w3.org/1998/Math/MathML"
12564 }
12565 ]
12566 }
12567 ]
12568 }
12569 ],
12570 "html": "<math><thead><mo></mo></thead></math>",
12571 "noQuirksBodyHtml": "<math><thead><mo></mo></thead></math>"
12572 }
12573 },
12574 {
12575 "data": "<math><tfoot><mo><tbody>",
12576 "errors": [],
12577 "fragment": {
12578 "name": "tfoot"
12579 },
12580 "document": {
12581 "props": {
12582 "tags": {
12583 "math math": true,
12584 "math tfoot": true,
12585 "math mo": true
12586 }
12587 },
12588 "tree": [
12589 {
12590 "tag": "math",
12591 "ns": "http://www.w3.org/1998/Math/MathML",
12592 "children": [
12593 {
12594 "tag": "tfoot",
12595 "ns": "http://www.w3.org/1998/Math/MathML",
12596 "children": [
12597 {
12598 "tag": "mo",
12599 "ns": "http://www.w3.org/1998/Math/MathML"
12600 }
12601 ]
12602 }
12603 ]
12604 }
12605 ],
12606 "html": "<math><tfoot><mo></mo></tfoot></math>",
12607 "noQuirksBodyHtml": "<math><tfoot><mo></mo></tfoot></math>"
12608 }
12609 },
12610 {
12611 "data": "<math><tbody><mo><tfoot>",
12612 "errors": [],
12613 "fragment": {
12614 "name": "tbody"
12615 },
12616 "document": {
12617 "props": {
12618 "tags": {
12619 "math math": true,
12620 "math tbody": true,
12621 "math mo": true
12622 }
12623 },
12624 "tree": [
12625 {
12626 "tag": "math",
12627 "ns": "http://www.w3.org/1998/Math/MathML",
12628 "children": [
12629 {
12630 "tag": "tbody",
12631 "ns": "http://www.w3.org/1998/Math/MathML",
12632 "children": [
12633 {
12634 "tag": "mo",
12635 "ns": "http://www.w3.org/1998/Math/MathML"
12636 }
12637 ]
12638 }
12639 ]
12640 }
12641 ],
12642 "html": "<math><tbody><mo></mo></tbody></math>",
12643 "noQuirksBodyHtml": "<math><tbody><mo></mo></tbody></math>"
12644 }
12645 },
12646 {
12647 "data": "<math><tbody><mo></table>",
12648 "errors": [],
12649 "fragment": {
12650 "name": "tbody"
12651 },
12652 "document": {
12653 "props": {
12654 "tags": {
12655 "math math": true,
12656 "math tbody": true,
12657 "math mo": true
12658 }
12659 },
12660 "tree": [
12661 {
12662 "tag": "math",
12663 "ns": "http://www.w3.org/1998/Math/MathML",
12664 "children": [
12665 {
12666 "tag": "tbody",
12667 "ns": "http://www.w3.org/1998/Math/MathML",
12668 "children": [
12669 {
12670 "tag": "mo",
12671 "ns": "http://www.w3.org/1998/Math/MathML"
12672 }
12673 ]
12674 }
12675 ]
12676 }
12677 ],
12678 "html": "<math><tbody><mo></mo></tbody></math>",
12679 "noQuirksBodyHtml": "<math><tbody><mo></mo></tbody></math>"
12680 }
12681 },
12682 {
12683 "data": "<math><thead><mo></table>",
12684 "errors": [],
12685 "fragment": {
12686 "name": "tbody"
12687 },
12688 "document": {
12689 "props": {
12690 "tags": {
12691 "math math": true,
12692 "math thead": true,
12693 "math mo": true
12694 }
12695 },
12696 "tree": [
12697 {
12698 "tag": "math",
12699 "ns": "http://www.w3.org/1998/Math/MathML",
12700 "children": [
12701 {
12702 "tag": "thead",
12703 "ns": "http://www.w3.org/1998/Math/MathML",
12704 "children": [
12705 {
12706 "tag": "mo",
12707 "ns": "http://www.w3.org/1998/Math/MathML"
12708 }
12709 ]
12710 }
12711 ]
12712 }
12713 ],
12714 "html": "<math><thead><mo></mo></thead></math>",
12715 "noQuirksBodyHtml": "<math><thead><mo></mo></thead></math>"
12716 }
12717 },
12718 {
12719 "data": "<math><tfoot><mo></table>",
12720 "errors": [],
12721 "fragment": {
12722 "name": "tbody"
12723 },
12724 "document": {
12725 "props": {
12726 "tags": {
12727 "math math": true,
12728 "math tfoot": true,
12729 "math mo": true
12730 }
12731 },
12732 "tree": [
12733 {
12734 "tag": "math",
12735 "ns": "http://www.w3.org/1998/Math/MathML",
12736 "children": [
12737 {
12738 "tag": "tfoot",
12739 "ns": "http://www.w3.org/1998/Math/MathML",
12740 "children": [
12741 {
12742 "tag": "mo",
12743 "ns": "http://www.w3.org/1998/Math/MathML"
12744 }
12745 ]
12746 }
12747 ]
12748 }
12749 ],
12750 "html": "<math><tfoot><mo></mo></tfoot></math>",
12751 "noQuirksBodyHtml": "<math><tfoot><mo></mo></tfoot></math>"
12752 }
12753 }
12754 ],
12755 "namespace-sensitivity.dat": [
12756 {
12757 "data": "<body><table><tr><td><svg><td><foreignObject><span></td>Foo",
12758 "errors": [],
12759 "document": {
12760 "props": {
12761 "tags": {
12762 "html": true,
12763 "head": true,
12764 "body": true,
12765 "table": true,
12766 "tbody": true,
12767 "tr": true,
12768 "td": true,
12769 "svg svg": true,
12770 "svg td": true,
12771 "svg foreignObject": true,
12772 "span": true
12773 }
12774 },
12775 "tree": [
12776 {
12777 "tag": "html",
12778 "children": [
12779 {
12780 "tag": "head"
12781 },
12782 {
12783 "tag": "body",
12784 "children": [
12785 {
12786 "text": "Foo"
12787 },
12788 {
12789 "tag": "table",
12790 "children": [
12791 {
12792 "tag": "tbody",
12793 "children": [
12794 {
12795 "tag": "tr",
12796 "children": [
12797 {
12798 "tag": "td",
12799 "children": [
12800 {
12801 "tag": "svg",
12802 "ns": "http://www.w3.org/2000/svg",
12803 "children": [
12804 {
12805 "tag": "td",
12806 "ns": "http://www.w3.org/2000/svg",
12807 "children": [
12808 {
12809 "tag": "foreignObject",
12810 "ns": "http://www.w3.org/2000/svg",
12811 "children": [
12812 {
12813 "tag": "span"
12814 }
12815 ]
12816 }
12817 ]
12818 }
12819 ]
12820 }
12821 ]
12822 }
12823 ]
12824 }
12825 ]
12826 }
12827 ]
12828 }
12829 ]
12830 }
12831 ]
12832 }
12833 ],
12834 "html": "<html><head></head><body>Foo<table><tbody><tr><td><svg><td><foreignObject><span></span></foreignObject></td></svg></td></tr></tbody></table></body></html>",
12835 "noQuirksBodyHtml": "Foo<table><tbody><tr><td><svg><td><foreignObject><span></span></foreignObject></td></svg></td></tr></tbody></table>"
12836 }
12837 }
12838 ],
12839 "pending-spec-changes-plain-text-unsafe.dat": [
12840 {
12841 "data": "<body><table>\u0000filler\u0000text\u0000",
12842 "errors": [
12843 "(1,6): expected-doctype-but-got-start-tag",
12844 "(1,14): invalid-codepoint",
12845 "(1,14): invalid-codepoint-in-table-text",
12846 "(1,21): invalid-codepoint",
12847 "(1,21): invalid-codepoint-in-table-text",
12848 "(1,26): invalid-codepoint",
12849 "(1,26): invalid-codepoint-in-table-text",
12850 "(1,26): foster-parenting-character-in-table",
12851 "(1,26): foster-parenting-character-in-table",
12852 "(1,26): foster-parenting-character-in-table",
12853 "(1,26): foster-parenting-character-in-table",
12854 "(1,26): foster-parenting-character-in-table",
12855 "(1,26): foster-parenting-character-in-table",
12856 "(1,26): foster-parenting-character-in-table",
12857 "(1,26): foster-parenting-character-in-table",
12858 "(1,26): foster-parenting-character-in-table",
12859 "(1,26): foster-parenting-character-in-table",
12860 "(1,26): eof-in-table"
12861 ],
12862 "document": {
12863 "props": {
12864 "tags": {
12865 "html": true,
12866 "head": true,
12867 "body": true,
12868 "table": true
12869 }
12870 },
12871 "tree": [
12872 {
12873 "tag": "html",
12874 "children": [
12875 {
12876 "tag": "head"
12877 },
12878 {
12879 "tag": "body",
12880 "children": [
12881 {
12882 "text": "fillertext"
12883 },
12884 {
12885 "tag": "table"
12886 }
12887 ]
12888 }
12889 ]
12890 }
12891 ],
12892 "html": "<html><head></head><body>fillertext<table></table></body></html>",
12893 "noQuirksBodyHtml": "fillertext<table></table>"
12894 }
12895 }
12896 ],
12897 "pending-spec-changes.dat": [
12898 {
12899 "data": "<input type=\"hidden\"><frameset>",
12900 "errors": [
12901 "(1,21): expected-doctype-but-got-start-tag",
12902 "(1,31): unexpected-start-tag",
12903 "(1,31): eof-in-frameset"
12904 ],
12905 "document": {
12906 "props": {
12907 "tags": {
12908 "html": true,
12909 "head": true,
12910 "frameset": true
12911 }
12912 },
12913 "tree": [
12914 {
12915 "tag": "html",
12916 "children": [
12917 {
12918 "tag": "head"
12919 },
12920 {
12921 "tag": "frameset"
12922 }
12923 ]
12924 }
12925 ],
12926 "html": "<html><head></head><frameset></frameset></html>",
12927 "noQuirksBodyHtml": "<input type=\"hidden\">"
12928 }
12929 },
12930 {
12931 "data": "<!DOCTYPE html><table><caption><svg>foo</table>bar",
12932 "errors": [
12933 "(1,47): unexpected-end-tag",
12934 "(1,47): end-table-tag-in-caption"
12935 ],
12936 "document": {
12937 "props": {
12938 "tags": {
12939 "html": true,
12940 "head": true,
12941 "body": true,
12942 "table": true,
12943 "caption": true,
12944 "svg svg": true
12945 },
12946 "doctype": true
12947 },
12948 "tree": [
12949 {
12950 "doctype": "html"
12951 },
12952 {
12953 "tag": "html",
12954 "children": [
12955 {
12956 "tag": "head"
12957 },
12958 {
12959 "tag": "body",
12960 "children": [
12961 {
12962 "tag": "table",
12963 "children": [
12964 {
12965 "tag": "caption",
12966 "children": [
12967 {
12968 "tag": "svg",
12969 "ns": "http://www.w3.org/2000/svg",
12970 "children": [
12971 {
12972 "text": "foo"
12973 }
12974 ]
12975 }
12976 ]
12977 }
12978 ]
12979 },
12980 {
12981 "text": "bar"
12982 }
12983 ]
12984 }
12985 ]
12986 }
12987 ],
12988 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg>foo</svg></caption></table>bar</body></html>",
12989 "noQuirksBodyHtml": "<table><caption><svg>foo</svg></caption></table>bar"
12990 }
12991 },
12992 {
12993 "data": "<table><tr><td><svg><desc><td></desc><circle>",
12994 "errors": [
12995 "(1,7): expected-doctype-but-got-start-tag",
12996 "(1,30): unexpected-cell-end-tag",
12997 "(1,37): unexpected-end-tag",
12998 "(1,45): expected-closing-tag-but-got-eof"
12999 ],
13000 "document": {
13001 "props": {
13002 "tags": {
13003 "html": true,
13004 "head": true,
13005 "body": true,
13006 "table": true,
13007 "tbody": true,
13008 "tr": true,
13009 "td": true,
13010 "svg svg": true,
13011 "svg desc": true,
13012 "circle": true
13013 }
13014 },
13015 "tree": [
13016 {
13017 "tag": "html",
13018 "children": [
13019 {
13020 "tag": "head"
13021 },
13022 {
13023 "tag": "body",
13024 "children": [
13025 {
13026 "tag": "table",
13027 "children": [
13028 {
13029 "tag": "tbody",
13030 "children": [
13031 {
13032 "tag": "tr",
13033 "children": [
13034 {
13035 "tag": "td",
13036 "children": [
13037 {
13038 "tag": "svg",
13039 "ns": "http://www.w3.org/2000/svg",
13040 "children": [
13041 {
13042 "tag": "desc",
13043 "ns": "http://www.w3.org/2000/svg"
13044 }
13045 ]
13046 }
13047 ]
13048 },
13049 {
13050 "tag": "td",
13051 "children": [
13052 {
13053 "tag": "circle"
13054 }
13055 ]
13056 }
13057 ]
13058 }
13059 ]
13060 }
13061 ]
13062 }
13063 ]
13064 }
13065 ]
13066 }
13067 ],
13068 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table></body></html>",
13069 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table>"
13070 }
13071 }
13072 ],
13073 "plain-text-unsafe.dat": [
13074 {
13075 "data": "FOO&#x000D;ZOO",
13076 "errors": [
13077 "(1,3): expected-doctype-but-got-chars",
13078 "(1,11): illegal-codepoint-for-numeric-entity"
13079 ],
13080 "document": {
13081 "props": {
13082 "tags": {
13083 "html": true,
13084 "head": true,
13085 "body": true
13086 }
13087 },
13088 "tree": [
13089 {
13090 "tag": "html",
13091 "children": [
13092 {
13093 "tag": "head"
13094 },
13095 {
13096 "tag": "body",
13097 "children": [
13098 {
13099 "text": "FOO\rZOO"
13100 }
13101 ]
13102 }
13103 ]
13104 }
13105 ],
13106 "html": "<html><head></head><body>FOO\rZOO</body></html>",
13107 "noQuirksBodyHtml": "FOO\rZOO"
13108 }
13109 },
13110 {
13111 "data": "<html>\u0000<frameset></frameset>",
13112 "errors": [
13113 "(1,6): expected-doctype-but-got-start-tag",
13114 "(1,7): invalid-codepoint",
13115 "(1,7): invalid-codepoint-in-body",
13116 "(1,17): unexpected-start-tag"
13117 ],
13118 "document": {
13119 "props": {
13120 "tags": {
13121 "html": true,
13122 "head": true,
13123 "frameset": true
13124 }
13125 },
13126 "tree": [
13127 {
13128 "tag": "html",
13129 "children": [
13130 {
13131 "tag": "head"
13132 },
13133 {
13134 "tag": "frameset"
13135 }
13136 ]
13137 }
13138 ],
13139 "html": "<html><head></head><frameset></frameset></html>",
13140 "noQuirksBodyHtml": ""
13141 }
13142 },
13143 {
13144 "data": "<html> \u0000 <frameset></frameset>",
13145 "errors": [
13146 "(1,6): expected-doctype-but-got-start-tag",
13147 "(1,8): invalid-codepoint",
13148 "(1,8): invalid-codepoint-in-body",
13149 "(1,19): unexpected-start-tag"
13150 ],
13151 "document": {
13152 "props": {
13153 "tags": {
13154 "html": true,
13155 "head": true,
13156 "frameset": true
13157 }
13158 },
13159 "tree": [
13160 {
13161 "tag": "html",
13162 "children": [
13163 {
13164 "tag": "head"
13165 },
13166 {
13167 "tag": "frameset"
13168 }
13169 ]
13170 }
13171 ],
13172 "html": "<html><head></head><frameset></frameset></html>",
13173 "noQuirksBodyHtml": " "
13174 }
13175 },
13176 {
13177 "data": "<html>a\u0000a<frameset></frameset>",
13178 "errors": [
13179 "(1,6): expected-doctype-but-got-start-tag",
13180 "(1,8): invalid-codepoint",
13181 "(1,8): invalid-codepoint-in-body",
13182 "(1,19): unexpected-start-tag",
13183 "(1,30): unexpected-end-tag"
13184 ],
13185 "document": {
13186 "props": {
13187 "tags": {
13188 "html": true,
13189 "head": true,
13190 "body": true
13191 }
13192 },
13193 "tree": [
13194 {
13195 "tag": "html",
13196 "children": [
13197 {
13198 "tag": "head"
13199 },
13200 {
13201 "tag": "body",
13202 "children": [
13203 {
13204 "text": "aa"
13205 }
13206 ]
13207 }
13208 ]
13209 }
13210 ],
13211 "html": "<html><head></head><body>aa</body></html>",
13212 "noQuirksBodyHtml": "aa"
13213 }
13214 },
13215 {
13216 "data": "<html>\u0000\u0000<frameset></frameset>",
13217 "errors": [
13218 "(1,6): expected-doctype-but-got-start-tag",
13219 "(1,7): invalid-codepoint",
13220 "(1,7): invalid-codepoint-in-body",
13221 "(1,8): invalid-codepoint",
13222 "(1,8): invalid-codepoint-in-body",
13223 "(1,18): unexpected-start-tag"
13224 ],
13225 "document": {
13226 "props": {
13227 "tags": {
13228 "html": true,
13229 "head": true,
13230 "frameset": true
13231 }
13232 },
13233 "tree": [
13234 {
13235 "tag": "html",
13236 "children": [
13237 {
13238 "tag": "head"
13239 },
13240 {
13241 "tag": "frameset"
13242 }
13243 ]
13244 }
13245 ],
13246 "html": "<html><head></head><frameset></frameset></html>",
13247 "noQuirksBodyHtml": ""
13248 }
13249 },
13250 {
13251 "data": "<html>\u0000\n <frameset></frameset>",
13252 "errors": [
13253 "(1,6): expected-doctype-but-got-start-tag",
13254 "(1,7): invalid-codepoint",
13255 "(1,7): invalid-codepoint-in-body",
13256 "(2,11): unexpected-start-tag"
13257 ],
13258 "document": {
13259 "props": {
13260 "tags": {
13261 "html": true,
13262 "head": true,
13263 "frameset": true
13264 }
13265 },
13266 "tree": [
13267 {
13268 "tag": "html",
13269 "children": [
13270 {
13271 "tag": "head"
13272 },
13273 {
13274 "tag": "frameset"
13275 }
13276 ]
13277 }
13278 ],
13279 "html": "<html><head></head><frameset></frameset></html>",
13280 "noQuirksBodyHtml": "\n "
13281 }
13282 },
13283 {
13284 "data": "<html><select>\u0000",
13285 "errors": [
13286 "(1,6): expected-doctype-but-got-start-tag",
13287 "(1,15): invalid-codepoint",
13288 "(1,15): invalid-codepoint-in-select",
13289 "(1,15): eof-in-select"
13290 ],
13291 "document": {
13292 "props": {
13293 "tags": {
13294 "html": true,
13295 "head": true,
13296 "body": true,
13297 "select": true
13298 }
13299 },
13300 "tree": [
13301 {
13302 "tag": "html",
13303 "children": [
13304 {
13305 "tag": "head"
13306 },
13307 {
13308 "tag": "body",
13309 "children": [
13310 {
13311 "tag": "select"
13312 }
13313 ]
13314 }
13315 ]
13316 }
13317 ],
13318 "html": "<html><head></head><body><select></select></body></html>",
13319 "noQuirksBodyHtml": "<select></select>"
13320 }
13321 },
13322 {
13323 "data": "\u0000",
13324 "errors": [
13325 "(1,1): invalid-codepoint",
13326 "(1,1): expected-doctype-but-got-chars",
13327 "(1,1): invalid-codepoint-in-body"
13328 ],
13329 "document": {
13330 "props": {
13331 "tags": {
13332 "html": true,
13333 "head": true,
13334 "body": true
13335 }
13336 },
13337 "tree": [
13338 {
13339 "tag": "html",
13340 "children": [
13341 {
13342 "tag": "head"
13343 },
13344 {
13345 "tag": "body"
13346 }
13347 ]
13348 }
13349 ],
13350 "html": "<html><head></head><body></body></html>",
13351 "noQuirksBodyHtml": ""
13352 }
13353 },
13354 {
13355 "data": "<body>\u0000",
13356 "errors": [
13357 "(1,6): expected-doctype-but-got-start-tag",
13358 "(1,7): invalid-codepoint",
13359 "(1,7): invalid-codepoint-in-body"
13360 ],
13361 "document": {
13362 "props": {
13363 "tags": {
13364 "html": true,
13365 "head": true,
13366 "body": true
13367 }
13368 },
13369 "tree": [
13370 {
13371 "tag": "html",
13372 "children": [
13373 {
13374 "tag": "head"
13375 },
13376 {
13377 "tag": "body"
13378 }
13379 ]
13380 }
13381 ],
13382 "html": "<html><head></head><body></body></html>",
13383 "noQuirksBodyHtml": ""
13384 }
13385 },
13386 {
13387 "data": "<plaintext>\u0000filler\u0000text\u0000",
13388 "errors": [
13389 "(1,11): expected-doctype-but-got-start-tag",
13390 "(1,12): invalid-codepoint",
13391 "(1,19): invalid-codepoint",
13392 "(1,24): invalid-codepoint",
13393 "(1,24): expected-closing-tag-but-got-eof"
13394 ],
13395 "document": {
13396 "props": {
13397 "tags": {
13398 "html": true,
13399 "head": true,
13400 "body": true,
13401 "plaintext": true
13402 },
13403 "no_escape": true
13404 },
13405 "tree": [
13406 {
13407 "tag": "html",
13408 "children": [
13409 {
13410 "tag": "head"
13411 },
13412 {
13413 "tag": "body",
13414 "children": [
13415 {
13416 "tag": "plaintext",
13417 "children": [
13418 {
13419 "text": "�filler�text�",
13420 "no_escape": true
13421 }
13422 ]
13423 }
13424 ]
13425 }
13426 ]
13427 }
13428 ],
13429 "html": "<html><head></head><body><plaintext>�filler�text�</plaintext></body></html>",
13430 "noQuirksBodyHtml": "<plaintext>�filler�text�</plaintext>"
13431 }
13432 },
13433 {
13434 "data": "<svg><![CDATA[\u0000filler\u0000text\u0000]]>",
13435 "errors": [
13436 "(1,5): expected-doctype-but-got-start-tag",
13437 "(1,30): invalid-codepoint",
13438 "(1,30): invalid-codepoint",
13439 "(1,30): invalid-codepoint",
13440 "(1,30): expected-closing-tag-but-got-eof"
13441 ],
13442 "document": {
13443 "props": {
13444 "tags": {
13445 "html": true,
13446 "head": true,
13447 "body": true,
13448 "svg svg": true
13449 }
13450 },
13451 "tree": [
13452 {
13453 "tag": "html",
13454 "children": [
13455 {
13456 "tag": "head"
13457 },
13458 {
13459 "tag": "body",
13460 "children": [
13461 {
13462 "tag": "svg",
13463 "ns": "http://www.w3.org/2000/svg",
13464 "children": [
13465 {
13466 "text": "�filler�text�"
13467 }
13468 ]
13469 }
13470 ]
13471 }
13472 ]
13473 }
13474 ],
13475 "html": "<html><head></head><body><svg>�filler�text�</svg></body></html>",
13476 "noQuirksBodyHtml": "<svg>�filler�text�</svg>"
13477 }
13478 },
13479 {
13480 "data": "<body><!\u0000>",
13481 "errors": [
13482 "(1,6): expected-doctype-but-got-start-tag",
13483 "(1,8): expected-dashes-or-doctype"
13484 ],
13485 "document": {
13486 "props": {
13487 "tags": {
13488 "html": true,
13489 "head": true,
13490 "body": true
13491 },
13492 "comment": true
13493 },
13494 "tree": [
13495 {
13496 "tag": "html",
13497 "children": [
13498 {
13499 "tag": "head"
13500 },
13501 {
13502 "tag": "body",
13503 "children": [
13504 {
13505 "comment": "�"
13506 }
13507 ]
13508 }
13509 ]
13510 }
13511 ],
13512 "html": "<html><head></head><body><!--�--></body></html>",
13513 "noQuirksBodyHtml": "<!--�-->"
13514 }
13515 },
13516 {
13517 "data": "<body><!\u0000filler\u0000text>",
13518 "errors": [
13519 "(1,6): expected-doctype-but-got-start-tag",
13520 "(1,8): expected-dashes-or-doctype"
13521 ],
13522 "document": {
13523 "props": {
13524 "tags": {
13525 "html": true,
13526 "head": true,
13527 "body": true
13528 },
13529 "comment": true
13530 },
13531 "tree": [
13532 {
13533 "tag": "html",
13534 "children": [
13535 {
13536 "tag": "head"
13537 },
13538 {
13539 "tag": "body",
13540 "children": [
13541 {
13542 "comment": "�filler�text"
13543 }
13544 ]
13545 }
13546 ]
13547 }
13548 ],
13549 "html": "<html><head></head><body><!--�filler�text--></body></html>",
13550 "noQuirksBodyHtml": "<!--�filler�text-->"
13551 }
13552 },
13553 {
13554 "data": "<body><svg><foreignObject>\u0000filler\u0000text",
13555 "errors": [
13556 "(1,6): expected-doctype-but-got-start-tag",
13557 "(1,27): invalid-codepoint",
13558 "(1,27): invalid-codepoint-in-body",
13559 "(1,34): invalid-codepoint",
13560 "(1,34): invalid-codepoint-in-body",
13561 "(1,38): expected-closing-tag-but-got-eof"
13562 ],
13563 "document": {
13564 "props": {
13565 "tags": {
13566 "html": true,
13567 "head": true,
13568 "body": true,
13569 "svg svg": true,
13570 "svg foreignObject": true
13571 }
13572 },
13573 "tree": [
13574 {
13575 "tag": "html",
13576 "children": [
13577 {
13578 "tag": "head"
13579 },
13580 {
13581 "tag": "body",
13582 "children": [
13583 {
13584 "tag": "svg",
13585 "ns": "http://www.w3.org/2000/svg",
13586 "children": [
13587 {
13588 "tag": "foreignObject",
13589 "ns": "http://www.w3.org/2000/svg",
13590 "children": [
13591 {
13592 "text": "fillertext"
13593 }
13594 ]
13595 }
13596 ]
13597 }
13598 ]
13599 }
13600 ]
13601 }
13602 ],
13603 "html": "<html><head></head><body><svg><foreignObject>fillertext</foreignObject></svg></body></html>",
13604 "noQuirksBodyHtml": "<svg><foreignObject>fillertext</foreignObject></svg>"
13605 }
13606 },
13607 {
13608 "data": "<svg>\u0000filler\u0000text",
13609 "errors": [
13610 "(1,5): expected-doctype-but-got-start-tag",
13611 "(1,6): invalid-codepoint",
13612 "(1,6): invalid-codepoint-in-foreign-content",
13613 "(1,13): invalid-codepoint",
13614 "(1,13): invalid-codepoint-in-foreign-content",
13615 "(1,17): expected-closing-tag-but-got-eof"
13616 ],
13617 "document": {
13618 "props": {
13619 "tags": {
13620 "html": true,
13621 "head": true,
13622 "body": true,
13623 "svg svg": true
13624 }
13625 },
13626 "tree": [
13627 {
13628 "tag": "html",
13629 "children": [
13630 {
13631 "tag": "head"
13632 },
13633 {
13634 "tag": "body",
13635 "children": [
13636 {
13637 "tag": "svg",
13638 "ns": "http://www.w3.org/2000/svg",
13639 "children": [
13640 {
13641 "text": "�filler�text"
13642 }
13643 ]
13644 }
13645 ]
13646 }
13647 ]
13648 }
13649 ],
13650 "html": "<html><head></head><body><svg>�filler�text</svg></body></html>",
13651 "noQuirksBodyHtml": "<svg>�filler�text</svg>"
13652 }
13653 },
13654 {
13655 "data": "<svg>\u0000<frameset>",
13656 "errors": [
13657 "(1,5): expected-doctype-but-got-start-tag",
13658 "(1,6): invalid-codepoint",
13659 "(1,6): invalid-codepoint-in-foreign-content",
13660 "(1,16): expected-closing-tag-but-got-eof"
13661 ],
13662 "document": {
13663 "props": {
13664 "tags": {
13665 "html": true,
13666 "head": true,
13667 "body": true,
13668 "svg svg": true,
13669 "svg frameset": true
13670 }
13671 },
13672 "tree": [
13673 {
13674 "tag": "html",
13675 "children": [
13676 {
13677 "tag": "head"
13678 },
13679 {
13680 "tag": "body",
13681 "children": [
13682 {
13683 "tag": "svg",
13684 "ns": "http://www.w3.org/2000/svg",
13685 "children": [
13686 {
13687 "text": "�"
13688 },
13689 {
13690 "tag": "frameset",
13691 "ns": "http://www.w3.org/2000/svg"
13692 }
13693 ]
13694 }
13695 ]
13696 }
13697 ]
13698 }
13699 ],
13700 "html": "<html><head></head><body><svg>�<frameset></frameset></svg></body></html>",
13701 "noQuirksBodyHtml": "<svg>�<frameset></frameset></svg>"
13702 }
13703 },
13704 {
13705 "data": "<svg>\u0000 <frameset>",
13706 "errors": [
13707 "(1,5): expected-doctype-but-got-start-tag",
13708 "(1,6): invalid-codepoint",
13709 "(1,6): invalid-codepoint-in-foreign-content",
13710 "(1,17): expected-closing-tag-but-got-eof"
13711 ],
13712 "document": {
13713 "props": {
13714 "tags": {
13715 "html": true,
13716 "head": true,
13717 "body": true,
13718 "svg svg": true,
13719 "svg frameset": true
13720 }
13721 },
13722 "tree": [
13723 {
13724 "tag": "html",
13725 "children": [
13726 {
13727 "tag": "head"
13728 },
13729 {
13730 "tag": "body",
13731 "children": [
13732 {
13733 "tag": "svg",
13734 "ns": "http://www.w3.org/2000/svg",
13735 "children": [
13736 {
13737 "text": "� "
13738 },
13739 {
13740 "tag": "frameset",
13741 "ns": "http://www.w3.org/2000/svg"
13742 }
13743 ]
13744 }
13745 ]
13746 }
13747 ]
13748 }
13749 ],
13750 "html": "<html><head></head><body><svg>� <frameset></frameset></svg></body></html>",
13751 "noQuirksBodyHtml": "<svg>� <frameset></frameset></svg>"
13752 }
13753 },
13754 {
13755 "data": "<svg>\u0000a<frameset>",
13756 "errors": [
13757 "(1,5): expected-doctype-but-got-start-tag",
13758 "(1,6): invalid-codepoint",
13759 "(1,6): invalid-codepoint-in-foreign-content",
13760 "(1,17): expected-closing-tag-but-got-eof"
13761 ],
13762 "document": {
13763 "props": {
13764 "tags": {
13765 "html": true,
13766 "head": true,
13767 "body": true,
13768 "svg svg": true,
13769 "svg frameset": true
13770 }
13771 },
13772 "tree": [
13773 {
13774 "tag": "html",
13775 "children": [
13776 {
13777 "tag": "head"
13778 },
13779 {
13780 "tag": "body",
13781 "children": [
13782 {
13783 "tag": "svg",
13784 "ns": "http://www.w3.org/2000/svg",
13785 "children": [
13786 {
13787 "text": "�a"
13788 },
13789 {
13790 "tag": "frameset",
13791 "ns": "http://www.w3.org/2000/svg"
13792 }
13793 ]
13794 }
13795 ]
13796 }
13797 ]
13798 }
13799 ],
13800 "html": "<html><head></head><body><svg>�a<frameset></frameset></svg></body></html>",
13801 "noQuirksBodyHtml": "<svg>�a<frameset></frameset></svg>"
13802 }
13803 },
13804 {
13805 "data": "<svg>\u0000</svg><frameset>",
13806 "errors": [
13807 "(1,5): expected-doctype-but-got-start-tag",
13808 "(1,6): invalid-codepoint",
13809 "(1,6): invalid-codepoint-in-foreign-content",
13810 "(1,22): unexpected-start-tag",
13811 "(1,22): eof-in-frameset"
13812 ],
13813 "document": {
13814 "props": {
13815 "tags": {
13816 "html": true,
13817 "head": true,
13818 "frameset": true
13819 }
13820 },
13821 "tree": [
13822 {
13823 "tag": "html",
13824 "children": [
13825 {
13826 "tag": "head"
13827 },
13828 {
13829 "tag": "frameset"
13830 }
13831 ]
13832 }
13833 ],
13834 "html": "<html><head></head><frameset></frameset></html>",
13835 "noQuirksBodyHtml": "<svg>�</svg>"
13836 }
13837 },
13838 {
13839 "data": "<svg>\u0000 </svg><frameset>",
13840 "errors": [
13841 "(1,5): expected-doctype-but-got-start-tag",
13842 "(1,6): invalid-codepoint",
13843 "(1,6): invalid-codepoint-in-foreign-content",
13844 "(1,23): unexpected-start-tag",
13845 "(1,23): eof-in-frameset"
13846 ],
13847 "document": {
13848 "props": {
13849 "tags": {
13850 "html": true,
13851 "head": true,
13852 "frameset": true
13853 }
13854 },
13855 "tree": [
13856 {
13857 "tag": "html",
13858 "children": [
13859 {
13860 "tag": "head"
13861 },
13862 {
13863 "tag": "frameset"
13864 }
13865 ]
13866 }
13867 ],
13868 "html": "<html><head></head><frameset></frameset></html>",
13869 "noQuirksBodyHtml": "<svg>� </svg>"
13870 }
13871 },
13872 {
13873 "data": "<svg>\u0000a</svg><frameset>",
13874 "errors": [
13875 "(1,5): expected-doctype-but-got-start-tag",
13876 "(1,6): invalid-codepoint",
13877 "(1,6): invalid-codepoint-in-foreign-content",
13878 "(1,23): unexpected-start-tag"
13879 ],
13880 "document": {
13881 "props": {
13882 "tags": {
13883 "html": true,
13884 "head": true,
13885 "body": true,
13886 "svg svg": true
13887 }
13888 },
13889 "tree": [
13890 {
13891 "tag": "html",
13892 "children": [
13893 {
13894 "tag": "head"
13895 },
13896 {
13897 "tag": "body",
13898 "children": [
13899 {
13900 "tag": "svg",
13901 "ns": "http://www.w3.org/2000/svg",
13902 "children": [
13903 {
13904 "text": "�a"
13905 }
13906 ]
13907 }
13908 ]
13909 }
13910 ]
13911 }
13912 ],
13913 "html": "<html><head></head><body><svg>�a</svg></body></html>",
13914 "noQuirksBodyHtml": "<svg>�a</svg>"
13915 }
13916 },
13917 {
13918 "data": "<svg><path></path></svg><frameset>",
13919 "errors": [
13920 "(1,5): expected-doctype-but-got-start-tag",
13921 "(1,34): unexpected-start-tag",
13922 "(1,34): eof-in-frameset"
13923 ],
13924 "document": {
13925 "props": {
13926 "tags": {
13927 "html": true,
13928 "head": true,
13929 "frameset": true
13930 }
13931 },
13932 "tree": [
13933 {
13934 "tag": "html",
13935 "children": [
13936 {
13937 "tag": "head"
13938 },
13939 {
13940 "tag": "frameset"
13941 }
13942 ]
13943 }
13944 ],
13945 "html": "<html><head></head><frameset></frameset></html>",
13946 "noQuirksBodyHtml": "<svg><path></path></svg>"
13947 }
13948 },
13949 {
13950 "data": "<svg><p><frameset>",
13951 "errors": [
13952 "(1, 5) expected-doctype-but-got-start-tag",
13953 "(1, 8) unexpected-html-element-in-foreign-content",
13954 "(1, 18) unexpected-start-tag",
13955 "(1, 18) eof-in-frameset"
13956 ],
13957 "document": {
13958 "props": {
13959 "tags": {
13960 "html": true,
13961 "head": true,
13962 "frameset": true
13963 }
13964 },
13965 "tree": [
13966 {
13967 "tag": "html",
13968 "children": [
13969 {
13970 "tag": "head"
13971 },
13972 {
13973 "tag": "frameset"
13974 }
13975 ]
13976 }
13977 ],
13978 "html": "<html><head></head><frameset></frameset></html>",
13979 "noQuirksBodyHtml": "<svg><p><frameset></frameset></p></svg>"
13980 }
13981 },
13982 {
13983 "data": "<!DOCTYPE html><pre>\r\n\r\nA</pre>",
13984 "errors": [],
13985 "document": {
13986 "props": {
13987 "tags": {
13988 "html": true,
13989 "head": true,
13990 "body": true,
13991 "pre": true
13992 },
13993 "doctype": true,
13994 "extraNL": true
13995 },
13996 "tree": [
13997 {
13998 "doctype": "html"
13999 },
14000 {
14001 "tag": "html",
14002 "children": [
14003 {
14004 "tag": "head"
14005 },
14006 {
14007 "tag": "body",
14008 "children": [
14009 {
14010 "tag": "pre",
14011 "children": [
14012 {
14013 "text": "\nA",
14014 "extraNL": true
14015 }
14016 ]
14017 }
14018 ]
14019 }
14020 ]
14021 }
14022 ],
14023 "html": "<!DOCTYPE html><html><head></head><body><pre>\n\nA</pre></body></html>",
14024 "noQuirksBodyHtml": "<pre>\n\nA</pre>"
14025 }
14026 },
14027 {
14028 "data": "<!DOCTYPE html><pre>\r\rA</pre>",
14029 "errors": [],
14030 "document": {
14031 "props": {
14032 "tags": {
14033 "html": true,
14034 "head": true,
14035 "body": true,
14036 "pre": true
14037 },
14038 "doctype": true,
14039 "extraNL": true
14040 },
14041 "tree": [
14042 {
14043 "doctype": "html"
14044 },
14045 {
14046 "tag": "html",
14047 "children": [
14048 {
14049 "tag": "head"
14050 },
14051 {
14052 "tag": "body",
14053 "children": [
14054 {
14055 "tag": "pre",
14056 "children": [
14057 {
14058 "text": "\nA",
14059 "extraNL": true
14060 }
14061 ]
14062 }
14063 ]
14064 }
14065 ]
14066 }
14067 ],
14068 "html": "<!DOCTYPE html><html><head></head><body><pre>\n\nA</pre></body></html>",
14069 "noQuirksBodyHtml": "<pre>\n\nA</pre>"
14070 }
14071 },
14072 {
14073 "data": "<!DOCTYPE html><pre>\rA</pre>",
14074 "errors": [],
14075 "document": {
14076 "props": {
14077 "tags": {
14078 "html": true,
14079 "head": true,
14080 "body": true,
14081 "pre": true
14082 },
14083 "doctype": true
14084 },
14085 "tree": [
14086 {
14087 "doctype": "html"
14088 },
14089 {
14090 "tag": "html",
14091 "children": [
14092 {
14093 "tag": "head"
14094 },
14095 {
14096 "tag": "body",
14097 "children": [
14098 {
14099 "tag": "pre",
14100 "children": [
14101 {
14102 "text": "A"
14103 }
14104 ]
14105 }
14106 ]
14107 }
14108 ]
14109 }
14110 ],
14111 "html": "<!DOCTYPE html><html><head></head><body><pre>A</pre></body></html>",
14112 "noQuirksBodyHtml": "<pre>A</pre>"
14113 }
14114 },
14115 {
14116 "data": "<!DOCTYPE html><table><tr><td><math><mtext>\u0000a",
14117 "errors": [
14118 "(1,44): invalid-codepoint",
14119 "(1,44): invalid-codepoint-in-body",
14120 "(1,45): expected-closing-tag-but-got-eof"
14121 ],
14122 "document": {
14123 "props": {
14124 "tags": {
14125 "html": true,
14126 "head": true,
14127 "body": true,
14128 "table": true,
14129 "tbody": true,
14130 "tr": true,
14131 "td": true,
14132 "math math": true,
14133 "math mtext": true
14134 },
14135 "doctype": true
14136 },
14137 "tree": [
14138 {
14139 "doctype": "html"
14140 },
14141 {
14142 "tag": "html",
14143 "children": [
14144 {
14145 "tag": "head"
14146 },
14147 {
14148 "tag": "body",
14149 "children": [
14150 {
14151 "tag": "table",
14152 "children": [
14153 {
14154 "tag": "tbody",
14155 "children": [
14156 {
14157 "tag": "tr",
14158 "children": [
14159 {
14160 "tag": "td",
14161 "children": [
14162 {
14163 "tag": "math",
14164 "ns": "http://www.w3.org/1998/Math/MathML",
14165 "children": [
14166 {
14167 "tag": "mtext",
14168 "ns": "http://www.w3.org/1998/Math/MathML",
14169 "children": [
14170 {
14171 "text": "a"
14172 }
14173 ]
14174 }
14175 ]
14176 }
14177 ]
14178 }
14179 ]
14180 }
14181 ]
14182 }
14183 ]
14184 }
14185 ]
14186 }
14187 ]
14188 }
14189 ],
14190 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><math><mtext>a</mtext></math></td></tr></tbody></table></body></html>",
14191 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mtext>a</mtext></math></td></tr></tbody></table>"
14192 }
14193 },
14194 {
14195 "data": "<!DOCTYPE html><table><tr><td><svg><foreignObject>\u0000a",
14196 "errors": [
14197 "(1,51): invalid-codepoint",
14198 "(1,51): invalid-codepoint-in-body",
14199 "(1,52): expected-closing-tag-but-got-eof"
14200 ],
14201 "document": {
14202 "props": {
14203 "tags": {
14204 "html": true,
14205 "head": true,
14206 "body": true,
14207 "table": true,
14208 "tbody": true,
14209 "tr": true,
14210 "td": true,
14211 "svg svg": true,
14212 "svg foreignObject": true
14213 },
14214 "doctype": true
14215 },
14216 "tree": [
14217 {
14218 "doctype": "html"
14219 },
14220 {
14221 "tag": "html",
14222 "children": [
14223 {
14224 "tag": "head"
14225 },
14226 {
14227 "tag": "body",
14228 "children": [
14229 {
14230 "tag": "table",
14231 "children": [
14232 {
14233 "tag": "tbody",
14234 "children": [
14235 {
14236 "tag": "tr",
14237 "children": [
14238 {
14239 "tag": "td",
14240 "children": [
14241 {
14242 "tag": "svg",
14243 "ns": "http://www.w3.org/2000/svg",
14244 "children": [
14245 {
14246 "tag": "foreignObject",
14247 "ns": "http://www.w3.org/2000/svg",
14248 "children": [
14249 {
14250 "text": "a"
14251 }
14252 ]
14253 }
14254 ]
14255 }
14256 ]
14257 }
14258 ]
14259 }
14260 ]
14261 }
14262 ]
14263 }
14264 ]
14265 }
14266 ]
14267 }
14268 ],
14269 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg><foreignObject>a</foreignObject></svg></td></tr></tbody></table></body></html>",
14270 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><foreignObject>a</foreignObject></svg></td></tr></tbody></table>"
14271 }
14272 },
14273 {
14274 "data": "<!DOCTYPE html><math><mi>a\u0000b",
14275 "errors": [
14276 "(1,27): invalid-codepoint",
14277 "(1,27): invalid-codepoint-in-body",
14278 "(1,28): expected-closing-tag-but-got-eof"
14279 ],
14280 "document": {
14281 "props": {
14282 "tags": {
14283 "html": true,
14284 "head": true,
14285 "body": true,
14286 "math math": true,
14287 "math mi": true
14288 },
14289 "doctype": true
14290 },
14291 "tree": [
14292 {
14293 "doctype": "html"
14294 },
14295 {
14296 "tag": "html",
14297 "children": [
14298 {
14299 "tag": "head"
14300 },
14301 {
14302 "tag": "body",
14303 "children": [
14304 {
14305 "tag": "math",
14306 "ns": "http://www.w3.org/1998/Math/MathML",
14307 "children": [
14308 {
14309 "tag": "mi",
14310 "ns": "http://www.w3.org/1998/Math/MathML",
14311 "children": [
14312 {
14313 "text": "ab"
14314 }
14315 ]
14316 }
14317 ]
14318 }
14319 ]
14320 }
14321 ]
14322 }
14323 ],
14324 "html": "<!DOCTYPE html><html><head></head><body><math><mi>ab</mi></math></body></html>",
14325 "noQuirksBodyHtml": "<math><mi>ab</mi></math>"
14326 }
14327 },
14328 {
14329 "data": "<!DOCTYPE html><math><mo>a\u0000b",
14330 "errors": [
14331 "(1,27): invalid-codepoint",
14332 "(1,27): invalid-codepoint-in-body",
14333 "(1,28): expected-closing-tag-but-got-eof"
14334 ],
14335 "document": {
14336 "props": {
14337 "tags": {
14338 "html": true,
14339 "head": true,
14340 "body": true,
14341 "math math": true,
14342 "math mo": true
14343 },
14344 "doctype": true
14345 },
14346 "tree": [
14347 {
14348 "doctype": "html"
14349 },
14350 {
14351 "tag": "html",
14352 "children": [
14353 {
14354 "tag": "head"
14355 },
14356 {
14357 "tag": "body",
14358 "children": [
14359 {
14360 "tag": "math",
14361 "ns": "http://www.w3.org/1998/Math/MathML",
14362 "children": [
14363 {
14364 "tag": "mo",
14365 "ns": "http://www.w3.org/1998/Math/MathML",
14366 "children": [
14367 {
14368 "text": "ab"
14369 }
14370 ]
14371 }
14372 ]
14373 }
14374 ]
14375 }
14376 ]
14377 }
14378 ],
14379 "html": "<!DOCTYPE html><html><head></head><body><math><mo>ab</mo></math></body></html>",
14380 "noQuirksBodyHtml": "<math><mo>ab</mo></math>"
14381 }
14382 },
14383 {
14384 "data": "<!DOCTYPE html><math><mn>a\u0000b",
14385 "errors": [
14386 "(1,27): invalid-codepoint",
14387 "(1,27): invalid-codepoint-in-body",
14388 "(1,28): expected-closing-tag-but-got-eof"
14389 ],
14390 "document": {
14391 "props": {
14392 "tags": {
14393 "html": true,
14394 "head": true,
14395 "body": true,
14396 "math math": true,
14397 "math mn": true
14398 },
14399 "doctype": true
14400 },
14401 "tree": [
14402 {
14403 "doctype": "html"
14404 },
14405 {
14406 "tag": "html",
14407 "children": [
14408 {
14409 "tag": "head"
14410 },
14411 {
14412 "tag": "body",
14413 "children": [
14414 {
14415 "tag": "math",
14416 "ns": "http://www.w3.org/1998/Math/MathML",
14417 "children": [
14418 {
14419 "tag": "mn",
14420 "ns": "http://www.w3.org/1998/Math/MathML",
14421 "children": [
14422 {
14423 "text": "ab"
14424 }
14425 ]
14426 }
14427 ]
14428 }
14429 ]
14430 }
14431 ]
14432 }
14433 ],
14434 "html": "<!DOCTYPE html><html><head></head><body><math><mn>ab</mn></math></body></html>",
14435 "noQuirksBodyHtml": "<math><mn>ab</mn></math>"
14436 }
14437 },
14438 {
14439 "data": "<!DOCTYPE html><math><ms>a\u0000b",
14440 "errors": [
14441 "(1,27): invalid-codepoint",
14442 "(1,27): invalid-codepoint-in-body",
14443 "(1,28): expected-closing-tag-but-got-eof"
14444 ],
14445 "document": {
14446 "props": {
14447 "tags": {
14448 "html": true,
14449 "head": true,
14450 "body": true,
14451 "math math": true,
14452 "math ms": true
14453 },
14454 "doctype": true
14455 },
14456 "tree": [
14457 {
14458 "doctype": "html"
14459 },
14460 {
14461 "tag": "html",
14462 "children": [
14463 {
14464 "tag": "head"
14465 },
14466 {
14467 "tag": "body",
14468 "children": [
14469 {
14470 "tag": "math",
14471 "ns": "http://www.w3.org/1998/Math/MathML",
14472 "children": [
14473 {
14474 "tag": "ms",
14475 "ns": "http://www.w3.org/1998/Math/MathML",
14476 "children": [
14477 {
14478 "text": "ab"
14479 }
14480 ]
14481 }
14482 ]
14483 }
14484 ]
14485 }
14486 ]
14487 }
14488 ],
14489 "html": "<!DOCTYPE html><html><head></head><body><math><ms>ab</ms></math></body></html>",
14490 "noQuirksBodyHtml": "<math><ms>ab</ms></math>"
14491 }
14492 },
14493 {
14494 "data": "<!DOCTYPE html><math><mtext>a\u0000b",
14495 "errors": [
14496 "(1,30): invalid-codepoint",
14497 "(1,30): invalid-codepoint-in-body",
14498 "(1,31): expected-closing-tag-but-got-eof"
14499 ],
14500 "document": {
14501 "props": {
14502 "tags": {
14503 "html": true,
14504 "head": true,
14505 "body": true,
14506 "math math": true,
14507 "math mtext": true
14508 },
14509 "doctype": true
14510 },
14511 "tree": [
14512 {
14513 "doctype": "html"
14514 },
14515 {
14516 "tag": "html",
14517 "children": [
14518 {
14519 "tag": "head"
14520 },
14521 {
14522 "tag": "body",
14523 "children": [
14524 {
14525 "tag": "math",
14526 "ns": "http://www.w3.org/1998/Math/MathML",
14527 "children": [
14528 {
14529 "tag": "mtext",
14530 "ns": "http://www.w3.org/1998/Math/MathML",
14531 "children": [
14532 {
14533 "text": "ab"
14534 }
14535 ]
14536 }
14537 ]
14538 }
14539 ]
14540 }
14541 ]
14542 }
14543 ],
14544 "html": "<!DOCTYPE html><html><head></head><body><math><mtext>ab</mtext></math></body></html>",
14545 "noQuirksBodyHtml": "<math><mtext>ab</mtext></math>"
14546 }
14547 }
14548 ],
14549 "ruby.dat": [
14550 {
14551 "data": "<html><ruby>a<rb>b<rb></ruby></html>",
14552 "errors": [
14553 "(1,6): expected-doctype-but-got-start-tag"
14554 ],
14555 "document": {
14556 "props": {
14557 "tags": {
14558 "html": true,
14559 "head": true,
14560 "body": true,
14561 "ruby": true,
14562 "rb": true
14563 }
14564 },
14565 "tree": [
14566 {
14567 "tag": "html",
14568 "children": [
14569 {
14570 "tag": "head"
14571 },
14572 {
14573 "tag": "body",
14574 "children": [
14575 {
14576 "tag": "ruby",
14577 "children": [
14578 {
14579 "text": "a"
14580 },
14581 {
14582 "tag": "rb",
14583 "children": [
14584 {
14585 "text": "b"
14586 }
14587 ]
14588 },
14589 {
14590 "tag": "rb"
14591 }
14592 ]
14593 }
14594 ]
14595 }
14596 ]
14597 }
14598 ],
14599 "html": "<html><head></head><body><ruby>a<rb>b</rb><rb></rb></ruby></body></html>",
14600 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rb></rb></ruby>"
14601 }
14602 },
14603 {
14604 "data": "<html><ruby>a<rb>b<rt></ruby></html>",
14605 "errors": [
14606 "(1,6): expected-doctype-but-got-start-tag"
14607 ],
14608 "document": {
14609 "props": {
14610 "tags": {
14611 "html": true,
14612 "head": true,
14613 "body": true,
14614 "ruby": true,
14615 "rb": true,
14616 "rt": true
14617 }
14618 },
14619 "tree": [
14620 {
14621 "tag": "html",
14622 "children": [
14623 {
14624 "tag": "head"
14625 },
14626 {
14627 "tag": "body",
14628 "children": [
14629 {
14630 "tag": "ruby",
14631 "children": [
14632 {
14633 "text": "a"
14634 },
14635 {
14636 "tag": "rb",
14637 "children": [
14638 {
14639 "text": "b"
14640 }
14641 ]
14642 },
14643 {
14644 "tag": "rt"
14645 }
14646 ]
14647 }
14648 ]
14649 }
14650 ]
14651 }
14652 ],
14653 "html": "<html><head></head><body><ruby>a<rb>b</rb><rt></rt></ruby></body></html>",
14654 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rt></rt></ruby>"
14655 }
14656 },
14657 {
14658 "data": "<html><ruby>a<rb>b<rtc></ruby></html>",
14659 "errors": [
14660 "(1,6): expected-doctype-but-got-start-tag"
14661 ],
14662 "document": {
14663 "props": {
14664 "tags": {
14665 "html": true,
14666 "head": true,
14667 "body": true,
14668 "ruby": true,
14669 "rb": true,
14670 "rtc": true
14671 }
14672 },
14673 "tree": [
14674 {
14675 "tag": "html",
14676 "children": [
14677 {
14678 "tag": "head"
14679 },
14680 {
14681 "tag": "body",
14682 "children": [
14683 {
14684 "tag": "ruby",
14685 "children": [
14686 {
14687 "text": "a"
14688 },
14689 {
14690 "tag": "rb",
14691 "children": [
14692 {
14693 "text": "b"
14694 }
14695 ]
14696 },
14697 {
14698 "tag": "rtc"
14699 }
14700 ]
14701 }
14702 ]
14703 }
14704 ]
14705 }
14706 ],
14707 "html": "<html><head></head><body><ruby>a<rb>b</rb><rtc></rtc></ruby></body></html>",
14708 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rtc></rtc></ruby>"
14709 }
14710 },
14711 {
14712 "data": "<html><ruby>a<rb>b<rp></ruby></html>",
14713 "errors": [
14714 "(1,6): expected-doctype-but-got-start-tag"
14715 ],
14716 "document": {
14717 "props": {
14718 "tags": {
14719 "html": true,
14720 "head": true,
14721 "body": true,
14722 "ruby": true,
14723 "rb": true,
14724 "rp": true
14725 }
14726 },
14727 "tree": [
14728 {
14729 "tag": "html",
14730 "children": [
14731 {
14732 "tag": "head"
14733 },
14734 {
14735 "tag": "body",
14736 "children": [
14737 {
14738 "tag": "ruby",
14739 "children": [
14740 {
14741 "text": "a"
14742 },
14743 {
14744 "tag": "rb",
14745 "children": [
14746 {
14747 "text": "b"
14748 }
14749 ]
14750 },
14751 {
14752 "tag": "rp"
14753 }
14754 ]
14755 }
14756 ]
14757 }
14758 ]
14759 }
14760 ],
14761 "html": "<html><head></head><body><ruby>a<rb>b</rb><rp></rp></ruby></body></html>",
14762 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rp></rp></ruby>"
14763 }
14764 },
14765 {
14766 "data": "<html><ruby>a<rb>b<span></ruby></html>",
14767 "errors": [
14768 "(1,6): expected-doctype-but-got-start-tag"
14769 ],
14770 "document": {
14771 "props": {
14772 "tags": {
14773 "html": true,
14774 "head": true,
14775 "body": true,
14776 "ruby": true,
14777 "rb": true,
14778 "span": true
14779 }
14780 },
14781 "tree": [
14782 {
14783 "tag": "html",
14784 "children": [
14785 {
14786 "tag": "head"
14787 },
14788 {
14789 "tag": "body",
14790 "children": [
14791 {
14792 "tag": "ruby",
14793 "children": [
14794 {
14795 "text": "a"
14796 },
14797 {
14798 "tag": "rb",
14799 "children": [
14800 {
14801 "text": "b"
14802 },
14803 {
14804 "tag": "span"
14805 }
14806 ]
14807 }
14808 ]
14809 }
14810 ]
14811 }
14812 ]
14813 }
14814 ],
14815 "html": "<html><head></head><body><ruby>a<rb>b<span></span></rb></ruby></body></html>",
14816 "noQuirksBodyHtml": "<ruby>a<rb>b<span></span></rb></ruby>"
14817 }
14818 },
14819 {
14820 "data": "<html><ruby>a<rt>b<rb></ruby></html>",
14821 "errors": [
14822 "(1,6): expected-doctype-but-got-start-tag"
14823 ],
14824 "document": {
14825 "props": {
14826 "tags": {
14827 "html": true,
14828 "head": true,
14829 "body": true,
14830 "ruby": true,
14831 "rt": true,
14832 "rb": true
14833 }
14834 },
14835 "tree": [
14836 {
14837 "tag": "html",
14838 "children": [
14839 {
14840 "tag": "head"
14841 },
14842 {
14843 "tag": "body",
14844 "children": [
14845 {
14846 "tag": "ruby",
14847 "children": [
14848 {
14849 "text": "a"
14850 },
14851 {
14852 "tag": "rt",
14853 "children": [
14854 {
14855 "text": "b"
14856 }
14857 ]
14858 },
14859 {
14860 "tag": "rb"
14861 }
14862 ]
14863 }
14864 ]
14865 }
14866 ]
14867 }
14868 ],
14869 "html": "<html><head></head><body><ruby>a<rt>b</rt><rb></rb></ruby></body></html>",
14870 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rb></rb></ruby>"
14871 }
14872 },
14873 {
14874 "data": "<html><ruby>a<rt>b<rt></ruby></html>",
14875 "errors": [
14876 "(1,6): expected-doctype-but-got-start-tag"
14877 ],
14878 "document": {
14879 "props": {
14880 "tags": {
14881 "html": true,
14882 "head": true,
14883 "body": true,
14884 "ruby": true,
14885 "rt": true
14886 }
14887 },
14888 "tree": [
14889 {
14890 "tag": "html",
14891 "children": [
14892 {
14893 "tag": "head"
14894 },
14895 {
14896 "tag": "body",
14897 "children": [
14898 {
14899 "tag": "ruby",
14900 "children": [
14901 {
14902 "text": "a"
14903 },
14904 {
14905 "tag": "rt",
14906 "children": [
14907 {
14908 "text": "b"
14909 }
14910 ]
14911 },
14912 {
14913 "tag": "rt"
14914 }
14915 ]
14916 }
14917 ]
14918 }
14919 ]
14920 }
14921 ],
14922 "html": "<html><head></head><body><ruby>a<rt>b</rt><rt></rt></ruby></body></html>",
14923 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rt></rt></ruby>"
14924 }
14925 },
14926 {
14927 "data": "<html><ruby>a<rt>b<rtc></ruby></html>",
14928 "errors": [
14929 "(1,6): expected-doctype-but-got-start-tag"
14930 ],
14931 "document": {
14932 "props": {
14933 "tags": {
14934 "html": true,
14935 "head": true,
14936 "body": true,
14937 "ruby": true,
14938 "rt": true,
14939 "rtc": true
14940 }
14941 },
14942 "tree": [
14943 {
14944 "tag": "html",
14945 "children": [
14946 {
14947 "tag": "head"
14948 },
14949 {
14950 "tag": "body",
14951 "children": [
14952 {
14953 "tag": "ruby",
14954 "children": [
14955 {
14956 "text": "a"
14957 },
14958 {
14959 "tag": "rt",
14960 "children": [
14961 {
14962 "text": "b"
14963 }
14964 ]
14965 },
14966 {
14967 "tag": "rtc"
14968 }
14969 ]
14970 }
14971 ]
14972 }
14973 ]
14974 }
14975 ],
14976 "html": "<html><head></head><body><ruby>a<rt>b</rt><rtc></rtc></ruby></body></html>",
14977 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rtc></rtc></ruby>"
14978 }
14979 },
14980 {
14981 "data": "<html><ruby>a<rt>b<rp></ruby></html>",
14982 "errors": [
14983 "(1,6): expected-doctype-but-got-start-tag"
14984 ],
14985 "document": {
14986 "props": {
14987 "tags": {
14988 "html": true,
14989 "head": true,
14990 "body": true,
14991 "ruby": true,
14992 "rt": true,
14993 "rp": true
14994 }
14995 },
14996 "tree": [
14997 {
14998 "tag": "html",
14999 "children": [
15000 {
15001 "tag": "head"
15002 },
15003 {
15004 "tag": "body",
15005 "children": [
15006 {
15007 "tag": "ruby",
15008 "children": [
15009 {
15010 "text": "a"
15011 },
15012 {
15013 "tag": "rt",
15014 "children": [
15015 {
15016 "text": "b"
15017 }
15018 ]
15019 },
15020 {
15021 "tag": "rp"
15022 }
15023 ]
15024 }
15025 ]
15026 }
15027 ]
15028 }
15029 ],
15030 "html": "<html><head></head><body><ruby>a<rt>b</rt><rp></rp></ruby></body></html>",
15031 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rp></rp></ruby>"
15032 }
15033 },
15034 {
15035 "data": "<html><ruby>a<rt>b<span></ruby></html>",
15036 "errors": [
15037 "(1,6): expected-doctype-but-got-start-tag"
15038 ],
15039 "document": {
15040 "props": {
15041 "tags": {
15042 "html": true,
15043 "head": true,
15044 "body": true,
15045 "ruby": true,
15046 "rt": true,
15047 "span": true
15048 }
15049 },
15050 "tree": [
15051 {
15052 "tag": "html",
15053 "children": [
15054 {
15055 "tag": "head"
15056 },
15057 {
15058 "tag": "body",
15059 "children": [
15060 {
15061 "tag": "ruby",
15062 "children": [
15063 {
15064 "text": "a"
15065 },
15066 {
15067 "tag": "rt",
15068 "children": [
15069 {
15070 "text": "b"
15071 },
15072 {
15073 "tag": "span"
15074 }
15075 ]
15076 }
15077 ]
15078 }
15079 ]
15080 }
15081 ]
15082 }
15083 ],
15084 "html": "<html><head></head><body><ruby>a<rt>b<span></span></rt></ruby></body></html>",
15085 "noQuirksBodyHtml": "<ruby>a<rt>b<span></span></rt></ruby>"
15086 }
15087 },
15088 {
15089 "data": "<html><ruby>a<rtc>b<rb></ruby></html>",
15090 "errors": [
15091 "(1,6): expected-doctype-but-got-start-tag"
15092 ],
15093 "document": {
15094 "props": {
15095 "tags": {
15096 "html": true,
15097 "head": true,
15098 "body": true,
15099 "ruby": true,
15100 "rtc": true,
15101 "rb": true
15102 }
15103 },
15104 "tree": [
15105 {
15106 "tag": "html",
15107 "children": [
15108 {
15109 "tag": "head"
15110 },
15111 {
15112 "tag": "body",
15113 "children": [
15114 {
15115 "tag": "ruby",
15116 "children": [
15117 {
15118 "text": "a"
15119 },
15120 {
15121 "tag": "rtc",
15122 "children": [
15123 {
15124 "text": "b"
15125 }
15126 ]
15127 },
15128 {
15129 "tag": "rb"
15130 }
15131 ]
15132 }
15133 ]
15134 }
15135 ]
15136 }
15137 ],
15138 "html": "<html><head></head><body><ruby>a<rtc>b</rtc><rb></rb></ruby></body></html>",
15139 "noQuirksBodyHtml": "<ruby>a<rtc>b</rtc><rb></rb></ruby>"
15140 }
15141 },
15142 {
15143 "data": "<html><ruby>a<rtc>b<rt>c<rt>d</ruby></html>",
15144 "errors": [
15145 "(1,6): expected-doctype-but-got-start-tag"
15146 ],
15147 "document": {
15148 "props": {
15149 "tags": {
15150 "html": true,
15151 "head": true,
15152 "body": true,
15153 "ruby": true,
15154 "rtc": true,
15155 "rt": true
15156 }
15157 },
15158 "tree": [
15159 {
15160 "tag": "html",
15161 "children": [
15162 {
15163 "tag": "head"
15164 },
15165 {
15166 "tag": "body",
15167 "children": [
15168 {
15169 "tag": "ruby",
15170 "children": [
15171 {
15172 "text": "a"
15173 },
15174 {
15175 "tag": "rtc",
15176 "children": [
15177 {
15178 "text": "b"
15179 },
15180 {
15181 "tag": "rt",
15182 "children": [
15183 {
15184 "text": "c"
15185 }
15186 ]
15187 },
15188 {
15189 "tag": "rt",
15190 "children": [
15191 {
15192 "text": "d"
15193 }
15194 ]
15195 }
15196 ]
15197 }
15198 ]
15199 }
15200 ]
15201 }
15202 ]
15203 }
15204 ],
15205 "html": "<html><head></head><body><ruby>a<rtc>b<rt>c</rt><rt>d</rt></rtc></ruby></body></html>",
15206 "noQuirksBodyHtml": "<ruby>a<rtc>b<rt>c</rt><rt>d</rt></rtc></ruby>"
15207 }
15208 },
15209 {
15210 "data": "<html><ruby>a<rtc>b<rtc></ruby></html>",
15211 "errors": [
15212 "(1,6): expected-doctype-but-got-start-tag"
15213 ],
15214 "document": {
15215 "props": {
15216 "tags": {
15217 "html": true,
15218 "head": true,
15219 "body": true,
15220 "ruby": true,
15221 "rtc": true
15222 }
15223 },
15224 "tree": [
15225 {
15226 "tag": "html",
15227 "children": [
15228 {
15229 "tag": "head"
15230 },
15231 {
15232 "tag": "body",
15233 "children": [
15234 {
15235 "tag": "ruby",
15236 "children": [
15237 {
15238 "text": "a"
15239 },
15240 {
15241 "tag": "rtc",
15242 "children": [
15243 {
15244 "text": "b"
15245 }
15246 ]
15247 },
15248 {
15249 "tag": "rtc"
15250 }
15251 ]
15252 }
15253 ]
15254 }
15255 ]
15256 }
15257 ],
15258 "html": "<html><head></head><body><ruby>a<rtc>b</rtc><rtc></rtc></ruby></body></html>",
15259 "noQuirksBodyHtml": "<ruby>a<rtc>b</rtc><rtc></rtc></ruby>"
15260 }
15261 },
15262 {
15263 "data": "<html><ruby>a<rtc>b<rp></ruby></html>",
15264 "errors": [
15265 "(1,6): expected-doctype-but-got-start-tag"
15266 ],
15267 "document": {
15268 "props": {
15269 "tags": {
15270 "html": true,
15271 "head": true,
15272 "body": true,
15273 "ruby": true,
15274 "rtc": true,
15275 "rp": true
15276 }
15277 },
15278 "tree": [
15279 {
15280 "tag": "html",
15281 "children": [
15282 {
15283 "tag": "head"
15284 },
15285 {
15286 "tag": "body",
15287 "children": [
15288 {
15289 "tag": "ruby",
15290 "children": [
15291 {
15292 "text": "a"
15293 },
15294 {
15295 "tag": "rtc",
15296 "children": [
15297 {
15298 "text": "b"
15299 },
15300 {
15301 "tag": "rp"
15302 }
15303 ]
15304 }
15305 ]
15306 }
15307 ]
15308 }
15309 ]
15310 }
15311 ],
15312 "html": "<html><head></head><body><ruby>a<rtc>b<rp></rp></rtc></ruby></body></html>",
15313 "noQuirksBodyHtml": "<ruby>a<rtc>b<rp></rp></rtc></ruby>"
15314 }
15315 },
15316 {
15317 "data": "<html><ruby>a<rtc>b<span></ruby></html>",
15318 "errors": [
15319 "(1,6): expected-doctype-but-got-start-tag"
15320 ],
15321 "document": {
15322 "props": {
15323 "tags": {
15324 "html": true,
15325 "head": true,
15326 "body": true,
15327 "ruby": true,
15328 "rtc": true,
15329 "span": true
15330 }
15331 },
15332 "tree": [
15333 {
15334 "tag": "html",
15335 "children": [
15336 {
15337 "tag": "head"
15338 },
15339 {
15340 "tag": "body",
15341 "children": [
15342 {
15343 "tag": "ruby",
15344 "children": [
15345 {
15346 "text": "a"
15347 },
15348 {
15349 "tag": "rtc",
15350 "children": [
15351 {
15352 "text": "b"
15353 },
15354 {
15355 "tag": "span"
15356 }
15357 ]
15358 }
15359 ]
15360 }
15361 ]
15362 }
15363 ]
15364 }
15365 ],
15366 "html": "<html><head></head><body><ruby>a<rtc>b<span></span></rtc></ruby></body></html>",
15367 "noQuirksBodyHtml": "<ruby>a<rtc>b<span></span></rtc></ruby>"
15368 }
15369 },
15370 {
15371 "data": "<html><ruby>a<rp>b<rb></ruby></html>",
15372 "errors": [
15373 "(1,6): expected-doctype-but-got-start-tag"
15374 ],
15375 "document": {
15376 "props": {
15377 "tags": {
15378 "html": true,
15379 "head": true,
15380 "body": true,
15381 "ruby": true,
15382 "rp": true,
15383 "rb": true
15384 }
15385 },
15386 "tree": [
15387 {
15388 "tag": "html",
15389 "children": [
15390 {
15391 "tag": "head"
15392 },
15393 {
15394 "tag": "body",
15395 "children": [
15396 {
15397 "tag": "ruby",
15398 "children": [
15399 {
15400 "text": "a"
15401 },
15402 {
15403 "tag": "rp",
15404 "children": [
15405 {
15406 "text": "b"
15407 }
15408 ]
15409 },
15410 {
15411 "tag": "rb"
15412 }
15413 ]
15414 }
15415 ]
15416 }
15417 ]
15418 }
15419 ],
15420 "html": "<html><head></head><body><ruby>a<rp>b</rp><rb></rb></ruby></body></html>",
15421 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rb></rb></ruby>"
15422 }
15423 },
15424 {
15425 "data": "<html><ruby>a<rp>b<rt></ruby></html>",
15426 "errors": [
15427 "(1,6): expected-doctype-but-got-start-tag"
15428 ],
15429 "document": {
15430 "props": {
15431 "tags": {
15432 "html": true,
15433 "head": true,
15434 "body": true,
15435 "ruby": true,
15436 "rp": true,
15437 "rt": true
15438 }
15439 },
15440 "tree": [
15441 {
15442 "tag": "html",
15443 "children": [
15444 {
15445 "tag": "head"
15446 },
15447 {
15448 "tag": "body",
15449 "children": [
15450 {
15451 "tag": "ruby",
15452 "children": [
15453 {
15454 "text": "a"
15455 },
15456 {
15457 "tag": "rp",
15458 "children": [
15459 {
15460 "text": "b"
15461 }
15462 ]
15463 },
15464 {
15465 "tag": "rt"
15466 }
15467 ]
15468 }
15469 ]
15470 }
15471 ]
15472 }
15473 ],
15474 "html": "<html><head></head><body><ruby>a<rp>b</rp><rt></rt></ruby></body></html>",
15475 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rt></rt></ruby>"
15476 }
15477 },
15478 {
15479 "data": "<html><ruby>a<rp>b<rtc></ruby></html>",
15480 "errors": [
15481 "(1,6): expected-doctype-but-got-start-tag"
15482 ],
15483 "document": {
15484 "props": {
15485 "tags": {
15486 "html": true,
15487 "head": true,
15488 "body": true,
15489 "ruby": true,
15490 "rp": true,
15491 "rtc": true
15492 }
15493 },
15494 "tree": [
15495 {
15496 "tag": "html",
15497 "children": [
15498 {
15499 "tag": "head"
15500 },
15501 {
15502 "tag": "body",
15503 "children": [
15504 {
15505 "tag": "ruby",
15506 "children": [
15507 {
15508 "text": "a"
15509 },
15510 {
15511 "tag": "rp",
15512 "children": [
15513 {
15514 "text": "b"
15515 }
15516 ]
15517 },
15518 {
15519 "tag": "rtc"
15520 }
15521 ]
15522 }
15523 ]
15524 }
15525 ]
15526 }
15527 ],
15528 "html": "<html><head></head><body><ruby>a<rp>b</rp><rtc></rtc></ruby></body></html>",
15529 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rtc></rtc></ruby>"
15530 }
15531 },
15532 {
15533 "data": "<html><ruby>a<rp>b<rp></ruby></html>",
15534 "errors": [
15535 "(1,6): expected-doctype-but-got-start-tag"
15536 ],
15537 "document": {
15538 "props": {
15539 "tags": {
15540 "html": true,
15541 "head": true,
15542 "body": true,
15543 "ruby": true,
15544 "rp": true
15545 }
15546 },
15547 "tree": [
15548 {
15549 "tag": "html",
15550 "children": [
15551 {
15552 "tag": "head"
15553 },
15554 {
15555 "tag": "body",
15556 "children": [
15557 {
15558 "tag": "ruby",
15559 "children": [
15560 {
15561 "text": "a"
15562 },
15563 {
15564 "tag": "rp",
15565 "children": [
15566 {
15567 "text": "b"
15568 }
15569 ]
15570 },
15571 {
15572 "tag": "rp"
15573 }
15574 ]
15575 }
15576 ]
15577 }
15578 ]
15579 }
15580 ],
15581 "html": "<html><head></head><body><ruby>a<rp>b</rp><rp></rp></ruby></body></html>",
15582 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rp></rp></ruby>"
15583 }
15584 },
15585 {
15586 "data": "<html><ruby>a<rp>b<span></ruby></html>",
15587 "errors": [
15588 "(1,6): expected-doctype-but-got-start-tag"
15589 ],
15590 "document": {
15591 "props": {
15592 "tags": {
15593 "html": true,
15594 "head": true,
15595 "body": true,
15596 "ruby": true,
15597 "rp": true,
15598 "span": true
15599 }
15600 },
15601 "tree": [
15602 {
15603 "tag": "html",
15604 "children": [
15605 {
15606 "tag": "head"
15607 },
15608 {
15609 "tag": "body",
15610 "children": [
15611 {
15612 "tag": "ruby",
15613 "children": [
15614 {
15615 "text": "a"
15616 },
15617 {
15618 "tag": "rp",
15619 "children": [
15620 {
15621 "text": "b"
15622 },
15623 {
15624 "tag": "span"
15625 }
15626 ]
15627 }
15628 ]
15629 }
15630 ]
15631 }
15632 ]
15633 }
15634 ],
15635 "html": "<html><head></head><body><ruby>a<rp>b<span></span></rp></ruby></body></html>",
15636 "noQuirksBodyHtml": "<ruby>a<rp>b<span></span></rp></ruby>"
15637 }
15638 },
15639 {
15640 "data": "<html><ruby><rtc><ruby>a<rb>b<rt></ruby></ruby></html>",
15641 "errors": [
15642 "(1,6): expected-doctype-but-got-start-tag"
15643 ],
15644 "document": {
15645 "props": {
15646 "tags": {
15647 "html": true,
15648 "head": true,
15649 "body": true,
15650 "ruby": true,
15651 "rtc": true,
15652 "rb": true,
15653 "rt": true
15654 }
15655 },
15656 "tree": [
15657 {
15658 "tag": "html",
15659 "children": [
15660 {
15661 "tag": "head"
15662 },
15663 {
15664 "tag": "body",
15665 "children": [
15666 {
15667 "tag": "ruby",
15668 "children": [
15669 {
15670 "tag": "rtc",
15671 "children": [
15672 {
15673 "tag": "ruby",
15674 "children": [
15675 {
15676 "text": "a"
15677 },
15678 {
15679 "tag": "rb",
15680 "children": [
15681 {
15682 "text": "b"
15683 }
15684 ]
15685 },
15686 {
15687 "tag": "rt"
15688 }
15689 ]
15690 }
15691 ]
15692 }
15693 ]
15694 }
15695 ]
15696 }
15697 ]
15698 }
15699 ],
15700 "html": "<html><head></head><body><ruby><rtc><ruby>a<rb>b</rb><rt></rt></ruby></rtc></ruby></body></html>",
15701 "noQuirksBodyHtml": "<ruby><rtc><ruby>a<rb>b</rb><rt></rt></ruby></rtc></ruby>"
15702 }
15703 }
15704 ],
15705 "scriptdata01.dat": [
15706 {
15707 "data": "FOO<script>'Hello'</script>BAR",
15708 "errors": [
15709 "(1,3): expected-doctype-but-got-chars"
15710 ],
15711 "document": {
15712 "props": {
15713 "tags": {
15714 "html": true,
15715 "head": true,
15716 "body": true,
15717 "script": true
15718 },
15719 "no_escape": true
15720 },
15721 "tree": [
15722 {
15723 "tag": "html",
15724 "children": [
15725 {
15726 "tag": "head"
15727 },
15728 {
15729 "tag": "body",
15730 "children": [
15731 {
15732 "text": "FOO"
15733 },
15734 {
15735 "tag": "script",
15736 "children": [
15737 {
15738 "text": "'Hello'",
15739 "no_escape": true
15740 }
15741 ]
15742 },
15743 {
15744 "text": "BAR"
15745 }
15746 ]
15747 }
15748 ]
15749 }
15750 ],
15751 "html": "<html><head></head><body>FOO<script>'Hello'</script>BAR</body></html>",
15752 "noQuirksBodyHtml": "FOO<script>'Hello'</script>BAR"
15753 }
15754 },
15755 {
15756 "data": "FOO<script></script>BAR",
15757 "errors": [
15758 "(1,3): expected-doctype-but-got-chars"
15759 ],
15760 "document": {
15761 "props": {
15762 "tags": {
15763 "html": true,
15764 "head": true,
15765 "body": true,
15766 "script": true
15767 }
15768 },
15769 "tree": [
15770 {
15771 "tag": "html",
15772 "children": [
15773 {
15774 "tag": "head"
15775 },
15776 {
15777 "tag": "body",
15778 "children": [
15779 {
15780 "text": "FOO"
15781 },
15782 {
15783 "tag": "script"
15784 },
15785 {
15786 "text": "BAR"
15787 }
15788 ]
15789 }
15790 ]
15791 }
15792 ],
15793 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
15794 "noQuirksBodyHtml": "FOO<script></script>BAR"
15795 }
15796 },
15797 {
15798 "data": "FOO<script></script >BAR",
15799 "errors": [
15800 "(1,3): expected-doctype-but-got-chars"
15801 ],
15802 "document": {
15803 "props": {
15804 "tags": {
15805 "html": true,
15806 "head": true,
15807 "body": true,
15808 "script": true
15809 }
15810 },
15811 "tree": [
15812 {
15813 "tag": "html",
15814 "children": [
15815 {
15816 "tag": "head"
15817 },
15818 {
15819 "tag": "body",
15820 "children": [
15821 {
15822 "text": "FOO"
15823 },
15824 {
15825 "tag": "script"
15826 },
15827 {
15828 "text": "BAR"
15829 }
15830 ]
15831 }
15832 ]
15833 }
15834 ],
15835 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
15836 "noQuirksBodyHtml": "FOO<script></script>BAR"
15837 }
15838 },
15839 {
15840 "data": "FOO<script></script/>BAR",
15841 "errors": [
15842 "(1,3): expected-doctype-but-got-chars",
15843 "(1,21): self-closing-flag-on-end-tag"
15844 ],
15845 "document": {
15846 "props": {
15847 "tags": {
15848 "html": true,
15849 "head": true,
15850 "body": true,
15851 "script": true
15852 }
15853 },
15854 "tree": [
15855 {
15856 "tag": "html",
15857 "children": [
15858 {
15859 "tag": "head"
15860 },
15861 {
15862 "tag": "body",
15863 "children": [
15864 {
15865 "text": "FOO"
15866 },
15867 {
15868 "tag": "script"
15869 },
15870 {
15871 "text": "BAR"
15872 }
15873 ]
15874 }
15875 ]
15876 }
15877 ],
15878 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
15879 "noQuirksBodyHtml": "FOO<script></script>BAR"
15880 }
15881 },
15882 {
15883 "data": "FOO<script></script/ >BAR",
15884 "errors": [
15885 "(1,3): expected-doctype-but-got-chars",
15886 "(1,20): unexpected-character-after-solidus-in-tag"
15887 ],
15888 "document": {
15889 "props": {
15890 "tags": {
15891 "html": true,
15892 "head": true,
15893 "body": true,
15894 "script": true
15895 }
15896 },
15897 "tree": [
15898 {
15899 "tag": "html",
15900 "children": [
15901 {
15902 "tag": "head"
15903 },
15904 {
15905 "tag": "body",
15906 "children": [
15907 {
15908 "text": "FOO"
15909 },
15910 {
15911 "tag": "script"
15912 },
15913 {
15914 "text": "BAR"
15915 }
15916 ]
15917 }
15918 ]
15919 }
15920 ],
15921 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
15922 "noQuirksBodyHtml": "FOO<script></script>BAR"
15923 }
15924 },
15925 {
15926 "data": "FOO<script type=\"text/plain\"></scriptx>BAR",
15927 "errors": [
15928 "(1,3): expected-doctype-but-got-chars",
15929 "(1,42): expected-named-closing-tag-but-got-eof"
15930 ],
15931 "document": {
15932 "props": {
15933 "tags": {
15934 "html": true,
15935 "head": true,
15936 "body": true,
15937 "script": true
15938 },
15939 "no_escape": true
15940 },
15941 "tree": [
15942 {
15943 "tag": "html",
15944 "children": [
15945 {
15946 "tag": "head"
15947 },
15948 {
15949 "tag": "body",
15950 "children": [
15951 {
15952 "text": "FOO"
15953 },
15954 {
15955 "tag": "script",
15956 "attrs": [
15957 {
15958 "name": "type",
15959 "value": "text/plain"
15960 }
15961 ],
15962 "children": [
15963 {
15964 "text": "</scriptx>BAR",
15965 "no_escape": true
15966 }
15967 ]
15968 }
15969 ]
15970 }
15971 ]
15972 }
15973 ],
15974 "html": "<html><head></head><body>FOO<script type=\"text/plain\"></scriptx>BAR</script></body></html>",
15975 "noQuirksBodyHtml": "FOO<script type=\"text/plain\"></scriptx>BAR</script>"
15976 }
15977 },
15978 {
15979 "data": "FOO<script></script foo=\">\" dd>BAR",
15980 "errors": [
15981 "(1,3): expected-doctype-but-got-chars",
15982 "(1,31): attributes-in-end-tag"
15983 ],
15984 "document": {
15985 "props": {
15986 "tags": {
15987 "html": true,
15988 "head": true,
15989 "body": true,
15990 "script": true
15991 }
15992 },
15993 "tree": [
15994 {
15995 "tag": "html",
15996 "children": [
15997 {
15998 "tag": "head"
15999 },
16000 {
16001 "tag": "body",
16002 "children": [
16003 {
16004 "text": "FOO"
16005 },
16006 {
16007 "tag": "script"
16008 },
16009 {
16010 "text": "BAR"
16011 }
16012 ]
16013 }
16014 ]
16015 }
16016 ],
16017 "html": "<html><head></head><body>FOO<script></script>BAR</body></html>",
16018 "noQuirksBodyHtml": "FOO<script></script>BAR"
16019 }
16020 },
16021 {
16022 "data": "FOO<script>'<'</script>BAR",
16023 "errors": [
16024 "(1,3): expected-doctype-but-got-chars"
16025 ],
16026 "document": {
16027 "props": {
16028 "tags": {
16029 "html": true,
16030 "head": true,
16031 "body": true,
16032 "script": true
16033 },
16034 "no_escape": true
16035 },
16036 "tree": [
16037 {
16038 "tag": "html",
16039 "children": [
16040 {
16041 "tag": "head"
16042 },
16043 {
16044 "tag": "body",
16045 "children": [
16046 {
16047 "text": "FOO"
16048 },
16049 {
16050 "tag": "script",
16051 "children": [
16052 {
16053 "text": "'<'",
16054 "no_escape": true
16055 }
16056 ]
16057 },
16058 {
16059 "text": "BAR"
16060 }
16061 ]
16062 }
16063 ]
16064 }
16065 ],
16066 "html": "<html><head></head><body>FOO<script>'<'</script>BAR</body></html>",
16067 "noQuirksBodyHtml": "FOO<script>'<'</script>BAR"
16068 }
16069 },
16070 {
16071 "data": "FOO<script>'<!'</script>BAR",
16072 "errors": [
16073 "(1,3): expected-doctype-but-got-chars"
16074 ],
16075 "document": {
16076 "props": {
16077 "tags": {
16078 "html": true,
16079 "head": true,
16080 "body": true,
16081 "script": true
16082 },
16083 "no_escape": true
16084 },
16085 "tree": [
16086 {
16087 "tag": "html",
16088 "children": [
16089 {
16090 "tag": "head"
16091 },
16092 {
16093 "tag": "body",
16094 "children": [
16095 {
16096 "text": "FOO"
16097 },
16098 {
16099 "tag": "script",
16100 "children": [
16101 {
16102 "text": "'<!'",
16103 "no_escape": true
16104 }
16105 ]
16106 },
16107 {
16108 "text": "BAR"
16109 }
16110 ]
16111 }
16112 ]
16113 }
16114 ],
16115 "html": "<html><head></head><body>FOO<script>'<!'</script>BAR</body></html>",
16116 "noQuirksBodyHtml": "FOO<script>'<!'</script>BAR"
16117 }
16118 },
16119 {
16120 "data": "FOO<script>'<!-'</script>BAR",
16121 "errors": [
16122 "(1,3): expected-doctype-but-got-chars"
16123 ],
16124 "document": {
16125 "props": {
16126 "tags": {
16127 "html": true,
16128 "head": true,
16129 "body": true,
16130 "script": true
16131 },
16132 "no_escape": true
16133 },
16134 "tree": [
16135 {
16136 "tag": "html",
16137 "children": [
16138 {
16139 "tag": "head"
16140 },
16141 {
16142 "tag": "body",
16143 "children": [
16144 {
16145 "text": "FOO"
16146 },
16147 {
16148 "tag": "script",
16149 "children": [
16150 {
16151 "text": "'<!-'",
16152 "no_escape": true
16153 }
16154 ]
16155 },
16156 {
16157 "text": "BAR"
16158 }
16159 ]
16160 }
16161 ]
16162 }
16163 ],
16164 "html": "<html><head></head><body>FOO<script>'<!-'</script>BAR</body></html>",
16165 "noQuirksBodyHtml": "FOO<script>'<!-'</script>BAR"
16166 }
16167 },
16168 {
16169 "data": "FOO<script>'<!--'</script>BAR",
16170 "errors": [
16171 "(1,3): expected-doctype-but-got-chars"
16172 ],
16173 "document": {
16174 "props": {
16175 "tags": {
16176 "html": true,
16177 "head": true,
16178 "body": true,
16179 "script": true
16180 },
16181 "no_escape": true
16182 },
16183 "tree": [
16184 {
16185 "tag": "html",
16186 "children": [
16187 {
16188 "tag": "head"
16189 },
16190 {
16191 "tag": "body",
16192 "children": [
16193 {
16194 "text": "FOO"
16195 },
16196 {
16197 "tag": "script",
16198 "children": [
16199 {
16200 "text": "'<!--'",
16201 "no_escape": true
16202 }
16203 ]
16204 },
16205 {
16206 "text": "BAR"
16207 }
16208 ]
16209 }
16210 ]
16211 }
16212 ],
16213 "html": "<html><head></head><body>FOO<script>'<!--'</script>BAR</body></html>",
16214 "noQuirksBodyHtml": "FOO<script>'<!--'</script>BAR"
16215 }
16216 },
16217 {
16218 "data": "FOO<script>'<!---'</script>BAR",
16219 "errors": [
16220 "(1,3): expected-doctype-but-got-chars"
16221 ],
16222 "document": {
16223 "props": {
16224 "tags": {
16225 "html": true,
16226 "head": true,
16227 "body": true,
16228 "script": true
16229 },
16230 "no_escape": true
16231 },
16232 "tree": [
16233 {
16234 "tag": "html",
16235 "children": [
16236 {
16237 "tag": "head"
16238 },
16239 {
16240 "tag": "body",
16241 "children": [
16242 {
16243 "text": "FOO"
16244 },
16245 {
16246 "tag": "script",
16247 "children": [
16248 {
16249 "text": "'<!---'",
16250 "no_escape": true
16251 }
16252 ]
16253 },
16254 {
16255 "text": "BAR"
16256 }
16257 ]
16258 }
16259 ]
16260 }
16261 ],
16262 "html": "<html><head></head><body>FOO<script>'<!---'</script>BAR</body></html>",
16263 "noQuirksBodyHtml": "FOO<script>'<!---'</script>BAR"
16264 }
16265 },
16266 {
16267 "data": "FOO<script>'<!-->'</script>BAR",
16268 "errors": [
16269 "(1,3): expected-doctype-but-got-chars"
16270 ],
16271 "document": {
16272 "props": {
16273 "tags": {
16274 "html": true,
16275 "head": true,
16276 "body": true,
16277 "script": true
16278 },
16279 "no_escape": true
16280 },
16281 "tree": [
16282 {
16283 "tag": "html",
16284 "children": [
16285 {
16286 "tag": "head"
16287 },
16288 {
16289 "tag": "body",
16290 "children": [
16291 {
16292 "text": "FOO"
16293 },
16294 {
16295 "tag": "script",
16296 "children": [
16297 {
16298 "text": "'<!-->'",
16299 "no_escape": true
16300 }
16301 ]
16302 },
16303 {
16304 "text": "BAR"
16305 }
16306 ]
16307 }
16308 ]
16309 }
16310 ],
16311 "html": "<html><head></head><body>FOO<script>'<!-->'</script>BAR</body></html>",
16312 "noQuirksBodyHtml": "FOO<script>'<!-->'</script>BAR"
16313 }
16314 },
16315 {
16316 "data": "FOO<script>'<!-->'</script>BAR",
16317 "errors": [
16318 "(1,3): expected-doctype-but-got-chars"
16319 ],
16320 "document": {
16321 "props": {
16322 "tags": {
16323 "html": true,
16324 "head": true,
16325 "body": true,
16326 "script": true
16327 },
16328 "no_escape": true
16329 },
16330 "tree": [
16331 {
16332 "tag": "html",
16333 "children": [
16334 {
16335 "tag": "head"
16336 },
16337 {
16338 "tag": "body",
16339 "children": [
16340 {
16341 "text": "FOO"
16342 },
16343 {
16344 "tag": "script",
16345 "children": [
16346 {
16347 "text": "'<!-->'",
16348 "no_escape": true
16349 }
16350 ]
16351 },
16352 {
16353 "text": "BAR"
16354 }
16355 ]
16356 }
16357 ]
16358 }
16359 ],
16360 "html": "<html><head></head><body>FOO<script>'<!-->'</script>BAR</body></html>",
16361 "noQuirksBodyHtml": "FOO<script>'<!-->'</script>BAR"
16362 }
16363 },
16364 {
16365 "data": "FOO<script>'<!-- potato'</script>BAR",
16366 "errors": [
16367 "(1,3): expected-doctype-but-got-chars"
16368 ],
16369 "document": {
16370 "props": {
16371 "tags": {
16372 "html": true,
16373 "head": true,
16374 "body": true,
16375 "script": true
16376 },
16377 "no_escape": true
16378 },
16379 "tree": [
16380 {
16381 "tag": "html",
16382 "children": [
16383 {
16384 "tag": "head"
16385 },
16386 {
16387 "tag": "body",
16388 "children": [
16389 {
16390 "text": "FOO"
16391 },
16392 {
16393 "tag": "script",
16394 "children": [
16395 {
16396 "text": "'<!-- potato'",
16397 "no_escape": true
16398 }
16399 ]
16400 },
16401 {
16402 "text": "BAR"
16403 }
16404 ]
16405 }
16406 ]
16407 }
16408 ],
16409 "html": "<html><head></head><body>FOO<script>'<!-- potato'</script>BAR</body></html>",
16410 "noQuirksBodyHtml": "FOO<script>'<!-- potato'</script>BAR"
16411 }
16412 },
16413 {
16414 "data": "FOO<script>'<!-- <sCrIpt'</script>BAR",
16415 "errors": [
16416 "(1,3): expected-doctype-but-got-chars"
16417 ],
16418 "document": {
16419 "props": {
16420 "tags": {
16421 "html": true,
16422 "head": true,
16423 "body": true,
16424 "script": true
16425 },
16426 "no_escape": true
16427 },
16428 "tree": [
16429 {
16430 "tag": "html",
16431 "children": [
16432 {
16433 "tag": "head"
16434 },
16435 {
16436 "tag": "body",
16437 "children": [
16438 {
16439 "text": "FOO"
16440 },
16441 {
16442 "tag": "script",
16443 "children": [
16444 {
16445 "text": "'<!-- <sCrIpt'",
16446 "no_escape": true
16447 }
16448 ]
16449 },
16450 {
16451 "text": "BAR"
16452 }
16453 ]
16454 }
16455 ]
16456 }
16457 ],
16458 "html": "<html><head></head><body>FOO<script>'<!-- <sCrIpt'</script>BAR</body></html>",
16459 "noQuirksBodyHtml": "FOO<script>'<!-- <sCrIpt'</script>BAR"
16460 }
16461 },
16462 {
16463 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR",
16464 "errors": [
16465 "(1,3): expected-doctype-but-got-chars",
16466 "(1,56): expected-script-data-but-got-eof",
16467 "(1,56): expected-named-closing-tag-but-got-eof"
16468 ],
16469 "document": {
16470 "props": {
16471 "tags": {
16472 "html": true,
16473 "head": true,
16474 "body": true,
16475 "script": true
16476 },
16477 "no_escape": true
16478 },
16479 "tree": [
16480 {
16481 "tag": "html",
16482 "children": [
16483 {
16484 "tag": "head"
16485 },
16486 {
16487 "tag": "body",
16488 "children": [
16489 {
16490 "text": "FOO"
16491 },
16492 {
16493 "tag": "script",
16494 "attrs": [
16495 {
16496 "name": "type",
16497 "value": "text/plain"
16498 }
16499 ],
16500 "children": [
16501 {
16502 "text": "'<!-- <sCrIpt>'</script>BAR",
16503 "no_escape": true
16504 }
16505 ]
16506 }
16507 ]
16508 }
16509 ]
16510 }
16511 ],
16512 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR</script></body></html>",
16513 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt>'</script>BAR</script>"
16514 }
16515 },
16516 {
16517 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR",
16518 "errors": [
16519 "(1,3): expected-doctype-but-got-chars",
16520 "(1,58): expected-script-data-but-got-eof",
16521 "(1,58): expected-named-closing-tag-but-got-eof"
16522 ],
16523 "document": {
16524 "props": {
16525 "tags": {
16526 "html": true,
16527 "head": true,
16528 "body": true,
16529 "script": true
16530 },
16531 "no_escape": true
16532 },
16533 "tree": [
16534 {
16535 "tag": "html",
16536 "children": [
16537 {
16538 "tag": "head"
16539 },
16540 {
16541 "tag": "body",
16542 "children": [
16543 {
16544 "text": "FOO"
16545 },
16546 {
16547 "tag": "script",
16548 "attrs": [
16549 {
16550 "name": "type",
16551 "value": "text/plain"
16552 }
16553 ],
16554 "children": [
16555 {
16556 "text": "'<!-- <sCrIpt> -'</script>BAR",
16557 "no_escape": true
16558 }
16559 ]
16560 }
16561 ]
16562 }
16563 ]
16564 }
16565 ],
16566 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR</script></body></html>",
16567 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -'</script>BAR</script>"
16568 }
16569 },
16570 {
16571 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR",
16572 "errors": [
16573 "(1,3): expected-doctype-but-got-chars",
16574 "(1,59): expected-script-data-but-got-eof",
16575 "(1,59): expected-named-closing-tag-but-got-eof"
16576 ],
16577 "document": {
16578 "props": {
16579 "tags": {
16580 "html": true,
16581 "head": true,
16582 "body": true,
16583 "script": true
16584 },
16585 "no_escape": true
16586 },
16587 "tree": [
16588 {
16589 "tag": "html",
16590 "children": [
16591 {
16592 "tag": "head"
16593 },
16594 {
16595 "tag": "body",
16596 "children": [
16597 {
16598 "text": "FOO"
16599 },
16600 {
16601 "tag": "script",
16602 "attrs": [
16603 {
16604 "name": "type",
16605 "value": "text/plain"
16606 }
16607 ],
16608 "children": [
16609 {
16610 "text": "'<!-- <sCrIpt> --'</script>BAR",
16611 "no_escape": true
16612 }
16613 ]
16614 }
16615 ]
16616 }
16617 ]
16618 }
16619 ],
16620 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR</script></body></html>",
16621 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --'</script>BAR</script>"
16622 }
16623 },
16624 {
16625 "data": "FOO<script>'<!-- <sCrIpt> -->'</script>BAR",
16626 "errors": [
16627 "(1,3): expected-doctype-but-got-chars"
16628 ],
16629 "document": {
16630 "props": {
16631 "tags": {
16632 "html": true,
16633 "head": true,
16634 "body": true,
16635 "script": true
16636 },
16637 "no_escape": true
16638 },
16639 "tree": [
16640 {
16641 "tag": "html",
16642 "children": [
16643 {
16644 "tag": "head"
16645 },
16646 {
16647 "tag": "body",
16648 "children": [
16649 {
16650 "text": "FOO"
16651 },
16652 {
16653 "tag": "script",
16654 "children": [
16655 {
16656 "text": "'<!-- <sCrIpt> -->'",
16657 "no_escape": true
16658 }
16659 ]
16660 },
16661 {
16662 "text": "BAR"
16663 }
16664 ]
16665 }
16666 ]
16667 }
16668 ],
16669 "html": "<html><head></head><body>FOO<script>'<!-- <sCrIpt> -->'</script>BAR</body></html>",
16670 "noQuirksBodyHtml": "FOO<script>'<!-- <sCrIpt> -->'</script>BAR"
16671 }
16672 },
16673 {
16674 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR",
16675 "errors": [
16676 "(1,3): expected-doctype-but-got-chars",
16677 "(1,61): expected-script-data-but-got-eof",
16678 "(1,61): expected-named-closing-tag-but-got-eof"
16679 ],
16680 "document": {
16681 "props": {
16682 "tags": {
16683 "html": true,
16684 "head": true,
16685 "body": true,
16686 "script": true
16687 },
16688 "no_escape": true
16689 },
16690 "tree": [
16691 {
16692 "tag": "html",
16693 "children": [
16694 {
16695 "tag": "head"
16696 },
16697 {
16698 "tag": "body",
16699 "children": [
16700 {
16701 "text": "FOO"
16702 },
16703 {
16704 "tag": "script",
16705 "attrs": [
16706 {
16707 "name": "type",
16708 "value": "text/plain"
16709 }
16710 ],
16711 "children": [
16712 {
16713 "text": "'<!-- <sCrIpt> --!>'</script>BAR",
16714 "no_escape": true
16715 }
16716 ]
16717 }
16718 ]
16719 }
16720 ]
16721 }
16722 ],
16723 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR</script></body></html>",
16724 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> --!>'</script>BAR</script>"
16725 }
16726 },
16727 {
16728 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR",
16729 "errors": [
16730 "(1,3): expected-doctype-but-got-chars",
16731 "(1,61): expected-script-data-but-got-eof",
16732 "(1,61): expected-named-closing-tag-but-got-eof"
16733 ],
16734 "document": {
16735 "props": {
16736 "tags": {
16737 "html": true,
16738 "head": true,
16739 "body": true,
16740 "script": true
16741 },
16742 "no_escape": true
16743 },
16744 "tree": [
16745 {
16746 "tag": "html",
16747 "children": [
16748 {
16749 "tag": "head"
16750 },
16751 {
16752 "tag": "body",
16753 "children": [
16754 {
16755 "text": "FOO"
16756 },
16757 {
16758 "tag": "script",
16759 "attrs": [
16760 {
16761 "name": "type",
16762 "value": "text/plain"
16763 }
16764 ],
16765 "children": [
16766 {
16767 "text": "'<!-- <sCrIpt> -- >'</script>BAR",
16768 "no_escape": true
16769 }
16770 ]
16771 }
16772 ]
16773 }
16774 ]
16775 }
16776 ],
16777 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR</script></body></html>",
16778 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt> -- >'</script>BAR</script>"
16779 }
16780 },
16781 {
16782 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR",
16783 "errors": [
16784 "(1,3): expected-doctype-but-got-chars",
16785 "(1,56): expected-script-data-but-got-eof",
16786 "(1,56): expected-named-closing-tag-but-got-eof"
16787 ],
16788 "document": {
16789 "props": {
16790 "tags": {
16791 "html": true,
16792 "head": true,
16793 "body": true,
16794 "script": true
16795 },
16796 "no_escape": true
16797 },
16798 "tree": [
16799 {
16800 "tag": "html",
16801 "children": [
16802 {
16803 "tag": "head"
16804 },
16805 {
16806 "tag": "body",
16807 "children": [
16808 {
16809 "text": "FOO"
16810 },
16811 {
16812 "tag": "script",
16813 "attrs": [
16814 {
16815 "name": "type",
16816 "value": "text/plain"
16817 }
16818 ],
16819 "children": [
16820 {
16821 "text": "'<!-- <sCrIpt '</script>BAR",
16822 "no_escape": true
16823 }
16824 ]
16825 }
16826 ]
16827 }
16828 ]
16829 }
16830 ],
16831 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR</script></body></html>",
16832 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt '</script>BAR</script>"
16833 }
16834 },
16835 {
16836 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR",
16837 "errors": [
16838 "(1,3): expected-doctype-but-got-chars",
16839 "(1,56): expected-script-data-but-got-eof",
16840 "(1,56): expected-named-closing-tag-but-got-eof"
16841 ],
16842 "document": {
16843 "props": {
16844 "tags": {
16845 "html": true,
16846 "head": true,
16847 "body": true,
16848 "script": true
16849 },
16850 "no_escape": true
16851 },
16852 "tree": [
16853 {
16854 "tag": "html",
16855 "children": [
16856 {
16857 "tag": "head"
16858 },
16859 {
16860 "tag": "body",
16861 "children": [
16862 {
16863 "text": "FOO"
16864 },
16865 {
16866 "tag": "script",
16867 "attrs": [
16868 {
16869 "name": "type",
16870 "value": "text/plain"
16871 }
16872 ],
16873 "children": [
16874 {
16875 "text": "'<!-- <sCrIpt/'</script>BAR",
16876 "no_escape": true
16877 }
16878 ]
16879 }
16880 ]
16881 }
16882 ]
16883 }
16884 ],
16885 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script></body></html>",
16886 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>"
16887 }
16888 },
16889 {
16890 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR",
16891 "errors": [
16892 "(1,3): expected-doctype-but-got-chars"
16893 ],
16894 "document": {
16895 "props": {
16896 "tags": {
16897 "html": true,
16898 "head": true,
16899 "body": true,
16900 "script": true
16901 },
16902 "no_escape": true
16903 },
16904 "tree": [
16905 {
16906 "tag": "html",
16907 "children": [
16908 {
16909 "tag": "head"
16910 },
16911 {
16912 "tag": "body",
16913 "children": [
16914 {
16915 "text": "FOO"
16916 },
16917 {
16918 "tag": "script",
16919 "attrs": [
16920 {
16921 "name": "type",
16922 "value": "text/plain"
16923 }
16924 ],
16925 "children": [
16926 {
16927 "text": "'<!-- <sCrIpt\\'",
16928 "no_escape": true
16929 }
16930 ]
16931 },
16932 {
16933 "text": "BAR"
16934 }
16935 ]
16936 }
16937 ]
16938 }
16939 ],
16940 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR</body></html>",
16941 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt\\'</script>BAR"
16942 }
16943 },
16944 {
16945 "data": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX",
16946 "errors": [
16947 "(1,3): expected-doctype-but-got-chars"
16948 ],
16949 "document": {
16950 "props": {
16951 "tags": {
16952 "html": true,
16953 "head": true,
16954 "body": true,
16955 "script": true
16956 },
16957 "no_escape": true
16958 },
16959 "tree": [
16960 {
16961 "tag": "html",
16962 "children": [
16963 {
16964 "tag": "head"
16965 },
16966 {
16967 "tag": "body",
16968 "children": [
16969 {
16970 "text": "FOO"
16971 },
16972 {
16973 "tag": "script",
16974 "attrs": [
16975 {
16976 "name": "type",
16977 "value": "text/plain"
16978 }
16979 ],
16980 "children": [
16981 {
16982 "text": "'<!-- <sCrIpt/'</script>BAR",
16983 "no_escape": true
16984 }
16985 ]
16986 },
16987 {
16988 "text": "QUX"
16989 }
16990 ]
16991 }
16992 ]
16993 }
16994 ],
16995 "html": "<html><head></head><body>FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX</body></html>",
16996 "noQuirksBodyHtml": "FOO<script type=\"text/plain\">'<!-- <sCrIpt/'</script>BAR</script>QUX"
16997 }
16998 },
16999 {
17000 "data": "FOO<script><!--<script>-></script>--></script>QUX",
17001 "errors": [
17002 "(1,3): expected-doctype-but-got-chars"
17003 ],
17004 "document": {
17005 "props": {
17006 "tags": {
17007 "html": true,
17008 "head": true,
17009 "body": true,
17010 "script": true
17011 },
17012 "no_escape": true
17013 },
17014 "tree": [
17015 {
17016 "tag": "html",
17017 "children": [
17018 {
17019 "tag": "head"
17020 },
17021 {
17022 "tag": "body",
17023 "children": [
17024 {
17025 "text": "FOO"
17026 },
17027 {
17028 "tag": "script",
17029 "children": [
17030 {
17031 "text": "<!--<script>-></script>-->",
17032 "no_escape": true
17033 }
17034 ]
17035 },
17036 {
17037 "text": "QUX"
17038 }
17039 ]
17040 }
17041 ]
17042 }
17043 ],
17044 "html": "<html><head></head><body>FOO<script><!--<script>-></script>--></script>QUX</body></html>",
17045 "noQuirksBodyHtml": "FOO<script><!--<script>-></script>--></script>QUX"
17046 }
17047 }
17048 ],
17049 "tables01.dat": [
17050 {
17051 "data": "<table><th>",
17052 "errors": [
17053 "(1,7): expected-doctype-but-got-start-tag",
17054 "(1,11): unexpected-cell-in-table-body",
17055 "(1,11): expected-closing-tag-but-got-eof"
17056 ],
17057 "document": {
17058 "props": {
17059 "tags": {
17060 "html": true,
17061 "head": true,
17062 "body": true,
17063 "table": true,
17064 "tbody": true,
17065 "tr": true,
17066 "th": true
17067 }
17068 },
17069 "tree": [
17070 {
17071 "tag": "html",
17072 "children": [
17073 {
17074 "tag": "head"
17075 },
17076 {
17077 "tag": "body",
17078 "children": [
17079 {
17080 "tag": "table",
17081 "children": [
17082 {
17083 "tag": "tbody",
17084 "children": [
17085 {
17086 "tag": "tr",
17087 "children": [
17088 {
17089 "tag": "th"
17090 }
17091 ]
17092 }
17093 ]
17094 }
17095 ]
17096 }
17097 ]
17098 }
17099 ]
17100 }
17101 ],
17102 "html": "<html><head></head><body><table><tbody><tr><th></th></tr></tbody></table></body></html>",
17103 "noQuirksBodyHtml": "<table><tbody><tr><th></th></tr></tbody></table>"
17104 }
17105 },
17106 {
17107 "data": "<table><td>",
17108 "errors": [
17109 "(1,7): expected-doctype-but-got-start-tag",
17110 "(1,11): unexpected-cell-in-table-body",
17111 "(1,11): expected-closing-tag-but-got-eof"
17112 ],
17113 "document": {
17114 "props": {
17115 "tags": {
17116 "html": true,
17117 "head": true,
17118 "body": true,
17119 "table": true,
17120 "tbody": true,
17121 "tr": true,
17122 "td": true
17123 }
17124 },
17125 "tree": [
17126 {
17127 "tag": "html",
17128 "children": [
17129 {
17130 "tag": "head"
17131 },
17132 {
17133 "tag": "body",
17134 "children": [
17135 {
17136 "tag": "table",
17137 "children": [
17138 {
17139 "tag": "tbody",
17140 "children": [
17141 {
17142 "tag": "tr",
17143 "children": [
17144 {
17145 "tag": "td"
17146 }
17147 ]
17148 }
17149 ]
17150 }
17151 ]
17152 }
17153 ]
17154 }
17155 ]
17156 }
17157 ],
17158 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
17159 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
17160 }
17161 },
17162 {
17163 "data": "<table><col foo='bar'>",
17164 "errors": [
17165 "(1,7): expected-doctype-but-got-start-tag",
17166 "(1,22): eof-in-table"
17167 ],
17168 "document": {
17169 "props": {
17170 "tags": {
17171 "html": true,
17172 "head": true,
17173 "body": true,
17174 "table": true,
17175 "colgroup": true,
17176 "col": true
17177 }
17178 },
17179 "tree": [
17180 {
17181 "tag": "html",
17182 "children": [
17183 {
17184 "tag": "head"
17185 },
17186 {
17187 "tag": "body",
17188 "children": [
17189 {
17190 "tag": "table",
17191 "children": [
17192 {
17193 "tag": "colgroup",
17194 "children": [
17195 {
17196 "tag": "col",
17197 "attrs": [
17198 {
17199 "name": "foo",
17200 "value": "bar"
17201 }
17202 ]
17203 }
17204 ]
17205 }
17206 ]
17207 }
17208 ]
17209 }
17210 ]
17211 }
17212 ],
17213 "html": "<html><head></head><body><table><colgroup><col foo=\"bar\"></colgroup></table></body></html>",
17214 "noQuirksBodyHtml": "<table><colgroup><col foo=\"bar\"></colgroup></table>"
17215 }
17216 },
17217 {
17218 "data": "<table><colgroup></html>foo",
17219 "errors": [
17220 "(1,7): expected-doctype-but-got-start-tag",
17221 "(1,24): unexpected-end-tag",
17222 "(1,27): foster-parenting-character-in-table",
17223 "(1,27): foster-parenting-character-in-table",
17224 "(1,27): foster-parenting-character-in-table",
17225 "(1,27): eof-in-table"
17226 ],
17227 "document": {
17228 "props": {
17229 "tags": {
17230 "html": true,
17231 "head": true,
17232 "body": true,
17233 "table": true,
17234 "colgroup": true
17235 }
17236 },
17237 "tree": [
17238 {
17239 "tag": "html",
17240 "children": [
17241 {
17242 "tag": "head"
17243 },
17244 {
17245 "tag": "body",
17246 "children": [
17247 {
17248 "text": "foo"
17249 },
17250 {
17251 "tag": "table",
17252 "children": [
17253 {
17254 "tag": "colgroup"
17255 }
17256 ]
17257 }
17258 ]
17259 }
17260 ]
17261 }
17262 ],
17263 "html": "<html><head></head><body>foo<table><colgroup></colgroup></table></body></html>",
17264 "noQuirksBodyHtml": "foo<table><colgroup></colgroup></table>"
17265 }
17266 },
17267 {
17268 "data": "<table></table><p>foo",
17269 "errors": [
17270 "(1,7): expected-doctype-but-got-start-tag"
17271 ],
17272 "document": {
17273 "props": {
17274 "tags": {
17275 "html": true,
17276 "head": true,
17277 "body": true,
17278 "table": true,
17279 "p": true
17280 }
17281 },
17282 "tree": [
17283 {
17284 "tag": "html",
17285 "children": [
17286 {
17287 "tag": "head"
17288 },
17289 {
17290 "tag": "body",
17291 "children": [
17292 {
17293 "tag": "table"
17294 },
17295 {
17296 "tag": "p",
17297 "children": [
17298 {
17299 "text": "foo"
17300 }
17301 ]
17302 }
17303 ]
17304 }
17305 ]
17306 }
17307 ],
17308 "html": "<html><head></head><body><table></table><p>foo</p></body></html>",
17309 "noQuirksBodyHtml": "<table></table><p>foo</p>"
17310 }
17311 },
17312 {
17313 "data": "<table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr><td>",
17314 "errors": [
17315 "(1,7): expected-doctype-but-got-start-tag",
17316 "(1,14): unexpected-end-tag",
17317 "(1,24): unexpected-end-tag",
17318 "(1,30): unexpected-end-tag",
17319 "(1,41): unexpected-end-tag",
17320 "(1,48): unexpected-end-tag",
17321 "(1,56): unexpected-end-tag",
17322 "(1,61): unexpected-end-tag",
17323 "(1,69): unexpected-end-tag",
17324 "(1,74): unexpected-end-tag",
17325 "(1,82): unexpected-end-tag",
17326 "(1,87): unexpected-end-tag",
17327 "(1,91): unexpected-cell-in-table-body",
17328 "(1,91): expected-closing-tag-but-got-eof"
17329 ],
17330 "document": {
17331 "props": {
17332 "tags": {
17333 "html": true,
17334 "head": true,
17335 "body": true,
17336 "table": true,
17337 "tbody": true,
17338 "tr": true,
17339 "td": true
17340 }
17341 },
17342 "tree": [
17343 {
17344 "tag": "html",
17345 "children": [
17346 {
17347 "tag": "head"
17348 },
17349 {
17350 "tag": "body",
17351 "children": [
17352 {
17353 "tag": "table",
17354 "children": [
17355 {
17356 "tag": "tbody",
17357 "children": [
17358 {
17359 "tag": "tr",
17360 "children": [
17361 {
17362 "tag": "td"
17363 }
17364 ]
17365 }
17366 ]
17367 }
17368 ]
17369 }
17370 ]
17371 }
17372 ]
17373 }
17374 ],
17375 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
17376 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
17377 }
17378 },
17379 {
17380 "data": "<table><select><option>3</select></table>",
17381 "errors": [
17382 "(1,7): expected-doctype-but-got-start-tag",
17383 "(1,15): unexpected-start-tag-implies-table-voodoo"
17384 ],
17385 "document": {
17386 "props": {
17387 "tags": {
17388 "html": true,
17389 "head": true,
17390 "body": true,
17391 "select": true,
17392 "option": true,
17393 "table": true
17394 }
17395 },
17396 "tree": [
17397 {
17398 "tag": "html",
17399 "children": [
17400 {
17401 "tag": "head"
17402 },
17403 {
17404 "tag": "body",
17405 "children": [
17406 {
17407 "tag": "select",
17408 "children": [
17409 {
17410 "tag": "option",
17411 "children": [
17412 {
17413 "text": "3"
17414 }
17415 ]
17416 }
17417 ]
17418 },
17419 {
17420 "tag": "table"
17421 }
17422 ]
17423 }
17424 ]
17425 }
17426 ],
17427 "html": "<html><head></head><body><select><option>3</option></select><table></table></body></html>",
17428 "noQuirksBodyHtml": "<select><option>3</option></select><table></table>"
17429 }
17430 },
17431 {
17432 "data": "<table><select><table></table></select></table>",
17433 "errors": [
17434 "(1,7): expected-doctype-but-got-start-tag",
17435 "(1,15): unexpected-start-tag-implies-table-voodoo",
17436 "(1,22): unexpected-table-element-start-tag-in-select-in-table",
17437 "(1,22): unexpected-start-tag-implies-end-tag",
17438 "(1,39): unexpected-end-tag",
17439 "(1,47): unexpected-end-tag"
17440 ],
17441 "document": {
17442 "props": {
17443 "tags": {
17444 "html": true,
17445 "head": true,
17446 "body": true,
17447 "select": true,
17448 "table": true
17449 }
17450 },
17451 "tree": [
17452 {
17453 "tag": "html",
17454 "children": [
17455 {
17456 "tag": "head"
17457 },
17458 {
17459 "tag": "body",
17460 "children": [
17461 {
17462 "tag": "select"
17463 },
17464 {
17465 "tag": "table"
17466 },
17467 {
17468 "tag": "table"
17469 }
17470 ]
17471 }
17472 ]
17473 }
17474 ],
17475 "html": "<html><head></head><body><select></select><table></table><table></table></body></html>",
17476 "noQuirksBodyHtml": "<select></select><table></table><table></table>"
17477 }
17478 },
17479 {
17480 "data": "<table><select></table>",
17481 "errors": [
17482 "(1,7): expected-doctype-but-got-start-tag",
17483 "(1,15): unexpected-start-tag-implies-table-voodoo",
17484 "(1,23): unexpected-table-element-end-tag-in-select-in-table"
17485 ],
17486 "document": {
17487 "props": {
17488 "tags": {
17489 "html": true,
17490 "head": true,
17491 "body": true,
17492 "select": true,
17493 "table": true
17494 }
17495 },
17496 "tree": [
17497 {
17498 "tag": "html",
17499 "children": [
17500 {
17501 "tag": "head"
17502 },
17503 {
17504 "tag": "body",
17505 "children": [
17506 {
17507 "tag": "select"
17508 },
17509 {
17510 "tag": "table"
17511 }
17512 ]
17513 }
17514 ]
17515 }
17516 ],
17517 "html": "<html><head></head><body><select></select><table></table></body></html>",
17518 "noQuirksBodyHtml": "<select></select><table></table>"
17519 }
17520 },
17521 {
17522 "data": "<table><select><option>A<tr><td>B</td></tr></table>",
17523 "errors": [
17524 "(1,7): expected-doctype-but-got-start-tag",
17525 "(1,15): unexpected-start-tag-implies-table-voodoo",
17526 "(1,28): unexpected-table-element-start-tag-in-select-in-table"
17527 ],
17528 "document": {
17529 "props": {
17530 "tags": {
17531 "html": true,
17532 "head": true,
17533 "body": true,
17534 "select": true,
17535 "option": true,
17536 "table": true,
17537 "tbody": true,
17538 "tr": true,
17539 "td": true
17540 }
17541 },
17542 "tree": [
17543 {
17544 "tag": "html",
17545 "children": [
17546 {
17547 "tag": "head"
17548 },
17549 {
17550 "tag": "body",
17551 "children": [
17552 {
17553 "tag": "select",
17554 "children": [
17555 {
17556 "tag": "option",
17557 "children": [
17558 {
17559 "text": "A"
17560 }
17561 ]
17562 }
17563 ]
17564 },
17565 {
17566 "tag": "table",
17567 "children": [
17568 {
17569 "tag": "tbody",
17570 "children": [
17571 {
17572 "tag": "tr",
17573 "children": [
17574 {
17575 "tag": "td",
17576 "children": [
17577 {
17578 "text": "B"
17579 }
17580 ]
17581 }
17582 ]
17583 }
17584 ]
17585 }
17586 ]
17587 }
17588 ]
17589 }
17590 ]
17591 }
17592 ],
17593 "html": "<html><head></head><body><select><option>A</option></select><table><tbody><tr><td>B</td></tr></tbody></table></body></html>",
17594 "noQuirksBodyHtml": "<select><option>A</option></select><table><tbody><tr><td>B</td></tr></tbody></table>"
17595 }
17596 },
17597 {
17598 "data": "<table><td></body></caption></col></colgroup></html>foo",
17599 "errors": [
17600 "(1,7): expected-doctype-but-got-start-tag",
17601 "(1,11): unexpected-cell-in-table-body",
17602 "(1,18): unexpected-end-tag",
17603 "(1,28): unexpected-end-tag",
17604 "(1,34): unexpected-end-tag",
17605 "(1,45): unexpected-end-tag",
17606 "(1,52): unexpected-end-tag",
17607 "(1,55): expected-closing-tag-but-got-eof"
17608 ],
17609 "document": {
17610 "props": {
17611 "tags": {
17612 "html": true,
17613 "head": true,
17614 "body": true,
17615 "table": true,
17616 "tbody": true,
17617 "tr": true,
17618 "td": true
17619 }
17620 },
17621 "tree": [
17622 {
17623 "tag": "html",
17624 "children": [
17625 {
17626 "tag": "head"
17627 },
17628 {
17629 "tag": "body",
17630 "children": [
17631 {
17632 "tag": "table",
17633 "children": [
17634 {
17635 "tag": "tbody",
17636 "children": [
17637 {
17638 "tag": "tr",
17639 "children": [
17640 {
17641 "tag": "td",
17642 "children": [
17643 {
17644 "text": "foo"
17645 }
17646 ]
17647 }
17648 ]
17649 }
17650 ]
17651 }
17652 ]
17653 }
17654 ]
17655 }
17656 ]
17657 }
17658 ],
17659 "html": "<html><head></head><body><table><tbody><tr><td>foo</td></tr></tbody></table></body></html>",
17660 "noQuirksBodyHtml": "<table><tbody><tr><td>foo</td></tr></tbody></table>"
17661 }
17662 },
17663 {
17664 "data": "<table><td>A</table>B",
17665 "errors": [
17666 "(1,7): expected-doctype-but-got-start-tag",
17667 "(1,11): unexpected-cell-in-table-body"
17668 ],
17669 "document": {
17670 "props": {
17671 "tags": {
17672 "html": true,
17673 "head": true,
17674 "body": true,
17675 "table": true,
17676 "tbody": true,
17677 "tr": true,
17678 "td": true
17679 }
17680 },
17681 "tree": [
17682 {
17683 "tag": "html",
17684 "children": [
17685 {
17686 "tag": "head"
17687 },
17688 {
17689 "tag": "body",
17690 "children": [
17691 {
17692 "tag": "table",
17693 "children": [
17694 {
17695 "tag": "tbody",
17696 "children": [
17697 {
17698 "tag": "tr",
17699 "children": [
17700 {
17701 "tag": "td",
17702 "children": [
17703 {
17704 "text": "A"
17705 }
17706 ]
17707 }
17708 ]
17709 }
17710 ]
17711 }
17712 ]
17713 },
17714 {
17715 "text": "B"
17716 }
17717 ]
17718 }
17719 ]
17720 }
17721 ],
17722 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table>B</body></html>",
17723 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>B"
17724 }
17725 },
17726 {
17727 "data": "<table><tr><caption>",
17728 "errors": [
17729 "(1,7): expected-doctype-but-got-start-tag",
17730 "(1,20): expected-closing-tag-but-got-eof"
17731 ],
17732 "document": {
17733 "props": {
17734 "tags": {
17735 "html": true,
17736 "head": true,
17737 "body": true,
17738 "table": true,
17739 "tbody": true,
17740 "tr": true,
17741 "caption": true
17742 }
17743 },
17744 "tree": [
17745 {
17746 "tag": "html",
17747 "children": [
17748 {
17749 "tag": "head"
17750 },
17751 {
17752 "tag": "body",
17753 "children": [
17754 {
17755 "tag": "table",
17756 "children": [
17757 {
17758 "tag": "tbody",
17759 "children": [
17760 {
17761 "tag": "tr"
17762 }
17763 ]
17764 },
17765 {
17766 "tag": "caption"
17767 }
17768 ]
17769 }
17770 ]
17771 }
17772 ]
17773 }
17774 ],
17775 "html": "<html><head></head><body><table><tbody><tr></tr></tbody><caption></caption></table></body></html>",
17776 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody><caption></caption></table>"
17777 }
17778 },
17779 {
17780 "data": "<table><tr></body></caption></col></colgroup></html></td></th><td>foo",
17781 "errors": [
17782 "(1,7): expected-doctype-but-got-start-tag",
17783 "(1,18): unexpected-end-tag-in-table-row",
17784 "(1,28): unexpected-end-tag-in-table-row",
17785 "(1,34): unexpected-end-tag-in-table-row",
17786 "(1,45): unexpected-end-tag-in-table-row",
17787 "(1,52): unexpected-end-tag-in-table-row",
17788 "(1,57): unexpected-end-tag-in-table-row",
17789 "(1,62): unexpected-end-tag-in-table-row",
17790 "(1,69): expected-closing-tag-but-got-eof"
17791 ],
17792 "document": {
17793 "props": {
17794 "tags": {
17795 "html": true,
17796 "head": true,
17797 "body": true,
17798 "table": true,
17799 "tbody": true,
17800 "tr": true,
17801 "td": true
17802 }
17803 },
17804 "tree": [
17805 {
17806 "tag": "html",
17807 "children": [
17808 {
17809 "tag": "head"
17810 },
17811 {
17812 "tag": "body",
17813 "children": [
17814 {
17815 "tag": "table",
17816 "children": [
17817 {
17818 "tag": "tbody",
17819 "children": [
17820 {
17821 "tag": "tr",
17822 "children": [
17823 {
17824 "tag": "td",
17825 "children": [
17826 {
17827 "text": "foo"
17828 }
17829 ]
17830 }
17831 ]
17832 }
17833 ]
17834 }
17835 ]
17836 }
17837 ]
17838 }
17839 ]
17840 }
17841 ],
17842 "html": "<html><head></head><body><table><tbody><tr><td>foo</td></tr></tbody></table></body></html>",
17843 "noQuirksBodyHtml": "<table><tbody><tr><td>foo</td></tr></tbody></table>"
17844 }
17845 },
17846 {
17847 "data": "<table><td><tr>",
17848 "errors": [
17849 "(1,7): expected-doctype-but-got-start-tag",
17850 "(1,11): unexpected-cell-in-table-body",
17851 "(1,15): eof-in-table"
17852 ],
17853 "document": {
17854 "props": {
17855 "tags": {
17856 "html": true,
17857 "head": true,
17858 "body": true,
17859 "table": true,
17860 "tbody": true,
17861 "tr": true,
17862 "td": true
17863 }
17864 },
17865 "tree": [
17866 {
17867 "tag": "html",
17868 "children": [
17869 {
17870 "tag": "head"
17871 },
17872 {
17873 "tag": "body",
17874 "children": [
17875 {
17876 "tag": "table",
17877 "children": [
17878 {
17879 "tag": "tbody",
17880 "children": [
17881 {
17882 "tag": "tr",
17883 "children": [
17884 {
17885 "tag": "td"
17886 }
17887 ]
17888 },
17889 {
17890 "tag": "tr"
17891 }
17892 ]
17893 }
17894 ]
17895 }
17896 ]
17897 }
17898 ]
17899 }
17900 ],
17901 "html": "<html><head></head><body><table><tbody><tr><td></td></tr><tr></tr></tbody></table></body></html>",
17902 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr><tr></tr></tbody></table>"
17903 }
17904 },
17905 {
17906 "data": "<table><td><button><td>",
17907 "errors": [
17908 "(1,7): expected-doctype-but-got-start-tag",
17909 "(1,11): unexpected-cell-in-table-body",
17910 "(1,23): unexpected-cell-end-tag",
17911 "(1,23): expected-closing-tag-but-got-eof"
17912 ],
17913 "document": {
17914 "props": {
17915 "tags": {
17916 "html": true,
17917 "head": true,
17918 "body": true,
17919 "table": true,
17920 "tbody": true,
17921 "tr": true,
17922 "td": true,
17923 "button": true
17924 }
17925 },
17926 "tree": [
17927 {
17928 "tag": "html",
17929 "children": [
17930 {
17931 "tag": "head"
17932 },
17933 {
17934 "tag": "body",
17935 "children": [
17936 {
17937 "tag": "table",
17938 "children": [
17939 {
17940 "tag": "tbody",
17941 "children": [
17942 {
17943 "tag": "tr",
17944 "children": [
17945 {
17946 "tag": "td",
17947 "children": [
17948 {
17949 "tag": "button"
17950 }
17951 ]
17952 },
17953 {
17954 "tag": "td"
17955 }
17956 ]
17957 }
17958 ]
17959 }
17960 ]
17961 }
17962 ]
17963 }
17964 ]
17965 }
17966 ],
17967 "html": "<html><head></head><body><table><tbody><tr><td><button></button></td><td></td></tr></tbody></table></body></html>",
17968 "noQuirksBodyHtml": "<table><tbody><tr><td><button></button></td><td></td></tr></tbody></table>"
17969 }
17970 },
17971 {
17972 "data": "<table><tr><td><svg><desc><td>",
17973 "errors": [
17974 "(1,7): expected-doctype-but-got-start-tag",
17975 "(1,30): unexpected-cell-end-tag",
17976 "(1,30): expected-closing-tag-but-got-eof"
17977 ],
17978 "document": {
17979 "props": {
17980 "tags": {
17981 "html": true,
17982 "head": true,
17983 "body": true,
17984 "table": true,
17985 "tbody": true,
17986 "tr": true,
17987 "td": true,
17988 "svg svg": true,
17989 "svg desc": true
17990 }
17991 },
17992 "tree": [
17993 {
17994 "tag": "html",
17995 "children": [
17996 {
17997 "tag": "head"
17998 },
17999 {
18000 "tag": "body",
18001 "children": [
18002 {
18003 "tag": "table",
18004 "children": [
18005 {
18006 "tag": "tbody",
18007 "children": [
18008 {
18009 "tag": "tr",
18010 "children": [
18011 {
18012 "tag": "td",
18013 "children": [
18014 {
18015 "tag": "svg",
18016 "ns": "http://www.w3.org/2000/svg",
18017 "children": [
18018 {
18019 "tag": "desc",
18020 "ns": "http://www.w3.org/2000/svg"
18021 }
18022 ]
18023 }
18024 ]
18025 },
18026 {
18027 "tag": "td"
18028 }
18029 ]
18030 }
18031 ]
18032 }
18033 ]
18034 }
18035 ]
18036 }
18037 ]
18038 }
18039 ],
18040 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td></td></tr></tbody></table></body></html>",
18041 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td></td></tr></tbody></table>"
18042 }
18043 }
18044 ],
18045 "template.dat": [
18046 {
18047 "data": "<body><template>Hello</template>",
18048 "errors": [
18049 "no doctype"
18050 ],
18051 "document": {
18052 "props": {
18053 "tags": {
18054 "html": true,
18055 "head": true,
18056 "body": true,
18057 "template": true
18058 },
18059 "template": true
18060 },
18061 "tree": [
18062 {
18063 "tag": "html",
18064 "children": [
18065 {
18066 "tag": "head"
18067 },
18068 {
18069 "tag": "body",
18070 "children": [
18071 {
18072 "tag": "template",
18073 "children": [
18074 {
18075 "content": true,
18076 "children": [
18077 {
18078 "text": "Hello"
18079 }
18080 ]
18081 }
18082 ]
18083 }
18084 ]
18085 }
18086 ]
18087 }
18088 ],
18089 "html": "<html><head></head><body><template>Hello</template></body></html>",
18090 "noQuirksBodyHtml": "<template>Hello</template>"
18091 }
18092 },
18093 {
18094 "data": "<template>Hello</template>",
18095 "errors": [
18096 "no doctype"
18097 ],
18098 "document": {
18099 "props": {
18100 "tags": {
18101 "html": true,
18102 "head": true,
18103 "template": true,
18104 "body": true
18105 },
18106 "template": true
18107 },
18108 "tree": [
18109 {
18110 "tag": "html",
18111 "children": [
18112 {
18113 "tag": "head",
18114 "children": [
18115 {
18116 "tag": "template",
18117 "children": [
18118 {
18119 "content": true,
18120 "children": [
18121 {
18122 "text": "Hello"
18123 }
18124 ]
18125 }
18126 ]
18127 }
18128 ]
18129 },
18130 {
18131 "tag": "body"
18132 }
18133 ]
18134 }
18135 ],
18136 "html": "<html><head><template>Hello</template></head><body></body></html>",
18137 "noQuirksBodyHtml": "<template>Hello</template>"
18138 }
18139 },
18140 {
18141 "data": "<template></template><div></div>",
18142 "errors": [
18143 "no doctype"
18144 ],
18145 "document": {
18146 "props": {
18147 "tags": {
18148 "html": true,
18149 "head": true,
18150 "template": true,
18151 "body": true,
18152 "div": true
18153 },
18154 "template": true
18155 },
18156 "tree": [
18157 {
18158 "tag": "html",
18159 "children": [
18160 {
18161 "tag": "head",
18162 "children": [
18163 {
18164 "tag": "template",
18165 "children": [
18166 {
18167 "content": true
18168 }
18169 ]
18170 }
18171 ]
18172 },
18173 {
18174 "tag": "body",
18175 "children": [
18176 {
18177 "tag": "div"
18178 }
18179 ]
18180 }
18181 ]
18182 }
18183 ],
18184 "html": "<html><head><template></template></head><body><div></div></body></html>",
18185 "noQuirksBodyHtml": "<template></template><div></div>"
18186 }
18187 },
18188 {
18189 "data": "<html><template>Hello</template>",
18190 "errors": [
18191 "no doctype"
18192 ],
18193 "document": {
18194 "props": {
18195 "tags": {
18196 "html": true,
18197 "head": true,
18198 "template": true,
18199 "body": true
18200 },
18201 "template": true
18202 },
18203 "tree": [
18204 {
18205 "tag": "html",
18206 "children": [
18207 {
18208 "tag": "head",
18209 "children": [
18210 {
18211 "tag": "template",
18212 "children": [
18213 {
18214 "content": true,
18215 "children": [
18216 {
18217 "text": "Hello"
18218 }
18219 ]
18220 }
18221 ]
18222 }
18223 ]
18224 },
18225 {
18226 "tag": "body"
18227 }
18228 ]
18229 }
18230 ],
18231 "html": "<html><head><template>Hello</template></head><body></body></html>",
18232 "noQuirksBodyHtml": "<template>Hello</template>"
18233 }
18234 },
18235 {
18236 "data": "<head><template><div></div></template></head>",
18237 "errors": [
18238 "no doctype"
18239 ],
18240 "document": {
18241 "props": {
18242 "tags": {
18243 "html": true,
18244 "head": true,
18245 "template": true,
18246 "div": true,
18247 "body": true
18248 },
18249 "template": true
18250 },
18251 "tree": [
18252 {
18253 "tag": "html",
18254 "children": [
18255 {
18256 "tag": "head",
18257 "children": [
18258 {
18259 "tag": "template",
18260 "children": [
18261 {
18262 "content": true,
18263 "children": [
18264 {
18265 "tag": "div"
18266 }
18267 ]
18268 }
18269 ]
18270 }
18271 ]
18272 },
18273 {
18274 "tag": "body"
18275 }
18276 ]
18277 }
18278 ],
18279 "html": "<html><head><template><div></div></template></head><body></body></html>",
18280 "noQuirksBodyHtml": "<template><div></div></template>"
18281 }
18282 },
18283 {
18284 "data": "<div><template><div><span></template><b>",
18285 "errors": [
18286 " * (1,6) missing DOCTYPE",
18287 " * (1,38) mismatched template end tag",
18288 " * (1,41) unexpected end of file"
18289 ],
18290 "document": {
18291 "props": {
18292 "tags": {
18293 "html": true,
18294 "head": true,
18295 "body": true,
18296 "div": true,
18297 "template": true,
18298 "span": true,
18299 "b": true
18300 },
18301 "template": true
18302 },
18303 "tree": [
18304 {
18305 "tag": "html",
18306 "children": [
18307 {
18308 "tag": "head"
18309 },
18310 {
18311 "tag": "body",
18312 "children": [
18313 {
18314 "tag": "div",
18315 "children": [
18316 {
18317 "tag": "template",
18318 "children": [
18319 {
18320 "content": true,
18321 "children": [
18322 {
18323 "tag": "div",
18324 "children": [
18325 {
18326 "tag": "span"
18327 }
18328 ]
18329 }
18330 ]
18331 }
18332 ]
18333 },
18334 {
18335 "tag": "b"
18336 }
18337 ]
18338 }
18339 ]
18340 }
18341 ]
18342 }
18343 ],
18344 "html": "<html><head></head><body><div><template><div><span></span></div></template><b></b></div></body></html>",
18345 "noQuirksBodyHtml": "<div><template><div><span></span></div></template><b></b></div>"
18346 }
18347 },
18348 {
18349 "data": "<div><template></div>Hello",
18350 "errors": [
18351 " * (1,6) missing DOCTYPE",
18352 " * (1,22) unexpected token in template",
18353 " * (1,27) unexpected end of file in template",
18354 " * (1,27) unexpected end of file"
18355 ],
18356 "document": {
18357 "props": {
18358 "tags": {
18359 "html": true,
18360 "head": true,
18361 "body": true,
18362 "div": true,
18363 "template": true
18364 },
18365 "template": true
18366 },
18367 "tree": [
18368 {
18369 "tag": "html",
18370 "children": [
18371 {
18372 "tag": "head"
18373 },
18374 {
18375 "tag": "body",
18376 "children": [
18377 {
18378 "tag": "div",
18379 "children": [
18380 {
18381 "tag": "template",
18382 "children": [
18383 {
18384 "content": true,
18385 "children": [
18386 {
18387 "text": "Hello"
18388 }
18389 ]
18390 }
18391 ]
18392 }
18393 ]
18394 }
18395 ]
18396 }
18397 ]
18398 }
18399 ],
18400 "html": "<html><head></head><body><div><template>Hello</template></div></body></html>",
18401 "noQuirksBodyHtml": "<div><template>Hello</template></div>"
18402 }
18403 },
18404 {
18405 "data": "<div></template></div>",
18406 "errors": [
18407 " * (1,6) missing DOCTYPE",
18408 " * (1,17) unexpected template end tag"
18409 ],
18410 "document": {
18411 "props": {
18412 "tags": {
18413 "html": true,
18414 "head": true,
18415 "body": true,
18416 "div": true
18417 }
18418 },
18419 "tree": [
18420 {
18421 "tag": "html",
18422 "children": [
18423 {
18424 "tag": "head"
18425 },
18426 {
18427 "tag": "body",
18428 "children": [
18429 {
18430 "tag": "div"
18431 }
18432 ]
18433 }
18434 ]
18435 }
18436 ],
18437 "html": "<html><head></head><body><div></div></body></html>",
18438 "noQuirksBodyHtml": "<div></div>"
18439 }
18440 },
18441 {
18442 "data": "<table><template></template></table>",
18443 "errors": [
18444 "no doctype"
18445 ],
18446 "document": {
18447 "props": {
18448 "tags": {
18449 "html": true,
18450 "head": true,
18451 "body": true,
18452 "table": true,
18453 "template": true
18454 },
18455 "template": true
18456 },
18457 "tree": [
18458 {
18459 "tag": "html",
18460 "children": [
18461 {
18462 "tag": "head"
18463 },
18464 {
18465 "tag": "body",
18466 "children": [
18467 {
18468 "tag": "table",
18469 "children": [
18470 {
18471 "tag": "template",
18472 "children": [
18473 {
18474 "content": true
18475 }
18476 ]
18477 }
18478 ]
18479 }
18480 ]
18481 }
18482 ]
18483 }
18484 ],
18485 "html": "<html><head></head><body><table><template></template></table></body></html>",
18486 "noQuirksBodyHtml": "<table><template></template></table>"
18487 }
18488 },
18489 {
18490 "data": "<table><template></template></div>",
18491 "errors": [
18492 " * (1,8) missing DOCTYPE",
18493 " * (1,35) unexpected token in table - foster parenting",
18494 " * (1,35) unexpected end tag",
18495 " * (1,35) unexpected end of file"
18496 ],
18497 "document": {
18498 "props": {
18499 "tags": {
18500 "html": true,
18501 "head": true,
18502 "body": true,
18503 "table": true,
18504 "template": true
18505 },
18506 "template": true
18507 },
18508 "tree": [
18509 {
18510 "tag": "html",
18511 "children": [
18512 {
18513 "tag": "head"
18514 },
18515 {
18516 "tag": "body",
18517 "children": [
18518 {
18519 "tag": "table",
18520 "children": [
18521 {
18522 "tag": "template",
18523 "children": [
18524 {
18525 "content": true
18526 }
18527 ]
18528 }
18529 ]
18530 }
18531 ]
18532 }
18533 ]
18534 }
18535 ],
18536 "html": "<html><head></head><body><table><template></template></table></body></html>",
18537 "noQuirksBodyHtml": "<table><template></template></table>"
18538 }
18539 },
18540 {
18541 "data": "<table><div><template></template></div>",
18542 "errors": [
18543 " * (1,8) missing DOCTYPE",
18544 " * (1,13) unexpected token in table - foster parenting",
18545 " * (1,40) unexpected token in table - foster parenting",
18546 " * (1,40) unexpected end of file"
18547 ],
18548 "document": {
18549 "props": {
18550 "tags": {
18551 "html": true,
18552 "head": true,
18553 "body": true,
18554 "div": true,
18555 "template": true,
18556 "table": true
18557 },
18558 "template": true
18559 },
18560 "tree": [
18561 {
18562 "tag": "html",
18563 "children": [
18564 {
18565 "tag": "head"
18566 },
18567 {
18568 "tag": "body",
18569 "children": [
18570 {
18571 "tag": "div",
18572 "children": [
18573 {
18574 "tag": "template",
18575 "children": [
18576 {
18577 "content": true
18578 }
18579 ]
18580 }
18581 ]
18582 },
18583 {
18584 "tag": "table"
18585 }
18586 ]
18587 }
18588 ]
18589 }
18590 ],
18591 "html": "<html><head></head><body><div><template></template></div><table></table></body></html>",
18592 "noQuirksBodyHtml": "<div><template></template></div><table></table>"
18593 }
18594 },
18595 {
18596 "data": "<table><template></template><div></div>",
18597 "errors": [
18598 "no doctype",
18599 "bad div in table",
18600 "bad /div in table",
18601 "eof in table"
18602 ],
18603 "document": {
18604 "props": {
18605 "tags": {
18606 "html": true,
18607 "head": true,
18608 "body": true,
18609 "div": true,
18610 "table": true,
18611 "template": true
18612 },
18613 "template": true
18614 },
18615 "tree": [
18616 {
18617 "tag": "html",
18618 "children": [
18619 {
18620 "tag": "head"
18621 },
18622 {
18623 "tag": "body",
18624 "children": [
18625 {
18626 "tag": "div"
18627 },
18628 {
18629 "tag": "table",
18630 "children": [
18631 {
18632 "tag": "template",
18633 "children": [
18634 {
18635 "content": true
18636 }
18637 ]
18638 }
18639 ]
18640 }
18641 ]
18642 }
18643 ]
18644 }
18645 ],
18646 "html": "<html><head></head><body><div></div><table><template></template></table></body></html>",
18647 "noQuirksBodyHtml": "<div></div><table><template></template></table>"
18648 }
18649 },
18650 {
18651 "data": "<table> <template></template></table>",
18652 "errors": [
18653 "no doctype"
18654 ],
18655 "document": {
18656 "props": {
18657 "tags": {
18658 "html": true,
18659 "head": true,
18660 "body": true,
18661 "table": true,
18662 "template": true
18663 },
18664 "template": true
18665 },
18666 "tree": [
18667 {
18668 "tag": "html",
18669 "children": [
18670 {
18671 "tag": "head"
18672 },
18673 {
18674 "tag": "body",
18675 "children": [
18676 {
18677 "tag": "table",
18678 "children": [
18679 {
18680 "text": " "
18681 },
18682 {
18683 "tag": "template",
18684 "children": [
18685 {
18686 "content": true
18687 }
18688 ]
18689 }
18690 ]
18691 }
18692 ]
18693 }
18694 ]
18695 }
18696 ],
18697 "html": "<html><head></head><body><table> <template></template></table></body></html>",
18698 "noQuirksBodyHtml": "<table> <template></template></table>"
18699 }
18700 },
18701 {
18702 "data": "<table><tbody><template></template></tbody>",
18703 "errors": [
18704 "no doctype",
18705 "eof in table"
18706 ],
18707 "document": {
18708 "props": {
18709 "tags": {
18710 "html": true,
18711 "head": true,
18712 "body": true,
18713 "table": true,
18714 "tbody": true,
18715 "template": true
18716 },
18717 "template": true
18718 },
18719 "tree": [
18720 {
18721 "tag": "html",
18722 "children": [
18723 {
18724 "tag": "head"
18725 },
18726 {
18727 "tag": "body",
18728 "children": [
18729 {
18730 "tag": "table",
18731 "children": [
18732 {
18733 "tag": "tbody",
18734 "children": [
18735 {
18736 "tag": "template",
18737 "children": [
18738 {
18739 "content": true
18740 }
18741 ]
18742 }
18743 ]
18744 }
18745 ]
18746 }
18747 ]
18748 }
18749 ]
18750 }
18751 ],
18752 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
18753 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
18754 }
18755 },
18756 {
18757 "data": "<table><tbody><template></tbody></template>",
18758 "errors": [
18759 "no doctype",
18760 "bad /tbody",
18761 "eof in table"
18762 ],
18763 "document": {
18764 "props": {
18765 "tags": {
18766 "html": true,
18767 "head": true,
18768 "body": true,
18769 "table": true,
18770 "tbody": true,
18771 "template": true
18772 },
18773 "template": true
18774 },
18775 "tree": [
18776 {
18777 "tag": "html",
18778 "children": [
18779 {
18780 "tag": "head"
18781 },
18782 {
18783 "tag": "body",
18784 "children": [
18785 {
18786 "tag": "table",
18787 "children": [
18788 {
18789 "tag": "tbody",
18790 "children": [
18791 {
18792 "tag": "template",
18793 "children": [
18794 {
18795 "content": true
18796 }
18797 ]
18798 }
18799 ]
18800 }
18801 ]
18802 }
18803 ]
18804 }
18805 ]
18806 }
18807 ],
18808 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
18809 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
18810 }
18811 },
18812 {
18813 "data": "<table><tbody><template></template></tbody></table>",
18814 "errors": [
18815 "no doctype"
18816 ],
18817 "document": {
18818 "props": {
18819 "tags": {
18820 "html": true,
18821 "head": true,
18822 "body": true,
18823 "table": true,
18824 "tbody": true,
18825 "template": true
18826 },
18827 "template": true
18828 },
18829 "tree": [
18830 {
18831 "tag": "html",
18832 "children": [
18833 {
18834 "tag": "head"
18835 },
18836 {
18837 "tag": "body",
18838 "children": [
18839 {
18840 "tag": "table",
18841 "children": [
18842 {
18843 "tag": "tbody",
18844 "children": [
18845 {
18846 "tag": "template",
18847 "children": [
18848 {
18849 "content": true
18850 }
18851 ]
18852 }
18853 ]
18854 }
18855 ]
18856 }
18857 ]
18858 }
18859 ]
18860 }
18861 ],
18862 "html": "<html><head></head><body><table><tbody><template></template></tbody></table></body></html>",
18863 "noQuirksBodyHtml": "<table><tbody><template></template></tbody></table>"
18864 }
18865 },
18866 {
18867 "data": "<table><thead><template></template></thead>",
18868 "errors": [
18869 "no doctype",
18870 "eof in table"
18871 ],
18872 "document": {
18873 "props": {
18874 "tags": {
18875 "html": true,
18876 "head": true,
18877 "body": true,
18878 "table": true,
18879 "thead": true,
18880 "template": true
18881 },
18882 "template": true
18883 },
18884 "tree": [
18885 {
18886 "tag": "html",
18887 "children": [
18888 {
18889 "tag": "head"
18890 },
18891 {
18892 "tag": "body",
18893 "children": [
18894 {
18895 "tag": "table",
18896 "children": [
18897 {
18898 "tag": "thead",
18899 "children": [
18900 {
18901 "tag": "template",
18902 "children": [
18903 {
18904 "content": true
18905 }
18906 ]
18907 }
18908 ]
18909 }
18910 ]
18911 }
18912 ]
18913 }
18914 ]
18915 }
18916 ],
18917 "html": "<html><head></head><body><table><thead><template></template></thead></table></body></html>",
18918 "noQuirksBodyHtml": "<table><thead><template></template></thead></table>"
18919 }
18920 },
18921 {
18922 "data": "<table><tfoot><template></template></tfoot>",
18923 "errors": [
18924 "no doctype",
18925 "eof in table"
18926 ],
18927 "document": {
18928 "props": {
18929 "tags": {
18930 "html": true,
18931 "head": true,
18932 "body": true,
18933 "table": true,
18934 "tfoot": true,
18935 "template": true
18936 },
18937 "template": true
18938 },
18939 "tree": [
18940 {
18941 "tag": "html",
18942 "children": [
18943 {
18944 "tag": "head"
18945 },
18946 {
18947 "tag": "body",
18948 "children": [
18949 {
18950 "tag": "table",
18951 "children": [
18952 {
18953 "tag": "tfoot",
18954 "children": [
18955 {
18956 "tag": "template",
18957 "children": [
18958 {
18959 "content": true
18960 }
18961 ]
18962 }
18963 ]
18964 }
18965 ]
18966 }
18967 ]
18968 }
18969 ]
18970 }
18971 ],
18972 "html": "<html><head></head><body><table><tfoot><template></template></tfoot></table></body></html>",
18973 "noQuirksBodyHtml": "<table><tfoot><template></template></tfoot></table>"
18974 }
18975 },
18976 {
18977 "data": "<select><template></template></select>",
18978 "errors": [
18979 "no doctype"
18980 ],
18981 "document": {
18982 "props": {
18983 "tags": {
18984 "html": true,
18985 "head": true,
18986 "body": true,
18987 "select": true,
18988 "template": true
18989 },
18990 "template": true
18991 },
18992 "tree": [
18993 {
18994 "tag": "html",
18995 "children": [
18996 {
18997 "tag": "head"
18998 },
18999 {
19000 "tag": "body",
19001 "children": [
19002 {
19003 "tag": "select",
19004 "children": [
19005 {
19006 "tag": "template",
19007 "children": [
19008 {
19009 "content": true
19010 }
19011 ]
19012 }
19013 ]
19014 }
19015 ]
19016 }
19017 ]
19018 }
19019 ],
19020 "html": "<html><head></head><body><select><template></template></select></body></html>",
19021 "noQuirksBodyHtml": "<select><template></template></select>"
19022 }
19023 },
19024 {
19025 "data": "<select><template><option></option></template></select>",
19026 "errors": [
19027 "no doctype"
19028 ],
19029 "document": {
19030 "props": {
19031 "tags": {
19032 "html": true,
19033 "head": true,
19034 "body": true,
19035 "select": true,
19036 "template": true,
19037 "option": true
19038 },
19039 "template": true
19040 },
19041 "tree": [
19042 {
19043 "tag": "html",
19044 "children": [
19045 {
19046 "tag": "head"
19047 },
19048 {
19049 "tag": "body",
19050 "children": [
19051 {
19052 "tag": "select",
19053 "children": [
19054 {
19055 "tag": "template",
19056 "children": [
19057 {
19058 "content": true,
19059 "children": [
19060 {
19061 "tag": "option"
19062 }
19063 ]
19064 }
19065 ]
19066 }
19067 ]
19068 }
19069 ]
19070 }
19071 ]
19072 }
19073 ],
19074 "html": "<html><head></head><body><select><template><option></option></template></select></body></html>",
19075 "noQuirksBodyHtml": "<select><template><option></option></template></select>"
19076 }
19077 },
19078 {
19079 "data": "<template><option></option></select><option></option></template>",
19080 "errors": [
19081 "no doctype",
19082 "bad /select"
19083 ],
19084 "document": {
19085 "props": {
19086 "tags": {
19087 "html": true,
19088 "head": true,
19089 "template": true,
19090 "option": true,
19091 "body": true
19092 },
19093 "template": true
19094 },
19095 "tree": [
19096 {
19097 "tag": "html",
19098 "children": [
19099 {
19100 "tag": "head",
19101 "children": [
19102 {
19103 "tag": "template",
19104 "children": [
19105 {
19106 "content": true,
19107 "children": [
19108 {
19109 "tag": "option"
19110 },
19111 {
19112 "tag": "option"
19113 }
19114 ]
19115 }
19116 ]
19117 }
19118 ]
19119 },
19120 {
19121 "tag": "body"
19122 }
19123 ]
19124 }
19125 ],
19126 "html": "<html><head><template><option></option><option></option></template></head><body></body></html>",
19127 "noQuirksBodyHtml": "<template><option></option><option></option></template>"
19128 }
19129 },
19130 {
19131 "data": "<select><template></template><option></select>",
19132 "errors": [
19133 "no doctype"
19134 ],
19135 "document": {
19136 "props": {
19137 "tags": {
19138 "html": true,
19139 "head": true,
19140 "body": true,
19141 "select": true,
19142 "template": true,
19143 "option": true
19144 },
19145 "template": true
19146 },
19147 "tree": [
19148 {
19149 "tag": "html",
19150 "children": [
19151 {
19152 "tag": "head"
19153 },
19154 {
19155 "tag": "body",
19156 "children": [
19157 {
19158 "tag": "select",
19159 "children": [
19160 {
19161 "tag": "template",
19162 "children": [
19163 {
19164 "content": true
19165 }
19166 ]
19167 },
19168 {
19169 "tag": "option"
19170 }
19171 ]
19172 }
19173 ]
19174 }
19175 ]
19176 }
19177 ],
19178 "html": "<html><head></head><body><select><template></template><option></option></select></body></html>",
19179 "noQuirksBodyHtml": "<select><template></template><option></option></select>"
19180 }
19181 },
19182 {
19183 "data": "<select><option><template></template></select>",
19184 "errors": [
19185 "no doctype"
19186 ],
19187 "document": {
19188 "props": {
19189 "tags": {
19190 "html": true,
19191 "head": true,
19192 "body": true,
19193 "select": true,
19194 "option": true,
19195 "template": true
19196 },
19197 "template": true
19198 },
19199 "tree": [
19200 {
19201 "tag": "html",
19202 "children": [
19203 {
19204 "tag": "head"
19205 },
19206 {
19207 "tag": "body",
19208 "children": [
19209 {
19210 "tag": "select",
19211 "children": [
19212 {
19213 "tag": "option",
19214 "children": [
19215 {
19216 "tag": "template",
19217 "children": [
19218 {
19219 "content": true
19220 }
19221 ]
19222 }
19223 ]
19224 }
19225 ]
19226 }
19227 ]
19228 }
19229 ]
19230 }
19231 ],
19232 "html": "<html><head></head><body><select><option><template></template></option></select></body></html>",
19233 "noQuirksBodyHtml": "<select><option><template></template></option></select>"
19234 }
19235 },
19236 {
19237 "data": "<select><template>",
19238 "errors": [
19239 "no doctype",
19240 "eof in template",
19241 "eof in select"
19242 ],
19243 "document": {
19244 "props": {
19245 "tags": {
19246 "html": true,
19247 "head": true,
19248 "body": true,
19249 "select": true,
19250 "template": true
19251 },
19252 "template": true
19253 },
19254 "tree": [
19255 {
19256 "tag": "html",
19257 "children": [
19258 {
19259 "tag": "head"
19260 },
19261 {
19262 "tag": "body",
19263 "children": [
19264 {
19265 "tag": "select",
19266 "children": [
19267 {
19268 "tag": "template",
19269 "children": [
19270 {
19271 "content": true
19272 }
19273 ]
19274 }
19275 ]
19276 }
19277 ]
19278 }
19279 ]
19280 }
19281 ],
19282 "html": "<html><head></head><body><select><template></template></select></body></html>",
19283 "noQuirksBodyHtml": "<select><template></template></select>"
19284 }
19285 },
19286 {
19287 "data": "<select><option></option><template>",
19288 "errors": [
19289 "no doctype",
19290 "eof in template",
19291 "eof in select"
19292 ],
19293 "document": {
19294 "props": {
19295 "tags": {
19296 "html": true,
19297 "head": true,
19298 "body": true,
19299 "select": true,
19300 "option": true,
19301 "template": true
19302 },
19303 "template": true
19304 },
19305 "tree": [
19306 {
19307 "tag": "html",
19308 "children": [
19309 {
19310 "tag": "head"
19311 },
19312 {
19313 "tag": "body",
19314 "children": [
19315 {
19316 "tag": "select",
19317 "children": [
19318 {
19319 "tag": "option"
19320 },
19321 {
19322 "tag": "template",
19323 "children": [
19324 {
19325 "content": true
19326 }
19327 ]
19328 }
19329 ]
19330 }
19331 ]
19332 }
19333 ]
19334 }
19335 ],
19336 "html": "<html><head></head><body><select><option></option><template></template></select></body></html>",
19337 "noQuirksBodyHtml": "<select><option></option><template></template></select>"
19338 }
19339 },
19340 {
19341 "data": "<select><option></option><template><option>",
19342 "errors": [
19343 "no doctype",
19344 "eof in template",
19345 "eof in select"
19346 ],
19347 "document": {
19348 "props": {
19349 "tags": {
19350 "html": true,
19351 "head": true,
19352 "body": true,
19353 "select": true,
19354 "option": true,
19355 "template": true
19356 },
19357 "template": true
19358 },
19359 "tree": [
19360 {
19361 "tag": "html",
19362 "children": [
19363 {
19364 "tag": "head"
19365 },
19366 {
19367 "tag": "body",
19368 "children": [
19369 {
19370 "tag": "select",
19371 "children": [
19372 {
19373 "tag": "option"
19374 },
19375 {
19376 "tag": "template",
19377 "children": [
19378 {
19379 "content": true,
19380 "children": [
19381 {
19382 "tag": "option"
19383 }
19384 ]
19385 }
19386 ]
19387 }
19388 ]
19389 }
19390 ]
19391 }
19392 ]
19393 }
19394 ],
19395 "html": "<html><head></head><body><select><option></option><template><option></option></template></select></body></html>",
19396 "noQuirksBodyHtml": "<select><option></option><template><option></option></template></select>"
19397 }
19398 },
19399 {
19400 "data": "<table><thead><template><td></template></table>",
19401 "errors": [
19402 " * (1,8) missing DOCTYPE"
19403 ],
19404 "document": {
19405 "props": {
19406 "tags": {
19407 "html": true,
19408 "head": true,
19409 "body": true,
19410 "table": true,
19411 "thead": true,
19412 "template": true,
19413 "td": true
19414 },
19415 "template": true
19416 },
19417 "tree": [
19418 {
19419 "tag": "html",
19420 "children": [
19421 {
19422 "tag": "head"
19423 },
19424 {
19425 "tag": "body",
19426 "children": [
19427 {
19428 "tag": "table",
19429 "children": [
19430 {
19431 "tag": "thead",
19432 "children": [
19433 {
19434 "tag": "template",
19435 "children": [
19436 {
19437 "content": true,
19438 "children": [
19439 {
19440 "tag": "td"
19441 }
19442 ]
19443 }
19444 ]
19445 }
19446 ]
19447 }
19448 ]
19449 }
19450 ]
19451 }
19452 ]
19453 }
19454 ],
19455 "html": "<html><head></head><body><table><thead><template><td></td></template></thead></table></body></html>",
19456 "noQuirksBodyHtml": "<table><thead><template><td></td></template></thead></table>"
19457 }
19458 },
19459 {
19460 "data": "<table><template><thead></template></table>",
19461 "errors": [
19462 "no doctype"
19463 ],
19464 "document": {
19465 "props": {
19466 "tags": {
19467 "html": true,
19468 "head": true,
19469 "body": true,
19470 "table": true,
19471 "template": true,
19472 "thead": true
19473 },
19474 "template": true
19475 },
19476 "tree": [
19477 {
19478 "tag": "html",
19479 "children": [
19480 {
19481 "tag": "head"
19482 },
19483 {
19484 "tag": "body",
19485 "children": [
19486 {
19487 "tag": "table",
19488 "children": [
19489 {
19490 "tag": "template",
19491 "children": [
19492 {
19493 "content": true,
19494 "children": [
19495 {
19496 "tag": "thead"
19497 }
19498 ]
19499 }
19500 ]
19501 }
19502 ]
19503 }
19504 ]
19505 }
19506 ]
19507 }
19508 ],
19509 "html": "<html><head></head><body><table><template><thead></thead></template></table></body></html>",
19510 "noQuirksBodyHtml": "<table><template><thead></thead></template></table>"
19511 }
19512 },
19513 {
19514 "data": "<body><table><template><td></tr><div></template></table>",
19515 "errors": [
19516 "no doctype",
19517 "bad </tr>",
19518 "missing </div>"
19519 ],
19520 "document": {
19521 "props": {
19522 "tags": {
19523 "html": true,
19524 "head": true,
19525 "body": true,
19526 "table": true,
19527 "template": true,
19528 "td": true,
19529 "div": true
19530 },
19531 "template": true
19532 },
19533 "tree": [
19534 {
19535 "tag": "html",
19536 "children": [
19537 {
19538 "tag": "head"
19539 },
19540 {
19541 "tag": "body",
19542 "children": [
19543 {
19544 "tag": "table",
19545 "children": [
19546 {
19547 "tag": "template",
19548 "children": [
19549 {
19550 "content": true,
19551 "children": [
19552 {
19553 "tag": "td",
19554 "children": [
19555 {
19556 "tag": "div"
19557 }
19558 ]
19559 }
19560 ]
19561 }
19562 ]
19563 }
19564 ]
19565 }
19566 ]
19567 }
19568 ]
19569 }
19570 ],
19571 "html": "<html><head></head><body><table><template><td><div></div></td></template></table></body></html>",
19572 "noQuirksBodyHtml": "<table><template><td><div></div></td></template></table>"
19573 }
19574 },
19575 {
19576 "data": "<table><template><thead></template></thead></table>",
19577 "errors": [
19578 "no doctype",
19579 "bad /thead after /template"
19580 ],
19581 "document": {
19582 "props": {
19583 "tags": {
19584 "html": true,
19585 "head": true,
19586 "body": true,
19587 "table": true,
19588 "template": true,
19589 "thead": true
19590 },
19591 "template": true
19592 },
19593 "tree": [
19594 {
19595 "tag": "html",
19596 "children": [
19597 {
19598 "tag": "head"
19599 },
19600 {
19601 "tag": "body",
19602 "children": [
19603 {
19604 "tag": "table",
19605 "children": [
19606 {
19607 "tag": "template",
19608 "children": [
19609 {
19610 "content": true,
19611 "children": [
19612 {
19613 "tag": "thead"
19614 }
19615 ]
19616 }
19617 ]
19618 }
19619 ]
19620 }
19621 ]
19622 }
19623 ]
19624 }
19625 ],
19626 "html": "<html><head></head><body><table><template><thead></thead></template></table></body></html>",
19627 "noQuirksBodyHtml": "<table><template><thead></thead></template></table>"
19628 }
19629 },
19630 {
19631 "data": "<table><thead><template><tr></template></table>",
19632 "errors": [
19633 "no doctype"
19634 ],
19635 "document": {
19636 "props": {
19637 "tags": {
19638 "html": true,
19639 "head": true,
19640 "body": true,
19641 "table": true,
19642 "thead": true,
19643 "template": true,
19644 "tr": true
19645 },
19646 "template": true
19647 },
19648 "tree": [
19649 {
19650 "tag": "html",
19651 "children": [
19652 {
19653 "tag": "head"
19654 },
19655 {
19656 "tag": "body",
19657 "children": [
19658 {
19659 "tag": "table",
19660 "children": [
19661 {
19662 "tag": "thead",
19663 "children": [
19664 {
19665 "tag": "template",
19666 "children": [
19667 {
19668 "content": true,
19669 "children": [
19670 {
19671 "tag": "tr"
19672 }
19673 ]
19674 }
19675 ]
19676 }
19677 ]
19678 }
19679 ]
19680 }
19681 ]
19682 }
19683 ]
19684 }
19685 ],
19686 "html": "<html><head></head><body><table><thead><template><tr></tr></template></thead></table></body></html>",
19687 "noQuirksBodyHtml": "<table><thead><template><tr></tr></template></thead></table>"
19688 }
19689 },
19690 {
19691 "data": "<table><template><tr></template></table>",
19692 "errors": [
19693 "no doctype"
19694 ],
19695 "document": {
19696 "props": {
19697 "tags": {
19698 "html": true,
19699 "head": true,
19700 "body": true,
19701 "table": true,
19702 "template": true,
19703 "tr": true
19704 },
19705 "template": true
19706 },
19707 "tree": [
19708 {
19709 "tag": "html",
19710 "children": [
19711 {
19712 "tag": "head"
19713 },
19714 {
19715 "tag": "body",
19716 "children": [
19717 {
19718 "tag": "table",
19719 "children": [
19720 {
19721 "tag": "template",
19722 "children": [
19723 {
19724 "content": true,
19725 "children": [
19726 {
19727 "tag": "tr"
19728 }
19729 ]
19730 }
19731 ]
19732 }
19733 ]
19734 }
19735 ]
19736 }
19737 ]
19738 }
19739 ],
19740 "html": "<html><head></head><body><table><template><tr></tr></template></table></body></html>",
19741 "noQuirksBodyHtml": "<table><template><tr></tr></template></table>"
19742 }
19743 },
19744 {
19745 "data": "<table><tr><template><td>",
19746 "errors": [
19747 "no doctype",
19748 "eof in template",
19749 "eof in table"
19750 ],
19751 "document": {
19752 "props": {
19753 "tags": {
19754 "html": true,
19755 "head": true,
19756 "body": true,
19757 "table": true,
19758 "tbody": true,
19759 "tr": true,
19760 "template": true,
19761 "td": true
19762 },
19763 "template": true
19764 },
19765 "tree": [
19766 {
19767 "tag": "html",
19768 "children": [
19769 {
19770 "tag": "head"
19771 },
19772 {
19773 "tag": "body",
19774 "children": [
19775 {
19776 "tag": "table",
19777 "children": [
19778 {
19779 "tag": "tbody",
19780 "children": [
19781 {
19782 "tag": "tr",
19783 "children": [
19784 {
19785 "tag": "template",
19786 "children": [
19787 {
19788 "content": true,
19789 "children": [
19790 {
19791 "tag": "td"
19792 }
19793 ]
19794 }
19795 ]
19796 }
19797 ]
19798 }
19799 ]
19800 }
19801 ]
19802 }
19803 ]
19804 }
19805 ]
19806 }
19807 ],
19808 "html": "<html><head></head><body><table><tbody><tr><template><td></td></template></tr></tbody></table></body></html>",
19809 "noQuirksBodyHtml": "<table><tbody><tr><template><td></td></template></tr></tbody></table>"
19810 }
19811 },
19812 {
19813 "data": "<table><template><tr><template><td></template></tr></template></table>",
19814 "errors": [
19815 "no doctype"
19816 ],
19817 "document": {
19818 "props": {
19819 "tags": {
19820 "html": true,
19821 "head": true,
19822 "body": true,
19823 "table": true,
19824 "template": true,
19825 "tr": true,
19826 "td": true
19827 },
19828 "template": true
19829 },
19830 "tree": [
19831 {
19832 "tag": "html",
19833 "children": [
19834 {
19835 "tag": "head"
19836 },
19837 {
19838 "tag": "body",
19839 "children": [
19840 {
19841 "tag": "table",
19842 "children": [
19843 {
19844 "tag": "template",
19845 "children": [
19846 {
19847 "content": true,
19848 "children": [
19849 {
19850 "tag": "tr",
19851 "children": [
19852 {
19853 "tag": "template",
19854 "children": [
19855 {
19856 "content": true,
19857 "children": [
19858 {
19859 "tag": "td"
19860 }
19861 ]
19862 }
19863 ]
19864 }
19865 ]
19866 }
19867 ]
19868 }
19869 ]
19870 }
19871 ]
19872 }
19873 ]
19874 }
19875 ]
19876 }
19877 ],
19878 "html": "<html><head></head><body><table><template><tr><template><td></td></template></tr></template></table></body></html>",
19879 "noQuirksBodyHtml": "<table><template><tr><template><td></td></template></tr></template></table>"
19880 }
19881 },
19882 {
19883 "data": "<table><template><tr><template><td></td></template></tr></template></table>",
19884 "errors": [
19885 "no doctype"
19886 ],
19887 "document": {
19888 "props": {
19889 "tags": {
19890 "html": true,
19891 "head": true,
19892 "body": true,
19893 "table": true,
19894 "template": true,
19895 "tr": true,
19896 "td": true
19897 },
19898 "template": true
19899 },
19900 "tree": [
19901 {
19902 "tag": "html",
19903 "children": [
19904 {
19905 "tag": "head"
19906 },
19907 {
19908 "tag": "body",
19909 "children": [
19910 {
19911 "tag": "table",
19912 "children": [
19913 {
19914 "tag": "template",
19915 "children": [
19916 {
19917 "content": true,
19918 "children": [
19919 {
19920 "tag": "tr",
19921 "children": [
19922 {
19923 "tag": "template",
19924 "children": [
19925 {
19926 "content": true,
19927 "children": [
19928 {
19929 "tag": "td"
19930 }
19931 ]
19932 }
19933 ]
19934 }
19935 ]
19936 }
19937 ]
19938 }
19939 ]
19940 }
19941 ]
19942 }
19943 ]
19944 }
19945 ]
19946 }
19947 ],
19948 "html": "<html><head></head><body><table><template><tr><template><td></td></template></tr></template></table></body></html>",
19949 "noQuirksBodyHtml": "<table><template><tr><template><td></td></template></tr></template></table>"
19950 }
19951 },
19952 {
19953 "data": "<table><template><td></template>",
19954 "errors": [
19955 "no doctype",
19956 "eof in table"
19957 ],
19958 "document": {
19959 "props": {
19960 "tags": {
19961 "html": true,
19962 "head": true,
19963 "body": true,
19964 "table": true,
19965 "template": true,
19966 "td": true
19967 },
19968 "template": true
19969 },
19970 "tree": [
19971 {
19972 "tag": "html",
19973 "children": [
19974 {
19975 "tag": "head"
19976 },
19977 {
19978 "tag": "body",
19979 "children": [
19980 {
19981 "tag": "table",
19982 "children": [
19983 {
19984 "tag": "template",
19985 "children": [
19986 {
19987 "content": true,
19988 "children": [
19989 {
19990 "tag": "td"
19991 }
19992 ]
19993 }
19994 ]
19995 }
19996 ]
19997 }
19998 ]
19999 }
20000 ]
20001 }
20002 ],
20003 "html": "<html><head></head><body><table><template><td></td></template></table></body></html>",
20004 "noQuirksBodyHtml": "<table><template><td></td></template></table>"
20005 }
20006 },
20007 {
20008 "data": "<body><template><td></td></template>",
20009 "errors": [
20010 "no doctype"
20011 ],
20012 "document": {
20013 "props": {
20014 "tags": {
20015 "html": true,
20016 "head": true,
20017 "body": true,
20018 "template": true,
20019 "td": true
20020 },
20021 "template": true
20022 },
20023 "tree": [
20024 {
20025 "tag": "html",
20026 "children": [
20027 {
20028 "tag": "head"
20029 },
20030 {
20031 "tag": "body",
20032 "children": [
20033 {
20034 "tag": "template",
20035 "children": [
20036 {
20037 "content": true,
20038 "children": [
20039 {
20040 "tag": "td"
20041 }
20042 ]
20043 }
20044 ]
20045 }
20046 ]
20047 }
20048 ]
20049 }
20050 ],
20051 "html": "<html><head></head><body><template><td></td></template></body></html>",
20052 "noQuirksBodyHtml": "<template><td></td></template>"
20053 }
20054 },
20055 {
20056 "data": "<body><template><template><tr></tr></template><td></td></template>",
20057 "errors": [
20058 "no doctype"
20059 ],
20060 "document": {
20061 "props": {
20062 "tags": {
20063 "html": true,
20064 "head": true,
20065 "body": true,
20066 "template": true,
20067 "tr": true,
20068 "td": true
20069 },
20070 "template": true
20071 },
20072 "tree": [
20073 {
20074 "tag": "html",
20075 "children": [
20076 {
20077 "tag": "head"
20078 },
20079 {
20080 "tag": "body",
20081 "children": [
20082 {
20083 "tag": "template",
20084 "children": [
20085 {
20086 "content": true,
20087 "children": [
20088 {
20089 "tag": "template",
20090 "children": [
20091 {
20092 "content": true,
20093 "children": [
20094 {
20095 "tag": "tr"
20096 }
20097 ]
20098 }
20099 ]
20100 },
20101 {
20102 "tag": "td"
20103 }
20104 ]
20105 }
20106 ]
20107 }
20108 ]
20109 }
20110 ]
20111 }
20112 ],
20113 "html": "<html><head></head><body><template><template><tr></tr></template><td></td></template></body></html>",
20114 "noQuirksBodyHtml": "<template><template><tr></tr></template><td></td></template>"
20115 }
20116 },
20117 {
20118 "data": "<table><colgroup><template><col>",
20119 "errors": [
20120 "no doctype",
20121 "eof in template",
20122 "eof in table"
20123 ],
20124 "document": {
20125 "props": {
20126 "tags": {
20127 "html": true,
20128 "head": true,
20129 "body": true,
20130 "table": true,
20131 "colgroup": true,
20132 "template": true,
20133 "col": true
20134 },
20135 "template": true
20136 },
20137 "tree": [
20138 {
20139 "tag": "html",
20140 "children": [
20141 {
20142 "tag": "head"
20143 },
20144 {
20145 "tag": "body",
20146 "children": [
20147 {
20148 "tag": "table",
20149 "children": [
20150 {
20151 "tag": "colgroup",
20152 "children": [
20153 {
20154 "tag": "template",
20155 "children": [
20156 {
20157 "content": true,
20158 "children": [
20159 {
20160 "tag": "col"
20161 }
20162 ]
20163 }
20164 ]
20165 }
20166 ]
20167 }
20168 ]
20169 }
20170 ]
20171 }
20172 ]
20173 }
20174 ],
20175 "html": "<html><head></head><body><table><colgroup><template><col></template></colgroup></table></body></html>",
20176 "noQuirksBodyHtml": "<table><colgroup><template><col></template></colgroup></table>"
20177 }
20178 },
20179 {
20180 "data": "<frameset><template><frame></frame></template></frameset>",
20181 "errors": [
20182 " * (1,11) missing DOCTYPE",
20183 " * (1,21) unexpected start tag token",
20184 " * (1,36) unexpected end tag token",
20185 " * (1,47) unexpected end tag token"
20186 ],
20187 "document": {
20188 "props": {
20189 "tags": {
20190 "html": true,
20191 "head": true,
20192 "frameset": true,
20193 "frame": true
20194 }
20195 },
20196 "tree": [
20197 {
20198 "tag": "html",
20199 "children": [
20200 {
20201 "tag": "head"
20202 },
20203 {
20204 "tag": "frameset",
20205 "children": [
20206 {
20207 "tag": "frame"
20208 }
20209 ]
20210 }
20211 ]
20212 }
20213 ],
20214 "html": "<html><head></head><frameset><frame></frameset></html>",
20215 "noQuirksBodyHtml": "<template></template>"
20216 }
20217 },
20218 {
20219 "data": "<template><frame></frame></frameset><frame></frame></template>",
20220 "errors": [
20221 " * (1,11) missing DOCTYPE",
20222 " * (1,18) unexpected start tag",
20223 " * (1,26) unexpected end tag",
20224 " * (1,37) unexpected end tag",
20225 " * (1,44) unexpected start tag",
20226 " * (1,52) unexpected end tag"
20227 ],
20228 "document": {
20229 "props": {
20230 "tags": {
20231 "html": true,
20232 "head": true,
20233 "template": true,
20234 "body": true
20235 },
20236 "template": true
20237 },
20238 "tree": [
20239 {
20240 "tag": "html",
20241 "children": [
20242 {
20243 "tag": "head",
20244 "children": [
20245 {
20246 "tag": "template",
20247 "children": [
20248 {
20249 "content": true
20250 }
20251 ]
20252 }
20253 ]
20254 },
20255 {
20256 "tag": "body"
20257 }
20258 ]
20259 }
20260 ],
20261 "html": "<html><head><template></template></head><body></body></html>",
20262 "noQuirksBodyHtml": "<template></template>"
20263 }
20264 },
20265 {
20266 "data": "<template><div><frameset><span></span></div><span></span></template>",
20267 "errors": [
20268 "no doctype",
20269 "bad frameset"
20270 ],
20271 "document": {
20272 "props": {
20273 "tags": {
20274 "html": true,
20275 "head": true,
20276 "template": true,
20277 "div": true,
20278 "span": true,
20279 "body": true
20280 },
20281 "template": true
20282 },
20283 "tree": [
20284 {
20285 "tag": "html",
20286 "children": [
20287 {
20288 "tag": "head",
20289 "children": [
20290 {
20291 "tag": "template",
20292 "children": [
20293 {
20294 "content": true,
20295 "children": [
20296 {
20297 "tag": "div",
20298 "children": [
20299 {
20300 "tag": "span"
20301 }
20302 ]
20303 },
20304 {
20305 "tag": "span"
20306 }
20307 ]
20308 }
20309 ]
20310 }
20311 ]
20312 },
20313 {
20314 "tag": "body"
20315 }
20316 ]
20317 }
20318 ],
20319 "html": "<html><head><template><div><span></span></div><span></span></template></head><body></body></html>",
20320 "noQuirksBodyHtml": "<template><div><span></span></div><span></span></template>"
20321 }
20322 },
20323 {
20324 "data": "<body><template><div><frameset><span></span></div><span></span></template></body>",
20325 "errors": [
20326 "no doctype",
20327 "bad frameset"
20328 ],
20329 "document": {
20330 "props": {
20331 "tags": {
20332 "html": true,
20333 "head": true,
20334 "body": true,
20335 "template": true,
20336 "div": true,
20337 "span": true
20338 },
20339 "template": true
20340 },
20341 "tree": [
20342 {
20343 "tag": "html",
20344 "children": [
20345 {
20346 "tag": "head"
20347 },
20348 {
20349 "tag": "body",
20350 "children": [
20351 {
20352 "tag": "template",
20353 "children": [
20354 {
20355 "content": true,
20356 "children": [
20357 {
20358 "tag": "div",
20359 "children": [
20360 {
20361 "tag": "span"
20362 }
20363 ]
20364 },
20365 {
20366 "tag": "span"
20367 }
20368 ]
20369 }
20370 ]
20371 }
20372 ]
20373 }
20374 ]
20375 }
20376 ],
20377 "html": "<html><head></head><body><template><div><span></span></div><span></span></template></body></html>",
20378 "noQuirksBodyHtml": "<template><div><span></span></div><span></span></template>"
20379 }
20380 },
20381 {
20382 "data": "<body><template><script>var i = 1;</script><td></td></template>",
20383 "errors": [
20384 "no doctype"
20385 ],
20386 "document": {
20387 "props": {
20388 "tags": {
20389 "html": true,
20390 "head": true,
20391 "body": true,
20392 "template": true,
20393 "script": true,
20394 "td": true
20395 },
20396 "template": true,
20397 "no_escape": true
20398 },
20399 "tree": [
20400 {
20401 "tag": "html",
20402 "children": [
20403 {
20404 "tag": "head"
20405 },
20406 {
20407 "tag": "body",
20408 "children": [
20409 {
20410 "tag": "template",
20411 "children": [
20412 {
20413 "content": true,
20414 "children": [
20415 {
20416 "tag": "script",
20417 "children": [
20418 {
20419 "text": "var i = 1;",
20420 "no_escape": true
20421 }
20422 ]
20423 },
20424 {
20425 "tag": "td"
20426 }
20427 ]
20428 }
20429 ]
20430 }
20431 ]
20432 }
20433 ]
20434 }
20435 ],
20436 "html": "<html><head></head><body><template><script>var i = 1;</script><td></td></template></body></html>",
20437 "noQuirksBodyHtml": "<template><script>var i = 1;</script><td></td></template>"
20438 }
20439 },
20440 {
20441 "data": "<body><template><tr><div></div></tr></template>",
20442 "errors": [
20443 "no doctype",
20444 "foster-parented div",
20445 "foster-parented /div"
20446 ],
20447 "document": {
20448 "props": {
20449 "tags": {
20450 "html": true,
20451 "head": true,
20452 "body": true,
20453 "template": true,
20454 "tr": true,
20455 "div": true
20456 },
20457 "template": true
20458 },
20459 "tree": [
20460 {
20461 "tag": "html",
20462 "children": [
20463 {
20464 "tag": "head"
20465 },
20466 {
20467 "tag": "body",
20468 "children": [
20469 {
20470 "tag": "template",
20471 "children": [
20472 {
20473 "content": true,
20474 "children": [
20475 {
20476 "tag": "tr"
20477 },
20478 {
20479 "tag": "div"
20480 }
20481 ]
20482 }
20483 ]
20484 }
20485 ]
20486 }
20487 ]
20488 }
20489 ],
20490 "html": "<html><head></head><body><template><tr></tr><div></div></template></body></html>",
20491 "noQuirksBodyHtml": "<template><tr></tr><div></div></template>"
20492 }
20493 },
20494 {
20495 "data": "<body><template><tr></tr><td></td></template>",
20496 "errors": [
20497 "no doctype",
20498 "unexpected <td>"
20499 ],
20500 "document": {
20501 "props": {
20502 "tags": {
20503 "html": true,
20504 "head": true,
20505 "body": true,
20506 "template": true,
20507 "tr": true,
20508 "td": true
20509 },
20510 "template": true
20511 },
20512 "tree": [
20513 {
20514 "tag": "html",
20515 "children": [
20516 {
20517 "tag": "head"
20518 },
20519 {
20520 "tag": "body",
20521 "children": [
20522 {
20523 "tag": "template",
20524 "children": [
20525 {
20526 "content": true,
20527 "children": [
20528 {
20529 "tag": "tr"
20530 },
20531 {
20532 "tag": "tr",
20533 "children": [
20534 {
20535 "tag": "td"
20536 }
20537 ]
20538 }
20539 ]
20540 }
20541 ]
20542 }
20543 ]
20544 }
20545 ]
20546 }
20547 ],
20548 "html": "<html><head></head><body><template><tr></tr><tr><td></td></tr></template></body></html>",
20549 "noQuirksBodyHtml": "<template><tr></tr><tr><td></td></tr></template>"
20550 }
20551 },
20552 {
20553 "data": "<body><template><td></td></tr><td></td></template>",
20554 "errors": [
20555 "no doctype",
20556 "bad </tr>"
20557 ],
20558 "document": {
20559 "props": {
20560 "tags": {
20561 "html": true,
20562 "head": true,
20563 "body": true,
20564 "template": true,
20565 "td": true
20566 },
20567 "template": true
20568 },
20569 "tree": [
20570 {
20571 "tag": "html",
20572 "children": [
20573 {
20574 "tag": "head"
20575 },
20576 {
20577 "tag": "body",
20578 "children": [
20579 {
20580 "tag": "template",
20581 "children": [
20582 {
20583 "content": true,
20584 "children": [
20585 {
20586 "tag": "td"
20587 },
20588 {
20589 "tag": "td"
20590 }
20591 ]
20592 }
20593 ]
20594 }
20595 ]
20596 }
20597 ]
20598 }
20599 ],
20600 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
20601 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
20602 }
20603 },
20604 {
20605 "data": "<body><template><td></td><tbody><td></td></template>",
20606 "errors": [
20607 "no doctype",
20608 "bad <tbody>"
20609 ],
20610 "document": {
20611 "props": {
20612 "tags": {
20613 "html": true,
20614 "head": true,
20615 "body": true,
20616 "template": true,
20617 "td": true
20618 },
20619 "template": true
20620 },
20621 "tree": [
20622 {
20623 "tag": "html",
20624 "children": [
20625 {
20626 "tag": "head"
20627 },
20628 {
20629 "tag": "body",
20630 "children": [
20631 {
20632 "tag": "template",
20633 "children": [
20634 {
20635 "content": true,
20636 "children": [
20637 {
20638 "tag": "td"
20639 },
20640 {
20641 "tag": "td"
20642 }
20643 ]
20644 }
20645 ]
20646 }
20647 ]
20648 }
20649 ]
20650 }
20651 ],
20652 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
20653 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
20654 }
20655 },
20656 {
20657 "data": "<body><template><td></td><caption></caption><td></td></template>",
20658 "errors": [
20659 " * (1,7) missing DOCTYPE",
20660 " * (1,35) unexpected start tag in table row",
20661 " * (1,45) unexpected end tag in table row"
20662 ],
20663 "document": {
20664 "props": {
20665 "tags": {
20666 "html": true,
20667 "head": true,
20668 "body": true,
20669 "template": true,
20670 "td": true
20671 },
20672 "template": true
20673 },
20674 "tree": [
20675 {
20676 "tag": "html",
20677 "children": [
20678 {
20679 "tag": "head"
20680 },
20681 {
20682 "tag": "body",
20683 "children": [
20684 {
20685 "tag": "template",
20686 "children": [
20687 {
20688 "content": true,
20689 "children": [
20690 {
20691 "tag": "td"
20692 },
20693 {
20694 "tag": "td"
20695 }
20696 ]
20697 }
20698 ]
20699 }
20700 ]
20701 }
20702 ]
20703 }
20704 ],
20705 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
20706 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
20707 }
20708 },
20709 {
20710 "data": "<body><template><td></td><colgroup></caption><td></td></template>",
20711 "errors": [
20712 " * (1,7) missing DOCTYPE",
20713 " * (1,36) unexpected start tag in table row",
20714 " * (1,46) unexpected end tag in table row"
20715 ],
20716 "document": {
20717 "props": {
20718 "tags": {
20719 "html": true,
20720 "head": true,
20721 "body": true,
20722 "template": true,
20723 "td": true
20724 },
20725 "template": true
20726 },
20727 "tree": [
20728 {
20729 "tag": "html",
20730 "children": [
20731 {
20732 "tag": "head"
20733 },
20734 {
20735 "tag": "body",
20736 "children": [
20737 {
20738 "tag": "template",
20739 "children": [
20740 {
20741 "content": true,
20742 "children": [
20743 {
20744 "tag": "td"
20745 },
20746 {
20747 "tag": "td"
20748 }
20749 ]
20750 }
20751 ]
20752 }
20753 ]
20754 }
20755 ]
20756 }
20757 ],
20758 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
20759 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
20760 }
20761 },
20762 {
20763 "data": "<body><template><td></td></table><td></td></template>",
20764 "errors": [
20765 "no doctype",
20766 "bad </table>"
20767 ],
20768 "document": {
20769 "props": {
20770 "tags": {
20771 "html": true,
20772 "head": true,
20773 "body": true,
20774 "template": true,
20775 "td": true
20776 },
20777 "template": true
20778 },
20779 "tree": [
20780 {
20781 "tag": "html",
20782 "children": [
20783 {
20784 "tag": "head"
20785 },
20786 {
20787 "tag": "body",
20788 "children": [
20789 {
20790 "tag": "template",
20791 "children": [
20792 {
20793 "content": true,
20794 "children": [
20795 {
20796 "tag": "td"
20797 },
20798 {
20799 "tag": "td"
20800 }
20801 ]
20802 }
20803 ]
20804 }
20805 ]
20806 }
20807 ]
20808 }
20809 ],
20810 "html": "<html><head></head><body><template><td></td><td></td></template></body></html>",
20811 "noQuirksBodyHtml": "<template><td></td><td></td></template>"
20812 }
20813 },
20814 {
20815 "data": "<body><template><tr></tr><tbody><tr></tr></template>",
20816 "errors": [
20817 "no doctype",
20818 "bad <tbody>"
20819 ],
20820 "document": {
20821 "props": {
20822 "tags": {
20823 "html": true,
20824 "head": true,
20825 "body": true,
20826 "template": true,
20827 "tr": true
20828 },
20829 "template": true
20830 },
20831 "tree": [
20832 {
20833 "tag": "html",
20834 "children": [
20835 {
20836 "tag": "head"
20837 },
20838 {
20839 "tag": "body",
20840 "children": [
20841 {
20842 "tag": "template",
20843 "children": [
20844 {
20845 "content": true,
20846 "children": [
20847 {
20848 "tag": "tr"
20849 },
20850 {
20851 "tag": "tr"
20852 }
20853 ]
20854 }
20855 ]
20856 }
20857 ]
20858 }
20859 ]
20860 }
20861 ],
20862 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
20863 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
20864 }
20865 },
20866 {
20867 "data": "<body><template><tr></tr><caption><tr></tr></template>",
20868 "errors": [
20869 "no doctype",
20870 "bad <caption>"
20871 ],
20872 "document": {
20873 "props": {
20874 "tags": {
20875 "html": true,
20876 "head": true,
20877 "body": true,
20878 "template": true,
20879 "tr": true
20880 },
20881 "template": true
20882 },
20883 "tree": [
20884 {
20885 "tag": "html",
20886 "children": [
20887 {
20888 "tag": "head"
20889 },
20890 {
20891 "tag": "body",
20892 "children": [
20893 {
20894 "tag": "template",
20895 "children": [
20896 {
20897 "content": true,
20898 "children": [
20899 {
20900 "tag": "tr"
20901 },
20902 {
20903 "tag": "tr"
20904 }
20905 ]
20906 }
20907 ]
20908 }
20909 ]
20910 }
20911 ]
20912 }
20913 ],
20914 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
20915 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
20916 }
20917 },
20918 {
20919 "data": "<body><template><tr></tr></table><tr></tr></template>",
20920 "errors": [
20921 "no doctype",
20922 "bad </table>"
20923 ],
20924 "document": {
20925 "props": {
20926 "tags": {
20927 "html": true,
20928 "head": true,
20929 "body": true,
20930 "template": true,
20931 "tr": true
20932 },
20933 "template": true
20934 },
20935 "tree": [
20936 {
20937 "tag": "html",
20938 "children": [
20939 {
20940 "tag": "head"
20941 },
20942 {
20943 "tag": "body",
20944 "children": [
20945 {
20946 "tag": "template",
20947 "children": [
20948 {
20949 "content": true,
20950 "children": [
20951 {
20952 "tag": "tr"
20953 },
20954 {
20955 "tag": "tr"
20956 }
20957 ]
20958 }
20959 ]
20960 }
20961 ]
20962 }
20963 ]
20964 }
20965 ],
20966 "html": "<html><head></head><body><template><tr></tr><tr></tr></template></body></html>",
20967 "noQuirksBodyHtml": "<template><tr></tr><tr></tr></template>"
20968 }
20969 },
20970 {
20971 "data": "<body><template><thead></thead><caption></caption><tbody></tbody></template>",
20972 "errors": [
20973 "no doctype"
20974 ],
20975 "document": {
20976 "props": {
20977 "tags": {
20978 "html": true,
20979 "head": true,
20980 "body": true,
20981 "template": true,
20982 "thead": true,
20983 "caption": true,
20984 "tbody": true
20985 },
20986 "template": true
20987 },
20988 "tree": [
20989 {
20990 "tag": "html",
20991 "children": [
20992 {
20993 "tag": "head"
20994 },
20995 {
20996 "tag": "body",
20997 "children": [
20998 {
20999 "tag": "template",
21000 "children": [
21001 {
21002 "content": true,
21003 "children": [
21004 {
21005 "tag": "thead"
21006 },
21007 {
21008 "tag": "caption"
21009 },
21010 {
21011 "tag": "tbody"
21012 }
21013 ]
21014 }
21015 ]
21016 }
21017 ]
21018 }
21019 ]
21020 }
21021 ],
21022 "html": "<html><head></head><body><template><thead></thead><caption></caption><tbody></tbody></template></body></html>",
21023 "noQuirksBodyHtml": "<template><thead></thead><caption></caption><tbody></tbody></template>"
21024 }
21025 },
21026 {
21027 "data": "<body><template><thead></thead></table><tbody></tbody></template></body>",
21028 "errors": [
21029 "no doctype",
21030 "bad </table>"
21031 ],
21032 "document": {
21033 "props": {
21034 "tags": {
21035 "html": true,
21036 "head": true,
21037 "body": true,
21038 "template": true,
21039 "thead": true,
21040 "tbody": true
21041 },
21042 "template": true
21043 },
21044 "tree": [
21045 {
21046 "tag": "html",
21047 "children": [
21048 {
21049 "tag": "head"
21050 },
21051 {
21052 "tag": "body",
21053 "children": [
21054 {
21055 "tag": "template",
21056 "children": [
21057 {
21058 "content": true,
21059 "children": [
21060 {
21061 "tag": "thead"
21062 },
21063 {
21064 "tag": "tbody"
21065 }
21066 ]
21067 }
21068 ]
21069 }
21070 ]
21071 }
21072 ]
21073 }
21074 ],
21075 "html": "<html><head></head><body><template><thead></thead><tbody></tbody></template></body></html>",
21076 "noQuirksBodyHtml": "<template><thead></thead><tbody></tbody></template>"
21077 }
21078 },
21079 {
21080 "data": "<body><template><div><tr></tr></div></template>",
21081 "errors": [
21082 "no doctype",
21083 "bad tr",
21084 "bad /tr"
21085 ],
21086 "document": {
21087 "props": {
21088 "tags": {
21089 "html": true,
21090 "head": true,
21091 "body": true,
21092 "template": true,
21093 "div": true
21094 },
21095 "template": true
21096 },
21097 "tree": [
21098 {
21099 "tag": "html",
21100 "children": [
21101 {
21102 "tag": "head"
21103 },
21104 {
21105 "tag": "body",
21106 "children": [
21107 {
21108 "tag": "template",
21109 "children": [
21110 {
21111 "content": true,
21112 "children": [
21113 {
21114 "tag": "div"
21115 }
21116 ]
21117 }
21118 ]
21119 }
21120 ]
21121 }
21122 ]
21123 }
21124 ],
21125 "html": "<html><head></head><body><template><div></div></template></body></html>",
21126 "noQuirksBodyHtml": "<template><div></div></template>"
21127 }
21128 },
21129 {
21130 "data": "<body><template><em>Hello</em></template>",
21131 "errors": [
21132 "no doctype"
21133 ],
21134 "document": {
21135 "props": {
21136 "tags": {
21137 "html": true,
21138 "head": true,
21139 "body": true,
21140 "template": true,
21141 "em": true
21142 },
21143 "template": true
21144 },
21145 "tree": [
21146 {
21147 "tag": "html",
21148 "children": [
21149 {
21150 "tag": "head"
21151 },
21152 {
21153 "tag": "body",
21154 "children": [
21155 {
21156 "tag": "template",
21157 "children": [
21158 {
21159 "content": true,
21160 "children": [
21161 {
21162 "tag": "em",
21163 "children": [
21164 {
21165 "text": "Hello"
21166 }
21167 ]
21168 }
21169 ]
21170 }
21171 ]
21172 }
21173 ]
21174 }
21175 ]
21176 }
21177 ],
21178 "html": "<html><head></head><body><template><em>Hello</em></template></body></html>",
21179 "noQuirksBodyHtml": "<template><em>Hello</em></template>"
21180 }
21181 },
21182 {
21183 "data": "<body><template><!--comment--></template>",
21184 "errors": [
21185 "no doctype"
21186 ],
21187 "document": {
21188 "props": {
21189 "tags": {
21190 "html": true,
21191 "head": true,
21192 "body": true,
21193 "template": true
21194 },
21195 "template": true,
21196 "comment": true
21197 },
21198 "tree": [
21199 {
21200 "tag": "html",
21201 "children": [
21202 {
21203 "tag": "head"
21204 },
21205 {
21206 "tag": "body",
21207 "children": [
21208 {
21209 "tag": "template",
21210 "children": [
21211 {
21212 "content": true,
21213 "children": [
21214 {
21215 "comment": "comment"
21216 }
21217 ]
21218 }
21219 ]
21220 }
21221 ]
21222 }
21223 ]
21224 }
21225 ],
21226 "html": "<html><head></head><body><template><!--comment--></template></body></html>",
21227 "noQuirksBodyHtml": "<template><!--comment--></template>"
21228 }
21229 },
21230 {
21231 "data": "<body><template><style></style><td></td></template>",
21232 "errors": [
21233 "no doctype"
21234 ],
21235 "document": {
21236 "props": {
21237 "tags": {
21238 "html": true,
21239 "head": true,
21240 "body": true,
21241 "template": true,
21242 "style": true,
21243 "td": true
21244 },
21245 "template": true
21246 },
21247 "tree": [
21248 {
21249 "tag": "html",
21250 "children": [
21251 {
21252 "tag": "head"
21253 },
21254 {
21255 "tag": "body",
21256 "children": [
21257 {
21258 "tag": "template",
21259 "children": [
21260 {
21261 "content": true,
21262 "children": [
21263 {
21264 "tag": "style"
21265 },
21266 {
21267 "tag": "td"
21268 }
21269 ]
21270 }
21271 ]
21272 }
21273 ]
21274 }
21275 ]
21276 }
21277 ],
21278 "html": "<html><head></head><body><template><style></style><td></td></template></body></html>",
21279 "noQuirksBodyHtml": "<template><style></style><td></td></template>"
21280 }
21281 },
21282 {
21283 "data": "<body><template><meta><td></td></template>",
21284 "errors": [
21285 "no doctype"
21286 ],
21287 "document": {
21288 "props": {
21289 "tags": {
21290 "html": true,
21291 "head": true,
21292 "body": true,
21293 "template": true,
21294 "meta": true,
21295 "td": true
21296 },
21297 "template": true
21298 },
21299 "tree": [
21300 {
21301 "tag": "html",
21302 "children": [
21303 {
21304 "tag": "head"
21305 },
21306 {
21307 "tag": "body",
21308 "children": [
21309 {
21310 "tag": "template",
21311 "children": [
21312 {
21313 "content": true,
21314 "children": [
21315 {
21316 "tag": "meta"
21317 },
21318 {
21319 "tag": "td"
21320 }
21321 ]
21322 }
21323 ]
21324 }
21325 ]
21326 }
21327 ]
21328 }
21329 ],
21330 "html": "<html><head></head><body><template><meta><td></td></template></body></html>",
21331 "noQuirksBodyHtml": "<template><meta><td></td></template>"
21332 }
21333 },
21334 {
21335 "data": "<body><template><link><td></td></template>",
21336 "errors": [
21337 "no doctype"
21338 ],
21339 "document": {
21340 "props": {
21341 "tags": {
21342 "html": true,
21343 "head": true,
21344 "body": true,
21345 "template": true,
21346 "link": true,
21347 "td": true
21348 },
21349 "template": true
21350 },
21351 "tree": [
21352 {
21353 "tag": "html",
21354 "children": [
21355 {
21356 "tag": "head"
21357 },
21358 {
21359 "tag": "body",
21360 "children": [
21361 {
21362 "tag": "template",
21363 "children": [
21364 {
21365 "content": true,
21366 "children": [
21367 {
21368 "tag": "link"
21369 },
21370 {
21371 "tag": "td"
21372 }
21373 ]
21374 }
21375 ]
21376 }
21377 ]
21378 }
21379 ]
21380 }
21381 ],
21382 "html": "<html><head></head><body><template><link><td></td></template></body></html>",
21383 "noQuirksBodyHtml": "<template><link><td></td></template>"
21384 }
21385 },
21386 {
21387 "data": "<body><template><template><tr></tr></template><td></td></template>",
21388 "errors": [
21389 "no doctype"
21390 ],
21391 "document": {
21392 "props": {
21393 "tags": {
21394 "html": true,
21395 "head": true,
21396 "body": true,
21397 "template": true,
21398 "tr": true,
21399 "td": true
21400 },
21401 "template": true
21402 },
21403 "tree": [
21404 {
21405 "tag": "html",
21406 "children": [
21407 {
21408 "tag": "head"
21409 },
21410 {
21411 "tag": "body",
21412 "children": [
21413 {
21414 "tag": "template",
21415 "children": [
21416 {
21417 "content": true,
21418 "children": [
21419 {
21420 "tag": "template",
21421 "children": [
21422 {
21423 "content": true,
21424 "children": [
21425 {
21426 "tag": "tr"
21427 }
21428 ]
21429 }
21430 ]
21431 },
21432 {
21433 "tag": "td"
21434 }
21435 ]
21436 }
21437 ]
21438 }
21439 ]
21440 }
21441 ]
21442 }
21443 ],
21444 "html": "<html><head></head><body><template><template><tr></tr></template><td></td></template></body></html>",
21445 "noQuirksBodyHtml": "<template><template><tr></tr></template><td></td></template>"
21446 }
21447 },
21448 {
21449 "data": "<body><table><colgroup><template><col></col></template></colgroup></table></body>",
21450 "errors": [
21451 "no doctype",
21452 "bad /col"
21453 ],
21454 "document": {
21455 "props": {
21456 "tags": {
21457 "html": true,
21458 "head": true,
21459 "body": true,
21460 "table": true,
21461 "colgroup": true,
21462 "template": true,
21463 "col": true
21464 },
21465 "template": true
21466 },
21467 "tree": [
21468 {
21469 "tag": "html",
21470 "children": [
21471 {
21472 "tag": "head"
21473 },
21474 {
21475 "tag": "body",
21476 "children": [
21477 {
21478 "tag": "table",
21479 "children": [
21480 {
21481 "tag": "colgroup",
21482 "children": [
21483 {
21484 "tag": "template",
21485 "children": [
21486 {
21487 "content": true,
21488 "children": [
21489 {
21490 "tag": "col"
21491 }
21492 ]
21493 }
21494 ]
21495 }
21496 ]
21497 }
21498 ]
21499 }
21500 ]
21501 }
21502 ]
21503 }
21504 ],
21505 "html": "<html><head></head><body><table><colgroup><template><col></template></colgroup></table></body></html>",
21506 "noQuirksBodyHtml": "<table><colgroup><template><col></template></colgroup></table>"
21507 }
21508 },
21509 {
21510 "data": "<body a=b><template><div></div><body c=d><div></div></body></template></body>",
21511 "errors": [
21512 "no doctype",
21513 "bad <body>",
21514 "bad </body>"
21515 ],
21516 "document": {
21517 "props": {
21518 "tags": {
21519 "html": true,
21520 "head": true,
21521 "body": true,
21522 "template": true,
21523 "div": true
21524 },
21525 "template": true
21526 },
21527 "tree": [
21528 {
21529 "tag": "html",
21530 "children": [
21531 {
21532 "tag": "head"
21533 },
21534 {
21535 "tag": "body",
21536 "attrs": [
21537 {
21538 "name": "a",
21539 "value": "b"
21540 }
21541 ],
21542 "children": [
21543 {
21544 "tag": "template",
21545 "children": [
21546 {
21547 "content": true,
21548 "children": [
21549 {
21550 "tag": "div"
21551 },
21552 {
21553 "tag": "div"
21554 }
21555 ]
21556 }
21557 ]
21558 }
21559 ]
21560 }
21561 ]
21562 }
21563 ],
21564 "html": "<html><head></head><body a=\"b\"><template><div></div><div></div></template></body></html>",
21565 "noQuirksBodyHtml": "<template><div></div><div></div></template>"
21566 }
21567 },
21568 {
21569 "data": "<html a=b><template><div><html b=c><span></template>",
21570 "errors": [
21571 "no doctype",
21572 "bad <html>",
21573 "missing end tags in template"
21574 ],
21575 "document": {
21576 "props": {
21577 "tags": {
21578 "html": true,
21579 "head": true,
21580 "template": true,
21581 "div": true,
21582 "span": true,
21583 "body": true
21584 },
21585 "template": true
21586 },
21587 "tree": [
21588 {
21589 "tag": "html",
21590 "attrs": [
21591 {
21592 "name": "a",
21593 "value": "b"
21594 }
21595 ],
21596 "children": [
21597 {
21598 "tag": "head",
21599 "children": [
21600 {
21601 "tag": "template",
21602 "children": [
21603 {
21604 "content": true,
21605 "children": [
21606 {
21607 "tag": "div",
21608 "children": [
21609 {
21610 "tag": "span"
21611 }
21612 ]
21613 }
21614 ]
21615 }
21616 ]
21617 }
21618 ]
21619 },
21620 {
21621 "tag": "body"
21622 }
21623 ]
21624 }
21625 ],
21626 "html": "<html a=\"b\"><head><template><div><span></span></div></template></head><body></body></html>",
21627 "noQuirksBodyHtml": "<template><div><span></span></div></template>"
21628 }
21629 },
21630 {
21631 "data": "<html a=b><template><col></col><html b=c><col></col></template>",
21632 "errors": [
21633 "no doctype",
21634 "bad /col",
21635 "bad html",
21636 "bad /col"
21637 ],
21638 "document": {
21639 "props": {
21640 "tags": {
21641 "html": true,
21642 "head": true,
21643 "template": true,
21644 "col": true,
21645 "body": true
21646 },
21647 "template": true
21648 },
21649 "tree": [
21650 {
21651 "tag": "html",
21652 "attrs": [
21653 {
21654 "name": "a",
21655 "value": "b"
21656 }
21657 ],
21658 "children": [
21659 {
21660 "tag": "head",
21661 "children": [
21662 {
21663 "tag": "template",
21664 "children": [
21665 {
21666 "content": true,
21667 "children": [
21668 {
21669 "tag": "col"
21670 },
21671 {
21672 "tag": "col"
21673 }
21674 ]
21675 }
21676 ]
21677 }
21678 ]
21679 },
21680 {
21681 "tag": "body"
21682 }
21683 ]
21684 }
21685 ],
21686 "html": "<html a=\"b\"><head><template><col><col></template></head><body></body></html>",
21687 "noQuirksBodyHtml": "<template><col><col></template>"
21688 }
21689 },
21690 {
21691 "data": "<html a=b><template><frame></frame><html b=c><frame></frame></template>",
21692 "errors": [
21693 "no doctype",
21694 "bad frame",
21695 "bad /frame",
21696 "bad html",
21697 "bad frame",
21698 "bad /frame"
21699 ],
21700 "document": {
21701 "props": {
21702 "tags": {
21703 "html": true,
21704 "head": true,
21705 "template": true,
21706 "body": true
21707 },
21708 "template": true
21709 },
21710 "tree": [
21711 {
21712 "tag": "html",
21713 "attrs": [
21714 {
21715 "name": "a",
21716 "value": "b"
21717 }
21718 ],
21719 "children": [
21720 {
21721 "tag": "head",
21722 "children": [
21723 {
21724 "tag": "template",
21725 "children": [
21726 {
21727 "content": true
21728 }
21729 ]
21730 }
21731 ]
21732 },
21733 {
21734 "tag": "body"
21735 }
21736 ]
21737 }
21738 ],
21739 "html": "<html a=\"b\"><head><template></template></head><body></body></html>",
21740 "noQuirksBodyHtml": "<template></template>"
21741 }
21742 },
21743 {
21744 "data": "<body><template><tr></tr><template></template><td></td></template>",
21745 "errors": [
21746 "no doctype",
21747 "unexpected <td>"
21748 ],
21749 "document": {
21750 "props": {
21751 "tags": {
21752 "html": true,
21753 "head": true,
21754 "body": true,
21755 "template": true,
21756 "tr": true,
21757 "td": true
21758 },
21759 "template": true
21760 },
21761 "tree": [
21762 {
21763 "tag": "html",
21764 "children": [
21765 {
21766 "tag": "head"
21767 },
21768 {
21769 "tag": "body",
21770 "children": [
21771 {
21772 "tag": "template",
21773 "children": [
21774 {
21775 "content": true,
21776 "children": [
21777 {
21778 "tag": "tr"
21779 },
21780 {
21781 "tag": "template",
21782 "children": [
21783 {
21784 "content": true
21785 }
21786 ]
21787 },
21788 {
21789 "tag": "tr",
21790 "children": [
21791 {
21792 "tag": "td"
21793 }
21794 ]
21795 }
21796 ]
21797 }
21798 ]
21799 }
21800 ]
21801 }
21802 ]
21803 }
21804 ],
21805 "html": "<html><head></head><body><template><tr></tr><template></template><tr><td></td></tr></template></body></html>",
21806 "noQuirksBodyHtml": "<template><tr></tr><template></template><tr><td></td></tr></template>"
21807 }
21808 },
21809 {
21810 "data": "<body><template><thead></thead><template><tr></tr></template><tr></tr><tfoot></tfoot></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 "thead": true,
21822 "tr": true,
21823 "tbody": true,
21824 "tfoot": true
21825 },
21826 "template": true
21827 },
21828 "tree": [
21829 {
21830 "tag": "html",
21831 "children": [
21832 {
21833 "tag": "head"
21834 },
21835 {
21836 "tag": "body",
21837 "children": [
21838 {
21839 "tag": "template",
21840 "children": [
21841 {
21842 "content": true,
21843 "children": [
21844 {
21845 "tag": "thead"
21846 },
21847 {
21848 "tag": "template",
21849 "children": [
21850 {
21851 "content": true,
21852 "children": [
21853 {
21854 "tag": "tr"
21855 }
21856 ]
21857 }
21858 ]
21859 },
21860 {
21861 "tag": "tbody",
21862 "children": [
21863 {
21864 "tag": "tr"
21865 }
21866 ]
21867 },
21868 {
21869 "tag": "tfoot"
21870 }
21871 ]
21872 }
21873 ]
21874 }
21875 ]
21876 }
21877 ]
21878 }
21879 ],
21880 "html": "<html><head></head><body><template><thead></thead><template><tr></tr></template><tbody><tr></tr></tbody><tfoot></tfoot></template></body></html>",
21881 "noQuirksBodyHtml": "<template><thead></thead><template><tr></tr></template><tbody><tr></tr></tbody><tfoot></tfoot></template>"
21882 }
21883 },
21884 {
21885 "data": "<body><template><template><b><template></template></template>text</template>",
21886 "errors": [
21887 "no doctype",
21888 "missing </b>"
21889 ],
21890 "document": {
21891 "props": {
21892 "tags": {
21893 "html": true,
21894 "head": true,
21895 "body": true,
21896 "template": true,
21897 "b": true
21898 },
21899 "template": true
21900 },
21901 "tree": [
21902 {
21903 "tag": "html",
21904 "children": [
21905 {
21906 "tag": "head"
21907 },
21908 {
21909 "tag": "body",
21910 "children": [
21911 {
21912 "tag": "template",
21913 "children": [
21914 {
21915 "content": true,
21916 "children": [
21917 {
21918 "tag": "template",
21919 "children": [
21920 {
21921 "content": true,
21922 "children": [
21923 {
21924 "tag": "b",
21925 "children": [
21926 {
21927 "tag": "template",
21928 "children": [
21929 {
21930 "content": true
21931 }
21932 ]
21933 }
21934 ]
21935 }
21936 ]
21937 }
21938 ]
21939 },
21940 {
21941 "text": "text"
21942 }
21943 ]
21944 }
21945 ]
21946 }
21947 ]
21948 }
21949 ]
21950 }
21951 ],
21952 "html": "<html><head></head><body><template><template><b><template></template></b></template>text</template></body></html>",
21953 "noQuirksBodyHtml": "<template><template><b><template></template></b></template>text</template>"
21954 }
21955 },
21956 {
21957 "data": "<body><template><col><colgroup>",
21958 "errors": [
21959 "no doctype",
21960 "bad colgroup",
21961 "eof in template"
21962 ],
21963 "document": {
21964 "props": {
21965 "tags": {
21966 "html": true,
21967 "head": true,
21968 "body": true,
21969 "template": true,
21970 "col": true
21971 },
21972 "template": true
21973 },
21974 "tree": [
21975 {
21976 "tag": "html",
21977 "children": [
21978 {
21979 "tag": "head"
21980 },
21981 {
21982 "tag": "body",
21983 "children": [
21984 {
21985 "tag": "template",
21986 "children": [
21987 {
21988 "content": true,
21989 "children": [
21990 {
21991 "tag": "col"
21992 }
21993 ]
21994 }
21995 ]
21996 }
21997 ]
21998 }
21999 ]
22000 }
22001 ],
22002 "html": "<html><head></head><body><template><col></template></body></html>",
22003 "noQuirksBodyHtml": "<template><col></template>"
22004 }
22005 },
22006 {
22007 "data": "<body><template><col></colgroup>",
22008 "errors": [
22009 "no doctype",
22010 "bogus /colgroup",
22011 "eof in template"
22012 ],
22013 "document": {
22014 "props": {
22015 "tags": {
22016 "html": true,
22017 "head": true,
22018 "body": true,
22019 "template": true,
22020 "col": true
22021 },
22022 "template": true
22023 },
22024 "tree": [
22025 {
22026 "tag": "html",
22027 "children": [
22028 {
22029 "tag": "head"
22030 },
22031 {
22032 "tag": "body",
22033 "children": [
22034 {
22035 "tag": "template",
22036 "children": [
22037 {
22038 "content": true,
22039 "children": [
22040 {
22041 "tag": "col"
22042 }
22043 ]
22044 }
22045 ]
22046 }
22047 ]
22048 }
22049 ]
22050 }
22051 ],
22052 "html": "<html><head></head><body><template><col></template></body></html>",
22053 "noQuirksBodyHtml": "<template><col></template>"
22054 }
22055 },
22056 {
22057 "data": "<body><template><col><colgroup></template></body>",
22058 "errors": [
22059 "no doctype",
22060 "bad colgroup"
22061 ],
22062 "document": {
22063 "props": {
22064 "tags": {
22065 "html": true,
22066 "head": true,
22067 "body": true,
22068 "template": true,
22069 "col": true
22070 },
22071 "template": true
22072 },
22073 "tree": [
22074 {
22075 "tag": "html",
22076 "children": [
22077 {
22078 "tag": "head"
22079 },
22080 {
22081 "tag": "body",
22082 "children": [
22083 {
22084 "tag": "template",
22085 "children": [
22086 {
22087 "content": true,
22088 "children": [
22089 {
22090 "tag": "col"
22091 }
22092 ]
22093 }
22094 ]
22095 }
22096 ]
22097 }
22098 ]
22099 }
22100 ],
22101 "html": "<html><head></head><body><template><col></template></body></html>",
22102 "noQuirksBodyHtml": "<template><col></template>"
22103 }
22104 },
22105 {
22106 "data": "<body><template><col><div>",
22107 "errors": [
22108 " * (1,7) missing DOCTYPE",
22109 " * (1,27) unexpected token",
22110 " * (1,27) unexpected end of file in template"
22111 ],
22112 "document": {
22113 "props": {
22114 "tags": {
22115 "html": true,
22116 "head": true,
22117 "body": true,
22118 "template": true,
22119 "col": true
22120 },
22121 "template": true
22122 },
22123 "tree": [
22124 {
22125 "tag": "html",
22126 "children": [
22127 {
22128 "tag": "head"
22129 },
22130 {
22131 "tag": "body",
22132 "children": [
22133 {
22134 "tag": "template",
22135 "children": [
22136 {
22137 "content": true,
22138 "children": [
22139 {
22140 "tag": "col"
22141 }
22142 ]
22143 }
22144 ]
22145 }
22146 ]
22147 }
22148 ]
22149 }
22150 ],
22151 "html": "<html><head></head><body><template><col></template></body></html>",
22152 "noQuirksBodyHtml": "<template><col></template>"
22153 }
22154 },
22155 {
22156 "data": "<body><template><col></div>",
22157 "errors": [
22158 "no doctype",
22159 "bad /div",
22160 "eof in template"
22161 ],
22162 "document": {
22163 "props": {
22164 "tags": {
22165 "html": true,
22166 "head": true,
22167 "body": true,
22168 "template": true,
22169 "col": true
22170 },
22171 "template": true
22172 },
22173 "tree": [
22174 {
22175 "tag": "html",
22176 "children": [
22177 {
22178 "tag": "head"
22179 },
22180 {
22181 "tag": "body",
22182 "children": [
22183 {
22184 "tag": "template",
22185 "children": [
22186 {
22187 "content": true,
22188 "children": [
22189 {
22190 "tag": "col"
22191 }
22192 ]
22193 }
22194 ]
22195 }
22196 ]
22197 }
22198 ]
22199 }
22200 ],
22201 "html": "<html><head></head><body><template><col></template></body></html>",
22202 "noQuirksBodyHtml": "<template><col></template>"
22203 }
22204 },
22205 {
22206 "data": "<body><template><col>Hello",
22207 "errors": [
22208 "no doctype",
22209 "unexpected text",
22210 "eof in template"
22211 ],
22212 "document": {
22213 "props": {
22214 "tags": {
22215 "html": true,
22216 "head": true,
22217 "body": true,
22218 "template": true,
22219 "col": true
22220 },
22221 "template": true
22222 },
22223 "tree": [
22224 {
22225 "tag": "html",
22226 "children": [
22227 {
22228 "tag": "head"
22229 },
22230 {
22231 "tag": "body",
22232 "children": [
22233 {
22234 "tag": "template",
22235 "children": [
22236 {
22237 "content": true,
22238 "children": [
22239 {
22240 "tag": "col"
22241 }
22242 ]
22243 }
22244 ]
22245 }
22246 ]
22247 }
22248 ]
22249 }
22250 ],
22251 "html": "<html><head></head><body><template><col></template></body></html>",
22252 "noQuirksBodyHtml": "<template><col></template>"
22253 }
22254 },
22255 {
22256 "data": "<body><template><i><menu>Foo</i>",
22257 "errors": [
22258 "no doctype",
22259 "mising /menu",
22260 "eof in template"
22261 ],
22262 "document": {
22263 "props": {
22264 "tags": {
22265 "html": true,
22266 "head": true,
22267 "body": true,
22268 "template": true,
22269 "i": true,
22270 "menu": true
22271 },
22272 "template": true
22273 },
22274 "tree": [
22275 {
22276 "tag": "html",
22277 "children": [
22278 {
22279 "tag": "head"
22280 },
22281 {
22282 "tag": "body",
22283 "children": [
22284 {
22285 "tag": "template",
22286 "children": [
22287 {
22288 "content": true,
22289 "children": [
22290 {
22291 "tag": "i"
22292 },
22293 {
22294 "tag": "menu",
22295 "children": [
22296 {
22297 "tag": "i",
22298 "children": [
22299 {
22300 "text": "Foo"
22301 }
22302 ]
22303 }
22304 ]
22305 }
22306 ]
22307 }
22308 ]
22309 }
22310 ]
22311 }
22312 ]
22313 }
22314 ],
22315 "html": "<html><head></head><body><template><i></i><menu><i>Foo</i></menu></template></body></html>",
22316 "noQuirksBodyHtml": "<template><i></i><menu><i>Foo</i></menu></template>"
22317 }
22318 },
22319 {
22320 "data": "<body><template></div><div>Foo</div><template></template><tr></tr>",
22321 "errors": [
22322 "no doctype",
22323 "bogus /div",
22324 "bogus tr",
22325 "bogus /tr",
22326 "eof in template"
22327 ],
22328 "document": {
22329 "props": {
22330 "tags": {
22331 "html": true,
22332 "head": true,
22333 "body": true,
22334 "template": true,
22335 "div": true
22336 },
22337 "template": true
22338 },
22339 "tree": [
22340 {
22341 "tag": "html",
22342 "children": [
22343 {
22344 "tag": "head"
22345 },
22346 {
22347 "tag": "body",
22348 "children": [
22349 {
22350 "tag": "template",
22351 "children": [
22352 {
22353 "content": true,
22354 "children": [
22355 {
22356 "tag": "div",
22357 "children": [
22358 {
22359 "text": "Foo"
22360 }
22361 ]
22362 },
22363 {
22364 "tag": "template",
22365 "children": [
22366 {
22367 "content": true
22368 }
22369 ]
22370 }
22371 ]
22372 }
22373 ]
22374 }
22375 ]
22376 }
22377 ]
22378 }
22379 ],
22380 "html": "<html><head></head><body><template><div>Foo</div><template></template></template></body></html>",
22381 "noQuirksBodyHtml": "<template><div>Foo</div><template></template></template>"
22382 }
22383 },
22384 {
22385 "data": "<body><div><template></div><tr><td>Foo</td></tr></template>",
22386 "errors": [
22387 " * (1,7) missing DOCTYPE",
22388 " * (1,28) unexpected token in template",
22389 " * (1,60) unexpected end of file"
22390 ],
22391 "document": {
22392 "props": {
22393 "tags": {
22394 "html": true,
22395 "head": true,
22396 "body": true,
22397 "div": true,
22398 "template": true,
22399 "tr": true,
22400 "td": true
22401 },
22402 "template": true
22403 },
22404 "tree": [
22405 {
22406 "tag": "html",
22407 "children": [
22408 {
22409 "tag": "head"
22410 },
22411 {
22412 "tag": "body",
22413 "children": [
22414 {
22415 "tag": "div",
22416 "children": [
22417 {
22418 "tag": "template",
22419 "children": [
22420 {
22421 "content": true,
22422 "children": [
22423 {
22424 "tag": "tr",
22425 "children": [
22426 {
22427 "tag": "td",
22428 "children": [
22429 {
22430 "text": "Foo"
22431 }
22432 ]
22433 }
22434 ]
22435 }
22436 ]
22437 }
22438 ]
22439 }
22440 ]
22441 }
22442 ]
22443 }
22444 ]
22445 }
22446 ],
22447 "html": "<html><head></head><body><div><template><tr><td>Foo</td></tr></template></div></body></html>",
22448 "noQuirksBodyHtml": "<div><template><tr><td>Foo</td></tr></template></div>"
22449 }
22450 },
22451 {
22452 "data": "<template></figcaption><sub><table></table>",
22453 "errors": [
22454 "no doctype",
22455 "bad /figcaption",
22456 "eof in template"
22457 ],
22458 "document": {
22459 "props": {
22460 "tags": {
22461 "html": true,
22462 "head": true,
22463 "template": true,
22464 "sub": true,
22465 "table": true,
22466 "body": true
22467 },
22468 "template": true
22469 },
22470 "tree": [
22471 {
22472 "tag": "html",
22473 "children": [
22474 {
22475 "tag": "head",
22476 "children": [
22477 {
22478 "tag": "template",
22479 "children": [
22480 {
22481 "content": true,
22482 "children": [
22483 {
22484 "tag": "sub",
22485 "children": [
22486 {
22487 "tag": "table"
22488 }
22489 ]
22490 }
22491 ]
22492 }
22493 ]
22494 }
22495 ]
22496 },
22497 {
22498 "tag": "body"
22499 }
22500 ]
22501 }
22502 ],
22503 "html": "<html><head><template><sub><table></table></sub></template></head><body></body></html>",
22504 "noQuirksBodyHtml": "<template><sub><table></table></sub></template>"
22505 }
22506 },
22507 {
22508 "data": "<template><template>",
22509 "errors": [
22510 "no doctype",
22511 "eof in template",
22512 "eof in template"
22513 ],
22514 "document": {
22515 "props": {
22516 "tags": {
22517 "html": true,
22518 "head": true,
22519 "template": true,
22520 "body": true
22521 },
22522 "template": true
22523 },
22524 "tree": [
22525 {
22526 "tag": "html",
22527 "children": [
22528 {
22529 "tag": "head",
22530 "children": [
22531 {
22532 "tag": "template",
22533 "children": [
22534 {
22535 "content": true,
22536 "children": [
22537 {
22538 "tag": "template",
22539 "children": [
22540 {
22541 "content": true
22542 }
22543 ]
22544 }
22545 ]
22546 }
22547 ]
22548 }
22549 ]
22550 },
22551 {
22552 "tag": "body"
22553 }
22554 ]
22555 }
22556 ],
22557 "html": "<html><head><template><template></template></template></head><body></body></html>",
22558 "noQuirksBodyHtml": "<template><template></template></template>"
22559 }
22560 },
22561 {
22562 "data": "<template><div>",
22563 "errors": [
22564 "no doctype",
22565 "eof in template"
22566 ],
22567 "document": {
22568 "props": {
22569 "tags": {
22570 "html": true,
22571 "head": true,
22572 "template": true,
22573 "div": true,
22574 "body": true
22575 },
22576 "template": true
22577 },
22578 "tree": [
22579 {
22580 "tag": "html",
22581 "children": [
22582 {
22583 "tag": "head",
22584 "children": [
22585 {
22586 "tag": "template",
22587 "children": [
22588 {
22589 "content": true,
22590 "children": [
22591 {
22592 "tag": "div"
22593 }
22594 ]
22595 }
22596 ]
22597 }
22598 ]
22599 },
22600 {
22601 "tag": "body"
22602 }
22603 ]
22604 }
22605 ],
22606 "html": "<html><head><template><div></div></template></head><body></body></html>",
22607 "noQuirksBodyHtml": "<template><div></div></template>"
22608 }
22609 },
22610 {
22611 "data": "<template><template><div>",
22612 "errors": [
22613 "no doctype",
22614 "eof in template",
22615 "eof in template"
22616 ],
22617 "document": {
22618 "props": {
22619 "tags": {
22620 "html": true,
22621 "head": true,
22622 "template": true,
22623 "div": true,
22624 "body": true
22625 },
22626 "template": true
22627 },
22628 "tree": [
22629 {
22630 "tag": "html",
22631 "children": [
22632 {
22633 "tag": "head",
22634 "children": [
22635 {
22636 "tag": "template",
22637 "children": [
22638 {
22639 "content": true,
22640 "children": [
22641 {
22642 "tag": "template",
22643 "children": [
22644 {
22645 "content": true,
22646 "children": [
22647 {
22648 "tag": "div"
22649 }
22650 ]
22651 }
22652 ]
22653 }
22654 ]
22655 }
22656 ]
22657 }
22658 ]
22659 },
22660 {
22661 "tag": "body"
22662 }
22663 ]
22664 }
22665 ],
22666 "html": "<html><head><template><template><div></div></template></template></head><body></body></html>",
22667 "noQuirksBodyHtml": "<template><template><div></div></template></template>"
22668 }
22669 },
22670 {
22671 "data": "<template><template><table>",
22672 "errors": [
22673 "no doctype",
22674 "eof in template",
22675 "eof in template"
22676 ],
22677 "document": {
22678 "props": {
22679 "tags": {
22680 "html": true,
22681 "head": true,
22682 "template": true,
22683 "table": true,
22684 "body": true
22685 },
22686 "template": true
22687 },
22688 "tree": [
22689 {
22690 "tag": "html",
22691 "children": [
22692 {
22693 "tag": "head",
22694 "children": [
22695 {
22696 "tag": "template",
22697 "children": [
22698 {
22699 "content": true,
22700 "children": [
22701 {
22702 "tag": "template",
22703 "children": [
22704 {
22705 "content": true,
22706 "children": [
22707 {
22708 "tag": "table"
22709 }
22710 ]
22711 }
22712 ]
22713 }
22714 ]
22715 }
22716 ]
22717 }
22718 ]
22719 },
22720 {
22721 "tag": "body"
22722 }
22723 ]
22724 }
22725 ],
22726 "html": "<html><head><template><template><table></table></template></template></head><body></body></html>",
22727 "noQuirksBodyHtml": "<template><template><table></table></template></template>"
22728 }
22729 },
22730 {
22731 "data": "<template><template><tbody>",
22732 "errors": [
22733 "no doctype",
22734 "eof in template",
22735 "eof in template"
22736 ],
22737 "document": {
22738 "props": {
22739 "tags": {
22740 "html": true,
22741 "head": true,
22742 "template": true,
22743 "tbody": true,
22744 "body": true
22745 },
22746 "template": true
22747 },
22748 "tree": [
22749 {
22750 "tag": "html",
22751 "children": [
22752 {
22753 "tag": "head",
22754 "children": [
22755 {
22756 "tag": "template",
22757 "children": [
22758 {
22759 "content": true,
22760 "children": [
22761 {
22762 "tag": "template",
22763 "children": [
22764 {
22765 "content": true,
22766 "children": [
22767 {
22768 "tag": "tbody"
22769 }
22770 ]
22771 }
22772 ]
22773 }
22774 ]
22775 }
22776 ]
22777 }
22778 ]
22779 },
22780 {
22781 "tag": "body"
22782 }
22783 ]
22784 }
22785 ],
22786 "html": "<html><head><template><template><tbody></tbody></template></template></head><body></body></html>",
22787 "noQuirksBodyHtml": "<template><template><tbody></tbody></template></template>"
22788 }
22789 },
22790 {
22791 "data": "<template><template><tr>",
22792 "errors": [
22793 "no doctype",
22794 "eof in template",
22795 "eof in template"
22796 ],
22797 "document": {
22798 "props": {
22799 "tags": {
22800 "html": true,
22801 "head": true,
22802 "template": true,
22803 "tr": true,
22804 "body": true
22805 },
22806 "template": true
22807 },
22808 "tree": [
22809 {
22810 "tag": "html",
22811 "children": [
22812 {
22813 "tag": "head",
22814 "children": [
22815 {
22816 "tag": "template",
22817 "children": [
22818 {
22819 "content": true,
22820 "children": [
22821 {
22822 "tag": "template",
22823 "children": [
22824 {
22825 "content": true,
22826 "children": [
22827 {
22828 "tag": "tr"
22829 }
22830 ]
22831 }
22832 ]
22833 }
22834 ]
22835 }
22836 ]
22837 }
22838 ]
22839 },
22840 {
22841 "tag": "body"
22842 }
22843 ]
22844 }
22845 ],
22846 "html": "<html><head><template><template><tr></tr></template></template></head><body></body></html>",
22847 "noQuirksBodyHtml": "<template><template><tr></tr></template></template>"
22848 }
22849 },
22850 {
22851 "data": "<template><template><td>",
22852 "errors": [
22853 "no doctype",
22854 "eof in template",
22855 "eof in template"
22856 ],
22857 "document": {
22858 "props": {
22859 "tags": {
22860 "html": true,
22861 "head": true,
22862 "template": true,
22863 "td": true,
22864 "body": true
22865 },
22866 "template": true
22867 },
22868 "tree": [
22869 {
22870 "tag": "html",
22871 "children": [
22872 {
22873 "tag": "head",
22874 "children": [
22875 {
22876 "tag": "template",
22877 "children": [
22878 {
22879 "content": true,
22880 "children": [
22881 {
22882 "tag": "template",
22883 "children": [
22884 {
22885 "content": true,
22886 "children": [
22887 {
22888 "tag": "td"
22889 }
22890 ]
22891 }
22892 ]
22893 }
22894 ]
22895 }
22896 ]
22897 }
22898 ]
22899 },
22900 {
22901 "tag": "body"
22902 }
22903 ]
22904 }
22905 ],
22906 "html": "<html><head><template><template><td></td></template></template></head><body></body></html>",
22907 "noQuirksBodyHtml": "<template><template><td></td></template></template>"
22908 }
22909 },
22910 {
22911 "data": "<template><template><caption>",
22912 "errors": [
22913 "no doctype",
22914 "eof in template",
22915 "eof in template"
22916 ],
22917 "document": {
22918 "props": {
22919 "tags": {
22920 "html": true,
22921 "head": true,
22922 "template": true,
22923 "caption": true,
22924 "body": true
22925 },
22926 "template": true
22927 },
22928 "tree": [
22929 {
22930 "tag": "html",
22931 "children": [
22932 {
22933 "tag": "head",
22934 "children": [
22935 {
22936 "tag": "template",
22937 "children": [
22938 {
22939 "content": true,
22940 "children": [
22941 {
22942 "tag": "template",
22943 "children": [
22944 {
22945 "content": true,
22946 "children": [
22947 {
22948 "tag": "caption"
22949 }
22950 ]
22951 }
22952 ]
22953 }
22954 ]
22955 }
22956 ]
22957 }
22958 ]
22959 },
22960 {
22961 "tag": "body"
22962 }
22963 ]
22964 }
22965 ],
22966 "html": "<html><head><template><template><caption></caption></template></template></head><body></body></html>",
22967 "noQuirksBodyHtml": "<template><template><caption></caption></template></template>"
22968 }
22969 },
22970 {
22971 "data": "<template><template><colgroup>",
22972 "errors": [
22973 "no doctype",
22974 "eof in template",
22975 "eof in template"
22976 ],
22977 "document": {
22978 "props": {
22979 "tags": {
22980 "html": true,
22981 "head": true,
22982 "template": true,
22983 "colgroup": true,
22984 "body": true
22985 },
22986 "template": true
22987 },
22988 "tree": [
22989 {
22990 "tag": "html",
22991 "children": [
22992 {
22993 "tag": "head",
22994 "children": [
22995 {
22996 "tag": "template",
22997 "children": [
22998 {
22999 "content": true,
23000 "children": [
23001 {
23002 "tag": "template",
23003 "children": [
23004 {
23005 "content": true,
23006 "children": [
23007 {
23008 "tag": "colgroup"
23009 }
23010 ]
23011 }
23012 ]
23013 }
23014 ]
23015 }
23016 ]
23017 }
23018 ]
23019 },
23020 {
23021 "tag": "body"
23022 }
23023 ]
23024 }
23025 ],
23026 "html": "<html><head><template><template><colgroup></colgroup></template></template></head><body></body></html>",
23027 "noQuirksBodyHtml": "<template><template><colgroup></colgroup></template></template>"
23028 }
23029 },
23030 {
23031 "data": "<template><template><col>",
23032 "errors": [
23033 "no doctype",
23034 "eof in template",
23035 "eof in template"
23036 ],
23037 "document": {
23038 "props": {
23039 "tags": {
23040 "html": true,
23041 "head": true,
23042 "template": true,
23043 "col": true,
23044 "body": true
23045 },
23046 "template": true
23047 },
23048 "tree": [
23049 {
23050 "tag": "html",
23051 "children": [
23052 {
23053 "tag": "head",
23054 "children": [
23055 {
23056 "tag": "template",
23057 "children": [
23058 {
23059 "content": true,
23060 "children": [
23061 {
23062 "tag": "template",
23063 "children": [
23064 {
23065 "content": true,
23066 "children": [
23067 {
23068 "tag": "col"
23069 }
23070 ]
23071 }
23072 ]
23073 }
23074 ]
23075 }
23076 ]
23077 }
23078 ]
23079 },
23080 {
23081 "tag": "body"
23082 }
23083 ]
23084 }
23085 ],
23086 "html": "<html><head><template><template><col></template></template></head><body></body></html>",
23087 "noQuirksBodyHtml": "<template><template><col></template></template>"
23088 }
23089 },
23090 {
23091 "data": "<template><template><tbody><select>",
23092 "errors": [
23093 " * (1,11) missing DOCTYPE",
23094 " * (1,36) unexpected token in table - foster parenting",
23095 " * (1,36) unexpected end of file in template",
23096 " * (1,36) unexpected end of file in template"
23097 ],
23098 "document": {
23099 "props": {
23100 "tags": {
23101 "html": true,
23102 "head": true,
23103 "template": true,
23104 "tbody": true,
23105 "select": true,
23106 "body": true
23107 },
23108 "template": true
23109 },
23110 "tree": [
23111 {
23112 "tag": "html",
23113 "children": [
23114 {
23115 "tag": "head",
23116 "children": [
23117 {
23118 "tag": "template",
23119 "children": [
23120 {
23121 "content": true,
23122 "children": [
23123 {
23124 "tag": "template",
23125 "children": [
23126 {
23127 "content": true,
23128 "children": [
23129 {
23130 "tag": "tbody"
23131 },
23132 {
23133 "tag": "select"
23134 }
23135 ]
23136 }
23137 ]
23138 }
23139 ]
23140 }
23141 ]
23142 }
23143 ]
23144 },
23145 {
23146 "tag": "body"
23147 }
23148 ]
23149 }
23150 ],
23151 "html": "<html><head><template><template><tbody></tbody><select></select></template></template></head><body></body></html>",
23152 "noQuirksBodyHtml": "<template><template><tbody></tbody><select></select></template></template>"
23153 }
23154 },
23155 {
23156 "data": "<template><template><table>Foo",
23157 "errors": [
23158 "no doctype",
23159 "foster-parenting text F",
23160 "foster-parenting text o",
23161 "foster-parenting text o",
23162 "eof",
23163 "eof"
23164 ],
23165 "document": {
23166 "props": {
23167 "tags": {
23168 "html": true,
23169 "head": true,
23170 "template": true,
23171 "table": true,
23172 "body": true
23173 },
23174 "template": true
23175 },
23176 "tree": [
23177 {
23178 "tag": "html",
23179 "children": [
23180 {
23181 "tag": "head",
23182 "children": [
23183 {
23184 "tag": "template",
23185 "children": [
23186 {
23187 "content": true,
23188 "children": [
23189 {
23190 "tag": "template",
23191 "children": [
23192 {
23193 "content": true,
23194 "children": [
23195 {
23196 "text": "Foo"
23197 },
23198 {
23199 "tag": "table"
23200 }
23201 ]
23202 }
23203 ]
23204 }
23205 ]
23206 }
23207 ]
23208 }
23209 ]
23210 },
23211 {
23212 "tag": "body"
23213 }
23214 ]
23215 }
23216 ],
23217 "html": "<html><head><template><template>Foo<table></table></template></template></head><body></body></html>",
23218 "noQuirksBodyHtml": "<template><template>Foo<table></table></template></template>"
23219 }
23220 },
23221 {
23222 "data": "<template><template><frame>",
23223 "errors": [
23224 "no doctype",
23225 "bad tag",
23226 "eof",
23227 "eof"
23228 ],
23229 "document": {
23230 "props": {
23231 "tags": {
23232 "html": true,
23233 "head": true,
23234 "template": true,
23235 "body": true
23236 },
23237 "template": true
23238 },
23239 "tree": [
23240 {
23241 "tag": "html",
23242 "children": [
23243 {
23244 "tag": "head",
23245 "children": [
23246 {
23247 "tag": "template",
23248 "children": [
23249 {
23250 "content": true,
23251 "children": [
23252 {
23253 "tag": "template",
23254 "children": [
23255 {
23256 "content": true
23257 }
23258 ]
23259 }
23260 ]
23261 }
23262 ]
23263 }
23264 ]
23265 },
23266 {
23267 "tag": "body"
23268 }
23269 ]
23270 }
23271 ],
23272 "html": "<html><head><template><template></template></template></head><body></body></html>",
23273 "noQuirksBodyHtml": "<template><template></template></template>"
23274 }
23275 },
23276 {
23277 "data": "<template><template><script>var i",
23278 "errors": [
23279 "no doctype",
23280 "eof in script",
23281 "eof in template",
23282 "eof in template"
23283 ],
23284 "document": {
23285 "props": {
23286 "tags": {
23287 "html": true,
23288 "head": true,
23289 "template": true,
23290 "script": true,
23291 "body": true
23292 },
23293 "template": true,
23294 "no_escape": true
23295 },
23296 "tree": [
23297 {
23298 "tag": "html",
23299 "children": [
23300 {
23301 "tag": "head",
23302 "children": [
23303 {
23304 "tag": "template",
23305 "children": [
23306 {
23307 "content": true,
23308 "children": [
23309 {
23310 "tag": "template",
23311 "children": [
23312 {
23313 "content": true,
23314 "children": [
23315 {
23316 "tag": "script",
23317 "children": [
23318 {
23319 "text": "var i",
23320 "no_escape": true
23321 }
23322 ]
23323 }
23324 ]
23325 }
23326 ]
23327 }
23328 ]
23329 }
23330 ]
23331 }
23332 ]
23333 },
23334 {
23335 "tag": "body"
23336 }
23337 ]
23338 }
23339 ],
23340 "html": "<html><head><template><template><script>var i</script></template></template></head><body></body></html>",
23341 "noQuirksBodyHtml": "<template><template><script>var i</script></template></template>"
23342 }
23343 },
23344 {
23345 "data": "<template><template><style>var i",
23346 "errors": [
23347 "no doctype",
23348 "eof in style",
23349 "eof in template",
23350 "eof in template"
23351 ],
23352 "document": {
23353 "props": {
23354 "tags": {
23355 "html": true,
23356 "head": true,
23357 "template": true,
23358 "style": true,
23359 "body": true
23360 },
23361 "template": true,
23362 "no_escape": true
23363 },
23364 "tree": [
23365 {
23366 "tag": "html",
23367 "children": [
23368 {
23369 "tag": "head",
23370 "children": [
23371 {
23372 "tag": "template",
23373 "children": [
23374 {
23375 "content": true,
23376 "children": [
23377 {
23378 "tag": "template",
23379 "children": [
23380 {
23381 "content": true,
23382 "children": [
23383 {
23384 "tag": "style",
23385 "children": [
23386 {
23387 "text": "var i",
23388 "no_escape": true
23389 }
23390 ]
23391 }
23392 ]
23393 }
23394 ]
23395 }
23396 ]
23397 }
23398 ]
23399 }
23400 ]
23401 },
23402 {
23403 "tag": "body"
23404 }
23405 ]
23406 }
23407 ],
23408 "html": "<html><head><template><template><style>var i</style></template></template></head><body></body></html>",
23409 "noQuirksBodyHtml": "<template><template><style>var i</style></template></template>"
23410 }
23411 },
23412 {
23413 "data": "<template><table></template><body><span>Foo",
23414 "errors": [
23415 "no doctype",
23416 "missing /table",
23417 "bad eof"
23418 ],
23419 "document": {
23420 "props": {
23421 "tags": {
23422 "html": true,
23423 "head": true,
23424 "template": true,
23425 "table": true,
23426 "body": true,
23427 "span": true
23428 },
23429 "template": true
23430 },
23431 "tree": [
23432 {
23433 "tag": "html",
23434 "children": [
23435 {
23436 "tag": "head",
23437 "children": [
23438 {
23439 "tag": "template",
23440 "children": [
23441 {
23442 "content": true,
23443 "children": [
23444 {
23445 "tag": "table"
23446 }
23447 ]
23448 }
23449 ]
23450 }
23451 ]
23452 },
23453 {
23454 "tag": "body",
23455 "children": [
23456 {
23457 "tag": "span",
23458 "children": [
23459 {
23460 "text": "Foo"
23461 }
23462 ]
23463 }
23464 ]
23465 }
23466 ]
23467 }
23468 ],
23469 "html": "<html><head><template><table></table></template></head><body><span>Foo</span></body></html>",
23470 "noQuirksBodyHtml": "<template><table></table></template><span>Foo</span>"
23471 }
23472 },
23473 {
23474 "data": "<template><td></template><body><span>Foo",
23475 "errors": [
23476 "no doctype",
23477 "bad eof"
23478 ],
23479 "document": {
23480 "props": {
23481 "tags": {
23482 "html": true,
23483 "head": true,
23484 "template": true,
23485 "td": true,
23486 "body": true,
23487 "span": true
23488 },
23489 "template": true
23490 },
23491 "tree": [
23492 {
23493 "tag": "html",
23494 "children": [
23495 {
23496 "tag": "head",
23497 "children": [
23498 {
23499 "tag": "template",
23500 "children": [
23501 {
23502 "content": true,
23503 "children": [
23504 {
23505 "tag": "td"
23506 }
23507 ]
23508 }
23509 ]
23510 }
23511 ]
23512 },
23513 {
23514 "tag": "body",
23515 "children": [
23516 {
23517 "tag": "span",
23518 "children": [
23519 {
23520 "text": "Foo"
23521 }
23522 ]
23523 }
23524 ]
23525 }
23526 ]
23527 }
23528 ],
23529 "html": "<html><head><template><td></td></template></head><body><span>Foo</span></body></html>",
23530 "noQuirksBodyHtml": "<template><td></td></template><span>Foo</span>"
23531 }
23532 },
23533 {
23534 "data": "<template><object></template><body><span>Foo",
23535 "errors": [
23536 "no doctype",
23537 "missing /object",
23538 "bad eof"
23539 ],
23540 "document": {
23541 "props": {
23542 "tags": {
23543 "html": true,
23544 "head": true,
23545 "template": true,
23546 "object": true,
23547 "body": true,
23548 "span": true
23549 },
23550 "template": true
23551 },
23552 "tree": [
23553 {
23554 "tag": "html",
23555 "children": [
23556 {
23557 "tag": "head",
23558 "children": [
23559 {
23560 "tag": "template",
23561 "children": [
23562 {
23563 "content": true,
23564 "children": [
23565 {
23566 "tag": "object"
23567 }
23568 ]
23569 }
23570 ]
23571 }
23572 ]
23573 },
23574 {
23575 "tag": "body",
23576 "children": [
23577 {
23578 "tag": "span",
23579 "children": [
23580 {
23581 "text": "Foo"
23582 }
23583 ]
23584 }
23585 ]
23586 }
23587 ]
23588 }
23589 ],
23590 "html": "<html><head><template><object></object></template></head><body><span>Foo</span></body></html>",
23591 "noQuirksBodyHtml": "<template><object></object></template><span>Foo</span>"
23592 }
23593 },
23594 {
23595 "data": "<template><svg><template>",
23596 "errors": [
23597 "no doctype",
23598 "eof in template"
23599 ],
23600 "document": {
23601 "props": {
23602 "tags": {
23603 "html": true,
23604 "head": true,
23605 "template": true,
23606 "svg svg": true,
23607 "svg template": true,
23608 "body": true
23609 },
23610 "template": true
23611 },
23612 "tree": [
23613 {
23614 "tag": "html",
23615 "children": [
23616 {
23617 "tag": "head",
23618 "children": [
23619 {
23620 "tag": "template",
23621 "children": [
23622 {
23623 "content": true,
23624 "children": [
23625 {
23626 "tag": "svg",
23627 "ns": "http://www.w3.org/2000/svg",
23628 "children": [
23629 {
23630 "tag": "template",
23631 "ns": "http://www.w3.org/2000/svg"
23632 }
23633 ]
23634 }
23635 ]
23636 }
23637 ]
23638 }
23639 ]
23640 },
23641 {
23642 "tag": "body"
23643 }
23644 ]
23645 }
23646 ],
23647 "html": "<html><head><template><svg><template></template></svg></template></head><body></body></html>",
23648 "noQuirksBodyHtml": "<template><svg><template></template></svg></template>"
23649 }
23650 },
23651 {
23652 "data": "<template><svg><foo><template><foreignObject><div></template><div>",
23653 "errors": [
23654 "no doctype",
23655 "ugly template closure",
23656 "bad eof"
23657 ],
23658 "document": {
23659 "props": {
23660 "tags": {
23661 "html": true,
23662 "head": true,
23663 "template": true,
23664 "svg svg": true,
23665 "svg foo": true,
23666 "svg template": true,
23667 "svg foreignObject": true,
23668 "div": true,
23669 "body": true
23670 },
23671 "template": true
23672 },
23673 "tree": [
23674 {
23675 "tag": "html",
23676 "children": [
23677 {
23678 "tag": "head",
23679 "children": [
23680 {
23681 "tag": "template",
23682 "children": [
23683 {
23684 "content": true,
23685 "children": [
23686 {
23687 "tag": "svg",
23688 "ns": "http://www.w3.org/2000/svg",
23689 "children": [
23690 {
23691 "tag": "foo",
23692 "ns": "http://www.w3.org/2000/svg",
23693 "children": [
23694 {
23695 "tag": "template",
23696 "ns": "http://www.w3.org/2000/svg",
23697 "children": [
23698 {
23699 "tag": "foreignObject",
23700 "ns": "http://www.w3.org/2000/svg",
23701 "children": [
23702 {
23703 "tag": "div"
23704 }
23705 ]
23706 }
23707 ]
23708 }
23709 ]
23710 }
23711 ]
23712 }
23713 ]
23714 }
23715 ]
23716 }
23717 ]
23718 },
23719 {
23720 "tag": "body",
23721 "children": [
23722 {
23723 "tag": "div"
23724 }
23725 ]
23726 }
23727 ]
23728 }
23729 ],
23730 "html": "<html><head><template><svg><foo><template><foreignObject><div></div></foreignObject></template></foo></svg></template></head><body><div></div></body></html>",
23731 "noQuirksBodyHtml": "<template><svg><foo><template><foreignObject><div></div></foreignObject></template></foo></svg></template><div></div>"
23732 }
23733 },
23734 {
23735 "data": "<dummy><template><span></dummy>",
23736 "errors": [
23737 "no doctype",
23738 "bad end tag </dummy>",
23739 "eof in template",
23740 "eof in dummy"
23741 ],
23742 "document": {
23743 "props": {
23744 "tags": {
23745 "html": true,
23746 "head": true,
23747 "body": true,
23748 "dummy": true,
23749 "template": true,
23750 "span": true
23751 },
23752 "template": true
23753 },
23754 "tree": [
23755 {
23756 "tag": "html",
23757 "children": [
23758 {
23759 "tag": "head"
23760 },
23761 {
23762 "tag": "body",
23763 "children": [
23764 {
23765 "tag": "dummy",
23766 "children": [
23767 {
23768 "tag": "template",
23769 "children": [
23770 {
23771 "content": true,
23772 "children": [
23773 {
23774 "tag": "span"
23775 }
23776 ]
23777 }
23778 ]
23779 }
23780 ]
23781 }
23782 ]
23783 }
23784 ]
23785 }
23786 ],
23787 "html": "<html><head></head><body><dummy><template><span></span></template></dummy></body></html>",
23788 "noQuirksBodyHtml": "<dummy><template><span></span></template></dummy>"
23789 }
23790 },
23791 {
23792 "data": "<body><table><tr><td><select><template>Foo</template><caption>A</table>",
23793 "errors": [
23794 "no doctype",
23795 "(1,62): unexpected-caption-in-select-in-table"
23796 ],
23797 "document": {
23798 "props": {
23799 "tags": {
23800 "html": true,
23801 "head": true,
23802 "body": true,
23803 "table": true,
23804 "tbody": true,
23805 "tr": true,
23806 "td": true,
23807 "select": true,
23808 "template": true,
23809 "caption": true
23810 },
23811 "template": true
23812 },
23813 "tree": [
23814 {
23815 "tag": "html",
23816 "children": [
23817 {
23818 "tag": "head"
23819 },
23820 {
23821 "tag": "body",
23822 "children": [
23823 {
23824 "tag": "table",
23825 "children": [
23826 {
23827 "tag": "tbody",
23828 "children": [
23829 {
23830 "tag": "tr",
23831 "children": [
23832 {
23833 "tag": "td",
23834 "children": [
23835 {
23836 "tag": "select",
23837 "children": [
23838 {
23839 "tag": "template",
23840 "children": [
23841 {
23842 "content": true,
23843 "children": [
23844 {
23845 "text": "Foo"
23846 }
23847 ]
23848 }
23849 ]
23850 }
23851 ]
23852 }
23853 ]
23854 }
23855 ]
23856 }
23857 ]
23858 },
23859 {
23860 "tag": "caption",
23861 "children": [
23862 {
23863 "text": "A"
23864 }
23865 ]
23866 }
23867 ]
23868 }
23869 ]
23870 }
23871 ]
23872 }
23873 ],
23874 "html": "<html><head></head><body><table><tbody><tr><td><select><template>Foo</template></select></td></tr></tbody><caption>A</caption></table></body></html>",
23875 "noQuirksBodyHtml": "<table><tbody><tr><td><select><template>Foo</template></select></td></tr></tbody><caption>A</caption></table>"
23876 }
23877 },
23878 {
23879 "data": "<body></body><template>",
23880 "errors": [
23881 "no doctype",
23882 "(1,23): template-after-body",
23883 "(1,24): eof-in-template"
23884 ],
23885 "document": {
23886 "props": {
23887 "tags": {
23888 "html": true,
23889 "head": true,
23890 "body": true,
23891 "template": true
23892 },
23893 "template": true
23894 },
23895 "tree": [
23896 {
23897 "tag": "html",
23898 "children": [
23899 {
23900 "tag": "head"
23901 },
23902 {
23903 "tag": "body",
23904 "children": [
23905 {
23906 "tag": "template",
23907 "children": [
23908 {
23909 "content": true
23910 }
23911 ]
23912 }
23913 ]
23914 }
23915 ]
23916 }
23917 ],
23918 "html": "<html><head></head><body><template></template></body></html>",
23919 "noQuirksBodyHtml": "<template></template>"
23920 }
23921 },
23922 {
23923 "data": "<head></head><template>",
23924 "errors": [
23925 "no doctype",
23926 "(1,23): template-after-head",
23927 "(1,24): eof-in-template"
23928 ],
23929 "document": {
23930 "props": {
23931 "tags": {
23932 "html": true,
23933 "head": true,
23934 "template": true,
23935 "body": true
23936 },
23937 "template": true
23938 },
23939 "tree": [
23940 {
23941 "tag": "html",
23942 "children": [
23943 {
23944 "tag": "head",
23945 "children": [
23946 {
23947 "tag": "template",
23948 "children": [
23949 {
23950 "content": true
23951 }
23952 ]
23953 }
23954 ]
23955 },
23956 {
23957 "tag": "body"
23958 }
23959 ]
23960 }
23961 ],
23962 "html": "<html><head><template></template></head><body></body></html>",
23963 "noQuirksBodyHtml": "<template></template>"
23964 }
23965 },
23966 {
23967 "data": "<head></head><template>Foo</template>",
23968 "errors": [
23969 "no doctype",
23970 "(1,23): template-after-head"
23971 ],
23972 "document": {
23973 "props": {
23974 "tags": {
23975 "html": true,
23976 "head": true,
23977 "template": true,
23978 "body": true
23979 },
23980 "template": true
23981 },
23982 "tree": [
23983 {
23984 "tag": "html",
23985 "children": [
23986 {
23987 "tag": "head",
23988 "children": [
23989 {
23990 "tag": "template",
23991 "children": [
23992 {
23993 "content": true,
23994 "children": [
23995 {
23996 "text": "Foo"
23997 }
23998 ]
23999 }
24000 ]
24001 }
24002 ]
24003 },
24004 {
24005 "tag": "body"
24006 }
24007 ]
24008 }
24009 ],
24010 "html": "<html><head><template>Foo</template></head><body></body></html>",
24011 "noQuirksBodyHtml": "<template>Foo</template>"
24012 }
24013 },
24014 {
24015 "data": "<!DOCTYPE HTML><dummy><table><template><table><template><table><script>",
24016 "errors": [
24017 "eof script",
24018 "eof template",
24019 "eof template",
24020 "eof table"
24021 ],
24022 "document": {
24023 "props": {
24024 "tags": {
24025 "html": true,
24026 "head": true,
24027 "body": true,
24028 "dummy": true,
24029 "table": true,
24030 "template": true,
24031 "script": true
24032 },
24033 "doctype": true,
24034 "template": true
24035 },
24036 "tree": [
24037 {
24038 "doctype": "html"
24039 },
24040 {
24041 "tag": "html",
24042 "children": [
24043 {
24044 "tag": "head"
24045 },
24046 {
24047 "tag": "body",
24048 "children": [
24049 {
24050 "tag": "dummy",
24051 "children": [
24052 {
24053 "tag": "table",
24054 "children": [
24055 {
24056 "tag": "template",
24057 "children": [
24058 {
24059 "content": true,
24060 "children": [
24061 {
24062 "tag": "table",
24063 "children": [
24064 {
24065 "tag": "template",
24066 "children": [
24067 {
24068 "content": true,
24069 "children": [
24070 {
24071 "tag": "table",
24072 "children": [
24073 {
24074 "tag": "script"
24075 }
24076 ]
24077 }
24078 ]
24079 }
24080 ]
24081 }
24082 ]
24083 }
24084 ]
24085 }
24086 ]
24087 }
24088 ]
24089 }
24090 ]
24091 }
24092 ]
24093 }
24094 ]
24095 }
24096 ],
24097 "html": "<!DOCTYPE html><html><head></head><body><dummy><table><template><table><template><table><script></script></table></template></table></template></table></dummy></body></html>",
24098 "noQuirksBodyHtml": "<dummy><table><template><table><template><table><script></script></table></template></table></template></table></dummy>"
24099 }
24100 },
24101 {
24102 "data": "<template><a><table><a>",
24103 "errors": [],
24104 "document": {
24105 "props": {
24106 "tags": {
24107 "html": true,
24108 "head": true,
24109 "template": true,
24110 "a": true,
24111 "table": true,
24112 "body": true
24113 },
24114 "template": true
24115 },
24116 "tree": [
24117 {
24118 "tag": "html",
24119 "children": [
24120 {
24121 "tag": "head",
24122 "children": [
24123 {
24124 "tag": "template",
24125 "children": [
24126 {
24127 "content": true,
24128 "children": [
24129 {
24130 "tag": "a",
24131 "children": [
24132 {
24133 "tag": "a"
24134 },
24135 {
24136 "tag": "table"
24137 }
24138 ]
24139 }
24140 ]
24141 }
24142 ]
24143 }
24144 ]
24145 },
24146 {
24147 "tag": "body"
24148 }
24149 ]
24150 }
24151 ],
24152 "html": "<html><head><template><a><a></a><table></table></a></template></head><body></body></html>",
24153 "noQuirksBodyHtml": "<template><a><a></a><table></table></a></template>"
24154 }
24155 }
24156 ],
24157 "tests1.dat": [
24158 {
24159 "data": "Test",
24160 "errors": [
24161 "(1,0): expected-doctype-but-got-chars"
24162 ],
24163 "document": {
24164 "props": {
24165 "tags": {
24166 "html": true,
24167 "head": true,
24168 "body": true
24169 }
24170 },
24171 "tree": [
24172 {
24173 "tag": "html",
24174 "children": [
24175 {
24176 "tag": "head"
24177 },
24178 {
24179 "tag": "body",
24180 "children": [
24181 {
24182 "text": "Test"
24183 }
24184 ]
24185 }
24186 ]
24187 }
24188 ],
24189 "html": "<html><head></head><body>Test</body></html>",
24190 "noQuirksBodyHtml": "Test"
24191 }
24192 },
24193 {
24194 "data": "<p>One<p>Two",
24195 "errors": [
24196 "(1,3): expected-doctype-but-got-start-tag"
24197 ],
24198 "document": {
24199 "props": {
24200 "tags": {
24201 "html": true,
24202 "head": true,
24203 "body": true,
24204 "p": true
24205 }
24206 },
24207 "tree": [
24208 {
24209 "tag": "html",
24210 "children": [
24211 {
24212 "tag": "head"
24213 },
24214 {
24215 "tag": "body",
24216 "children": [
24217 {
24218 "tag": "p",
24219 "children": [
24220 {
24221 "text": "One"
24222 }
24223 ]
24224 },
24225 {
24226 "tag": "p",
24227 "children": [
24228 {
24229 "text": "Two"
24230 }
24231 ]
24232 }
24233 ]
24234 }
24235 ]
24236 }
24237 ],
24238 "html": "<html><head></head><body><p>One</p><p>Two</p></body></html>",
24239 "noQuirksBodyHtml": "<p>One</p><p>Two</p>"
24240 }
24241 },
24242 {
24243 "data": "Line1<br>Line2<br>Line3<br>Line4",
24244 "errors": [
24245 "(1,0): expected-doctype-but-got-chars"
24246 ],
24247 "document": {
24248 "props": {
24249 "tags": {
24250 "html": true,
24251 "head": true,
24252 "body": true,
24253 "br": true
24254 }
24255 },
24256 "tree": [
24257 {
24258 "tag": "html",
24259 "children": [
24260 {
24261 "tag": "head"
24262 },
24263 {
24264 "tag": "body",
24265 "children": [
24266 {
24267 "text": "Line1"
24268 },
24269 {
24270 "tag": "br"
24271 },
24272 {
24273 "text": "Line2"
24274 },
24275 {
24276 "tag": "br"
24277 },
24278 {
24279 "text": "Line3"
24280 },
24281 {
24282 "tag": "br"
24283 },
24284 {
24285 "text": "Line4"
24286 }
24287 ]
24288 }
24289 ]
24290 }
24291 ],
24292 "html": "<html><head></head><body>Line1<br>Line2<br>Line3<br>Line4</body></html>",
24293 "noQuirksBodyHtml": "Line1<br>Line2<br>Line3<br>Line4"
24294 }
24295 },
24296 {
24297 "data": "<html>",
24298 "errors": [
24299 "(1,6): expected-doctype-but-got-start-tag"
24300 ],
24301 "document": {
24302 "props": {
24303 "tags": {
24304 "html": true,
24305 "head": true,
24306 "body": true
24307 }
24308 },
24309 "tree": [
24310 {
24311 "tag": "html",
24312 "children": [
24313 {
24314 "tag": "head"
24315 },
24316 {
24317 "tag": "body"
24318 }
24319 ]
24320 }
24321 ],
24322 "html": "<html><head></head><body></body></html>",
24323 "noQuirksBodyHtml": ""
24324 }
24325 },
24326 {
24327 "data": "<head>",
24328 "errors": [
24329 "(1,6): expected-doctype-but-got-start-tag"
24330 ],
24331 "document": {
24332 "props": {
24333 "tags": {
24334 "html": true,
24335 "head": true,
24336 "body": true
24337 }
24338 },
24339 "tree": [
24340 {
24341 "tag": "html",
24342 "children": [
24343 {
24344 "tag": "head"
24345 },
24346 {
24347 "tag": "body"
24348 }
24349 ]
24350 }
24351 ],
24352 "html": "<html><head></head><body></body></html>",
24353 "noQuirksBodyHtml": ""
24354 }
24355 },
24356 {
24357 "data": "<body>",
24358 "errors": [
24359 "(1,6): expected-doctype-but-got-start-tag"
24360 ],
24361 "document": {
24362 "props": {
24363 "tags": {
24364 "html": true,
24365 "head": true,
24366 "body": true
24367 }
24368 },
24369 "tree": [
24370 {
24371 "tag": "html",
24372 "children": [
24373 {
24374 "tag": "head"
24375 },
24376 {
24377 "tag": "body"
24378 }
24379 ]
24380 }
24381 ],
24382 "html": "<html><head></head><body></body></html>",
24383 "noQuirksBodyHtml": ""
24384 }
24385 },
24386 {
24387 "data": "<html><head>",
24388 "errors": [
24389 "(1,6): expected-doctype-but-got-start-tag"
24390 ],
24391 "document": {
24392 "props": {
24393 "tags": {
24394 "html": true,
24395 "head": true,
24396 "body": true
24397 }
24398 },
24399 "tree": [
24400 {
24401 "tag": "html",
24402 "children": [
24403 {
24404 "tag": "head"
24405 },
24406 {
24407 "tag": "body"
24408 }
24409 ]
24410 }
24411 ],
24412 "html": "<html><head></head><body></body></html>",
24413 "noQuirksBodyHtml": ""
24414 }
24415 },
24416 {
24417 "data": "<html><head></head>",
24418 "errors": [
24419 "(1,6): expected-doctype-but-got-start-tag"
24420 ],
24421 "document": {
24422 "props": {
24423 "tags": {
24424 "html": true,
24425 "head": true,
24426 "body": true
24427 }
24428 },
24429 "tree": [
24430 {
24431 "tag": "html",
24432 "children": [
24433 {
24434 "tag": "head"
24435 },
24436 {
24437 "tag": "body"
24438 }
24439 ]
24440 }
24441 ],
24442 "html": "<html><head></head><body></body></html>",
24443 "noQuirksBodyHtml": ""
24444 }
24445 },
24446 {
24447 "data": "<html><head></head><body>",
24448 "errors": [
24449 "(1,6): expected-doctype-but-got-start-tag"
24450 ],
24451 "document": {
24452 "props": {
24453 "tags": {
24454 "html": true,
24455 "head": true,
24456 "body": true
24457 }
24458 },
24459 "tree": [
24460 {
24461 "tag": "html",
24462 "children": [
24463 {
24464 "tag": "head"
24465 },
24466 {
24467 "tag": "body"
24468 }
24469 ]
24470 }
24471 ],
24472 "html": "<html><head></head><body></body></html>",
24473 "noQuirksBodyHtml": ""
24474 }
24475 },
24476 {
24477 "data": "<html><head></head><body></body>",
24478 "errors": [
24479 "(1,6): expected-doctype-but-got-start-tag"
24480 ],
24481 "document": {
24482 "props": {
24483 "tags": {
24484 "html": true,
24485 "head": true,
24486 "body": true
24487 }
24488 },
24489 "tree": [
24490 {
24491 "tag": "html",
24492 "children": [
24493 {
24494 "tag": "head"
24495 },
24496 {
24497 "tag": "body"
24498 }
24499 ]
24500 }
24501 ],
24502 "html": "<html><head></head><body></body></html>",
24503 "noQuirksBodyHtml": ""
24504 }
24505 },
24506 {
24507 "data": "<html><head><body></body></html>",
24508 "errors": [
24509 "(1,6): expected-doctype-but-got-start-tag"
24510 ],
24511 "document": {
24512 "props": {
24513 "tags": {
24514 "html": true,
24515 "head": true,
24516 "body": true
24517 }
24518 },
24519 "tree": [
24520 {
24521 "tag": "html",
24522 "children": [
24523 {
24524 "tag": "head"
24525 },
24526 {
24527 "tag": "body"
24528 }
24529 ]
24530 }
24531 ],
24532 "html": "<html><head></head><body></body></html>",
24533 "noQuirksBodyHtml": ""
24534 }
24535 },
24536 {
24537 "data": "<html><head></body></html>",
24538 "errors": [
24539 "(1,6): expected-doctype-but-got-start-tag"
24540 ],
24541 "document": {
24542 "props": {
24543 "tags": {
24544 "html": true,
24545 "head": true,
24546 "body": true
24547 }
24548 },
24549 "tree": [
24550 {
24551 "tag": "html",
24552 "children": [
24553 {
24554 "tag": "head"
24555 },
24556 {
24557 "tag": "body"
24558 }
24559 ]
24560 }
24561 ],
24562 "html": "<html><head></head><body></body></html>",
24563 "noQuirksBodyHtml": ""
24564 }
24565 },
24566 {
24567 "data": "<html><head><body></html>",
24568 "errors": [
24569 "(1,6): expected-doctype-but-got-start-tag"
24570 ],
24571 "document": {
24572 "props": {
24573 "tags": {
24574 "html": true,
24575 "head": true,
24576 "body": true
24577 }
24578 },
24579 "tree": [
24580 {
24581 "tag": "html",
24582 "children": [
24583 {
24584 "tag": "head"
24585 },
24586 {
24587 "tag": "body"
24588 }
24589 ]
24590 }
24591 ],
24592 "html": "<html><head></head><body></body></html>",
24593 "noQuirksBodyHtml": ""
24594 }
24595 },
24596 {
24597 "data": "<html><body></html>",
24598 "errors": [
24599 "(1,6): expected-doctype-but-got-start-tag"
24600 ],
24601 "document": {
24602 "props": {
24603 "tags": {
24604 "html": true,
24605 "head": true,
24606 "body": true
24607 }
24608 },
24609 "tree": [
24610 {
24611 "tag": "html",
24612 "children": [
24613 {
24614 "tag": "head"
24615 },
24616 {
24617 "tag": "body"
24618 }
24619 ]
24620 }
24621 ],
24622 "html": "<html><head></head><body></body></html>",
24623 "noQuirksBodyHtml": ""
24624 }
24625 },
24626 {
24627 "data": "<body></html>",
24628 "errors": [
24629 "(1,6): expected-doctype-but-got-start-tag"
24630 ],
24631 "document": {
24632 "props": {
24633 "tags": {
24634 "html": true,
24635 "head": true,
24636 "body": true
24637 }
24638 },
24639 "tree": [
24640 {
24641 "tag": "html",
24642 "children": [
24643 {
24644 "tag": "head"
24645 },
24646 {
24647 "tag": "body"
24648 }
24649 ]
24650 }
24651 ],
24652 "html": "<html><head></head><body></body></html>",
24653 "noQuirksBodyHtml": ""
24654 }
24655 },
24656 {
24657 "data": "<head></html>",
24658 "errors": [
24659 "(1,6): expected-doctype-but-got-start-tag"
24660 ],
24661 "document": {
24662 "props": {
24663 "tags": {
24664 "html": true,
24665 "head": true,
24666 "body": true
24667 }
24668 },
24669 "tree": [
24670 {
24671 "tag": "html",
24672 "children": [
24673 {
24674 "tag": "head"
24675 },
24676 {
24677 "tag": "body"
24678 }
24679 ]
24680 }
24681 ],
24682 "html": "<html><head></head><body></body></html>",
24683 "noQuirksBodyHtml": ""
24684 }
24685 },
24686 {
24687 "data": "</head>",
24688 "errors": [
24689 "(1,7): expected-doctype-but-got-end-tag"
24690 ],
24691 "document": {
24692 "props": {
24693 "tags": {
24694 "html": true,
24695 "head": true,
24696 "body": true
24697 }
24698 },
24699 "tree": [
24700 {
24701 "tag": "html",
24702 "children": [
24703 {
24704 "tag": "head"
24705 },
24706 {
24707 "tag": "body"
24708 }
24709 ]
24710 }
24711 ],
24712 "html": "<html><head></head><body></body></html>",
24713 "noQuirksBodyHtml": ""
24714 }
24715 },
24716 {
24717 "data": "</body>",
24718 "errors": [
24719 "(1,7): expected-doctype-but-got-end-tag element."
24720 ],
24721 "document": {
24722 "props": {
24723 "tags": {
24724 "html": true,
24725 "head": true,
24726 "body": true
24727 }
24728 },
24729 "tree": [
24730 {
24731 "tag": "html",
24732 "children": [
24733 {
24734 "tag": "head"
24735 },
24736 {
24737 "tag": "body"
24738 }
24739 ]
24740 }
24741 ],
24742 "html": "<html><head></head><body></body></html>",
24743 "noQuirksBodyHtml": ""
24744 }
24745 },
24746 {
24747 "data": "</html>",
24748 "errors": [
24749 "(1,7): expected-doctype-but-got-end-tag element."
24750 ],
24751 "document": {
24752 "props": {
24753 "tags": {
24754 "html": true,
24755 "head": true,
24756 "body": true
24757 }
24758 },
24759 "tree": [
24760 {
24761 "tag": "html",
24762 "children": [
24763 {
24764 "tag": "head"
24765 },
24766 {
24767 "tag": "body"
24768 }
24769 ]
24770 }
24771 ],
24772 "html": "<html><head></head><body></body></html>",
24773 "noQuirksBodyHtml": ""
24774 }
24775 },
24776 {
24777 "data": "<b><table><td><i></table>",
24778 "errors": [
24779 "(1,3): expected-doctype-but-got-start-tag",
24780 "(1,14): unexpected-cell-in-table-body",
24781 "(1,25): unexpected-cell-end-tag",
24782 "(1,25): expected-closing-tag-but-got-eof"
24783 ],
24784 "document": {
24785 "props": {
24786 "tags": {
24787 "html": true,
24788 "head": true,
24789 "body": true,
24790 "b": true,
24791 "table": true,
24792 "tbody": true,
24793 "tr": true,
24794 "td": true,
24795 "i": true
24796 }
24797 },
24798 "tree": [
24799 {
24800 "tag": "html",
24801 "children": [
24802 {
24803 "tag": "head"
24804 },
24805 {
24806 "tag": "body",
24807 "children": [
24808 {
24809 "tag": "b",
24810 "children": [
24811 {
24812 "tag": "table",
24813 "children": [
24814 {
24815 "tag": "tbody",
24816 "children": [
24817 {
24818 "tag": "tr",
24819 "children": [
24820 {
24821 "tag": "td",
24822 "children": [
24823 {
24824 "tag": "i"
24825 }
24826 ]
24827 }
24828 ]
24829 }
24830 ]
24831 }
24832 ]
24833 }
24834 ]
24835 }
24836 ]
24837 }
24838 ]
24839 }
24840 ],
24841 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
24842 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
24843 }
24844 },
24845 {
24846 "data": "<b><table><td></b><i></table>X",
24847 "errors": [
24848 "(1,3): expected-doctype-but-got-start-tag",
24849 "(1,14): unexpected-cell-in-table-body",
24850 "(1,18): unexpected-end-tag",
24851 "(1,29): unexpected-cell-end-tag",
24852 "(1,30): expected-closing-tag-but-got-eof"
24853 ],
24854 "document": {
24855 "props": {
24856 "tags": {
24857 "html": true,
24858 "head": true,
24859 "body": true,
24860 "b": true,
24861 "table": true,
24862 "tbody": true,
24863 "tr": true,
24864 "td": true,
24865 "i": true
24866 }
24867 },
24868 "tree": [
24869 {
24870 "tag": "html",
24871 "children": [
24872 {
24873 "tag": "head"
24874 },
24875 {
24876 "tag": "body",
24877 "children": [
24878 {
24879 "tag": "b",
24880 "children": [
24881 {
24882 "tag": "table",
24883 "children": [
24884 {
24885 "tag": "tbody",
24886 "children": [
24887 {
24888 "tag": "tr",
24889 "children": [
24890 {
24891 "tag": "td",
24892 "children": [
24893 {
24894 "tag": "i"
24895 }
24896 ]
24897 }
24898 ]
24899 }
24900 ]
24901 }
24902 ]
24903 },
24904 {
24905 "text": "X"
24906 }
24907 ]
24908 }
24909 ]
24910 }
24911 ]
24912 }
24913 ],
24914 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table>X</b></body></html>",
24915 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table>X</b>"
24916 }
24917 },
24918 {
24919 "data": "<h1>Hello<h2>World",
24920 "errors": [
24921 "(1,4): expected-doctype-but-got-start-tag",
24922 "(1,13): unexpected-start-tag",
24923 "(1,18): expected-closing-tag-but-got-eof"
24924 ],
24925 "document": {
24926 "props": {
24927 "tags": {
24928 "html": true,
24929 "head": true,
24930 "body": true,
24931 "h1": true,
24932 "h2": true
24933 }
24934 },
24935 "tree": [
24936 {
24937 "tag": "html",
24938 "children": [
24939 {
24940 "tag": "head"
24941 },
24942 {
24943 "tag": "body",
24944 "children": [
24945 {
24946 "tag": "h1",
24947 "children": [
24948 {
24949 "text": "Hello"
24950 }
24951 ]
24952 },
24953 {
24954 "tag": "h2",
24955 "children": [
24956 {
24957 "text": "World"
24958 }
24959 ]
24960 }
24961 ]
24962 }
24963 ]
24964 }
24965 ],
24966 "html": "<html><head></head><body><h1>Hello</h1><h2>World</h2></body></html>",
24967 "noQuirksBodyHtml": "<h1>Hello</h1><h2>World</h2>"
24968 }
24969 },
24970 {
24971 "data": "<a><p>X<a>Y</a>Z</p></a>",
24972 "errors": [
24973 "(1,3): expected-doctype-but-got-start-tag",
24974 "(1,10): unexpected-start-tag-implies-end-tag",
24975 "(1,10): adoption-agency-1.3",
24976 "(1,24): unexpected-end-tag"
24977 ],
24978 "document": {
24979 "props": {
24980 "tags": {
24981 "html": true,
24982 "head": true,
24983 "body": true,
24984 "a": true,
24985 "p": true
24986 }
24987 },
24988 "tree": [
24989 {
24990 "tag": "html",
24991 "children": [
24992 {
24993 "tag": "head"
24994 },
24995 {
24996 "tag": "body",
24997 "children": [
24998 {
24999 "tag": "a"
25000 },
25001 {
25002 "tag": "p",
25003 "children": [
25004 {
25005 "tag": "a",
25006 "children": [
25007 {
25008 "text": "X"
25009 }
25010 ]
25011 },
25012 {
25013 "tag": "a",
25014 "children": [
25015 {
25016 "text": "Y"
25017 }
25018 ]
25019 },
25020 {
25021 "text": "Z"
25022 }
25023 ]
25024 }
25025 ]
25026 }
25027 ]
25028 }
25029 ],
25030 "html": "<html><head></head><body><a></a><p><a>X</a><a>Y</a>Z</p></body></html>",
25031 "noQuirksBodyHtml": "<a></a><p><a>X</a><a>Y</a>Z</p>"
25032 }
25033 },
25034 {
25035 "data": "<b><button>foo</b>bar",
25036 "errors": [
25037 "(1,3): expected-doctype-but-got-start-tag",
25038 "(1,18): adoption-agency-1.3",
25039 "(1,21): expected-closing-tag-but-got-eof"
25040 ],
25041 "document": {
25042 "props": {
25043 "tags": {
25044 "html": true,
25045 "head": true,
25046 "body": true,
25047 "b": true,
25048 "button": true
25049 }
25050 },
25051 "tree": [
25052 {
25053 "tag": "html",
25054 "children": [
25055 {
25056 "tag": "head"
25057 },
25058 {
25059 "tag": "body",
25060 "children": [
25061 {
25062 "tag": "b"
25063 },
25064 {
25065 "tag": "button",
25066 "children": [
25067 {
25068 "tag": "b",
25069 "children": [
25070 {
25071 "text": "foo"
25072 }
25073 ]
25074 },
25075 {
25076 "text": "bar"
25077 }
25078 ]
25079 }
25080 ]
25081 }
25082 ]
25083 }
25084 ],
25085 "html": "<html><head></head><body><b></b><button><b>foo</b>bar</button></body></html>",
25086 "noQuirksBodyHtml": "<b></b><button><b>foo</b>bar</button>"
25087 }
25088 },
25089 {
25090 "data": "<!DOCTYPE html><span><button>foo</span>bar",
25091 "errors": [
25092 "(1,39): unexpected-end-tag",
25093 "(1,42): expected-closing-tag-but-got-eof"
25094 ],
25095 "document": {
25096 "props": {
25097 "tags": {
25098 "html": true,
25099 "head": true,
25100 "body": true,
25101 "span": true,
25102 "button": true
25103 },
25104 "doctype": true
25105 },
25106 "tree": [
25107 {
25108 "doctype": "html"
25109 },
25110 {
25111 "tag": "html",
25112 "children": [
25113 {
25114 "tag": "head"
25115 },
25116 {
25117 "tag": "body",
25118 "children": [
25119 {
25120 "tag": "span",
25121 "children": [
25122 {
25123 "tag": "button",
25124 "children": [
25125 {
25126 "text": "foobar"
25127 }
25128 ]
25129 }
25130 ]
25131 }
25132 ]
25133 }
25134 ]
25135 }
25136 ],
25137 "html": "<!DOCTYPE html><html><head></head><body><span><button>foobar</button></span></body></html>",
25138 "noQuirksBodyHtml": "<span><button>foobar</button></span>"
25139 }
25140 },
25141 {
25142 "data": "<p><b><div><marquee></p></b></div>X",
25143 "errors": [
25144 "(1,3): expected-doctype-but-got-start-tag",
25145 "(1,11): unexpected-end-tag",
25146 "(1,24): unexpected-end-tag",
25147 "(1,28): unexpected-end-tag",
25148 "(1,34): end-tag-too-early",
25149 "(1,35): expected-closing-tag-but-got-eof"
25150 ],
25151 "document": {
25152 "props": {
25153 "tags": {
25154 "html": true,
25155 "head": true,
25156 "body": true,
25157 "p": true,
25158 "b": true,
25159 "div": true,
25160 "marquee": true
25161 }
25162 },
25163 "tree": [
25164 {
25165 "tag": "html",
25166 "children": [
25167 {
25168 "tag": "head"
25169 },
25170 {
25171 "tag": "body",
25172 "children": [
25173 {
25174 "tag": "p",
25175 "children": [
25176 {
25177 "tag": "b"
25178 }
25179 ]
25180 },
25181 {
25182 "tag": "div",
25183 "children": [
25184 {
25185 "tag": "b",
25186 "children": [
25187 {
25188 "tag": "marquee",
25189 "children": [
25190 {
25191 "tag": "p"
25192 },
25193 {
25194 "text": "X"
25195 }
25196 ]
25197 }
25198 ]
25199 }
25200 ]
25201 }
25202 ]
25203 }
25204 ]
25205 }
25206 ],
25207 "html": "<html><head></head><body><p><b></b></p><div><b><marquee><p></p>X</marquee></b></div></body></html>",
25208 "noQuirksBodyHtml": "<p><b></b></p><div><b><marquee><p></p>X</marquee></b></div>"
25209 }
25210 },
25211 {
25212 "data": "<script><div></script></div><title><p></title><p><p>",
25213 "errors": [
25214 "(1,8): expected-doctype-but-got-start-tag",
25215 "(1,28): unexpected-end-tag"
25216 ],
25217 "document": {
25218 "props": {
25219 "tags": {
25220 "html": true,
25221 "head": true,
25222 "script": true,
25223 "title": true,
25224 "body": true,
25225 "p": true
25226 },
25227 "no_escape": true,
25228 "escaped": true
25229 },
25230 "tree": [
25231 {
25232 "tag": "html",
25233 "children": [
25234 {
25235 "tag": "head",
25236 "children": [
25237 {
25238 "tag": "script",
25239 "children": [
25240 {
25241 "text": "<div>",
25242 "no_escape": true
25243 }
25244 ]
25245 },
25246 {
25247 "tag": "title",
25248 "children": [
25249 {
25250 "text": "<p>",
25251 "escaped": true
25252 }
25253 ]
25254 }
25255 ]
25256 },
25257 {
25258 "tag": "body",
25259 "children": [
25260 {
25261 "tag": "p"
25262 },
25263 {
25264 "tag": "p"
25265 }
25266 ]
25267 }
25268 ]
25269 }
25270 ],
25271 "html": "<html><head><script><div></script><title>&lt;p&gt;</title></head><body><p></p><p></p></body></html>",
25272 "noQuirksBodyHtml": "<script><div></script><title>&lt;p&gt;</title><p></p><p></p>"
25273 }
25274 },
25275 {
25276 "data": "<!--><div>--<!-->",
25277 "errors": [
25278 "(1,5): incorrect-comment",
25279 "(1,10): expected-doctype-but-got-start-tag",
25280 "(1,17): incorrect-comment",
25281 "(1,17): expected-closing-tag-but-got-eof"
25282 ],
25283 "document": {
25284 "props": {
25285 "tags": {
25286 "html": true,
25287 "head": true,
25288 "body": true,
25289 "div": true
25290 },
25291 "comment": true
25292 },
25293 "tree": [
25294 {
25295 "comment": ""
25296 },
25297 {
25298 "tag": "html",
25299 "children": [
25300 {
25301 "tag": "head"
25302 },
25303 {
25304 "tag": "body",
25305 "children": [
25306 {
25307 "tag": "div",
25308 "children": [
25309 {
25310 "text": "--"
25311 },
25312 {
25313 "comment": ""
25314 }
25315 ]
25316 }
25317 ]
25318 }
25319 ]
25320 }
25321 ],
25322 "html": "<!----><html><head></head><body><div>--<!----></div></body></html>",
25323 "noQuirksBodyHtml": "<!----><div>--<!----></div>"
25324 }
25325 },
25326 {
25327 "data": "<p><hr></p>",
25328 "errors": [
25329 "(1,3): expected-doctype-but-got-start-tag",
25330 "(1,11): unexpected-end-tag"
25331 ],
25332 "document": {
25333 "props": {
25334 "tags": {
25335 "html": true,
25336 "head": true,
25337 "body": true,
25338 "p": true,
25339 "hr": true
25340 }
25341 },
25342 "tree": [
25343 {
25344 "tag": "html",
25345 "children": [
25346 {
25347 "tag": "head"
25348 },
25349 {
25350 "tag": "body",
25351 "children": [
25352 {
25353 "tag": "p"
25354 },
25355 {
25356 "tag": "hr"
25357 },
25358 {
25359 "tag": "p"
25360 }
25361 ]
25362 }
25363 ]
25364 }
25365 ],
25366 "html": "<html><head></head><body><p></p><hr><p></p></body></html>",
25367 "noQuirksBodyHtml": "<p></p><hr><p></p>"
25368 }
25369 },
25370 {
25371 "data": "<select><b><option><select><option></b></select>X",
25372 "errors": [
25373 "(1,8): expected-doctype-but-got-start-tag",
25374 "(1,11): unexpected-start-tag-in-select",
25375 "(1,27): unexpected-select-in-select",
25376 "(1,39): unexpected-end-tag",
25377 "(1,48): unexpected-end-tag",
25378 "(1,49): expected-closing-tag-but-got-eof"
25379 ],
25380 "document": {
25381 "props": {
25382 "tags": {
25383 "html": true,
25384 "head": true,
25385 "body": true,
25386 "select": true,
25387 "option": true
25388 }
25389 },
25390 "tree": [
25391 {
25392 "tag": "html",
25393 "children": [
25394 {
25395 "tag": "head"
25396 },
25397 {
25398 "tag": "body",
25399 "children": [
25400 {
25401 "tag": "select",
25402 "children": [
25403 {
25404 "tag": "option"
25405 }
25406 ]
25407 },
25408 {
25409 "tag": "option",
25410 "children": [
25411 {
25412 "text": "X"
25413 }
25414 ]
25415 }
25416 ]
25417 }
25418 ]
25419 }
25420 ],
25421 "html": "<html><head></head><body><select><option></option></select><option>X</option></body></html>",
25422 "noQuirksBodyHtml": "<select><option></option></select><option>X</option>"
25423 }
25424 },
25425 {
25426 "data": "<a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y",
25427 "errors": [
25428 "(1,3): expected-doctype-but-got-start-tag",
25429 "(1,14): unexpected-cell-in-table-body",
25430 "(1,35): unexpected-start-tag-implies-end-tag",
25431 "(1,40): unexpected-cell-end-tag",
25432 "(1,43): unexpected-start-tag-implies-table-voodoo",
25433 "(1,43): unexpected-start-tag-implies-end-tag",
25434 "(1,43): unexpected-end-tag",
25435 "(1,63): unexpected-start-tag-implies-end-tag",
25436 "(1,64): expected-closing-tag-but-got-eof"
25437 ],
25438 "document": {
25439 "props": {
25440 "tags": {
25441 "html": true,
25442 "head": true,
25443 "body": true,
25444 "a": true,
25445 "table": true,
25446 "tbody": true,
25447 "tr": true,
25448 "td": true,
25449 "b": true
25450 }
25451 },
25452 "tree": [
25453 {
25454 "tag": "html",
25455 "children": [
25456 {
25457 "tag": "head"
25458 },
25459 {
25460 "tag": "body",
25461 "children": [
25462 {
25463 "tag": "a",
25464 "children": [
25465 {
25466 "tag": "a"
25467 },
25468 {
25469 "tag": "table",
25470 "children": [
25471 {
25472 "tag": "tbody",
25473 "children": [
25474 {
25475 "tag": "tr",
25476 "children": [
25477 {
25478 "tag": "td",
25479 "children": [
25480 {
25481 "tag": "a",
25482 "children": [
25483 {
25484 "tag": "table"
25485 }
25486 ]
25487 },
25488 {
25489 "tag": "a"
25490 }
25491 ]
25492 }
25493 ]
25494 }
25495 ]
25496 }
25497 ]
25498 }
25499 ]
25500 },
25501 {
25502 "tag": "a",
25503 "children": [
25504 {
25505 "tag": "b",
25506 "children": [
25507 {
25508 "text": "X"
25509 }
25510 ]
25511 },
25512 {
25513 "text": "C"
25514 }
25515 ]
25516 },
25517 {
25518 "tag": "a",
25519 "children": [
25520 {
25521 "text": "Y"
25522 }
25523 ]
25524 }
25525 ]
25526 }
25527 ]
25528 }
25529 ],
25530 "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>",
25531 "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>"
25532 }
25533 },
25534 {
25535 "data": "<a X>0<b>1<a Y>2",
25536 "errors": [
25537 "(1,5): expected-doctype-but-got-start-tag",
25538 "(1,15): unexpected-start-tag-implies-end-tag",
25539 "(1,15): adoption-agency-1.3",
25540 "(1,16): expected-closing-tag-but-got-eof"
25541 ],
25542 "document": {
25543 "props": {
25544 "tags": {
25545 "html": true,
25546 "head": true,
25547 "body": true,
25548 "a": true,
25549 "b": true
25550 }
25551 },
25552 "tree": [
25553 {
25554 "tag": "html",
25555 "children": [
25556 {
25557 "tag": "head"
25558 },
25559 {
25560 "tag": "body",
25561 "children": [
25562 {
25563 "tag": "a",
25564 "attrs": [
25565 {
25566 "name": "x",
25567 "value": ""
25568 }
25569 ],
25570 "children": [
25571 {
25572 "text": "0"
25573 },
25574 {
25575 "tag": "b",
25576 "children": [
25577 {
25578 "text": "1"
25579 }
25580 ]
25581 }
25582 ]
25583 },
25584 {
25585 "tag": "b",
25586 "children": [
25587 {
25588 "tag": "a",
25589 "attrs": [
25590 {
25591 "name": "y",
25592 "value": ""
25593 }
25594 ],
25595 "children": [
25596 {
25597 "text": "2"
25598 }
25599 ]
25600 }
25601 ]
25602 }
25603 ]
25604 }
25605 ]
25606 }
25607 ],
25608 "html": "<html><head></head><body><a x=\"\">0<b>1</b></a><b><a y=\"\">2</a></b></body></html>",
25609 "noQuirksBodyHtml": "<a x=\"\">0<b>1</b></a><b><a y=\"\">2</a></b>"
25610 }
25611 },
25612 {
25613 "data": "<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->",
25614 "errors": [
25615 "(1,7): unexpected-dash-after-double-dash-in-comment",
25616 "(1,14): expected-doctype-but-got-start-tag",
25617 "(1,41): unexpected-start-tag-implies-table-voodoo",
25618 "(1,48): foster-parenting-character-in-table",
25619 "(1,48): foster-parenting-character-in-table",
25620 "(1,48): foster-parenting-character-in-table",
25621 "(1,48): foster-parenting-character-in-table",
25622 "(1,48): foster-parenting-character-in-table",
25623 "(1,48): foster-parenting-character-in-table",
25624 "(1,48): foster-parenting-character-in-table",
25625 "(1,48): foster-parenting-character-in-table",
25626 "(1,48): foster-parenting-character-in-table",
25627 "(1,48): foster-parenting-character-in-table",
25628 "(1,48): unexpected-cell-in-table-body",
25629 "(1,63): unexpected-cell-end-tag",
25630 "(1,71): eof-in-table"
25631 ],
25632 "document": {
25633 "props": {
25634 "tags": {
25635 "html": true,
25636 "head": true,
25637 "body": true,
25638 "font": true,
25639 "div": true,
25640 "b": true,
25641 "table": true,
25642 "tbody": true,
25643 "tr": true,
25644 "th": true,
25645 "i": true
25646 },
25647 "comment": true
25648 },
25649 "tree": [
25650 {
25651 "comment": "-"
25652 },
25653 {
25654 "tag": "html",
25655 "children": [
25656 {
25657 "tag": "head"
25658 },
25659 {
25660 "tag": "body",
25661 "children": [
25662 {
25663 "tag": "font",
25664 "children": [
25665 {
25666 "tag": "div",
25667 "children": [
25668 {
25669 "text": "helloexcite!"
25670 },
25671 {
25672 "tag": "b",
25673 "children": [
25674 {
25675 "text": "me!"
25676 }
25677 ]
25678 },
25679 {
25680 "tag": "table",
25681 "children": [
25682 {
25683 "tag": "tbody",
25684 "children": [
25685 {
25686 "tag": "tr",
25687 "children": [
25688 {
25689 "tag": "th",
25690 "children": [
25691 {
25692 "tag": "i",
25693 "children": [
25694 {
25695 "text": "please!"
25696 }
25697 ]
25698 }
25699 ]
25700 }
25701 ]
25702 },
25703 {
25704 "comment": "X"
25705 }
25706 ]
25707 }
25708 ]
25709 }
25710 ]
25711 }
25712 ]
25713 }
25714 ]
25715 }
25716 ]
25717 }
25718 ],
25719 "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>",
25720 "noQuirksBodyHtml": "<!-----><font><div>helloexcite!<b>me!</b><table><tbody><tr><th><i>please!</i></th></tr><!--X--></tbody></table></div></font>"
25721 }
25722 },
25723 {
25724 "data": "<!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->",
25725 "errors": [],
25726 "document": {
25727 "props": {
25728 "tags": {
25729 "html": true,
25730 "head": true,
25731 "body": true,
25732 "li": true,
25733 "ul": true
25734 },
25735 "doctype": true,
25736 "comment": true
25737 },
25738 "tree": [
25739 {
25740 "doctype": "html"
25741 },
25742 {
25743 "tag": "html",
25744 "children": [
25745 {
25746 "tag": "head"
25747 },
25748 {
25749 "tag": "body",
25750 "children": [
25751 {
25752 "tag": "li",
25753 "children": [
25754 {
25755 "text": "hello"
25756 }
25757 ]
25758 },
25759 {
25760 "tag": "li",
25761 "children": [
25762 {
25763 "text": "world"
25764 },
25765 {
25766 "tag": "ul",
25767 "children": [
25768 {
25769 "text": "how"
25770 },
25771 {
25772 "tag": "li",
25773 "children": [
25774 {
25775 "text": "do"
25776 }
25777 ]
25778 }
25779 ]
25780 },
25781 {
25782 "text": "you"
25783 }
25784 ]
25785 }
25786 ]
25787 },
25788 {
25789 "comment": "do"
25790 }
25791 ]
25792 }
25793 ],
25794 "html": "<!DOCTYPE html><html><head></head><body><li>hello</li><li>world<ul>how<li>do</li></ul>you</li></body><!--do--></html>",
25795 "noQuirksBodyHtml": "<li>hello</li><li>world<ul>how<li>do</li></ul>you<!--do--></li>"
25796 }
25797 },
25798 {
25799 "data": "<!DOCTYPE html>A<option>B<optgroup>C<select>D</option>E",
25800 "errors": [
25801 "(1,54): unexpected-end-tag-in-select",
25802 "(1,55): eof-in-select"
25803 ],
25804 "document": {
25805 "props": {
25806 "tags": {
25807 "html": true,
25808 "head": true,
25809 "body": true,
25810 "option": true,
25811 "optgroup": true,
25812 "select": true
25813 },
25814 "doctype": true
25815 },
25816 "tree": [
25817 {
25818 "doctype": "html"
25819 },
25820 {
25821 "tag": "html",
25822 "children": [
25823 {
25824 "tag": "head"
25825 },
25826 {
25827 "tag": "body",
25828 "children": [
25829 {
25830 "text": "A"
25831 },
25832 {
25833 "tag": "option",
25834 "children": [
25835 {
25836 "text": "B"
25837 }
25838 ]
25839 },
25840 {
25841 "tag": "optgroup",
25842 "children": [
25843 {
25844 "text": "C"
25845 },
25846 {
25847 "tag": "select",
25848 "children": [
25849 {
25850 "text": "DE"
25851 }
25852 ]
25853 }
25854 ]
25855 }
25856 ]
25857 }
25858 ]
25859 }
25860 ],
25861 "html": "<!DOCTYPE html><html><head></head><body>A<option>B</option><optgroup>C<select>DE</select></optgroup></body></html>",
25862 "noQuirksBodyHtml": "A<option>B</option><optgroup>C<select>DE</select></optgroup>"
25863 }
25864 },
25865 {
25866 "data": "<",
25867 "errors": [
25868 "(1,1): expected-tag-name",
25869 "(1,1): expected-doctype-but-got-chars"
25870 ],
25871 "document": {
25872 "props": {
25873 "tags": {
25874 "html": true,
25875 "head": true,
25876 "body": true
25877 },
25878 "escaped": true
25879 },
25880 "tree": [
25881 {
25882 "tag": "html",
25883 "children": [
25884 {
25885 "tag": "head"
25886 },
25887 {
25888 "tag": "body",
25889 "children": [
25890 {
25891 "text": "<",
25892 "escaped": true
25893 }
25894 ]
25895 }
25896 ]
25897 }
25898 ],
25899 "html": "<html><head></head><body>&lt;</body></html>",
25900 "noQuirksBodyHtml": "&lt;"
25901 }
25902 },
25903 {
25904 "data": "<#",
25905 "errors": [
25906 "(1,1): expected-tag-name",
25907 "(1,1): expected-doctype-but-got-chars"
25908 ],
25909 "document": {
25910 "props": {
25911 "tags": {
25912 "html": true,
25913 "head": true,
25914 "body": true
25915 },
25916 "escaped": true
25917 },
25918 "tree": [
25919 {
25920 "tag": "html",
25921 "children": [
25922 {
25923 "tag": "head"
25924 },
25925 {
25926 "tag": "body",
25927 "children": [
25928 {
25929 "text": "<#",
25930 "escaped": true
25931 }
25932 ]
25933 }
25934 ]
25935 }
25936 ],
25937 "html": "<html><head></head><body>&lt;#</body></html>",
25938 "noQuirksBodyHtml": "&lt;#"
25939 }
25940 },
25941 {
25942 "data": "</",
25943 "errors": [
25944 "(1,2): expected-closing-tag-but-got-eof",
25945 "(1,2): expected-doctype-but-got-chars"
25946 ],
25947 "document": {
25948 "props": {
25949 "tags": {
25950 "html": true,
25951 "head": true,
25952 "body": true
25953 },
25954 "escaped": true
25955 },
25956 "tree": [
25957 {
25958 "tag": "html",
25959 "children": [
25960 {
25961 "tag": "head"
25962 },
25963 {
25964 "tag": "body",
25965 "children": [
25966 {
25967 "text": "</",
25968 "escaped": true
25969 }
25970 ]
25971 }
25972 ]
25973 }
25974 ],
25975 "html": "<html><head></head><body>&lt;/</body></html>",
25976 "noQuirksBodyHtml": "&lt;/"
25977 }
25978 },
25979 {
25980 "data": "</#",
25981 "errors": [
25982 "(1,2): expected-closing-tag-but-got-char",
25983 "(1,3): expected-doctype-but-got-eof"
25984 ],
25985 "document": {
25986 "props": {
25987 "tags": {
25988 "html": true,
25989 "head": true,
25990 "body": true
25991 },
25992 "comment": true
25993 },
25994 "tree": [
25995 {
25996 "comment": "#"
25997 },
25998 {
25999 "tag": "html",
26000 "children": [
26001 {
26002 "tag": "head"
26003 },
26004 {
26005 "tag": "body"
26006 }
26007 ]
26008 }
26009 ],
26010 "html": "<!--#--><html><head></head><body></body></html>",
26011 "noQuirksBodyHtml": "<!--#-->"
26012 }
26013 },
26014 {
26015 "data": "<?",
26016 "errors": [
26017 "(1,1): expected-tag-name-but-got-question-mark",
26018 "(1,2): expected-doctype-but-got-eof"
26019 ],
26020 "document": {
26021 "props": {
26022 "tags": {
26023 "html": true,
26024 "head": true,
26025 "body": true
26026 },
26027 "comment": true
26028 },
26029 "tree": [
26030 {
26031 "comment": "?"
26032 },
26033 {
26034 "tag": "html",
26035 "children": [
26036 {
26037 "tag": "head"
26038 },
26039 {
26040 "tag": "body"
26041 }
26042 ]
26043 }
26044 ],
26045 "html": "<!--?--><html><head></head><body></body></html>",
26046 "noQuirksBodyHtml": "<!--?-->"
26047 }
26048 },
26049 {
26050 "data": "<?#",
26051 "errors": [
26052 "(1,1): expected-tag-name-but-got-question-mark",
26053 "(1,3): expected-doctype-but-got-eof"
26054 ],
26055 "document": {
26056 "props": {
26057 "tags": {
26058 "html": true,
26059 "head": true,
26060 "body": true
26061 },
26062 "comment": true
26063 },
26064 "tree": [
26065 {
26066 "comment": "?#"
26067 },
26068 {
26069 "tag": "html",
26070 "children": [
26071 {
26072 "tag": "head"
26073 },
26074 {
26075 "tag": "body"
26076 }
26077 ]
26078 }
26079 ],
26080 "html": "<!--?#--><html><head></head><body></body></html>",
26081 "noQuirksBodyHtml": "<!--?#-->"
26082 }
26083 },
26084 {
26085 "data": "<!",
26086 "errors": [
26087 "(1,2): expected-dashes-or-doctype",
26088 "(1,2): expected-doctype-but-got-eof"
26089 ],
26090 "document": {
26091 "props": {
26092 "tags": {
26093 "html": true,
26094 "head": true,
26095 "body": true
26096 },
26097 "comment": true
26098 },
26099 "tree": [
26100 {
26101 "comment": ""
26102 },
26103 {
26104 "tag": "html",
26105 "children": [
26106 {
26107 "tag": "head"
26108 },
26109 {
26110 "tag": "body"
26111 }
26112 ]
26113 }
26114 ],
26115 "html": "<!----><html><head></head><body></body></html>",
26116 "noQuirksBodyHtml": "<!---->"
26117 }
26118 },
26119 {
26120 "data": "<!#",
26121 "errors": [
26122 "(1,2): expected-dashes-or-doctype",
26123 "(1,3): expected-doctype-but-got-eof"
26124 ],
26125 "document": {
26126 "props": {
26127 "tags": {
26128 "html": true,
26129 "head": true,
26130 "body": true
26131 },
26132 "comment": true
26133 },
26134 "tree": [
26135 {
26136 "comment": "#"
26137 },
26138 {
26139 "tag": "html",
26140 "children": [
26141 {
26142 "tag": "head"
26143 },
26144 {
26145 "tag": "body"
26146 }
26147 ]
26148 }
26149 ],
26150 "html": "<!--#--><html><head></head><body></body></html>",
26151 "noQuirksBodyHtml": "<!--#-->"
26152 }
26153 },
26154 {
26155 "data": "<?COMMENT?>",
26156 "errors": [
26157 "(1,1): expected-tag-name-but-got-question-mark",
26158 "(1,11): expected-doctype-but-got-eof"
26159 ],
26160 "document": {
26161 "props": {
26162 "tags": {
26163 "html": true,
26164 "head": true,
26165 "body": true
26166 },
26167 "comment": true
26168 },
26169 "tree": [
26170 {
26171 "comment": "?COMMENT?"
26172 },
26173 {
26174 "tag": "html",
26175 "children": [
26176 {
26177 "tag": "head"
26178 },
26179 {
26180 "tag": "body"
26181 }
26182 ]
26183 }
26184 ],
26185 "html": "<!--?COMMENT?--><html><head></head><body></body></html>",
26186 "noQuirksBodyHtml": "<!--?COMMENT?-->"
26187 }
26188 },
26189 {
26190 "data": "<!COMMENT>",
26191 "errors": [
26192 "(1,2): expected-dashes-or-doctype",
26193 "(1,10): expected-doctype-but-got-eof"
26194 ],
26195 "document": {
26196 "props": {
26197 "tags": {
26198 "html": true,
26199 "head": true,
26200 "body": true
26201 },
26202 "comment": true
26203 },
26204 "tree": [
26205 {
26206 "comment": "COMMENT"
26207 },
26208 {
26209 "tag": "html",
26210 "children": [
26211 {
26212 "tag": "head"
26213 },
26214 {
26215 "tag": "body"
26216 }
26217 ]
26218 }
26219 ],
26220 "html": "<!--COMMENT--><html><head></head><body></body></html>",
26221 "noQuirksBodyHtml": "<!--COMMENT-->"
26222 }
26223 },
26224 {
26225 "data": "</ COMMENT >",
26226 "errors": [
26227 "(1,2): expected-closing-tag-but-got-char",
26228 "(1,12): expected-doctype-but-got-eof"
26229 ],
26230 "document": {
26231 "props": {
26232 "tags": {
26233 "html": true,
26234 "head": true,
26235 "body": true
26236 },
26237 "comment": true
26238 },
26239 "tree": [
26240 {
26241 "comment": " COMMENT "
26242 },
26243 {
26244 "tag": "html",
26245 "children": [
26246 {
26247 "tag": "head"
26248 },
26249 {
26250 "tag": "body"
26251 }
26252 ]
26253 }
26254 ],
26255 "html": "<!-- COMMENT --><html><head></head><body></body></html>",
26256 "noQuirksBodyHtml": "<!-- COMMENT -->"
26257 }
26258 },
26259 {
26260 "data": "<?COM--MENT?>",
26261 "errors": [
26262 "(1,1): expected-tag-name-but-got-question-mark",
26263 "(1,13): expected-doctype-but-got-eof"
26264 ],
26265 "document": {
26266 "props": {
26267 "tags": {
26268 "html": true,
26269 "head": true,
26270 "body": true
26271 },
26272 "comment": true
26273 },
26274 "tree": [
26275 {
26276 "comment": "?COM--MENT?"
26277 },
26278 {
26279 "tag": "html",
26280 "children": [
26281 {
26282 "tag": "head"
26283 },
26284 {
26285 "tag": "body"
26286 }
26287 ]
26288 }
26289 ],
26290 "html": "<!--?COM--MENT?--><html><head></head><body></body></html>",
26291 "noQuirksBodyHtml": "<!--?COM--MENT?-->"
26292 }
26293 },
26294 {
26295 "data": "<!COM--MENT>",
26296 "errors": [
26297 "(1,2): expected-dashes-or-doctype",
26298 "(1,12): expected-doctype-but-got-eof"
26299 ],
26300 "document": {
26301 "props": {
26302 "tags": {
26303 "html": true,
26304 "head": true,
26305 "body": true
26306 },
26307 "comment": true
26308 },
26309 "tree": [
26310 {
26311 "comment": "COM--MENT"
26312 },
26313 {
26314 "tag": "html",
26315 "children": [
26316 {
26317 "tag": "head"
26318 },
26319 {
26320 "tag": "body"
26321 }
26322 ]
26323 }
26324 ],
26325 "html": "<!--COM--MENT--><html><head></head><body></body></html>",
26326 "noQuirksBodyHtml": "<!--COM--MENT-->"
26327 }
26328 },
26329 {
26330 "data": "</ COM--MENT >",
26331 "errors": [
26332 "(1,2): expected-closing-tag-but-got-char",
26333 "(1,14): expected-doctype-but-got-eof"
26334 ],
26335 "document": {
26336 "props": {
26337 "tags": {
26338 "html": true,
26339 "head": true,
26340 "body": true
26341 },
26342 "comment": true
26343 },
26344 "tree": [
26345 {
26346 "comment": " COM--MENT "
26347 },
26348 {
26349 "tag": "html",
26350 "children": [
26351 {
26352 "tag": "head"
26353 },
26354 {
26355 "tag": "body"
26356 }
26357 ]
26358 }
26359 ],
26360 "html": "<!-- COM--MENT --><html><head></head><body></body></html>",
26361 "noQuirksBodyHtml": "<!-- COM--MENT -->"
26362 }
26363 },
26364 {
26365 "data": "<!DOCTYPE html><style> EOF",
26366 "errors": [
26367 "(1,26): expected-named-closing-tag-but-got-eof"
26368 ],
26369 "document": {
26370 "props": {
26371 "tags": {
26372 "html": true,
26373 "head": true,
26374 "style": true,
26375 "body": true
26376 },
26377 "doctype": true,
26378 "no_escape": true
26379 },
26380 "tree": [
26381 {
26382 "doctype": "html"
26383 },
26384 {
26385 "tag": "html",
26386 "children": [
26387 {
26388 "tag": "head",
26389 "children": [
26390 {
26391 "tag": "style",
26392 "children": [
26393 {
26394 "text": " EOF",
26395 "no_escape": true
26396 }
26397 ]
26398 }
26399 ]
26400 },
26401 {
26402 "tag": "body"
26403 }
26404 ]
26405 }
26406 ],
26407 "html": "<!DOCTYPE html><html><head><style> EOF</style></head><body></body></html>",
26408 "noQuirksBodyHtml": "<style> EOF</style>"
26409 }
26410 },
26411 {
26412 "data": "<!DOCTYPE html><script> <!-- </script> --> </script> EOF",
26413 "errors": [
26414 "(1,52): unexpected-end-tag"
26415 ],
26416 "document": {
26417 "props": {
26418 "tags": {
26419 "html": true,
26420 "head": true,
26421 "script": true,
26422 "body": true
26423 },
26424 "doctype": true,
26425 "no_escape": true,
26426 "escaped": true
26427 },
26428 "tree": [
26429 {
26430 "doctype": "html"
26431 },
26432 {
26433 "tag": "html",
26434 "children": [
26435 {
26436 "tag": "head",
26437 "children": [
26438 {
26439 "tag": "script",
26440 "children": [
26441 {
26442 "text": " <!-- ",
26443 "no_escape": true
26444 }
26445 ]
26446 },
26447 {
26448 "text": " "
26449 }
26450 ]
26451 },
26452 {
26453 "tag": "body",
26454 "children": [
26455 {
26456 "text": "--> EOF",
26457 "escaped": true
26458 }
26459 ]
26460 }
26461 ]
26462 }
26463 ],
26464 "html": "<!DOCTYPE html><html><head><script> <!-- </script> </head><body>--&gt; EOF</body></html>",
26465 "noQuirksBodyHtml": "<script> <!-- </script> --&gt; EOF"
26466 }
26467 },
26468 {
26469 "data": "<b><p></b>TEST",
26470 "errors": [
26471 "(1,3): expected-doctype-but-got-start-tag",
26472 "(1,10): adoption-agency-1.3"
26473 ],
26474 "document": {
26475 "props": {
26476 "tags": {
26477 "html": true,
26478 "head": true,
26479 "body": true,
26480 "b": true,
26481 "p": true
26482 }
26483 },
26484 "tree": [
26485 {
26486 "tag": "html",
26487 "children": [
26488 {
26489 "tag": "head"
26490 },
26491 {
26492 "tag": "body",
26493 "children": [
26494 {
26495 "tag": "b"
26496 },
26497 {
26498 "tag": "p",
26499 "children": [
26500 {
26501 "tag": "b"
26502 },
26503 {
26504 "text": "TEST"
26505 }
26506 ]
26507 }
26508 ]
26509 }
26510 ]
26511 }
26512 ],
26513 "html": "<html><head></head><body><b></b><p><b></b>TEST</p></body></html>",
26514 "noQuirksBodyHtml": "<b></b><p><b></b>TEST</p>"
26515 }
26516 },
26517 {
26518 "data": "<p id=a><b><p id=b></b>TEST",
26519 "errors": [
26520 "(1,8): expected-doctype-but-got-start-tag",
26521 "(1,19): unexpected-end-tag",
26522 "(1,23): adoption-agency-1.2"
26523 ],
26524 "document": {
26525 "props": {
26526 "tags": {
26527 "html": true,
26528 "head": true,
26529 "body": true,
26530 "p": true,
26531 "b": true
26532 }
26533 },
26534 "tree": [
26535 {
26536 "tag": "html",
26537 "children": [
26538 {
26539 "tag": "head"
26540 },
26541 {
26542 "tag": "body",
26543 "children": [
26544 {
26545 "tag": "p",
26546 "attrs": [
26547 {
26548 "name": "id",
26549 "value": "a"
26550 }
26551 ],
26552 "children": [
26553 {
26554 "tag": "b"
26555 }
26556 ]
26557 },
26558 {
26559 "tag": "p",
26560 "attrs": [
26561 {
26562 "name": "id",
26563 "value": "b"
26564 }
26565 ],
26566 "children": [
26567 {
26568 "text": "TEST"
26569 }
26570 ]
26571 }
26572 ]
26573 }
26574 ]
26575 }
26576 ],
26577 "html": "<html><head></head><body><p id=\"a\"><b></b></p><p id=\"b\">TEST</p></body></html>",
26578 "noQuirksBodyHtml": "<p id=\"a\"><b></b></p><p id=\"b\">TEST</p>"
26579 }
26580 },
26581 {
26582 "data": "<b id=a><p><b id=b></p></b>TEST",
26583 "errors": [
26584 "(1,8): expected-doctype-but-got-start-tag",
26585 "(1,23): unexpected-end-tag",
26586 "(1,27): adoption-agency-1.2",
26587 "(1,31): expected-closing-tag-but-got-eof"
26588 ],
26589 "document": {
26590 "props": {
26591 "tags": {
26592 "html": true,
26593 "head": true,
26594 "body": true,
26595 "b": true,
26596 "p": true
26597 }
26598 },
26599 "tree": [
26600 {
26601 "tag": "html",
26602 "children": [
26603 {
26604 "tag": "head"
26605 },
26606 {
26607 "tag": "body",
26608 "children": [
26609 {
26610 "tag": "b",
26611 "attrs": [
26612 {
26613 "name": "id",
26614 "value": "a"
26615 }
26616 ],
26617 "children": [
26618 {
26619 "tag": "p",
26620 "children": [
26621 {
26622 "tag": "b",
26623 "attrs": [
26624 {
26625 "name": "id",
26626 "value": "b"
26627 }
26628 ]
26629 }
26630 ]
26631 },
26632 {
26633 "text": "TEST"
26634 }
26635 ]
26636 }
26637 ]
26638 }
26639 ]
26640 }
26641 ],
26642 "html": "<html><head></head><body><b id=\"a\"><p><b id=\"b\"></b></p>TEST</b></body></html>",
26643 "noQuirksBodyHtml": "<b id=\"a\"><p><b id=\"b\"></b></p>TEST</b>"
26644 }
26645 },
26646 {
26647 "data": "<!DOCTYPE html><title>U-test</title><body><div><p>Test<u></p></div></body>",
26648 "errors": [
26649 "(1,61): unexpected-end-tag"
26650 ],
26651 "document": {
26652 "props": {
26653 "tags": {
26654 "html": true,
26655 "head": true,
26656 "title": true,
26657 "body": true,
26658 "div": true,
26659 "p": true,
26660 "u": true
26661 },
26662 "doctype": true
26663 },
26664 "tree": [
26665 {
26666 "doctype": "html"
26667 },
26668 {
26669 "tag": "html",
26670 "children": [
26671 {
26672 "tag": "head",
26673 "children": [
26674 {
26675 "tag": "title",
26676 "children": [
26677 {
26678 "text": "U-test"
26679 }
26680 ]
26681 }
26682 ]
26683 },
26684 {
26685 "tag": "body",
26686 "children": [
26687 {
26688 "tag": "div",
26689 "children": [
26690 {
26691 "tag": "p",
26692 "children": [
26693 {
26694 "text": "Test"
26695 },
26696 {
26697 "tag": "u"
26698 }
26699 ]
26700 }
26701 ]
26702 }
26703 ]
26704 }
26705 ]
26706 }
26707 ],
26708 "html": "<!DOCTYPE html><html><head><title>U-test</title></head><body><div><p>Test<u></u></p></div></body></html>",
26709 "noQuirksBodyHtml": "<title>U-test</title><div><p>Test<u></u></p></div>"
26710 }
26711 },
26712 {
26713 "data": "<!DOCTYPE html><font><table></font></table></font>",
26714 "errors": [
26715 "(1,35): unexpected-end-tag-implies-table-voodoo",
26716 "(1,35): unexpected-end-tag"
26717 ],
26718 "document": {
26719 "props": {
26720 "tags": {
26721 "html": true,
26722 "head": true,
26723 "body": true,
26724 "font": true,
26725 "table": true
26726 },
26727 "doctype": true
26728 },
26729 "tree": [
26730 {
26731 "doctype": "html"
26732 },
26733 {
26734 "tag": "html",
26735 "children": [
26736 {
26737 "tag": "head"
26738 },
26739 {
26740 "tag": "body",
26741 "children": [
26742 {
26743 "tag": "font",
26744 "children": [
26745 {
26746 "tag": "table"
26747 }
26748 ]
26749 }
26750 ]
26751 }
26752 ]
26753 }
26754 ],
26755 "html": "<!DOCTYPE html><html><head></head><body><font><table></table></font></body></html>",
26756 "noQuirksBodyHtml": "<font><table></table></font>"
26757 }
26758 },
26759 {
26760 "data": "<font><p>hello<b>cruel</font>world",
26761 "errors": [
26762 "(1,6): expected-doctype-but-got-start-tag",
26763 "(1,29): adoption-agency-1.3",
26764 "(1,29): adoption-agency-1.3",
26765 "(1,34): expected-closing-tag-but-got-eof"
26766 ],
26767 "document": {
26768 "props": {
26769 "tags": {
26770 "html": true,
26771 "head": true,
26772 "body": true,
26773 "font": true,
26774 "p": true,
26775 "b": true
26776 }
26777 },
26778 "tree": [
26779 {
26780 "tag": "html",
26781 "children": [
26782 {
26783 "tag": "head"
26784 },
26785 {
26786 "tag": "body",
26787 "children": [
26788 {
26789 "tag": "font"
26790 },
26791 {
26792 "tag": "p",
26793 "children": [
26794 {
26795 "tag": "font",
26796 "children": [
26797 {
26798 "text": "hello"
26799 },
26800 {
26801 "tag": "b",
26802 "children": [
26803 {
26804 "text": "cruel"
26805 }
26806 ]
26807 }
26808 ]
26809 },
26810 {
26811 "tag": "b",
26812 "children": [
26813 {
26814 "text": "world"
26815 }
26816 ]
26817 }
26818 ]
26819 }
26820 ]
26821 }
26822 ]
26823 }
26824 ],
26825 "html": "<html><head></head><body><font></font><p><font>hello<b>cruel</b></font><b>world</b></p></body></html>",
26826 "noQuirksBodyHtml": "<font></font><p><font>hello<b>cruel</b></font><b>world</b></p>"
26827 }
26828 },
26829 {
26830 "data": "<b>Test</i>Test",
26831 "errors": [
26832 "(1,3): expected-doctype-but-got-start-tag",
26833 "(1,11): unexpected-end-tag",
26834 "(1,15): expected-closing-tag-but-got-eof"
26835 ],
26836 "document": {
26837 "props": {
26838 "tags": {
26839 "html": true,
26840 "head": true,
26841 "body": true,
26842 "b": true
26843 }
26844 },
26845 "tree": [
26846 {
26847 "tag": "html",
26848 "children": [
26849 {
26850 "tag": "head"
26851 },
26852 {
26853 "tag": "body",
26854 "children": [
26855 {
26856 "tag": "b",
26857 "children": [
26858 {
26859 "text": "TestTest"
26860 }
26861 ]
26862 }
26863 ]
26864 }
26865 ]
26866 }
26867 ],
26868 "html": "<html><head></head><body><b>TestTest</b></body></html>",
26869 "noQuirksBodyHtml": "<b>TestTest</b>"
26870 }
26871 },
26872 {
26873 "data": "<b>A<cite>B<div>C",
26874 "errors": [
26875 "(1,3): expected-doctype-but-got-start-tag",
26876 "(1,17): expected-closing-tag-but-got-eof"
26877 ],
26878 "document": {
26879 "props": {
26880 "tags": {
26881 "html": true,
26882 "head": true,
26883 "body": true,
26884 "b": true,
26885 "cite": true,
26886 "div": true
26887 }
26888 },
26889 "tree": [
26890 {
26891 "tag": "html",
26892 "children": [
26893 {
26894 "tag": "head"
26895 },
26896 {
26897 "tag": "body",
26898 "children": [
26899 {
26900 "tag": "b",
26901 "children": [
26902 {
26903 "text": "A"
26904 },
26905 {
26906 "tag": "cite",
26907 "children": [
26908 {
26909 "text": "B"
26910 },
26911 {
26912 "tag": "div",
26913 "children": [
26914 {
26915 "text": "C"
26916 }
26917 ]
26918 }
26919 ]
26920 }
26921 ]
26922 }
26923 ]
26924 }
26925 ]
26926 }
26927 ],
26928 "html": "<html><head></head><body><b>A<cite>B<div>C</div></cite></b></body></html>",
26929 "noQuirksBodyHtml": "<b>A<cite>B<div>C</div></cite></b>"
26930 }
26931 },
26932 {
26933 "data": "<b>A<cite>B<div>C</cite>D",
26934 "errors": [
26935 "(1,3): expected-doctype-but-got-start-tag",
26936 "(1,24): unexpected-end-tag",
26937 "(1,25): expected-closing-tag-but-got-eof"
26938 ],
26939 "document": {
26940 "props": {
26941 "tags": {
26942 "html": true,
26943 "head": true,
26944 "body": true,
26945 "b": true,
26946 "cite": true,
26947 "div": true
26948 }
26949 },
26950 "tree": [
26951 {
26952 "tag": "html",
26953 "children": [
26954 {
26955 "tag": "head"
26956 },
26957 {
26958 "tag": "body",
26959 "children": [
26960 {
26961 "tag": "b",
26962 "children": [
26963 {
26964 "text": "A"
26965 },
26966 {
26967 "tag": "cite",
26968 "children": [
26969 {
26970 "text": "B"
26971 },
26972 {
26973 "tag": "div",
26974 "children": [
26975 {
26976 "text": "CD"
26977 }
26978 ]
26979 }
26980 ]
26981 }
26982 ]
26983 }
26984 ]
26985 }
26986 ]
26987 }
26988 ],
26989 "html": "<html><head></head><body><b>A<cite>B<div>CD</div></cite></b></body></html>",
26990 "noQuirksBodyHtml": "<b>A<cite>B<div>CD</div></cite></b>"
26991 }
26992 },
26993 {
26994 "data": "<b>A<cite>B<div>C</b>D",
26995 "errors": [
26996 "(1,3): expected-doctype-but-got-start-tag",
26997 "(1,21): adoption-agency-1.3",
26998 "(1,22): expected-closing-tag-but-got-eof"
26999 ],
27000 "document": {
27001 "props": {
27002 "tags": {
27003 "html": true,
27004 "head": true,
27005 "body": true,
27006 "b": true,
27007 "cite": true,
27008 "div": true
27009 }
27010 },
27011 "tree": [
27012 {
27013 "tag": "html",
27014 "children": [
27015 {
27016 "tag": "head"
27017 },
27018 {
27019 "tag": "body",
27020 "children": [
27021 {
27022 "tag": "b",
27023 "children": [
27024 {
27025 "text": "A"
27026 },
27027 {
27028 "tag": "cite",
27029 "children": [
27030 {
27031 "text": "B"
27032 }
27033 ]
27034 }
27035 ]
27036 },
27037 {
27038 "tag": "div",
27039 "children": [
27040 {
27041 "tag": "b",
27042 "children": [
27043 {
27044 "text": "C"
27045 }
27046 ]
27047 },
27048 {
27049 "text": "D"
27050 }
27051 ]
27052 }
27053 ]
27054 }
27055 ]
27056 }
27057 ],
27058 "html": "<html><head></head><body><b>A<cite>B</cite></b><div><b>C</b>D</div></body></html>",
27059 "noQuirksBodyHtml": "<b>A<cite>B</cite></b><div><b>C</b>D</div>"
27060 }
27061 },
27062 {
27063 "data": "",
27064 "errors": [
27065 "(1,0): expected-doctype-but-got-eof"
27066 ],
27067 "document": {
27068 "props": {
27069 "tags": {
27070 "html": true,
27071 "head": true,
27072 "body": true
27073 }
27074 },
27075 "tree": [
27076 {
27077 "tag": "html",
27078 "children": [
27079 {
27080 "tag": "head"
27081 },
27082 {
27083 "tag": "body"
27084 }
27085 ]
27086 }
27087 ],
27088 "html": "<html><head></head><body></body></html>",
27089 "noQuirksBodyHtml": ""
27090 }
27091 },
27092 {
27093 "data": "<DIV>",
27094 "errors": [
27095 "(1,5): expected-doctype-but-got-start-tag",
27096 "(1,5): expected-closing-tag-but-got-eof"
27097 ],
27098 "document": {
27099 "props": {
27100 "tags": {
27101 "html": true,
27102 "head": true,
27103 "body": true,
27104 "div": true
27105 }
27106 },
27107 "tree": [
27108 {
27109 "tag": "html",
27110 "children": [
27111 {
27112 "tag": "head"
27113 },
27114 {
27115 "tag": "body",
27116 "children": [
27117 {
27118 "tag": "div"
27119 }
27120 ]
27121 }
27122 ]
27123 }
27124 ],
27125 "html": "<html><head></head><body><div></div></body></html>",
27126 "noQuirksBodyHtml": "<div></div>"
27127 }
27128 },
27129 {
27130 "data": "<DIV> abc",
27131 "errors": [
27132 "(1,5): expected-doctype-but-got-start-tag",
27133 "(1,9): expected-closing-tag-but-got-eof"
27134 ],
27135 "document": {
27136 "props": {
27137 "tags": {
27138 "html": true,
27139 "head": true,
27140 "body": true,
27141 "div": true
27142 }
27143 },
27144 "tree": [
27145 {
27146 "tag": "html",
27147 "children": [
27148 {
27149 "tag": "head"
27150 },
27151 {
27152 "tag": "body",
27153 "children": [
27154 {
27155 "tag": "div",
27156 "children": [
27157 {
27158 "text": " abc"
27159 }
27160 ]
27161 }
27162 ]
27163 }
27164 ]
27165 }
27166 ],
27167 "html": "<html><head></head><body><div> abc</div></body></html>",
27168 "noQuirksBodyHtml": "<div> abc</div>"
27169 }
27170 },
27171 {
27172 "data": "<DIV> abc <B>",
27173 "errors": [
27174 "(1,5): expected-doctype-but-got-start-tag",
27175 "(1,13): expected-closing-tag-but-got-eof"
27176 ],
27177 "document": {
27178 "props": {
27179 "tags": {
27180 "html": true,
27181 "head": true,
27182 "body": true,
27183 "div": true,
27184 "b": true
27185 }
27186 },
27187 "tree": [
27188 {
27189 "tag": "html",
27190 "children": [
27191 {
27192 "tag": "head"
27193 },
27194 {
27195 "tag": "body",
27196 "children": [
27197 {
27198 "tag": "div",
27199 "children": [
27200 {
27201 "text": " abc "
27202 },
27203 {
27204 "tag": "b"
27205 }
27206 ]
27207 }
27208 ]
27209 }
27210 ]
27211 }
27212 ],
27213 "html": "<html><head></head><body><div> abc <b></b></div></body></html>",
27214 "noQuirksBodyHtml": "<div> abc <b></b></div>"
27215 }
27216 },
27217 {
27218 "data": "<DIV> abc <B> def",
27219 "errors": [
27220 "(1,5): expected-doctype-but-got-start-tag",
27221 "(1,17): expected-closing-tag-but-got-eof"
27222 ],
27223 "document": {
27224 "props": {
27225 "tags": {
27226 "html": true,
27227 "head": true,
27228 "body": true,
27229 "div": true,
27230 "b": true
27231 }
27232 },
27233 "tree": [
27234 {
27235 "tag": "html",
27236 "children": [
27237 {
27238 "tag": "head"
27239 },
27240 {
27241 "tag": "body",
27242 "children": [
27243 {
27244 "tag": "div",
27245 "children": [
27246 {
27247 "text": " abc "
27248 },
27249 {
27250 "tag": "b",
27251 "children": [
27252 {
27253 "text": " def"
27254 }
27255 ]
27256 }
27257 ]
27258 }
27259 ]
27260 }
27261 ]
27262 }
27263 ],
27264 "html": "<html><head></head><body><div> abc <b> def</b></div></body></html>",
27265 "noQuirksBodyHtml": "<div> abc <b> def</b></div>"
27266 }
27267 },
27268 {
27269 "data": "<DIV> abc <B> def <I>",
27270 "errors": [
27271 "(1,5): expected-doctype-but-got-start-tag",
27272 "(1,21): expected-closing-tag-but-got-eof"
27273 ],
27274 "document": {
27275 "props": {
27276 "tags": {
27277 "html": true,
27278 "head": true,
27279 "body": true,
27280 "div": true,
27281 "b": true,
27282 "i": true
27283 }
27284 },
27285 "tree": [
27286 {
27287 "tag": "html",
27288 "children": [
27289 {
27290 "tag": "head"
27291 },
27292 {
27293 "tag": "body",
27294 "children": [
27295 {
27296 "tag": "div",
27297 "children": [
27298 {
27299 "text": " abc "
27300 },
27301 {
27302 "tag": "b",
27303 "children": [
27304 {
27305 "text": " def "
27306 },
27307 {
27308 "tag": "i"
27309 }
27310 ]
27311 }
27312 ]
27313 }
27314 ]
27315 }
27316 ]
27317 }
27318 ],
27319 "html": "<html><head></head><body><div> abc <b> def <i></i></b></div></body></html>",
27320 "noQuirksBodyHtml": "<div> abc <b> def <i></i></b></div>"
27321 }
27322 },
27323 {
27324 "data": "<DIV> abc <B> def <I> ghi",
27325 "errors": [
27326 "(1,5): expected-doctype-but-got-start-tag",
27327 "(1,25): expected-closing-tag-but-got-eof"
27328 ],
27329 "document": {
27330 "props": {
27331 "tags": {
27332 "html": true,
27333 "head": true,
27334 "body": true,
27335 "div": true,
27336 "b": true,
27337 "i": true
27338 }
27339 },
27340 "tree": [
27341 {
27342 "tag": "html",
27343 "children": [
27344 {
27345 "tag": "head"
27346 },
27347 {
27348 "tag": "body",
27349 "children": [
27350 {
27351 "tag": "div",
27352 "children": [
27353 {
27354 "text": " abc "
27355 },
27356 {
27357 "tag": "b",
27358 "children": [
27359 {
27360 "text": " def "
27361 },
27362 {
27363 "tag": "i",
27364 "children": [
27365 {
27366 "text": " ghi"
27367 }
27368 ]
27369 }
27370 ]
27371 }
27372 ]
27373 }
27374 ]
27375 }
27376 ]
27377 }
27378 ],
27379 "html": "<html><head></head><body><div> abc <b> def <i> ghi</i></b></div></body></html>",
27380 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi</i></b></div>"
27381 }
27382 },
27383 {
27384 "data": "<DIV> abc <B> def <I> ghi <P>",
27385 "errors": [
27386 "(1,5): expected-doctype-but-got-start-tag",
27387 "(1,29): expected-closing-tag-but-got-eof"
27388 ],
27389 "document": {
27390 "props": {
27391 "tags": {
27392 "html": true,
27393 "head": true,
27394 "body": true,
27395 "div": true,
27396 "b": true,
27397 "i": true,
27398 "p": true
27399 }
27400 },
27401 "tree": [
27402 {
27403 "tag": "html",
27404 "children": [
27405 {
27406 "tag": "head"
27407 },
27408 {
27409 "tag": "body",
27410 "children": [
27411 {
27412 "tag": "div",
27413 "children": [
27414 {
27415 "text": " abc "
27416 },
27417 {
27418 "tag": "b",
27419 "children": [
27420 {
27421 "text": " def "
27422 },
27423 {
27424 "tag": "i",
27425 "children": [
27426 {
27427 "text": " ghi "
27428 },
27429 {
27430 "tag": "p"
27431 }
27432 ]
27433 }
27434 ]
27435 }
27436 ]
27437 }
27438 ]
27439 }
27440 ]
27441 }
27442 ],
27443 "html": "<html><head></head><body><div> abc <b> def <i> ghi <p></p></i></b></div></body></html>",
27444 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi <p></p></i></b></div>"
27445 }
27446 },
27447 {
27448 "data": "<DIV> abc <B> def <I> ghi <P> jkl",
27449 "errors": [
27450 "(1,5): expected-doctype-but-got-start-tag",
27451 "(1,33): expected-closing-tag-but-got-eof"
27452 ],
27453 "document": {
27454 "props": {
27455 "tags": {
27456 "html": true,
27457 "head": true,
27458 "body": true,
27459 "div": true,
27460 "b": true,
27461 "i": true,
27462 "p": true
27463 }
27464 },
27465 "tree": [
27466 {
27467 "tag": "html",
27468 "children": [
27469 {
27470 "tag": "head"
27471 },
27472 {
27473 "tag": "body",
27474 "children": [
27475 {
27476 "tag": "div",
27477 "children": [
27478 {
27479 "text": " abc "
27480 },
27481 {
27482 "tag": "b",
27483 "children": [
27484 {
27485 "text": " def "
27486 },
27487 {
27488 "tag": "i",
27489 "children": [
27490 {
27491 "text": " ghi "
27492 },
27493 {
27494 "tag": "p",
27495 "children": [
27496 {
27497 "text": " jkl"
27498 }
27499 ]
27500 }
27501 ]
27502 }
27503 ]
27504 }
27505 ]
27506 }
27507 ]
27508 }
27509 ]
27510 }
27511 ],
27512 "html": "<html><head></head><body><div> abc <b> def <i> ghi <p> jkl</p></i></b></div></body></html>",
27513 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi <p> jkl</p></i></b></div>"
27514 }
27515 },
27516 {
27517 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B>",
27518 "errors": [
27519 "(1,5): expected-doctype-but-got-start-tag",
27520 "(1,38): adoption-agency-1.3",
27521 "(1,38): expected-closing-tag-but-got-eof"
27522 ],
27523 "document": {
27524 "props": {
27525 "tags": {
27526 "html": true,
27527 "head": true,
27528 "body": true,
27529 "div": true,
27530 "b": true,
27531 "i": true,
27532 "p": true
27533 }
27534 },
27535 "tree": [
27536 {
27537 "tag": "html",
27538 "children": [
27539 {
27540 "tag": "head"
27541 },
27542 {
27543 "tag": "body",
27544 "children": [
27545 {
27546 "tag": "div",
27547 "children": [
27548 {
27549 "text": " abc "
27550 },
27551 {
27552 "tag": "b",
27553 "children": [
27554 {
27555 "text": " def "
27556 },
27557 {
27558 "tag": "i",
27559 "children": [
27560 {
27561 "text": " ghi "
27562 }
27563 ]
27564 }
27565 ]
27566 },
27567 {
27568 "tag": "i",
27569 "children": [
27570 {
27571 "tag": "p",
27572 "children": [
27573 {
27574 "tag": "b",
27575 "children": [
27576 {
27577 "text": " jkl "
27578 }
27579 ]
27580 }
27581 ]
27582 }
27583 ]
27584 }
27585 ]
27586 }
27587 ]
27588 }
27589 ]
27590 }
27591 ],
27592 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b></p></i></div></body></html>",
27593 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b></p></i></div>"
27594 }
27595 },
27596 {
27597 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno",
27598 "errors": [
27599 "(1,5): expected-doctype-but-got-start-tag",
27600 "(1,38): adoption-agency-1.3",
27601 "(1,42): expected-closing-tag-but-got-eof"
27602 ],
27603 "document": {
27604 "props": {
27605 "tags": {
27606 "html": true,
27607 "head": true,
27608 "body": true,
27609 "div": true,
27610 "b": true,
27611 "i": true,
27612 "p": true
27613 }
27614 },
27615 "tree": [
27616 {
27617 "tag": "html",
27618 "children": [
27619 {
27620 "tag": "head"
27621 },
27622 {
27623 "tag": "body",
27624 "children": [
27625 {
27626 "tag": "div",
27627 "children": [
27628 {
27629 "text": " abc "
27630 },
27631 {
27632 "tag": "b",
27633 "children": [
27634 {
27635 "text": " def "
27636 },
27637 {
27638 "tag": "i",
27639 "children": [
27640 {
27641 "text": " ghi "
27642 }
27643 ]
27644 }
27645 ]
27646 },
27647 {
27648 "tag": "i",
27649 "children": [
27650 {
27651 "tag": "p",
27652 "children": [
27653 {
27654 "tag": "b",
27655 "children": [
27656 {
27657 "text": " jkl "
27658 }
27659 ]
27660 },
27661 {
27662 "text": " mno"
27663 }
27664 ]
27665 }
27666 ]
27667 }
27668 ]
27669 }
27670 ]
27671 }
27672 ]
27673 }
27674 ],
27675 "html": "<html><head></head><body><div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b> mno</p></i></div></body></html>",
27676 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i><p><b> jkl </b> mno</p></i></div>"
27677 }
27678 },
27679 {
27680 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I>",
27681 "errors": [
27682 "(1,5): expected-doctype-but-got-start-tag",
27683 "(1,38): adoption-agency-1.3",
27684 "(1,47): adoption-agency-1.3",
27685 "(1,47): expected-closing-tag-but-got-eof"
27686 ],
27687 "document": {
27688 "props": {
27689 "tags": {
27690 "html": true,
27691 "head": true,
27692 "body": true,
27693 "div": true,
27694 "b": true,
27695 "i": true,
27696 "p": true
27697 }
27698 },
27699 "tree": [
27700 {
27701 "tag": "html",
27702 "children": [
27703 {
27704 "tag": "head"
27705 },
27706 {
27707 "tag": "body",
27708 "children": [
27709 {
27710 "tag": "div",
27711 "children": [
27712 {
27713 "text": " abc "
27714 },
27715 {
27716 "tag": "b",
27717 "children": [
27718 {
27719 "text": " def "
27720 },
27721 {
27722 "tag": "i",
27723 "children": [
27724 {
27725 "text": " ghi "
27726 }
27727 ]
27728 }
27729 ]
27730 },
27731 {
27732 "tag": "i"
27733 },
27734 {
27735 "tag": "p",
27736 "children": [
27737 {
27738 "tag": "i",
27739 "children": [
27740 {
27741 "tag": "b",
27742 "children": [
27743 {
27744 "text": " jkl "
27745 }
27746 ]
27747 },
27748 {
27749 "text": " mno "
27750 }
27751 ]
27752 }
27753 ]
27754 }
27755 ]
27756 }
27757 ]
27758 }
27759 ]
27760 }
27761 ],
27762 "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>",
27763 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i></p></div>"
27764 }
27765 },
27766 {
27767 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr",
27768 "errors": [
27769 "(1,5): expected-doctype-but-got-start-tag",
27770 "(1,38): adoption-agency-1.3",
27771 "(1,47): adoption-agency-1.3",
27772 "(1,51): expected-closing-tag-but-got-eof"
27773 ],
27774 "document": {
27775 "props": {
27776 "tags": {
27777 "html": true,
27778 "head": true,
27779 "body": true,
27780 "div": true,
27781 "b": true,
27782 "i": true,
27783 "p": true
27784 }
27785 },
27786 "tree": [
27787 {
27788 "tag": "html",
27789 "children": [
27790 {
27791 "tag": "head"
27792 },
27793 {
27794 "tag": "body",
27795 "children": [
27796 {
27797 "tag": "div",
27798 "children": [
27799 {
27800 "text": " abc "
27801 },
27802 {
27803 "tag": "b",
27804 "children": [
27805 {
27806 "text": " def "
27807 },
27808 {
27809 "tag": "i",
27810 "children": [
27811 {
27812 "text": " ghi "
27813 }
27814 ]
27815 }
27816 ]
27817 },
27818 {
27819 "tag": "i"
27820 },
27821 {
27822 "tag": "p",
27823 "children": [
27824 {
27825 "tag": "i",
27826 "children": [
27827 {
27828 "tag": "b",
27829 "children": [
27830 {
27831 "text": " jkl "
27832 }
27833 ]
27834 },
27835 {
27836 "text": " mno "
27837 }
27838 ]
27839 },
27840 {
27841 "text": " pqr"
27842 }
27843 ]
27844 }
27845 ]
27846 }
27847 ]
27848 }
27849 ]
27850 }
27851 ],
27852 "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>",
27853 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr</p></div>"
27854 }
27855 },
27856 {
27857 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P>",
27858 "errors": [
27859 "(1,5): expected-doctype-but-got-start-tag",
27860 "(1,38): adoption-agency-1.3",
27861 "(1,47): adoption-agency-1.3",
27862 "(1,56): expected-closing-tag-but-got-eof"
27863 ],
27864 "document": {
27865 "props": {
27866 "tags": {
27867 "html": true,
27868 "head": true,
27869 "body": true,
27870 "div": true,
27871 "b": true,
27872 "i": true,
27873 "p": true
27874 }
27875 },
27876 "tree": [
27877 {
27878 "tag": "html",
27879 "children": [
27880 {
27881 "tag": "head"
27882 },
27883 {
27884 "tag": "body",
27885 "children": [
27886 {
27887 "tag": "div",
27888 "children": [
27889 {
27890 "text": " abc "
27891 },
27892 {
27893 "tag": "b",
27894 "children": [
27895 {
27896 "text": " def "
27897 },
27898 {
27899 "tag": "i",
27900 "children": [
27901 {
27902 "text": " ghi "
27903 }
27904 ]
27905 }
27906 ]
27907 },
27908 {
27909 "tag": "i"
27910 },
27911 {
27912 "tag": "p",
27913 "children": [
27914 {
27915 "tag": "i",
27916 "children": [
27917 {
27918 "tag": "b",
27919 "children": [
27920 {
27921 "text": " jkl "
27922 }
27923 ]
27924 },
27925 {
27926 "text": " mno "
27927 }
27928 ]
27929 },
27930 {
27931 "text": " pqr "
27932 }
27933 ]
27934 }
27935 ]
27936 }
27937 ]
27938 }
27939 ]
27940 }
27941 ],
27942 "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>",
27943 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p></div>"
27944 }
27945 },
27946 {
27947 "data": "<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> stu",
27948 "errors": [
27949 "(1,5): expected-doctype-but-got-start-tag",
27950 "(1,38): adoption-agency-1.3",
27951 "(1,47): adoption-agency-1.3",
27952 "(1,60): expected-closing-tag-but-got-eof"
27953 ],
27954 "document": {
27955 "props": {
27956 "tags": {
27957 "html": true,
27958 "head": true,
27959 "body": true,
27960 "div": true,
27961 "b": true,
27962 "i": true,
27963 "p": true
27964 }
27965 },
27966 "tree": [
27967 {
27968 "tag": "html",
27969 "children": [
27970 {
27971 "tag": "head"
27972 },
27973 {
27974 "tag": "body",
27975 "children": [
27976 {
27977 "tag": "div",
27978 "children": [
27979 {
27980 "text": " abc "
27981 },
27982 {
27983 "tag": "b",
27984 "children": [
27985 {
27986 "text": " def "
27987 },
27988 {
27989 "tag": "i",
27990 "children": [
27991 {
27992 "text": " ghi "
27993 }
27994 ]
27995 }
27996 ]
27997 },
27998 {
27999 "tag": "i"
28000 },
28001 {
28002 "tag": "p",
28003 "children": [
28004 {
28005 "tag": "i",
28006 "children": [
28007 {
28008 "tag": "b",
28009 "children": [
28010 {
28011 "text": " jkl "
28012 }
28013 ]
28014 },
28015 {
28016 "text": " mno "
28017 }
28018 ]
28019 },
28020 {
28021 "text": " pqr "
28022 }
28023 ]
28024 },
28025 {
28026 "text": " stu"
28027 }
28028 ]
28029 }
28030 ]
28031 }
28032 ]
28033 }
28034 ],
28035 "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>",
28036 "noQuirksBodyHtml": "<div> abc <b> def <i> ghi </i></b><i></i><p><i><b> jkl </b> mno </i> pqr </p> stu</div>"
28037 }
28038 },
28039 {
28040 "data": "<test attribute---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->",
28041 "errors": [
28042 "(1,1040): expected-doctype-but-got-start-tag",
28043 "(1,1040): expected-closing-tag-but-got-eof"
28044 ],
28045 "document": {
28046 "props": {
28047 "tags": {
28048 "html": true,
28049 "head": true,
28050 "body": true,
28051 "test": true
28052 }
28053 },
28054 "tree": [
28055 {
28056 "tag": "html",
28057 "children": [
28058 {
28059 "tag": "head"
28060 },
28061 {
28062 "tag": "body",
28063 "children": [
28064 {
28065 "tag": "test",
28066 "attrs": [
28067 {
28068 "name": "attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------",
28069 "value": ""
28070 }
28071 ]
28072 }
28073 ]
28074 }
28075 ]
28076 }
28077 ],
28078 "html": "<html><head></head><body><test attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=\"\"></test></body></html>",
28079 "noQuirksBodyHtml": "<test attribute----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------=\"\"></test>"
28080 }
28081 },
28082 {
28083 "data": "<a href=\"blah\">aba<table><a href=\"foo\">br<tr><td></td></tr>x</table>aoe",
28084 "errors": [
28085 "(1,15): expected-doctype-but-got-start-tag",
28086 "(1,39): unexpected-start-tag-implies-table-voodoo",
28087 "(1,39): unexpected-start-tag-implies-end-tag",
28088 "(1,39): unexpected-end-tag",
28089 "(1,45): foster-parenting-character-in-table",
28090 "(1,45): foster-parenting-character-in-table",
28091 "(1,68): foster-parenting-character-in-table",
28092 "(1,71): expected-closing-tag-but-got-eof"
28093 ],
28094 "document": {
28095 "props": {
28096 "tags": {
28097 "html": true,
28098 "head": true,
28099 "body": true,
28100 "a": true,
28101 "table": true,
28102 "tbody": true,
28103 "tr": true,
28104 "td": true
28105 }
28106 },
28107 "tree": [
28108 {
28109 "tag": "html",
28110 "children": [
28111 {
28112 "tag": "head"
28113 },
28114 {
28115 "tag": "body",
28116 "children": [
28117 {
28118 "tag": "a",
28119 "attrs": [
28120 {
28121 "name": "href",
28122 "value": "blah"
28123 }
28124 ],
28125 "children": [
28126 {
28127 "text": "aba"
28128 },
28129 {
28130 "tag": "a",
28131 "attrs": [
28132 {
28133 "name": "href",
28134 "value": "foo"
28135 }
28136 ],
28137 "children": [
28138 {
28139 "text": "br"
28140 }
28141 ]
28142 },
28143 {
28144 "tag": "a",
28145 "attrs": [
28146 {
28147 "name": "href",
28148 "value": "foo"
28149 }
28150 ],
28151 "children": [
28152 {
28153 "text": "x"
28154 }
28155 ]
28156 },
28157 {
28158 "tag": "table",
28159 "children": [
28160 {
28161 "tag": "tbody",
28162 "children": [
28163 {
28164 "tag": "tr",
28165 "children": [
28166 {
28167 "tag": "td"
28168 }
28169 ]
28170 }
28171 ]
28172 }
28173 ]
28174 }
28175 ]
28176 },
28177 {
28178 "tag": "a",
28179 "attrs": [
28180 {
28181 "name": "href",
28182 "value": "foo"
28183 }
28184 ],
28185 "children": [
28186 {
28187 "text": "aoe"
28188 }
28189 ]
28190 }
28191 ]
28192 }
28193 ]
28194 }
28195 ],
28196 "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>",
28197 "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>"
28198 }
28199 },
28200 {
28201 "data": "<a href=\"blah\">aba<table><tr><td><a href=\"foo\">br</td></tr>x</table>aoe",
28202 "errors": [
28203 "(1,15): expected-doctype-but-got-start-tag",
28204 "(1,54): unexpected-cell-end-tag",
28205 "(1,68): unexpected text in table",
28206 "(1,71): expected-closing-tag-but-got-eof"
28207 ],
28208 "document": {
28209 "props": {
28210 "tags": {
28211 "html": true,
28212 "head": true,
28213 "body": true,
28214 "a": true,
28215 "table": true,
28216 "tbody": true,
28217 "tr": true,
28218 "td": true
28219 }
28220 },
28221 "tree": [
28222 {
28223 "tag": "html",
28224 "children": [
28225 {
28226 "tag": "head"
28227 },
28228 {
28229 "tag": "body",
28230 "children": [
28231 {
28232 "tag": "a",
28233 "attrs": [
28234 {
28235 "name": "href",
28236 "value": "blah"
28237 }
28238 ],
28239 "children": [
28240 {
28241 "text": "abax"
28242 },
28243 {
28244 "tag": "table",
28245 "children": [
28246 {
28247 "tag": "tbody",
28248 "children": [
28249 {
28250 "tag": "tr",
28251 "children": [
28252 {
28253 "tag": "td",
28254 "children": [
28255 {
28256 "tag": "a",
28257 "attrs": [
28258 {
28259 "name": "href",
28260 "value": "foo"
28261 }
28262 ],
28263 "children": [
28264 {
28265 "text": "br"
28266 }
28267 ]
28268 }
28269 ]
28270 }
28271 ]
28272 }
28273 ]
28274 }
28275 ]
28276 },
28277 {
28278 "text": "aoe"
28279 }
28280 ]
28281 }
28282 ]
28283 }
28284 ]
28285 }
28286 ],
28287 "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>",
28288 "noQuirksBodyHtml": "<a href=\"blah\">abax<table><tbody><tr><td><a href=\"foo\">br</a></td></tr></tbody></table>aoe</a>"
28289 }
28290 },
28291 {
28292 "data": "<table><a href=\"blah\">aba<tr><td><a href=\"foo\">br</td></tr>x</table>aoe",
28293 "errors": [
28294 "(1,7): expected-doctype-but-got-start-tag",
28295 "(1,22): unexpected-start-tag-implies-table-voodoo",
28296 "(1,29): foster-parenting-character-in-table",
28297 "(1,29): foster-parenting-character-in-table",
28298 "(1,29): foster-parenting-character-in-table",
28299 "(1,54): unexpected-cell-end-tag",
28300 "(1,68): foster-parenting-character-in-table",
28301 "(1,71): expected-closing-tag-but-got-eof"
28302 ],
28303 "document": {
28304 "props": {
28305 "tags": {
28306 "html": true,
28307 "head": true,
28308 "body": true,
28309 "a": true,
28310 "table": true,
28311 "tbody": true,
28312 "tr": true,
28313 "td": true
28314 }
28315 },
28316 "tree": [
28317 {
28318 "tag": "html",
28319 "children": [
28320 {
28321 "tag": "head"
28322 },
28323 {
28324 "tag": "body",
28325 "children": [
28326 {
28327 "tag": "a",
28328 "attrs": [
28329 {
28330 "name": "href",
28331 "value": "blah"
28332 }
28333 ],
28334 "children": [
28335 {
28336 "text": "aba"
28337 }
28338 ]
28339 },
28340 {
28341 "tag": "a",
28342 "attrs": [
28343 {
28344 "name": "href",
28345 "value": "blah"
28346 }
28347 ],
28348 "children": [
28349 {
28350 "text": "x"
28351 }
28352 ]
28353 },
28354 {
28355 "tag": "table",
28356 "children": [
28357 {
28358 "tag": "tbody",
28359 "children": [
28360 {
28361 "tag": "tr",
28362 "children": [
28363 {
28364 "tag": "td",
28365 "children": [
28366 {
28367 "tag": "a",
28368 "attrs": [
28369 {
28370 "name": "href",
28371 "value": "foo"
28372 }
28373 ],
28374 "children": [
28375 {
28376 "text": "br"
28377 }
28378 ]
28379 }
28380 ]
28381 }
28382 ]
28383 }
28384 ]
28385 }
28386 ]
28387 },
28388 {
28389 "tag": "a",
28390 "attrs": [
28391 {
28392 "name": "href",
28393 "value": "blah"
28394 }
28395 ],
28396 "children": [
28397 {
28398 "text": "aoe"
28399 }
28400 ]
28401 }
28402 ]
28403 }
28404 ]
28405 }
28406 ],
28407 "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>",
28408 "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>"
28409 }
28410 },
28411 {
28412 "data": "<a href=a>aa<marquee>aa<a href=b>bb</marquee>aa",
28413 "errors": [
28414 "(1,10): expected-doctype-but-got-start-tag",
28415 "(1,45): end-tag-too-early",
28416 "(1,47): expected-closing-tag-but-got-eof"
28417 ],
28418 "document": {
28419 "props": {
28420 "tags": {
28421 "html": true,
28422 "head": true,
28423 "body": true,
28424 "a": true,
28425 "marquee": true
28426 }
28427 },
28428 "tree": [
28429 {
28430 "tag": "html",
28431 "children": [
28432 {
28433 "tag": "head"
28434 },
28435 {
28436 "tag": "body",
28437 "children": [
28438 {
28439 "tag": "a",
28440 "attrs": [
28441 {
28442 "name": "href",
28443 "value": "a"
28444 }
28445 ],
28446 "children": [
28447 {
28448 "text": "aa"
28449 },
28450 {
28451 "tag": "marquee",
28452 "children": [
28453 {
28454 "text": "aa"
28455 },
28456 {
28457 "tag": "a",
28458 "attrs": [
28459 {
28460 "name": "href",
28461 "value": "b"
28462 }
28463 ],
28464 "children": [
28465 {
28466 "text": "bb"
28467 }
28468 ]
28469 }
28470 ]
28471 },
28472 {
28473 "text": "aa"
28474 }
28475 ]
28476 }
28477 ]
28478 }
28479 ]
28480 }
28481 ],
28482 "html": "<html><head></head><body><a href=\"a\">aa<marquee>aa<a href=\"b\">bb</a></marquee>aa</a></body></html>",
28483 "noQuirksBodyHtml": "<a href=\"a\">aa<marquee>aa<a href=\"b\">bb</a></marquee>aa</a>"
28484 }
28485 },
28486 {
28487 "data": "<wbr><strike><code></strike><code><strike></code>",
28488 "errors": [
28489 "(1,5): expected-doctype-but-got-start-tag",
28490 "(1,28): adoption-agency-1.3",
28491 "(1,49): adoption-agency-1.3",
28492 "(1,49): expected-closing-tag-but-got-eof"
28493 ],
28494 "document": {
28495 "props": {
28496 "tags": {
28497 "html": true,
28498 "head": true,
28499 "body": true,
28500 "wbr": true,
28501 "strike": true,
28502 "code": true
28503 }
28504 },
28505 "tree": [
28506 {
28507 "tag": "html",
28508 "children": [
28509 {
28510 "tag": "head"
28511 },
28512 {
28513 "tag": "body",
28514 "children": [
28515 {
28516 "tag": "wbr"
28517 },
28518 {
28519 "tag": "strike",
28520 "children": [
28521 {
28522 "tag": "code"
28523 }
28524 ]
28525 },
28526 {
28527 "tag": "code",
28528 "children": [
28529 {
28530 "tag": "code",
28531 "children": [
28532 {
28533 "tag": "strike"
28534 }
28535 ]
28536 }
28537 ]
28538 }
28539 ]
28540 }
28541 ]
28542 }
28543 ],
28544 "html": "<html><head></head><body><wbr><strike><code></code></strike><code><code><strike></strike></code></code></body></html>",
28545 "noQuirksBodyHtml": "<wbr><strike><code></code></strike><code><code><strike></strike></code></code>"
28546 }
28547 },
28548 {
28549 "data": "<!DOCTYPE html><spacer>foo",
28550 "errors": [
28551 "(1,26): expected-closing-tag-but-got-eof"
28552 ],
28553 "document": {
28554 "props": {
28555 "tags": {
28556 "html": true,
28557 "head": true,
28558 "body": true,
28559 "spacer": true
28560 },
28561 "doctype": true
28562 },
28563 "tree": [
28564 {
28565 "doctype": "html"
28566 },
28567 {
28568 "tag": "html",
28569 "children": [
28570 {
28571 "tag": "head"
28572 },
28573 {
28574 "tag": "body",
28575 "children": [
28576 {
28577 "tag": "spacer",
28578 "children": [
28579 {
28580 "text": "foo"
28581 }
28582 ]
28583 }
28584 ]
28585 }
28586 ]
28587 }
28588 ],
28589 "html": "<!DOCTYPE html><html><head></head><body><spacer>foo</spacer></body></html>",
28590 "noQuirksBodyHtml": "<spacer>foo</spacer>"
28591 }
28592 },
28593 {
28594 "data": "<title><meta></title><link><title><meta></title>",
28595 "errors": [
28596 "(1,7): expected-doctype-but-got-start-tag"
28597 ],
28598 "document": {
28599 "props": {
28600 "tags": {
28601 "html": true,
28602 "head": true,
28603 "title": true,
28604 "link": true,
28605 "body": true
28606 },
28607 "escaped": true
28608 },
28609 "tree": [
28610 {
28611 "tag": "html",
28612 "children": [
28613 {
28614 "tag": "head",
28615 "children": [
28616 {
28617 "tag": "title",
28618 "children": [
28619 {
28620 "text": "<meta>",
28621 "escaped": true
28622 }
28623 ]
28624 },
28625 {
28626 "tag": "link"
28627 },
28628 {
28629 "tag": "title",
28630 "children": [
28631 {
28632 "text": "<meta>",
28633 "escaped": true
28634 }
28635 ]
28636 }
28637 ]
28638 },
28639 {
28640 "tag": "body"
28641 }
28642 ]
28643 }
28644 ],
28645 "html": "<html><head><title>&lt;meta&gt;</title><link><title>&lt;meta&gt;</title></head><body></body></html>",
28646 "noQuirksBodyHtml": "<title>&lt;meta&gt;</title><link><title>&lt;meta&gt;</title>"
28647 }
28648 },
28649 {
28650 "data": "<style><!--</style><meta><script>--><link></script>",
28651 "errors": [
28652 "(1,7): expected-doctype-but-got-start-tag"
28653 ],
28654 "document": {
28655 "props": {
28656 "tags": {
28657 "html": true,
28658 "head": true,
28659 "style": true,
28660 "meta": true,
28661 "script": true,
28662 "body": true
28663 },
28664 "no_escape": true
28665 },
28666 "tree": [
28667 {
28668 "tag": "html",
28669 "children": [
28670 {
28671 "tag": "head",
28672 "children": [
28673 {
28674 "tag": "style",
28675 "children": [
28676 {
28677 "text": "<!--",
28678 "no_escape": true
28679 }
28680 ]
28681 },
28682 {
28683 "tag": "meta"
28684 },
28685 {
28686 "tag": "script",
28687 "children": [
28688 {
28689 "text": "--><link>",
28690 "no_escape": true
28691 }
28692 ]
28693 }
28694 ]
28695 },
28696 {
28697 "tag": "body"
28698 }
28699 ]
28700 }
28701 ],
28702 "html": "<html><head><style><!--</style><meta><script>--><link></script></head><body></body></html>",
28703 "noQuirksBodyHtml": "<style><!--</style><meta><script>--><link></script>"
28704 }
28705 },
28706 {
28707 "data": "<head><meta></head><link>",
28708 "errors": [
28709 "(1,6): expected-doctype-but-got-start-tag",
28710 "(1,25): unexpected-start-tag-out-of-my-head"
28711 ],
28712 "document": {
28713 "props": {
28714 "tags": {
28715 "html": true,
28716 "head": true,
28717 "meta": true,
28718 "link": true,
28719 "body": true
28720 }
28721 },
28722 "tree": [
28723 {
28724 "tag": "html",
28725 "children": [
28726 {
28727 "tag": "head",
28728 "children": [
28729 {
28730 "tag": "meta"
28731 },
28732 {
28733 "tag": "link"
28734 }
28735 ]
28736 },
28737 {
28738 "tag": "body"
28739 }
28740 ]
28741 }
28742 ],
28743 "html": "<html><head><meta><link></head><body></body></html>",
28744 "noQuirksBodyHtml": "<meta><link>"
28745 }
28746 },
28747 {
28748 "data": "<table><tr><tr><td><td><span><th><span>X</table>",
28749 "errors": [
28750 "(1,7): expected-doctype-but-got-start-tag",
28751 "(1,33): unexpected-cell-end-tag",
28752 "(1,48): unexpected-cell-end-tag"
28753 ],
28754 "document": {
28755 "props": {
28756 "tags": {
28757 "html": true,
28758 "head": true,
28759 "body": true,
28760 "table": true,
28761 "tbody": true,
28762 "tr": true,
28763 "td": true,
28764 "span": true,
28765 "th": true
28766 }
28767 },
28768 "tree": [
28769 {
28770 "tag": "html",
28771 "children": [
28772 {
28773 "tag": "head"
28774 },
28775 {
28776 "tag": "body",
28777 "children": [
28778 {
28779 "tag": "table",
28780 "children": [
28781 {
28782 "tag": "tbody",
28783 "children": [
28784 {
28785 "tag": "tr"
28786 },
28787 {
28788 "tag": "tr",
28789 "children": [
28790 {
28791 "tag": "td"
28792 },
28793 {
28794 "tag": "td",
28795 "children": [
28796 {
28797 "tag": "span"
28798 }
28799 ]
28800 },
28801 {
28802 "tag": "th",
28803 "children": [
28804 {
28805 "tag": "span",
28806 "children": [
28807 {
28808 "text": "X"
28809 }
28810 ]
28811 }
28812 ]
28813 }
28814 ]
28815 }
28816 ]
28817 }
28818 ]
28819 }
28820 ]
28821 }
28822 ]
28823 }
28824 ],
28825 "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>",
28826 "noQuirksBodyHtml": "<table><tbody><tr></tr><tr><td></td><td><span></span></td><th><span>X</span></th></tr></tbody></table>"
28827 }
28828 },
28829 {
28830 "data": "<body><body><base><link><meta><title><p></title><body><p></body>",
28831 "errors": [
28832 "(1,6): expected-doctype-but-got-start-tag",
28833 "(1,12): unexpected-start-tag",
28834 "(1,54): unexpected-start-tag"
28835 ],
28836 "document": {
28837 "props": {
28838 "tags": {
28839 "html": true,
28840 "head": true,
28841 "body": true,
28842 "base": true,
28843 "link": true,
28844 "meta": true,
28845 "title": true,
28846 "p": true
28847 },
28848 "escaped": true
28849 },
28850 "tree": [
28851 {
28852 "tag": "html",
28853 "children": [
28854 {
28855 "tag": "head"
28856 },
28857 {
28858 "tag": "body",
28859 "children": [
28860 {
28861 "tag": "base"
28862 },
28863 {
28864 "tag": "link"
28865 },
28866 {
28867 "tag": "meta"
28868 },
28869 {
28870 "tag": "title",
28871 "children": [
28872 {
28873 "text": "<p>",
28874 "escaped": true
28875 }
28876 ]
28877 },
28878 {
28879 "tag": "p"
28880 }
28881 ]
28882 }
28883 ]
28884 }
28885 ],
28886 "html": "<html><head></head><body><base><link><meta><title>&lt;p&gt;</title><p></p></body></html>",
28887 "noQuirksBodyHtml": "<base><link><meta><title>&lt;p&gt;</title><p></p>"
28888 }
28889 },
28890 {
28891 "data": "<textarea><p></textarea>",
28892 "errors": [
28893 "(1,10): expected-doctype-but-got-start-tag"
28894 ],
28895 "document": {
28896 "props": {
28897 "tags": {
28898 "html": true,
28899 "head": true,
28900 "body": true,
28901 "textarea": true
28902 },
28903 "escaped": true
28904 },
28905 "tree": [
28906 {
28907 "tag": "html",
28908 "children": [
28909 {
28910 "tag": "head"
28911 },
28912 {
28913 "tag": "body",
28914 "children": [
28915 {
28916 "tag": "textarea",
28917 "children": [
28918 {
28919 "text": "<p>",
28920 "escaped": true
28921 }
28922 ]
28923 }
28924 ]
28925 }
28926 ]
28927 }
28928 ],
28929 "html": "<html><head></head><body><textarea>&lt;p&gt;</textarea></body></html>",
28930 "noQuirksBodyHtml": "<textarea>&lt;p&gt;</textarea>"
28931 }
28932 },
28933 {
28934 "data": "<p><image></p>",
28935 "errors": [
28936 "(1,3): expected-doctype-but-got-start-tag",
28937 "(1,10): unexpected-start-tag-treated-as"
28938 ],
28939 "document": {
28940 "props": {
28941 "tags": {
28942 "html": true,
28943 "head": true,
28944 "body": true,
28945 "p": true,
28946 "img": true
28947 }
28948 },
28949 "tree": [
28950 {
28951 "tag": "html",
28952 "children": [
28953 {
28954 "tag": "head"
28955 },
28956 {
28957 "tag": "body",
28958 "children": [
28959 {
28960 "tag": "p",
28961 "children": [
28962 {
28963 "tag": "img"
28964 }
28965 ]
28966 }
28967 ]
28968 }
28969 ]
28970 }
28971 ],
28972 "html": "<html><head></head><body><p><img></p></body></html>",
28973 "noQuirksBodyHtml": "<p><img></p>"
28974 }
28975 },
28976 {
28977 "data": "<a><table><a></table><p><a><div><a>",
28978 "errors": [
28979 "(1,3): expected-doctype-but-got-start-tag",
28980 "(1,13): unexpected-start-tag-implies-table-voodoo",
28981 "(1,13): unexpected-start-tag-implies-end-tag",
28982 "(1,13): adoption-agency-1.3",
28983 "(1,27): unexpected-start-tag-implies-end-tag",
28984 "(1,27): adoption-agency-1.2",
28985 "(1,32): unexpected-end-tag",
28986 "(1,35): unexpected-start-tag-implies-end-tag",
28987 "(1,35): adoption-agency-1.2",
28988 "(1,35): expected-closing-tag-but-got-eof"
28989 ],
28990 "document": {
28991 "props": {
28992 "tags": {
28993 "html": true,
28994 "head": true,
28995 "body": true,
28996 "a": true,
28997 "table": true,
28998 "p": true,
28999 "div": true
29000 }
29001 },
29002 "tree": [
29003 {
29004 "tag": "html",
29005 "children": [
29006 {
29007 "tag": "head"
29008 },
29009 {
29010 "tag": "body",
29011 "children": [
29012 {
29013 "tag": "a",
29014 "children": [
29015 {
29016 "tag": "a"
29017 },
29018 {
29019 "tag": "table"
29020 }
29021 ]
29022 },
29023 {
29024 "tag": "p",
29025 "children": [
29026 {
29027 "tag": "a"
29028 }
29029 ]
29030 },
29031 {
29032 "tag": "div",
29033 "children": [
29034 {
29035 "tag": "a"
29036 }
29037 ]
29038 }
29039 ]
29040 }
29041 ]
29042 }
29043 ],
29044 "html": "<html><head></head><body><a><a></a><table></table></a><p><a></a></p><div><a></a></div></body></html>",
29045 "noQuirksBodyHtml": "<a><a></a><table></table></a><p><a></a></p><div><a></a></div>"
29046 }
29047 },
29048 {
29049 "data": "<head></p><meta><p>",
29050 "errors": [
29051 "(1,6): expected-doctype-but-got-start-tag",
29052 "(1,10): unexpected-end-tag"
29053 ],
29054 "document": {
29055 "props": {
29056 "tags": {
29057 "html": true,
29058 "head": true,
29059 "meta": true,
29060 "body": true,
29061 "p": true
29062 }
29063 },
29064 "tree": [
29065 {
29066 "tag": "html",
29067 "children": [
29068 {
29069 "tag": "head",
29070 "children": [
29071 {
29072 "tag": "meta"
29073 }
29074 ]
29075 },
29076 {
29077 "tag": "body",
29078 "children": [
29079 {
29080 "tag": "p"
29081 }
29082 ]
29083 }
29084 ]
29085 }
29086 ],
29087 "html": "<html><head><meta></head><body><p></p></body></html>",
29088 "noQuirksBodyHtml": "<p></p><meta><p></p>"
29089 }
29090 },
29091 {
29092 "data": "<head></html><meta><p>",
29093 "errors": [
29094 "(1,6): expected-doctype-but-got-start-tag",
29095 "(1,19): expected-eof-but-got-start-tag"
29096 ],
29097 "document": {
29098 "props": {
29099 "tags": {
29100 "html": true,
29101 "head": true,
29102 "body": true,
29103 "meta": true,
29104 "p": true
29105 }
29106 },
29107 "tree": [
29108 {
29109 "tag": "html",
29110 "children": [
29111 {
29112 "tag": "head"
29113 },
29114 {
29115 "tag": "body",
29116 "children": [
29117 {
29118 "tag": "meta"
29119 },
29120 {
29121 "tag": "p"
29122 }
29123 ]
29124 }
29125 ]
29126 }
29127 ],
29128 "html": "<html><head></head><body><meta><p></p></body></html>",
29129 "noQuirksBodyHtml": "<meta><p></p>"
29130 }
29131 },
29132 {
29133 "data": "<b><table><td><i></table>",
29134 "errors": [
29135 "(1,3): expected-doctype-but-got-start-tag",
29136 "(1,14): unexpected-cell-in-table-body",
29137 "(1,25): unexpected-cell-end-tag",
29138 "(1,25): expected-closing-tag-but-got-eof"
29139 ],
29140 "document": {
29141 "props": {
29142 "tags": {
29143 "html": true,
29144 "head": true,
29145 "body": true,
29146 "b": true,
29147 "table": true,
29148 "tbody": true,
29149 "tr": true,
29150 "td": true,
29151 "i": 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": "b",
29166 "children": [
29167 {
29168 "tag": "table",
29169 "children": [
29170 {
29171 "tag": "tbody",
29172 "children": [
29173 {
29174 "tag": "tr",
29175 "children": [
29176 {
29177 "tag": "td",
29178 "children": [
29179 {
29180 "tag": "i"
29181 }
29182 ]
29183 }
29184 ]
29185 }
29186 ]
29187 }
29188 ]
29189 }
29190 ]
29191 }
29192 ]
29193 }
29194 ]
29195 }
29196 ],
29197 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
29198 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
29199 }
29200 },
29201 {
29202 "data": "<b><table><td></b><i></table>",
29203 "errors": [
29204 "(1,3): expected-doctype-but-got-start-tag",
29205 "(1,14): unexpected-cell-in-table-body",
29206 "(1,18): unexpected-end-tag",
29207 "(1,29): unexpected-cell-end-tag",
29208 "(1,29): expected-closing-tag-but-got-eof"
29209 ],
29210 "document": {
29211 "props": {
29212 "tags": {
29213 "html": true,
29214 "head": true,
29215 "body": true,
29216 "b": true,
29217 "table": true,
29218 "tbody": true,
29219 "tr": true,
29220 "td": true,
29221 "i": true
29222 }
29223 },
29224 "tree": [
29225 {
29226 "tag": "html",
29227 "children": [
29228 {
29229 "tag": "head"
29230 },
29231 {
29232 "tag": "body",
29233 "children": [
29234 {
29235 "tag": "b",
29236 "children": [
29237 {
29238 "tag": "table",
29239 "children": [
29240 {
29241 "tag": "tbody",
29242 "children": [
29243 {
29244 "tag": "tr",
29245 "children": [
29246 {
29247 "tag": "td",
29248 "children": [
29249 {
29250 "tag": "i"
29251 }
29252 ]
29253 }
29254 ]
29255 }
29256 ]
29257 }
29258 ]
29259 }
29260 ]
29261 }
29262 ]
29263 }
29264 ]
29265 }
29266 ],
29267 "html": "<html><head></head><body><b><table><tbody><tr><td><i></i></td></tr></tbody></table></b></body></html>",
29268 "noQuirksBodyHtml": "<b><table><tbody><tr><td><i></i></td></tr></tbody></table></b>"
29269 }
29270 },
29271 {
29272 "data": "<h1><h2>",
29273 "errors": [
29274 "(1,4): expected-doctype-but-got-start-tag",
29275 "(1,8): unexpected-start-tag",
29276 "(1,8): expected-closing-tag-but-got-eof"
29277 ],
29278 "document": {
29279 "props": {
29280 "tags": {
29281 "html": true,
29282 "head": true,
29283 "body": true,
29284 "h1": true,
29285 "h2": 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": "h1"
29300 },
29301 {
29302 "tag": "h2"
29303 }
29304 ]
29305 }
29306 ]
29307 }
29308 ],
29309 "html": "<html><head></head><body><h1></h1><h2></h2></body></html>",
29310 "noQuirksBodyHtml": "<h1></h1><h2></h2>"
29311 }
29312 },
29313 {
29314 "data": "<a><p><a></a></p></a>",
29315 "errors": [
29316 "(1,3): expected-doctype-but-got-start-tag",
29317 "(1,9): unexpected-start-tag-implies-end-tag",
29318 "(1,9): adoption-agency-1.3",
29319 "(1,21): unexpected-end-tag"
29320 ],
29321 "document": {
29322 "props": {
29323 "tags": {
29324 "html": true,
29325 "head": true,
29326 "body": true,
29327 "a": true,
29328 "p": true
29329 }
29330 },
29331 "tree": [
29332 {
29333 "tag": "html",
29334 "children": [
29335 {
29336 "tag": "head"
29337 },
29338 {
29339 "tag": "body",
29340 "children": [
29341 {
29342 "tag": "a"
29343 },
29344 {
29345 "tag": "p",
29346 "children": [
29347 {
29348 "tag": "a"
29349 },
29350 {
29351 "tag": "a"
29352 }
29353 ]
29354 }
29355 ]
29356 }
29357 ]
29358 }
29359 ],
29360 "html": "<html><head></head><body><a></a><p><a></a><a></a></p></body></html>",
29361 "noQuirksBodyHtml": "<a></a><p><a></a><a></a></p>"
29362 }
29363 },
29364 {
29365 "data": "<b><button></b></button></b>",
29366 "errors": [
29367 "(1,3): expected-doctype-but-got-start-tag",
29368 "(1,15): adoption-agency-1.3",
29369 "(1,28): unexpected-end-tag"
29370 ],
29371 "document": {
29372 "props": {
29373 "tags": {
29374 "html": true,
29375 "head": true,
29376 "body": true,
29377 "b": true,
29378 "button": true
29379 }
29380 },
29381 "tree": [
29382 {
29383 "tag": "html",
29384 "children": [
29385 {
29386 "tag": "head"
29387 },
29388 {
29389 "tag": "body",
29390 "children": [
29391 {
29392 "tag": "b"
29393 },
29394 {
29395 "tag": "button",
29396 "children": [
29397 {
29398 "tag": "b"
29399 }
29400 ]
29401 }
29402 ]
29403 }
29404 ]
29405 }
29406 ],
29407 "html": "<html><head></head><body><b></b><button><b></b></button></body></html>",
29408 "noQuirksBodyHtml": "<b></b><button><b></b></button>"
29409 }
29410 },
29411 {
29412 "data": "<p><b><div><marquee></p></b></div>",
29413 "errors": [
29414 "(1,3): expected-doctype-but-got-start-tag",
29415 "(1,11): unexpected-end-tag",
29416 "(1,24): unexpected-end-tag",
29417 "(1,28): unexpected-end-tag",
29418 "(1,34): end-tag-too-early",
29419 "(1,34): expected-closing-tag-but-got-eof"
29420 ],
29421 "document": {
29422 "props": {
29423 "tags": {
29424 "html": true,
29425 "head": true,
29426 "body": true,
29427 "p": true,
29428 "b": true,
29429 "div": true,
29430 "marquee": true
29431 }
29432 },
29433 "tree": [
29434 {
29435 "tag": "html",
29436 "children": [
29437 {
29438 "tag": "head"
29439 },
29440 {
29441 "tag": "body",
29442 "children": [
29443 {
29444 "tag": "p",
29445 "children": [
29446 {
29447 "tag": "b"
29448 }
29449 ]
29450 },
29451 {
29452 "tag": "div",
29453 "children": [
29454 {
29455 "tag": "b",
29456 "children": [
29457 {
29458 "tag": "marquee",
29459 "children": [
29460 {
29461 "tag": "p"
29462 }
29463 ]
29464 }
29465 ]
29466 }
29467 ]
29468 }
29469 ]
29470 }
29471 ]
29472 }
29473 ],
29474 "html": "<html><head></head><body><p><b></b></p><div><b><marquee><p></p></marquee></b></div></body></html>",
29475 "noQuirksBodyHtml": "<p><b></b></p><div><b><marquee><p></p></marquee></b></div>"
29476 }
29477 },
29478 {
29479 "data": "<script></script></div><title></title><p><p>",
29480 "errors": [
29481 "(1,8): expected-doctype-but-got-start-tag",
29482 "(1,23): unexpected-end-tag"
29483 ],
29484 "document": {
29485 "props": {
29486 "tags": {
29487 "html": true,
29488 "head": true,
29489 "script": true,
29490 "title": true,
29491 "body": true,
29492 "p": true
29493 }
29494 },
29495 "tree": [
29496 {
29497 "tag": "html",
29498 "children": [
29499 {
29500 "tag": "head",
29501 "children": [
29502 {
29503 "tag": "script"
29504 },
29505 {
29506 "tag": "title"
29507 }
29508 ]
29509 },
29510 {
29511 "tag": "body",
29512 "children": [
29513 {
29514 "tag": "p"
29515 },
29516 {
29517 "tag": "p"
29518 }
29519 ]
29520 }
29521 ]
29522 }
29523 ],
29524 "html": "<html><head><script></script><title></title></head><body><p></p><p></p></body></html>",
29525 "noQuirksBodyHtml": "<script></script><title></title><p></p><p></p>"
29526 }
29527 },
29528 {
29529 "data": "<p><hr></p>",
29530 "errors": [
29531 "(1,3): expected-doctype-but-got-start-tag",
29532 "(1,11): unexpected-end-tag"
29533 ],
29534 "document": {
29535 "props": {
29536 "tags": {
29537 "html": true,
29538 "head": true,
29539 "body": true,
29540 "p": true,
29541 "hr": true
29542 }
29543 },
29544 "tree": [
29545 {
29546 "tag": "html",
29547 "children": [
29548 {
29549 "tag": "head"
29550 },
29551 {
29552 "tag": "body",
29553 "children": [
29554 {
29555 "tag": "p"
29556 },
29557 {
29558 "tag": "hr"
29559 },
29560 {
29561 "tag": "p"
29562 }
29563 ]
29564 }
29565 ]
29566 }
29567 ],
29568 "html": "<html><head></head><body><p></p><hr><p></p></body></html>",
29569 "noQuirksBodyHtml": "<p></p><hr><p></p>"
29570 }
29571 },
29572 {
29573 "data": "<select><b><option><select><option></b></select>",
29574 "errors": [
29575 "(1,8): expected-doctype-but-got-start-tag",
29576 "(1,11): unexpected-start-tag-in-select",
29577 "(1,27): unexpected-select-in-select",
29578 "(1,39): unexpected-end-tag",
29579 "(1,48): unexpected-end-tag",
29580 "(1,48): expected-closing-tag-but-got-eof"
29581 ],
29582 "document": {
29583 "props": {
29584 "tags": {
29585 "html": true,
29586 "head": true,
29587 "body": true,
29588 "select": true,
29589 "option": true
29590 }
29591 },
29592 "tree": [
29593 {
29594 "tag": "html",
29595 "children": [
29596 {
29597 "tag": "head"
29598 },
29599 {
29600 "tag": "body",
29601 "children": [
29602 {
29603 "tag": "select",
29604 "children": [
29605 {
29606 "tag": "option"
29607 }
29608 ]
29609 },
29610 {
29611 "tag": "option"
29612 }
29613 ]
29614 }
29615 ]
29616 }
29617 ],
29618 "html": "<html><head></head><body><select><option></option></select><option></option></body></html>",
29619 "noQuirksBodyHtml": "<select><option></option></select><option></option>"
29620 }
29621 },
29622 {
29623 "data": "<html><head><title></title><body></body></html>",
29624 "errors": [
29625 "(1,6): expected-doctype-but-got-start-tag"
29626 ],
29627 "document": {
29628 "props": {
29629 "tags": {
29630 "html": true,
29631 "head": true,
29632 "title": true,
29633 "body": true
29634 }
29635 },
29636 "tree": [
29637 {
29638 "tag": "html",
29639 "children": [
29640 {
29641 "tag": "head",
29642 "children": [
29643 {
29644 "tag": "title"
29645 }
29646 ]
29647 },
29648 {
29649 "tag": "body"
29650 }
29651 ]
29652 }
29653 ],
29654 "html": "<html><head><title></title></head><body></body></html>",
29655 "noQuirksBodyHtml": "<title></title>"
29656 }
29657 },
29658 {
29659 "data": "<a><table><td><a><table></table><a></tr><a></table><a>",
29660 "errors": [
29661 "(1,3): expected-doctype-but-got-start-tag",
29662 "(1,14): unexpected-cell-in-table-body",
29663 "(1,35): unexpected-start-tag-implies-end-tag",
29664 "(1,40): unexpected-cell-end-tag",
29665 "(1,43): unexpected-start-tag-implies-table-voodoo",
29666 "(1,43): unexpected-start-tag-implies-end-tag",
29667 "(1,43): unexpected-end-tag",
29668 "(1,54): unexpected-start-tag-implies-end-tag",
29669 "(1,54): adoption-agency-1.2",
29670 "(1,54): expected-closing-tag-but-got-eof"
29671 ],
29672 "document": {
29673 "props": {
29674 "tags": {
29675 "html": true,
29676 "head": true,
29677 "body": true,
29678 "a": true,
29679 "table": true,
29680 "tbody": true,
29681 "tr": true,
29682 "td": true
29683 }
29684 },
29685 "tree": [
29686 {
29687 "tag": "html",
29688 "children": [
29689 {
29690 "tag": "head"
29691 },
29692 {
29693 "tag": "body",
29694 "children": [
29695 {
29696 "tag": "a",
29697 "children": [
29698 {
29699 "tag": "a"
29700 },
29701 {
29702 "tag": "table",
29703 "children": [
29704 {
29705 "tag": "tbody",
29706 "children": [
29707 {
29708 "tag": "tr",
29709 "children": [
29710 {
29711 "tag": "td",
29712 "children": [
29713 {
29714 "tag": "a",
29715 "children": [
29716 {
29717 "tag": "table"
29718 }
29719 ]
29720 },
29721 {
29722 "tag": "a"
29723 }
29724 ]
29725 }
29726 ]
29727 }
29728 ]
29729 }
29730 ]
29731 }
29732 ]
29733 },
29734 {
29735 "tag": "a"
29736 }
29737 ]
29738 }
29739 ]
29740 }
29741 ],
29742 "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>",
29743 "noQuirksBodyHtml": "<a><a></a><table><tbody><tr><td><a><table></table></a><a></a></td></tr></tbody></table></a><a></a>"
29744 }
29745 },
29746 {
29747 "data": "<ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul>",
29748 "errors": [
29749 "(1,4): expected-doctype-but-got-start-tag",
29750 "(1,45): end-tag-too-early",
29751 "(1,58): end-tag-too-early",
29752 "(1,69): adoption-agency-1.3"
29753 ],
29754 "document": {
29755 "props": {
29756 "tags": {
29757 "html": true,
29758 "head": true,
29759 "body": true,
29760 "ul": true,
29761 "li": true,
29762 "div": true,
29763 "address": true,
29764 "b": true,
29765 "em": true
29766 }
29767 },
29768 "tree": [
29769 {
29770 "tag": "html",
29771 "children": [
29772 {
29773 "tag": "head"
29774 },
29775 {
29776 "tag": "body",
29777 "children": [
29778 {
29779 "tag": "ul",
29780 "children": [
29781 {
29782 "tag": "li"
29783 },
29784 {
29785 "tag": "div",
29786 "children": [
29787 {
29788 "tag": "li"
29789 }
29790 ]
29791 },
29792 {
29793 "tag": "li"
29794 },
29795 {
29796 "tag": "li",
29797 "children": [
29798 {
29799 "tag": "div"
29800 }
29801 ]
29802 },
29803 {
29804 "tag": "li",
29805 "children": [
29806 {
29807 "tag": "address"
29808 }
29809 ]
29810 },
29811 {
29812 "tag": "li",
29813 "children": [
29814 {
29815 "tag": "b",
29816 "children": [
29817 {
29818 "tag": "em"
29819 }
29820 ]
29821 }
29822 ]
29823 },
29824 {
29825 "tag": "li"
29826 }
29827 ]
29828 }
29829 ]
29830 }
29831 ]
29832 }
29833 ],
29834 "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>",
29835 "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>"
29836 }
29837 },
29838 {
29839 "data": "<ul><li><ul></li><li>a</li></ul></li></ul>",
29840 "errors": [
29841 "(1,4): expected-doctype-but-got-start-tag",
29842 "(1,17): unexpected-end-tag"
29843 ],
29844 "document": {
29845 "props": {
29846 "tags": {
29847 "html": true,
29848 "head": true,
29849 "body": true,
29850 "ul": true,
29851 "li": true
29852 }
29853 },
29854 "tree": [
29855 {
29856 "tag": "html",
29857 "children": [
29858 {
29859 "tag": "head"
29860 },
29861 {
29862 "tag": "body",
29863 "children": [
29864 {
29865 "tag": "ul",
29866 "children": [
29867 {
29868 "tag": "li",
29869 "children": [
29870 {
29871 "tag": "ul",
29872 "children": [
29873 {
29874 "tag": "li",
29875 "children": [
29876 {
29877 "text": "a"
29878 }
29879 ]
29880 }
29881 ]
29882 }
29883 ]
29884 }
29885 ]
29886 }
29887 ]
29888 }
29889 ]
29890 }
29891 ],
29892 "html": "<html><head></head><body><ul><li><ul><li>a</li></ul></li></ul></body></html>",
29893 "noQuirksBodyHtml": "<ul><li><ul><li>a</li></ul></li></ul>"
29894 }
29895 },
29896 {
29897 "data": "<frameset><frame><frameset><frame></frameset><noframes></noframes></frameset>",
29898 "errors": [
29899 "(1,10): expected-doctype-but-got-start-tag"
29900 ],
29901 "document": {
29902 "props": {
29903 "tags": {
29904 "html": true,
29905 "head": true,
29906 "frameset": true,
29907 "frame": true,
29908 "noframes": true
29909 }
29910 },
29911 "tree": [
29912 {
29913 "tag": "html",
29914 "children": [
29915 {
29916 "tag": "head"
29917 },
29918 {
29919 "tag": "frameset",
29920 "children": [
29921 {
29922 "tag": "frame"
29923 },
29924 {
29925 "tag": "frameset",
29926 "children": [
29927 {
29928 "tag": "frame"
29929 }
29930 ]
29931 },
29932 {
29933 "tag": "noframes"
29934 }
29935 ]
29936 }
29937 ]
29938 }
29939 ],
29940 "html": "<html><head></head><frameset><frame><frameset><frame></frameset><noframes></noframes></frameset></html>",
29941 "noQuirksBodyHtml": "<noframes></noframes>"
29942 }
29943 },
29944 {
29945 "data": "<h1><table><td><h3></table><h3></h1>",
29946 "errors": [
29947 "(1,4): expected-doctype-but-got-start-tag",
29948 "(1,15): unexpected-cell-in-table-body",
29949 "(1,27): unexpected-cell-end-tag",
29950 "(1,31): unexpected-start-tag",
29951 "(1,36): end-tag-too-early"
29952 ],
29953 "document": {
29954 "props": {
29955 "tags": {
29956 "html": true,
29957 "head": true,
29958 "body": true,
29959 "h1": true,
29960 "table": true,
29961 "tbody": true,
29962 "tr": true,
29963 "td": true,
29964 "h3": true
29965 }
29966 },
29967 "tree": [
29968 {
29969 "tag": "html",
29970 "children": [
29971 {
29972 "tag": "head"
29973 },
29974 {
29975 "tag": "body",
29976 "children": [
29977 {
29978 "tag": "h1",
29979 "children": [
29980 {
29981 "tag": "table",
29982 "children": [
29983 {
29984 "tag": "tbody",
29985 "children": [
29986 {
29987 "tag": "tr",
29988 "children": [
29989 {
29990 "tag": "td",
29991 "children": [
29992 {
29993 "tag": "h3"
29994 }
29995 ]
29996 }
29997 ]
29998 }
29999 ]
30000 }
30001 ]
30002 }
30003 ]
30004 },
30005 {
30006 "tag": "h3"
30007 }
30008 ]
30009 }
30010 ]
30011 }
30012 ],
30013 "html": "<html><head></head><body><h1><table><tbody><tr><td><h3></h3></td></tr></tbody></table></h1><h3></h3></body></html>",
30014 "noQuirksBodyHtml": "<h1><table><tbody><tr><td><h3></h3></td></tr></tbody></table></h1><h3></h3>"
30015 }
30016 },
30017 {
30018 "data": "<table><colgroup><col><colgroup><col><col><col><colgroup><col><col><thead><tr><td></table>",
30019 "errors": [
30020 "(1,7): expected-doctype-but-got-start-tag"
30021 ],
30022 "document": {
30023 "props": {
30024 "tags": {
30025 "html": true,
30026 "head": true,
30027 "body": true,
30028 "table": true,
30029 "colgroup": true,
30030 "col": true,
30031 "thead": true,
30032 "tr": true,
30033 "td": true
30034 }
30035 },
30036 "tree": [
30037 {
30038 "tag": "html",
30039 "children": [
30040 {
30041 "tag": "head"
30042 },
30043 {
30044 "tag": "body",
30045 "children": [
30046 {
30047 "tag": "table",
30048 "children": [
30049 {
30050 "tag": "colgroup",
30051 "children": [
30052 {
30053 "tag": "col"
30054 }
30055 ]
30056 },
30057 {
30058 "tag": "colgroup",
30059 "children": [
30060 {
30061 "tag": "col"
30062 },
30063 {
30064 "tag": "col"
30065 },
30066 {
30067 "tag": "col"
30068 }
30069 ]
30070 },
30071 {
30072 "tag": "colgroup",
30073 "children": [
30074 {
30075 "tag": "col"
30076 },
30077 {
30078 "tag": "col"
30079 }
30080 ]
30081 },
30082 {
30083 "tag": "thead",
30084 "children": [
30085 {
30086 "tag": "tr",
30087 "children": [
30088 {
30089 "tag": "td"
30090 }
30091 ]
30092 }
30093 ]
30094 }
30095 ]
30096 }
30097 ]
30098 }
30099 ]
30100 }
30101 ],
30102 "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>",
30103 "noQuirksBodyHtml": "<table><colgroup><col></colgroup><colgroup><col><col><col></colgroup><colgroup><col><col></colgroup><thead><tr><td></td></tr></thead></table>"
30104 }
30105 },
30106 {
30107 "data": "<table><col><tbody><col><tr><col><td><col></table><col>",
30108 "errors": [
30109 "(1,7): expected-doctype-but-got-start-tag",
30110 "(1,37): unexpected-cell-in-table-body",
30111 "(1,55): unexpected-start-tag-ignored"
30112 ],
30113 "document": {
30114 "props": {
30115 "tags": {
30116 "html": true,
30117 "head": true,
30118 "body": true,
30119 "table": true,
30120 "colgroup": true,
30121 "col": true,
30122 "tbody": true,
30123 "tr": true,
30124 "td": true
30125 }
30126 },
30127 "tree": [
30128 {
30129 "tag": "html",
30130 "children": [
30131 {
30132 "tag": "head"
30133 },
30134 {
30135 "tag": "body",
30136 "children": [
30137 {
30138 "tag": "table",
30139 "children": [
30140 {
30141 "tag": "colgroup",
30142 "children": [
30143 {
30144 "tag": "col"
30145 }
30146 ]
30147 },
30148 {
30149 "tag": "tbody"
30150 },
30151 {
30152 "tag": "colgroup",
30153 "children": [
30154 {
30155 "tag": "col"
30156 }
30157 ]
30158 },
30159 {
30160 "tag": "tbody",
30161 "children": [
30162 {
30163 "tag": "tr"
30164 }
30165 ]
30166 },
30167 {
30168 "tag": "colgroup",
30169 "children": [
30170 {
30171 "tag": "col"
30172 }
30173 ]
30174 },
30175 {
30176 "tag": "tbody",
30177 "children": [
30178 {
30179 "tag": "tr",
30180 "children": [
30181 {
30182 "tag": "td"
30183 }
30184 ]
30185 }
30186 ]
30187 },
30188 {
30189 "tag": "colgroup",
30190 "children": [
30191 {
30192 "tag": "col"
30193 }
30194 ]
30195 }
30196 ]
30197 }
30198 ]
30199 }
30200 ]
30201 }
30202 ],
30203 "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>",
30204 "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>"
30205 }
30206 },
30207 {
30208 "data": "<table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>",
30209 "errors": [
30210 "(1,7): expected-doctype-but-got-start-tag",
30211 "(1,52): unexpected-cell-in-table-body",
30212 "(1,80): unexpected-start-tag-ignored"
30213 ],
30214 "document": {
30215 "props": {
30216 "tags": {
30217 "html": true,
30218 "head": true,
30219 "body": true,
30220 "table": true,
30221 "colgroup": true,
30222 "tbody": true,
30223 "tr": true,
30224 "td": true
30225 }
30226 },
30227 "tree": [
30228 {
30229 "tag": "html",
30230 "children": [
30231 {
30232 "tag": "head"
30233 },
30234 {
30235 "tag": "body",
30236 "children": [
30237 {
30238 "tag": "table",
30239 "children": [
30240 {
30241 "tag": "colgroup"
30242 },
30243 {
30244 "tag": "tbody"
30245 },
30246 {
30247 "tag": "colgroup"
30248 },
30249 {
30250 "tag": "tbody",
30251 "children": [
30252 {
30253 "tag": "tr"
30254 }
30255 ]
30256 },
30257 {
30258 "tag": "colgroup"
30259 },
30260 {
30261 "tag": "tbody",
30262 "children": [
30263 {
30264 "tag": "tr",
30265 "children": [
30266 {
30267 "tag": "td"
30268 }
30269 ]
30270 }
30271 ]
30272 },
30273 {
30274 "tag": "colgroup"
30275 }
30276 ]
30277 }
30278 ]
30279 }
30280 ]
30281 }
30282 ],
30283 "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>",
30284 "noQuirksBodyHtml": "<table><colgroup></colgroup><tbody></tbody><colgroup></colgroup><tbody><tr></tr></tbody><colgroup></colgroup><tbody><tr><td></td></tr></tbody><colgroup></colgroup></table>"
30285 }
30286 },
30287 {
30288 "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>",
30289 "errors": [
30290 "(1,9): expected-doctype-but-got-end-tag",
30291 "(1,9): unexpected-end-tag-before-html",
30292 "(1,13): unexpected-end-tag-before-html",
30293 "(1,18): unexpected-end-tag-before-html",
30294 "(1,22): unexpected-end-tag-before-html",
30295 "(1,26): unexpected-end-tag-before-html",
30296 "(1,35): unexpected-end-tag-before-html",
30297 "(1,39): unexpected-end-tag-before-html",
30298 "(1,47): unexpected-end-tag-before-html",
30299 "(1,52): unexpected-end-tag-before-html",
30300 "(1,58): unexpected-end-tag-before-html",
30301 "(1,64): unexpected-end-tag-before-html",
30302 "(1,72): unexpected-end-tag-before-html",
30303 "(1,79): unexpected-end-tag-before-html",
30304 "(1,88): unexpected-end-tag-before-html",
30305 "(1,93): unexpected-end-tag-before-html",
30306 "(1,98): unexpected-end-tag-before-html",
30307 "(1,103): unexpected-end-tag-before-html",
30308 "(1,108): unexpected-end-tag-before-html",
30309 "(1,113): unexpected-end-tag-before-html",
30310 "(1,118): unexpected-end-tag-before-html",
30311 "(1,130): unexpected-end-tag-after-body",
30312 "(1,130): unexpected-end-tag-treated-as",
30313 "(1,134): unexpected-end-tag",
30314 "(1,140): unexpected-end-tag",
30315 "(1,148): unexpected-end-tag",
30316 "(1,155): unexpected-end-tag",
30317 "(1,163): unexpected-end-tag",
30318 "(1,172): unexpected-end-tag",
30319 "(1,180): unexpected-end-tag",
30320 "(1,185): unexpected-end-tag",
30321 "(1,190): unexpected-end-tag",
30322 "(1,195): unexpected-end-tag",
30323 "(1,203): unexpected-end-tag",
30324 "(1,210): unexpected-end-tag",
30325 "(1,217): unexpected-end-tag",
30326 "(1,225): unexpected-end-tag",
30327 "(1,230): unexpected-end-tag",
30328 "(1,238): unexpected-end-tag",
30329 "(1,244): unexpected-end-tag",
30330 "(1,251): unexpected-end-tag",
30331 "(1,258): unexpected-end-tag",
30332 "(1,269): unexpected-end-tag",
30333 "(1,279): unexpected-end-tag",
30334 "(1,287): unexpected-end-tag",
30335 "(1,296): unexpected-end-tag",
30336 "(1,300): unexpected-end-tag",
30337 "(1,305): unexpected-end-tag",
30338 "(1,310): unexpected-end-tag",
30339 "(1,320): unexpected-end-tag",
30340 "(1,331): unexpected-end-tag",
30341 "(1,339): unexpected-end-tag",
30342 "(1,347): unexpected-end-tag",
30343 "(1,355): unexpected-end-tag",
30344 "(1,365): end-tag-too-early",
30345 "(1,378): end-tag-too-early",
30346 "(1,387): end-tag-too-early",
30347 "(1,393): end-tag-too-early",
30348 "(1,399): end-tag-too-early",
30349 "(1,404): end-tag-too-early",
30350 "(1,415): end-tag-too-early",
30351 "(1,425): end-tag-too-early",
30352 "(1,432): end-tag-too-early",
30353 "(1,437): end-tag-too-early",
30354 "(1,442): end-tag-too-early",
30355 "(1,447): unexpected-end-tag",
30356 "(1,454): unexpected-end-tag",
30357 "(1,460): unexpected-end-tag",
30358 "(1,467): unexpected-end-tag",
30359 "(1,476): end-tag-too-early",
30360 "(1,486): end-tag-too-early",
30361 "(1,495): end-tag-too-early",
30362 "(1,513): expected-eof-but-got-end-tag",
30363 "(1,513): unexpected-end-tag",
30364 "(1,520): unexpected-end-tag",
30365 "(1,529): unexpected-end-tag",
30366 "(1,537): unexpected-end-tag",
30367 "(1,547): unexpected-end-tag",
30368 "(1,557): unexpected-end-tag",
30369 "(1,568): unexpected-end-tag",
30370 "(1,579): unexpected-end-tag",
30371 "(1,590): unexpected-end-tag",
30372 "(1,599): unexpected-end-tag",
30373 "(1,611): unexpected-end-tag",
30374 "(1,622): unexpected-end-tag"
30375 ],
30376 "document": {
30377 "props": {
30378 "tags": {
30379 "html": true,
30380 "head": true,
30381 "body": true,
30382 "br": true,
30383 "p": true
30384 }
30385 },
30386 "tree": [
30387 {
30388 "tag": "html",
30389 "children": [
30390 {
30391 "tag": "head"
30392 },
30393 {
30394 "tag": "body",
30395 "children": [
30396 {
30397 "tag": "br"
30398 },
30399 {
30400 "tag": "p"
30401 }
30402 ]
30403 }
30404 ]
30405 }
30406 ],
30407 "html": "<html><head></head><body><br><p></p></body></html>",
30408 "noQuirksBodyHtml": "<br><p></p>"
30409 }
30410 },
30411 {
30412 "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>",
30413 "errors": [
30414 "(1,7): expected-doctype-but-got-start-tag",
30415 "(1,20): unexpected-end-tag-implies-table-voodoo",
30416 "(1,20): unexpected-end-tag",
30417 "(1,24): unexpected-end-tag-implies-table-voodoo",
30418 "(1,24): unexpected-end-tag",
30419 "(1,29): unexpected-end-tag-implies-table-voodoo",
30420 "(1,29): unexpected-end-tag",
30421 "(1,33): unexpected-end-tag-implies-table-voodoo",
30422 "(1,33): unexpected-end-tag",
30423 "(1,37): unexpected-end-tag-implies-table-voodoo",
30424 "(1,37): unexpected-end-tag",
30425 "(1,46): unexpected-end-tag-implies-table-voodoo",
30426 "(1,46): unexpected-end-tag",
30427 "(1,50): unexpected-end-tag-implies-table-voodoo",
30428 "(1,50): unexpected-end-tag",
30429 "(1,58): unexpected-end-tag-implies-table-voodoo",
30430 "(1,58): unexpected-end-tag",
30431 "(1,63): unexpected-end-tag-implies-table-voodoo",
30432 "(1,63): unexpected-end-tag",
30433 "(1,69): unexpected-end-tag-implies-table-voodoo",
30434 "(1,69): end-tag-too-early",
30435 "(1,75): unexpected-end-tag-implies-table-voodoo",
30436 "(1,75): unexpected-end-tag",
30437 "(1,83): unexpected-end-tag-implies-table-voodoo",
30438 "(1,83): unexpected-end-tag",
30439 "(1,90): unexpected-end-tag-implies-table-voodoo",
30440 "(1,90): unexpected-end-tag",
30441 "(1,99): unexpected-end-tag-implies-table-voodoo",
30442 "(1,99): unexpected-end-tag",
30443 "(1,104): unexpected-end-tag-implies-table-voodoo",
30444 "(1,104): end-tag-too-early",
30445 "(1,109): unexpected-end-tag-implies-table-voodoo",
30446 "(1,109): end-tag-too-early",
30447 "(1,114): unexpected-end-tag-implies-table-voodoo",
30448 "(1,114): end-tag-too-early",
30449 "(1,119): unexpected-end-tag-implies-table-voodoo",
30450 "(1,119): end-tag-too-early",
30451 "(1,124): unexpected-end-tag-implies-table-voodoo",
30452 "(1,124): end-tag-too-early",
30453 "(1,129): unexpected-end-tag-implies-table-voodoo",
30454 "(1,129): end-tag-too-early",
30455 "(1,136): unexpected-end-tag-in-table-row",
30456 "(1,141): unexpected-end-tag-implies-table-voodoo",
30457 "(1,141): unexpected-end-tag-treated-as",
30458 "(1,145): unexpected-end-tag-implies-table-voodoo",
30459 "(1,145): unexpected-end-tag",
30460 "(1,151): unexpected-end-tag-implies-table-voodoo",
30461 "(1,151): unexpected-end-tag",
30462 "(1,159): unexpected-end-tag-implies-table-voodoo",
30463 "(1,159): unexpected-end-tag",
30464 "(1,166): unexpected-end-tag-implies-table-voodoo",
30465 "(1,166): unexpected-end-tag",
30466 "(1,174): unexpected-end-tag-implies-table-voodoo",
30467 "(1,174): unexpected-end-tag",
30468 "(1,183): unexpected-end-tag-implies-table-voodoo",
30469 "(1,183): unexpected-end-tag",
30470 "(1,196): unexpected-end-tag",
30471 "(1,201): unexpected-end-tag",
30472 "(1,206): unexpected-end-tag",
30473 "(1,214): unexpected-end-tag",
30474 "(1,221): unexpected-end-tag",
30475 "(1,228): unexpected-end-tag",
30476 "(1,236): unexpected-end-tag",
30477 "(1,241): unexpected-end-tag",
30478 "(1,249): unexpected-end-tag",
30479 "(1,255): unexpected-end-tag",
30480 "(1,262): unexpected-end-tag",
30481 "(1,269): unexpected-end-tag",
30482 "(1,280): unexpected-end-tag",
30483 "(1,290): unexpected-end-tag",
30484 "(1,298): unexpected-end-tag",
30485 "(1,307): unexpected-end-tag",
30486 "(1,311): unexpected-end-tag",
30487 "(1,316): unexpected-end-tag",
30488 "(1,321): unexpected-end-tag",
30489 "(1,331): unexpected-end-tag",
30490 "(1,342): unexpected-end-tag",
30491 "(1,350): unexpected-end-tag",
30492 "(1,358): unexpected-end-tag",
30493 "(1,366): unexpected-end-tag",
30494 "(1,376): end-tag-too-early",
30495 "(1,389): end-tag-too-early",
30496 "(1,398): end-tag-too-early",
30497 "(1,404): end-tag-too-early",
30498 "(1,410): end-tag-too-early",
30499 "(1,415): end-tag-too-early",
30500 "(1,426): end-tag-too-early",
30501 "(1,436): end-tag-too-early",
30502 "(1,443): end-tag-too-early",
30503 "(1,448): end-tag-too-early",
30504 "(1,453): end-tag-too-early",
30505 "(1,458): unexpected-end-tag",
30506 "(1,465): unexpected-end-tag",
30507 "(1,471): unexpected-end-tag",
30508 "(1,478): unexpected-end-tag",
30509 "(1,487): end-tag-too-early",
30510 "(1,497): end-tag-too-early",
30511 "(1,506): end-tag-too-early",
30512 "(1,524): expected-eof-but-got-end-tag",
30513 "(1,524): unexpected-end-tag",
30514 "(1,531): unexpected-end-tag",
30515 "(1,540): unexpected-end-tag",
30516 "(1,548): unexpected-end-tag",
30517 "(1,558): unexpected-end-tag",
30518 "(1,568): unexpected-end-tag",
30519 "(1,579): unexpected-end-tag",
30520 "(1,590): unexpected-end-tag",
30521 "(1,601): unexpected-end-tag",
30522 "(1,610): unexpected-end-tag",
30523 "(1,622): unexpected-end-tag",
30524 "(1,633): unexpected-end-tag"
30525 ],
30526 "document": {
30527 "props": {
30528 "tags": {
30529 "html": true,
30530 "head": true,
30531 "body": true,
30532 "br": true,
30533 "table": true,
30534 "tbody": true,
30535 "tr": true,
30536 "p": true
30537 }
30538 },
30539 "tree": [
30540 {
30541 "tag": "html",
30542 "children": [
30543 {
30544 "tag": "head"
30545 },
30546 {
30547 "tag": "body",
30548 "children": [
30549 {
30550 "tag": "br"
30551 },
30552 {
30553 "tag": "table",
30554 "children": [
30555 {
30556 "tag": "tbody",
30557 "children": [
30558 {
30559 "tag": "tr"
30560 }
30561 ]
30562 }
30563 ]
30564 },
30565 {
30566 "tag": "p"
30567 }
30568 ]
30569 }
30570 ]
30571 }
30572 ],
30573 "html": "<html><head></head><body><br><table><tbody><tr></tr></tbody></table><p></p></body></html>",
30574 "noQuirksBodyHtml": "<br><table><tbody><tr></tr></tbody></table><p></p>"
30575 }
30576 },
30577 {
30578 "data": "<frameset>",
30579 "errors": [
30580 "(1,10): expected-doctype-but-got-start-tag",
30581 "(1,10): eof-in-frameset"
30582 ],
30583 "document": {
30584 "props": {
30585 "tags": {
30586 "html": true,
30587 "head": true,
30588 "frameset": true
30589 }
30590 },
30591 "tree": [
30592 {
30593 "tag": "html",
30594 "children": [
30595 {
30596 "tag": "head"
30597 },
30598 {
30599 "tag": "frameset"
30600 }
30601 ]
30602 }
30603 ],
30604 "html": "<html><head></head><frameset></frameset></html>",
30605 "noQuirksBodyHtml": ""
30606 }
30607 }
30608 ],
30609 "tests10.dat": [
30610 {
30611 "data": "<!DOCTYPE html><svg></svg>",
30612 "errors": [],
30613 "document": {
30614 "props": {
30615 "tags": {
30616 "html": true,
30617 "head": true,
30618 "body": true,
30619 "svg svg": true
30620 },
30621 "doctype": true
30622 },
30623 "tree": [
30624 {
30625 "doctype": "html"
30626 },
30627 {
30628 "tag": "html",
30629 "children": [
30630 {
30631 "tag": "head"
30632 },
30633 {
30634 "tag": "body",
30635 "children": [
30636 {
30637 "tag": "svg",
30638 "ns": "http://www.w3.org/2000/svg"
30639 }
30640 ]
30641 }
30642 ]
30643 }
30644 ],
30645 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
30646 "noQuirksBodyHtml": "<svg></svg>"
30647 }
30648 },
30649 {
30650 "data": "<!DOCTYPE html><svg></svg><![CDATA[a]]>",
30651 "errors": [
30652 "(1,28) expected-dashes-or-doctype"
30653 ],
30654 "document": {
30655 "props": {
30656 "tags": {
30657 "html": true,
30658 "head": true,
30659 "body": true,
30660 "svg svg": true
30661 },
30662 "doctype": true,
30663 "comment": true
30664 },
30665 "tree": [
30666 {
30667 "doctype": "html"
30668 },
30669 {
30670 "tag": "html",
30671 "children": [
30672 {
30673 "tag": "head"
30674 },
30675 {
30676 "tag": "body",
30677 "children": [
30678 {
30679 "tag": "svg",
30680 "ns": "http://www.w3.org/2000/svg"
30681 },
30682 {
30683 "comment": "[CDATA[a]]"
30684 }
30685 ]
30686 }
30687 ]
30688 }
30689 ],
30690 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><!--[CDATA[a]]--></body></html>",
30691 "noQuirksBodyHtml": "<svg></svg><!--[CDATA[a]]-->"
30692 }
30693 },
30694 {
30695 "data": "<!DOCTYPE html><body><svg></svg>",
30696 "errors": [],
30697 "document": {
30698 "props": {
30699 "tags": {
30700 "html": true,
30701 "head": true,
30702 "body": true,
30703 "svg svg": true
30704 },
30705 "doctype": true
30706 },
30707 "tree": [
30708 {
30709 "doctype": "html"
30710 },
30711 {
30712 "tag": "html",
30713 "children": [
30714 {
30715 "tag": "head"
30716 },
30717 {
30718 "tag": "body",
30719 "children": [
30720 {
30721 "tag": "svg",
30722 "ns": "http://www.w3.org/2000/svg"
30723 }
30724 ]
30725 }
30726 ]
30727 }
30728 ],
30729 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
30730 "noQuirksBodyHtml": "<svg></svg>"
30731 }
30732 },
30733 {
30734 "data": "<!DOCTYPE html><body><select><svg></svg></select>",
30735 "errors": [
30736 "(1,34) unexpected-start-tag-in-select",
30737 "(1,40) unexpected-end-tag-in-select"
30738 ],
30739 "document": {
30740 "props": {
30741 "tags": {
30742 "html": true,
30743 "head": true,
30744 "body": true,
30745 "select": true
30746 },
30747 "doctype": true
30748 },
30749 "tree": [
30750 {
30751 "doctype": "html"
30752 },
30753 {
30754 "tag": "html",
30755 "children": [
30756 {
30757 "tag": "head"
30758 },
30759 {
30760 "tag": "body",
30761 "children": [
30762 {
30763 "tag": "select"
30764 }
30765 ]
30766 }
30767 ]
30768 }
30769 ],
30770 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
30771 "noQuirksBodyHtml": "<select></select>"
30772 }
30773 },
30774 {
30775 "data": "<!DOCTYPE html><body><select><option><svg></svg></option></select>",
30776 "errors": [
30777 "(1,42) unexpected-start-tag-in-select",
30778 "(1,48) unexpected-end-tag-in-select"
30779 ],
30780 "document": {
30781 "props": {
30782 "tags": {
30783 "html": true,
30784 "head": true,
30785 "body": true,
30786 "select": true,
30787 "option": true
30788 },
30789 "doctype": true
30790 },
30791 "tree": [
30792 {
30793 "doctype": "html"
30794 },
30795 {
30796 "tag": "html",
30797 "children": [
30798 {
30799 "tag": "head"
30800 },
30801 {
30802 "tag": "body",
30803 "children": [
30804 {
30805 "tag": "select",
30806 "children": [
30807 {
30808 "tag": "option"
30809 }
30810 ]
30811 }
30812 ]
30813 }
30814 ]
30815 }
30816 ],
30817 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
30818 "noQuirksBodyHtml": "<select><option></option></select>"
30819 }
30820 },
30821 {
30822 "data": "<!DOCTYPE html><body><table><svg></svg></table>",
30823 "errors": [
30824 "(1,33) foster-parenting-start-tag"
30825 ],
30826 "document": {
30827 "props": {
30828 "tags": {
30829 "html": true,
30830 "head": true,
30831 "body": true,
30832 "svg svg": true,
30833 "table": true
30834 },
30835 "doctype": true
30836 },
30837 "tree": [
30838 {
30839 "doctype": "html"
30840 },
30841 {
30842 "tag": "html",
30843 "children": [
30844 {
30845 "tag": "head"
30846 },
30847 {
30848 "tag": "body",
30849 "children": [
30850 {
30851 "tag": "svg",
30852 "ns": "http://www.w3.org/2000/svg"
30853 },
30854 {
30855 "tag": "table"
30856 }
30857 ]
30858 }
30859 ]
30860 }
30861 ],
30862 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><table></table></body></html>",
30863 "noQuirksBodyHtml": "<svg></svg><table></table>"
30864 }
30865 },
30866 {
30867 "data": "<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>",
30868 "errors": [
30869 "(1,33) foster-parenting-start-tag"
30870 ],
30871 "document": {
30872 "props": {
30873 "tags": {
30874 "html": true,
30875 "head": true,
30876 "body": true,
30877 "svg svg": true,
30878 "svg g": true,
30879 "table": true
30880 },
30881 "doctype": true
30882 },
30883 "tree": [
30884 {
30885 "doctype": "html"
30886 },
30887 {
30888 "tag": "html",
30889 "children": [
30890 {
30891 "tag": "head"
30892 },
30893 {
30894 "tag": "body",
30895 "children": [
30896 {
30897 "tag": "svg",
30898 "ns": "http://www.w3.org/2000/svg",
30899 "children": [
30900 {
30901 "tag": "g",
30902 "ns": "http://www.w3.org/2000/svg",
30903 "children": [
30904 {
30905 "text": "foo"
30906 }
30907 ]
30908 }
30909 ]
30910 },
30911 {
30912 "tag": "table"
30913 }
30914 ]
30915 }
30916 ]
30917 }
30918 ],
30919 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g></svg><table></table></body></html>",
30920 "noQuirksBodyHtml": "<svg><g>foo</g></svg><table></table>"
30921 }
30922 },
30923 {
30924 "data": "<!DOCTYPE html><body><table><svg><g>foo</g><g>bar</g></svg></table>",
30925 "errors": [
30926 "(1,33) foster-parenting-start-tag"
30927 ],
30928 "document": {
30929 "props": {
30930 "tags": {
30931 "html": true,
30932 "head": true,
30933 "body": true,
30934 "svg svg": true,
30935 "svg g": true,
30936 "table": true
30937 },
30938 "doctype": true
30939 },
30940 "tree": [
30941 {
30942 "doctype": "html"
30943 },
30944 {
30945 "tag": "html",
30946 "children": [
30947 {
30948 "tag": "head"
30949 },
30950 {
30951 "tag": "body",
30952 "children": [
30953 {
30954 "tag": "svg",
30955 "ns": "http://www.w3.org/2000/svg",
30956 "children": [
30957 {
30958 "tag": "g",
30959 "ns": "http://www.w3.org/2000/svg",
30960 "children": [
30961 {
30962 "text": "foo"
30963 }
30964 ]
30965 },
30966 {
30967 "tag": "g",
30968 "ns": "http://www.w3.org/2000/svg",
30969 "children": [
30970 {
30971 "text": "bar"
30972 }
30973 ]
30974 }
30975 ]
30976 },
30977 {
30978 "tag": "table"
30979 }
30980 ]
30981 }
30982 ]
30983 }
30984 ],
30985 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table></table></body></html>",
30986 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table></table>"
30987 }
30988 },
30989 {
30990 "data": "<!DOCTYPE html><body><table><tbody><svg><g>foo</g><g>bar</g></svg></tbody></table>",
30991 "errors": [
30992 "(1,40) foster-parenting-start-tag"
30993 ],
30994 "document": {
30995 "props": {
30996 "tags": {
30997 "html": true,
30998 "head": true,
30999 "body": true,
31000 "svg svg": true,
31001 "svg g": true,
31002 "table": true,
31003 "tbody": true
31004 },
31005 "doctype": true
31006 },
31007 "tree": [
31008 {
31009 "doctype": "html"
31010 },
31011 {
31012 "tag": "html",
31013 "children": [
31014 {
31015 "tag": "head"
31016 },
31017 {
31018 "tag": "body",
31019 "children": [
31020 {
31021 "tag": "svg",
31022 "ns": "http://www.w3.org/2000/svg",
31023 "children": [
31024 {
31025 "tag": "g",
31026 "ns": "http://www.w3.org/2000/svg",
31027 "children": [
31028 {
31029 "text": "foo"
31030 }
31031 ]
31032 },
31033 {
31034 "tag": "g",
31035 "ns": "http://www.w3.org/2000/svg",
31036 "children": [
31037 {
31038 "text": "bar"
31039 }
31040 ]
31041 }
31042 ]
31043 },
31044 {
31045 "tag": "table",
31046 "children": [
31047 {
31048 "tag": "tbody"
31049 }
31050 ]
31051 }
31052 ]
31053 }
31054 ]
31055 }
31056 ],
31057 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table><tbody></tbody></table></body></html>",
31058 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table><tbody></tbody></table>"
31059 }
31060 },
31061 {
31062 "data": "<!DOCTYPE html><body><table><tbody><tr><svg><g>foo</g><g>bar</g></svg></tr></tbody></table>",
31063 "errors": [
31064 "(1,44) foster-parenting-start-tag"
31065 ],
31066 "document": {
31067 "props": {
31068 "tags": {
31069 "html": true,
31070 "head": true,
31071 "body": true,
31072 "svg svg": true,
31073 "svg g": true,
31074 "table": true,
31075 "tbody": true,
31076 "tr": true
31077 },
31078 "doctype": true
31079 },
31080 "tree": [
31081 {
31082 "doctype": "html"
31083 },
31084 {
31085 "tag": "html",
31086 "children": [
31087 {
31088 "tag": "head"
31089 },
31090 {
31091 "tag": "body",
31092 "children": [
31093 {
31094 "tag": "svg",
31095 "ns": "http://www.w3.org/2000/svg",
31096 "children": [
31097 {
31098 "tag": "g",
31099 "ns": "http://www.w3.org/2000/svg",
31100 "children": [
31101 {
31102 "text": "foo"
31103 }
31104 ]
31105 },
31106 {
31107 "tag": "g",
31108 "ns": "http://www.w3.org/2000/svg",
31109 "children": [
31110 {
31111 "text": "bar"
31112 }
31113 ]
31114 }
31115 ]
31116 },
31117 {
31118 "tag": "table",
31119 "children": [
31120 {
31121 "tag": "tbody",
31122 "children": [
31123 {
31124 "tag": "tr"
31125 }
31126 ]
31127 }
31128 ]
31129 }
31130 ]
31131 }
31132 ]
31133 }
31134 ],
31135 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><table><tbody><tr></tr></tbody></table></body></html>",
31136 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g></svg><table><tbody><tr></tr></tbody></table>"
31137 }
31138 },
31139 {
31140 "data": "<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>",
31141 "errors": [],
31142 "document": {
31143 "props": {
31144 "tags": {
31145 "html": true,
31146 "head": true,
31147 "body": true,
31148 "table": true,
31149 "tbody": true,
31150 "tr": true,
31151 "td": true,
31152 "svg svg": true,
31153 "svg g": true
31154 },
31155 "doctype": true
31156 },
31157 "tree": [
31158 {
31159 "doctype": "html"
31160 },
31161 {
31162 "tag": "html",
31163 "children": [
31164 {
31165 "tag": "head"
31166 },
31167 {
31168 "tag": "body",
31169 "children": [
31170 {
31171 "tag": "table",
31172 "children": [
31173 {
31174 "tag": "tbody",
31175 "children": [
31176 {
31177 "tag": "tr",
31178 "children": [
31179 {
31180 "tag": "td",
31181 "children": [
31182 {
31183 "tag": "svg",
31184 "ns": "http://www.w3.org/2000/svg",
31185 "children": [
31186 {
31187 "tag": "g",
31188 "ns": "http://www.w3.org/2000/svg",
31189 "children": [
31190 {
31191 "text": "foo"
31192 }
31193 ]
31194 },
31195 {
31196 "tag": "g",
31197 "ns": "http://www.w3.org/2000/svg",
31198 "children": [
31199 {
31200 "text": "bar"
31201 }
31202 ]
31203 }
31204 ]
31205 }
31206 ]
31207 }
31208 ]
31209 }
31210 ]
31211 }
31212 ]
31213 }
31214 ]
31215 }
31216 ]
31217 }
31218 ],
31219 "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>",
31220 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg></td></tr></tbody></table>"
31221 }
31222 },
31223 {
31224 "data": "<!DOCTYPE html><body><table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</td></tr></tbody></table>",
31225 "errors": [],
31226 "document": {
31227 "props": {
31228 "tags": {
31229 "html": true,
31230 "head": true,
31231 "body": true,
31232 "table": true,
31233 "tbody": true,
31234 "tr": true,
31235 "td": true,
31236 "svg svg": true,
31237 "svg g": true,
31238 "p": true
31239 },
31240 "doctype": true
31241 },
31242 "tree": [
31243 {
31244 "doctype": "html"
31245 },
31246 {
31247 "tag": "html",
31248 "children": [
31249 {
31250 "tag": "head"
31251 },
31252 {
31253 "tag": "body",
31254 "children": [
31255 {
31256 "tag": "table",
31257 "children": [
31258 {
31259 "tag": "tbody",
31260 "children": [
31261 {
31262 "tag": "tr",
31263 "children": [
31264 {
31265 "tag": "td",
31266 "children": [
31267 {
31268 "tag": "svg",
31269 "ns": "http://www.w3.org/2000/svg",
31270 "children": [
31271 {
31272 "tag": "g",
31273 "ns": "http://www.w3.org/2000/svg",
31274 "children": [
31275 {
31276 "text": "foo"
31277 }
31278 ]
31279 },
31280 {
31281 "tag": "g",
31282 "ns": "http://www.w3.org/2000/svg",
31283 "children": [
31284 {
31285 "text": "bar"
31286 }
31287 ]
31288 }
31289 ]
31290 },
31291 {
31292 "tag": "p",
31293 "children": [
31294 {
31295 "text": "baz"
31296 }
31297 ]
31298 }
31299 ]
31300 }
31301 ]
31302 }
31303 ]
31304 }
31305 ]
31306 }
31307 ]
31308 }
31309 ]
31310 }
31311 ],
31312 "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>",
31313 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><g>foo</g><g>bar</g></svg><p>baz</p></td></tr></tbody></table>"
31314 }
31315 },
31316 {
31317 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>",
31318 "errors": [],
31319 "document": {
31320 "props": {
31321 "tags": {
31322 "html": true,
31323 "head": true,
31324 "body": true,
31325 "table": true,
31326 "caption": true,
31327 "svg svg": true,
31328 "svg g": true,
31329 "p": true
31330 },
31331 "doctype": true
31332 },
31333 "tree": [
31334 {
31335 "doctype": "html"
31336 },
31337 {
31338 "tag": "html",
31339 "children": [
31340 {
31341 "tag": "head"
31342 },
31343 {
31344 "tag": "body",
31345 "children": [
31346 {
31347 "tag": "table",
31348 "children": [
31349 {
31350 "tag": "caption",
31351 "children": [
31352 {
31353 "tag": "svg",
31354 "ns": "http://www.w3.org/2000/svg",
31355 "children": [
31356 {
31357 "tag": "g",
31358 "ns": "http://www.w3.org/2000/svg",
31359 "children": [
31360 {
31361 "text": "foo"
31362 }
31363 ]
31364 },
31365 {
31366 "tag": "g",
31367 "ns": "http://www.w3.org/2000/svg",
31368 "children": [
31369 {
31370 "text": "bar"
31371 }
31372 ]
31373 }
31374 ]
31375 },
31376 {
31377 "tag": "p",
31378 "children": [
31379 {
31380 "text": "baz"
31381 }
31382 ]
31383 }
31384 ]
31385 }
31386 ]
31387 }
31388 ]
31389 }
31390 ]
31391 }
31392 ],
31393 "html": "<!DOCTYPE html><html><head></head><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</p></caption></table></body></html>",
31394 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</p></caption></table>"
31395 }
31396 },
31397 {
31398 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
31399 "errors": [
31400 "(1,65) unexpected-html-element-in-foreign-content"
31401 ],
31402 "document": {
31403 "props": {
31404 "tags": {
31405 "html": true,
31406 "head": true,
31407 "body": true,
31408 "table": true,
31409 "caption": true,
31410 "svg svg": true,
31411 "svg g": true,
31412 "p": true
31413 },
31414 "doctype": true
31415 },
31416 "tree": [
31417 {
31418 "doctype": "html"
31419 },
31420 {
31421 "tag": "html",
31422 "children": [
31423 {
31424 "tag": "head"
31425 },
31426 {
31427 "tag": "body",
31428 "children": [
31429 {
31430 "tag": "table",
31431 "children": [
31432 {
31433 "tag": "caption",
31434 "children": [
31435 {
31436 "tag": "svg",
31437 "ns": "http://www.w3.org/2000/svg",
31438 "children": [
31439 {
31440 "tag": "g",
31441 "ns": "http://www.w3.org/2000/svg",
31442 "children": [
31443 {
31444 "text": "foo"
31445 }
31446 ]
31447 },
31448 {
31449 "tag": "g",
31450 "ns": "http://www.w3.org/2000/svg",
31451 "children": [
31452 {
31453 "text": "bar"
31454 }
31455 ]
31456 }
31457 ]
31458 },
31459 {
31460 "tag": "p",
31461 "children": [
31462 {
31463 "text": "baz"
31464 }
31465 ]
31466 }
31467 ]
31468 }
31469 ]
31470 },
31471 {
31472 "tag": "p",
31473 "children": [
31474 {
31475 "text": "quux"
31476 }
31477 ]
31478 }
31479 ]
31480 }
31481 ]
31482 }
31483 ],
31484 "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>",
31485 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g><p>baz</p></svg></caption></table><p>quux</p>"
31486 }
31487 },
31488 {
31489 "data": "<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g>baz</table><p>quux",
31490 "errors": [
31491 "(1,73) unexpected-end-tag",
31492 "(1,73) expected-one-end-tag-but-got-another"
31493 ],
31494 "document": {
31495 "props": {
31496 "tags": {
31497 "html": true,
31498 "head": true,
31499 "body": true,
31500 "table": true,
31501 "caption": true,
31502 "svg svg": true,
31503 "svg g": true,
31504 "p": true
31505 },
31506 "doctype": true
31507 },
31508 "tree": [
31509 {
31510 "doctype": "html"
31511 },
31512 {
31513 "tag": "html",
31514 "children": [
31515 {
31516 "tag": "head"
31517 },
31518 {
31519 "tag": "body",
31520 "children": [
31521 {
31522 "tag": "table",
31523 "children": [
31524 {
31525 "tag": "caption",
31526 "children": [
31527 {
31528 "tag": "svg",
31529 "ns": "http://www.w3.org/2000/svg",
31530 "children": [
31531 {
31532 "tag": "g",
31533 "ns": "http://www.w3.org/2000/svg",
31534 "children": [
31535 {
31536 "text": "foo"
31537 }
31538 ]
31539 },
31540 {
31541 "tag": "g",
31542 "ns": "http://www.w3.org/2000/svg",
31543 "children": [
31544 {
31545 "text": "bar"
31546 }
31547 ]
31548 },
31549 {
31550 "text": "baz"
31551 }
31552 ]
31553 }
31554 ]
31555 }
31556 ]
31557 },
31558 {
31559 "tag": "p",
31560 "children": [
31561 {
31562 "text": "quux"
31563 }
31564 ]
31565 }
31566 ]
31567 }
31568 ]
31569 }
31570 ],
31571 "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>",
31572 "noQuirksBodyHtml": "<table><caption><svg><g>foo</g><g>bar</g>baz</svg></caption></table><p>quux</p>"
31573 }
31574 },
31575 {
31576 "data": "<!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
31577 "errors": [
31578 "(1,43) foster-parenting-start-tag svg",
31579 "(1,66) unexpected HTML-like start tag token in foreign content",
31580 "(1,66) foster-parenting-start-tag",
31581 "(1,67) foster-parenting-character",
31582 "(1,68) foster-parenting-character",
31583 "(1,69) foster-parenting-character"
31584 ],
31585 "document": {
31586 "props": {
31587 "tags": {
31588 "html": true,
31589 "head": true,
31590 "body": true,
31591 "svg svg": true,
31592 "svg g": true,
31593 "p": true,
31594 "table": true,
31595 "colgroup": true
31596 },
31597 "doctype": true
31598 },
31599 "tree": [
31600 {
31601 "doctype": "html"
31602 },
31603 {
31604 "tag": "html",
31605 "children": [
31606 {
31607 "tag": "head"
31608 },
31609 {
31610 "tag": "body",
31611 "children": [
31612 {
31613 "tag": "svg",
31614 "ns": "http://www.w3.org/2000/svg",
31615 "children": [
31616 {
31617 "tag": "g",
31618 "ns": "http://www.w3.org/2000/svg",
31619 "children": [
31620 {
31621 "text": "foo"
31622 }
31623 ]
31624 },
31625 {
31626 "tag": "g",
31627 "ns": "http://www.w3.org/2000/svg",
31628 "children": [
31629 {
31630 "text": "bar"
31631 }
31632 ]
31633 }
31634 ]
31635 },
31636 {
31637 "tag": "p",
31638 "children": [
31639 {
31640 "text": "baz"
31641 }
31642 ]
31643 },
31644 {
31645 "tag": "table",
31646 "children": [
31647 {
31648 "tag": "colgroup"
31649 }
31650 ]
31651 },
31652 {
31653 "tag": "p",
31654 "children": [
31655 {
31656 "text": "quux"
31657 }
31658 ]
31659 }
31660 ]
31661 }
31662 ]
31663 }
31664 ],
31665 "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>",
31666 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg><table><colgroup></colgroup></table><p>quux</p>"
31667 }
31668 },
31669 {
31670 "data": "<!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
31671 "errors": [
31672 "(1,49) unexpected-start-tag-in-select",
31673 "(1,52) unexpected-start-tag-in-select",
31674 "(1,59) unexpected-end-tag-in-select",
31675 "(1,62) unexpected-start-tag-in-select",
31676 "(1,69) unexpected-end-tag-in-select",
31677 "(1,72) unexpected-start-tag-in-select",
31678 "(1,83) unexpected-table-element-end-tag-in-select-in-table"
31679 ],
31680 "document": {
31681 "props": {
31682 "tags": {
31683 "html": true,
31684 "head": true,
31685 "body": true,
31686 "table": true,
31687 "tbody": true,
31688 "tr": true,
31689 "td": true,
31690 "select": true,
31691 "p": true
31692 },
31693 "doctype": true
31694 },
31695 "tree": [
31696 {
31697 "doctype": "html"
31698 },
31699 {
31700 "tag": "html",
31701 "children": [
31702 {
31703 "tag": "head"
31704 },
31705 {
31706 "tag": "body",
31707 "children": [
31708 {
31709 "tag": "table",
31710 "children": [
31711 {
31712 "tag": "tbody",
31713 "children": [
31714 {
31715 "tag": "tr",
31716 "children": [
31717 {
31718 "tag": "td",
31719 "children": [
31720 {
31721 "tag": "select",
31722 "children": [
31723 {
31724 "text": "foobarbaz"
31725 }
31726 ]
31727 }
31728 ]
31729 }
31730 ]
31731 }
31732 ]
31733 }
31734 ]
31735 },
31736 {
31737 "tag": "p",
31738 "children": [
31739 {
31740 "text": "quux"
31741 }
31742 ]
31743 }
31744 ]
31745 }
31746 ]
31747 }
31748 ],
31749 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p></body></html>",
31750 "noQuirksBodyHtml": "<table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p>"
31751 }
31752 },
31753 {
31754 "data": "<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux",
31755 "errors": [
31756 "(1,36) unexpected-start-tag-implies-table-voodoo",
31757 "(1,41) unexpected-start-tag-in-select",
31758 "(1,44) unexpected-start-tag-in-select",
31759 "(1,51) unexpected-end-tag-in-select",
31760 "(1,54) unexpected-start-tag-in-select",
31761 "(1,61) unexpected-end-tag-in-select",
31762 "(1,64) unexpected-start-tag-in-select",
31763 "(1,75) unexpected-table-element-end-tag-in-select-in-table"
31764 ],
31765 "document": {
31766 "props": {
31767 "tags": {
31768 "html": true,
31769 "head": true,
31770 "body": true,
31771 "select": true,
31772 "table": true,
31773 "p": true
31774 },
31775 "doctype": true
31776 },
31777 "tree": [
31778 {
31779 "doctype": "html"
31780 },
31781 {
31782 "tag": "html",
31783 "children": [
31784 {
31785 "tag": "head"
31786 },
31787 {
31788 "tag": "body",
31789 "children": [
31790 {
31791 "tag": "select",
31792 "children": [
31793 {
31794 "text": "foobarbaz"
31795 }
31796 ]
31797 },
31798 {
31799 "tag": "table"
31800 },
31801 {
31802 "tag": "p",
31803 "children": [
31804 {
31805 "text": "quux"
31806 }
31807 ]
31808 }
31809 ]
31810 }
31811 ]
31812 }
31813 ],
31814 "html": "<!DOCTYPE html><html><head></head><body><select>foobarbaz</select><table></table><p>quux</p></body></html>",
31815 "noQuirksBodyHtml": "<select>foobarbaz</select><table></table><p>quux</p>"
31816 }
31817 },
31818 {
31819 "data": "<!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz",
31820 "errors": [
31821 "(1,40) expected-eof-but-got-start-tag",
31822 "(1,63) unexpected-html-element-in-foreign-content"
31823 ],
31824 "document": {
31825 "props": {
31826 "tags": {
31827 "html": true,
31828 "head": true,
31829 "body": true,
31830 "svg svg": true,
31831 "svg g": true,
31832 "p": true
31833 },
31834 "doctype": true
31835 },
31836 "tree": [
31837 {
31838 "doctype": "html"
31839 },
31840 {
31841 "tag": "html",
31842 "children": [
31843 {
31844 "tag": "head"
31845 },
31846 {
31847 "tag": "body",
31848 "children": [
31849 {
31850 "tag": "svg",
31851 "ns": "http://www.w3.org/2000/svg",
31852 "children": [
31853 {
31854 "tag": "g",
31855 "ns": "http://www.w3.org/2000/svg",
31856 "children": [
31857 {
31858 "text": "foo"
31859 }
31860 ]
31861 },
31862 {
31863 "tag": "g",
31864 "ns": "http://www.w3.org/2000/svg",
31865 "children": [
31866 {
31867 "text": "bar"
31868 }
31869 ]
31870 }
31871 ]
31872 },
31873 {
31874 "tag": "p",
31875 "children": [
31876 {
31877 "text": "baz"
31878 }
31879 ]
31880 }
31881 ]
31882 }
31883 ]
31884 }
31885 ],
31886 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><p>baz</p></body></html>",
31887 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg>"
31888 }
31889 },
31890 {
31891 "data": "<!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz",
31892 "errors": [
31893 "(1,33) unexpected-start-tag-after-body",
31894 "(1,56) unexpected-html-element-in-foreign-content"
31895 ],
31896 "document": {
31897 "props": {
31898 "tags": {
31899 "html": true,
31900 "head": true,
31901 "body": true,
31902 "svg svg": true,
31903 "svg g": true,
31904 "p": true
31905 },
31906 "doctype": true
31907 },
31908 "tree": [
31909 {
31910 "doctype": "html"
31911 },
31912 {
31913 "tag": "html",
31914 "children": [
31915 {
31916 "tag": "head"
31917 },
31918 {
31919 "tag": "body",
31920 "children": [
31921 {
31922 "tag": "svg",
31923 "ns": "http://www.w3.org/2000/svg",
31924 "children": [
31925 {
31926 "tag": "g",
31927 "ns": "http://www.w3.org/2000/svg",
31928 "children": [
31929 {
31930 "text": "foo"
31931 }
31932 ]
31933 },
31934 {
31935 "tag": "g",
31936 "ns": "http://www.w3.org/2000/svg",
31937 "children": [
31938 {
31939 "text": "bar"
31940 }
31941 ]
31942 }
31943 ]
31944 },
31945 {
31946 "tag": "p",
31947 "children": [
31948 {
31949 "text": "baz"
31950 }
31951 ]
31952 }
31953 ]
31954 }
31955 ]
31956 }
31957 ],
31958 "html": "<!DOCTYPE html><html><head></head><body><svg><g>foo</g><g>bar</g></svg><p>baz</p></body></html>",
31959 "noQuirksBodyHtml": "<svg><g>foo</g><g>bar</g><p>baz</p></svg>"
31960 }
31961 },
31962 {
31963 "data": "<!DOCTYPE html><frameset><svg><g></g><g></g><p><span>",
31964 "errors": [
31965 "(1,30) unexpected-start-tag-in-frameset",
31966 "(1,33) unexpected-start-tag-in-frameset",
31967 "(1,37) unexpected-end-tag-in-frameset",
31968 "(1,40) unexpected-start-tag-in-frameset",
31969 "(1,44) unexpected-end-tag-in-frameset",
31970 "(1,47) unexpected-start-tag-in-frameset",
31971 "(1,53) unexpected-start-tag-in-frameset",
31972 "(1,53) eof-in-frameset"
31973 ],
31974 "document": {
31975 "props": {
31976 "tags": {
31977 "html": true,
31978 "head": true,
31979 "frameset": true
31980 },
31981 "doctype": true
31982 },
31983 "tree": [
31984 {
31985 "doctype": "html"
31986 },
31987 {
31988 "tag": "html",
31989 "children": [
31990 {
31991 "tag": "head"
31992 },
31993 {
31994 "tag": "frameset"
31995 }
31996 ]
31997 }
31998 ],
31999 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
32000 "noQuirksBodyHtml": "<svg><g></g><g></g><p><span></span></p></svg>"
32001 }
32002 },
32003 {
32004 "data": "<!DOCTYPE html><frameset></frameset><svg><g></g><g></g><p><span>",
32005 "errors": [
32006 "(1,41) unexpected-start-tag-after-frameset",
32007 "(1,44) unexpected-start-tag-after-frameset",
32008 "(1,48) unexpected-end-tag-after-frameset",
32009 "(1,51) unexpected-start-tag-after-frameset",
32010 "(1,55) unexpected-end-tag-after-frameset",
32011 "(1,58) unexpected-start-tag-after-frameset",
32012 "(1,64) unexpected-start-tag-after-frameset"
32013 ],
32014 "document": {
32015 "props": {
32016 "tags": {
32017 "html": true,
32018 "head": true,
32019 "frameset": true
32020 },
32021 "doctype": true
32022 },
32023 "tree": [
32024 {
32025 "doctype": "html"
32026 },
32027 {
32028 "tag": "html",
32029 "children": [
32030 {
32031 "tag": "head"
32032 },
32033 {
32034 "tag": "frameset"
32035 }
32036 ]
32037 }
32038 ],
32039 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
32040 "noQuirksBodyHtml": "<svg><g></g><g></g><p><span></span></p></svg>"
32041 }
32042 },
32043 {
32044 "data": "<!DOCTYPE html><body xlink:href=foo><svg xlink:href=foo></svg>",
32045 "errors": [],
32046 "document": {
32047 "props": {
32048 "tags": {
32049 "html": true,
32050 "head": true,
32051 "body": true,
32052 "svg svg": true
32053 },
32054 "doctype": true
32055 },
32056 "tree": [
32057 {
32058 "doctype": "html"
32059 },
32060 {
32061 "tag": "html",
32062 "children": [
32063 {
32064 "tag": "head"
32065 },
32066 {
32067 "tag": "body",
32068 "attrs": [
32069 {
32070 "name": "xlink:href",
32071 "value": "foo"
32072 }
32073 ],
32074 "children": [
32075 {
32076 "tag": "svg",
32077 "ns": "http://www.w3.org/2000/svg",
32078 "attrs": [
32079 {
32080 "name": "href",
32081 "ns": "http://www.w3.org/1999/xlink",
32082 "value": "foo"
32083 }
32084 ]
32085 }
32086 ]
32087 }
32088 ]
32089 }
32090 ],
32091 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\"><svg xlink:href=\"foo\"></svg></body></html>",
32092 "noQuirksBodyHtml": "<svg xlink:href=\"foo\"></svg>"
32093 }
32094 },
32095 {
32096 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo></g></svg>",
32097 "errors": [],
32098 "document": {
32099 "props": {
32100 "tags": {
32101 "html": true,
32102 "head": true,
32103 "body": true,
32104 "svg svg": true,
32105 "svg g": true
32106 },
32107 "doctype": true
32108 },
32109 "tree": [
32110 {
32111 "doctype": "html"
32112 },
32113 {
32114 "tag": "html",
32115 "children": [
32116 {
32117 "tag": "head"
32118 },
32119 {
32120 "tag": "body",
32121 "attrs": [
32122 {
32123 "name": "xlink:href",
32124 "value": "foo"
32125 },
32126 {
32127 "name": "xml:lang",
32128 "value": "en"
32129 }
32130 ],
32131 "children": [
32132 {
32133 "tag": "svg",
32134 "ns": "http://www.w3.org/2000/svg",
32135 "children": [
32136 {
32137 "tag": "g",
32138 "ns": "http://www.w3.org/2000/svg",
32139 "attrs": [
32140 {
32141 "name": "href",
32142 "ns": "http://www.w3.org/1999/xlink",
32143 "value": "foo"
32144 },
32145 {
32146 "name": "lang",
32147 "ns": "http://www.w3.org/XML/1998/namespace",
32148 "value": "en"
32149 }
32150 ]
32151 }
32152 ]
32153 }
32154 ]
32155 }
32156 ]
32157 }
32158 ],
32159 "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>",
32160 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg>"
32161 }
32162 },
32163 {
32164 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo /></svg>",
32165 "errors": [],
32166 "document": {
32167 "props": {
32168 "tags": {
32169 "html": true,
32170 "head": true,
32171 "body": true,
32172 "svg svg": true,
32173 "svg g": true
32174 },
32175 "doctype": true
32176 },
32177 "tree": [
32178 {
32179 "doctype": "html"
32180 },
32181 {
32182 "tag": "html",
32183 "children": [
32184 {
32185 "tag": "head"
32186 },
32187 {
32188 "tag": "body",
32189 "attrs": [
32190 {
32191 "name": "xlink:href",
32192 "value": "foo"
32193 },
32194 {
32195 "name": "xml:lang",
32196 "value": "en"
32197 }
32198 ],
32199 "children": [
32200 {
32201 "tag": "svg",
32202 "ns": "http://www.w3.org/2000/svg",
32203 "children": [
32204 {
32205 "tag": "g",
32206 "ns": "http://www.w3.org/2000/svg",
32207 "attrs": [
32208 {
32209 "name": "href",
32210 "ns": "http://www.w3.org/1999/xlink",
32211 "value": "foo"
32212 },
32213 {
32214 "name": "lang",
32215 "ns": "http://www.w3.org/XML/1998/namespace",
32216 "value": "en"
32217 }
32218 ]
32219 }
32220 ]
32221 }
32222 ]
32223 }
32224 ]
32225 }
32226 ],
32227 "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>",
32228 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g></svg>"
32229 }
32230 },
32231 {
32232 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><svg><g xml:lang=en xlink:href=foo />bar</svg>",
32233 "errors": [],
32234 "document": {
32235 "props": {
32236 "tags": {
32237 "html": true,
32238 "head": true,
32239 "body": true,
32240 "svg svg": true,
32241 "svg g": true
32242 },
32243 "doctype": true
32244 },
32245 "tree": [
32246 {
32247 "doctype": "html"
32248 },
32249 {
32250 "tag": "html",
32251 "children": [
32252 {
32253 "tag": "head"
32254 },
32255 {
32256 "tag": "body",
32257 "attrs": [
32258 {
32259 "name": "xlink:href",
32260 "value": "foo"
32261 },
32262 {
32263 "name": "xml:lang",
32264 "value": "en"
32265 }
32266 ],
32267 "children": [
32268 {
32269 "tag": "svg",
32270 "ns": "http://www.w3.org/2000/svg",
32271 "children": [
32272 {
32273 "tag": "g",
32274 "ns": "http://www.w3.org/2000/svg",
32275 "attrs": [
32276 {
32277 "name": "href",
32278 "ns": "http://www.w3.org/1999/xlink",
32279 "value": "foo"
32280 },
32281 {
32282 "name": "lang",
32283 "ns": "http://www.w3.org/XML/1998/namespace",
32284 "value": "en"
32285 }
32286 ]
32287 },
32288 {
32289 "text": "bar"
32290 }
32291 ]
32292 }
32293 ]
32294 }
32295 ]
32296 }
32297 ],
32298 "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>",
32299 "noQuirksBodyHtml": "<svg><g xml:lang=\"en\" xlink:href=\"foo\"></g>bar</svg>"
32300 }
32301 },
32302 {
32303 "data": "<svg></path>",
32304 "errors": [
32305 "(1,5) expected-doctype-but-got-start-tag",
32306 "(1,12) unexpected-end-tag",
32307 "(1,12) unexpected-end-tag",
32308 "(1,12) expected-closing-tag-but-got-eof"
32309 ],
32310 "document": {
32311 "props": {
32312 "tags": {
32313 "html": true,
32314 "head": true,
32315 "body": true,
32316 "svg svg": true
32317 }
32318 },
32319 "tree": [
32320 {
32321 "tag": "html",
32322 "children": [
32323 {
32324 "tag": "head"
32325 },
32326 {
32327 "tag": "body",
32328 "children": [
32329 {
32330 "tag": "svg",
32331 "ns": "http://www.w3.org/2000/svg"
32332 }
32333 ]
32334 }
32335 ]
32336 }
32337 ],
32338 "html": "<html><head></head><body><svg></svg></body></html>",
32339 "noQuirksBodyHtml": "<svg></svg>"
32340 }
32341 },
32342 {
32343 "data": "<div><svg></div>a",
32344 "errors": [
32345 "(1,5) expected-doctype-but-got-start-tag",
32346 "(1,16) unexpected-end-tag",
32347 "(1,16) end-tag-too-early"
32348 ],
32349 "document": {
32350 "props": {
32351 "tags": {
32352 "html": true,
32353 "head": true,
32354 "body": true,
32355 "div": true,
32356 "svg svg": true
32357 }
32358 },
32359 "tree": [
32360 {
32361 "tag": "html",
32362 "children": [
32363 {
32364 "tag": "head"
32365 },
32366 {
32367 "tag": "body",
32368 "children": [
32369 {
32370 "tag": "div",
32371 "children": [
32372 {
32373 "tag": "svg",
32374 "ns": "http://www.w3.org/2000/svg"
32375 }
32376 ]
32377 },
32378 {
32379 "text": "a"
32380 }
32381 ]
32382 }
32383 ]
32384 }
32385 ],
32386 "html": "<html><head></head><body><div><svg></svg></div>a</body></html>",
32387 "noQuirksBodyHtml": "<div><svg></svg></div>a"
32388 }
32389 },
32390 {
32391 "data": "<div><svg><path></div>a",
32392 "errors": [
32393 "(1,5) expected-doctype-but-got-start-tag",
32394 "(1,22) unexpected-end-tag",
32395 "(1,22) end-tag-too-early"
32396 ],
32397 "document": {
32398 "props": {
32399 "tags": {
32400 "html": true,
32401 "head": true,
32402 "body": true,
32403 "div": true,
32404 "svg svg": true,
32405 "svg path": true
32406 }
32407 },
32408 "tree": [
32409 {
32410 "tag": "html",
32411 "children": [
32412 {
32413 "tag": "head"
32414 },
32415 {
32416 "tag": "body",
32417 "children": [
32418 {
32419 "tag": "div",
32420 "children": [
32421 {
32422 "tag": "svg",
32423 "ns": "http://www.w3.org/2000/svg",
32424 "children": [
32425 {
32426 "tag": "path",
32427 "ns": "http://www.w3.org/2000/svg"
32428 }
32429 ]
32430 }
32431 ]
32432 },
32433 {
32434 "text": "a"
32435 }
32436 ]
32437 }
32438 ]
32439 }
32440 ],
32441 "html": "<html><head></head><body><div><svg><path></path></svg></div>a</body></html>",
32442 "noQuirksBodyHtml": "<div><svg><path></path></svg></div>a"
32443 }
32444 },
32445 {
32446 "data": "<div><svg><path></svg><path>",
32447 "errors": [
32448 "(1,5) expected-doctype-but-got-start-tag",
32449 "(1,22) unexpected-end-tag",
32450 "(1,28) expected-closing-tag-but-got-eof"
32451 ],
32452 "document": {
32453 "props": {
32454 "tags": {
32455 "html": true,
32456 "head": true,
32457 "body": true,
32458 "div": true,
32459 "svg svg": true,
32460 "svg path": true,
32461 "path": true
32462 }
32463 },
32464 "tree": [
32465 {
32466 "tag": "html",
32467 "children": [
32468 {
32469 "tag": "head"
32470 },
32471 {
32472 "tag": "body",
32473 "children": [
32474 {
32475 "tag": "div",
32476 "children": [
32477 {
32478 "tag": "svg",
32479 "ns": "http://www.w3.org/2000/svg",
32480 "children": [
32481 {
32482 "tag": "path",
32483 "ns": "http://www.w3.org/2000/svg"
32484 }
32485 ]
32486 },
32487 {
32488 "tag": "path"
32489 }
32490 ]
32491 }
32492 ]
32493 }
32494 ]
32495 }
32496 ],
32497 "html": "<html><head></head><body><div><svg><path></path></svg><path></path></div></body></html>",
32498 "noQuirksBodyHtml": "<div><svg><path></path></svg><path></path></div>"
32499 }
32500 },
32501 {
32502 "data": "<div><svg><path><foreignObject><math></div>a",
32503 "errors": [
32504 "(1,5) expected-doctype-but-got-start-tag",
32505 "(1,43) unexpected-end-tag",
32506 "(1,43) end-tag-too-early",
32507 "(1,44) expected-closing-tag-but-got-eof"
32508 ],
32509 "document": {
32510 "props": {
32511 "tags": {
32512 "html": true,
32513 "head": true,
32514 "body": true,
32515 "div": true,
32516 "svg svg": true,
32517 "svg path": true,
32518 "svg foreignObject": true,
32519 "math math": true
32520 }
32521 },
32522 "tree": [
32523 {
32524 "tag": "html",
32525 "children": [
32526 {
32527 "tag": "head"
32528 },
32529 {
32530 "tag": "body",
32531 "children": [
32532 {
32533 "tag": "div",
32534 "children": [
32535 {
32536 "tag": "svg",
32537 "ns": "http://www.w3.org/2000/svg",
32538 "children": [
32539 {
32540 "tag": "path",
32541 "ns": "http://www.w3.org/2000/svg",
32542 "children": [
32543 {
32544 "tag": "foreignObject",
32545 "ns": "http://www.w3.org/2000/svg",
32546 "children": [
32547 {
32548 "tag": "math",
32549 "ns": "http://www.w3.org/1998/Math/MathML",
32550 "children": [
32551 {
32552 "text": "a"
32553 }
32554 ]
32555 }
32556 ]
32557 }
32558 ]
32559 }
32560 ]
32561 }
32562 ]
32563 }
32564 ]
32565 }
32566 ]
32567 }
32568 ],
32569 "html": "<html><head></head><body><div><svg><path><foreignObject><math>a</math></foreignObject></path></svg></div></body></html>",
32570 "noQuirksBodyHtml": "<div><svg><path><foreignObject><math>a</math></foreignObject></path></svg></div>"
32571 }
32572 },
32573 {
32574 "data": "<div><svg><path><foreignObject><p></div>a",
32575 "errors": [
32576 "(1,5) expected-doctype-but-got-start-tag",
32577 "(1,40) end-tag-too-early",
32578 "(1,41) expected-closing-tag-but-got-eof"
32579 ],
32580 "document": {
32581 "props": {
32582 "tags": {
32583 "html": true,
32584 "head": true,
32585 "body": true,
32586 "div": true,
32587 "svg svg": true,
32588 "svg path": true,
32589 "svg foreignObject": true,
32590 "p": true
32591 }
32592 },
32593 "tree": [
32594 {
32595 "tag": "html",
32596 "children": [
32597 {
32598 "tag": "head"
32599 },
32600 {
32601 "tag": "body",
32602 "children": [
32603 {
32604 "tag": "div",
32605 "children": [
32606 {
32607 "tag": "svg",
32608 "ns": "http://www.w3.org/2000/svg",
32609 "children": [
32610 {
32611 "tag": "path",
32612 "ns": "http://www.w3.org/2000/svg",
32613 "children": [
32614 {
32615 "tag": "foreignObject",
32616 "ns": "http://www.w3.org/2000/svg",
32617 "children": [
32618 {
32619 "tag": "p",
32620 "children": [
32621 {
32622 "text": "a"
32623 }
32624 ]
32625 }
32626 ]
32627 }
32628 ]
32629 }
32630 ]
32631 }
32632 ]
32633 }
32634 ]
32635 }
32636 ]
32637 }
32638 ],
32639 "html": "<html><head></head><body><div><svg><path><foreignObject><p>a</p></foreignObject></path></svg></div></body></html>",
32640 "noQuirksBodyHtml": "<div><svg><path><foreignObject><p>a</p></foreignObject></path></svg></div>"
32641 }
32642 },
32643 {
32644 "data": "<!DOCTYPE html><svg><desc><div><svg><ul>a",
32645 "errors": [
32646 "(1,40) unexpected-html-element-in-foreign-content",
32647 "(1,41) expected-closing-tag-but-got-eof"
32648 ],
32649 "document": {
32650 "props": {
32651 "tags": {
32652 "html": true,
32653 "head": true,
32654 "body": true,
32655 "svg svg": true,
32656 "svg desc": true,
32657 "div": true,
32658 "ul": true
32659 },
32660 "doctype": true
32661 },
32662 "tree": [
32663 {
32664 "doctype": "html"
32665 },
32666 {
32667 "tag": "html",
32668 "children": [
32669 {
32670 "tag": "head"
32671 },
32672 {
32673 "tag": "body",
32674 "children": [
32675 {
32676 "tag": "svg",
32677 "ns": "http://www.w3.org/2000/svg",
32678 "children": [
32679 {
32680 "tag": "desc",
32681 "ns": "http://www.w3.org/2000/svg",
32682 "children": [
32683 {
32684 "tag": "div",
32685 "children": [
32686 {
32687 "tag": "svg",
32688 "ns": "http://www.w3.org/2000/svg"
32689 },
32690 {
32691 "tag": "ul",
32692 "children": [
32693 {
32694 "text": "a"
32695 }
32696 ]
32697 }
32698 ]
32699 }
32700 ]
32701 }
32702 ]
32703 }
32704 ]
32705 }
32706 ]
32707 }
32708 ],
32709 "html": "<!DOCTYPE html><html><head></head><body><svg><desc><div><svg></svg><ul>a</ul></div></desc></svg></body></html>",
32710 "noQuirksBodyHtml": "<svg><desc><div><svg><ul>a</ul></svg></div></desc></svg>"
32711 }
32712 },
32713 {
32714 "data": "<!DOCTYPE html><svg><desc><svg><ul>a",
32715 "errors": [
32716 "(1,35) unexpected-html-element-in-foreign-content",
32717 "(1,36) expected-closing-tag-but-got-eof"
32718 ],
32719 "document": {
32720 "props": {
32721 "tags": {
32722 "html": true,
32723 "head": true,
32724 "body": true,
32725 "svg svg": true,
32726 "svg desc": true,
32727 "ul": true
32728 },
32729 "doctype": true
32730 },
32731 "tree": [
32732 {
32733 "doctype": "html"
32734 },
32735 {
32736 "tag": "html",
32737 "children": [
32738 {
32739 "tag": "head"
32740 },
32741 {
32742 "tag": "body",
32743 "children": [
32744 {
32745 "tag": "svg",
32746 "ns": "http://www.w3.org/2000/svg",
32747 "children": [
32748 {
32749 "tag": "desc",
32750 "ns": "http://www.w3.org/2000/svg",
32751 "children": [
32752 {
32753 "tag": "svg",
32754 "ns": "http://www.w3.org/2000/svg"
32755 },
32756 {
32757 "tag": "ul",
32758 "children": [
32759 {
32760 "text": "a"
32761 }
32762 ]
32763 }
32764 ]
32765 }
32766 ]
32767 }
32768 ]
32769 }
32770 ]
32771 }
32772 ],
32773 "html": "<!DOCTYPE html><html><head></head><body><svg><desc><svg></svg><ul>a</ul></desc></svg></body></html>",
32774 "noQuirksBodyHtml": "<svg><desc><svg><ul>a</ul></svg></desc></svg>"
32775 }
32776 },
32777 {
32778 "data": "<!DOCTYPE html><p><svg><desc><p>",
32779 "errors": [
32780 "(1,32) expected-closing-tag-but-got-eof"
32781 ],
32782 "document": {
32783 "props": {
32784 "tags": {
32785 "html": true,
32786 "head": true,
32787 "body": true,
32788 "p": true,
32789 "svg svg": true,
32790 "svg desc": true
32791 },
32792 "doctype": true
32793 },
32794 "tree": [
32795 {
32796 "doctype": "html"
32797 },
32798 {
32799 "tag": "html",
32800 "children": [
32801 {
32802 "tag": "head"
32803 },
32804 {
32805 "tag": "body",
32806 "children": [
32807 {
32808 "tag": "p",
32809 "children": [
32810 {
32811 "tag": "svg",
32812 "ns": "http://www.w3.org/2000/svg",
32813 "children": [
32814 {
32815 "tag": "desc",
32816 "ns": "http://www.w3.org/2000/svg",
32817 "children": [
32818 {
32819 "tag": "p"
32820 }
32821 ]
32822 }
32823 ]
32824 }
32825 ]
32826 }
32827 ]
32828 }
32829 ]
32830 }
32831 ],
32832 "html": "<!DOCTYPE html><html><head></head><body><p><svg><desc><p></p></desc></svg></p></body></html>",
32833 "noQuirksBodyHtml": "<p><svg><desc><p></p></desc></svg></p>"
32834 }
32835 },
32836 {
32837 "data": "<!DOCTYPE html><p><svg><title><p>",
32838 "errors": [
32839 "(1,33) expected-closing-tag-but-got-eof"
32840 ],
32841 "document": {
32842 "props": {
32843 "tags": {
32844 "html": true,
32845 "head": true,
32846 "body": true,
32847 "p": true,
32848 "svg svg": true,
32849 "svg title": true
32850 },
32851 "doctype": true
32852 },
32853 "tree": [
32854 {
32855 "doctype": "html"
32856 },
32857 {
32858 "tag": "html",
32859 "children": [
32860 {
32861 "tag": "head"
32862 },
32863 {
32864 "tag": "body",
32865 "children": [
32866 {
32867 "tag": "p",
32868 "children": [
32869 {
32870 "tag": "svg",
32871 "ns": "http://www.w3.org/2000/svg",
32872 "children": [
32873 {
32874 "tag": "title",
32875 "ns": "http://www.w3.org/2000/svg",
32876 "children": [
32877 {
32878 "tag": "p"
32879 }
32880 ]
32881 }
32882 ]
32883 }
32884 ]
32885 }
32886 ]
32887 }
32888 ]
32889 }
32890 ],
32891 "html": "<!DOCTYPE html><html><head></head><body><p><svg><title><p></p></title></svg></p></body></html>",
32892 "noQuirksBodyHtml": "<p><svg><title><p></p></title></svg></p>"
32893 }
32894 },
32895 {
32896 "data": "<div><svg><path><foreignObject><p></foreignObject><p>",
32897 "errors": [
32898 "(1,5) expected-doctype-but-got-start-tag",
32899 "(1,50) unexpected-end-tag",
32900 "(1,53) expected-closing-tag-but-got-eof"
32901 ],
32902 "document": {
32903 "props": {
32904 "tags": {
32905 "html": true,
32906 "head": true,
32907 "body": true,
32908 "div": true,
32909 "svg svg": true,
32910 "svg path": true,
32911 "svg foreignObject": true,
32912 "p": true
32913 }
32914 },
32915 "tree": [
32916 {
32917 "tag": "html",
32918 "children": [
32919 {
32920 "tag": "head"
32921 },
32922 {
32923 "tag": "body",
32924 "children": [
32925 {
32926 "tag": "div",
32927 "children": [
32928 {
32929 "tag": "svg",
32930 "ns": "http://www.w3.org/2000/svg",
32931 "children": [
32932 {
32933 "tag": "path",
32934 "ns": "http://www.w3.org/2000/svg",
32935 "children": [
32936 {
32937 "tag": "foreignObject",
32938 "ns": "http://www.w3.org/2000/svg",
32939 "children": [
32940 {
32941 "tag": "p"
32942 },
32943 {
32944 "tag": "p"
32945 }
32946 ]
32947 }
32948 ]
32949 }
32950 ]
32951 }
32952 ]
32953 }
32954 ]
32955 }
32956 ]
32957 }
32958 ],
32959 "html": "<html><head></head><body><div><svg><path><foreignObject><p></p><p></p></foreignObject></path></svg></div></body></html>",
32960 "noQuirksBodyHtml": "<div><svg><path><foreignObject><p></p><p></p></foreignObject></path></svg></div>"
32961 }
32962 },
32963 {
32964 "data": "<math><mi><div><object><div><span></span></div></object></div></mi><mi>",
32965 "errors": [
32966 "(1,6) expected-doctype-but-got-start-tag",
32967 "(1,71) expected-closing-tag-but-got-eof"
32968 ],
32969 "document": {
32970 "props": {
32971 "tags": {
32972 "html": true,
32973 "head": true,
32974 "body": true,
32975 "math math": true,
32976 "math mi": true,
32977 "div": true,
32978 "object": true,
32979 "span": true
32980 }
32981 },
32982 "tree": [
32983 {
32984 "tag": "html",
32985 "children": [
32986 {
32987 "tag": "head"
32988 },
32989 {
32990 "tag": "body",
32991 "children": [
32992 {
32993 "tag": "math",
32994 "ns": "http://www.w3.org/1998/Math/MathML",
32995 "children": [
32996 {
32997 "tag": "mi",
32998 "ns": "http://www.w3.org/1998/Math/MathML",
32999 "children": [
33000 {
33001 "tag": "div",
33002 "children": [
33003 {
33004 "tag": "object",
33005 "children": [
33006 {
33007 "tag": "div",
33008 "children": [
33009 {
33010 "tag": "span"
33011 }
33012 ]
33013 }
33014 ]
33015 }
33016 ]
33017 }
33018 ]
33019 },
33020 {
33021 "tag": "mi",
33022 "ns": "http://www.w3.org/1998/Math/MathML"
33023 }
33024 ]
33025 }
33026 ]
33027 }
33028 ]
33029 }
33030 ],
33031 "html": "<html><head></head><body><math><mi><div><object><div><span></span></div></object></div></mi><mi></mi></math></body></html>",
33032 "noQuirksBodyHtml": "<math><mi><div><object><div><span></span></div></object></div></mi><mi></mi></math>"
33033 }
33034 },
33035 {
33036 "data": "<math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi>",
33037 "errors": [
33038 "(1,6) expected-doctype-but-got-start-tag",
33039 "(1,83) expected-closing-tag-but-got-eof"
33040 ],
33041 "document": {
33042 "props": {
33043 "tags": {
33044 "html": true,
33045 "head": true,
33046 "body": true,
33047 "math math": true,
33048 "math mi": true,
33049 "svg svg": true,
33050 "svg foreignObject": true,
33051 "div": true
33052 }
33053 },
33054 "tree": [
33055 {
33056 "tag": "html",
33057 "children": [
33058 {
33059 "tag": "head"
33060 },
33061 {
33062 "tag": "body",
33063 "children": [
33064 {
33065 "tag": "math",
33066 "ns": "http://www.w3.org/1998/Math/MathML",
33067 "children": [
33068 {
33069 "tag": "mi",
33070 "ns": "http://www.w3.org/1998/Math/MathML",
33071 "children": [
33072 {
33073 "tag": "svg",
33074 "ns": "http://www.w3.org/2000/svg",
33075 "children": [
33076 {
33077 "tag": "foreignObject",
33078 "ns": "http://www.w3.org/2000/svg",
33079 "children": [
33080 {
33081 "tag": "div",
33082 "children": [
33083 {
33084 "tag": "div"
33085 }
33086 ]
33087 }
33088 ]
33089 }
33090 ]
33091 }
33092 ]
33093 },
33094 {
33095 "tag": "mi",
33096 "ns": "http://www.w3.org/1998/Math/MathML"
33097 }
33098 ]
33099 }
33100 ]
33101 }
33102 ]
33103 }
33104 ],
33105 "html": "<html><head></head><body><math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi></mi></math></body></html>",
33106 "noQuirksBodyHtml": "<math><mi><svg><foreignObject><div><div></div></div></foreignObject></svg></mi><mi></mi></math>"
33107 }
33108 },
33109 {
33110 "data": "<svg><script></script><path>",
33111 "errors": [
33112 "(1,5) expected-doctype-but-got-start-tag",
33113 "(1,28) expected-closing-tag-but-got-eof"
33114 ],
33115 "document": {
33116 "props": {
33117 "tags": {
33118 "html": true,
33119 "head": true,
33120 "body": true,
33121 "svg svg": true,
33122 "svg script": true,
33123 "svg path": true
33124 }
33125 },
33126 "tree": [
33127 {
33128 "tag": "html",
33129 "children": [
33130 {
33131 "tag": "head"
33132 },
33133 {
33134 "tag": "body",
33135 "children": [
33136 {
33137 "tag": "svg",
33138 "ns": "http://www.w3.org/2000/svg",
33139 "children": [
33140 {
33141 "tag": "script",
33142 "ns": "http://www.w3.org/2000/svg"
33143 },
33144 {
33145 "tag": "path",
33146 "ns": "http://www.w3.org/2000/svg"
33147 }
33148 ]
33149 }
33150 ]
33151 }
33152 ]
33153 }
33154 ],
33155 "html": "<html><head></head><body><svg><script></script><path></path></svg></body></html>",
33156 "noQuirksBodyHtml": "<svg><script></script><path></path></svg>"
33157 }
33158 },
33159 {
33160 "data": "<table><svg></svg><tr>",
33161 "errors": [
33162 "(1,7) expected-doctype-but-got-start-tag",
33163 "(1,12) unexpected-start-tag-implies-table-voodoo",
33164 "(1,22) eof-in-table"
33165 ],
33166 "document": {
33167 "props": {
33168 "tags": {
33169 "html": true,
33170 "head": true,
33171 "body": true,
33172 "svg svg": true,
33173 "table": true,
33174 "tbody": true,
33175 "tr": true
33176 }
33177 },
33178 "tree": [
33179 {
33180 "tag": "html",
33181 "children": [
33182 {
33183 "tag": "head"
33184 },
33185 {
33186 "tag": "body",
33187 "children": [
33188 {
33189 "tag": "svg",
33190 "ns": "http://www.w3.org/2000/svg"
33191 },
33192 {
33193 "tag": "table",
33194 "children": [
33195 {
33196 "tag": "tbody",
33197 "children": [
33198 {
33199 "tag": "tr"
33200 }
33201 ]
33202 }
33203 ]
33204 }
33205 ]
33206 }
33207 ]
33208 }
33209 ],
33210 "html": "<html><head></head><body><svg></svg><table><tbody><tr></tr></tbody></table></body></html>",
33211 "noQuirksBodyHtml": "<svg></svg><table><tbody><tr></tr></tbody></table>"
33212 }
33213 },
33214 {
33215 "data": "<math><mi><mglyph>",
33216 "errors": [
33217 "(1,6) expected-doctype-but-got-start-tag",
33218 "(1,18) expected-closing-tag-but-got-eof"
33219 ],
33220 "document": {
33221 "props": {
33222 "tags": {
33223 "html": true,
33224 "head": true,
33225 "body": true,
33226 "math math": true,
33227 "math mi": true,
33228 "math mglyph": true
33229 }
33230 },
33231 "tree": [
33232 {
33233 "tag": "html",
33234 "children": [
33235 {
33236 "tag": "head"
33237 },
33238 {
33239 "tag": "body",
33240 "children": [
33241 {
33242 "tag": "math",
33243 "ns": "http://www.w3.org/1998/Math/MathML",
33244 "children": [
33245 {
33246 "tag": "mi",
33247 "ns": "http://www.w3.org/1998/Math/MathML",
33248 "children": [
33249 {
33250 "tag": "mglyph",
33251 "ns": "http://www.w3.org/1998/Math/MathML"
33252 }
33253 ]
33254 }
33255 ]
33256 }
33257 ]
33258 }
33259 ]
33260 }
33261 ],
33262 "html": "<html><head></head><body><math><mi><mglyph></mglyph></mi></math></body></html>",
33263 "noQuirksBodyHtml": "<math><mi><mglyph></mglyph></mi></math>"
33264 }
33265 },
33266 {
33267 "data": "<math><mi><malignmark>",
33268 "errors": [
33269 "(1,6) expected-doctype-but-got-start-tag",
33270 "(1,22) expected-closing-tag-but-got-eof"
33271 ],
33272 "document": {
33273 "props": {
33274 "tags": {
33275 "html": true,
33276 "head": true,
33277 "body": true,
33278 "math math": true,
33279 "math mi": true,
33280 "math malignmark": true
33281 }
33282 },
33283 "tree": [
33284 {
33285 "tag": "html",
33286 "children": [
33287 {
33288 "tag": "head"
33289 },
33290 {
33291 "tag": "body",
33292 "children": [
33293 {
33294 "tag": "math",
33295 "ns": "http://www.w3.org/1998/Math/MathML",
33296 "children": [
33297 {
33298 "tag": "mi",
33299 "ns": "http://www.w3.org/1998/Math/MathML",
33300 "children": [
33301 {
33302 "tag": "malignmark",
33303 "ns": "http://www.w3.org/1998/Math/MathML"
33304 }
33305 ]
33306 }
33307 ]
33308 }
33309 ]
33310 }
33311 ]
33312 }
33313 ],
33314 "html": "<html><head></head><body><math><mi><malignmark></malignmark></mi></math></body></html>",
33315 "noQuirksBodyHtml": "<math><mi><malignmark></malignmark></mi></math>"
33316 }
33317 },
33318 {
33319 "data": "<math><mo><mglyph>",
33320 "errors": [
33321 "(1,6) expected-doctype-but-got-start-tag",
33322 "(1,18) expected-closing-tag-but-got-eof"
33323 ],
33324 "document": {
33325 "props": {
33326 "tags": {
33327 "html": true,
33328 "head": true,
33329 "body": true,
33330 "math math": true,
33331 "math mo": true,
33332 "math mglyph": true
33333 }
33334 },
33335 "tree": [
33336 {
33337 "tag": "html",
33338 "children": [
33339 {
33340 "tag": "head"
33341 },
33342 {
33343 "tag": "body",
33344 "children": [
33345 {
33346 "tag": "math",
33347 "ns": "http://www.w3.org/1998/Math/MathML",
33348 "children": [
33349 {
33350 "tag": "mo",
33351 "ns": "http://www.w3.org/1998/Math/MathML",
33352 "children": [
33353 {
33354 "tag": "mglyph",
33355 "ns": "http://www.w3.org/1998/Math/MathML"
33356 }
33357 ]
33358 }
33359 ]
33360 }
33361 ]
33362 }
33363 ]
33364 }
33365 ],
33366 "html": "<html><head></head><body><math><mo><mglyph></mglyph></mo></math></body></html>",
33367 "noQuirksBodyHtml": "<math><mo><mglyph></mglyph></mo></math>"
33368 }
33369 },
33370 {
33371 "data": "<math><mo><malignmark>",
33372 "errors": [
33373 "(1,6) expected-doctype-but-got-start-tag",
33374 "(1,22) expected-closing-tag-but-got-eof"
33375 ],
33376 "document": {
33377 "props": {
33378 "tags": {
33379 "html": true,
33380 "head": true,
33381 "body": true,
33382 "math math": true,
33383 "math mo": true,
33384 "math malignmark": true
33385 }
33386 },
33387 "tree": [
33388 {
33389 "tag": "html",
33390 "children": [
33391 {
33392 "tag": "head"
33393 },
33394 {
33395 "tag": "body",
33396 "children": [
33397 {
33398 "tag": "math",
33399 "ns": "http://www.w3.org/1998/Math/MathML",
33400 "children": [
33401 {
33402 "tag": "mo",
33403 "ns": "http://www.w3.org/1998/Math/MathML",
33404 "children": [
33405 {
33406 "tag": "malignmark",
33407 "ns": "http://www.w3.org/1998/Math/MathML"
33408 }
33409 ]
33410 }
33411 ]
33412 }
33413 ]
33414 }
33415 ]
33416 }
33417 ],
33418 "html": "<html><head></head><body><math><mo><malignmark></malignmark></mo></math></body></html>",
33419 "noQuirksBodyHtml": "<math><mo><malignmark></malignmark></mo></math>"
33420 }
33421 },
33422 {
33423 "data": "<math><mn><mglyph>",
33424 "errors": [
33425 "(1,6) expected-doctype-but-got-start-tag",
33426 "(1,18) expected-closing-tag-but-got-eof"
33427 ],
33428 "document": {
33429 "props": {
33430 "tags": {
33431 "html": true,
33432 "head": true,
33433 "body": true,
33434 "math math": true,
33435 "math mn": true,
33436 "math mglyph": true
33437 }
33438 },
33439 "tree": [
33440 {
33441 "tag": "html",
33442 "children": [
33443 {
33444 "tag": "head"
33445 },
33446 {
33447 "tag": "body",
33448 "children": [
33449 {
33450 "tag": "math",
33451 "ns": "http://www.w3.org/1998/Math/MathML",
33452 "children": [
33453 {
33454 "tag": "mn",
33455 "ns": "http://www.w3.org/1998/Math/MathML",
33456 "children": [
33457 {
33458 "tag": "mglyph",
33459 "ns": "http://www.w3.org/1998/Math/MathML"
33460 }
33461 ]
33462 }
33463 ]
33464 }
33465 ]
33466 }
33467 ]
33468 }
33469 ],
33470 "html": "<html><head></head><body><math><mn><mglyph></mglyph></mn></math></body></html>",
33471 "noQuirksBodyHtml": "<math><mn><mglyph></mglyph></mn></math>"
33472 }
33473 },
33474 {
33475 "data": "<math><mn><malignmark>",
33476 "errors": [
33477 "(1,6) expected-doctype-but-got-start-tag",
33478 "(1,22) expected-closing-tag-but-got-eof"
33479 ],
33480 "document": {
33481 "props": {
33482 "tags": {
33483 "html": true,
33484 "head": true,
33485 "body": true,
33486 "math math": true,
33487 "math mn": true,
33488 "math malignmark": true
33489 }
33490 },
33491 "tree": [
33492 {
33493 "tag": "html",
33494 "children": [
33495 {
33496 "tag": "head"
33497 },
33498 {
33499 "tag": "body",
33500 "children": [
33501 {
33502 "tag": "math",
33503 "ns": "http://www.w3.org/1998/Math/MathML",
33504 "children": [
33505 {
33506 "tag": "mn",
33507 "ns": "http://www.w3.org/1998/Math/MathML",
33508 "children": [
33509 {
33510 "tag": "malignmark",
33511 "ns": "http://www.w3.org/1998/Math/MathML"
33512 }
33513 ]
33514 }
33515 ]
33516 }
33517 ]
33518 }
33519 ]
33520 }
33521 ],
33522 "html": "<html><head></head><body><math><mn><malignmark></malignmark></mn></math></body></html>",
33523 "noQuirksBodyHtml": "<math><mn><malignmark></malignmark></mn></math>"
33524 }
33525 },
33526 {
33527 "data": "<math><ms><mglyph>",
33528 "errors": [
33529 "(1,6) expected-doctype-but-got-start-tag",
33530 "(1,18) expected-closing-tag-but-got-eof"
33531 ],
33532 "document": {
33533 "props": {
33534 "tags": {
33535 "html": true,
33536 "head": true,
33537 "body": true,
33538 "math math": true,
33539 "math ms": true,
33540 "math mglyph": true
33541 }
33542 },
33543 "tree": [
33544 {
33545 "tag": "html",
33546 "children": [
33547 {
33548 "tag": "head"
33549 },
33550 {
33551 "tag": "body",
33552 "children": [
33553 {
33554 "tag": "math",
33555 "ns": "http://www.w3.org/1998/Math/MathML",
33556 "children": [
33557 {
33558 "tag": "ms",
33559 "ns": "http://www.w3.org/1998/Math/MathML",
33560 "children": [
33561 {
33562 "tag": "mglyph",
33563 "ns": "http://www.w3.org/1998/Math/MathML"
33564 }
33565 ]
33566 }
33567 ]
33568 }
33569 ]
33570 }
33571 ]
33572 }
33573 ],
33574 "html": "<html><head></head><body><math><ms><mglyph></mglyph></ms></math></body></html>",
33575 "noQuirksBodyHtml": "<math><ms><mglyph></mglyph></ms></math>"
33576 }
33577 },
33578 {
33579 "data": "<math><ms><malignmark>",
33580 "errors": [
33581 "(1,6) expected-doctype-but-got-start-tag",
33582 "(1,22) expected-closing-tag-but-got-eof"
33583 ],
33584 "document": {
33585 "props": {
33586 "tags": {
33587 "html": true,
33588 "head": true,
33589 "body": true,
33590 "math math": true,
33591 "math ms": true,
33592 "math malignmark": true
33593 }
33594 },
33595 "tree": [
33596 {
33597 "tag": "html",
33598 "children": [
33599 {
33600 "tag": "head"
33601 },
33602 {
33603 "tag": "body",
33604 "children": [
33605 {
33606 "tag": "math",
33607 "ns": "http://www.w3.org/1998/Math/MathML",
33608 "children": [
33609 {
33610 "tag": "ms",
33611 "ns": "http://www.w3.org/1998/Math/MathML",
33612 "children": [
33613 {
33614 "tag": "malignmark",
33615 "ns": "http://www.w3.org/1998/Math/MathML"
33616 }
33617 ]
33618 }
33619 ]
33620 }
33621 ]
33622 }
33623 ]
33624 }
33625 ],
33626 "html": "<html><head></head><body><math><ms><malignmark></malignmark></ms></math></body></html>",
33627 "noQuirksBodyHtml": "<math><ms><malignmark></malignmark></ms></math>"
33628 }
33629 },
33630 {
33631 "data": "<math><mtext><mglyph>",
33632 "errors": [
33633 "(1,6) expected-doctype-but-got-start-tag",
33634 "(1,21) expected-closing-tag-but-got-eof"
33635 ],
33636 "document": {
33637 "props": {
33638 "tags": {
33639 "html": true,
33640 "head": true,
33641 "body": true,
33642 "math math": true,
33643 "math mtext": true,
33644 "math mglyph": true
33645 }
33646 },
33647 "tree": [
33648 {
33649 "tag": "html",
33650 "children": [
33651 {
33652 "tag": "head"
33653 },
33654 {
33655 "tag": "body",
33656 "children": [
33657 {
33658 "tag": "math",
33659 "ns": "http://www.w3.org/1998/Math/MathML",
33660 "children": [
33661 {
33662 "tag": "mtext",
33663 "ns": "http://www.w3.org/1998/Math/MathML",
33664 "children": [
33665 {
33666 "tag": "mglyph",
33667 "ns": "http://www.w3.org/1998/Math/MathML"
33668 }
33669 ]
33670 }
33671 ]
33672 }
33673 ]
33674 }
33675 ]
33676 }
33677 ],
33678 "html": "<html><head></head><body><math><mtext><mglyph></mglyph></mtext></math></body></html>",
33679 "noQuirksBodyHtml": "<math><mtext><mglyph></mglyph></mtext></math>"
33680 }
33681 },
33682 {
33683 "data": "<math><mtext><malignmark>",
33684 "errors": [
33685 "(1,6) expected-doctype-but-got-start-tag",
33686 "(1,25) expected-closing-tag-but-got-eof"
33687 ],
33688 "document": {
33689 "props": {
33690 "tags": {
33691 "html": true,
33692 "head": true,
33693 "body": true,
33694 "math math": true,
33695 "math mtext": true,
33696 "math malignmark": true
33697 }
33698 },
33699 "tree": [
33700 {
33701 "tag": "html",
33702 "children": [
33703 {
33704 "tag": "head"
33705 },
33706 {
33707 "tag": "body",
33708 "children": [
33709 {
33710 "tag": "math",
33711 "ns": "http://www.w3.org/1998/Math/MathML",
33712 "children": [
33713 {
33714 "tag": "mtext",
33715 "ns": "http://www.w3.org/1998/Math/MathML",
33716 "children": [
33717 {
33718 "tag": "malignmark",
33719 "ns": "http://www.w3.org/1998/Math/MathML"
33720 }
33721 ]
33722 }
33723 ]
33724 }
33725 ]
33726 }
33727 ]
33728 }
33729 ],
33730 "html": "<html><head></head><body><math><mtext><malignmark></malignmark></mtext></math></body></html>",
33731 "noQuirksBodyHtml": "<math><mtext><malignmark></malignmark></mtext></math>"
33732 }
33733 },
33734 {
33735 "data": "<math><annotation-xml><svg></svg></annotation-xml><mi>",
33736 "errors": [
33737 "(1,6) expected-doctype-but-got-start-tag",
33738 "(1,54) expected-closing-tag-but-got-eof"
33739 ],
33740 "document": {
33741 "props": {
33742 "tags": {
33743 "html": true,
33744 "head": true,
33745 "body": true,
33746 "math math": true,
33747 "math annotation-xml": true,
33748 "svg svg": true,
33749 "math mi": true
33750 }
33751 },
33752 "tree": [
33753 {
33754 "tag": "html",
33755 "children": [
33756 {
33757 "tag": "head"
33758 },
33759 {
33760 "tag": "body",
33761 "children": [
33762 {
33763 "tag": "math",
33764 "ns": "http://www.w3.org/1998/Math/MathML",
33765 "children": [
33766 {
33767 "tag": "annotation-xml",
33768 "ns": "http://www.w3.org/1998/Math/MathML",
33769 "children": [
33770 {
33771 "tag": "svg",
33772 "ns": "http://www.w3.org/2000/svg"
33773 }
33774 ]
33775 },
33776 {
33777 "tag": "mi",
33778 "ns": "http://www.w3.org/1998/Math/MathML"
33779 }
33780 ]
33781 }
33782 ]
33783 }
33784 ]
33785 }
33786 ],
33787 "html": "<html><head></head><body><math><annotation-xml><svg></svg></annotation-xml><mi></mi></math></body></html>",
33788 "noQuirksBodyHtml": "<math><annotation-xml><svg></svg></annotation-xml><mi></mi></math>"
33789 }
33790 },
33791 {
33792 "data": "<math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi>",
33793 "errors": [
33794 "(1,6) expected-doctype-but-got-start-tag",
33795 "(1,144) expected-closing-tag-but-got-eof"
33796 ],
33797 "document": {
33798 "props": {
33799 "tags": {
33800 "html": true,
33801 "head": true,
33802 "body": true,
33803 "math math": true,
33804 "math annotation-xml": true,
33805 "svg svg": true,
33806 "svg foreignObject": true,
33807 "div": true,
33808 "math mi": true,
33809 "span": true,
33810 "svg path": true
33811 }
33812 },
33813 "tree": [
33814 {
33815 "tag": "html",
33816 "children": [
33817 {
33818 "tag": "head"
33819 },
33820 {
33821 "tag": "body",
33822 "children": [
33823 {
33824 "tag": "math",
33825 "ns": "http://www.w3.org/1998/Math/MathML",
33826 "children": [
33827 {
33828 "tag": "annotation-xml",
33829 "ns": "http://www.w3.org/1998/Math/MathML",
33830 "children": [
33831 {
33832 "tag": "svg",
33833 "ns": "http://www.w3.org/2000/svg",
33834 "children": [
33835 {
33836 "tag": "foreignObject",
33837 "ns": "http://www.w3.org/2000/svg",
33838 "children": [
33839 {
33840 "tag": "div",
33841 "children": [
33842 {
33843 "tag": "math",
33844 "ns": "http://www.w3.org/1998/Math/MathML",
33845 "children": [
33846 {
33847 "tag": "mi",
33848 "ns": "http://www.w3.org/1998/Math/MathML"
33849 }
33850 ]
33851 },
33852 {
33853 "tag": "span"
33854 }
33855 ]
33856 }
33857 ]
33858 },
33859 {
33860 "tag": "path",
33861 "ns": "http://www.w3.org/2000/svg"
33862 }
33863 ]
33864 }
33865 ]
33866 },
33867 {
33868 "tag": "mi",
33869 "ns": "http://www.w3.org/1998/Math/MathML"
33870 }
33871 ]
33872 }
33873 ]
33874 }
33875 ]
33876 }
33877 ],
33878 "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>",
33879 "noQuirksBodyHtml": "<math><annotation-xml><svg><foreignObject><div><math><mi></mi></math><span></span></div></foreignObject><path></path></svg></annotation-xml><mi></mi></math>"
33880 }
33881 },
33882 {
33883 "data": "<math><annotation-xml><svg><foreignObject><math><mi><svg></svg></mi><mo></mo></math><span></span></foreignObject><path></path></svg></annotation-xml><mi>",
33884 "errors": [
33885 "(1,6) expected-doctype-but-got-start-tag",
33886 "(1,153) expected-closing-tag-but-got-eof"
33887 ],
33888 "document": {
33889 "props": {
33890 "tags": {
33891 "html": true,
33892 "head": true,
33893 "body": true,
33894 "math math": true,
33895 "math annotation-xml": true,
33896 "svg svg": true,
33897 "svg foreignObject": true,
33898 "math mi": true,
33899 "math mo": true,
33900 "span": true,
33901 "svg path": true
33902 }
33903 },
33904 "tree": [
33905 {
33906 "tag": "html",
33907 "children": [
33908 {
33909 "tag": "head"
33910 },
33911 {
33912 "tag": "body",
33913 "children": [
33914 {
33915 "tag": "math",
33916 "ns": "http://www.w3.org/1998/Math/MathML",
33917 "children": [
33918 {
33919 "tag": "annotation-xml",
33920 "ns": "http://www.w3.org/1998/Math/MathML",
33921 "children": [
33922 {
33923 "tag": "svg",
33924 "ns": "http://www.w3.org/2000/svg",
33925 "children": [
33926 {
33927 "tag": "foreignObject",
33928 "ns": "http://www.w3.org/2000/svg",
33929 "children": [
33930 {
33931 "tag": "math",
33932 "ns": "http://www.w3.org/1998/Math/MathML",
33933 "children": [
33934 {
33935 "tag": "mi",
33936 "ns": "http://www.w3.org/1998/Math/MathML",
33937 "children": [
33938 {
33939 "tag": "svg",
33940 "ns": "http://www.w3.org/2000/svg"
33941 }
33942 ]
33943 },
33944 {
33945 "tag": "mo",
33946 "ns": "http://www.w3.org/1998/Math/MathML"
33947 }
33948 ]
33949 },
33950 {
33951 "tag": "span"
33952 }
33953 ]
33954 },
33955 {
33956 "tag": "path",
33957 "ns": "http://www.w3.org/2000/svg"
33958 }
33959 ]
33960 }
33961 ]
33962 },
33963 {
33964 "tag": "mi",
33965 "ns": "http://www.w3.org/1998/Math/MathML"
33966 }
33967 ]
33968 }
33969 ]
33970 }
33971 ]
33972 }
33973 ],
33974 "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>",
33975 "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>"
33976 }
33977 }
33978 ],
33979 "tests11.dat": [
33980 {
33981 "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>",
33982 "errors": [],
33983 "document": {
33984 "props": {
33985 "tags": {
33986 "html": true,
33987 "head": true,
33988 "body": true,
33989 "svg svg": true
33990 },
33991 "doctype": true
33992 },
33993 "tree": [
33994 {
33995 "doctype": "html"
33996 },
33997 {
33998 "tag": "html",
33999 "children": [
34000 {
34001 "tag": "head"
34002 },
34003 {
34004 "tag": "body",
34005 "children": [
34006 {
34007 "tag": "svg",
34008 "ns": "http://www.w3.org/2000/svg",
34009 "attrs": [
34010 {
34011 "name": "attributeName",
34012 "value": ""
34013 },
34014 {
34015 "name": "attributeType",
34016 "value": ""
34017 },
34018 {
34019 "name": "baseFrequency",
34020 "value": ""
34021 },
34022 {
34023 "name": "baseProfile",
34024 "value": ""
34025 },
34026 {
34027 "name": "calcMode",
34028 "value": ""
34029 },
34030 {
34031 "name": "clipPathUnits",
34032 "value": ""
34033 },
34034 {
34035 "name": "diffuseConstant",
34036 "value": ""
34037 },
34038 {
34039 "name": "edgeMode",
34040 "value": ""
34041 },
34042 {
34043 "name": "filterUnits",
34044 "value": ""
34045 },
34046 {
34047 "name": "glyphRef",
34048 "value": ""
34049 },
34050 {
34051 "name": "gradientTransform",
34052 "value": ""
34053 },
34054 {
34055 "name": "gradientUnits",
34056 "value": ""
34057 },
34058 {
34059 "name": "kernelMatrix",
34060 "value": ""
34061 },
34062 {
34063 "name": "kernelUnitLength",
34064 "value": ""
34065 },
34066 {
34067 "name": "keyPoints",
34068 "value": ""
34069 },
34070 {
34071 "name": "keySplines",
34072 "value": ""
34073 },
34074 {
34075 "name": "keyTimes",
34076 "value": ""
34077 },
34078 {
34079 "name": "lengthAdjust",
34080 "value": ""
34081 },
34082 {
34083 "name": "limitingConeAngle",
34084 "value": ""
34085 },
34086 {
34087 "name": "markerHeight",
34088 "value": ""
34089 },
34090 {
34091 "name": "markerUnits",
34092 "value": ""
34093 },
34094 {
34095 "name": "markerWidth",
34096 "value": ""
34097 },
34098 {
34099 "name": "maskContentUnits",
34100 "value": ""
34101 },
34102 {
34103 "name": "maskUnits",
34104 "value": ""
34105 },
34106 {
34107 "name": "numOctaves",
34108 "value": ""
34109 },
34110 {
34111 "name": "pathLength",
34112 "value": ""
34113 },
34114 {
34115 "name": "patternContentUnits",
34116 "value": ""
34117 },
34118 {
34119 "name": "patternTransform",
34120 "value": ""
34121 },
34122 {
34123 "name": "patternUnits",
34124 "value": ""
34125 },
34126 {
34127 "name": "pointsAtX",
34128 "value": ""
34129 },
34130 {
34131 "name": "pointsAtY",
34132 "value": ""
34133 },
34134 {
34135 "name": "pointsAtZ",
34136 "value": ""
34137 },
34138 {
34139 "name": "preserveAlpha",
34140 "value": ""
34141 },
34142 {
34143 "name": "preserveAspectRatio",
34144 "value": ""
34145 },
34146 {
34147 "name": "primitiveUnits",
34148 "value": ""
34149 },
34150 {
34151 "name": "refX",
34152 "value": ""
34153 },
34154 {
34155 "name": "refY",
34156 "value": ""
34157 },
34158 {
34159 "name": "repeatCount",
34160 "value": ""
34161 },
34162 {
34163 "name": "repeatDur",
34164 "value": ""
34165 },
34166 {
34167 "name": "requiredExtensions",
34168 "value": ""
34169 },
34170 {
34171 "name": "requiredFeatures",
34172 "value": ""
34173 },
34174 {
34175 "name": "specularConstant",
34176 "value": ""
34177 },
34178 {
34179 "name": "specularExponent",
34180 "value": ""
34181 },
34182 {
34183 "name": "spreadMethod",
34184 "value": ""
34185 },
34186 {
34187 "name": "startOffset",
34188 "value": ""
34189 },
34190 {
34191 "name": "stdDeviation",
34192 "value": ""
34193 },
34194 {
34195 "name": "stitchTiles",
34196 "value": ""
34197 },
34198 {
34199 "name": "surfaceScale",
34200 "value": ""
34201 },
34202 {
34203 "name": "systemLanguage",
34204 "value": ""
34205 },
34206 {
34207 "name": "tableValues",
34208 "value": ""
34209 },
34210 {
34211 "name": "targetX",
34212 "value": ""
34213 },
34214 {
34215 "name": "targetY",
34216 "value": ""
34217 },
34218 {
34219 "name": "textLength",
34220 "value": ""
34221 },
34222 {
34223 "name": "viewBox",
34224 "value": ""
34225 },
34226 {
34227 "name": "viewTarget",
34228 "value": ""
34229 },
34230 {
34231 "name": "xChannelSelector",
34232 "value": ""
34233 },
34234 {
34235 "name": "yChannelSelector",
34236 "value": ""
34237 },
34238 {
34239 "name": "zoomAndPan",
34240 "value": ""
34241 }
34242 ]
34243 }
34244 ]
34245 }
34246 ]
34247 }
34248 ],
34249 "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>",
34250 "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>"
34251 }
34252 },
34253 {
34254 "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>",
34255 "errors": [],
34256 "document": {
34257 "props": {
34258 "tags": {
34259 "html": true,
34260 "head": true,
34261 "body": true,
34262 "svg svg": true
34263 },
34264 "doctype": true
34265 },
34266 "tree": [
34267 {
34268 "doctype": "html"
34269 },
34270 {
34271 "tag": "html",
34272 "children": [
34273 {
34274 "tag": "head"
34275 },
34276 {
34277 "tag": "body",
34278 "children": [
34279 {
34280 "tag": "svg",
34281 "ns": "http://www.w3.org/2000/svg",
34282 "attrs": [
34283 {
34284 "name": "attributeName",
34285 "value": ""
34286 },
34287 {
34288 "name": "attributeType",
34289 "value": ""
34290 },
34291 {
34292 "name": "baseFrequency",
34293 "value": ""
34294 },
34295 {
34296 "name": "baseProfile",
34297 "value": ""
34298 },
34299 {
34300 "name": "calcMode",
34301 "value": ""
34302 },
34303 {
34304 "name": "clipPathUnits",
34305 "value": ""
34306 },
34307 {
34308 "name": "diffuseConstant",
34309 "value": ""
34310 },
34311 {
34312 "name": "edgeMode",
34313 "value": ""
34314 },
34315 {
34316 "name": "filterUnits",
34317 "value": ""
34318 },
34319 {
34320 "name": "glyphRef",
34321 "value": ""
34322 },
34323 {
34324 "name": "gradientTransform",
34325 "value": ""
34326 },
34327 {
34328 "name": "gradientUnits",
34329 "value": ""
34330 },
34331 {
34332 "name": "kernelMatrix",
34333 "value": ""
34334 },
34335 {
34336 "name": "kernelUnitLength",
34337 "value": ""
34338 },
34339 {
34340 "name": "keyPoints",
34341 "value": ""
34342 },
34343 {
34344 "name": "keySplines",
34345 "value": ""
34346 },
34347 {
34348 "name": "keyTimes",
34349 "value": ""
34350 },
34351 {
34352 "name": "lengthAdjust",
34353 "value": ""
34354 },
34355 {
34356 "name": "limitingConeAngle",
34357 "value": ""
34358 },
34359 {
34360 "name": "markerHeight",
34361 "value": ""
34362 },
34363 {
34364 "name": "markerUnits",
34365 "value": ""
34366 },
34367 {
34368 "name": "markerWidth",
34369 "value": ""
34370 },
34371 {
34372 "name": "maskContentUnits",
34373 "value": ""
34374 },
34375 {
34376 "name": "maskUnits",
34377 "value": ""
34378 },
34379 {
34380 "name": "numOctaves",
34381 "value": ""
34382 },
34383 {
34384 "name": "pathLength",
34385 "value": ""
34386 },
34387 {
34388 "name": "patternContentUnits",
34389 "value": ""
34390 },
34391 {
34392 "name": "patternTransform",
34393 "value": ""
34394 },
34395 {
34396 "name": "patternUnits",
34397 "value": ""
34398 },
34399 {
34400 "name": "pointsAtX",
34401 "value": ""
34402 },
34403 {
34404 "name": "pointsAtY",
34405 "value": ""
34406 },
34407 {
34408 "name": "pointsAtZ",
34409 "value": ""
34410 },
34411 {
34412 "name": "preserveAlpha",
34413 "value": ""
34414 },
34415 {
34416 "name": "preserveAspectRatio",
34417 "value": ""
34418 },
34419 {
34420 "name": "primitiveUnits",
34421 "value": ""
34422 },
34423 {
34424 "name": "refX",
34425 "value": ""
34426 },
34427 {
34428 "name": "refY",
34429 "value": ""
34430 },
34431 {
34432 "name": "repeatCount",
34433 "value": ""
34434 },
34435 {
34436 "name": "repeatDur",
34437 "value": ""
34438 },
34439 {
34440 "name": "requiredExtensions",
34441 "value": ""
34442 },
34443 {
34444 "name": "requiredFeatures",
34445 "value": ""
34446 },
34447 {
34448 "name": "specularConstant",
34449 "value": ""
34450 },
34451 {
34452 "name": "specularExponent",
34453 "value": ""
34454 },
34455 {
34456 "name": "spreadMethod",
34457 "value": ""
34458 },
34459 {
34460 "name": "startOffset",
34461 "value": ""
34462 },
34463 {
34464 "name": "stdDeviation",
34465 "value": ""
34466 },
34467 {
34468 "name": "stitchTiles",
34469 "value": ""
34470 },
34471 {
34472 "name": "surfaceScale",
34473 "value": ""
34474 },
34475 {
34476 "name": "systemLanguage",
34477 "value": ""
34478 },
34479 {
34480 "name": "tableValues",
34481 "value": ""
34482 },
34483 {
34484 "name": "targetX",
34485 "value": ""
34486 },
34487 {
34488 "name": "targetY",
34489 "value": ""
34490 },
34491 {
34492 "name": "textLength",
34493 "value": ""
34494 },
34495 {
34496 "name": "viewBox",
34497 "value": ""
34498 },
34499 {
34500 "name": "viewTarget",
34501 "value": ""
34502 },
34503 {
34504 "name": "xChannelSelector",
34505 "value": ""
34506 },
34507 {
34508 "name": "yChannelSelector",
34509 "value": ""
34510 },
34511 {
34512 "name": "zoomAndPan",
34513 "value": ""
34514 }
34515 ]
34516 }
34517 ]
34518 }
34519 ]
34520 }
34521 ],
34522 "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>",
34523 "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>"
34524 }
34525 },
34526 {
34527 "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>",
34528 "errors": [],
34529 "document": {
34530 "props": {
34531 "tags": {
34532 "html": true,
34533 "head": true,
34534 "body": true,
34535 "svg svg": true
34536 },
34537 "doctype": true
34538 },
34539 "tree": [
34540 {
34541 "doctype": "html"
34542 },
34543 {
34544 "tag": "html",
34545 "children": [
34546 {
34547 "tag": "head"
34548 },
34549 {
34550 "tag": "body",
34551 "children": [
34552 {
34553 "tag": "svg",
34554 "ns": "http://www.w3.org/2000/svg",
34555 "attrs": [
34556 {
34557 "name": "attributeName",
34558 "value": ""
34559 },
34560 {
34561 "name": "attributeType",
34562 "value": ""
34563 },
34564 {
34565 "name": "baseFrequency",
34566 "value": ""
34567 },
34568 {
34569 "name": "baseProfile",
34570 "value": ""
34571 },
34572 {
34573 "name": "calcMode",
34574 "value": ""
34575 },
34576 {
34577 "name": "clipPathUnits",
34578 "value": ""
34579 },
34580 {
34581 "name": "diffuseConstant",
34582 "value": ""
34583 },
34584 {
34585 "name": "edgeMode",
34586 "value": ""
34587 },
34588 {
34589 "name": "filterUnits",
34590 "value": ""
34591 },
34592 {
34593 "name": "filterres",
34594 "value": ""
34595 },
34596 {
34597 "name": "glyphRef",
34598 "value": ""
34599 },
34600 {
34601 "name": "gradientTransform",
34602 "value": ""
34603 },
34604 {
34605 "name": "gradientUnits",
34606 "value": ""
34607 },
34608 {
34609 "name": "kernelMatrix",
34610 "value": ""
34611 },
34612 {
34613 "name": "kernelUnitLength",
34614 "value": ""
34615 },
34616 {
34617 "name": "keyPoints",
34618 "value": ""
34619 },
34620 {
34621 "name": "keySplines",
34622 "value": ""
34623 },
34624 {
34625 "name": "keyTimes",
34626 "value": ""
34627 },
34628 {
34629 "name": "lengthAdjust",
34630 "value": ""
34631 },
34632 {
34633 "name": "limitingConeAngle",
34634 "value": ""
34635 },
34636 {
34637 "name": "markerHeight",
34638 "value": ""
34639 },
34640 {
34641 "name": "markerUnits",
34642 "value": ""
34643 },
34644 {
34645 "name": "markerWidth",
34646 "value": ""
34647 },
34648 {
34649 "name": "maskContentUnits",
34650 "value": ""
34651 },
34652 {
34653 "name": "maskUnits",
34654 "value": ""
34655 },
34656 {
34657 "name": "numOctaves",
34658 "value": ""
34659 },
34660 {
34661 "name": "pathLength",
34662 "value": ""
34663 },
34664 {
34665 "name": "patternContentUnits",
34666 "value": ""
34667 },
34668 {
34669 "name": "patternTransform",
34670 "value": ""
34671 },
34672 {
34673 "name": "patternUnits",
34674 "value": ""
34675 },
34676 {
34677 "name": "pointsAtX",
34678 "value": ""
34679 },
34680 {
34681 "name": "pointsAtY",
34682 "value": ""
34683 },
34684 {
34685 "name": "pointsAtZ",
34686 "value": ""
34687 },
34688 {
34689 "name": "preserveAlpha",
34690 "value": ""
34691 },
34692 {
34693 "name": "preserveAspectRatio",
34694 "value": ""
34695 },
34696 {
34697 "name": "primitiveUnits",
34698 "value": ""
34699 },
34700 {
34701 "name": "refX",
34702 "value": ""
34703 },
34704 {
34705 "name": "refY",
34706 "value": ""
34707 },
34708 {
34709 "name": "repeatCount",
34710 "value": ""
34711 },
34712 {
34713 "name": "repeatDur",
34714 "value": ""
34715 },
34716 {
34717 "name": "requiredExtensions",
34718 "value": ""
34719 },
34720 {
34721 "name": "requiredFeatures",
34722 "value": ""
34723 },
34724 {
34725 "name": "specularConstant",
34726 "value": ""
34727 },
34728 {
34729 "name": "specularExponent",
34730 "value": ""
34731 },
34732 {
34733 "name": "spreadMethod",
34734 "value": ""
34735 },
34736 {
34737 "name": "startOffset",
34738 "value": ""
34739 },
34740 {
34741 "name": "stdDeviation",
34742 "value": ""
34743 },
34744 {
34745 "name": "stitchTiles",
34746 "value": ""
34747 },
34748 {
34749 "name": "surfaceScale",
34750 "value": ""
34751 },
34752 {
34753 "name": "systemLanguage",
34754 "value": ""
34755 },
34756 {
34757 "name": "tableValues",
34758 "value": ""
34759 },
34760 {
34761 "name": "targetX",
34762 "value": ""
34763 },
34764 {
34765 "name": "targetY",
34766 "value": ""
34767 },
34768 {
34769 "name": "textLength",
34770 "value": ""
34771 },
34772 {
34773 "name": "viewBox",
34774 "value": ""
34775 },
34776 {
34777 "name": "viewTarget",
34778 "value": ""
34779 },
34780 {
34781 "name": "xChannelSelector",
34782 "value": ""
34783 },
34784 {
34785 "name": "yChannelSelector",
34786 "value": ""
34787 },
34788 {
34789 "name": "zoomAndPan",
34790 "value": ""
34791 }
34792 ]
34793 }
34794 ]
34795 }
34796 ]
34797 }
34798 ],
34799 "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>",
34800 "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>"
34801 }
34802 },
34803 {
34804 "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>",
34805 "errors": [],
34806 "document": {
34807 "props": {
34808 "tags": {
34809 "html": true,
34810 "head": true,
34811 "body": true,
34812 "math math": true
34813 },
34814 "doctype": true
34815 },
34816 "tree": [
34817 {
34818 "doctype": "html"
34819 },
34820 {
34821 "tag": "html",
34822 "children": [
34823 {
34824 "tag": "head"
34825 },
34826 {
34827 "tag": "body",
34828 "children": [
34829 {
34830 "tag": "math",
34831 "ns": "http://www.w3.org/1998/Math/MathML",
34832 "attrs": [
34833 {
34834 "name": "attributename",
34835 "value": ""
34836 },
34837 {
34838 "name": "attributetype",
34839 "value": ""
34840 },
34841 {
34842 "name": "basefrequency",
34843 "value": ""
34844 },
34845 {
34846 "name": "baseprofile",
34847 "value": ""
34848 },
34849 {
34850 "name": "calcmode",
34851 "value": ""
34852 },
34853 {
34854 "name": "clippathunits",
34855 "value": ""
34856 },
34857 {
34858 "name": "diffuseconstant",
34859 "value": ""
34860 },
34861 {
34862 "name": "edgemode",
34863 "value": ""
34864 },
34865 {
34866 "name": "filterunits",
34867 "value": ""
34868 },
34869 {
34870 "name": "glyphref",
34871 "value": ""
34872 },
34873 {
34874 "name": "gradienttransform",
34875 "value": ""
34876 },
34877 {
34878 "name": "gradientunits",
34879 "value": ""
34880 },
34881 {
34882 "name": "kernelmatrix",
34883 "value": ""
34884 },
34885 {
34886 "name": "kernelunitlength",
34887 "value": ""
34888 },
34889 {
34890 "name": "keypoints",
34891 "value": ""
34892 },
34893 {
34894 "name": "keysplines",
34895 "value": ""
34896 },
34897 {
34898 "name": "keytimes",
34899 "value": ""
34900 },
34901 {
34902 "name": "lengthadjust",
34903 "value": ""
34904 },
34905 {
34906 "name": "limitingconeangle",
34907 "value": ""
34908 },
34909 {
34910 "name": "markerheight",
34911 "value": ""
34912 },
34913 {
34914 "name": "markerunits",
34915 "value": ""
34916 },
34917 {
34918 "name": "markerwidth",
34919 "value": ""
34920 },
34921 {
34922 "name": "maskcontentunits",
34923 "value": ""
34924 },
34925 {
34926 "name": "maskunits",
34927 "value": ""
34928 },
34929 {
34930 "name": "numoctaves",
34931 "value": ""
34932 },
34933 {
34934 "name": "pathlength",
34935 "value": ""
34936 },
34937 {
34938 "name": "patterncontentunits",
34939 "value": ""
34940 },
34941 {
34942 "name": "patterntransform",
34943 "value": ""
34944 },
34945 {
34946 "name": "patternunits",
34947 "value": ""
34948 },
34949 {
34950 "name": "pointsatx",
34951 "value": ""
34952 },
34953 {
34954 "name": "pointsaty",
34955 "value": ""
34956 },
34957 {
34958 "name": "pointsatz",
34959 "value": ""
34960 },
34961 {
34962 "name": "preservealpha",
34963 "value": ""
34964 },
34965 {
34966 "name": "preserveaspectratio",
34967 "value": ""
34968 },
34969 {
34970 "name": "primitiveunits",
34971 "value": ""
34972 },
34973 {
34974 "name": "refx",
34975 "value": ""
34976 },
34977 {
34978 "name": "refy",
34979 "value": ""
34980 },
34981 {
34982 "name": "repeatcount",
34983 "value": ""
34984 },
34985 {
34986 "name": "repeatdur",
34987 "value": ""
34988 },
34989 {
34990 "name": "requiredextensions",
34991 "value": ""
34992 },
34993 {
34994 "name": "requiredfeatures",
34995 "value": ""
34996 },
34997 {
34998 "name": "specularconstant",
34999 "value": ""
35000 },
35001 {
35002 "name": "specularexponent",
35003 "value": ""
35004 },
35005 {
35006 "name": "spreadmethod",
35007 "value": ""
35008 },
35009 {
35010 "name": "startoffset",
35011 "value": ""
35012 },
35013 {
35014 "name": "stddeviation",
35015 "value": ""
35016 },
35017 {
35018 "name": "stitchtiles",
35019 "value": ""
35020 },
35021 {
35022 "name": "surfacescale",
35023 "value": ""
35024 },
35025 {
35026 "name": "systemlanguage",
35027 "value": ""
35028 },
35029 {
35030 "name": "tablevalues",
35031 "value": ""
35032 },
35033 {
35034 "name": "targetx",
35035 "value": ""
35036 },
35037 {
35038 "name": "targety",
35039 "value": ""
35040 },
35041 {
35042 "name": "textlength",
35043 "value": ""
35044 },
35045 {
35046 "name": "viewbox",
35047 "value": ""
35048 },
35049 {
35050 "name": "viewtarget",
35051 "value": ""
35052 },
35053 {
35054 "name": "xchannelselector",
35055 "value": ""
35056 },
35057 {
35058 "name": "ychannelselector",
35059 "value": ""
35060 },
35061 {
35062 "name": "zoomandpan",
35063 "value": ""
35064 }
35065 ]
35066 }
35067 ]
35068 }
35069 ]
35070 }
35071 ],
35072 "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>",
35073 "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>"
35074 }
35075 },
35076 {
35077 "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>",
35078 "errors": [],
35079 "document": {
35080 "props": {
35081 "tags": {
35082 "html": true,
35083 "head": true,
35084 "body": true,
35085 "svg svg": true,
35086 "svg altGlyph": true,
35087 "svg altGlyphDef": true,
35088 "svg altGlyphItem": true,
35089 "svg animateColor": true,
35090 "svg animateMotion": true,
35091 "svg animateTransform": true,
35092 "svg clipPath": true,
35093 "svg feBlend": true,
35094 "svg feColorMatrix": true,
35095 "svg feComponentTransfer": true,
35096 "svg feComposite": true,
35097 "svg feConvolveMatrix": true,
35098 "svg feDiffuseLighting": true,
35099 "svg feDisplacementMap": true,
35100 "svg feDistantLight": true,
35101 "svg feFlood": true,
35102 "svg feFuncA": true,
35103 "svg feFuncB": true,
35104 "svg feFuncG": true,
35105 "svg feFuncR": true,
35106 "svg feGaussianBlur": true,
35107 "svg feImage": true,
35108 "svg feMerge": true,
35109 "svg feMergeNode": true,
35110 "svg feMorphology": true,
35111 "svg feOffset": true,
35112 "svg fePointLight": true,
35113 "svg feSpecularLighting": true,
35114 "svg feSpotLight": true,
35115 "svg feTile": true,
35116 "svg feTurbulence": true,
35117 "svg foreignObject": true,
35118 "svg glyphRef": true,
35119 "svg linearGradient": true,
35120 "svg radialGradient": true,
35121 "svg textPath": true
35122 },
35123 "doctype": true
35124 },
35125 "tree": [
35126 {
35127 "doctype": "html"
35128 },
35129 {
35130 "tag": "html",
35131 "children": [
35132 {
35133 "tag": "head"
35134 },
35135 {
35136 "tag": "body",
35137 "children": [
35138 {
35139 "tag": "svg",
35140 "ns": "http://www.w3.org/2000/svg",
35141 "children": [
35142 {
35143 "tag": "altGlyph",
35144 "ns": "http://www.w3.org/2000/svg"
35145 },
35146 {
35147 "tag": "altGlyphDef",
35148 "ns": "http://www.w3.org/2000/svg"
35149 },
35150 {
35151 "tag": "altGlyphItem",
35152 "ns": "http://www.w3.org/2000/svg"
35153 },
35154 {
35155 "tag": "animateColor",
35156 "ns": "http://www.w3.org/2000/svg"
35157 },
35158 {
35159 "tag": "animateMotion",
35160 "ns": "http://www.w3.org/2000/svg"
35161 },
35162 {
35163 "tag": "animateTransform",
35164 "ns": "http://www.w3.org/2000/svg"
35165 },
35166 {
35167 "tag": "clipPath",
35168 "ns": "http://www.w3.org/2000/svg"
35169 },
35170 {
35171 "tag": "feBlend",
35172 "ns": "http://www.w3.org/2000/svg"
35173 },
35174 {
35175 "tag": "feColorMatrix",
35176 "ns": "http://www.w3.org/2000/svg"
35177 },
35178 {
35179 "tag": "feComponentTransfer",
35180 "ns": "http://www.w3.org/2000/svg"
35181 },
35182 {
35183 "tag": "feComposite",
35184 "ns": "http://www.w3.org/2000/svg"
35185 },
35186 {
35187 "tag": "feConvolveMatrix",
35188 "ns": "http://www.w3.org/2000/svg"
35189 },
35190 {
35191 "tag": "feDiffuseLighting",
35192 "ns": "http://www.w3.org/2000/svg"
35193 },
35194 {
35195 "tag": "feDisplacementMap",
35196 "ns": "http://www.w3.org/2000/svg"
35197 },
35198 {
35199 "tag": "feDistantLight",
35200 "ns": "http://www.w3.org/2000/svg"
35201 },
35202 {
35203 "tag": "feFlood",
35204 "ns": "http://www.w3.org/2000/svg"
35205 },
35206 {
35207 "tag": "feFuncA",
35208 "ns": "http://www.w3.org/2000/svg"
35209 },
35210 {
35211 "tag": "feFuncB",
35212 "ns": "http://www.w3.org/2000/svg"
35213 },
35214 {
35215 "tag": "feFuncG",
35216 "ns": "http://www.w3.org/2000/svg"
35217 },
35218 {
35219 "tag": "feFuncR",
35220 "ns": "http://www.w3.org/2000/svg"
35221 },
35222 {
35223 "tag": "feGaussianBlur",
35224 "ns": "http://www.w3.org/2000/svg"
35225 },
35226 {
35227 "tag": "feImage",
35228 "ns": "http://www.w3.org/2000/svg"
35229 },
35230 {
35231 "tag": "feMerge",
35232 "ns": "http://www.w3.org/2000/svg"
35233 },
35234 {
35235 "tag": "feMergeNode",
35236 "ns": "http://www.w3.org/2000/svg"
35237 },
35238 {
35239 "tag": "feMorphology",
35240 "ns": "http://www.w3.org/2000/svg"
35241 },
35242 {
35243 "tag": "feOffset",
35244 "ns": "http://www.w3.org/2000/svg"
35245 },
35246 {
35247 "tag": "fePointLight",
35248 "ns": "http://www.w3.org/2000/svg"
35249 },
35250 {
35251 "tag": "feSpecularLighting",
35252 "ns": "http://www.w3.org/2000/svg"
35253 },
35254 {
35255 "tag": "feSpotLight",
35256 "ns": "http://www.w3.org/2000/svg"
35257 },
35258 {
35259 "tag": "feTile",
35260 "ns": "http://www.w3.org/2000/svg"
35261 },
35262 {
35263 "tag": "feTurbulence",
35264 "ns": "http://www.w3.org/2000/svg"
35265 },
35266 {
35267 "tag": "foreignObject",
35268 "ns": "http://www.w3.org/2000/svg"
35269 },
35270 {
35271 "tag": "glyphRef",
35272 "ns": "http://www.w3.org/2000/svg"
35273 },
35274 {
35275 "tag": "linearGradient",
35276 "ns": "http://www.w3.org/2000/svg"
35277 },
35278 {
35279 "tag": "radialGradient",
35280 "ns": "http://www.w3.org/2000/svg"
35281 },
35282 {
35283 "tag": "textPath",
35284 "ns": "http://www.w3.org/2000/svg"
35285 }
35286 ]
35287 }
35288 ]
35289 }
35290 ]
35291 }
35292 ],
35293 "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>",
35294 "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>"
35295 }
35296 },
35297 {
35298 "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>",
35299 "errors": [],
35300 "document": {
35301 "props": {
35302 "tags": {
35303 "html": true,
35304 "head": true,
35305 "body": true,
35306 "svg svg": true,
35307 "svg altGlyph": true,
35308 "svg altGlyphDef": true,
35309 "svg altGlyphItem": true,
35310 "svg animateColor": true,
35311 "svg animateMotion": true,
35312 "svg animateTransform": true,
35313 "svg clipPath": true,
35314 "svg feBlend": true,
35315 "svg feColorMatrix": true,
35316 "svg feComponentTransfer": true,
35317 "svg feComposite": true,
35318 "svg feConvolveMatrix": true,
35319 "svg feDiffuseLighting": true,
35320 "svg feDisplacementMap": true,
35321 "svg feDistantLight": true,
35322 "svg feFlood": true,
35323 "svg feFuncA": true,
35324 "svg feFuncB": true,
35325 "svg feFuncG": true,
35326 "svg feFuncR": true,
35327 "svg feGaussianBlur": true,
35328 "svg feImage": true,
35329 "svg feMerge": true,
35330 "svg feMergeNode": true,
35331 "svg feMorphology": true,
35332 "svg feOffset": true,
35333 "svg fePointLight": true,
35334 "svg feSpecularLighting": true,
35335 "svg feSpotLight": true,
35336 "svg feTile": true,
35337 "svg feTurbulence": true,
35338 "svg foreignObject": true,
35339 "svg glyphRef": true,
35340 "svg linearGradient": true,
35341 "svg radialGradient": true,
35342 "svg textPath": true
35343 },
35344 "doctype": true
35345 },
35346 "tree": [
35347 {
35348 "doctype": "html"
35349 },
35350 {
35351 "tag": "html",
35352 "children": [
35353 {
35354 "tag": "head"
35355 },
35356 {
35357 "tag": "body",
35358 "children": [
35359 {
35360 "tag": "svg",
35361 "ns": "http://www.w3.org/2000/svg",
35362 "children": [
35363 {
35364 "tag": "altGlyph",
35365 "ns": "http://www.w3.org/2000/svg"
35366 },
35367 {
35368 "tag": "altGlyphDef",
35369 "ns": "http://www.w3.org/2000/svg"
35370 },
35371 {
35372 "tag": "altGlyphItem",
35373 "ns": "http://www.w3.org/2000/svg"
35374 },
35375 {
35376 "tag": "animateColor",
35377 "ns": "http://www.w3.org/2000/svg"
35378 },
35379 {
35380 "tag": "animateMotion",
35381 "ns": "http://www.w3.org/2000/svg"
35382 },
35383 {
35384 "tag": "animateTransform",
35385 "ns": "http://www.w3.org/2000/svg"
35386 },
35387 {
35388 "tag": "clipPath",
35389 "ns": "http://www.w3.org/2000/svg"
35390 },
35391 {
35392 "tag": "feBlend",
35393 "ns": "http://www.w3.org/2000/svg"
35394 },
35395 {
35396 "tag": "feColorMatrix",
35397 "ns": "http://www.w3.org/2000/svg"
35398 },
35399 {
35400 "tag": "feComponentTransfer",
35401 "ns": "http://www.w3.org/2000/svg"
35402 },
35403 {
35404 "tag": "feComposite",
35405 "ns": "http://www.w3.org/2000/svg"
35406 },
35407 {
35408 "tag": "feConvolveMatrix",
35409 "ns": "http://www.w3.org/2000/svg"
35410 },
35411 {
35412 "tag": "feDiffuseLighting",
35413 "ns": "http://www.w3.org/2000/svg"
35414 },
35415 {
35416 "tag": "feDisplacementMap",
35417 "ns": "http://www.w3.org/2000/svg"
35418 },
35419 {
35420 "tag": "feDistantLight",
35421 "ns": "http://www.w3.org/2000/svg"
35422 },
35423 {
35424 "tag": "feFlood",
35425 "ns": "http://www.w3.org/2000/svg"
35426 },
35427 {
35428 "tag": "feFuncA",
35429 "ns": "http://www.w3.org/2000/svg"
35430 },
35431 {
35432 "tag": "feFuncB",
35433 "ns": "http://www.w3.org/2000/svg"
35434 },
35435 {
35436 "tag": "feFuncG",
35437 "ns": "http://www.w3.org/2000/svg"
35438 },
35439 {
35440 "tag": "feFuncR",
35441 "ns": "http://www.w3.org/2000/svg"
35442 },
35443 {
35444 "tag": "feGaussianBlur",
35445 "ns": "http://www.w3.org/2000/svg"
35446 },
35447 {
35448 "tag": "feImage",
35449 "ns": "http://www.w3.org/2000/svg"
35450 },
35451 {
35452 "tag": "feMerge",
35453 "ns": "http://www.w3.org/2000/svg"
35454 },
35455 {
35456 "tag": "feMergeNode",
35457 "ns": "http://www.w3.org/2000/svg"
35458 },
35459 {
35460 "tag": "feMorphology",
35461 "ns": "http://www.w3.org/2000/svg"
35462 },
35463 {
35464 "tag": "feOffset",
35465 "ns": "http://www.w3.org/2000/svg"
35466 },
35467 {
35468 "tag": "fePointLight",
35469 "ns": "http://www.w3.org/2000/svg"
35470 },
35471 {
35472 "tag": "feSpecularLighting",
35473 "ns": "http://www.w3.org/2000/svg"
35474 },
35475 {
35476 "tag": "feSpotLight",
35477 "ns": "http://www.w3.org/2000/svg"
35478 },
35479 {
35480 "tag": "feTile",
35481 "ns": "http://www.w3.org/2000/svg"
35482 },
35483 {
35484 "tag": "feTurbulence",
35485 "ns": "http://www.w3.org/2000/svg"
35486 },
35487 {
35488 "tag": "foreignObject",
35489 "ns": "http://www.w3.org/2000/svg"
35490 },
35491 {
35492 "tag": "glyphRef",
35493 "ns": "http://www.w3.org/2000/svg"
35494 },
35495 {
35496 "tag": "linearGradient",
35497 "ns": "http://www.w3.org/2000/svg"
35498 },
35499 {
35500 "tag": "radialGradient",
35501 "ns": "http://www.w3.org/2000/svg"
35502 },
35503 {
35504 "tag": "textPath",
35505 "ns": "http://www.w3.org/2000/svg"
35506 }
35507 ]
35508 }
35509 ]
35510 }
35511 ]
35512 }
35513 ],
35514 "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>",
35515 "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>"
35516 }
35517 },
35518 {
35519 "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>",
35520 "errors": [],
35521 "document": {
35522 "props": {
35523 "tags": {
35524 "html": true,
35525 "head": true,
35526 "body": true,
35527 "svg svg": true,
35528 "svg altGlyph": true,
35529 "svg altGlyphDef": true,
35530 "svg altGlyphItem": true,
35531 "svg animateColor": true,
35532 "svg animateMotion": true,
35533 "svg animateTransform": true,
35534 "svg clipPath": true,
35535 "svg feBlend": true,
35536 "svg feColorMatrix": true,
35537 "svg feComponentTransfer": true,
35538 "svg feComposite": true,
35539 "svg feConvolveMatrix": true,
35540 "svg feDiffuseLighting": true,
35541 "svg feDisplacementMap": true,
35542 "svg feDistantLight": true,
35543 "svg feFlood": true,
35544 "svg feFuncA": true,
35545 "svg feFuncB": true,
35546 "svg feFuncG": true,
35547 "svg feFuncR": true,
35548 "svg feGaussianBlur": true,
35549 "svg feImage": true,
35550 "svg feMerge": true,
35551 "svg feMergeNode": true,
35552 "svg feMorphology": true,
35553 "svg feOffset": true,
35554 "svg fePointLight": true,
35555 "svg feSpecularLighting": true,
35556 "svg feSpotLight": true,
35557 "svg feTile": true,
35558 "svg feTurbulence": true,
35559 "svg foreignObject": true,
35560 "svg glyphRef": true,
35561 "svg linearGradient": true,
35562 "svg radialGradient": true,
35563 "svg textPath": true
35564 },
35565 "doctype": true
35566 },
35567 "tree": [
35568 {
35569 "doctype": "html"
35570 },
35571 {
35572 "tag": "html",
35573 "children": [
35574 {
35575 "tag": "head"
35576 },
35577 {
35578 "tag": "body",
35579 "children": [
35580 {
35581 "tag": "svg",
35582 "ns": "http://www.w3.org/2000/svg",
35583 "children": [
35584 {
35585 "tag": "altGlyph",
35586 "ns": "http://www.w3.org/2000/svg"
35587 },
35588 {
35589 "tag": "altGlyphDef",
35590 "ns": "http://www.w3.org/2000/svg"
35591 },
35592 {
35593 "tag": "altGlyphItem",
35594 "ns": "http://www.w3.org/2000/svg"
35595 },
35596 {
35597 "tag": "animateColor",
35598 "ns": "http://www.w3.org/2000/svg"
35599 },
35600 {
35601 "tag": "animateMotion",
35602 "ns": "http://www.w3.org/2000/svg"
35603 },
35604 {
35605 "tag": "animateTransform",
35606 "ns": "http://www.w3.org/2000/svg"
35607 },
35608 {
35609 "tag": "clipPath",
35610 "ns": "http://www.w3.org/2000/svg"
35611 },
35612 {
35613 "tag": "feBlend",
35614 "ns": "http://www.w3.org/2000/svg"
35615 },
35616 {
35617 "tag": "feColorMatrix",
35618 "ns": "http://www.w3.org/2000/svg"
35619 },
35620 {
35621 "tag": "feComponentTransfer",
35622 "ns": "http://www.w3.org/2000/svg"
35623 },
35624 {
35625 "tag": "feComposite",
35626 "ns": "http://www.w3.org/2000/svg"
35627 },
35628 {
35629 "tag": "feConvolveMatrix",
35630 "ns": "http://www.w3.org/2000/svg"
35631 },
35632 {
35633 "tag": "feDiffuseLighting",
35634 "ns": "http://www.w3.org/2000/svg"
35635 },
35636 {
35637 "tag": "feDisplacementMap",
35638 "ns": "http://www.w3.org/2000/svg"
35639 },
35640 {
35641 "tag": "feDistantLight",
35642 "ns": "http://www.w3.org/2000/svg"
35643 },
35644 {
35645 "tag": "feFlood",
35646 "ns": "http://www.w3.org/2000/svg"
35647 },
35648 {
35649 "tag": "feFuncA",
35650 "ns": "http://www.w3.org/2000/svg"
35651 },
35652 {
35653 "tag": "feFuncB",
35654 "ns": "http://www.w3.org/2000/svg"
35655 },
35656 {
35657 "tag": "feFuncG",
35658 "ns": "http://www.w3.org/2000/svg"
35659 },
35660 {
35661 "tag": "feFuncR",
35662 "ns": "http://www.w3.org/2000/svg"
35663 },
35664 {
35665 "tag": "feGaussianBlur",
35666 "ns": "http://www.w3.org/2000/svg"
35667 },
35668 {
35669 "tag": "feImage",
35670 "ns": "http://www.w3.org/2000/svg"
35671 },
35672 {
35673 "tag": "feMerge",
35674 "ns": "http://www.w3.org/2000/svg"
35675 },
35676 {
35677 "tag": "feMergeNode",
35678 "ns": "http://www.w3.org/2000/svg"
35679 },
35680 {
35681 "tag": "feMorphology",
35682 "ns": "http://www.w3.org/2000/svg"
35683 },
35684 {
35685 "tag": "feOffset",
35686 "ns": "http://www.w3.org/2000/svg"
35687 },
35688 {
35689 "tag": "fePointLight",
35690 "ns": "http://www.w3.org/2000/svg"
35691 },
35692 {
35693 "tag": "feSpecularLighting",
35694 "ns": "http://www.w3.org/2000/svg"
35695 },
35696 {
35697 "tag": "feSpotLight",
35698 "ns": "http://www.w3.org/2000/svg"
35699 },
35700 {
35701 "tag": "feTile",
35702 "ns": "http://www.w3.org/2000/svg"
35703 },
35704 {
35705 "tag": "feTurbulence",
35706 "ns": "http://www.w3.org/2000/svg"
35707 },
35708 {
35709 "tag": "foreignObject",
35710 "ns": "http://www.w3.org/2000/svg"
35711 },
35712 {
35713 "tag": "glyphRef",
35714 "ns": "http://www.w3.org/2000/svg"
35715 },
35716 {
35717 "tag": "linearGradient",
35718 "ns": "http://www.w3.org/2000/svg"
35719 },
35720 {
35721 "tag": "radialGradient",
35722 "ns": "http://www.w3.org/2000/svg"
35723 },
35724 {
35725 "tag": "textPath",
35726 "ns": "http://www.w3.org/2000/svg"
35727 }
35728 ]
35729 }
35730 ]
35731 }
35732 ]
35733 }
35734 ],
35735 "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>",
35736 "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>"
35737 }
35738 },
35739 {
35740 "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>",
35741 "errors": [],
35742 "document": {
35743 "props": {
35744 "tags": {
35745 "html": true,
35746 "head": true,
35747 "body": true,
35748 "math math": true,
35749 "math altglyph": true,
35750 "math altglyphdef": true,
35751 "math altglyphitem": true,
35752 "math animatecolor": true,
35753 "math animatemotion": true,
35754 "math animatetransform": true,
35755 "math clippath": true,
35756 "math feblend": true,
35757 "math fecolormatrix": true,
35758 "math fecomponenttransfer": true,
35759 "math fecomposite": true,
35760 "math feconvolvematrix": true,
35761 "math fediffuselighting": true,
35762 "math fedisplacementmap": true,
35763 "math fedistantlight": true,
35764 "math feflood": true,
35765 "math fefunca": true,
35766 "math fefuncb": true,
35767 "math fefuncg": true,
35768 "math fefuncr": true,
35769 "math fegaussianblur": true,
35770 "math feimage": true,
35771 "math femerge": true,
35772 "math femergenode": true,
35773 "math femorphology": true,
35774 "math feoffset": true,
35775 "math fepointlight": true,
35776 "math fespecularlighting": true,
35777 "math fespotlight": true,
35778 "math fetile": true,
35779 "math feturbulence": true,
35780 "math foreignobject": true,
35781 "math glyphref": true,
35782 "math lineargradient": true,
35783 "math radialgradient": true,
35784 "math textpath": true
35785 },
35786 "doctype": true
35787 },
35788 "tree": [
35789 {
35790 "doctype": "html"
35791 },
35792 {
35793 "tag": "html",
35794 "children": [
35795 {
35796 "tag": "head"
35797 },
35798 {
35799 "tag": "body",
35800 "children": [
35801 {
35802 "tag": "math",
35803 "ns": "http://www.w3.org/1998/Math/MathML",
35804 "children": [
35805 {
35806 "tag": "altglyph",
35807 "ns": "http://www.w3.org/1998/Math/MathML"
35808 },
35809 {
35810 "tag": "altglyphdef",
35811 "ns": "http://www.w3.org/1998/Math/MathML"
35812 },
35813 {
35814 "tag": "altglyphitem",
35815 "ns": "http://www.w3.org/1998/Math/MathML"
35816 },
35817 {
35818 "tag": "animatecolor",
35819 "ns": "http://www.w3.org/1998/Math/MathML"
35820 },
35821 {
35822 "tag": "animatemotion",
35823 "ns": "http://www.w3.org/1998/Math/MathML"
35824 },
35825 {
35826 "tag": "animatetransform",
35827 "ns": "http://www.w3.org/1998/Math/MathML"
35828 },
35829 {
35830 "tag": "clippath",
35831 "ns": "http://www.w3.org/1998/Math/MathML"
35832 },
35833 {
35834 "tag": "feblend",
35835 "ns": "http://www.w3.org/1998/Math/MathML"
35836 },
35837 {
35838 "tag": "fecolormatrix",
35839 "ns": "http://www.w3.org/1998/Math/MathML"
35840 },
35841 {
35842 "tag": "fecomponenttransfer",
35843 "ns": "http://www.w3.org/1998/Math/MathML"
35844 },
35845 {
35846 "tag": "fecomposite",
35847 "ns": "http://www.w3.org/1998/Math/MathML"
35848 },
35849 {
35850 "tag": "feconvolvematrix",
35851 "ns": "http://www.w3.org/1998/Math/MathML"
35852 },
35853 {
35854 "tag": "fediffuselighting",
35855 "ns": "http://www.w3.org/1998/Math/MathML"
35856 },
35857 {
35858 "tag": "fedisplacementmap",
35859 "ns": "http://www.w3.org/1998/Math/MathML"
35860 },
35861 {
35862 "tag": "fedistantlight",
35863 "ns": "http://www.w3.org/1998/Math/MathML"
35864 },
35865 {
35866 "tag": "feflood",
35867 "ns": "http://www.w3.org/1998/Math/MathML"
35868 },
35869 {
35870 "tag": "fefunca",
35871 "ns": "http://www.w3.org/1998/Math/MathML"
35872 },
35873 {
35874 "tag": "fefuncb",
35875 "ns": "http://www.w3.org/1998/Math/MathML"
35876 },
35877 {
35878 "tag": "fefuncg",
35879 "ns": "http://www.w3.org/1998/Math/MathML"
35880 },
35881 {
35882 "tag": "fefuncr",
35883 "ns": "http://www.w3.org/1998/Math/MathML"
35884 },
35885 {
35886 "tag": "fegaussianblur",
35887 "ns": "http://www.w3.org/1998/Math/MathML"
35888 },
35889 {
35890 "tag": "feimage",
35891 "ns": "http://www.w3.org/1998/Math/MathML"
35892 },
35893 {
35894 "tag": "femerge",
35895 "ns": "http://www.w3.org/1998/Math/MathML"
35896 },
35897 {
35898 "tag": "femergenode",
35899 "ns": "http://www.w3.org/1998/Math/MathML"
35900 },
35901 {
35902 "tag": "femorphology",
35903 "ns": "http://www.w3.org/1998/Math/MathML"
35904 },
35905 {
35906 "tag": "feoffset",
35907 "ns": "http://www.w3.org/1998/Math/MathML"
35908 },
35909 {
35910 "tag": "fepointlight",
35911 "ns": "http://www.w3.org/1998/Math/MathML"
35912 },
35913 {
35914 "tag": "fespecularlighting",
35915 "ns": "http://www.w3.org/1998/Math/MathML"
35916 },
35917 {
35918 "tag": "fespotlight",
35919 "ns": "http://www.w3.org/1998/Math/MathML"
35920 },
35921 {
35922 "tag": "fetile",
35923 "ns": "http://www.w3.org/1998/Math/MathML"
35924 },
35925 {
35926 "tag": "feturbulence",
35927 "ns": "http://www.w3.org/1998/Math/MathML"
35928 },
35929 {
35930 "tag": "foreignobject",
35931 "ns": "http://www.w3.org/1998/Math/MathML"
35932 },
35933 {
35934 "tag": "glyphref",
35935 "ns": "http://www.w3.org/1998/Math/MathML"
35936 },
35937 {
35938 "tag": "lineargradient",
35939 "ns": "http://www.w3.org/1998/Math/MathML"
35940 },
35941 {
35942 "tag": "radialgradient",
35943 "ns": "http://www.w3.org/1998/Math/MathML"
35944 },
35945 {
35946 "tag": "textpath",
35947 "ns": "http://www.w3.org/1998/Math/MathML"
35948 }
35949 ]
35950 }
35951 ]
35952 }
35953 ]
35954 }
35955 ],
35956 "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>",
35957 "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>"
35958 }
35959 },
35960 {
35961 "data": "<!DOCTYPE html><body><svg><solidColor /></svg>",
35962 "errors": [],
35963 "document": {
35964 "props": {
35965 "tags": {
35966 "html": true,
35967 "head": true,
35968 "body": true,
35969 "svg svg": true,
35970 "svg solidcolor": true
35971 },
35972 "doctype": true
35973 },
35974 "tree": [
35975 {
35976 "doctype": "html"
35977 },
35978 {
35979 "tag": "html",
35980 "children": [
35981 {
35982 "tag": "head"
35983 },
35984 {
35985 "tag": "body",
35986 "children": [
35987 {
35988 "tag": "svg",
35989 "ns": "http://www.w3.org/2000/svg",
35990 "children": [
35991 {
35992 "tag": "solidcolor",
35993 "ns": "http://www.w3.org/2000/svg"
35994 }
35995 ]
35996 }
35997 ]
35998 }
35999 ]
36000 }
36001 ],
36002 "html": "<!DOCTYPE html><html><head></head><body><svg><solidcolor></solidcolor></svg></body></html>",
36003 "noQuirksBodyHtml": "<svg><solidcolor></solidcolor></svg>"
36004 }
36005 }
36006 ],
36007 "tests12.dat": [
36008 {
36009 "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",
36010 "errors": [],
36011 "document": {
36012 "props": {
36013 "tags": {
36014 "html": true,
36015 "head": true,
36016 "body": true,
36017 "p": true,
36018 "math math": true,
36019 "math mtext": true,
36020 "i": true,
36021 "math annotation-xml": true,
36022 "svg svg": true,
36023 "svg desc": true,
36024 "b": true,
36025 "svg g": true,
36026 "svg foreignObject": true,
36027 "table": true,
36028 "tbody": true,
36029 "tr": true,
36030 "td": true,
36031 "img": true
36032 },
36033 "doctype": true
36034 },
36035 "tree": [
36036 {
36037 "doctype": "html"
36038 },
36039 {
36040 "tag": "html",
36041 "children": [
36042 {
36043 "tag": "head"
36044 },
36045 {
36046 "tag": "body",
36047 "children": [
36048 {
36049 "tag": "p",
36050 "children": [
36051 {
36052 "text": "foo"
36053 },
36054 {
36055 "tag": "math",
36056 "ns": "http://www.w3.org/1998/Math/MathML",
36057 "children": [
36058 {
36059 "tag": "mtext",
36060 "ns": "http://www.w3.org/1998/Math/MathML",
36061 "children": [
36062 {
36063 "tag": "i",
36064 "children": [
36065 {
36066 "text": "baz"
36067 }
36068 ]
36069 }
36070 ]
36071 },
36072 {
36073 "tag": "annotation-xml",
36074 "ns": "http://www.w3.org/1998/Math/MathML",
36075 "children": [
36076 {
36077 "tag": "svg",
36078 "ns": "http://www.w3.org/2000/svg",
36079 "children": [
36080 {
36081 "tag": "desc",
36082 "ns": "http://www.w3.org/2000/svg",
36083 "children": [
36084 {
36085 "tag": "b",
36086 "children": [
36087 {
36088 "text": "eggs"
36089 }
36090 ]
36091 }
36092 ]
36093 },
36094 {
36095 "tag": "g",
36096 "ns": "http://www.w3.org/2000/svg",
36097 "children": [
36098 {
36099 "tag": "foreignObject",
36100 "ns": "http://www.w3.org/2000/svg",
36101 "children": [
36102 {
36103 "tag": "p",
36104 "children": [
36105 {
36106 "text": "spam"
36107 }
36108 ]
36109 },
36110 {
36111 "tag": "table",
36112 "children": [
36113 {
36114 "tag": "tbody",
36115 "children": [
36116 {
36117 "tag": "tr",
36118 "children": [
36119 {
36120 "tag": "td",
36121 "children": [
36122 {
36123 "tag": "img"
36124 }
36125 ]
36126 }
36127 ]
36128 }
36129 ]
36130 }
36131 ]
36132 }
36133 ]
36134 }
36135 ]
36136 },
36137 {
36138 "tag": "g",
36139 "ns": "http://www.w3.org/2000/svg",
36140 "children": [
36141 {
36142 "text": "quux"
36143 }
36144 ]
36145 }
36146 ]
36147 }
36148 ]
36149 }
36150 ]
36151 },
36152 {
36153 "text": "bar"
36154 }
36155 ]
36156 }
36157 ]
36158 }
36159 ]
36160 }
36161 ],
36162 "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>",
36163 "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>"
36164 }
36165 },
36166 {
36167 "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",
36168 "errors": [],
36169 "document": {
36170 "props": {
36171 "tags": {
36172 "html": true,
36173 "head": true,
36174 "body": true,
36175 "math math": true,
36176 "math mtext": true,
36177 "i": true,
36178 "math annotation-xml": true,
36179 "svg svg": true,
36180 "svg desc": true,
36181 "b": true,
36182 "svg g": true,
36183 "svg foreignObject": true,
36184 "p": true,
36185 "table": true,
36186 "tbody": true,
36187 "tr": true,
36188 "td": true,
36189 "img": true
36190 },
36191 "doctype": true
36192 },
36193 "tree": [
36194 {
36195 "doctype": "html"
36196 },
36197 {
36198 "tag": "html",
36199 "children": [
36200 {
36201 "tag": "head"
36202 },
36203 {
36204 "tag": "body",
36205 "children": [
36206 {
36207 "text": "foo"
36208 },
36209 {
36210 "tag": "math",
36211 "ns": "http://www.w3.org/1998/Math/MathML",
36212 "children": [
36213 {
36214 "tag": "mtext",
36215 "ns": "http://www.w3.org/1998/Math/MathML",
36216 "children": [
36217 {
36218 "tag": "i",
36219 "children": [
36220 {
36221 "text": "baz"
36222 }
36223 ]
36224 }
36225 ]
36226 },
36227 {
36228 "tag": "annotation-xml",
36229 "ns": "http://www.w3.org/1998/Math/MathML",
36230 "children": [
36231 {
36232 "tag": "svg",
36233 "ns": "http://www.w3.org/2000/svg",
36234 "children": [
36235 {
36236 "tag": "desc",
36237 "ns": "http://www.w3.org/2000/svg",
36238 "children": [
36239 {
36240 "tag": "b",
36241 "children": [
36242 {
36243 "text": "eggs"
36244 }
36245 ]
36246 }
36247 ]
36248 },
36249 {
36250 "tag": "g",
36251 "ns": "http://www.w3.org/2000/svg",
36252 "children": [
36253 {
36254 "tag": "foreignObject",
36255 "ns": "http://www.w3.org/2000/svg",
36256 "children": [
36257 {
36258 "tag": "p",
36259 "children": [
36260 {
36261 "text": "spam"
36262 }
36263 ]
36264 },
36265 {
36266 "tag": "table",
36267 "children": [
36268 {
36269 "tag": "tbody",
36270 "children": [
36271 {
36272 "tag": "tr",
36273 "children": [
36274 {
36275 "tag": "td",
36276 "children": [
36277 {
36278 "tag": "img"
36279 }
36280 ]
36281 }
36282 ]
36283 }
36284 ]
36285 }
36286 ]
36287 }
36288 ]
36289 }
36290 ]
36291 },
36292 {
36293 "tag": "g",
36294 "ns": "http://www.w3.org/2000/svg",
36295 "children": [
36296 {
36297 "text": "quux"
36298 }
36299 ]
36300 }
36301 ]
36302 }
36303 ]
36304 }
36305 ]
36306 },
36307 {
36308 "text": "bar"
36309 }
36310 ]
36311 }
36312 ]
36313 }
36314 ],
36315 "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>",
36316 "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"
36317 }
36318 }
36319 ],
36320 "tests14.dat": [
36321 {
36322 "data": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc>",
36323 "errors": [],
36324 "document": {
36325 "props": {
36326 "tags": {
36327 "html": true,
36328 "head": true,
36329 "body": true,
36330 "xyz:abc": true
36331 },
36332 "doctype": true
36333 },
36334 "tree": [
36335 {
36336 "doctype": "html"
36337 },
36338 {
36339 "tag": "html",
36340 "children": [
36341 {
36342 "tag": "head"
36343 },
36344 {
36345 "tag": "body",
36346 "children": [
36347 {
36348 "tag": "xyz:abc"
36349 }
36350 ]
36351 }
36352 ]
36353 }
36354 ],
36355 "html": "<!DOCTYPE html><html><head></head><body><xyz:abc></xyz:abc></body></html>",
36356 "noQuirksBodyHtml": "<xyz:abc></xyz:abc>"
36357 }
36358 },
36359 {
36360 "data": "<!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>",
36361 "errors": [],
36362 "document": {
36363 "props": {
36364 "tags": {
36365 "html": true,
36366 "head": true,
36367 "body": true,
36368 "xyz:abc": true,
36369 "span": true
36370 },
36371 "doctype": true
36372 },
36373 "tree": [
36374 {
36375 "doctype": "html"
36376 },
36377 {
36378 "tag": "html",
36379 "children": [
36380 {
36381 "tag": "head"
36382 },
36383 {
36384 "tag": "body",
36385 "children": [
36386 {
36387 "tag": "xyz:abc"
36388 },
36389 {
36390 "tag": "span"
36391 }
36392 ]
36393 }
36394 ]
36395 }
36396 ],
36397 "html": "<!DOCTYPE html><html><head></head><body><xyz:abc></xyz:abc><span></span></body></html>",
36398 "noQuirksBodyHtml": "<xyz:abc></xyz:abc><span></span>"
36399 }
36400 },
36401 {
36402 "data": "<!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>",
36403 "errors": [
36404 "(1,38): non-html-root"
36405 ],
36406 "document": {
36407 "props": {
36408 "tags": {
36409 "html": true,
36410 "head": true,
36411 "body": true,
36412 "xyz:abc": true
36413 },
36414 "doctype": true
36415 },
36416 "tree": [
36417 {
36418 "doctype": "html"
36419 },
36420 {
36421 "tag": "html",
36422 "attrs": [
36423 {
36424 "name": "abc:def",
36425 "value": "gh"
36426 }
36427 ],
36428 "children": [
36429 {
36430 "tag": "head"
36431 },
36432 {
36433 "tag": "body",
36434 "children": [
36435 {
36436 "tag": "xyz:abc"
36437 }
36438 ]
36439 }
36440 ]
36441 }
36442 ],
36443 "html": "<!DOCTYPE html><html abc:def=\"gh\"><head></head><body><xyz:abc></xyz:abc></body></html>",
36444 "noQuirksBodyHtml": "<xyz:abc></xyz:abc>"
36445 }
36446 },
36447 {
36448 "data": "<!DOCTYPE html><html xml:lang=bar><html xml:lang=foo>",
36449 "errors": [
36450 "(1,53): non-html-root"
36451 ],
36452 "document": {
36453 "props": {
36454 "tags": {
36455 "html": true,
36456 "head": true,
36457 "body": true
36458 },
36459 "doctype": true
36460 },
36461 "tree": [
36462 {
36463 "doctype": "html"
36464 },
36465 {
36466 "tag": "html",
36467 "attrs": [
36468 {
36469 "name": "xml:lang",
36470 "value": "bar"
36471 }
36472 ],
36473 "children": [
36474 {
36475 "tag": "head"
36476 },
36477 {
36478 "tag": "body"
36479 }
36480 ]
36481 }
36482 ],
36483 "html": "<!DOCTYPE html><html xml:lang=\"bar\"><head></head><body></body></html>",
36484 "noQuirksBodyHtml": ""
36485 }
36486 },
36487 {
36488 "data": "<!DOCTYPE html><html 123=456>",
36489 "errors": [],
36490 "document": {
36491 "props": {
36492 "tags": {
36493 "html": true,
36494 "head": true,
36495 "body": true
36496 },
36497 "doctype": true
36498 },
36499 "tree": [
36500 {
36501 "doctype": "html"
36502 },
36503 {
36504 "tag": "html",
36505 "attrs": [
36506 {
36507 "name": "123",
36508 "value": "456"
36509 }
36510 ],
36511 "children": [
36512 {
36513 "tag": "head"
36514 },
36515 {
36516 "tag": "body"
36517 }
36518 ]
36519 }
36520 ],
36521 "html": "<!DOCTYPE html><html 123=\"456\"><head></head><body></body></html>",
36522 "noQuirksBodyHtml": ""
36523 }
36524 },
36525 {
36526 "data": "<!DOCTYPE html><html 123=456><html 789=012>",
36527 "errors": [
36528 "(1,43): non-html-root"
36529 ],
36530 "document": {
36531 "props": {
36532 "tags": {
36533 "html": true,
36534 "head": true,
36535 "body": true
36536 },
36537 "doctype": true
36538 },
36539 "tree": [
36540 {
36541 "doctype": "html"
36542 },
36543 {
36544 "tag": "html",
36545 "attrs": [
36546 {
36547 "name": "123",
36548 "value": "456"
36549 },
36550 {
36551 "name": "789",
36552 "value": "012"
36553 }
36554 ],
36555 "children": [
36556 {
36557 "tag": "head"
36558 },
36559 {
36560 "tag": "body"
36561 }
36562 ]
36563 }
36564 ],
36565 "html": "<!DOCTYPE html><html 123=\"456\" 789=\"012\"><head></head><body></body></html>",
36566 "noQuirksBodyHtml": ""
36567 }
36568 },
36569 {
36570 "data": "<!DOCTYPE html><html><body 789=012>",
36571 "errors": [],
36572 "document": {
36573 "props": {
36574 "tags": {
36575 "html": true,
36576 "head": true,
36577 "body": true
36578 },
36579 "doctype": true
36580 },
36581 "tree": [
36582 {
36583 "doctype": "html"
36584 },
36585 {
36586 "tag": "html",
36587 "children": [
36588 {
36589 "tag": "head"
36590 },
36591 {
36592 "tag": "body",
36593 "attrs": [
36594 {
36595 "name": "789",
36596 "value": "012"
36597 }
36598 ]
36599 }
36600 ]
36601 }
36602 ],
36603 "html": "<!DOCTYPE html><html><head></head><body 789=\"012\"></body></html>",
36604 "noQuirksBodyHtml": ""
36605 }
36606 }
36607 ],
36608 "tests15.dat": [
36609 {
36610 "data": "<!DOCTYPE html><p><b><i><u></p> <p>X",
36611 "errors": [
36612 "(1,31): unexpected-end-tag",
36613 "(1,36): expected-closing-tag-but-got-eof"
36614 ],
36615 "document": {
36616 "props": {
36617 "tags": {
36618 "html": true,
36619 "head": true,
36620 "body": true,
36621 "p": true,
36622 "b": true,
36623 "i": true,
36624 "u": true
36625 },
36626 "doctype": true
36627 },
36628 "tree": [
36629 {
36630 "doctype": "html"
36631 },
36632 {
36633 "tag": "html",
36634 "children": [
36635 {
36636 "tag": "head"
36637 },
36638 {
36639 "tag": "body",
36640 "children": [
36641 {
36642 "tag": "p",
36643 "children": [
36644 {
36645 "tag": "b",
36646 "children": [
36647 {
36648 "tag": "i",
36649 "children": [
36650 {
36651 "tag": "u"
36652 }
36653 ]
36654 }
36655 ]
36656 }
36657 ]
36658 },
36659 {
36660 "tag": "b",
36661 "children": [
36662 {
36663 "tag": "i",
36664 "children": [
36665 {
36666 "tag": "u",
36667 "children": [
36668 {
36669 "text": " "
36670 },
36671 {
36672 "tag": "p",
36673 "children": [
36674 {
36675 "text": "X"
36676 }
36677 ]
36678 }
36679 ]
36680 }
36681 ]
36682 }
36683 ]
36684 }
36685 ]
36686 }
36687 ]
36688 }
36689 ],
36690 "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>",
36691 "noQuirksBodyHtml": "<p><b><i><u></u></i></b></p><b><i><u> <p>X</p></u></i></b>"
36692 }
36693 },
36694 {
36695 "data": "<p><b><i><u></p>\n<p>X",
36696 "errors": [
36697 "(1,3): expected-doctype-but-got-start-tag",
36698 "(1,16): unexpected-end-tag",
36699 "(2,4): expected-closing-tag-but-got-eof"
36700 ],
36701 "document": {
36702 "props": {
36703 "tags": {
36704 "html": true,
36705 "head": true,
36706 "body": true,
36707 "p": true,
36708 "b": true,
36709 "i": true,
36710 "u": true
36711 }
36712 },
36713 "tree": [
36714 {
36715 "tag": "html",
36716 "children": [
36717 {
36718 "tag": "head"
36719 },
36720 {
36721 "tag": "body",
36722 "children": [
36723 {
36724 "tag": "p",
36725 "children": [
36726 {
36727 "tag": "b",
36728 "children": [
36729 {
36730 "tag": "i",
36731 "children": [
36732 {
36733 "tag": "u"
36734 }
36735 ]
36736 }
36737 ]
36738 }
36739 ]
36740 },
36741 {
36742 "tag": "b",
36743 "children": [
36744 {
36745 "tag": "i",
36746 "children": [
36747 {
36748 "tag": "u",
36749 "children": [
36750 {
36751 "text": "\n"
36752 },
36753 {
36754 "tag": "p",
36755 "children": [
36756 {
36757 "text": "X"
36758 }
36759 ]
36760 }
36761 ]
36762 }
36763 ]
36764 }
36765 ]
36766 }
36767 ]
36768 }
36769 ]
36770 }
36771 ],
36772 "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>",
36773 "noQuirksBodyHtml": "<p><b><i><u></u></i></b></p><b><i><u>\n<p>X</p></u></i></b>"
36774 }
36775 },
36776 {
36777 "data": "<!doctype html></html> <head>",
36778 "errors": [
36779 "(1,29): expected-eof-but-got-start-tag",
36780 "(1,29): unexpected-start-tag-ignored"
36781 ],
36782 "document": {
36783 "props": {
36784 "tags": {
36785 "html": true,
36786 "head": true,
36787 "body": true
36788 },
36789 "doctype": true
36790 },
36791 "tree": [
36792 {
36793 "doctype": "html"
36794 },
36795 {
36796 "tag": "html",
36797 "children": [
36798 {
36799 "tag": "head"
36800 },
36801 {
36802 "tag": "body",
36803 "children": [
36804 {
36805 "text": " "
36806 }
36807 ]
36808 }
36809 ]
36810 }
36811 ],
36812 "html": "<!DOCTYPE html><html><head></head><body> </body></html>",
36813 "noQuirksBodyHtml": " "
36814 }
36815 },
36816 {
36817 "data": "<!doctype html></body><meta>",
36818 "errors": [
36819 "(1,28): unexpected-start-tag-after-body"
36820 ],
36821 "document": {
36822 "props": {
36823 "tags": {
36824 "html": true,
36825 "head": true,
36826 "body": true,
36827 "meta": true
36828 },
36829 "doctype": true
36830 },
36831 "tree": [
36832 {
36833 "doctype": "html"
36834 },
36835 {
36836 "tag": "html",
36837 "children": [
36838 {
36839 "tag": "head"
36840 },
36841 {
36842 "tag": "body",
36843 "children": [
36844 {
36845 "tag": "meta"
36846 }
36847 ]
36848 }
36849 ]
36850 }
36851 ],
36852 "html": "<!DOCTYPE html><html><head></head><body><meta></body></html>",
36853 "noQuirksBodyHtml": "<meta>"
36854 }
36855 },
36856 {
36857 "data": "<html></html><!-- foo -->",
36858 "errors": [
36859 "(1,6): expected-doctype-but-got-start-tag"
36860 ],
36861 "document": {
36862 "props": {
36863 "tags": {
36864 "html": true,
36865 "head": true,
36866 "body": true
36867 },
36868 "comment": true
36869 },
36870 "tree": [
36871 {
36872 "tag": "html",
36873 "children": [
36874 {
36875 "tag": "head"
36876 },
36877 {
36878 "tag": "body"
36879 }
36880 ]
36881 },
36882 {
36883 "comment": " foo "
36884 }
36885 ],
36886 "html": "<html><head></head><body></body></html><!-- foo -->",
36887 "noQuirksBodyHtml": "<!-- foo -->"
36888 }
36889 },
36890 {
36891 "data": "<!doctype html></body><title>X</title>",
36892 "errors": [
36893 "(1,29): unexpected-start-tag-after-body"
36894 ],
36895 "document": {
36896 "props": {
36897 "tags": {
36898 "html": true,
36899 "head": true,
36900 "body": true,
36901 "title": true
36902 },
36903 "doctype": true
36904 },
36905 "tree": [
36906 {
36907 "doctype": "html"
36908 },
36909 {
36910 "tag": "html",
36911 "children": [
36912 {
36913 "tag": "head"
36914 },
36915 {
36916 "tag": "body",
36917 "children": [
36918 {
36919 "tag": "title",
36920 "children": [
36921 {
36922 "text": "X"
36923 }
36924 ]
36925 }
36926 ]
36927 }
36928 ]
36929 }
36930 ],
36931 "html": "<!DOCTYPE html><html><head></head><body><title>X</title></body></html>",
36932 "noQuirksBodyHtml": "<title>X</title>"
36933 }
36934 },
36935 {
36936 "data": "<!doctype html><table> X<meta></table>",
36937 "errors": [
36938 "(1,23): foster-parenting-character",
36939 "(1,24): foster-parenting-character",
36940 "(1,30): foster-parenting-start-character"
36941 ],
36942 "document": {
36943 "props": {
36944 "tags": {
36945 "html": true,
36946 "head": true,
36947 "body": true,
36948 "meta": true,
36949 "table": true
36950 },
36951 "doctype": true
36952 },
36953 "tree": [
36954 {
36955 "doctype": "html"
36956 },
36957 {
36958 "tag": "html",
36959 "children": [
36960 {
36961 "tag": "head"
36962 },
36963 {
36964 "tag": "body",
36965 "children": [
36966 {
36967 "text": " X"
36968 },
36969 {
36970 "tag": "meta"
36971 },
36972 {
36973 "tag": "table"
36974 }
36975 ]
36976 }
36977 ]
36978 }
36979 ],
36980 "html": "<!DOCTYPE html><html><head></head><body> X<meta><table></table></body></html>",
36981 "noQuirksBodyHtml": " X<meta><table></table>"
36982 }
36983 },
36984 {
36985 "data": "<!doctype html><table> x</table>",
36986 "errors": [
36987 "(1,23): foster-parenting-character",
36988 "(1,24): foster-parenting-character"
36989 ],
36990 "document": {
36991 "props": {
36992 "tags": {
36993 "html": true,
36994 "head": true,
36995 "body": true,
36996 "table": true
36997 },
36998 "doctype": true
36999 },
37000 "tree": [
37001 {
37002 "doctype": "html"
37003 },
37004 {
37005 "tag": "html",
37006 "children": [
37007 {
37008 "tag": "head"
37009 },
37010 {
37011 "tag": "body",
37012 "children": [
37013 {
37014 "text": " x"
37015 },
37016 {
37017 "tag": "table"
37018 }
37019 ]
37020 }
37021 ]
37022 }
37023 ],
37024 "html": "<!DOCTYPE html><html><head></head><body> x<table></table></body></html>",
37025 "noQuirksBodyHtml": " x<table></table>"
37026 }
37027 },
37028 {
37029 "data": "<!doctype html><table> x </table>",
37030 "errors": [
37031 "(1,23): foster-parenting-character",
37032 "(1,24): foster-parenting-character",
37033 "(1,25): foster-parenting-character"
37034 ],
37035 "document": {
37036 "props": {
37037 "tags": {
37038 "html": true,
37039 "head": true,
37040 "body": true,
37041 "table": true
37042 },
37043 "doctype": true
37044 },
37045 "tree": [
37046 {
37047 "doctype": "html"
37048 },
37049 {
37050 "tag": "html",
37051 "children": [
37052 {
37053 "tag": "head"
37054 },
37055 {
37056 "tag": "body",
37057 "children": [
37058 {
37059 "text": " x "
37060 },
37061 {
37062 "tag": "table"
37063 }
37064 ]
37065 }
37066 ]
37067 }
37068 ],
37069 "html": "<!DOCTYPE html><html><head></head><body> x <table></table></body></html>",
37070 "noQuirksBodyHtml": " x <table></table>"
37071 }
37072 },
37073 {
37074 "data": "<!doctype html><table><tr> x</table>",
37075 "errors": [
37076 "(1,27): foster-parenting-character",
37077 "(1,28): foster-parenting-character"
37078 ],
37079 "document": {
37080 "props": {
37081 "tags": {
37082 "html": true,
37083 "head": true,
37084 "body": true,
37085 "table": true,
37086 "tbody": true,
37087 "tr": true
37088 },
37089 "doctype": true
37090 },
37091 "tree": [
37092 {
37093 "doctype": "html"
37094 },
37095 {
37096 "tag": "html",
37097 "children": [
37098 {
37099 "tag": "head"
37100 },
37101 {
37102 "tag": "body",
37103 "children": [
37104 {
37105 "text": " x"
37106 },
37107 {
37108 "tag": "table",
37109 "children": [
37110 {
37111 "tag": "tbody",
37112 "children": [
37113 {
37114 "tag": "tr"
37115 }
37116 ]
37117 }
37118 ]
37119 }
37120 ]
37121 }
37122 ]
37123 }
37124 ],
37125 "html": "<!DOCTYPE html><html><head></head><body> x<table><tbody><tr></tr></tbody></table></body></html>",
37126 "noQuirksBodyHtml": " x<table><tbody><tr></tr></tbody></table>"
37127 }
37128 },
37129 {
37130 "data": "<!doctype html><table>X<style> <tr>x </style> </table>",
37131 "errors": [
37132 "(1,23): foster-parenting-character"
37133 ],
37134 "document": {
37135 "props": {
37136 "tags": {
37137 "html": true,
37138 "head": true,
37139 "body": true,
37140 "table": true,
37141 "style": true
37142 },
37143 "doctype": true,
37144 "no_escape": true
37145 },
37146 "tree": [
37147 {
37148 "doctype": "html"
37149 },
37150 {
37151 "tag": "html",
37152 "children": [
37153 {
37154 "tag": "head"
37155 },
37156 {
37157 "tag": "body",
37158 "children": [
37159 {
37160 "text": "X"
37161 },
37162 {
37163 "tag": "table",
37164 "children": [
37165 {
37166 "tag": "style",
37167 "children": [
37168 {
37169 "text": " <tr>x ",
37170 "no_escape": true
37171 }
37172 ]
37173 },
37174 {
37175 "text": " "
37176 }
37177 ]
37178 }
37179 ]
37180 }
37181 ]
37182 }
37183 ],
37184 "html": "<!DOCTYPE html><html><head></head><body>X<table><style> <tr>x </style> </table></body></html>",
37185 "noQuirksBodyHtml": "X<table><style> <tr>x </style> </table>"
37186 }
37187 },
37188 {
37189 "data": "<!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>",
37190 "errors": [
37191 "(1,30): foster-parenting-start-tag",
37192 "(1,31): foster-parenting-character",
37193 "(1,32): foster-parenting-character",
37194 "(1,33): foster-parenting-character",
37195 "(1,37): foster-parenting-end-tag"
37196 ],
37197 "document": {
37198 "props": {
37199 "tags": {
37200 "html": true,
37201 "head": true,
37202 "body": true,
37203 "div": true,
37204 "a": true,
37205 "table": true,
37206 "tbody": true,
37207 "tr": true,
37208 "td": true
37209 },
37210 "doctype": true
37211 },
37212 "tree": [
37213 {
37214 "doctype": "html"
37215 },
37216 {
37217 "tag": "html",
37218 "children": [
37219 {
37220 "tag": "head"
37221 },
37222 {
37223 "tag": "body",
37224 "children": [
37225 {
37226 "tag": "div",
37227 "children": [
37228 {
37229 "tag": "a",
37230 "children": [
37231 {
37232 "text": "foo"
37233 }
37234 ]
37235 },
37236 {
37237 "tag": "table",
37238 "children": [
37239 {
37240 "text": " "
37241 },
37242 {
37243 "tag": "tbody",
37244 "children": [
37245 {
37246 "tag": "tr",
37247 "children": [
37248 {
37249 "tag": "td",
37250 "children": [
37251 {
37252 "text": "bar"
37253 }
37254 ]
37255 },
37256 {
37257 "text": " "
37258 }
37259 ]
37260 }
37261 ]
37262 }
37263 ]
37264 }
37265 ]
37266 }
37267 ]
37268 }
37269 ]
37270 }
37271 ],
37272 "html": "<!DOCTYPE html><html><head></head><body><div><a>foo</a><table> <tbody><tr><td>bar</td> </tr></tbody></table></div></body></html>",
37273 "noQuirksBodyHtml": "<div><a>foo</a><table> <tbody><tr><td>bar</td> </tr></tbody></table></div>"
37274 }
37275 },
37276 {
37277 "data": "<frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>",
37278 "errors": [
37279 "(1,7): expected-doctype-but-got-start-tag",
37280 "(1,7): unexpected-start-tag-ignored",
37281 "(1,15): unexpected-end-tag",
37282 "(1,23): unexpected-end-tag",
37283 "(1,33): unexpected-start-tag",
37284 "(1,99): expected-named-closing-tag-but-got-eof",
37285 "(1,99): eof-in-frameset"
37286 ],
37287 "document": {
37288 "props": {
37289 "tags": {
37290 "html": true,
37291 "head": true,
37292 "frameset": true,
37293 "frame": true,
37294 "noframes": true
37295 },
37296 "no_escape": true
37297 },
37298 "tree": [
37299 {
37300 "tag": "html",
37301 "children": [
37302 {
37303 "tag": "head"
37304 },
37305 {
37306 "tag": "frameset",
37307 "children": [
37308 {
37309 "tag": "frame"
37310 },
37311 {
37312 "tag": "frameset",
37313 "children": [
37314 {
37315 "tag": "frame"
37316 }
37317 ]
37318 },
37319 {
37320 "tag": "noframes",
37321 "children": [
37322 {
37323 "text": "</frameset><noframes>",
37324 "no_escape": true
37325 }
37326 ]
37327 }
37328 ]
37329 }
37330 ]
37331 }
37332 ],
37333 "html": "<html><head></head><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes></noframes></frameset></html>",
37334 "noQuirksBodyHtml": "<noframes></frameset><noframes></noframes>"
37335 }
37336 },
37337 {
37338 "data": "<!DOCTYPE html><object></html>",
37339 "errors": [
37340 "(1,30): expected-body-in-scope",
37341 "(1,30): expected-closing-tag-but-got-eof"
37342 ],
37343 "document": {
37344 "props": {
37345 "tags": {
37346 "html": true,
37347 "head": true,
37348 "body": true,
37349 "object": true
37350 },
37351 "doctype": true
37352 },
37353 "tree": [
37354 {
37355 "doctype": "html"
37356 },
37357 {
37358 "tag": "html",
37359 "children": [
37360 {
37361 "tag": "head"
37362 },
37363 {
37364 "tag": "body",
37365 "children": [
37366 {
37367 "tag": "object"
37368 }
37369 ]
37370 }
37371 ]
37372 }
37373 ],
37374 "html": "<!DOCTYPE html><html><head></head><body><object></object></body></html>",
37375 "noQuirksBodyHtml": "<object></object>"
37376 }
37377 }
37378 ],
37379 "tests16.dat": [
37380 {
37381 "data": "<!doctype html><script>",
37382 "errors": [
37383 "(1,23): expected-named-closing-tag-but-got-eof"
37384 ],
37385 "document": {
37386 "props": {
37387 "tags": {
37388 "html": true,
37389 "head": true,
37390 "script": true,
37391 "body": true
37392 },
37393 "doctype": true
37394 },
37395 "tree": [
37396 {
37397 "doctype": "html"
37398 },
37399 {
37400 "tag": "html",
37401 "children": [
37402 {
37403 "tag": "head",
37404 "children": [
37405 {
37406 "tag": "script"
37407 }
37408 ]
37409 },
37410 {
37411 "tag": "body"
37412 }
37413 ]
37414 }
37415 ],
37416 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
37417 "noQuirksBodyHtml": "<script></script>"
37418 }
37419 },
37420 {
37421 "data": "<!doctype html><script>a",
37422 "errors": [
37423 "(1,24): expected-named-closing-tag-but-got-eof"
37424 ],
37425 "document": {
37426 "props": {
37427 "tags": {
37428 "html": true,
37429 "head": true,
37430 "script": true,
37431 "body": true
37432 },
37433 "doctype": true,
37434 "no_escape": true
37435 },
37436 "tree": [
37437 {
37438 "doctype": "html"
37439 },
37440 {
37441 "tag": "html",
37442 "children": [
37443 {
37444 "tag": "head",
37445 "children": [
37446 {
37447 "tag": "script",
37448 "children": [
37449 {
37450 "text": "a",
37451 "no_escape": true
37452 }
37453 ]
37454 }
37455 ]
37456 },
37457 {
37458 "tag": "body"
37459 }
37460 ]
37461 }
37462 ],
37463 "html": "<!DOCTYPE html><html><head><script>a</script></head><body></body></html>",
37464 "noQuirksBodyHtml": "<script>a</script>"
37465 }
37466 },
37467 {
37468 "data": "<!doctype html><script><",
37469 "errors": [
37470 "(1,24): expected-named-closing-tag-but-got-eof"
37471 ],
37472 "document": {
37473 "props": {
37474 "tags": {
37475 "html": true,
37476 "head": true,
37477 "script": true,
37478 "body": true
37479 },
37480 "doctype": true,
37481 "no_escape": true
37482 },
37483 "tree": [
37484 {
37485 "doctype": "html"
37486 },
37487 {
37488 "tag": "html",
37489 "children": [
37490 {
37491 "tag": "head",
37492 "children": [
37493 {
37494 "tag": "script",
37495 "children": [
37496 {
37497 "text": "<",
37498 "no_escape": true
37499 }
37500 ]
37501 }
37502 ]
37503 },
37504 {
37505 "tag": "body"
37506 }
37507 ]
37508 }
37509 ],
37510 "html": "<!DOCTYPE html><html><head><script><</script></head><body></body></html>",
37511 "noQuirksBodyHtml": "<script><</script>"
37512 }
37513 },
37514 {
37515 "data": "<!doctype html><script></",
37516 "errors": [
37517 "(1,25): expected-named-closing-tag-but-got-eof"
37518 ],
37519 "document": {
37520 "props": {
37521 "tags": {
37522 "html": true,
37523 "head": true,
37524 "script": true,
37525 "body": true
37526 },
37527 "doctype": true,
37528 "no_escape": true
37529 },
37530 "tree": [
37531 {
37532 "doctype": "html"
37533 },
37534 {
37535 "tag": "html",
37536 "children": [
37537 {
37538 "tag": "head",
37539 "children": [
37540 {
37541 "tag": "script",
37542 "children": [
37543 {
37544 "text": "</",
37545 "no_escape": true
37546 }
37547 ]
37548 }
37549 ]
37550 },
37551 {
37552 "tag": "body"
37553 }
37554 ]
37555 }
37556 ],
37557 "html": "<!DOCTYPE html><html><head><script></</script></head><body></body></html>",
37558 "noQuirksBodyHtml": "<script></</script>"
37559 }
37560 },
37561 {
37562 "data": "<!doctype html><script></S",
37563 "errors": [
37564 "(1,26): expected-named-closing-tag-but-got-eof"
37565 ],
37566 "document": {
37567 "props": {
37568 "tags": {
37569 "html": true,
37570 "head": true,
37571 "script": true,
37572 "body": true
37573 },
37574 "doctype": true,
37575 "no_escape": true
37576 },
37577 "tree": [
37578 {
37579 "doctype": "html"
37580 },
37581 {
37582 "tag": "html",
37583 "children": [
37584 {
37585 "tag": "head",
37586 "children": [
37587 {
37588 "tag": "script",
37589 "children": [
37590 {
37591 "text": "</S",
37592 "no_escape": true
37593 }
37594 ]
37595 }
37596 ]
37597 },
37598 {
37599 "tag": "body"
37600 }
37601 ]
37602 }
37603 ],
37604 "html": "<!DOCTYPE html><html><head><script></S</script></head><body></body></html>",
37605 "noQuirksBodyHtml": "<script></S</script>"
37606 }
37607 },
37608 {
37609 "data": "<!doctype html><script></SC",
37610 "errors": [
37611 "(1,27): expected-named-closing-tag-but-got-eof"
37612 ],
37613 "document": {
37614 "props": {
37615 "tags": {
37616 "html": true,
37617 "head": true,
37618 "script": true,
37619 "body": true
37620 },
37621 "doctype": true,
37622 "no_escape": true
37623 },
37624 "tree": [
37625 {
37626 "doctype": "html"
37627 },
37628 {
37629 "tag": "html",
37630 "children": [
37631 {
37632 "tag": "head",
37633 "children": [
37634 {
37635 "tag": "script",
37636 "children": [
37637 {
37638 "text": "</SC",
37639 "no_escape": true
37640 }
37641 ]
37642 }
37643 ]
37644 },
37645 {
37646 "tag": "body"
37647 }
37648 ]
37649 }
37650 ],
37651 "html": "<!DOCTYPE html><html><head><script></SC</script></head><body></body></html>",
37652 "noQuirksBodyHtml": "<script></SC</script>"
37653 }
37654 },
37655 {
37656 "data": "<!doctype html><script></SCR",
37657 "errors": [
37658 "(1,28): expected-named-closing-tag-but-got-eof"
37659 ],
37660 "document": {
37661 "props": {
37662 "tags": {
37663 "html": true,
37664 "head": true,
37665 "script": true,
37666 "body": true
37667 },
37668 "doctype": true,
37669 "no_escape": true
37670 },
37671 "tree": [
37672 {
37673 "doctype": "html"
37674 },
37675 {
37676 "tag": "html",
37677 "children": [
37678 {
37679 "tag": "head",
37680 "children": [
37681 {
37682 "tag": "script",
37683 "children": [
37684 {
37685 "text": "</SCR",
37686 "no_escape": true
37687 }
37688 ]
37689 }
37690 ]
37691 },
37692 {
37693 "tag": "body"
37694 }
37695 ]
37696 }
37697 ],
37698 "html": "<!DOCTYPE html><html><head><script></SCR</script></head><body></body></html>",
37699 "noQuirksBodyHtml": "<script></SCR</script>"
37700 }
37701 },
37702 {
37703 "data": "<!doctype html><script></SCRI",
37704 "errors": [
37705 "(1,29): expected-named-closing-tag-but-got-eof"
37706 ],
37707 "document": {
37708 "props": {
37709 "tags": {
37710 "html": true,
37711 "head": true,
37712 "script": true,
37713 "body": true
37714 },
37715 "doctype": true,
37716 "no_escape": true
37717 },
37718 "tree": [
37719 {
37720 "doctype": "html"
37721 },
37722 {
37723 "tag": "html",
37724 "children": [
37725 {
37726 "tag": "head",
37727 "children": [
37728 {
37729 "tag": "script",
37730 "children": [
37731 {
37732 "text": "</SCRI",
37733 "no_escape": true
37734 }
37735 ]
37736 }
37737 ]
37738 },
37739 {
37740 "tag": "body"
37741 }
37742 ]
37743 }
37744 ],
37745 "html": "<!DOCTYPE html><html><head><script></SCRI</script></head><body></body></html>",
37746 "noQuirksBodyHtml": "<script></SCRI</script>"
37747 }
37748 },
37749 {
37750 "data": "<!doctype html><script></SCRIP",
37751 "errors": [
37752 "(1,30): expected-named-closing-tag-but-got-eof"
37753 ],
37754 "document": {
37755 "props": {
37756 "tags": {
37757 "html": true,
37758 "head": true,
37759 "script": true,
37760 "body": true
37761 },
37762 "doctype": true,
37763 "no_escape": true
37764 },
37765 "tree": [
37766 {
37767 "doctype": "html"
37768 },
37769 {
37770 "tag": "html",
37771 "children": [
37772 {
37773 "tag": "head",
37774 "children": [
37775 {
37776 "tag": "script",
37777 "children": [
37778 {
37779 "text": "</SCRIP",
37780 "no_escape": true
37781 }
37782 ]
37783 }
37784 ]
37785 },
37786 {
37787 "tag": "body"
37788 }
37789 ]
37790 }
37791 ],
37792 "html": "<!DOCTYPE html><html><head><script></SCRIP</script></head><body></body></html>",
37793 "noQuirksBodyHtml": "<script></SCRIP</script>"
37794 }
37795 },
37796 {
37797 "data": "<!doctype html><script></SCRIPT",
37798 "errors": [
37799 "(1,31): expected-named-closing-tag-but-got-eof"
37800 ],
37801 "document": {
37802 "props": {
37803 "tags": {
37804 "html": true,
37805 "head": true,
37806 "script": true,
37807 "body": true
37808 },
37809 "doctype": true,
37810 "no_escape": true
37811 },
37812 "tree": [
37813 {
37814 "doctype": "html"
37815 },
37816 {
37817 "tag": "html",
37818 "children": [
37819 {
37820 "tag": "head",
37821 "children": [
37822 {
37823 "tag": "script",
37824 "children": [
37825 {
37826 "text": "</SCRIPT",
37827 "no_escape": true
37828 }
37829 ]
37830 }
37831 ]
37832 },
37833 {
37834 "tag": "body"
37835 }
37836 ]
37837 }
37838 ],
37839 "html": "<!DOCTYPE html><html><head><script></SCRIPT</script></head><body></body></html>",
37840 "noQuirksBodyHtml": "<script></SCRIPT</script>"
37841 }
37842 },
37843 {
37844 "data": "<!doctype html><script></SCRIPT ",
37845 "errors": [
37846 "(1,32): expected-attribute-name-but-got-eof",
37847 "(1,32): expected-named-closing-tag-but-got-eof"
37848 ],
37849 "document": {
37850 "props": {
37851 "tags": {
37852 "html": true,
37853 "head": true,
37854 "script": true,
37855 "body": true
37856 },
37857 "doctype": true
37858 },
37859 "tree": [
37860 {
37861 "doctype": "html"
37862 },
37863 {
37864 "tag": "html",
37865 "children": [
37866 {
37867 "tag": "head",
37868 "children": [
37869 {
37870 "tag": "script"
37871 }
37872 ]
37873 },
37874 {
37875 "tag": "body"
37876 }
37877 ]
37878 }
37879 ],
37880 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
37881 "noQuirksBodyHtml": "<script></script>"
37882 }
37883 },
37884 {
37885 "data": "<!doctype html><script></s",
37886 "errors": [
37887 "(1,26): expected-named-closing-tag-but-got-eof"
37888 ],
37889 "document": {
37890 "props": {
37891 "tags": {
37892 "html": true,
37893 "head": true,
37894 "script": true,
37895 "body": true
37896 },
37897 "doctype": true,
37898 "no_escape": true
37899 },
37900 "tree": [
37901 {
37902 "doctype": "html"
37903 },
37904 {
37905 "tag": "html",
37906 "children": [
37907 {
37908 "tag": "head",
37909 "children": [
37910 {
37911 "tag": "script",
37912 "children": [
37913 {
37914 "text": "</s",
37915 "no_escape": true
37916 }
37917 ]
37918 }
37919 ]
37920 },
37921 {
37922 "tag": "body"
37923 }
37924 ]
37925 }
37926 ],
37927 "html": "<!DOCTYPE html><html><head><script></s</script></head><body></body></html>",
37928 "noQuirksBodyHtml": "<script></s</script>"
37929 }
37930 },
37931 {
37932 "data": "<!doctype html><script></sc",
37933 "errors": [
37934 "(1,27): expected-named-closing-tag-but-got-eof"
37935 ],
37936 "document": {
37937 "props": {
37938 "tags": {
37939 "html": true,
37940 "head": true,
37941 "script": true,
37942 "body": true
37943 },
37944 "doctype": true,
37945 "no_escape": true
37946 },
37947 "tree": [
37948 {
37949 "doctype": "html"
37950 },
37951 {
37952 "tag": "html",
37953 "children": [
37954 {
37955 "tag": "head",
37956 "children": [
37957 {
37958 "tag": "script",
37959 "children": [
37960 {
37961 "text": "</sc",
37962 "no_escape": true
37963 }
37964 ]
37965 }
37966 ]
37967 },
37968 {
37969 "tag": "body"
37970 }
37971 ]
37972 }
37973 ],
37974 "html": "<!DOCTYPE html><html><head><script></sc</script></head><body></body></html>",
37975 "noQuirksBodyHtml": "<script></sc</script>"
37976 }
37977 },
37978 {
37979 "data": "<!doctype html><script></scr",
37980 "errors": [
37981 "(1,28): expected-named-closing-tag-but-got-eof"
37982 ],
37983 "document": {
37984 "props": {
37985 "tags": {
37986 "html": true,
37987 "head": true,
37988 "script": true,
37989 "body": true
37990 },
37991 "doctype": true,
37992 "no_escape": true
37993 },
37994 "tree": [
37995 {
37996 "doctype": "html"
37997 },
37998 {
37999 "tag": "html",
38000 "children": [
38001 {
38002 "tag": "head",
38003 "children": [
38004 {
38005 "tag": "script",
38006 "children": [
38007 {
38008 "text": "</scr",
38009 "no_escape": true
38010 }
38011 ]
38012 }
38013 ]
38014 },
38015 {
38016 "tag": "body"
38017 }
38018 ]
38019 }
38020 ],
38021 "html": "<!DOCTYPE html><html><head><script></scr</script></head><body></body></html>",
38022 "noQuirksBodyHtml": "<script></scr</script>"
38023 }
38024 },
38025 {
38026 "data": "<!doctype html><script></scri",
38027 "errors": [
38028 "(1,29): expected-named-closing-tag-but-got-eof"
38029 ],
38030 "document": {
38031 "props": {
38032 "tags": {
38033 "html": true,
38034 "head": true,
38035 "script": true,
38036 "body": true
38037 },
38038 "doctype": true,
38039 "no_escape": true
38040 },
38041 "tree": [
38042 {
38043 "doctype": "html"
38044 },
38045 {
38046 "tag": "html",
38047 "children": [
38048 {
38049 "tag": "head",
38050 "children": [
38051 {
38052 "tag": "script",
38053 "children": [
38054 {
38055 "text": "</scri",
38056 "no_escape": true
38057 }
38058 ]
38059 }
38060 ]
38061 },
38062 {
38063 "tag": "body"
38064 }
38065 ]
38066 }
38067 ],
38068 "html": "<!DOCTYPE html><html><head><script></scri</script></head><body></body></html>",
38069 "noQuirksBodyHtml": "<script></scri</script>"
38070 }
38071 },
38072 {
38073 "data": "<!doctype html><script></scrip",
38074 "errors": [
38075 "(1,30): expected-named-closing-tag-but-got-eof"
38076 ],
38077 "document": {
38078 "props": {
38079 "tags": {
38080 "html": true,
38081 "head": true,
38082 "script": true,
38083 "body": true
38084 },
38085 "doctype": true,
38086 "no_escape": true
38087 },
38088 "tree": [
38089 {
38090 "doctype": "html"
38091 },
38092 {
38093 "tag": "html",
38094 "children": [
38095 {
38096 "tag": "head",
38097 "children": [
38098 {
38099 "tag": "script",
38100 "children": [
38101 {
38102 "text": "</scrip",
38103 "no_escape": true
38104 }
38105 ]
38106 }
38107 ]
38108 },
38109 {
38110 "tag": "body"
38111 }
38112 ]
38113 }
38114 ],
38115 "html": "<!DOCTYPE html><html><head><script></scrip</script></head><body></body></html>",
38116 "noQuirksBodyHtml": "<script></scrip</script>"
38117 }
38118 },
38119 {
38120 "data": "<!doctype html><script></script",
38121 "errors": [
38122 "(1,31): expected-named-closing-tag-but-got-eof"
38123 ],
38124 "document": {
38125 "props": {
38126 "tags": {
38127 "html": true,
38128 "head": true,
38129 "script": true,
38130 "body": true
38131 },
38132 "doctype": true,
38133 "no_escape": true
38134 },
38135 "tree": [
38136 {
38137 "doctype": "html"
38138 },
38139 {
38140 "tag": "html",
38141 "children": [
38142 {
38143 "tag": "head",
38144 "children": [
38145 {
38146 "tag": "script",
38147 "children": [
38148 {
38149 "text": "</script",
38150 "no_escape": true
38151 }
38152 ]
38153 }
38154 ]
38155 },
38156 {
38157 "tag": "body"
38158 }
38159 ]
38160 }
38161 ],
38162 "html": "<!DOCTYPE html><html><head><script></script</script></head><body></body></html>",
38163 "noQuirksBodyHtml": "<script></script</script>"
38164 }
38165 },
38166 {
38167 "data": "<!doctype html><script></script ",
38168 "errors": [
38169 "(1,32): expected-attribute-name-but-got-eof",
38170 "(1,32): expected-named-closing-tag-but-got-eof"
38171 ],
38172 "document": {
38173 "props": {
38174 "tags": {
38175 "html": true,
38176 "head": true,
38177 "script": true,
38178 "body": true
38179 },
38180 "doctype": true
38181 },
38182 "tree": [
38183 {
38184 "doctype": "html"
38185 },
38186 {
38187 "tag": "html",
38188 "children": [
38189 {
38190 "tag": "head",
38191 "children": [
38192 {
38193 "tag": "script"
38194 }
38195 ]
38196 },
38197 {
38198 "tag": "body"
38199 }
38200 ]
38201 }
38202 ],
38203 "html": "<!DOCTYPE html><html><head><script></script></head><body></body></html>",
38204 "noQuirksBodyHtml": "<script></script>"
38205 }
38206 },
38207 {
38208 "data": "<!doctype html><script><!",
38209 "errors": [
38210 "(1,25): expected-named-closing-tag-but-got-eof"
38211 ],
38212 "document": {
38213 "props": {
38214 "tags": {
38215 "html": true,
38216 "head": true,
38217 "script": true,
38218 "body": true
38219 },
38220 "doctype": true,
38221 "no_escape": true
38222 },
38223 "tree": [
38224 {
38225 "doctype": "html"
38226 },
38227 {
38228 "tag": "html",
38229 "children": [
38230 {
38231 "tag": "head",
38232 "children": [
38233 {
38234 "tag": "script",
38235 "children": [
38236 {
38237 "text": "<!",
38238 "no_escape": true
38239 }
38240 ]
38241 }
38242 ]
38243 },
38244 {
38245 "tag": "body"
38246 }
38247 ]
38248 }
38249 ],
38250 "html": "<!DOCTYPE html><html><head><script><!</script></head><body></body></html>",
38251 "noQuirksBodyHtml": "<script><!</script>"
38252 }
38253 },
38254 {
38255 "data": "<!doctype html><script><!a",
38256 "errors": [
38257 "(1,26): expected-named-closing-tag-but-got-eof"
38258 ],
38259 "document": {
38260 "props": {
38261 "tags": {
38262 "html": true,
38263 "head": true,
38264 "script": true,
38265 "body": true
38266 },
38267 "doctype": true,
38268 "no_escape": true
38269 },
38270 "tree": [
38271 {
38272 "doctype": "html"
38273 },
38274 {
38275 "tag": "html",
38276 "children": [
38277 {
38278 "tag": "head",
38279 "children": [
38280 {
38281 "tag": "script",
38282 "children": [
38283 {
38284 "text": "<!a",
38285 "no_escape": true
38286 }
38287 ]
38288 }
38289 ]
38290 },
38291 {
38292 "tag": "body"
38293 }
38294 ]
38295 }
38296 ],
38297 "html": "<!DOCTYPE html><html><head><script><!a</script></head><body></body></html>",
38298 "noQuirksBodyHtml": "<script><!a</script>"
38299 }
38300 },
38301 {
38302 "data": "<!doctype html><script><!-",
38303 "errors": [
38304 "(1,26): expected-named-closing-tag-but-got-eof"
38305 ],
38306 "document": {
38307 "props": {
38308 "tags": {
38309 "html": true,
38310 "head": true,
38311 "script": true,
38312 "body": true
38313 },
38314 "doctype": true,
38315 "no_escape": true
38316 },
38317 "tree": [
38318 {
38319 "doctype": "html"
38320 },
38321 {
38322 "tag": "html",
38323 "children": [
38324 {
38325 "tag": "head",
38326 "children": [
38327 {
38328 "tag": "script",
38329 "children": [
38330 {
38331 "text": "<!-",
38332 "no_escape": true
38333 }
38334 ]
38335 }
38336 ]
38337 },
38338 {
38339 "tag": "body"
38340 }
38341 ]
38342 }
38343 ],
38344 "html": "<!DOCTYPE html><html><head><script><!-</script></head><body></body></html>",
38345 "noQuirksBodyHtml": "<script><!-</script>"
38346 }
38347 },
38348 {
38349 "data": "<!doctype html><script><!-a",
38350 "errors": [
38351 "(1,27): expected-named-closing-tag-but-got-eof"
38352 ],
38353 "document": {
38354 "props": {
38355 "tags": {
38356 "html": true,
38357 "head": true,
38358 "script": true,
38359 "body": true
38360 },
38361 "doctype": true,
38362 "no_escape": true
38363 },
38364 "tree": [
38365 {
38366 "doctype": "html"
38367 },
38368 {
38369 "tag": "html",
38370 "children": [
38371 {
38372 "tag": "head",
38373 "children": [
38374 {
38375 "tag": "script",
38376 "children": [
38377 {
38378 "text": "<!-a",
38379 "no_escape": true
38380 }
38381 ]
38382 }
38383 ]
38384 },
38385 {
38386 "tag": "body"
38387 }
38388 ]
38389 }
38390 ],
38391 "html": "<!DOCTYPE html><html><head><script><!-a</script></head><body></body></html>",
38392 "noQuirksBodyHtml": "<script><!-a</script>"
38393 }
38394 },
38395 {
38396 "data": "<!doctype html><script><!--",
38397 "errors": [
38398 "(1,27): expected-named-closing-tag-but-got-eof",
38399 "(1,27): unexpected-eof-in-text-mode"
38400 ],
38401 "document": {
38402 "props": {
38403 "tags": {
38404 "html": true,
38405 "head": true,
38406 "script": true,
38407 "body": true
38408 },
38409 "doctype": true,
38410 "no_escape": true
38411 },
38412 "tree": [
38413 {
38414 "doctype": "html"
38415 },
38416 {
38417 "tag": "html",
38418 "children": [
38419 {
38420 "tag": "head",
38421 "children": [
38422 {
38423 "tag": "script",
38424 "children": [
38425 {
38426 "text": "<!--",
38427 "no_escape": true
38428 }
38429 ]
38430 }
38431 ]
38432 },
38433 {
38434 "tag": "body"
38435 }
38436 ]
38437 }
38438 ],
38439 "html": "<!DOCTYPE html><html><head><script><!--</script></head><body></body></html>",
38440 "noQuirksBodyHtml": "<script><!--</script>"
38441 }
38442 },
38443 {
38444 "data": "<!doctype html><script><!--a",
38445 "errors": [
38446 "(1,28): expected-named-closing-tag-but-got-eof",
38447 "(1,28): unexpected-eof-in-text-mode"
38448 ],
38449 "document": {
38450 "props": {
38451 "tags": {
38452 "html": true,
38453 "head": true,
38454 "script": true,
38455 "body": true
38456 },
38457 "doctype": true,
38458 "no_escape": true
38459 },
38460 "tree": [
38461 {
38462 "doctype": "html"
38463 },
38464 {
38465 "tag": "html",
38466 "children": [
38467 {
38468 "tag": "head",
38469 "children": [
38470 {
38471 "tag": "script",
38472 "children": [
38473 {
38474 "text": "<!--a",
38475 "no_escape": true
38476 }
38477 ]
38478 }
38479 ]
38480 },
38481 {
38482 "tag": "body"
38483 }
38484 ]
38485 }
38486 ],
38487 "html": "<!DOCTYPE html><html><head><script><!--a</script></head><body></body></html>",
38488 "noQuirksBodyHtml": "<script><!--a</script>"
38489 }
38490 },
38491 {
38492 "data": "<!doctype html><script><!--<",
38493 "errors": [
38494 "(1,28): expected-named-closing-tag-but-got-eof",
38495 "(1,28): unexpected-eof-in-text-mode"
38496 ],
38497 "document": {
38498 "props": {
38499 "tags": {
38500 "html": true,
38501 "head": true,
38502 "script": true,
38503 "body": true
38504 },
38505 "doctype": true,
38506 "no_escape": true
38507 },
38508 "tree": [
38509 {
38510 "doctype": "html"
38511 },
38512 {
38513 "tag": "html",
38514 "children": [
38515 {
38516 "tag": "head",
38517 "children": [
38518 {
38519 "tag": "script",
38520 "children": [
38521 {
38522 "text": "<!--<",
38523 "no_escape": true
38524 }
38525 ]
38526 }
38527 ]
38528 },
38529 {
38530 "tag": "body"
38531 }
38532 ]
38533 }
38534 ],
38535 "html": "<!DOCTYPE html><html><head><script><!--<</script></head><body></body></html>",
38536 "noQuirksBodyHtml": "<script><!--<</script>"
38537 }
38538 },
38539 {
38540 "data": "<!doctype html><script><!--<a",
38541 "errors": [
38542 "(1,29): expected-named-closing-tag-but-got-eof",
38543 "(1,29): unexpected-eof-in-text-mode"
38544 ],
38545 "document": {
38546 "props": {
38547 "tags": {
38548 "html": true,
38549 "head": true,
38550 "script": true,
38551 "body": true
38552 },
38553 "doctype": true,
38554 "no_escape": true
38555 },
38556 "tree": [
38557 {
38558 "doctype": "html"
38559 },
38560 {
38561 "tag": "html",
38562 "children": [
38563 {
38564 "tag": "head",
38565 "children": [
38566 {
38567 "tag": "script",
38568 "children": [
38569 {
38570 "text": "<!--<a",
38571 "no_escape": true
38572 }
38573 ]
38574 }
38575 ]
38576 },
38577 {
38578 "tag": "body"
38579 }
38580 ]
38581 }
38582 ],
38583 "html": "<!DOCTYPE html><html><head><script><!--<a</script></head><body></body></html>",
38584 "noQuirksBodyHtml": "<script><!--<a</script>"
38585 }
38586 },
38587 {
38588 "data": "<!doctype html><script><!--</",
38589 "errors": [
38590 "(1,29): expected-named-closing-tag-but-got-eof",
38591 "(1,29): unexpected-eof-in-text-mode"
38592 ],
38593 "document": {
38594 "props": {
38595 "tags": {
38596 "html": true,
38597 "head": true,
38598 "script": true,
38599 "body": true
38600 },
38601 "doctype": true,
38602 "no_escape": true
38603 },
38604 "tree": [
38605 {
38606 "doctype": "html"
38607 },
38608 {
38609 "tag": "html",
38610 "children": [
38611 {
38612 "tag": "head",
38613 "children": [
38614 {
38615 "tag": "script",
38616 "children": [
38617 {
38618 "text": "<!--</",
38619 "no_escape": true
38620 }
38621 ]
38622 }
38623 ]
38624 },
38625 {
38626 "tag": "body"
38627 }
38628 ]
38629 }
38630 ],
38631 "html": "<!DOCTYPE html><html><head><script><!--</</script></head><body></body></html>",
38632 "noQuirksBodyHtml": "<script><!--</</script>"
38633 }
38634 },
38635 {
38636 "data": "<!doctype html><script><!--</script",
38637 "errors": [
38638 "(1,35): expected-named-closing-tag-but-got-eof",
38639 "(1,35): unexpected-eof-in-text-mode"
38640 ],
38641 "document": {
38642 "props": {
38643 "tags": {
38644 "html": true,
38645 "head": true,
38646 "script": true,
38647 "body": true
38648 },
38649 "doctype": true,
38650 "no_escape": true
38651 },
38652 "tree": [
38653 {
38654 "doctype": "html"
38655 },
38656 {
38657 "tag": "html",
38658 "children": [
38659 {
38660 "tag": "head",
38661 "children": [
38662 {
38663 "tag": "script",
38664 "children": [
38665 {
38666 "text": "<!--</script",
38667 "no_escape": true
38668 }
38669 ]
38670 }
38671 ]
38672 },
38673 {
38674 "tag": "body"
38675 }
38676 ]
38677 }
38678 ],
38679 "html": "<!DOCTYPE html><html><head><script><!--</script</script></head><body></body></html>",
38680 "noQuirksBodyHtml": "<script><!--</script</script>"
38681 }
38682 },
38683 {
38684 "data": "<!doctype html><script><!--</script ",
38685 "errors": [
38686 "(1,36): expected-attribute-name-but-got-eof",
38687 "(1,36): expected-named-closing-tag-but-got-eof"
38688 ],
38689 "document": {
38690 "props": {
38691 "tags": {
38692 "html": true,
38693 "head": true,
38694 "script": true,
38695 "body": true
38696 },
38697 "doctype": true,
38698 "no_escape": true
38699 },
38700 "tree": [
38701 {
38702 "doctype": "html"
38703 },
38704 {
38705 "tag": "html",
38706 "children": [
38707 {
38708 "tag": "head",
38709 "children": [
38710 {
38711 "tag": "script",
38712 "children": [
38713 {
38714 "text": "<!--",
38715 "no_escape": true
38716 }
38717 ]
38718 }
38719 ]
38720 },
38721 {
38722 "tag": "body"
38723 }
38724 ]
38725 }
38726 ],
38727 "html": "<!DOCTYPE html><html><head><script><!--</script></head><body></body></html>",
38728 "noQuirksBodyHtml": "<script><!--</script>"
38729 }
38730 },
38731 {
38732 "data": "<!doctype html><script><!--<s",
38733 "errors": [
38734 "(1,29): expected-named-closing-tag-but-got-eof",
38735 "(1,29): unexpected-eof-in-text-mode"
38736 ],
38737 "document": {
38738 "props": {
38739 "tags": {
38740 "html": true,
38741 "head": true,
38742 "script": true,
38743 "body": true
38744 },
38745 "doctype": true,
38746 "no_escape": true
38747 },
38748 "tree": [
38749 {
38750 "doctype": "html"
38751 },
38752 {
38753 "tag": "html",
38754 "children": [
38755 {
38756 "tag": "head",
38757 "children": [
38758 {
38759 "tag": "script",
38760 "children": [
38761 {
38762 "text": "<!--<s",
38763 "no_escape": true
38764 }
38765 ]
38766 }
38767 ]
38768 },
38769 {
38770 "tag": "body"
38771 }
38772 ]
38773 }
38774 ],
38775 "html": "<!DOCTYPE html><html><head><script><!--<s</script></head><body></body></html>",
38776 "noQuirksBodyHtml": "<script><!--<s</script>"
38777 }
38778 },
38779 {
38780 "data": "<!doctype html><script><!--<script",
38781 "errors": [
38782 "(1,34): expected-named-closing-tag-but-got-eof",
38783 "(1,34): unexpected-eof-in-text-mode"
38784 ],
38785 "document": {
38786 "props": {
38787 "tags": {
38788 "html": true,
38789 "head": true,
38790 "script": true,
38791 "body": true
38792 },
38793 "doctype": true,
38794 "no_escape": true
38795 },
38796 "tree": [
38797 {
38798 "doctype": "html"
38799 },
38800 {
38801 "tag": "html",
38802 "children": [
38803 {
38804 "tag": "head",
38805 "children": [
38806 {
38807 "tag": "script",
38808 "children": [
38809 {
38810 "text": "<!--<script",
38811 "no_escape": true
38812 }
38813 ]
38814 }
38815 ]
38816 },
38817 {
38818 "tag": "body"
38819 }
38820 ]
38821 }
38822 ],
38823 "html": "<!DOCTYPE html><html><head><script><!--<script</script></head><body></body></html>",
38824 "noQuirksBodyHtml": "<script><!--<script</script>"
38825 }
38826 },
38827 {
38828 "data": "<!doctype html><script><!--<script ",
38829 "errors": [
38830 "(1,35): eof-in-script-in-script",
38831 "(1,35): expected-named-closing-tag-but-got-eof"
38832 ],
38833 "document": {
38834 "props": {
38835 "tags": {
38836 "html": true,
38837 "head": true,
38838 "script": true,
38839 "body": true
38840 },
38841 "doctype": true,
38842 "no_escape": true
38843 },
38844 "tree": [
38845 {
38846 "doctype": "html"
38847 },
38848 {
38849 "tag": "html",
38850 "children": [
38851 {
38852 "tag": "head",
38853 "children": [
38854 {
38855 "tag": "script",
38856 "children": [
38857 {
38858 "text": "<!--<script ",
38859 "no_escape": true
38860 }
38861 ]
38862 }
38863 ]
38864 },
38865 {
38866 "tag": "body"
38867 }
38868 ]
38869 }
38870 ],
38871 "html": "<!DOCTYPE html><html><head><script><!--<script </script></head><body></body></html>",
38872 "noQuirksBodyHtml": "<script><!--<script </script>"
38873 }
38874 },
38875 {
38876 "data": "<!doctype html><script><!--<script <",
38877 "errors": [
38878 "(1,36): eof-in-script-in-script",
38879 "(1,36): expected-named-closing-tag-but-got-eof"
38880 ],
38881 "document": {
38882 "props": {
38883 "tags": {
38884 "html": true,
38885 "head": true,
38886 "script": true,
38887 "body": true
38888 },
38889 "doctype": true,
38890 "no_escape": true
38891 },
38892 "tree": [
38893 {
38894 "doctype": "html"
38895 },
38896 {
38897 "tag": "html",
38898 "children": [
38899 {
38900 "tag": "head",
38901 "children": [
38902 {
38903 "tag": "script",
38904 "children": [
38905 {
38906 "text": "<!--<script <",
38907 "no_escape": true
38908 }
38909 ]
38910 }
38911 ]
38912 },
38913 {
38914 "tag": "body"
38915 }
38916 ]
38917 }
38918 ],
38919 "html": "<!DOCTYPE html><html><head><script><!--<script <</script></head><body></body></html>",
38920 "noQuirksBodyHtml": "<script><!--<script <</script>"
38921 }
38922 },
38923 {
38924 "data": "<!doctype html><script><!--<script <a",
38925 "errors": [
38926 "(1,37): eof-in-script-in-script",
38927 "(1,37): expected-named-closing-tag-but-got-eof"
38928 ],
38929 "document": {
38930 "props": {
38931 "tags": {
38932 "html": true,
38933 "head": true,
38934 "script": true,
38935 "body": true
38936 },
38937 "doctype": true,
38938 "no_escape": true
38939 },
38940 "tree": [
38941 {
38942 "doctype": "html"
38943 },
38944 {
38945 "tag": "html",
38946 "children": [
38947 {
38948 "tag": "head",
38949 "children": [
38950 {
38951 "tag": "script",
38952 "children": [
38953 {
38954 "text": "<!--<script <a",
38955 "no_escape": true
38956 }
38957 ]
38958 }
38959 ]
38960 },
38961 {
38962 "tag": "body"
38963 }
38964 ]
38965 }
38966 ],
38967 "html": "<!DOCTYPE html><html><head><script><!--<script <a</script></head><body></body></html>",
38968 "noQuirksBodyHtml": "<script><!--<script <a</script>"
38969 }
38970 },
38971 {
38972 "data": "<!doctype html><script><!--<script </",
38973 "errors": [
38974 "(1,37): eof-in-script-in-script",
38975 "(1,37): expected-named-closing-tag-but-got-eof"
38976 ],
38977 "document": {
38978 "props": {
38979 "tags": {
38980 "html": true,
38981 "head": true,
38982 "script": true,
38983 "body": true
38984 },
38985 "doctype": true,
38986 "no_escape": true
38987 },
38988 "tree": [
38989 {
38990 "doctype": "html"
38991 },
38992 {
38993 "tag": "html",
38994 "children": [
38995 {
38996 "tag": "head",
38997 "children": [
38998 {
38999 "tag": "script",
39000 "children": [
39001 {
39002 "text": "<!--<script </",
39003 "no_escape": true
39004 }
39005 ]
39006 }
39007 ]
39008 },
39009 {
39010 "tag": "body"
39011 }
39012 ]
39013 }
39014 ],
39015 "html": "<!DOCTYPE html><html><head><script><!--<script </</script></head><body></body></html>",
39016 "noQuirksBodyHtml": "<script><!--<script </</script>"
39017 }
39018 },
39019 {
39020 "data": "<!doctype html><script><!--<script </s",
39021 "errors": [
39022 "(1,38): eof-in-script-in-script",
39023 "(1,38): expected-named-closing-tag-but-got-eof"
39024 ],
39025 "document": {
39026 "props": {
39027 "tags": {
39028 "html": true,
39029 "head": true,
39030 "script": true,
39031 "body": true
39032 },
39033 "doctype": true,
39034 "no_escape": true
39035 },
39036 "tree": [
39037 {
39038 "doctype": "html"
39039 },
39040 {
39041 "tag": "html",
39042 "children": [
39043 {
39044 "tag": "head",
39045 "children": [
39046 {
39047 "tag": "script",
39048 "children": [
39049 {
39050 "text": "<!--<script </s",
39051 "no_escape": true
39052 }
39053 ]
39054 }
39055 ]
39056 },
39057 {
39058 "tag": "body"
39059 }
39060 ]
39061 }
39062 ],
39063 "html": "<!DOCTYPE html><html><head><script><!--<script </s</script></head><body></body></html>",
39064 "noQuirksBodyHtml": "<script><!--<script </s</script>"
39065 }
39066 },
39067 {
39068 "data": "<!doctype html><script><!--<script </script",
39069 "errors": [
39070 "(1,43): eof-in-script-in-script",
39071 "(1,43): expected-named-closing-tag-but-got-eof"
39072 ],
39073 "document": {
39074 "props": {
39075 "tags": {
39076 "html": true,
39077 "head": true,
39078 "script": true,
39079 "body": true
39080 },
39081 "doctype": true,
39082 "no_escape": true
39083 },
39084 "tree": [
39085 {
39086 "doctype": "html"
39087 },
39088 {
39089 "tag": "html",
39090 "children": [
39091 {
39092 "tag": "head",
39093 "children": [
39094 {
39095 "tag": "script",
39096 "children": [
39097 {
39098 "text": "<!--<script </script",
39099 "no_escape": true
39100 }
39101 ]
39102 }
39103 ]
39104 },
39105 {
39106 "tag": "body"
39107 }
39108 ]
39109 }
39110 ],
39111 "html": "<!DOCTYPE html><html><head><script><!--<script </script</script></head><body></body></html>",
39112 "noQuirksBodyHtml": "<script><!--<script </script</script>"
39113 }
39114 },
39115 {
39116 "data": "<!doctype html><script><!--<script </scripta",
39117 "errors": [
39118 "(1,44): eof-in-script-in-script",
39119 "(1,44): expected-named-closing-tag-but-got-eof"
39120 ],
39121 "document": {
39122 "props": {
39123 "tags": {
39124 "html": true,
39125 "head": true,
39126 "script": true,
39127 "body": true
39128 },
39129 "doctype": true,
39130 "no_escape": true
39131 },
39132 "tree": [
39133 {
39134 "doctype": "html"
39135 },
39136 {
39137 "tag": "html",
39138 "children": [
39139 {
39140 "tag": "head",
39141 "children": [
39142 {
39143 "tag": "script",
39144 "children": [
39145 {
39146 "text": "<!--<script </scripta",
39147 "no_escape": true
39148 }
39149 ]
39150 }
39151 ]
39152 },
39153 {
39154 "tag": "body"
39155 }
39156 ]
39157 }
39158 ],
39159 "html": "<!DOCTYPE html><html><head><script><!--<script </scripta</script></head><body></body></html>",
39160 "noQuirksBodyHtml": "<script><!--<script </scripta</script>"
39161 }
39162 },
39163 {
39164 "data": "<!doctype html><script><!--<script </script ",
39165 "errors": [
39166 "(1,44): expected-named-closing-tag-but-got-eof",
39167 "(1,44): unexpected-eof-in-text-mode"
39168 ],
39169 "document": {
39170 "props": {
39171 "tags": {
39172 "html": true,
39173 "head": true,
39174 "script": true,
39175 "body": true
39176 },
39177 "doctype": true,
39178 "no_escape": true
39179 },
39180 "tree": [
39181 {
39182 "doctype": "html"
39183 },
39184 {
39185 "tag": "html",
39186 "children": [
39187 {
39188 "tag": "head",
39189 "children": [
39190 {
39191 "tag": "script",
39192 "children": [
39193 {
39194 "text": "<!--<script </script ",
39195 "no_escape": true
39196 }
39197 ]
39198 }
39199 ]
39200 },
39201 {
39202 "tag": "body"
39203 }
39204 ]
39205 }
39206 ],
39207 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
39208 "noQuirksBodyHtml": "<script><!--<script </script </script>"
39209 }
39210 },
39211 {
39212 "data": "<!doctype html><script><!--<script </script>",
39213 "errors": [
39214 "(1,44): expected-named-closing-tag-but-got-eof",
39215 "(1,44): unexpected-eof-in-text-mode"
39216 ],
39217 "document": {
39218 "props": {
39219 "tags": {
39220 "html": true,
39221 "head": true,
39222 "script": true,
39223 "body": true
39224 },
39225 "doctype": true,
39226 "no_escape": true
39227 },
39228 "tree": [
39229 {
39230 "doctype": "html"
39231 },
39232 {
39233 "tag": "html",
39234 "children": [
39235 {
39236 "tag": "head",
39237 "children": [
39238 {
39239 "tag": "script",
39240 "children": [
39241 {
39242 "text": "<!--<script </script>",
39243 "no_escape": true
39244 }
39245 ]
39246 }
39247 ]
39248 },
39249 {
39250 "tag": "body"
39251 }
39252 ]
39253 }
39254 ],
39255 "html": "<!DOCTYPE html><html><head><script><!--<script </script></script></head><body></body></html>",
39256 "noQuirksBodyHtml": "<script><!--<script </script></script>"
39257 }
39258 },
39259 {
39260 "data": "<!doctype html><script><!--<script </script/",
39261 "errors": [
39262 "(1,44): expected-named-closing-tag-but-got-eof",
39263 "(1,44): unexpected-eof-in-text-mode"
39264 ],
39265 "document": {
39266 "props": {
39267 "tags": {
39268 "html": true,
39269 "head": true,
39270 "script": true,
39271 "body": true
39272 },
39273 "doctype": true,
39274 "no_escape": true
39275 },
39276 "tree": [
39277 {
39278 "doctype": "html"
39279 },
39280 {
39281 "tag": "html",
39282 "children": [
39283 {
39284 "tag": "head",
39285 "children": [
39286 {
39287 "tag": "script",
39288 "children": [
39289 {
39290 "text": "<!--<script </script/",
39291 "no_escape": true
39292 }
39293 ]
39294 }
39295 ]
39296 },
39297 {
39298 "tag": "body"
39299 }
39300 ]
39301 }
39302 ],
39303 "html": "<!DOCTYPE html><html><head><script><!--<script </script/</script></head><body></body></html>",
39304 "noQuirksBodyHtml": "<script><!--<script </script/</script>"
39305 }
39306 },
39307 {
39308 "data": "<!doctype html><script><!--<script </script <",
39309 "errors": [
39310 "(1,45): expected-named-closing-tag-but-got-eof",
39311 "(1,45): unexpected-eof-in-text-mode"
39312 ],
39313 "document": {
39314 "props": {
39315 "tags": {
39316 "html": true,
39317 "head": true,
39318 "script": true,
39319 "body": true
39320 },
39321 "doctype": true,
39322 "no_escape": true
39323 },
39324 "tree": [
39325 {
39326 "doctype": "html"
39327 },
39328 {
39329 "tag": "html",
39330 "children": [
39331 {
39332 "tag": "head",
39333 "children": [
39334 {
39335 "tag": "script",
39336 "children": [
39337 {
39338 "text": "<!--<script </script <",
39339 "no_escape": true
39340 }
39341 ]
39342 }
39343 ]
39344 },
39345 {
39346 "tag": "body"
39347 }
39348 ]
39349 }
39350 ],
39351 "html": "<!DOCTYPE html><html><head><script><!--<script </script <</script></head><body></body></html>",
39352 "noQuirksBodyHtml": "<script><!--<script </script <</script>"
39353 }
39354 },
39355 {
39356 "data": "<!doctype html><script><!--<script </script <a",
39357 "errors": [
39358 "(1,46): expected-named-closing-tag-but-got-eof",
39359 "(1,46): unexpected-eof-in-text-mode"
39360 ],
39361 "document": {
39362 "props": {
39363 "tags": {
39364 "html": true,
39365 "head": true,
39366 "script": true,
39367 "body": true
39368 },
39369 "doctype": true,
39370 "no_escape": true
39371 },
39372 "tree": [
39373 {
39374 "doctype": "html"
39375 },
39376 {
39377 "tag": "html",
39378 "children": [
39379 {
39380 "tag": "head",
39381 "children": [
39382 {
39383 "tag": "script",
39384 "children": [
39385 {
39386 "text": "<!--<script </script <a",
39387 "no_escape": true
39388 }
39389 ]
39390 }
39391 ]
39392 },
39393 {
39394 "tag": "body"
39395 }
39396 ]
39397 }
39398 ],
39399 "html": "<!DOCTYPE html><html><head><script><!--<script </script <a</script></head><body></body></html>",
39400 "noQuirksBodyHtml": "<script><!--<script </script <a</script>"
39401 }
39402 },
39403 {
39404 "data": "<!doctype html><script><!--<script </script </",
39405 "errors": [
39406 "(1,46): expected-named-closing-tag-but-got-eof",
39407 "(1,46): unexpected-eof-in-text-mode"
39408 ],
39409 "document": {
39410 "props": {
39411 "tags": {
39412 "html": true,
39413 "head": true,
39414 "script": true,
39415 "body": true
39416 },
39417 "doctype": true,
39418 "no_escape": true
39419 },
39420 "tree": [
39421 {
39422 "doctype": "html"
39423 },
39424 {
39425 "tag": "html",
39426 "children": [
39427 {
39428 "tag": "head",
39429 "children": [
39430 {
39431 "tag": "script",
39432 "children": [
39433 {
39434 "text": "<!--<script </script </",
39435 "no_escape": true
39436 }
39437 ]
39438 }
39439 ]
39440 },
39441 {
39442 "tag": "body"
39443 }
39444 ]
39445 }
39446 ],
39447 "html": "<!DOCTYPE html><html><head><script><!--<script </script </</script></head><body></body></html>",
39448 "noQuirksBodyHtml": "<script><!--<script </script </</script>"
39449 }
39450 },
39451 {
39452 "data": "<!doctype html><script><!--<script </script </script",
39453 "errors": [
39454 "(1,52): expected-named-closing-tag-but-got-eof",
39455 "(1,52): unexpected-eof-in-text-mode"
39456 ],
39457 "document": {
39458 "props": {
39459 "tags": {
39460 "html": true,
39461 "head": true,
39462 "script": true,
39463 "body": true
39464 },
39465 "doctype": true,
39466 "no_escape": true
39467 },
39468 "tree": [
39469 {
39470 "doctype": "html"
39471 },
39472 {
39473 "tag": "html",
39474 "children": [
39475 {
39476 "tag": "head",
39477 "children": [
39478 {
39479 "tag": "script",
39480 "children": [
39481 {
39482 "text": "<!--<script </script </script",
39483 "no_escape": true
39484 }
39485 ]
39486 }
39487 ]
39488 },
39489 {
39490 "tag": "body"
39491 }
39492 ]
39493 }
39494 ],
39495 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script</script></head><body></body></html>",
39496 "noQuirksBodyHtml": "<script><!--<script </script </script</script>"
39497 }
39498 },
39499 {
39500 "data": "<!doctype html><script><!--<script </script </script ",
39501 "errors": [
39502 "(1,53): expected-attribute-name-but-got-eof",
39503 "(1,53): expected-named-closing-tag-but-got-eof"
39504 ],
39505 "document": {
39506 "props": {
39507 "tags": {
39508 "html": true,
39509 "head": true,
39510 "script": true,
39511 "body": true
39512 },
39513 "doctype": true,
39514 "no_escape": true
39515 },
39516 "tree": [
39517 {
39518 "doctype": "html"
39519 },
39520 {
39521 "tag": "html",
39522 "children": [
39523 {
39524 "tag": "head",
39525 "children": [
39526 {
39527 "tag": "script",
39528 "children": [
39529 {
39530 "text": "<!--<script </script ",
39531 "no_escape": true
39532 }
39533 ]
39534 }
39535 ]
39536 },
39537 {
39538 "tag": "body"
39539 }
39540 ]
39541 }
39542 ],
39543 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
39544 "noQuirksBodyHtml": "<script><!--<script </script </script>"
39545 }
39546 },
39547 {
39548 "data": "<!doctype html><script><!--<script </script </script/",
39549 "errors": [
39550 "(1,53): unexpected-EOF-after-solidus-in-tag",
39551 "(1,53): expected-named-closing-tag-but-got-eof"
39552 ],
39553 "document": {
39554 "props": {
39555 "tags": {
39556 "html": true,
39557 "head": true,
39558 "script": true,
39559 "body": true
39560 },
39561 "doctype": true,
39562 "no_escape": true
39563 },
39564 "tree": [
39565 {
39566 "doctype": "html"
39567 },
39568 {
39569 "tag": "html",
39570 "children": [
39571 {
39572 "tag": "head",
39573 "children": [
39574 {
39575 "tag": "script",
39576 "children": [
39577 {
39578 "text": "<!--<script </script ",
39579 "no_escape": true
39580 }
39581 ]
39582 }
39583 ]
39584 },
39585 {
39586 "tag": "body"
39587 }
39588 ]
39589 }
39590 ],
39591 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
39592 "noQuirksBodyHtml": "<script><!--<script </script </script>"
39593 }
39594 },
39595 {
39596 "data": "<!doctype html><script><!--<script </script </script>",
39597 "errors": [],
39598 "document": {
39599 "props": {
39600 "tags": {
39601 "html": true,
39602 "head": true,
39603 "script": true,
39604 "body": true
39605 },
39606 "doctype": true,
39607 "no_escape": true
39608 },
39609 "tree": [
39610 {
39611 "doctype": "html"
39612 },
39613 {
39614 "tag": "html",
39615 "children": [
39616 {
39617 "tag": "head",
39618 "children": [
39619 {
39620 "tag": "script",
39621 "children": [
39622 {
39623 "text": "<!--<script </script ",
39624 "no_escape": true
39625 }
39626 ]
39627 }
39628 ]
39629 },
39630 {
39631 "tag": "body"
39632 }
39633 ]
39634 }
39635 ],
39636 "html": "<!DOCTYPE html><html><head><script><!--<script </script </script></head><body></body></html>",
39637 "noQuirksBodyHtml": "<script><!--<script </script </script>"
39638 }
39639 },
39640 {
39641 "data": "<!doctype html><script><!--<script -",
39642 "errors": [
39643 "(1,36): eof-in-script-in-script",
39644 "(1,36): expected-named-closing-tag-but-got-eof"
39645 ],
39646 "document": {
39647 "props": {
39648 "tags": {
39649 "html": true,
39650 "head": true,
39651 "script": true,
39652 "body": true
39653 },
39654 "doctype": true,
39655 "no_escape": true
39656 },
39657 "tree": [
39658 {
39659 "doctype": "html"
39660 },
39661 {
39662 "tag": "html",
39663 "children": [
39664 {
39665 "tag": "head",
39666 "children": [
39667 {
39668 "tag": "script",
39669 "children": [
39670 {
39671 "text": "<!--<script -",
39672 "no_escape": true
39673 }
39674 ]
39675 }
39676 ]
39677 },
39678 {
39679 "tag": "body"
39680 }
39681 ]
39682 }
39683 ],
39684 "html": "<!DOCTYPE html><html><head><script><!--<script -</script></head><body></body></html>",
39685 "noQuirksBodyHtml": "<script><!--<script -</script>"
39686 }
39687 },
39688 {
39689 "data": "<!doctype html><script><!--<script -a",
39690 "errors": [
39691 "(1,37): eof-in-script-in-script",
39692 "(1,37): expected-named-closing-tag-but-got-eof"
39693 ],
39694 "document": {
39695 "props": {
39696 "tags": {
39697 "html": true,
39698 "head": true,
39699 "script": true,
39700 "body": true
39701 },
39702 "doctype": true,
39703 "no_escape": true
39704 },
39705 "tree": [
39706 {
39707 "doctype": "html"
39708 },
39709 {
39710 "tag": "html",
39711 "children": [
39712 {
39713 "tag": "head",
39714 "children": [
39715 {
39716 "tag": "script",
39717 "children": [
39718 {
39719 "text": "<!--<script -a",
39720 "no_escape": true
39721 }
39722 ]
39723 }
39724 ]
39725 },
39726 {
39727 "tag": "body"
39728 }
39729 ]
39730 }
39731 ],
39732 "html": "<!DOCTYPE html><html><head><script><!--<script -a</script></head><body></body></html>",
39733 "noQuirksBodyHtml": "<script><!--<script -a</script>"
39734 }
39735 },
39736 {
39737 "data": "<!doctype html><script><!--<script -<",
39738 "errors": [
39739 "(1,37): eof-in-script-in-script",
39740 "(1,37): expected-named-closing-tag-but-got-eof"
39741 ],
39742 "document": {
39743 "props": {
39744 "tags": {
39745 "html": true,
39746 "head": true,
39747 "script": true,
39748 "body": true
39749 },
39750 "doctype": true,
39751 "no_escape": true
39752 },
39753 "tree": [
39754 {
39755 "doctype": "html"
39756 },
39757 {
39758 "tag": "html",
39759 "children": [
39760 {
39761 "tag": "head",
39762 "children": [
39763 {
39764 "tag": "script",
39765 "children": [
39766 {
39767 "text": "<!--<script -<",
39768 "no_escape": true
39769 }
39770 ]
39771 }
39772 ]
39773 },
39774 {
39775 "tag": "body"
39776 }
39777 ]
39778 }
39779 ],
39780 "html": "<!DOCTYPE html><html><head><script><!--<script -<</script></head><body></body></html>",
39781 "noQuirksBodyHtml": "<script><!--<script -<</script>"
39782 }
39783 },
39784 {
39785 "data": "<!doctype html><script><!--<script --",
39786 "errors": [
39787 "(1,37): eof-in-script-in-script",
39788 "(1,37): expected-named-closing-tag-but-got-eof"
39789 ],
39790 "document": {
39791 "props": {
39792 "tags": {
39793 "html": true,
39794 "head": true,
39795 "script": true,
39796 "body": true
39797 },
39798 "doctype": true,
39799 "no_escape": true
39800 },
39801 "tree": [
39802 {
39803 "doctype": "html"
39804 },
39805 {
39806 "tag": "html",
39807 "children": [
39808 {
39809 "tag": "head",
39810 "children": [
39811 {
39812 "tag": "script",
39813 "children": [
39814 {
39815 "text": "<!--<script --",
39816 "no_escape": true
39817 }
39818 ]
39819 }
39820 ]
39821 },
39822 {
39823 "tag": "body"
39824 }
39825 ]
39826 }
39827 ],
39828 "html": "<!DOCTYPE html><html><head><script><!--<script --</script></head><body></body></html>",
39829 "noQuirksBodyHtml": "<script><!--<script --</script>"
39830 }
39831 },
39832 {
39833 "data": "<!doctype html><script><!--<script --a",
39834 "errors": [
39835 "(1,38): eof-in-script-in-script",
39836 "(1,38): expected-named-closing-tag-but-got-eof"
39837 ],
39838 "document": {
39839 "props": {
39840 "tags": {
39841 "html": true,
39842 "head": true,
39843 "script": true,
39844 "body": true
39845 },
39846 "doctype": true,
39847 "no_escape": true
39848 },
39849 "tree": [
39850 {
39851 "doctype": "html"
39852 },
39853 {
39854 "tag": "html",
39855 "children": [
39856 {
39857 "tag": "head",
39858 "children": [
39859 {
39860 "tag": "script",
39861 "children": [
39862 {
39863 "text": "<!--<script --a",
39864 "no_escape": true
39865 }
39866 ]
39867 }
39868 ]
39869 },
39870 {
39871 "tag": "body"
39872 }
39873 ]
39874 }
39875 ],
39876 "html": "<!DOCTYPE html><html><head><script><!--<script --a</script></head><body></body></html>",
39877 "noQuirksBodyHtml": "<script><!--<script --a</script>"
39878 }
39879 },
39880 {
39881 "data": "<!doctype html><script><!--<script --<",
39882 "errors": [
39883 "(1,38): eof-in-script-in-script",
39884 "(1,38): expected-named-closing-tag-but-got-eof"
39885 ],
39886 "document": {
39887 "props": {
39888 "tags": {
39889 "html": true,
39890 "head": true,
39891 "script": true,
39892 "body": true
39893 },
39894 "doctype": true,
39895 "no_escape": true
39896 },
39897 "tree": [
39898 {
39899 "doctype": "html"
39900 },
39901 {
39902 "tag": "html",
39903 "children": [
39904 {
39905 "tag": "head",
39906 "children": [
39907 {
39908 "tag": "script",
39909 "children": [
39910 {
39911 "text": "<!--<script --<",
39912 "no_escape": true
39913 }
39914 ]
39915 }
39916 ]
39917 },
39918 {
39919 "tag": "body"
39920 }
39921 ]
39922 }
39923 ],
39924 "html": "<!DOCTYPE html><html><head><script><!--<script --<</script></head><body></body></html>",
39925 "noQuirksBodyHtml": "<script><!--<script --<</script>"
39926 }
39927 },
39928 {
39929 "data": "<!doctype html><script><!--<script -->",
39930 "errors": [
39931 "(1,38): expected-named-closing-tag-but-got-eof"
39932 ],
39933 "document": {
39934 "props": {
39935 "tags": {
39936 "html": true,
39937 "head": true,
39938 "script": true,
39939 "body": true
39940 },
39941 "doctype": true,
39942 "no_escape": true
39943 },
39944 "tree": [
39945 {
39946 "doctype": "html"
39947 },
39948 {
39949 "tag": "html",
39950 "children": [
39951 {
39952 "tag": "head",
39953 "children": [
39954 {
39955 "tag": "script",
39956 "children": [
39957 {
39958 "text": "<!--<script -->",
39959 "no_escape": true
39960 }
39961 ]
39962 }
39963 ]
39964 },
39965 {
39966 "tag": "body"
39967 }
39968 ]
39969 }
39970 ],
39971 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
39972 "noQuirksBodyHtml": "<script><!--<script --></script>"
39973 }
39974 },
39975 {
39976 "data": "<!doctype html><script><!--<script --><",
39977 "errors": [
39978 "(1,39): expected-named-closing-tag-but-got-eof"
39979 ],
39980 "document": {
39981 "props": {
39982 "tags": {
39983 "html": true,
39984 "head": true,
39985 "script": true,
39986 "body": true
39987 },
39988 "doctype": true,
39989 "no_escape": true
39990 },
39991 "tree": [
39992 {
39993 "doctype": "html"
39994 },
39995 {
39996 "tag": "html",
39997 "children": [
39998 {
39999 "tag": "head",
40000 "children": [
40001 {
40002 "tag": "script",
40003 "children": [
40004 {
40005 "text": "<!--<script --><",
40006 "no_escape": true
40007 }
40008 ]
40009 }
40010 ]
40011 },
40012 {
40013 "tag": "body"
40014 }
40015 ]
40016 }
40017 ],
40018 "html": "<!DOCTYPE html><html><head><script><!--<script --><</script></head><body></body></html>",
40019 "noQuirksBodyHtml": "<script><!--<script --><</script>"
40020 }
40021 },
40022 {
40023 "data": "<!doctype html><script><!--<script --></",
40024 "errors": [
40025 "(1,40): expected-named-closing-tag-but-got-eof"
40026 ],
40027 "document": {
40028 "props": {
40029 "tags": {
40030 "html": true,
40031 "head": true,
40032 "script": true,
40033 "body": true
40034 },
40035 "doctype": true,
40036 "no_escape": true
40037 },
40038 "tree": [
40039 {
40040 "doctype": "html"
40041 },
40042 {
40043 "tag": "html",
40044 "children": [
40045 {
40046 "tag": "head",
40047 "children": [
40048 {
40049 "tag": "script",
40050 "children": [
40051 {
40052 "text": "<!--<script --></",
40053 "no_escape": true
40054 }
40055 ]
40056 }
40057 ]
40058 },
40059 {
40060 "tag": "body"
40061 }
40062 ]
40063 }
40064 ],
40065 "html": "<!DOCTYPE html><html><head><script><!--<script --></</script></head><body></body></html>",
40066 "noQuirksBodyHtml": "<script><!--<script --></</script>"
40067 }
40068 },
40069 {
40070 "data": "<!doctype html><script><!--<script --></script",
40071 "errors": [
40072 "(1,46): expected-named-closing-tag-but-got-eof"
40073 ],
40074 "document": {
40075 "props": {
40076 "tags": {
40077 "html": true,
40078 "head": true,
40079 "script": true,
40080 "body": true
40081 },
40082 "doctype": true,
40083 "no_escape": true
40084 },
40085 "tree": [
40086 {
40087 "doctype": "html"
40088 },
40089 {
40090 "tag": "html",
40091 "children": [
40092 {
40093 "tag": "head",
40094 "children": [
40095 {
40096 "tag": "script",
40097 "children": [
40098 {
40099 "text": "<!--<script --></script",
40100 "no_escape": true
40101 }
40102 ]
40103 }
40104 ]
40105 },
40106 {
40107 "tag": "body"
40108 }
40109 ]
40110 }
40111 ],
40112 "html": "<!DOCTYPE html><html><head><script><!--<script --></script</script></head><body></body></html>",
40113 "noQuirksBodyHtml": "<script><!--<script --></script</script>"
40114 }
40115 },
40116 {
40117 "data": "<!doctype html><script><!--<script --></script ",
40118 "errors": [
40119 "(1,47): expected-attribute-name-but-got-eof",
40120 "(1,47): expected-named-closing-tag-but-got-eof"
40121 ],
40122 "document": {
40123 "props": {
40124 "tags": {
40125 "html": true,
40126 "head": true,
40127 "script": true,
40128 "body": true
40129 },
40130 "doctype": true,
40131 "no_escape": true
40132 },
40133 "tree": [
40134 {
40135 "doctype": "html"
40136 },
40137 {
40138 "tag": "html",
40139 "children": [
40140 {
40141 "tag": "head",
40142 "children": [
40143 {
40144 "tag": "script",
40145 "children": [
40146 {
40147 "text": "<!--<script -->",
40148 "no_escape": true
40149 }
40150 ]
40151 }
40152 ]
40153 },
40154 {
40155 "tag": "body"
40156 }
40157 ]
40158 }
40159 ],
40160 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
40161 "noQuirksBodyHtml": "<script><!--<script --></script>"
40162 }
40163 },
40164 {
40165 "data": "<!doctype html><script><!--<script --></script/",
40166 "errors": [
40167 "(1,47): unexpected-EOF-after-solidus-in-tag",
40168 "(1,47): expected-named-closing-tag-but-got-eof"
40169 ],
40170 "document": {
40171 "props": {
40172 "tags": {
40173 "html": true,
40174 "head": true,
40175 "script": true,
40176 "body": true
40177 },
40178 "doctype": true,
40179 "no_escape": true
40180 },
40181 "tree": [
40182 {
40183 "doctype": "html"
40184 },
40185 {
40186 "tag": "html",
40187 "children": [
40188 {
40189 "tag": "head",
40190 "children": [
40191 {
40192 "tag": "script",
40193 "children": [
40194 {
40195 "text": "<!--<script -->",
40196 "no_escape": true
40197 }
40198 ]
40199 }
40200 ]
40201 },
40202 {
40203 "tag": "body"
40204 }
40205 ]
40206 }
40207 ],
40208 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
40209 "noQuirksBodyHtml": "<script><!--<script --></script>"
40210 }
40211 },
40212 {
40213 "data": "<!doctype html><script><!--<script --></script>",
40214 "errors": [],
40215 "document": {
40216 "props": {
40217 "tags": {
40218 "html": true,
40219 "head": true,
40220 "script": true,
40221 "body": true
40222 },
40223 "doctype": true,
40224 "no_escape": true
40225 },
40226 "tree": [
40227 {
40228 "doctype": "html"
40229 },
40230 {
40231 "tag": "html",
40232 "children": [
40233 {
40234 "tag": "head",
40235 "children": [
40236 {
40237 "tag": "script",
40238 "children": [
40239 {
40240 "text": "<!--<script -->",
40241 "no_escape": true
40242 }
40243 ]
40244 }
40245 ]
40246 },
40247 {
40248 "tag": "body"
40249 }
40250 ]
40251 }
40252 ],
40253 "html": "<!DOCTYPE html><html><head><script><!--<script --></script></head><body></body></html>",
40254 "noQuirksBodyHtml": "<script><!--<script --></script>"
40255 }
40256 },
40257 {
40258 "data": "<!doctype html><script><!--<script><\\/script>--></script>",
40259 "errors": [],
40260 "document": {
40261 "props": {
40262 "tags": {
40263 "html": true,
40264 "head": true,
40265 "script": true,
40266 "body": true
40267 },
40268 "doctype": true,
40269 "no_escape": true
40270 },
40271 "tree": [
40272 {
40273 "doctype": "html"
40274 },
40275 {
40276 "tag": "html",
40277 "children": [
40278 {
40279 "tag": "head",
40280 "children": [
40281 {
40282 "tag": "script",
40283 "children": [
40284 {
40285 "text": "<!--<script><\\/script>-->",
40286 "no_escape": true
40287 }
40288 ]
40289 }
40290 ]
40291 },
40292 {
40293 "tag": "body"
40294 }
40295 ]
40296 }
40297 ],
40298 "html": "<!DOCTYPE html><html><head><script><!--<script><\\/script>--></script></head><body></body></html>",
40299 "noQuirksBodyHtml": "<script><!--<script><\\/script>--></script>"
40300 }
40301 },
40302 {
40303 "data": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
40304 "errors": [],
40305 "document": {
40306 "props": {
40307 "tags": {
40308 "html": true,
40309 "head": true,
40310 "script": true,
40311 "body": true
40312 },
40313 "doctype": true,
40314 "no_escape": true
40315 },
40316 "tree": [
40317 {
40318 "doctype": "html"
40319 },
40320 {
40321 "tag": "html",
40322 "children": [
40323 {
40324 "tag": "head",
40325 "children": [
40326 {
40327 "tag": "script",
40328 "children": [
40329 {
40330 "text": "<!--<script></scr'+'ipt>-->",
40331 "no_escape": true
40332 }
40333 ]
40334 }
40335 ]
40336 },
40337 {
40338 "tag": "body"
40339 }
40340 ]
40341 }
40342 ],
40343 "html": "<!DOCTYPE html><html><head><script><!--<script></scr'+'ipt>--></script></head><body></body></html>",
40344 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt>--></script>"
40345 }
40346 },
40347 {
40348 "data": "<!doctype html><script><!--<script></script><script></script></script>",
40349 "errors": [],
40350 "document": {
40351 "props": {
40352 "tags": {
40353 "html": true,
40354 "head": true,
40355 "script": true,
40356 "body": true
40357 },
40358 "doctype": true,
40359 "no_escape": true
40360 },
40361 "tree": [
40362 {
40363 "doctype": "html"
40364 },
40365 {
40366 "tag": "html",
40367 "children": [
40368 {
40369 "tag": "head",
40370 "children": [
40371 {
40372 "tag": "script",
40373 "children": [
40374 {
40375 "text": "<!--<script></script><script></script>",
40376 "no_escape": true
40377 }
40378 ]
40379 }
40380 ]
40381 },
40382 {
40383 "tag": "body"
40384 }
40385 ]
40386 }
40387 ],
40388 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script></script></head><body></body></html>",
40389 "noQuirksBodyHtml": "<script><!--<script></script><script></script></script>"
40390 }
40391 },
40392 {
40393 "data": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
40394 "errors": [],
40395 "document": {
40396 "props": {
40397 "tags": {
40398 "html": true,
40399 "head": true,
40400 "script": true,
40401 "body": true
40402 },
40403 "doctype": true,
40404 "no_escape": true
40405 },
40406 "tree": [
40407 {
40408 "doctype": "html"
40409 },
40410 {
40411 "tag": "html",
40412 "children": [
40413 {
40414 "tag": "head",
40415 "children": [
40416 {
40417 "tag": "script",
40418 "children": [
40419 {
40420 "text": "<!--<script></script><script></script>--><!--",
40421 "no_escape": true
40422 }
40423 ]
40424 }
40425 ]
40426 },
40427 {
40428 "tag": "body"
40429 }
40430 ]
40431 }
40432 ],
40433 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>--><!--</script></head><body></body></html>",
40434 "noQuirksBodyHtml": "<script><!--<script></script><script></script>--><!--</script>"
40435 }
40436 },
40437 {
40438 "data": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
40439 "errors": [],
40440 "document": {
40441 "props": {
40442 "tags": {
40443 "html": true,
40444 "head": true,
40445 "script": true,
40446 "body": true
40447 },
40448 "doctype": true,
40449 "no_escape": true
40450 },
40451 "tree": [
40452 {
40453 "doctype": "html"
40454 },
40455 {
40456 "tag": "html",
40457 "children": [
40458 {
40459 "tag": "head",
40460 "children": [
40461 {
40462 "tag": "script",
40463 "children": [
40464 {
40465 "text": "<!--<script></script><script></script>-- >",
40466 "no_escape": true
40467 }
40468 ]
40469 }
40470 ]
40471 },
40472 {
40473 "tag": "body"
40474 }
40475 ]
40476 }
40477 ],
40478 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>-- ></script></head><body></body></html>",
40479 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-- ></script>"
40480 }
40481 },
40482 {
40483 "data": "<!doctype html><script><!--<script></script><script></script>- -></script>",
40484 "errors": [],
40485 "document": {
40486 "props": {
40487 "tags": {
40488 "html": true,
40489 "head": true,
40490 "script": true,
40491 "body": true
40492 },
40493 "doctype": true,
40494 "no_escape": true
40495 },
40496 "tree": [
40497 {
40498 "doctype": "html"
40499 },
40500 {
40501 "tag": "html",
40502 "children": [
40503 {
40504 "tag": "head",
40505 "children": [
40506 {
40507 "tag": "script",
40508 "children": [
40509 {
40510 "text": "<!--<script></script><script></script>- ->",
40511 "no_escape": true
40512 }
40513 ]
40514 }
40515 ]
40516 },
40517 {
40518 "tag": "body"
40519 }
40520 ]
40521 }
40522 ],
40523 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>- -></script></head><body></body></html>",
40524 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- -></script>"
40525 }
40526 },
40527 {
40528 "data": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
40529 "errors": [],
40530 "document": {
40531 "props": {
40532 "tags": {
40533 "html": true,
40534 "head": true,
40535 "script": true,
40536 "body": true
40537 },
40538 "doctype": true,
40539 "no_escape": true
40540 },
40541 "tree": [
40542 {
40543 "doctype": "html"
40544 },
40545 {
40546 "tag": "html",
40547 "children": [
40548 {
40549 "tag": "head",
40550 "children": [
40551 {
40552 "tag": "script",
40553 "children": [
40554 {
40555 "text": "<!--<script></script><script></script>- - >",
40556 "no_escape": true
40557 }
40558 ]
40559 }
40560 ]
40561 },
40562 {
40563 "tag": "body"
40564 }
40565 ]
40566 }
40567 ],
40568 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>- - ></script></head><body></body></html>",
40569 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- - ></script>"
40570 }
40571 },
40572 {
40573 "data": "<!doctype html><script><!--<script></script><script></script>-></script>",
40574 "errors": [],
40575 "document": {
40576 "props": {
40577 "tags": {
40578 "html": true,
40579 "head": true,
40580 "script": true,
40581 "body": true
40582 },
40583 "doctype": true,
40584 "no_escape": true
40585 },
40586 "tree": [
40587 {
40588 "doctype": "html"
40589 },
40590 {
40591 "tag": "html",
40592 "children": [
40593 {
40594 "tag": "head",
40595 "children": [
40596 {
40597 "tag": "script",
40598 "children": [
40599 {
40600 "text": "<!--<script></script><script></script>->",
40601 "no_escape": true
40602 }
40603 ]
40604 }
40605 ]
40606 },
40607 {
40608 "tag": "body"
40609 }
40610 ]
40611 }
40612 ],
40613 "html": "<!DOCTYPE html><html><head><script><!--<script></script><script></script>-></script></head><body></body></html>",
40614 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-></script>"
40615 }
40616 },
40617 {
40618 "data": "<!doctype html><script><!--<script>--!></script>X",
40619 "errors": [
40620 "(1,49): expected-named-closing-tag-but-got-eof",
40621 "(1,49): unexpected-EOF-in-text-mode"
40622 ],
40623 "document": {
40624 "props": {
40625 "tags": {
40626 "html": true,
40627 "head": true,
40628 "script": true,
40629 "body": true
40630 },
40631 "doctype": true,
40632 "no_escape": true
40633 },
40634 "tree": [
40635 {
40636 "doctype": "html"
40637 },
40638 {
40639 "tag": "html",
40640 "children": [
40641 {
40642 "tag": "head",
40643 "children": [
40644 {
40645 "tag": "script",
40646 "children": [
40647 {
40648 "text": "<!--<script>--!></script>X",
40649 "no_escape": true
40650 }
40651 ]
40652 }
40653 ]
40654 },
40655 {
40656 "tag": "body"
40657 }
40658 ]
40659 }
40660 ],
40661 "html": "<!DOCTYPE html><html><head><script><!--<script>--!></script>X</script></head><body></body></html>",
40662 "noQuirksBodyHtml": "<script><!--<script>--!></script>X</script>"
40663 }
40664 },
40665 {
40666 "data": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
40667 "errors": [
40668 "(1,59): unexpected-end-tag"
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 "escaped": true
40681 },
40682 "tree": [
40683 {
40684 "doctype": "html"
40685 },
40686 {
40687 "tag": "html",
40688 "children": [
40689 {
40690 "tag": "head",
40691 "children": [
40692 {
40693 "tag": "script",
40694 "children": [
40695 {
40696 "text": "<!--<scr'+'ipt>",
40697 "no_escape": true
40698 }
40699 ]
40700 }
40701 ]
40702 },
40703 {
40704 "tag": "body",
40705 "children": [
40706 {
40707 "text": "-->",
40708 "escaped": true
40709 }
40710 ]
40711 }
40712 ]
40713 }
40714 ],
40715 "html": "<!DOCTYPE html><html><head><script><!--<scr'+'ipt></script></head><body>--&gt;</body></html>",
40716 "noQuirksBodyHtml": "<script><!--<scr'+'ipt></script>--&gt;"
40717 }
40718 },
40719 {
40720 "data": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
40721 "errors": [
40722 "(1,57): expected-named-closing-tag-but-got-eof",
40723 "(1,57): unexpected-eof-in-text-mode"
40724 ],
40725 "document": {
40726 "props": {
40727 "tags": {
40728 "html": true,
40729 "head": true,
40730 "script": true,
40731 "body": true
40732 },
40733 "doctype": true,
40734 "no_escape": true
40735 },
40736 "tree": [
40737 {
40738 "doctype": "html"
40739 },
40740 {
40741 "tag": "html",
40742 "children": [
40743 {
40744 "tag": "head",
40745 "children": [
40746 {
40747 "tag": "script",
40748 "children": [
40749 {
40750 "text": "<!--<script></scr'+'ipt></script>X",
40751 "no_escape": true
40752 }
40753 ]
40754 }
40755 ]
40756 },
40757 {
40758 "tag": "body"
40759 }
40760 ]
40761 }
40762 ],
40763 "html": "<!DOCTYPE html><html><head><script><!--<script></scr'+'ipt></script>X</script></head><body></body></html>",
40764 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt></script>X</script>"
40765 }
40766 },
40767 {
40768 "data": "<!doctype html><style><!--<style></style>--></style>",
40769 "errors": [
40770 "(1,52): unexpected-end-tag"
40771 ],
40772 "document": {
40773 "props": {
40774 "tags": {
40775 "html": true,
40776 "head": true,
40777 "style": true,
40778 "body": true
40779 },
40780 "doctype": true,
40781 "no_escape": true,
40782 "escaped": true
40783 },
40784 "tree": [
40785 {
40786 "doctype": "html"
40787 },
40788 {
40789 "tag": "html",
40790 "children": [
40791 {
40792 "tag": "head",
40793 "children": [
40794 {
40795 "tag": "style",
40796 "children": [
40797 {
40798 "text": "<!--<style>",
40799 "no_escape": true
40800 }
40801 ]
40802 }
40803 ]
40804 },
40805 {
40806 "tag": "body",
40807 "children": [
40808 {
40809 "text": "-->",
40810 "escaped": true
40811 }
40812 ]
40813 }
40814 ]
40815 }
40816 ],
40817 "html": "<!DOCTYPE html><html><head><style><!--<style></style></head><body>--&gt;</body></html>",
40818 "noQuirksBodyHtml": "<style><!--<style></style>--&gt;"
40819 }
40820 },
40821 {
40822 "data": "<!doctype html><style><!--</style>X",
40823 "errors": [],
40824 "document": {
40825 "props": {
40826 "tags": {
40827 "html": true,
40828 "head": true,
40829 "style": true,
40830 "body": true
40831 },
40832 "doctype": true,
40833 "no_escape": true
40834 },
40835 "tree": [
40836 {
40837 "doctype": "html"
40838 },
40839 {
40840 "tag": "html",
40841 "children": [
40842 {
40843 "tag": "head",
40844 "children": [
40845 {
40846 "tag": "style",
40847 "children": [
40848 {
40849 "text": "<!--",
40850 "no_escape": true
40851 }
40852 ]
40853 }
40854 ]
40855 },
40856 {
40857 "tag": "body",
40858 "children": [
40859 {
40860 "text": "X"
40861 }
40862 ]
40863 }
40864 ]
40865 }
40866 ],
40867 "html": "<!DOCTYPE html><html><head><style><!--</style></head><body>X</body></html>",
40868 "noQuirksBodyHtml": "<style><!--</style>X"
40869 }
40870 },
40871 {
40872 "data": "<!doctype html><style><!--...</style>...--></style>",
40873 "errors": [
40874 "(1,51): unexpected-end-tag"
40875 ],
40876 "document": {
40877 "props": {
40878 "tags": {
40879 "html": true,
40880 "head": true,
40881 "style": true,
40882 "body": true
40883 },
40884 "doctype": true,
40885 "no_escape": true,
40886 "escaped": true
40887 },
40888 "tree": [
40889 {
40890 "doctype": "html"
40891 },
40892 {
40893 "tag": "html",
40894 "children": [
40895 {
40896 "tag": "head",
40897 "children": [
40898 {
40899 "tag": "style",
40900 "children": [
40901 {
40902 "text": "<!--...",
40903 "no_escape": true
40904 }
40905 ]
40906 }
40907 ]
40908 },
40909 {
40910 "tag": "body",
40911 "children": [
40912 {
40913 "text": "...-->",
40914 "escaped": true
40915 }
40916 ]
40917 }
40918 ]
40919 }
40920 ],
40921 "html": "<!DOCTYPE html><html><head><style><!--...</style></head><body>...--&gt;</body></html>",
40922 "noQuirksBodyHtml": "<style><!--...</style>...--&gt;"
40923 }
40924 },
40925 {
40926 "data": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
40927 "errors": [],
40928 "document": {
40929 "props": {
40930 "tags": {
40931 "html": true,
40932 "head": true,
40933 "style": true,
40934 "body": true
40935 },
40936 "doctype": true,
40937 "no_escape": true
40938 },
40939 "tree": [
40940 {
40941 "doctype": "html"
40942 },
40943 {
40944 "tag": "html",
40945 "children": [
40946 {
40947 "tag": "head",
40948 "children": [
40949 {
40950 "tag": "style",
40951 "children": [
40952 {
40953 "text": "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>",
40954 "no_escape": true
40955 }
40956 ]
40957 }
40958 ]
40959 },
40960 {
40961 "tag": "body",
40962 "children": [
40963 {
40964 "text": "X"
40965 }
40966 ]
40967 }
40968 ]
40969 }
40970 ],
40971 "html": "<!DOCTYPE html><html><head><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style></head><body>X</body></html>",
40972 "noQuirksBodyHtml": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X"
40973 }
40974 },
40975 {
40976 "data": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
40977 "errors": [
40978 "(1,66): unexpected-end-tag"
40979 ],
40980 "document": {
40981 "props": {
40982 "tags": {
40983 "html": true,
40984 "head": true,
40985 "style": true,
40986 "body": true
40987 },
40988 "doctype": true,
40989 "no_escape": true,
40990 "escaped": true
40991 },
40992 "tree": [
40993 {
40994 "doctype": "html"
40995 },
40996 {
40997 "tag": "html",
40998 "children": [
40999 {
41000 "tag": "head",
41001 "children": [
41002 {
41003 "tag": "style",
41004 "children": [
41005 {
41006 "text": "<!--...<style><!--...--!>",
41007 "no_escape": true
41008 }
41009 ]
41010 }
41011 ]
41012 },
41013 {
41014 "tag": "body",
41015 "children": [
41016 {
41017 "text": "-->",
41018 "escaped": true
41019 }
41020 ]
41021 }
41022 ]
41023 }
41024 ],
41025 "html": "<!DOCTYPE html><html><head><style><!--...<style><!--...--!></style></head><body>--&gt;</body></html>",
41026 "noQuirksBodyHtml": "<style><!--...<style><!--...--!></style>--&gt;"
41027 }
41028 },
41029 {
41030 "data": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
41031 "errors": [],
41032 "document": {
41033 "props": {
41034 "tags": {
41035 "html": true,
41036 "head": true,
41037 "style": true,
41038 "body": true
41039 },
41040 "doctype": true,
41041 "no_escape": true,
41042 "comment": true
41043 },
41044 "tree": [
41045 {
41046 "doctype": "html"
41047 },
41048 {
41049 "tag": "html",
41050 "children": [
41051 {
41052 "tag": "head",
41053 "children": [
41054 {
41055 "tag": "style",
41056 "children": [
41057 {
41058 "text": "<!--...",
41059 "no_escape": true
41060 }
41061 ]
41062 },
41063 {
41064 "comment": " "
41065 },
41066 {
41067 "tag": "style",
41068 "children": [
41069 {
41070 "text": "@import ...",
41071 "no_escape": true
41072 }
41073 ]
41074 }
41075 ]
41076 },
41077 {
41078 "tag": "body"
41079 }
41080 ]
41081 }
41082 ],
41083 "html": "<!DOCTYPE html><html><head><style><!--...</style><!-- --><style>@import ...</style></head><body></body></html>",
41084 "noQuirksBodyHtml": "<style><!--...</style><!-- --><style>@import ...</style>"
41085 }
41086 },
41087 {
41088 "data": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
41089 "errors": [
41090 "(1,63): unexpected-end-tag"
41091 ],
41092 "document": {
41093 "props": {
41094 "tags": {
41095 "html": true,
41096 "head": true,
41097 "style": true,
41098 "body": true
41099 },
41100 "doctype": true,
41101 "no_escape": true,
41102 "comment": true
41103 },
41104 "tree": [
41105 {
41106 "doctype": "html"
41107 },
41108 {
41109 "tag": "html",
41110 "children": [
41111 {
41112 "tag": "head",
41113 "children": [
41114 {
41115 "tag": "style",
41116 "children": [
41117 {
41118 "text": "...<style><!--...",
41119 "no_escape": true
41120 }
41121 ]
41122 },
41123 {
41124 "comment": " "
41125 }
41126 ]
41127 },
41128 {
41129 "tag": "body"
41130 }
41131 ]
41132 }
41133 ],
41134 "html": "<!DOCTYPE html><html><head><style>...<style><!--...</style><!-- --></head><body></body></html>",
41135 "noQuirksBodyHtml": "<style>...<style><!--...</style><!-- -->"
41136 }
41137 },
41138 {
41139 "data": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
41140 "errors": [],
41141 "document": {
41142 "props": {
41143 "tags": {
41144 "html": true,
41145 "head": true,
41146 "style": true,
41147 "body": true
41148 },
41149 "doctype": true,
41150 "no_escape": true
41151 },
41152 "tree": [
41153 {
41154 "doctype": "html"
41155 },
41156 {
41157 "tag": "html",
41158 "children": [
41159 {
41160 "tag": "head",
41161 "children": [
41162 {
41163 "tag": "style",
41164 "children": [
41165 {
41166 "text": "...<!--[if IE]><style>...",
41167 "no_escape": true
41168 }
41169 ]
41170 }
41171 ]
41172 },
41173 {
41174 "tag": "body",
41175 "children": [
41176 {
41177 "text": "X"
41178 }
41179 ]
41180 }
41181 ]
41182 }
41183 ],
41184 "html": "<!DOCTYPE html><html><head><style>...<!--[if IE]><style>...</style></head><body>X</body></html>",
41185 "noQuirksBodyHtml": "<style>...<!--[if IE]><style>...</style>X"
41186 }
41187 },
41188 {
41189 "data": "<!doctype html><title><!--<title></title>--></title>",
41190 "errors": [
41191 "(1,52): unexpected-end-tag"
41192 ],
41193 "document": {
41194 "props": {
41195 "tags": {
41196 "html": true,
41197 "head": true,
41198 "title": true,
41199 "body": true
41200 },
41201 "doctype": true,
41202 "escaped": true
41203 },
41204 "tree": [
41205 {
41206 "doctype": "html"
41207 },
41208 {
41209 "tag": "html",
41210 "children": [
41211 {
41212 "tag": "head",
41213 "children": [
41214 {
41215 "tag": "title",
41216 "children": [
41217 {
41218 "text": "<!--<title>",
41219 "escaped": true
41220 }
41221 ]
41222 }
41223 ]
41224 },
41225 {
41226 "tag": "body",
41227 "children": [
41228 {
41229 "text": "-->",
41230 "escaped": true
41231 }
41232 ]
41233 }
41234 ]
41235 }
41236 ],
41237 "html": "<!DOCTYPE html><html><head><title>&lt;!--&lt;title&gt;</title></head><body>--&gt;</body></html>",
41238 "noQuirksBodyHtml": "<title>&lt;!--&lt;title&gt;</title>--&gt;"
41239 }
41240 },
41241 {
41242 "data": "<!doctype html><title>&lt;/title></title>",
41243 "errors": [],
41244 "document": {
41245 "props": {
41246 "tags": {
41247 "html": true,
41248 "head": true,
41249 "title": true,
41250 "body": true
41251 },
41252 "doctype": true,
41253 "escaped": true
41254 },
41255 "tree": [
41256 {
41257 "doctype": "html"
41258 },
41259 {
41260 "tag": "html",
41261 "children": [
41262 {
41263 "tag": "head",
41264 "children": [
41265 {
41266 "tag": "title",
41267 "children": [
41268 {
41269 "text": "</title>",
41270 "escaped": true
41271 }
41272 ]
41273 }
41274 ]
41275 },
41276 {
41277 "tag": "body"
41278 }
41279 ]
41280 }
41281 ],
41282 "html": "<!DOCTYPE html><html><head><title>&lt;/title&gt;</title></head><body></body></html>",
41283 "noQuirksBodyHtml": "<title>&lt;/title&gt;</title>"
41284 }
41285 },
41286 {
41287 "data": "<!doctype html><title>foo/title><link></head><body>X",
41288 "errors": [
41289 "(1,52): expected-named-closing-tag-but-got-eof"
41290 ],
41291 "document": {
41292 "props": {
41293 "tags": {
41294 "html": true,
41295 "head": true,
41296 "title": true,
41297 "body": true
41298 },
41299 "doctype": true,
41300 "escaped": true
41301 },
41302 "tree": [
41303 {
41304 "doctype": "html"
41305 },
41306 {
41307 "tag": "html",
41308 "children": [
41309 {
41310 "tag": "head",
41311 "children": [
41312 {
41313 "tag": "title",
41314 "children": [
41315 {
41316 "text": "foo/title><link></head><body>X",
41317 "escaped": true
41318 }
41319 ]
41320 }
41321 ]
41322 },
41323 {
41324 "tag": "body"
41325 }
41326 ]
41327 }
41328 ],
41329 "html": "<!DOCTYPE html><html><head><title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title></head><body></body></html>",
41330 "noQuirksBodyHtml": "<title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title>"
41331 }
41332 },
41333 {
41334 "data": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
41335 "errors": [
41336 "(1,64): unexpected-end-tag"
41337 ],
41338 "script": "on",
41339 "document": {
41340 "props": {
41341 "tags": {
41342 "html": true,
41343 "head": true,
41344 "noscript": true,
41345 "body": true
41346 },
41347 "doctype": true,
41348 "no_escape": true,
41349 "escaped": true
41350 },
41351 "tree": [
41352 {
41353 "doctype": "html"
41354 },
41355 {
41356 "tag": "html",
41357 "children": [
41358 {
41359 "tag": "head",
41360 "children": [
41361 {
41362 "tag": "noscript",
41363 "children": [
41364 {
41365 "text": "<!--<noscript>",
41366 "no_escape": true
41367 }
41368 ]
41369 }
41370 ]
41371 },
41372 {
41373 "tag": "body",
41374 "children": [
41375 {
41376 "text": "-->",
41377 "escaped": true
41378 }
41379 ]
41380 }
41381 ]
41382 }
41383 ],
41384 "html": "<!DOCTYPE html><html><head><noscript><!--<noscript></noscript></head><body>--&gt;</body></html>",
41385 "noQuirksBodyHtml": "<noscript>&lt;!--&lt;noscript&gt;</noscript>--&gt;"
41386 }
41387 },
41388 {
41389 "data": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
41390 "errors": [],
41391 "script": "off",
41392 "document": {
41393 "props": {
41394 "tags": {
41395 "html": true,
41396 "head": true,
41397 "noscript": true,
41398 "body": true
41399 },
41400 "doctype": true,
41401 "comment": true
41402 },
41403 "tree": [
41404 {
41405 "doctype": "html"
41406 },
41407 {
41408 "tag": "html",
41409 "children": [
41410 {
41411 "tag": "head",
41412 "children": [
41413 {
41414 "tag": "noscript",
41415 "children": [
41416 {
41417 "comment": "<noscript></noscript>"
41418 }
41419 ]
41420 }
41421 ]
41422 },
41423 {
41424 "tag": "body"
41425 }
41426 ]
41427 }
41428 ],
41429 "html": "<!DOCTYPE html><html><head><noscript><!--<noscript></noscript>--></noscript></head><body></body></html>",
41430 "noQuirksBodyHtml": "<noscript>&lt;!--&lt;noscript&gt;</noscript>--&gt;"
41431 }
41432 },
41433 {
41434 "data": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
41435 "errors": [],
41436 "script": "on",
41437 "document": {
41438 "props": {
41439 "tags": {
41440 "html": true,
41441 "head": true,
41442 "noscript": true,
41443 "body": true
41444 },
41445 "doctype": true,
41446 "no_escape": true
41447 },
41448 "tree": [
41449 {
41450 "doctype": "html"
41451 },
41452 {
41453 "tag": "html",
41454 "children": [
41455 {
41456 "tag": "head",
41457 "children": [
41458 {
41459 "tag": "noscript",
41460 "children": [
41461 {
41462 "text": "<!--",
41463 "no_escape": true
41464 }
41465 ]
41466 }
41467 ]
41468 },
41469 {
41470 "tag": "body",
41471 "children": [
41472 {
41473 "text": "X"
41474 },
41475 {
41476 "tag": "noscript",
41477 "children": [
41478 {
41479 "text": "-->",
41480 "no_escape": true
41481 }
41482 ]
41483 }
41484 ]
41485 }
41486 ]
41487 }
41488 ],
41489 "html": "<!DOCTYPE html><html><head><noscript><!--</noscript></head><body>X<noscript>--></noscript></body></html>",
41490 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>X<noscript>--&gt;</noscript>"
41491 }
41492 },
41493 {
41494 "data": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
41495 "errors": [],
41496 "script": "off",
41497 "document": {
41498 "props": {
41499 "tags": {
41500 "html": true,
41501 "head": true,
41502 "noscript": true,
41503 "body": true
41504 },
41505 "doctype": true,
41506 "comment": true
41507 },
41508 "tree": [
41509 {
41510 "doctype": "html"
41511 },
41512 {
41513 "tag": "html",
41514 "children": [
41515 {
41516 "tag": "head",
41517 "children": [
41518 {
41519 "tag": "noscript",
41520 "children": [
41521 {
41522 "comment": "</noscript>X<noscript>"
41523 }
41524 ]
41525 }
41526 ]
41527 },
41528 {
41529 "tag": "body"
41530 }
41531 ]
41532 }
41533 ],
41534 "html": "<!DOCTYPE html><html><head><noscript><!--</noscript>X<noscript>--></noscript></head><body></body></html>",
41535 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>X<noscript>--&gt;</noscript>"
41536 }
41537 },
41538 {
41539 "data": "<!doctype html><noscript><iframe></noscript>X",
41540 "errors": [],
41541 "script": "on",
41542 "document": {
41543 "props": {
41544 "tags": {
41545 "html": true,
41546 "head": true,
41547 "noscript": true,
41548 "body": true
41549 },
41550 "doctype": true,
41551 "no_escape": true
41552 },
41553 "tree": [
41554 {
41555 "doctype": "html"
41556 },
41557 {
41558 "tag": "html",
41559 "children": [
41560 {
41561 "tag": "head",
41562 "children": [
41563 {
41564 "tag": "noscript",
41565 "children": [
41566 {
41567 "text": "<iframe>",
41568 "no_escape": true
41569 }
41570 ]
41571 }
41572 ]
41573 },
41574 {
41575 "tag": "body",
41576 "children": [
41577 {
41578 "text": "X"
41579 }
41580 ]
41581 }
41582 ]
41583 }
41584 ],
41585 "html": "<!DOCTYPE html><html><head><noscript><iframe></noscript></head><body>X</body></html>",
41586 "noQuirksBodyHtml": "<noscript>&lt;iframe&gt;</noscript>X"
41587 }
41588 },
41589 {
41590 "data": "<!doctype html><noscript><iframe></noscript>X",
41591 "errors": [
41592 " * (1,34) unexpected token in head noscript",
41593 " * (1,46) unexpected EOF"
41594 ],
41595 "script": "off",
41596 "document": {
41597 "props": {
41598 "tags": {
41599 "html": true,
41600 "head": true,
41601 "noscript": true,
41602 "body": true,
41603 "iframe": true
41604 },
41605 "doctype": true,
41606 "no_escape": true
41607 },
41608 "tree": [
41609 {
41610 "doctype": "html"
41611 },
41612 {
41613 "tag": "html",
41614 "children": [
41615 {
41616 "tag": "head",
41617 "children": [
41618 {
41619 "tag": "noscript"
41620 }
41621 ]
41622 },
41623 {
41624 "tag": "body",
41625 "children": [
41626 {
41627 "tag": "iframe",
41628 "children": [
41629 {
41630 "text": "</noscript>X",
41631 "no_escape": true
41632 }
41633 ]
41634 }
41635 ]
41636 }
41637 ]
41638 }
41639 ],
41640 "html": "<!DOCTYPE html><html><head><noscript></noscript></head><body><iframe></noscript>X</iframe></body></html>",
41641 "noQuirksBodyHtml": "<noscript>&lt;iframe&gt;</noscript>X"
41642 }
41643 },
41644 {
41645 "data": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
41646 "errors": [
41647 "(1,64): unexpected-end-tag"
41648 ],
41649 "document": {
41650 "props": {
41651 "tags": {
41652 "html": true,
41653 "head": true,
41654 "noframes": true,
41655 "body": true
41656 },
41657 "doctype": true,
41658 "no_escape": true,
41659 "escaped": true
41660 },
41661 "tree": [
41662 {
41663 "doctype": "html"
41664 },
41665 {
41666 "tag": "html",
41667 "children": [
41668 {
41669 "tag": "head",
41670 "children": [
41671 {
41672 "tag": "noframes",
41673 "children": [
41674 {
41675 "text": "<!--<noframes>",
41676 "no_escape": true
41677 }
41678 ]
41679 }
41680 ]
41681 },
41682 {
41683 "tag": "body",
41684 "children": [
41685 {
41686 "text": "-->",
41687 "escaped": true
41688 }
41689 ]
41690 }
41691 ]
41692 }
41693 ],
41694 "html": "<!DOCTYPE html><html><head><noframes><!--<noframes></noframes></head><body>--&gt;</body></html>",
41695 "noQuirksBodyHtml": "<noframes><!--<noframes></noframes>--&gt;"
41696 }
41697 },
41698 {
41699 "data": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
41700 "errors": [],
41701 "document": {
41702 "props": {
41703 "tags": {
41704 "html": true,
41705 "head": true,
41706 "noframes": true,
41707 "body": true
41708 },
41709 "doctype": true,
41710 "no_escape": true
41711 },
41712 "tree": [
41713 {
41714 "doctype": "html"
41715 },
41716 {
41717 "tag": "html",
41718 "children": [
41719 {
41720 "tag": "head",
41721 "children": [
41722 {
41723 "tag": "noframes",
41724 "children": [
41725 {
41726 "text": "<body><script><!--...</script></body>",
41727 "no_escape": true
41728 }
41729 ]
41730 }
41731 ]
41732 },
41733 {
41734 "tag": "body"
41735 }
41736 ]
41737 }
41738 ],
41739 "html": "<!DOCTYPE html><html><head><noframes><body><script><!--...</script></body></noframes></head><body></body></html>",
41740 "noQuirksBodyHtml": "<noframes><body><script><!--...</script></body></noframes>"
41741 }
41742 },
41743 {
41744 "data": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
41745 "errors": [
41746 "(1,64): unexpected-end-tag"
41747 ],
41748 "document": {
41749 "props": {
41750 "tags": {
41751 "html": true,
41752 "head": true,
41753 "body": true,
41754 "textarea": true
41755 },
41756 "doctype": true,
41757 "escaped": true
41758 },
41759 "tree": [
41760 {
41761 "doctype": "html"
41762 },
41763 {
41764 "tag": "html",
41765 "children": [
41766 {
41767 "tag": "head"
41768 },
41769 {
41770 "tag": "body",
41771 "children": [
41772 {
41773 "tag": "textarea",
41774 "children": [
41775 {
41776 "text": "<!--<textarea>",
41777 "escaped": true
41778 }
41779 ]
41780 },
41781 {
41782 "text": "-->",
41783 "escaped": true
41784 }
41785 ]
41786 }
41787 ]
41788 }
41789 ],
41790 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;</body></html>",
41791 "noQuirksBodyHtml": "<textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;"
41792 }
41793 },
41794 {
41795 "data": "<!doctype html><textarea>&lt;/textarea></textarea>",
41796 "errors": [],
41797 "document": {
41798 "props": {
41799 "tags": {
41800 "html": true,
41801 "head": true,
41802 "body": true,
41803 "textarea": true
41804 },
41805 "doctype": true,
41806 "escaped": true
41807 },
41808 "tree": [
41809 {
41810 "doctype": "html"
41811 },
41812 {
41813 "tag": "html",
41814 "children": [
41815 {
41816 "tag": "head"
41817 },
41818 {
41819 "tag": "body",
41820 "children": [
41821 {
41822 "tag": "textarea",
41823 "children": [
41824 {
41825 "text": "</textarea>",
41826 "escaped": true
41827 }
41828 ]
41829 }
41830 ]
41831 }
41832 ]
41833 }
41834 ],
41835 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;/textarea&gt;</textarea></body></html>",
41836 "noQuirksBodyHtml": "<textarea>&lt;/textarea&gt;</textarea>"
41837 }
41838 },
41839 {
41840 "data": "<!doctype html><textarea>&lt;</textarea>",
41841 "errors": [],
41842 "document": {
41843 "props": {
41844 "tags": {
41845 "html": true,
41846 "head": true,
41847 "body": true,
41848 "textarea": true
41849 },
41850 "doctype": true,
41851 "escaped": true
41852 },
41853 "tree": [
41854 {
41855 "doctype": "html"
41856 },
41857 {
41858 "tag": "html",
41859 "children": [
41860 {
41861 "tag": "head"
41862 },
41863 {
41864 "tag": "body",
41865 "children": [
41866 {
41867 "tag": "textarea",
41868 "children": [
41869 {
41870 "text": "<",
41871 "escaped": true
41872 }
41873 ]
41874 }
41875 ]
41876 }
41877 ]
41878 }
41879 ],
41880 "html": "<!DOCTYPE html><html><head></head><body><textarea>&lt;</textarea></body></html>",
41881 "noQuirksBodyHtml": "<textarea>&lt;</textarea>"
41882 }
41883 },
41884 {
41885 "data": "<!doctype html><textarea>a&lt;b</textarea>",
41886 "errors": [],
41887 "document": {
41888 "props": {
41889 "tags": {
41890 "html": true,
41891 "head": true,
41892 "body": true,
41893 "textarea": true
41894 },
41895 "doctype": true,
41896 "escaped": true
41897 },
41898 "tree": [
41899 {
41900 "doctype": "html"
41901 },
41902 {
41903 "tag": "html",
41904 "children": [
41905 {
41906 "tag": "head"
41907 },
41908 {
41909 "tag": "body",
41910 "children": [
41911 {
41912 "tag": "textarea",
41913 "children": [
41914 {
41915 "text": "a<b",
41916 "escaped": true
41917 }
41918 ]
41919 }
41920 ]
41921 }
41922 ]
41923 }
41924 ],
41925 "html": "<!DOCTYPE html><html><head></head><body><textarea>a&lt;b</textarea></body></html>",
41926 "noQuirksBodyHtml": "<textarea>a&lt;b</textarea>"
41927 }
41928 },
41929 {
41930 "data": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
41931 "errors": [
41932 "(1,56): unexpected-end-tag"
41933 ],
41934 "document": {
41935 "props": {
41936 "tags": {
41937 "html": true,
41938 "head": true,
41939 "body": true,
41940 "iframe": true
41941 },
41942 "doctype": true,
41943 "no_escape": true,
41944 "escaped": true
41945 },
41946 "tree": [
41947 {
41948 "doctype": "html"
41949 },
41950 {
41951 "tag": "html",
41952 "children": [
41953 {
41954 "tag": "head"
41955 },
41956 {
41957 "tag": "body",
41958 "children": [
41959 {
41960 "tag": "iframe",
41961 "children": [
41962 {
41963 "text": "<!--<iframe>",
41964 "no_escape": true
41965 }
41966 ]
41967 },
41968 {
41969 "text": "-->",
41970 "escaped": true
41971 }
41972 ]
41973 }
41974 ]
41975 }
41976 ],
41977 "html": "<!DOCTYPE html><html><head></head><body><iframe><!--<iframe></iframe>--&gt;</body></html>",
41978 "noQuirksBodyHtml": "<iframe><!--<iframe></iframe>--&gt;"
41979 }
41980 },
41981 {
41982 "data": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
41983 "errors": [],
41984 "document": {
41985 "props": {
41986 "tags": {
41987 "html": true,
41988 "head": true,
41989 "body": true,
41990 "iframe": true
41991 },
41992 "doctype": true,
41993 "no_escape": true
41994 },
41995 "tree": [
41996 {
41997 "doctype": "html"
41998 },
41999 {
42000 "tag": "html",
42001 "children": [
42002 {
42003 "tag": "head"
42004 },
42005 {
42006 "tag": "body",
42007 "children": [
42008 {
42009 "tag": "iframe",
42010 "children": [
42011 {
42012 "text": "...<!--X->...<!--/X->...",
42013 "no_escape": true
42014 }
42015 ]
42016 }
42017 ]
42018 }
42019 ]
42020 }
42021 ],
42022 "html": "<!DOCTYPE html><html><head></head><body><iframe>...<!--X->...<!--/X->...</iframe></body></html>",
42023 "noQuirksBodyHtml": "<iframe>...<!--X->...<!--/X->...</iframe>"
42024 }
42025 },
42026 {
42027 "data": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
42028 "errors": [
42029 "(1,44): unexpected-end-tag"
42030 ],
42031 "document": {
42032 "props": {
42033 "tags": {
42034 "html": true,
42035 "head": true,
42036 "body": true,
42037 "xmp": true
42038 },
42039 "doctype": true,
42040 "no_escape": true,
42041 "escaped": true
42042 },
42043 "tree": [
42044 {
42045 "doctype": "html"
42046 },
42047 {
42048 "tag": "html",
42049 "children": [
42050 {
42051 "tag": "head"
42052 },
42053 {
42054 "tag": "body",
42055 "children": [
42056 {
42057 "tag": "xmp",
42058 "children": [
42059 {
42060 "text": "<!--<xmp>",
42061 "no_escape": true
42062 }
42063 ]
42064 },
42065 {
42066 "text": "-->",
42067 "escaped": true
42068 }
42069 ]
42070 }
42071 ]
42072 }
42073 ],
42074 "html": "<!DOCTYPE html><html><head></head><body><xmp><!--<xmp></xmp>--&gt;</body></html>",
42075 "noQuirksBodyHtml": "<xmp><!--<xmp></xmp>--&gt;"
42076 }
42077 },
42078 {
42079 "data": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
42080 "errors": [
42081 "(1,60): unexpected-end-tag"
42082 ],
42083 "document": {
42084 "props": {
42085 "tags": {
42086 "html": true,
42087 "head": true,
42088 "body": true,
42089 "noembed": true
42090 },
42091 "doctype": true,
42092 "no_escape": true,
42093 "escaped": true
42094 },
42095 "tree": [
42096 {
42097 "doctype": "html"
42098 },
42099 {
42100 "tag": "html",
42101 "children": [
42102 {
42103 "tag": "head"
42104 },
42105 {
42106 "tag": "body",
42107 "children": [
42108 {
42109 "tag": "noembed",
42110 "children": [
42111 {
42112 "text": "<!--<noembed>",
42113 "no_escape": true
42114 }
42115 ]
42116 },
42117 {
42118 "text": "-->",
42119 "escaped": true
42120 }
42121 ]
42122 }
42123 ]
42124 }
42125 ],
42126 "html": "<!DOCTYPE html><html><head></head><body><noembed><!--<noembed></noembed>--&gt;</body></html>",
42127 "noQuirksBodyHtml": "<noembed><!--<noembed></noembed>--&gt;"
42128 }
42129 },
42130 {
42131 "data": "<script>",
42132 "errors": [
42133 "(1,8): expected-doctype-but-got-start-tag",
42134 "(1,8): expected-named-closing-tag-but-got-eof"
42135 ],
42136 "document": {
42137 "props": {
42138 "tags": {
42139 "html": true,
42140 "head": true,
42141 "script": true,
42142 "body": true
42143 }
42144 },
42145 "tree": [
42146 {
42147 "tag": "html",
42148 "children": [
42149 {
42150 "tag": "head",
42151 "children": [
42152 {
42153 "tag": "script"
42154 }
42155 ]
42156 },
42157 {
42158 "tag": "body"
42159 }
42160 ]
42161 }
42162 ],
42163 "html": "<html><head><script></script></head><body></body></html>",
42164 "noQuirksBodyHtml": "<script></script>"
42165 }
42166 },
42167 {
42168 "data": "<script>a",
42169 "errors": [
42170 "(1,8): expected-doctype-but-got-start-tag",
42171 "(1,9): expected-named-closing-tag-but-got-eof"
42172 ],
42173 "document": {
42174 "props": {
42175 "tags": {
42176 "html": true,
42177 "head": true,
42178 "script": true,
42179 "body": true
42180 },
42181 "no_escape": true
42182 },
42183 "tree": [
42184 {
42185 "tag": "html",
42186 "children": [
42187 {
42188 "tag": "head",
42189 "children": [
42190 {
42191 "tag": "script",
42192 "children": [
42193 {
42194 "text": "a",
42195 "no_escape": true
42196 }
42197 ]
42198 }
42199 ]
42200 },
42201 {
42202 "tag": "body"
42203 }
42204 ]
42205 }
42206 ],
42207 "html": "<html><head><script>a</script></head><body></body></html>",
42208 "noQuirksBodyHtml": "<script>a</script>"
42209 }
42210 },
42211 {
42212 "data": "<script><",
42213 "errors": [
42214 "(1,8): expected-doctype-but-got-start-tag",
42215 "(1,9): expected-named-closing-tag-but-got-eof"
42216 ],
42217 "document": {
42218 "props": {
42219 "tags": {
42220 "html": true,
42221 "head": true,
42222 "script": true,
42223 "body": true
42224 },
42225 "no_escape": true
42226 },
42227 "tree": [
42228 {
42229 "tag": "html",
42230 "children": [
42231 {
42232 "tag": "head",
42233 "children": [
42234 {
42235 "tag": "script",
42236 "children": [
42237 {
42238 "text": "<",
42239 "no_escape": true
42240 }
42241 ]
42242 }
42243 ]
42244 },
42245 {
42246 "tag": "body"
42247 }
42248 ]
42249 }
42250 ],
42251 "html": "<html><head><script><</script></head><body></body></html>",
42252 "noQuirksBodyHtml": "<script><</script>"
42253 }
42254 },
42255 {
42256 "data": "<script></",
42257 "errors": [
42258 "(1,8): expected-doctype-but-got-start-tag",
42259 "(1,10): expected-named-closing-tag-but-got-eof"
42260 ],
42261 "document": {
42262 "props": {
42263 "tags": {
42264 "html": true,
42265 "head": true,
42266 "script": true,
42267 "body": true
42268 },
42269 "no_escape": true
42270 },
42271 "tree": [
42272 {
42273 "tag": "html",
42274 "children": [
42275 {
42276 "tag": "head",
42277 "children": [
42278 {
42279 "tag": "script",
42280 "children": [
42281 {
42282 "text": "</",
42283 "no_escape": true
42284 }
42285 ]
42286 }
42287 ]
42288 },
42289 {
42290 "tag": "body"
42291 }
42292 ]
42293 }
42294 ],
42295 "html": "<html><head><script></</script></head><body></body></html>",
42296 "noQuirksBodyHtml": "<script></</script>"
42297 }
42298 },
42299 {
42300 "data": "<script></S",
42301 "errors": [
42302 "(1,8): expected-doctype-but-got-start-tag",
42303 "(1,11): expected-named-closing-tag-but-got-eof"
42304 ],
42305 "document": {
42306 "props": {
42307 "tags": {
42308 "html": true,
42309 "head": true,
42310 "script": true,
42311 "body": true
42312 },
42313 "no_escape": true
42314 },
42315 "tree": [
42316 {
42317 "tag": "html",
42318 "children": [
42319 {
42320 "tag": "head",
42321 "children": [
42322 {
42323 "tag": "script",
42324 "children": [
42325 {
42326 "text": "</S",
42327 "no_escape": true
42328 }
42329 ]
42330 }
42331 ]
42332 },
42333 {
42334 "tag": "body"
42335 }
42336 ]
42337 }
42338 ],
42339 "html": "<html><head><script></S</script></head><body></body></html>",
42340 "noQuirksBodyHtml": "<script></S</script>"
42341 }
42342 },
42343 {
42344 "data": "<script></SC",
42345 "errors": [
42346 "(1,8): expected-doctype-but-got-start-tag",
42347 "(1,12): expected-named-closing-tag-but-got-eof"
42348 ],
42349 "document": {
42350 "props": {
42351 "tags": {
42352 "html": true,
42353 "head": true,
42354 "script": true,
42355 "body": true
42356 },
42357 "no_escape": true
42358 },
42359 "tree": [
42360 {
42361 "tag": "html",
42362 "children": [
42363 {
42364 "tag": "head",
42365 "children": [
42366 {
42367 "tag": "script",
42368 "children": [
42369 {
42370 "text": "</SC",
42371 "no_escape": true
42372 }
42373 ]
42374 }
42375 ]
42376 },
42377 {
42378 "tag": "body"
42379 }
42380 ]
42381 }
42382 ],
42383 "html": "<html><head><script></SC</script></head><body></body></html>",
42384 "noQuirksBodyHtml": "<script></SC</script>"
42385 }
42386 },
42387 {
42388 "data": "<script></SCR",
42389 "errors": [
42390 "(1,8): expected-doctype-but-got-start-tag",
42391 "(1,13): expected-named-closing-tag-but-got-eof"
42392 ],
42393 "document": {
42394 "props": {
42395 "tags": {
42396 "html": true,
42397 "head": true,
42398 "script": true,
42399 "body": true
42400 },
42401 "no_escape": true
42402 },
42403 "tree": [
42404 {
42405 "tag": "html",
42406 "children": [
42407 {
42408 "tag": "head",
42409 "children": [
42410 {
42411 "tag": "script",
42412 "children": [
42413 {
42414 "text": "</SCR",
42415 "no_escape": true
42416 }
42417 ]
42418 }
42419 ]
42420 },
42421 {
42422 "tag": "body"
42423 }
42424 ]
42425 }
42426 ],
42427 "html": "<html><head><script></SCR</script></head><body></body></html>",
42428 "noQuirksBodyHtml": "<script></SCR</script>"
42429 }
42430 },
42431 {
42432 "data": "<script></SCRI",
42433 "errors": [
42434 "(1,8): expected-doctype-but-got-start-tag",
42435 "(1,14): expected-named-closing-tag-but-got-eof"
42436 ],
42437 "document": {
42438 "props": {
42439 "tags": {
42440 "html": true,
42441 "head": true,
42442 "script": true,
42443 "body": true
42444 },
42445 "no_escape": true
42446 },
42447 "tree": [
42448 {
42449 "tag": "html",
42450 "children": [
42451 {
42452 "tag": "head",
42453 "children": [
42454 {
42455 "tag": "script",
42456 "children": [
42457 {
42458 "text": "</SCRI",
42459 "no_escape": true
42460 }
42461 ]
42462 }
42463 ]
42464 },
42465 {
42466 "tag": "body"
42467 }
42468 ]
42469 }
42470 ],
42471 "html": "<html><head><script></SCRI</script></head><body></body></html>",
42472 "noQuirksBodyHtml": "<script></SCRI</script>"
42473 }
42474 },
42475 {
42476 "data": "<script></SCRIP",
42477 "errors": [
42478 "(1,8): expected-doctype-but-got-start-tag",
42479 "(1,15): expected-named-closing-tag-but-got-eof"
42480 ],
42481 "document": {
42482 "props": {
42483 "tags": {
42484 "html": true,
42485 "head": true,
42486 "script": true,
42487 "body": true
42488 },
42489 "no_escape": true
42490 },
42491 "tree": [
42492 {
42493 "tag": "html",
42494 "children": [
42495 {
42496 "tag": "head",
42497 "children": [
42498 {
42499 "tag": "script",
42500 "children": [
42501 {
42502 "text": "</SCRIP",
42503 "no_escape": true
42504 }
42505 ]
42506 }
42507 ]
42508 },
42509 {
42510 "tag": "body"
42511 }
42512 ]
42513 }
42514 ],
42515 "html": "<html><head><script></SCRIP</script></head><body></body></html>",
42516 "noQuirksBodyHtml": "<script></SCRIP</script>"
42517 }
42518 },
42519 {
42520 "data": "<script></SCRIPT",
42521 "errors": [
42522 "(1,8): expected-doctype-but-got-start-tag",
42523 "(1,16): expected-named-closing-tag-but-got-eof"
42524 ],
42525 "document": {
42526 "props": {
42527 "tags": {
42528 "html": true,
42529 "head": true,
42530 "script": true,
42531 "body": true
42532 },
42533 "no_escape": true
42534 },
42535 "tree": [
42536 {
42537 "tag": "html",
42538 "children": [
42539 {
42540 "tag": "head",
42541 "children": [
42542 {
42543 "tag": "script",
42544 "children": [
42545 {
42546 "text": "</SCRIPT",
42547 "no_escape": true
42548 }
42549 ]
42550 }
42551 ]
42552 },
42553 {
42554 "tag": "body"
42555 }
42556 ]
42557 }
42558 ],
42559 "html": "<html><head><script></SCRIPT</script></head><body></body></html>",
42560 "noQuirksBodyHtml": "<script></SCRIPT</script>"
42561 }
42562 },
42563 {
42564 "data": "<script></SCRIPT ",
42565 "errors": [
42566 "(1,8): expected-doctype-but-got-start-tag",
42567 "(1,17): expected-attribute-name-but-got-eof",
42568 "(1,17): expected-named-closing-tag-but-got-eof"
42569 ],
42570 "document": {
42571 "props": {
42572 "tags": {
42573 "html": true,
42574 "head": true,
42575 "script": true,
42576 "body": true
42577 }
42578 },
42579 "tree": [
42580 {
42581 "tag": "html",
42582 "children": [
42583 {
42584 "tag": "head",
42585 "children": [
42586 {
42587 "tag": "script"
42588 }
42589 ]
42590 },
42591 {
42592 "tag": "body"
42593 }
42594 ]
42595 }
42596 ],
42597 "html": "<html><head><script></script></head><body></body></html>",
42598 "noQuirksBodyHtml": "<script></script>"
42599 }
42600 },
42601 {
42602 "data": "<script></s",
42603 "errors": [
42604 "(1,8): expected-doctype-but-got-start-tag",
42605 "(1,11): expected-named-closing-tag-but-got-eof"
42606 ],
42607 "document": {
42608 "props": {
42609 "tags": {
42610 "html": true,
42611 "head": true,
42612 "script": true,
42613 "body": true
42614 },
42615 "no_escape": true
42616 },
42617 "tree": [
42618 {
42619 "tag": "html",
42620 "children": [
42621 {
42622 "tag": "head",
42623 "children": [
42624 {
42625 "tag": "script",
42626 "children": [
42627 {
42628 "text": "</s",
42629 "no_escape": true
42630 }
42631 ]
42632 }
42633 ]
42634 },
42635 {
42636 "tag": "body"
42637 }
42638 ]
42639 }
42640 ],
42641 "html": "<html><head><script></s</script></head><body></body></html>",
42642 "noQuirksBodyHtml": "<script></s</script>"
42643 }
42644 },
42645 {
42646 "data": "<script></sc",
42647 "errors": [
42648 "(1,8): expected-doctype-but-got-start-tag",
42649 "(1,12): expected-named-closing-tag-but-got-eof"
42650 ],
42651 "document": {
42652 "props": {
42653 "tags": {
42654 "html": true,
42655 "head": true,
42656 "script": true,
42657 "body": true
42658 },
42659 "no_escape": true
42660 },
42661 "tree": [
42662 {
42663 "tag": "html",
42664 "children": [
42665 {
42666 "tag": "head",
42667 "children": [
42668 {
42669 "tag": "script",
42670 "children": [
42671 {
42672 "text": "</sc",
42673 "no_escape": true
42674 }
42675 ]
42676 }
42677 ]
42678 },
42679 {
42680 "tag": "body"
42681 }
42682 ]
42683 }
42684 ],
42685 "html": "<html><head><script></sc</script></head><body></body></html>",
42686 "noQuirksBodyHtml": "<script></sc</script>"
42687 }
42688 },
42689 {
42690 "data": "<script></scr",
42691 "errors": [
42692 "(1,8): expected-doctype-but-got-start-tag",
42693 "(1,13): expected-named-closing-tag-but-got-eof"
42694 ],
42695 "document": {
42696 "props": {
42697 "tags": {
42698 "html": true,
42699 "head": true,
42700 "script": true,
42701 "body": true
42702 },
42703 "no_escape": true
42704 },
42705 "tree": [
42706 {
42707 "tag": "html",
42708 "children": [
42709 {
42710 "tag": "head",
42711 "children": [
42712 {
42713 "tag": "script",
42714 "children": [
42715 {
42716 "text": "</scr",
42717 "no_escape": true
42718 }
42719 ]
42720 }
42721 ]
42722 },
42723 {
42724 "tag": "body"
42725 }
42726 ]
42727 }
42728 ],
42729 "html": "<html><head><script></scr</script></head><body></body></html>",
42730 "noQuirksBodyHtml": "<script></scr</script>"
42731 }
42732 },
42733 {
42734 "data": "<script></scri",
42735 "errors": [
42736 "(1,8): expected-doctype-but-got-start-tag",
42737 "(1,14): expected-named-closing-tag-but-got-eof"
42738 ],
42739 "document": {
42740 "props": {
42741 "tags": {
42742 "html": true,
42743 "head": true,
42744 "script": true,
42745 "body": true
42746 },
42747 "no_escape": true
42748 },
42749 "tree": [
42750 {
42751 "tag": "html",
42752 "children": [
42753 {
42754 "tag": "head",
42755 "children": [
42756 {
42757 "tag": "script",
42758 "children": [
42759 {
42760 "text": "</scri",
42761 "no_escape": true
42762 }
42763 ]
42764 }
42765 ]
42766 },
42767 {
42768 "tag": "body"
42769 }
42770 ]
42771 }
42772 ],
42773 "html": "<html><head><script></scri</script></head><body></body></html>",
42774 "noQuirksBodyHtml": "<script></scri</script>"
42775 }
42776 },
42777 {
42778 "data": "<script></scrip",
42779 "errors": [
42780 "(1,8): expected-doctype-but-got-start-tag",
42781 "(1,15): expected-named-closing-tag-but-got-eof"
42782 ],
42783 "document": {
42784 "props": {
42785 "tags": {
42786 "html": true,
42787 "head": true,
42788 "script": true,
42789 "body": true
42790 },
42791 "no_escape": true
42792 },
42793 "tree": [
42794 {
42795 "tag": "html",
42796 "children": [
42797 {
42798 "tag": "head",
42799 "children": [
42800 {
42801 "tag": "script",
42802 "children": [
42803 {
42804 "text": "</scrip",
42805 "no_escape": true
42806 }
42807 ]
42808 }
42809 ]
42810 },
42811 {
42812 "tag": "body"
42813 }
42814 ]
42815 }
42816 ],
42817 "html": "<html><head><script></scrip</script></head><body></body></html>",
42818 "noQuirksBodyHtml": "<script></scrip</script>"
42819 }
42820 },
42821 {
42822 "data": "<script></script",
42823 "errors": [
42824 "(1,8): expected-doctype-but-got-start-tag",
42825 "(1,16): expected-named-closing-tag-but-got-eof"
42826 ],
42827 "document": {
42828 "props": {
42829 "tags": {
42830 "html": true,
42831 "head": true,
42832 "script": true,
42833 "body": true
42834 },
42835 "no_escape": true
42836 },
42837 "tree": [
42838 {
42839 "tag": "html",
42840 "children": [
42841 {
42842 "tag": "head",
42843 "children": [
42844 {
42845 "tag": "script",
42846 "children": [
42847 {
42848 "text": "</script",
42849 "no_escape": true
42850 }
42851 ]
42852 }
42853 ]
42854 },
42855 {
42856 "tag": "body"
42857 }
42858 ]
42859 }
42860 ],
42861 "html": "<html><head><script></script</script></head><body></body></html>",
42862 "noQuirksBodyHtml": "<script></script</script>"
42863 }
42864 },
42865 {
42866 "data": "<script></script ",
42867 "errors": [
42868 "(1,8): expected-doctype-but-got-start-tag",
42869 "(1,17): expected-attribute-name-but-got-eof",
42870 "(1,17): expected-named-closing-tag-but-got-eof"
42871 ],
42872 "document": {
42873 "props": {
42874 "tags": {
42875 "html": true,
42876 "head": true,
42877 "script": true,
42878 "body": true
42879 }
42880 },
42881 "tree": [
42882 {
42883 "tag": "html",
42884 "children": [
42885 {
42886 "tag": "head",
42887 "children": [
42888 {
42889 "tag": "script"
42890 }
42891 ]
42892 },
42893 {
42894 "tag": "body"
42895 }
42896 ]
42897 }
42898 ],
42899 "html": "<html><head><script></script></head><body></body></html>",
42900 "noQuirksBodyHtml": "<script></script>"
42901 }
42902 },
42903 {
42904 "data": "<script><!",
42905 "errors": [
42906 "(1,8): expected-doctype-but-got-start-tag",
42907 "(1,10): expected-named-closing-tag-but-got-eof"
42908 ],
42909 "document": {
42910 "props": {
42911 "tags": {
42912 "html": true,
42913 "head": true,
42914 "script": true,
42915 "body": true
42916 },
42917 "no_escape": true
42918 },
42919 "tree": [
42920 {
42921 "tag": "html",
42922 "children": [
42923 {
42924 "tag": "head",
42925 "children": [
42926 {
42927 "tag": "script",
42928 "children": [
42929 {
42930 "text": "<!",
42931 "no_escape": true
42932 }
42933 ]
42934 }
42935 ]
42936 },
42937 {
42938 "tag": "body"
42939 }
42940 ]
42941 }
42942 ],
42943 "html": "<html><head><script><!</script></head><body></body></html>",
42944 "noQuirksBodyHtml": "<script><!</script>"
42945 }
42946 },
42947 {
42948 "data": "<script><!a",
42949 "errors": [
42950 "(1,8): expected-doctype-but-got-start-tag",
42951 "(1,11): expected-named-closing-tag-but-got-eof"
42952 ],
42953 "document": {
42954 "props": {
42955 "tags": {
42956 "html": true,
42957 "head": true,
42958 "script": true,
42959 "body": true
42960 },
42961 "no_escape": true
42962 },
42963 "tree": [
42964 {
42965 "tag": "html",
42966 "children": [
42967 {
42968 "tag": "head",
42969 "children": [
42970 {
42971 "tag": "script",
42972 "children": [
42973 {
42974 "text": "<!a",
42975 "no_escape": true
42976 }
42977 ]
42978 }
42979 ]
42980 },
42981 {
42982 "tag": "body"
42983 }
42984 ]
42985 }
42986 ],
42987 "html": "<html><head><script><!a</script></head><body></body></html>",
42988 "noQuirksBodyHtml": "<script><!a</script>"
42989 }
42990 },
42991 {
42992 "data": "<script><!-",
42993 "errors": [
42994 "(1,8): expected-doctype-but-got-start-tag",
42995 "(1,11): expected-named-closing-tag-but-got-eof"
42996 ],
42997 "document": {
42998 "props": {
42999 "tags": {
43000 "html": true,
43001 "head": true,
43002 "script": true,
43003 "body": true
43004 },
43005 "no_escape": true
43006 },
43007 "tree": [
43008 {
43009 "tag": "html",
43010 "children": [
43011 {
43012 "tag": "head",
43013 "children": [
43014 {
43015 "tag": "script",
43016 "children": [
43017 {
43018 "text": "<!-",
43019 "no_escape": true
43020 }
43021 ]
43022 }
43023 ]
43024 },
43025 {
43026 "tag": "body"
43027 }
43028 ]
43029 }
43030 ],
43031 "html": "<html><head><script><!-</script></head><body></body></html>",
43032 "noQuirksBodyHtml": "<script><!-</script>"
43033 }
43034 },
43035 {
43036 "data": "<script><!-a",
43037 "errors": [
43038 "(1,8): expected-doctype-but-got-start-tag",
43039 "(1,12): expected-named-closing-tag-but-got-eof"
43040 ],
43041 "document": {
43042 "props": {
43043 "tags": {
43044 "html": true,
43045 "head": true,
43046 "script": true,
43047 "body": true
43048 },
43049 "no_escape": true
43050 },
43051 "tree": [
43052 {
43053 "tag": "html",
43054 "children": [
43055 {
43056 "tag": "head",
43057 "children": [
43058 {
43059 "tag": "script",
43060 "children": [
43061 {
43062 "text": "<!-a",
43063 "no_escape": true
43064 }
43065 ]
43066 }
43067 ]
43068 },
43069 {
43070 "tag": "body"
43071 }
43072 ]
43073 }
43074 ],
43075 "html": "<html><head><script><!-a</script></head><body></body></html>",
43076 "noQuirksBodyHtml": "<script><!-a</script>"
43077 }
43078 },
43079 {
43080 "data": "<script><!--",
43081 "errors": [
43082 "(1,8): expected-doctype-but-got-start-tag",
43083 "(1,12): expected-named-closing-tag-but-got-eof",
43084 "(1,12): unexpected-eof-in-text-mode"
43085 ],
43086 "document": {
43087 "props": {
43088 "tags": {
43089 "html": true,
43090 "head": true,
43091 "script": true,
43092 "body": true
43093 },
43094 "no_escape": true
43095 },
43096 "tree": [
43097 {
43098 "tag": "html",
43099 "children": [
43100 {
43101 "tag": "head",
43102 "children": [
43103 {
43104 "tag": "script",
43105 "children": [
43106 {
43107 "text": "<!--",
43108 "no_escape": true
43109 }
43110 ]
43111 }
43112 ]
43113 },
43114 {
43115 "tag": "body"
43116 }
43117 ]
43118 }
43119 ],
43120 "html": "<html><head><script><!--</script></head><body></body></html>",
43121 "noQuirksBodyHtml": "<script><!--</script>"
43122 }
43123 },
43124 {
43125 "data": "<script><!--a",
43126 "errors": [
43127 "(1,8): expected-doctype-but-got-start-tag",
43128 "(1,13): expected-named-closing-tag-but-got-eof",
43129 "(1,13): unexpected-eof-in-text-mode"
43130 ],
43131 "document": {
43132 "props": {
43133 "tags": {
43134 "html": true,
43135 "head": true,
43136 "script": true,
43137 "body": true
43138 },
43139 "no_escape": true
43140 },
43141 "tree": [
43142 {
43143 "tag": "html",
43144 "children": [
43145 {
43146 "tag": "head",
43147 "children": [
43148 {
43149 "tag": "script",
43150 "children": [
43151 {
43152 "text": "<!--a",
43153 "no_escape": true
43154 }
43155 ]
43156 }
43157 ]
43158 },
43159 {
43160 "tag": "body"
43161 }
43162 ]
43163 }
43164 ],
43165 "html": "<html><head><script><!--a</script></head><body></body></html>",
43166 "noQuirksBodyHtml": "<script><!--a</script>"
43167 }
43168 },
43169 {
43170 "data": "<script><!--<",
43171 "errors": [
43172 "(1,8): expected-doctype-but-got-start-tag",
43173 "(1,13): expected-named-closing-tag-but-got-eof",
43174 "(1,13): unexpected-eof-in-text-mode"
43175 ],
43176 "document": {
43177 "props": {
43178 "tags": {
43179 "html": true,
43180 "head": true,
43181 "script": true,
43182 "body": true
43183 },
43184 "no_escape": true
43185 },
43186 "tree": [
43187 {
43188 "tag": "html",
43189 "children": [
43190 {
43191 "tag": "head",
43192 "children": [
43193 {
43194 "tag": "script",
43195 "children": [
43196 {
43197 "text": "<!--<",
43198 "no_escape": true
43199 }
43200 ]
43201 }
43202 ]
43203 },
43204 {
43205 "tag": "body"
43206 }
43207 ]
43208 }
43209 ],
43210 "html": "<html><head><script><!--<</script></head><body></body></html>",
43211 "noQuirksBodyHtml": "<script><!--<</script>"
43212 }
43213 },
43214 {
43215 "data": "<script><!--<a",
43216 "errors": [
43217 "(1,8): expected-doctype-but-got-start-tag",
43218 "(1,14): expected-named-closing-tag-but-got-eof",
43219 "(1,14): unexpected-eof-in-text-mode"
43220 ],
43221 "document": {
43222 "props": {
43223 "tags": {
43224 "html": true,
43225 "head": true,
43226 "script": true,
43227 "body": true
43228 },
43229 "no_escape": true
43230 },
43231 "tree": [
43232 {
43233 "tag": "html",
43234 "children": [
43235 {
43236 "tag": "head",
43237 "children": [
43238 {
43239 "tag": "script",
43240 "children": [
43241 {
43242 "text": "<!--<a",
43243 "no_escape": true
43244 }
43245 ]
43246 }
43247 ]
43248 },
43249 {
43250 "tag": "body"
43251 }
43252 ]
43253 }
43254 ],
43255 "html": "<html><head><script><!--<a</script></head><body></body></html>",
43256 "noQuirksBodyHtml": "<script><!--<a</script>"
43257 }
43258 },
43259 {
43260 "data": "<script><!--</",
43261 "errors": [
43262 "(1,8): expected-doctype-but-got-start-tag",
43263 "(1,14): expected-named-closing-tag-but-got-eof",
43264 "(1,14): unexpected-eof-in-text-mode"
43265 ],
43266 "document": {
43267 "props": {
43268 "tags": {
43269 "html": true,
43270 "head": true,
43271 "script": true,
43272 "body": true
43273 },
43274 "no_escape": true
43275 },
43276 "tree": [
43277 {
43278 "tag": "html",
43279 "children": [
43280 {
43281 "tag": "head",
43282 "children": [
43283 {
43284 "tag": "script",
43285 "children": [
43286 {
43287 "text": "<!--</",
43288 "no_escape": true
43289 }
43290 ]
43291 }
43292 ]
43293 },
43294 {
43295 "tag": "body"
43296 }
43297 ]
43298 }
43299 ],
43300 "html": "<html><head><script><!--</</script></head><body></body></html>",
43301 "noQuirksBodyHtml": "<script><!--</</script>"
43302 }
43303 },
43304 {
43305 "data": "<script><!--</script",
43306 "errors": [
43307 "(1,8): expected-doctype-but-got-start-tag",
43308 "(1,20): expected-named-closing-tag-but-got-eof",
43309 "(1,20): unexpected-eof-in-text-mode"
43310 ],
43311 "document": {
43312 "props": {
43313 "tags": {
43314 "html": true,
43315 "head": true,
43316 "script": true,
43317 "body": true
43318 },
43319 "no_escape": true
43320 },
43321 "tree": [
43322 {
43323 "tag": "html",
43324 "children": [
43325 {
43326 "tag": "head",
43327 "children": [
43328 {
43329 "tag": "script",
43330 "children": [
43331 {
43332 "text": "<!--</script",
43333 "no_escape": true
43334 }
43335 ]
43336 }
43337 ]
43338 },
43339 {
43340 "tag": "body"
43341 }
43342 ]
43343 }
43344 ],
43345 "html": "<html><head><script><!--</script</script></head><body></body></html>",
43346 "noQuirksBodyHtml": "<script><!--</script</script>"
43347 }
43348 },
43349 {
43350 "data": "<script><!--</script ",
43351 "errors": [
43352 "(1,8): expected-doctype-but-got-start-tag",
43353 "(1,21): expected-attribute-name-but-got-eof",
43354 "(1,21): expected-named-closing-tag-but-got-eof"
43355 ],
43356 "document": {
43357 "props": {
43358 "tags": {
43359 "html": true,
43360 "head": true,
43361 "script": true,
43362 "body": true
43363 },
43364 "no_escape": true
43365 },
43366 "tree": [
43367 {
43368 "tag": "html",
43369 "children": [
43370 {
43371 "tag": "head",
43372 "children": [
43373 {
43374 "tag": "script",
43375 "children": [
43376 {
43377 "text": "<!--",
43378 "no_escape": true
43379 }
43380 ]
43381 }
43382 ]
43383 },
43384 {
43385 "tag": "body"
43386 }
43387 ]
43388 }
43389 ],
43390 "html": "<html><head><script><!--</script></head><body></body></html>",
43391 "noQuirksBodyHtml": "<script><!--</script>"
43392 }
43393 },
43394 {
43395 "data": "<script><!--<s",
43396 "errors": [
43397 "(1,8): expected-doctype-but-got-start-tag",
43398 "(1,14): expected-named-closing-tag-but-got-eof",
43399 "(1,14): unexpected-eof-in-text-mode"
43400 ],
43401 "document": {
43402 "props": {
43403 "tags": {
43404 "html": true,
43405 "head": true,
43406 "script": true,
43407 "body": true
43408 },
43409 "no_escape": true
43410 },
43411 "tree": [
43412 {
43413 "tag": "html",
43414 "children": [
43415 {
43416 "tag": "head",
43417 "children": [
43418 {
43419 "tag": "script",
43420 "children": [
43421 {
43422 "text": "<!--<s",
43423 "no_escape": true
43424 }
43425 ]
43426 }
43427 ]
43428 },
43429 {
43430 "tag": "body"
43431 }
43432 ]
43433 }
43434 ],
43435 "html": "<html><head><script><!--<s</script></head><body></body></html>",
43436 "noQuirksBodyHtml": "<script><!--<s</script>"
43437 }
43438 },
43439 {
43440 "data": "<script><!--<script",
43441 "errors": [
43442 "(1,8): expected-doctype-but-got-start-tag",
43443 "(1,19): expected-named-closing-tag-but-got-eof",
43444 "(1,19): unexpected-eof-in-text-mode"
43445 ],
43446 "document": {
43447 "props": {
43448 "tags": {
43449 "html": true,
43450 "head": true,
43451 "script": true,
43452 "body": true
43453 },
43454 "no_escape": true
43455 },
43456 "tree": [
43457 {
43458 "tag": "html",
43459 "children": [
43460 {
43461 "tag": "head",
43462 "children": [
43463 {
43464 "tag": "script",
43465 "children": [
43466 {
43467 "text": "<!--<script",
43468 "no_escape": true
43469 }
43470 ]
43471 }
43472 ]
43473 },
43474 {
43475 "tag": "body"
43476 }
43477 ]
43478 }
43479 ],
43480 "html": "<html><head><script><!--<script</script></head><body></body></html>",
43481 "noQuirksBodyHtml": "<script><!--<script</script>"
43482 }
43483 },
43484 {
43485 "data": "<script><!--<script ",
43486 "errors": [
43487 "(1,8): expected-doctype-but-got-start-tag",
43488 "(1,20): eof-in-script-in-script",
43489 "(1,20): expected-named-closing-tag-but-got-eof"
43490 ],
43491 "document": {
43492 "props": {
43493 "tags": {
43494 "html": true,
43495 "head": true,
43496 "script": true,
43497 "body": true
43498 },
43499 "no_escape": true
43500 },
43501 "tree": [
43502 {
43503 "tag": "html",
43504 "children": [
43505 {
43506 "tag": "head",
43507 "children": [
43508 {
43509 "tag": "script",
43510 "children": [
43511 {
43512 "text": "<!--<script ",
43513 "no_escape": true
43514 }
43515 ]
43516 }
43517 ]
43518 },
43519 {
43520 "tag": "body"
43521 }
43522 ]
43523 }
43524 ],
43525 "html": "<html><head><script><!--<script </script></head><body></body></html>",
43526 "noQuirksBodyHtml": "<script><!--<script </script>"
43527 }
43528 },
43529 {
43530 "data": "<script><!--<script <",
43531 "errors": [
43532 "(1,8): expected-doctype-but-got-start-tag",
43533 "(1,21): eof-in-script-in-script",
43534 "(1,21): expected-named-closing-tag-but-got-eof"
43535 ],
43536 "document": {
43537 "props": {
43538 "tags": {
43539 "html": true,
43540 "head": true,
43541 "script": true,
43542 "body": true
43543 },
43544 "no_escape": true
43545 },
43546 "tree": [
43547 {
43548 "tag": "html",
43549 "children": [
43550 {
43551 "tag": "head",
43552 "children": [
43553 {
43554 "tag": "script",
43555 "children": [
43556 {
43557 "text": "<!--<script <",
43558 "no_escape": true
43559 }
43560 ]
43561 }
43562 ]
43563 },
43564 {
43565 "tag": "body"
43566 }
43567 ]
43568 }
43569 ],
43570 "html": "<html><head><script><!--<script <</script></head><body></body></html>",
43571 "noQuirksBodyHtml": "<script><!--<script <</script>"
43572 }
43573 },
43574 {
43575 "data": "<script><!--<script <a",
43576 "errors": [
43577 "(1,8): expected-doctype-but-got-start-tag",
43578 "(1,22): eof-in-script-in-script",
43579 "(1,22): expected-named-closing-tag-but-got-eof"
43580 ],
43581 "document": {
43582 "props": {
43583 "tags": {
43584 "html": true,
43585 "head": true,
43586 "script": true,
43587 "body": true
43588 },
43589 "no_escape": true
43590 },
43591 "tree": [
43592 {
43593 "tag": "html",
43594 "children": [
43595 {
43596 "tag": "head",
43597 "children": [
43598 {
43599 "tag": "script",
43600 "children": [
43601 {
43602 "text": "<!--<script <a",
43603 "no_escape": true
43604 }
43605 ]
43606 }
43607 ]
43608 },
43609 {
43610 "tag": "body"
43611 }
43612 ]
43613 }
43614 ],
43615 "html": "<html><head><script><!--<script <a</script></head><body></body></html>",
43616 "noQuirksBodyHtml": "<script><!--<script <a</script>"
43617 }
43618 },
43619 {
43620 "data": "<script><!--<script </",
43621 "errors": [
43622 "(1,8): expected-doctype-but-got-start-tag",
43623 "(1,22): eof-in-script-in-script",
43624 "(1,22): expected-named-closing-tag-but-got-eof"
43625 ],
43626 "document": {
43627 "props": {
43628 "tags": {
43629 "html": true,
43630 "head": true,
43631 "script": true,
43632 "body": true
43633 },
43634 "no_escape": true
43635 },
43636 "tree": [
43637 {
43638 "tag": "html",
43639 "children": [
43640 {
43641 "tag": "head",
43642 "children": [
43643 {
43644 "tag": "script",
43645 "children": [
43646 {
43647 "text": "<!--<script </",
43648 "no_escape": true
43649 }
43650 ]
43651 }
43652 ]
43653 },
43654 {
43655 "tag": "body"
43656 }
43657 ]
43658 }
43659 ],
43660 "html": "<html><head><script><!--<script </</script></head><body></body></html>",
43661 "noQuirksBodyHtml": "<script><!--<script </</script>"
43662 }
43663 },
43664 {
43665 "data": "<script><!--<script </s",
43666 "errors": [
43667 "(1,8): expected-doctype-but-got-start-tag",
43668 "(1,23): eof-in-script-in-script",
43669 "(1,23): expected-named-closing-tag-but-got-eof"
43670 ],
43671 "document": {
43672 "props": {
43673 "tags": {
43674 "html": true,
43675 "head": true,
43676 "script": true,
43677 "body": true
43678 },
43679 "no_escape": true
43680 },
43681 "tree": [
43682 {
43683 "tag": "html",
43684 "children": [
43685 {
43686 "tag": "head",
43687 "children": [
43688 {
43689 "tag": "script",
43690 "children": [
43691 {
43692 "text": "<!--<script </s",
43693 "no_escape": true
43694 }
43695 ]
43696 }
43697 ]
43698 },
43699 {
43700 "tag": "body"
43701 }
43702 ]
43703 }
43704 ],
43705 "html": "<html><head><script><!--<script </s</script></head><body></body></html>",
43706 "noQuirksBodyHtml": "<script><!--<script </s</script>"
43707 }
43708 },
43709 {
43710 "data": "<script><!--<script </script",
43711 "errors": [
43712 "(1,8): expected-doctype-but-got-start-tag",
43713 "(1,28): eof-in-script-in-script",
43714 "(1,28): expected-named-closing-tag-but-got-eof"
43715 ],
43716 "document": {
43717 "props": {
43718 "tags": {
43719 "html": true,
43720 "head": true,
43721 "script": true,
43722 "body": true
43723 },
43724 "no_escape": true
43725 },
43726 "tree": [
43727 {
43728 "tag": "html",
43729 "children": [
43730 {
43731 "tag": "head",
43732 "children": [
43733 {
43734 "tag": "script",
43735 "children": [
43736 {
43737 "text": "<!--<script </script",
43738 "no_escape": true
43739 }
43740 ]
43741 }
43742 ]
43743 },
43744 {
43745 "tag": "body"
43746 }
43747 ]
43748 }
43749 ],
43750 "html": "<html><head><script><!--<script </script</script></head><body></body></html>",
43751 "noQuirksBodyHtml": "<script><!--<script </script</script>"
43752 }
43753 },
43754 {
43755 "data": "<script><!--<script </scripta",
43756 "errors": [
43757 "(1,8): expected-doctype-but-got-start-tag",
43758 "(1,29): eof-in-script-in-script",
43759 "(1,29): expected-named-closing-tag-but-got-eof"
43760 ],
43761 "document": {
43762 "props": {
43763 "tags": {
43764 "html": true,
43765 "head": true,
43766 "script": true,
43767 "body": true
43768 },
43769 "no_escape": true
43770 },
43771 "tree": [
43772 {
43773 "tag": "html",
43774 "children": [
43775 {
43776 "tag": "head",
43777 "children": [
43778 {
43779 "tag": "script",
43780 "children": [
43781 {
43782 "text": "<!--<script </scripta",
43783 "no_escape": true
43784 }
43785 ]
43786 }
43787 ]
43788 },
43789 {
43790 "tag": "body"
43791 }
43792 ]
43793 }
43794 ],
43795 "html": "<html><head><script><!--<script </scripta</script></head><body></body></html>",
43796 "noQuirksBodyHtml": "<script><!--<script </scripta</script>"
43797 }
43798 },
43799 {
43800 "data": "<script><!--<script </script ",
43801 "errors": [
43802 "(1,8): expected-doctype-but-got-start-tag",
43803 "(1,29): expected-named-closing-tag-but-got-eof",
43804 "(1,29): unexpected-eof-in-text-mode"
43805 ],
43806 "document": {
43807 "props": {
43808 "tags": {
43809 "html": true,
43810 "head": true,
43811 "script": true,
43812 "body": true
43813 },
43814 "no_escape": true
43815 },
43816 "tree": [
43817 {
43818 "tag": "html",
43819 "children": [
43820 {
43821 "tag": "head",
43822 "children": [
43823 {
43824 "tag": "script",
43825 "children": [
43826 {
43827 "text": "<!--<script </script ",
43828 "no_escape": true
43829 }
43830 ]
43831 }
43832 ]
43833 },
43834 {
43835 "tag": "body"
43836 }
43837 ]
43838 }
43839 ],
43840 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
43841 "noQuirksBodyHtml": "<script><!--<script </script </script>"
43842 }
43843 },
43844 {
43845 "data": "<script><!--<script </script>",
43846 "errors": [
43847 "(1,8): expected-doctype-but-got-start-tag",
43848 "(1,29): expected-named-closing-tag-but-got-eof",
43849 "(1,29): unexpected-eof-in-text-mode"
43850 ],
43851 "document": {
43852 "props": {
43853 "tags": {
43854 "html": true,
43855 "head": true,
43856 "script": true,
43857 "body": true
43858 },
43859 "no_escape": true
43860 },
43861 "tree": [
43862 {
43863 "tag": "html",
43864 "children": [
43865 {
43866 "tag": "head",
43867 "children": [
43868 {
43869 "tag": "script",
43870 "children": [
43871 {
43872 "text": "<!--<script </script>",
43873 "no_escape": true
43874 }
43875 ]
43876 }
43877 ]
43878 },
43879 {
43880 "tag": "body"
43881 }
43882 ]
43883 }
43884 ],
43885 "html": "<html><head><script><!--<script </script></script></head><body></body></html>",
43886 "noQuirksBodyHtml": "<script><!--<script </script></script>"
43887 }
43888 },
43889 {
43890 "data": "<script><!--<script </script/",
43891 "errors": [
43892 "(1,8): expected-doctype-but-got-start-tag",
43893 "(1,29): expected-named-closing-tag-but-got-eof",
43894 "(1,29): unexpected-eof-in-text-mode"
43895 ],
43896 "document": {
43897 "props": {
43898 "tags": {
43899 "html": true,
43900 "head": true,
43901 "script": true,
43902 "body": true
43903 },
43904 "no_escape": true
43905 },
43906 "tree": [
43907 {
43908 "tag": "html",
43909 "children": [
43910 {
43911 "tag": "head",
43912 "children": [
43913 {
43914 "tag": "script",
43915 "children": [
43916 {
43917 "text": "<!--<script </script/",
43918 "no_escape": true
43919 }
43920 ]
43921 }
43922 ]
43923 },
43924 {
43925 "tag": "body"
43926 }
43927 ]
43928 }
43929 ],
43930 "html": "<html><head><script><!--<script </script/</script></head><body></body></html>",
43931 "noQuirksBodyHtml": "<script><!--<script </script/</script>"
43932 }
43933 },
43934 {
43935 "data": "<script><!--<script </script <",
43936 "errors": [
43937 "(1,8): expected-doctype-but-got-start-tag",
43938 "(1,30): expected-named-closing-tag-but-got-eof",
43939 "(1,30): unexpected-eof-in-text-mode"
43940 ],
43941 "document": {
43942 "props": {
43943 "tags": {
43944 "html": true,
43945 "head": true,
43946 "script": true,
43947 "body": true
43948 },
43949 "no_escape": true
43950 },
43951 "tree": [
43952 {
43953 "tag": "html",
43954 "children": [
43955 {
43956 "tag": "head",
43957 "children": [
43958 {
43959 "tag": "script",
43960 "children": [
43961 {
43962 "text": "<!--<script </script <",
43963 "no_escape": true
43964 }
43965 ]
43966 }
43967 ]
43968 },
43969 {
43970 "tag": "body"
43971 }
43972 ]
43973 }
43974 ],
43975 "html": "<html><head><script><!--<script </script <</script></head><body></body></html>",
43976 "noQuirksBodyHtml": "<script><!--<script </script <</script>"
43977 }
43978 },
43979 {
43980 "data": "<script><!--<script </script <a",
43981 "errors": [
43982 "(1,8): expected-doctype-but-got-start-tag",
43983 "(1,31): expected-named-closing-tag-but-got-eof",
43984 "(1,31): unexpected-eof-in-text-mode"
43985 ],
43986 "document": {
43987 "props": {
43988 "tags": {
43989 "html": true,
43990 "head": true,
43991 "script": true,
43992 "body": true
43993 },
43994 "no_escape": true
43995 },
43996 "tree": [
43997 {
43998 "tag": "html",
43999 "children": [
44000 {
44001 "tag": "head",
44002 "children": [
44003 {
44004 "tag": "script",
44005 "children": [
44006 {
44007 "text": "<!--<script </script <a",
44008 "no_escape": true
44009 }
44010 ]
44011 }
44012 ]
44013 },
44014 {
44015 "tag": "body"
44016 }
44017 ]
44018 }
44019 ],
44020 "html": "<html><head><script><!--<script </script <a</script></head><body></body></html>",
44021 "noQuirksBodyHtml": "<script><!--<script </script <a</script>"
44022 }
44023 },
44024 {
44025 "data": "<script><!--<script </script </",
44026 "errors": [
44027 "(1,8): expected-doctype-but-got-start-tag",
44028 "(1,31): expected-named-closing-tag-but-got-eof",
44029 "(1,31): unexpected-eof-in-text-mode"
44030 ],
44031 "document": {
44032 "props": {
44033 "tags": {
44034 "html": true,
44035 "head": true,
44036 "script": true,
44037 "body": true
44038 },
44039 "no_escape": true
44040 },
44041 "tree": [
44042 {
44043 "tag": "html",
44044 "children": [
44045 {
44046 "tag": "head",
44047 "children": [
44048 {
44049 "tag": "script",
44050 "children": [
44051 {
44052 "text": "<!--<script </script </",
44053 "no_escape": true
44054 }
44055 ]
44056 }
44057 ]
44058 },
44059 {
44060 "tag": "body"
44061 }
44062 ]
44063 }
44064 ],
44065 "html": "<html><head><script><!--<script </script </</script></head><body></body></html>",
44066 "noQuirksBodyHtml": "<script><!--<script </script </</script>"
44067 }
44068 },
44069 {
44070 "data": "<script><!--<script </script </script",
44071 "errors": [
44072 "(1,8): expected-doctype-but-got-start-tag",
44073 "(1,37): expected-named-closing-tag-but-got-eof",
44074 "(1,37): unexpected-eof-in-text-mode"
44075 ],
44076 "document": {
44077 "props": {
44078 "tags": {
44079 "html": true,
44080 "head": true,
44081 "script": true,
44082 "body": true
44083 },
44084 "no_escape": true
44085 },
44086 "tree": [
44087 {
44088 "tag": "html",
44089 "children": [
44090 {
44091 "tag": "head",
44092 "children": [
44093 {
44094 "tag": "script",
44095 "children": [
44096 {
44097 "text": "<!--<script </script </script",
44098 "no_escape": true
44099 }
44100 ]
44101 }
44102 ]
44103 },
44104 {
44105 "tag": "body"
44106 }
44107 ]
44108 }
44109 ],
44110 "html": "<html><head><script><!--<script </script </script</script></head><body></body></html>",
44111 "noQuirksBodyHtml": "<script><!--<script </script </script</script>"
44112 }
44113 },
44114 {
44115 "data": "<script><!--<script </script </script ",
44116 "errors": [
44117 "(1,8): expected-doctype-but-got-start-tag",
44118 "(1,38): expected-attribute-name-but-got-eof",
44119 "(1,38): expected-named-closing-tag-but-got-eof"
44120 ],
44121 "document": {
44122 "props": {
44123 "tags": {
44124 "html": true,
44125 "head": true,
44126 "script": true,
44127 "body": true
44128 },
44129 "no_escape": true
44130 },
44131 "tree": [
44132 {
44133 "tag": "html",
44134 "children": [
44135 {
44136 "tag": "head",
44137 "children": [
44138 {
44139 "tag": "script",
44140 "children": [
44141 {
44142 "text": "<!--<script </script ",
44143 "no_escape": true
44144 }
44145 ]
44146 }
44147 ]
44148 },
44149 {
44150 "tag": "body"
44151 }
44152 ]
44153 }
44154 ],
44155 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
44156 "noQuirksBodyHtml": "<script><!--<script </script </script>"
44157 }
44158 },
44159 {
44160 "data": "<script><!--<script </script </script/",
44161 "errors": [
44162 "(1,8): expected-doctype-but-got-start-tag",
44163 "(1,38): unexpected-EOF-after-solidus-in-tag",
44164 "(1,38): expected-named-closing-tag-but-got-eof"
44165 ],
44166 "document": {
44167 "props": {
44168 "tags": {
44169 "html": true,
44170 "head": true,
44171 "script": true,
44172 "body": true
44173 },
44174 "no_escape": true
44175 },
44176 "tree": [
44177 {
44178 "tag": "html",
44179 "children": [
44180 {
44181 "tag": "head",
44182 "children": [
44183 {
44184 "tag": "script",
44185 "children": [
44186 {
44187 "text": "<!--<script </script ",
44188 "no_escape": true
44189 }
44190 ]
44191 }
44192 ]
44193 },
44194 {
44195 "tag": "body"
44196 }
44197 ]
44198 }
44199 ],
44200 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
44201 "noQuirksBodyHtml": "<script><!--<script </script </script>"
44202 }
44203 },
44204 {
44205 "data": "<script><!--<script </script </script>",
44206 "errors": [
44207 "(1,8): expected-doctype-but-got-start-tag"
44208 ],
44209 "document": {
44210 "props": {
44211 "tags": {
44212 "html": true,
44213 "head": true,
44214 "script": true,
44215 "body": true
44216 },
44217 "no_escape": true
44218 },
44219 "tree": [
44220 {
44221 "tag": "html",
44222 "children": [
44223 {
44224 "tag": "head",
44225 "children": [
44226 {
44227 "tag": "script",
44228 "children": [
44229 {
44230 "text": "<!--<script </script ",
44231 "no_escape": true
44232 }
44233 ]
44234 }
44235 ]
44236 },
44237 {
44238 "tag": "body"
44239 }
44240 ]
44241 }
44242 ],
44243 "html": "<html><head><script><!--<script </script </script></head><body></body></html>",
44244 "noQuirksBodyHtml": "<script><!--<script </script </script>"
44245 }
44246 },
44247 {
44248 "data": "<script><!--<script -",
44249 "errors": [
44250 "(1,8): expected-doctype-but-got-start-tag",
44251 "(1,21): eof-in-script-in-script",
44252 "(1,21): expected-named-closing-tag-but-got-eof"
44253 ],
44254 "document": {
44255 "props": {
44256 "tags": {
44257 "html": true,
44258 "head": true,
44259 "script": true,
44260 "body": true
44261 },
44262 "no_escape": true
44263 },
44264 "tree": [
44265 {
44266 "tag": "html",
44267 "children": [
44268 {
44269 "tag": "head",
44270 "children": [
44271 {
44272 "tag": "script",
44273 "children": [
44274 {
44275 "text": "<!--<script -",
44276 "no_escape": true
44277 }
44278 ]
44279 }
44280 ]
44281 },
44282 {
44283 "tag": "body"
44284 }
44285 ]
44286 }
44287 ],
44288 "html": "<html><head><script><!--<script -</script></head><body></body></html>",
44289 "noQuirksBodyHtml": "<script><!--<script -</script>"
44290 }
44291 },
44292 {
44293 "data": "<script><!--<script -a",
44294 "errors": [
44295 "(1,8): expected-doctype-but-got-start-tag",
44296 "(1,22): eof-in-script-in-script",
44297 "(1,22): expected-named-closing-tag-but-got-eof"
44298 ],
44299 "document": {
44300 "props": {
44301 "tags": {
44302 "html": true,
44303 "head": true,
44304 "script": true,
44305 "body": true
44306 },
44307 "no_escape": true
44308 },
44309 "tree": [
44310 {
44311 "tag": "html",
44312 "children": [
44313 {
44314 "tag": "head",
44315 "children": [
44316 {
44317 "tag": "script",
44318 "children": [
44319 {
44320 "text": "<!--<script -a",
44321 "no_escape": true
44322 }
44323 ]
44324 }
44325 ]
44326 },
44327 {
44328 "tag": "body"
44329 }
44330 ]
44331 }
44332 ],
44333 "html": "<html><head><script><!--<script -a</script></head><body></body></html>",
44334 "noQuirksBodyHtml": "<script><!--<script -a</script>"
44335 }
44336 },
44337 {
44338 "data": "<script><!--<script --",
44339 "errors": [
44340 "(1,8): expected-doctype-but-got-start-tag",
44341 "(1,22): eof-in-script-in-script",
44342 "(1,22): expected-named-closing-tag-but-got-eof"
44343 ],
44344 "document": {
44345 "props": {
44346 "tags": {
44347 "html": true,
44348 "head": true,
44349 "script": true,
44350 "body": true
44351 },
44352 "no_escape": true
44353 },
44354 "tree": [
44355 {
44356 "tag": "html",
44357 "children": [
44358 {
44359 "tag": "head",
44360 "children": [
44361 {
44362 "tag": "script",
44363 "children": [
44364 {
44365 "text": "<!--<script --",
44366 "no_escape": true
44367 }
44368 ]
44369 }
44370 ]
44371 },
44372 {
44373 "tag": "body"
44374 }
44375 ]
44376 }
44377 ],
44378 "html": "<html><head><script><!--<script --</script></head><body></body></html>",
44379 "noQuirksBodyHtml": "<script><!--<script --</script>"
44380 }
44381 },
44382 {
44383 "data": "<script><!--<script --a",
44384 "errors": [
44385 "(1,8): expected-doctype-but-got-start-tag",
44386 "(1,23): eof-in-script-in-script",
44387 "(1,23): expected-named-closing-tag-but-got-eof"
44388 ],
44389 "document": {
44390 "props": {
44391 "tags": {
44392 "html": true,
44393 "head": true,
44394 "script": true,
44395 "body": true
44396 },
44397 "no_escape": true
44398 },
44399 "tree": [
44400 {
44401 "tag": "html",
44402 "children": [
44403 {
44404 "tag": "head",
44405 "children": [
44406 {
44407 "tag": "script",
44408 "children": [
44409 {
44410 "text": "<!--<script --a",
44411 "no_escape": true
44412 }
44413 ]
44414 }
44415 ]
44416 },
44417 {
44418 "tag": "body"
44419 }
44420 ]
44421 }
44422 ],
44423 "html": "<html><head><script><!--<script --a</script></head><body></body></html>",
44424 "noQuirksBodyHtml": "<script><!--<script --a</script>"
44425 }
44426 },
44427 {
44428 "data": "<script><!--<script -->",
44429 "errors": [
44430 "(1,8): expected-doctype-but-got-start-tag",
44431 "(1,23): expected-named-closing-tag-but-got-eof"
44432 ],
44433 "document": {
44434 "props": {
44435 "tags": {
44436 "html": true,
44437 "head": true,
44438 "script": true,
44439 "body": true
44440 },
44441 "no_escape": true
44442 },
44443 "tree": [
44444 {
44445 "tag": "html",
44446 "children": [
44447 {
44448 "tag": "head",
44449 "children": [
44450 {
44451 "tag": "script",
44452 "children": [
44453 {
44454 "text": "<!--<script -->",
44455 "no_escape": true
44456 }
44457 ]
44458 }
44459 ]
44460 },
44461 {
44462 "tag": "body"
44463 }
44464 ]
44465 }
44466 ],
44467 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
44468 "noQuirksBodyHtml": "<script><!--<script --></script>"
44469 }
44470 },
44471 {
44472 "data": "<script><!--<script --><",
44473 "errors": [
44474 "(1,8): expected-doctype-but-got-start-tag",
44475 "(1,24): expected-named-closing-tag-but-got-eof"
44476 ],
44477 "document": {
44478 "props": {
44479 "tags": {
44480 "html": true,
44481 "head": true,
44482 "script": true,
44483 "body": true
44484 },
44485 "no_escape": true
44486 },
44487 "tree": [
44488 {
44489 "tag": "html",
44490 "children": [
44491 {
44492 "tag": "head",
44493 "children": [
44494 {
44495 "tag": "script",
44496 "children": [
44497 {
44498 "text": "<!--<script --><",
44499 "no_escape": true
44500 }
44501 ]
44502 }
44503 ]
44504 },
44505 {
44506 "tag": "body"
44507 }
44508 ]
44509 }
44510 ],
44511 "html": "<html><head><script><!--<script --><</script></head><body></body></html>",
44512 "noQuirksBodyHtml": "<script><!--<script --><</script>"
44513 }
44514 },
44515 {
44516 "data": "<script><!--<script --></",
44517 "errors": [
44518 "(1,8): expected-doctype-but-got-start-tag",
44519 "(1,25): expected-named-closing-tag-but-got-eof"
44520 ],
44521 "document": {
44522 "props": {
44523 "tags": {
44524 "html": true,
44525 "head": true,
44526 "script": true,
44527 "body": true
44528 },
44529 "no_escape": true
44530 },
44531 "tree": [
44532 {
44533 "tag": "html",
44534 "children": [
44535 {
44536 "tag": "head",
44537 "children": [
44538 {
44539 "tag": "script",
44540 "children": [
44541 {
44542 "text": "<!--<script --></",
44543 "no_escape": true
44544 }
44545 ]
44546 }
44547 ]
44548 },
44549 {
44550 "tag": "body"
44551 }
44552 ]
44553 }
44554 ],
44555 "html": "<html><head><script><!--<script --></</script></head><body></body></html>",
44556 "noQuirksBodyHtml": "<script><!--<script --></</script>"
44557 }
44558 },
44559 {
44560 "data": "<script><!--<script --></script",
44561 "errors": [
44562 "(1,8): expected-doctype-but-got-start-tag",
44563 "(1,31): expected-named-closing-tag-but-got-eof"
44564 ],
44565 "document": {
44566 "props": {
44567 "tags": {
44568 "html": true,
44569 "head": true,
44570 "script": true,
44571 "body": true
44572 },
44573 "no_escape": true
44574 },
44575 "tree": [
44576 {
44577 "tag": "html",
44578 "children": [
44579 {
44580 "tag": "head",
44581 "children": [
44582 {
44583 "tag": "script",
44584 "children": [
44585 {
44586 "text": "<!--<script --></script",
44587 "no_escape": true
44588 }
44589 ]
44590 }
44591 ]
44592 },
44593 {
44594 "tag": "body"
44595 }
44596 ]
44597 }
44598 ],
44599 "html": "<html><head><script><!--<script --></script</script></head><body></body></html>",
44600 "noQuirksBodyHtml": "<script><!--<script --></script</script>"
44601 }
44602 },
44603 {
44604 "data": "<script><!--<script --></script ",
44605 "errors": [
44606 "(1,8): expected-doctype-but-got-start-tag",
44607 "(1,32): expected-attribute-name-but-got-eof",
44608 "(1,32): expected-named-closing-tag-but-got-eof"
44609 ],
44610 "document": {
44611 "props": {
44612 "tags": {
44613 "html": true,
44614 "head": true,
44615 "script": true,
44616 "body": true
44617 },
44618 "no_escape": true
44619 },
44620 "tree": [
44621 {
44622 "tag": "html",
44623 "children": [
44624 {
44625 "tag": "head",
44626 "children": [
44627 {
44628 "tag": "script",
44629 "children": [
44630 {
44631 "text": "<!--<script -->",
44632 "no_escape": true
44633 }
44634 ]
44635 }
44636 ]
44637 },
44638 {
44639 "tag": "body"
44640 }
44641 ]
44642 }
44643 ],
44644 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
44645 "noQuirksBodyHtml": "<script><!--<script --></script>"
44646 }
44647 },
44648 {
44649 "data": "<script><!--<script --></script/",
44650 "errors": [
44651 "(1,8): expected-doctype-but-got-start-tag",
44652 "(1,32): unexpected-EOF-after-solidus-in-tag",
44653 "(1,32): expected-named-closing-tag-but-got-eof"
44654 ],
44655 "document": {
44656 "props": {
44657 "tags": {
44658 "html": true,
44659 "head": true,
44660 "script": true,
44661 "body": true
44662 },
44663 "no_escape": true
44664 },
44665 "tree": [
44666 {
44667 "tag": "html",
44668 "children": [
44669 {
44670 "tag": "head",
44671 "children": [
44672 {
44673 "tag": "script",
44674 "children": [
44675 {
44676 "text": "<!--<script -->",
44677 "no_escape": true
44678 }
44679 ]
44680 }
44681 ]
44682 },
44683 {
44684 "tag": "body"
44685 }
44686 ]
44687 }
44688 ],
44689 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
44690 "noQuirksBodyHtml": "<script><!--<script --></script>"
44691 }
44692 },
44693 {
44694 "data": "<script><!--<script --></script>",
44695 "errors": [
44696 "(1,8): expected-doctype-but-got-start-tag"
44697 ],
44698 "document": {
44699 "props": {
44700 "tags": {
44701 "html": true,
44702 "head": true,
44703 "script": true,
44704 "body": true
44705 },
44706 "no_escape": true
44707 },
44708 "tree": [
44709 {
44710 "tag": "html",
44711 "children": [
44712 {
44713 "tag": "head",
44714 "children": [
44715 {
44716 "tag": "script",
44717 "children": [
44718 {
44719 "text": "<!--<script -->",
44720 "no_escape": true
44721 }
44722 ]
44723 }
44724 ]
44725 },
44726 {
44727 "tag": "body"
44728 }
44729 ]
44730 }
44731 ],
44732 "html": "<html><head><script><!--<script --></script></head><body></body></html>",
44733 "noQuirksBodyHtml": "<script><!--<script --></script>"
44734 }
44735 },
44736 {
44737 "data": "<script><!--<script><\\/script>--></script>",
44738 "errors": [
44739 "(1,8): expected-doctype-but-got-start-tag"
44740 ],
44741 "document": {
44742 "props": {
44743 "tags": {
44744 "html": true,
44745 "head": true,
44746 "script": true,
44747 "body": true
44748 },
44749 "no_escape": true
44750 },
44751 "tree": [
44752 {
44753 "tag": "html",
44754 "children": [
44755 {
44756 "tag": "head",
44757 "children": [
44758 {
44759 "tag": "script",
44760 "children": [
44761 {
44762 "text": "<!--<script><\\/script>-->",
44763 "no_escape": true
44764 }
44765 ]
44766 }
44767 ]
44768 },
44769 {
44770 "tag": "body"
44771 }
44772 ]
44773 }
44774 ],
44775 "html": "<html><head><script><!--<script><\\/script>--></script></head><body></body></html>",
44776 "noQuirksBodyHtml": "<script><!--<script><\\/script>--></script>"
44777 }
44778 },
44779 {
44780 "data": "<script><!--<script></scr'+'ipt>--></script>",
44781 "errors": [
44782 "(1,8): expected-doctype-but-got-start-tag"
44783 ],
44784 "document": {
44785 "props": {
44786 "tags": {
44787 "html": true,
44788 "head": true,
44789 "script": true,
44790 "body": true
44791 },
44792 "no_escape": true
44793 },
44794 "tree": [
44795 {
44796 "tag": "html",
44797 "children": [
44798 {
44799 "tag": "head",
44800 "children": [
44801 {
44802 "tag": "script",
44803 "children": [
44804 {
44805 "text": "<!--<script></scr'+'ipt>-->",
44806 "no_escape": true
44807 }
44808 ]
44809 }
44810 ]
44811 },
44812 {
44813 "tag": "body"
44814 }
44815 ]
44816 }
44817 ],
44818 "html": "<html><head><script><!--<script></scr'+'ipt>--></script></head><body></body></html>",
44819 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt>--></script>"
44820 }
44821 },
44822 {
44823 "data": "<script><!--<script></script><script></script></script>",
44824 "errors": [
44825 "(1,8): expected-doctype-but-got-start-tag"
44826 ],
44827 "document": {
44828 "props": {
44829 "tags": {
44830 "html": true,
44831 "head": true,
44832 "script": true,
44833 "body": true
44834 },
44835 "no_escape": true
44836 },
44837 "tree": [
44838 {
44839 "tag": "html",
44840 "children": [
44841 {
44842 "tag": "head",
44843 "children": [
44844 {
44845 "tag": "script",
44846 "children": [
44847 {
44848 "text": "<!--<script></script><script></script>",
44849 "no_escape": true
44850 }
44851 ]
44852 }
44853 ]
44854 },
44855 {
44856 "tag": "body"
44857 }
44858 ]
44859 }
44860 ],
44861 "html": "<html><head><script><!--<script></script><script></script></script></head><body></body></html>",
44862 "noQuirksBodyHtml": "<script><!--<script></script><script></script></script>"
44863 }
44864 },
44865 {
44866 "data": "<script><!--<script></script><script></script>--><!--</script>",
44867 "errors": [
44868 "(1,8): expected-doctype-but-got-start-tag"
44869 ],
44870 "document": {
44871 "props": {
44872 "tags": {
44873 "html": true,
44874 "head": true,
44875 "script": true,
44876 "body": true
44877 },
44878 "no_escape": true
44879 },
44880 "tree": [
44881 {
44882 "tag": "html",
44883 "children": [
44884 {
44885 "tag": "head",
44886 "children": [
44887 {
44888 "tag": "script",
44889 "children": [
44890 {
44891 "text": "<!--<script></script><script></script>--><!--",
44892 "no_escape": true
44893 }
44894 ]
44895 }
44896 ]
44897 },
44898 {
44899 "tag": "body"
44900 }
44901 ]
44902 }
44903 ],
44904 "html": "<html><head><script><!--<script></script><script></script>--><!--</script></head><body></body></html>",
44905 "noQuirksBodyHtml": "<script><!--<script></script><script></script>--><!--</script>"
44906 }
44907 },
44908 {
44909 "data": "<script><!--<script></script><script></script>-- ></script>",
44910 "errors": [
44911 "(1,8): expected-doctype-but-got-start-tag"
44912 ],
44913 "document": {
44914 "props": {
44915 "tags": {
44916 "html": true,
44917 "head": true,
44918 "script": true,
44919 "body": true
44920 },
44921 "no_escape": true
44922 },
44923 "tree": [
44924 {
44925 "tag": "html",
44926 "children": [
44927 {
44928 "tag": "head",
44929 "children": [
44930 {
44931 "tag": "script",
44932 "children": [
44933 {
44934 "text": "<!--<script></script><script></script>-- >",
44935 "no_escape": true
44936 }
44937 ]
44938 }
44939 ]
44940 },
44941 {
44942 "tag": "body"
44943 }
44944 ]
44945 }
44946 ],
44947 "html": "<html><head><script><!--<script></script><script></script>-- ></script></head><body></body></html>",
44948 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-- ></script>"
44949 }
44950 },
44951 {
44952 "data": "<script><!--<script></script><script></script>- -></script>",
44953 "errors": [
44954 "(1,8): expected-doctype-but-got-start-tag"
44955 ],
44956 "document": {
44957 "props": {
44958 "tags": {
44959 "html": true,
44960 "head": true,
44961 "script": true,
44962 "body": true
44963 },
44964 "no_escape": true
44965 },
44966 "tree": [
44967 {
44968 "tag": "html",
44969 "children": [
44970 {
44971 "tag": "head",
44972 "children": [
44973 {
44974 "tag": "script",
44975 "children": [
44976 {
44977 "text": "<!--<script></script><script></script>- ->",
44978 "no_escape": true
44979 }
44980 ]
44981 }
44982 ]
44983 },
44984 {
44985 "tag": "body"
44986 }
44987 ]
44988 }
44989 ],
44990 "html": "<html><head><script><!--<script></script><script></script>- -></script></head><body></body></html>",
44991 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- -></script>"
44992 }
44993 },
44994 {
44995 "data": "<script><!--<script></script><script></script>- - ></script>",
44996 "errors": [
44997 "(1,8): expected-doctype-but-got-start-tag"
44998 ],
44999 "document": {
45000 "props": {
45001 "tags": {
45002 "html": true,
45003 "head": true,
45004 "script": true,
45005 "body": true
45006 },
45007 "no_escape": true
45008 },
45009 "tree": [
45010 {
45011 "tag": "html",
45012 "children": [
45013 {
45014 "tag": "head",
45015 "children": [
45016 {
45017 "tag": "script",
45018 "children": [
45019 {
45020 "text": "<!--<script></script><script></script>- - >",
45021 "no_escape": true
45022 }
45023 ]
45024 }
45025 ]
45026 },
45027 {
45028 "tag": "body"
45029 }
45030 ]
45031 }
45032 ],
45033 "html": "<html><head><script><!--<script></script><script></script>- - ></script></head><body></body></html>",
45034 "noQuirksBodyHtml": "<script><!--<script></script><script></script>- - ></script>"
45035 }
45036 },
45037 {
45038 "data": "<script><!--<script></script><script></script>-></script>",
45039 "errors": [
45040 "(1,8): expected-doctype-but-got-start-tag"
45041 ],
45042 "document": {
45043 "props": {
45044 "tags": {
45045 "html": true,
45046 "head": true,
45047 "script": true,
45048 "body": true
45049 },
45050 "no_escape": true
45051 },
45052 "tree": [
45053 {
45054 "tag": "html",
45055 "children": [
45056 {
45057 "tag": "head",
45058 "children": [
45059 {
45060 "tag": "script",
45061 "children": [
45062 {
45063 "text": "<!--<script></script><script></script>->",
45064 "no_escape": true
45065 }
45066 ]
45067 }
45068 ]
45069 },
45070 {
45071 "tag": "body"
45072 }
45073 ]
45074 }
45075 ],
45076 "html": "<html><head><script><!--<script></script><script></script>-></script></head><body></body></html>",
45077 "noQuirksBodyHtml": "<script><!--<script></script><script></script>-></script>"
45078 }
45079 },
45080 {
45081 "data": "<script><!--<script>--!></script>X",
45082 "errors": [
45083 "(1,8): expected-doctype-but-got-start-tag",
45084 "(1,34): expected-named-closing-tag-but-got-eof",
45085 "(1,34): unexpected-eof-in-text-mode"
45086 ],
45087 "document": {
45088 "props": {
45089 "tags": {
45090 "html": true,
45091 "head": true,
45092 "script": true,
45093 "body": true
45094 },
45095 "no_escape": true
45096 },
45097 "tree": [
45098 {
45099 "tag": "html",
45100 "children": [
45101 {
45102 "tag": "head",
45103 "children": [
45104 {
45105 "tag": "script",
45106 "children": [
45107 {
45108 "text": "<!--<script>--!></script>X",
45109 "no_escape": true
45110 }
45111 ]
45112 }
45113 ]
45114 },
45115 {
45116 "tag": "body"
45117 }
45118 ]
45119 }
45120 ],
45121 "html": "<html><head><script><!--<script>--!></script>X</script></head><body></body></html>",
45122 "noQuirksBodyHtml": "<script><!--<script>--!></script>X</script>"
45123 }
45124 },
45125 {
45126 "data": "<script><!--<scr'+'ipt></script>--></script>",
45127 "errors": [
45128 "(1,8): expected-doctype-but-got-start-tag",
45129 "(1,44): unexpected-end-tag"
45130 ],
45131 "document": {
45132 "props": {
45133 "tags": {
45134 "html": true,
45135 "head": true,
45136 "script": true,
45137 "body": true
45138 },
45139 "no_escape": true,
45140 "escaped": true
45141 },
45142 "tree": [
45143 {
45144 "tag": "html",
45145 "children": [
45146 {
45147 "tag": "head",
45148 "children": [
45149 {
45150 "tag": "script",
45151 "children": [
45152 {
45153 "text": "<!--<scr'+'ipt>",
45154 "no_escape": true
45155 }
45156 ]
45157 }
45158 ]
45159 },
45160 {
45161 "tag": "body",
45162 "children": [
45163 {
45164 "text": "-->",
45165 "escaped": true
45166 }
45167 ]
45168 }
45169 ]
45170 }
45171 ],
45172 "html": "<html><head><script><!--<scr'+'ipt></script></head><body>--&gt;</body></html>",
45173 "noQuirksBodyHtml": "<script><!--<scr'+'ipt></script>--&gt;"
45174 }
45175 },
45176 {
45177 "data": "<script><!--<script></scr'+'ipt></script>X",
45178 "errors": [
45179 "(1,8): expected-doctype-but-got-start-tag",
45180 "(1,42): expected-named-closing-tag-but-got-eof",
45181 "(1,42): unexpected-eof-in-text-mode"
45182 ],
45183 "document": {
45184 "props": {
45185 "tags": {
45186 "html": true,
45187 "head": true,
45188 "script": true,
45189 "body": true
45190 },
45191 "no_escape": true
45192 },
45193 "tree": [
45194 {
45195 "tag": "html",
45196 "children": [
45197 {
45198 "tag": "head",
45199 "children": [
45200 {
45201 "tag": "script",
45202 "children": [
45203 {
45204 "text": "<!--<script></scr'+'ipt></script>X",
45205 "no_escape": true
45206 }
45207 ]
45208 }
45209 ]
45210 },
45211 {
45212 "tag": "body"
45213 }
45214 ]
45215 }
45216 ],
45217 "html": "<html><head><script><!--<script></scr'+'ipt></script>X</script></head><body></body></html>",
45218 "noQuirksBodyHtml": "<script><!--<script></scr'+'ipt></script>X</script>"
45219 }
45220 },
45221 {
45222 "data": "<style><!--<style></style>--></style>",
45223 "errors": [
45224 "(1,7): expected-doctype-but-got-start-tag",
45225 "(1,37): unexpected-end-tag"
45226 ],
45227 "document": {
45228 "props": {
45229 "tags": {
45230 "html": true,
45231 "head": true,
45232 "style": true,
45233 "body": true
45234 },
45235 "no_escape": true,
45236 "escaped": true
45237 },
45238 "tree": [
45239 {
45240 "tag": "html",
45241 "children": [
45242 {
45243 "tag": "head",
45244 "children": [
45245 {
45246 "tag": "style",
45247 "children": [
45248 {
45249 "text": "<!--<style>",
45250 "no_escape": true
45251 }
45252 ]
45253 }
45254 ]
45255 },
45256 {
45257 "tag": "body",
45258 "children": [
45259 {
45260 "text": "-->",
45261 "escaped": true
45262 }
45263 ]
45264 }
45265 ]
45266 }
45267 ],
45268 "html": "<html><head><style><!--<style></style></head><body>--&gt;</body></html>",
45269 "noQuirksBodyHtml": "<style><!--<style></style>--&gt;"
45270 }
45271 },
45272 {
45273 "data": "<style><!--</style>X",
45274 "errors": [
45275 "(1,7): expected-doctype-but-got-start-tag"
45276 ],
45277 "document": {
45278 "props": {
45279 "tags": {
45280 "html": true,
45281 "head": true,
45282 "style": true,
45283 "body": true
45284 },
45285 "no_escape": true
45286 },
45287 "tree": [
45288 {
45289 "tag": "html",
45290 "children": [
45291 {
45292 "tag": "head",
45293 "children": [
45294 {
45295 "tag": "style",
45296 "children": [
45297 {
45298 "text": "<!--",
45299 "no_escape": true
45300 }
45301 ]
45302 }
45303 ]
45304 },
45305 {
45306 "tag": "body",
45307 "children": [
45308 {
45309 "text": "X"
45310 }
45311 ]
45312 }
45313 ]
45314 }
45315 ],
45316 "html": "<html><head><style><!--</style></head><body>X</body></html>",
45317 "noQuirksBodyHtml": "<style><!--</style>X"
45318 }
45319 },
45320 {
45321 "data": "<style><!--...</style>...--></style>",
45322 "errors": [
45323 "(1,7): expected-doctype-but-got-start-tag",
45324 "(1,36): unexpected-end-tag"
45325 ],
45326 "document": {
45327 "props": {
45328 "tags": {
45329 "html": true,
45330 "head": true,
45331 "style": true,
45332 "body": true
45333 },
45334 "no_escape": true,
45335 "escaped": true
45336 },
45337 "tree": [
45338 {
45339 "tag": "html",
45340 "children": [
45341 {
45342 "tag": "head",
45343 "children": [
45344 {
45345 "tag": "style",
45346 "children": [
45347 {
45348 "text": "<!--...",
45349 "no_escape": true
45350 }
45351 ]
45352 }
45353 ]
45354 },
45355 {
45356 "tag": "body",
45357 "children": [
45358 {
45359 "text": "...-->",
45360 "escaped": true
45361 }
45362 ]
45363 }
45364 ]
45365 }
45366 ],
45367 "html": "<html><head><style><!--...</style></head><body>...--&gt;</body></html>",
45368 "noQuirksBodyHtml": "<style><!--...</style>...--&gt;"
45369 }
45370 },
45371 {
45372 "data": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
45373 "errors": [
45374 "(1,7): expected-doctype-but-got-start-tag"
45375 ],
45376 "document": {
45377 "props": {
45378 "tags": {
45379 "html": true,
45380 "head": true,
45381 "style": true,
45382 "body": true
45383 },
45384 "no_escape": true
45385 },
45386 "tree": [
45387 {
45388 "tag": "html",
45389 "children": [
45390 {
45391 "tag": "head",
45392 "children": [
45393 {
45394 "tag": "style",
45395 "children": [
45396 {
45397 "text": "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>",
45398 "no_escape": true
45399 }
45400 ]
45401 }
45402 ]
45403 },
45404 {
45405 "tag": "body",
45406 "children": [
45407 {
45408 "text": "X"
45409 }
45410 ]
45411 }
45412 ]
45413 }
45414 ],
45415 "html": "<html><head><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style></head><body>X</body></html>",
45416 "noQuirksBodyHtml": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X"
45417 }
45418 },
45419 {
45420 "data": "<style><!--...<style><!--...--!></style>--></style>",
45421 "errors": [
45422 "(1,7): expected-doctype-but-got-start-tag",
45423 "(1,51): unexpected-end-tag"
45424 ],
45425 "document": {
45426 "props": {
45427 "tags": {
45428 "html": true,
45429 "head": true,
45430 "style": true,
45431 "body": true
45432 },
45433 "no_escape": true,
45434 "escaped": true
45435 },
45436 "tree": [
45437 {
45438 "tag": "html",
45439 "children": [
45440 {
45441 "tag": "head",
45442 "children": [
45443 {
45444 "tag": "style",
45445 "children": [
45446 {
45447 "text": "<!--...<style><!--...--!>",
45448 "no_escape": true
45449 }
45450 ]
45451 }
45452 ]
45453 },
45454 {
45455 "tag": "body",
45456 "children": [
45457 {
45458 "text": "-->",
45459 "escaped": true
45460 }
45461 ]
45462 }
45463 ]
45464 }
45465 ],
45466 "html": "<html><head><style><!--...<style><!--...--!></style></head><body>--&gt;</body></html>",
45467 "noQuirksBodyHtml": "<style><!--...<style><!--...--!></style>--&gt;"
45468 }
45469 },
45470 {
45471 "data": "<style><!--...</style><!-- --><style>@import ...</style>",
45472 "errors": [
45473 "(1,7): expected-doctype-but-got-start-tag"
45474 ],
45475 "document": {
45476 "props": {
45477 "tags": {
45478 "html": true,
45479 "head": true,
45480 "style": true,
45481 "body": true
45482 },
45483 "no_escape": true,
45484 "comment": true
45485 },
45486 "tree": [
45487 {
45488 "tag": "html",
45489 "children": [
45490 {
45491 "tag": "head",
45492 "children": [
45493 {
45494 "tag": "style",
45495 "children": [
45496 {
45497 "text": "<!--...",
45498 "no_escape": true
45499 }
45500 ]
45501 },
45502 {
45503 "comment": " "
45504 },
45505 {
45506 "tag": "style",
45507 "children": [
45508 {
45509 "text": "@import ...",
45510 "no_escape": true
45511 }
45512 ]
45513 }
45514 ]
45515 },
45516 {
45517 "tag": "body"
45518 }
45519 ]
45520 }
45521 ],
45522 "html": "<html><head><style><!--...</style><!-- --><style>@import ...</style></head><body></body></html>",
45523 "noQuirksBodyHtml": "<style><!--...</style><!-- --><style>@import ...</style>"
45524 }
45525 },
45526 {
45527 "data": "<style>...<style><!--...</style><!-- --></style>",
45528 "errors": [
45529 "(1,7): expected-doctype-but-got-start-tag",
45530 "(1,48): unexpected-end-tag"
45531 ],
45532 "document": {
45533 "props": {
45534 "tags": {
45535 "html": true,
45536 "head": true,
45537 "style": true,
45538 "body": true
45539 },
45540 "no_escape": true,
45541 "comment": true
45542 },
45543 "tree": [
45544 {
45545 "tag": "html",
45546 "children": [
45547 {
45548 "tag": "head",
45549 "children": [
45550 {
45551 "tag": "style",
45552 "children": [
45553 {
45554 "text": "...<style><!--...",
45555 "no_escape": true
45556 }
45557 ]
45558 },
45559 {
45560 "comment": " "
45561 }
45562 ]
45563 },
45564 {
45565 "tag": "body"
45566 }
45567 ]
45568 }
45569 ],
45570 "html": "<html><head><style>...<style><!--...</style><!-- --></head><body></body></html>",
45571 "noQuirksBodyHtml": "<style>...<style><!--...</style><!-- -->"
45572 }
45573 },
45574 {
45575 "data": "<style>...<!--[if IE]><style>...</style>X",
45576 "errors": [
45577 "(1,7): expected-doctype-but-got-start-tag"
45578 ],
45579 "document": {
45580 "props": {
45581 "tags": {
45582 "html": true,
45583 "head": true,
45584 "style": true,
45585 "body": true
45586 },
45587 "no_escape": true
45588 },
45589 "tree": [
45590 {
45591 "tag": "html",
45592 "children": [
45593 {
45594 "tag": "head",
45595 "children": [
45596 {
45597 "tag": "style",
45598 "children": [
45599 {
45600 "text": "...<!--[if IE]><style>...",
45601 "no_escape": true
45602 }
45603 ]
45604 }
45605 ]
45606 },
45607 {
45608 "tag": "body",
45609 "children": [
45610 {
45611 "text": "X"
45612 }
45613 ]
45614 }
45615 ]
45616 }
45617 ],
45618 "html": "<html><head><style>...<!--[if IE]><style>...</style></head><body>X</body></html>",
45619 "noQuirksBodyHtml": "<style>...<!--[if IE]><style>...</style>X"
45620 }
45621 },
45622 {
45623 "data": "<title><!--<title></title>--></title>",
45624 "errors": [
45625 "(1,7): expected-doctype-but-got-start-tag",
45626 "(1,37): unexpected-end-tag"
45627 ],
45628 "document": {
45629 "props": {
45630 "tags": {
45631 "html": true,
45632 "head": true,
45633 "title": true,
45634 "body": true
45635 },
45636 "escaped": true
45637 },
45638 "tree": [
45639 {
45640 "tag": "html",
45641 "children": [
45642 {
45643 "tag": "head",
45644 "children": [
45645 {
45646 "tag": "title",
45647 "children": [
45648 {
45649 "text": "<!--<title>",
45650 "escaped": true
45651 }
45652 ]
45653 }
45654 ]
45655 },
45656 {
45657 "tag": "body",
45658 "children": [
45659 {
45660 "text": "-->",
45661 "escaped": true
45662 }
45663 ]
45664 }
45665 ]
45666 }
45667 ],
45668 "html": "<html><head><title>&lt;!--&lt;title&gt;</title></head><body>--&gt;</body></html>",
45669 "noQuirksBodyHtml": "<title>&lt;!--&lt;title&gt;</title>--&gt;"
45670 }
45671 },
45672 {
45673 "data": "<title>&lt;/title></title>",
45674 "errors": [
45675 "(1,7): expected-doctype-but-got-start-tag"
45676 ],
45677 "document": {
45678 "props": {
45679 "tags": {
45680 "html": true,
45681 "head": true,
45682 "title": true,
45683 "body": true
45684 },
45685 "escaped": true
45686 },
45687 "tree": [
45688 {
45689 "tag": "html",
45690 "children": [
45691 {
45692 "tag": "head",
45693 "children": [
45694 {
45695 "tag": "title",
45696 "children": [
45697 {
45698 "text": "</title>",
45699 "escaped": true
45700 }
45701 ]
45702 }
45703 ]
45704 },
45705 {
45706 "tag": "body"
45707 }
45708 ]
45709 }
45710 ],
45711 "html": "<html><head><title>&lt;/title&gt;</title></head><body></body></html>",
45712 "noQuirksBodyHtml": "<title>&lt;/title&gt;</title>"
45713 }
45714 },
45715 {
45716 "data": "<title>foo/title><link></head><body>X",
45717 "errors": [
45718 "(1,7): expected-doctype-but-got-start-tag",
45719 "(1,37): expected-named-closing-tag-but-got-eof"
45720 ],
45721 "document": {
45722 "props": {
45723 "tags": {
45724 "html": true,
45725 "head": true,
45726 "title": true,
45727 "body": true
45728 },
45729 "escaped": true
45730 },
45731 "tree": [
45732 {
45733 "tag": "html",
45734 "children": [
45735 {
45736 "tag": "head",
45737 "children": [
45738 {
45739 "tag": "title",
45740 "children": [
45741 {
45742 "text": "foo/title><link></head><body>X",
45743 "escaped": true
45744 }
45745 ]
45746 }
45747 ]
45748 },
45749 {
45750 "tag": "body"
45751 }
45752 ]
45753 }
45754 ],
45755 "html": "<html><head><title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title></head><body></body></html>",
45756 "noQuirksBodyHtml": "<title>foo/title&gt;&lt;link&gt;&lt;/head&gt;&lt;body&gt;X</title>"
45757 }
45758 },
45759 {
45760 "data": "<noscript><!--<noscript></noscript>--></noscript>",
45761 "errors": [
45762 "(1,10): expected-doctype-but-got-start-tag",
45763 "(1,49): unexpected-end-tag"
45764 ],
45765 "script": "on",
45766 "document": {
45767 "props": {
45768 "tags": {
45769 "html": true,
45770 "head": true,
45771 "noscript": true,
45772 "body": true
45773 },
45774 "no_escape": true,
45775 "escaped": true
45776 },
45777 "tree": [
45778 {
45779 "tag": "html",
45780 "children": [
45781 {
45782 "tag": "head",
45783 "children": [
45784 {
45785 "tag": "noscript",
45786 "children": [
45787 {
45788 "text": "<!--<noscript>",
45789 "no_escape": true
45790 }
45791 ]
45792 }
45793 ]
45794 },
45795 {
45796 "tag": "body",
45797 "children": [
45798 {
45799 "text": "-->",
45800 "escaped": true
45801 }
45802 ]
45803 }
45804 ]
45805 }
45806 ],
45807 "html": "<html><head><noscript><!--<noscript></noscript></head><body>--&gt;</body></html>",
45808 "noQuirksBodyHtml": "<noscript>&lt;!--&lt;noscript&gt;</noscript>--&gt;"
45809 }
45810 },
45811 {
45812 "data": "<noscript><!--<noscript></noscript>--></noscript>",
45813 "errors": [
45814 " * (1,11) missing DOCTYPE"
45815 ],
45816 "script": "off",
45817 "document": {
45818 "props": {
45819 "tags": {
45820 "html": true,
45821 "head": true,
45822 "noscript": true,
45823 "body": true
45824 },
45825 "comment": true
45826 },
45827 "tree": [
45828 {
45829 "tag": "html",
45830 "children": [
45831 {
45832 "tag": "head",
45833 "children": [
45834 {
45835 "tag": "noscript",
45836 "children": [
45837 {
45838 "comment": "<noscript></noscript>"
45839 }
45840 ]
45841 }
45842 ]
45843 },
45844 {
45845 "tag": "body"
45846 }
45847 ]
45848 }
45849 ],
45850 "html": "<html><head><noscript><!--<noscript></noscript>--></noscript></head><body></body></html>",
45851 "noQuirksBodyHtml": "<noscript>&lt;!--&lt;noscript&gt;</noscript>--&gt;"
45852 }
45853 },
45854 {
45855 "data": "<noscript><!--</noscript>X<noscript>--></noscript>",
45856 "errors": [
45857 "(1,10): expected-doctype-but-got-start-tag"
45858 ],
45859 "script": "on",
45860 "document": {
45861 "props": {
45862 "tags": {
45863 "html": true,
45864 "head": true,
45865 "noscript": true,
45866 "body": true
45867 },
45868 "no_escape": true
45869 },
45870 "tree": [
45871 {
45872 "tag": "html",
45873 "children": [
45874 {
45875 "tag": "head",
45876 "children": [
45877 {
45878 "tag": "noscript",
45879 "children": [
45880 {
45881 "text": "<!--",
45882 "no_escape": true
45883 }
45884 ]
45885 }
45886 ]
45887 },
45888 {
45889 "tag": "body",
45890 "children": [
45891 {
45892 "text": "X"
45893 },
45894 {
45895 "tag": "noscript",
45896 "children": [
45897 {
45898 "text": "-->",
45899 "no_escape": true
45900 }
45901 ]
45902 }
45903 ]
45904 }
45905 ]
45906 }
45907 ],
45908 "html": "<html><head><noscript><!--</noscript></head><body>X<noscript>--></noscript></body></html>",
45909 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>X<noscript>--&gt;</noscript>"
45910 }
45911 },
45912 {
45913 "data": "<noscript><!--</noscript>X<noscript>--></noscript>",
45914 "errors": [
45915 "(1,10): expected-doctype-but-got-start-tag"
45916 ],
45917 "script": "off",
45918 "document": {
45919 "props": {
45920 "tags": {
45921 "html": true,
45922 "head": true,
45923 "noscript": true,
45924 "body": true
45925 },
45926 "comment": true
45927 },
45928 "tree": [
45929 {
45930 "tag": "html",
45931 "children": [
45932 {
45933 "tag": "head",
45934 "children": [
45935 {
45936 "tag": "noscript",
45937 "children": [
45938 {
45939 "comment": "</noscript>X<noscript>"
45940 }
45941 ]
45942 }
45943 ]
45944 },
45945 {
45946 "tag": "body"
45947 }
45948 ]
45949 }
45950 ],
45951 "html": "<html><head><noscript><!--</noscript>X<noscript>--></noscript></head><body></body></html>",
45952 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>X<noscript>--&gt;</noscript>"
45953 }
45954 },
45955 {
45956 "data": "<noscript><iframe></noscript>X",
45957 "errors": [
45958 "(1,10): expected-doctype-but-got-start-tag"
45959 ],
45960 "script": "on",
45961 "document": {
45962 "props": {
45963 "tags": {
45964 "html": true,
45965 "head": true,
45966 "noscript": true,
45967 "body": true
45968 },
45969 "no_escape": true
45970 },
45971 "tree": [
45972 {
45973 "tag": "html",
45974 "children": [
45975 {
45976 "tag": "head",
45977 "children": [
45978 {
45979 "tag": "noscript",
45980 "children": [
45981 {
45982 "text": "<iframe>",
45983 "no_escape": true
45984 }
45985 ]
45986 }
45987 ]
45988 },
45989 {
45990 "tag": "body",
45991 "children": [
45992 {
45993 "text": "X"
45994 }
45995 ]
45996 }
45997 ]
45998 }
45999 ],
46000 "html": "<html><head><noscript><iframe></noscript></head><body>X</body></html>",
46001 "noQuirksBodyHtml": "<noscript>&lt;iframe&gt;</noscript>X"
46002 }
46003 },
46004 {
46005 "data": "<noscript><iframe></noscript>X",
46006 "errors": [
46007 " * (1,11) missing DOCTYPE",
46008 " * (1,19) unexpected token in head noscript",
46009 " * (1,31) unexpected EOF"
46010 ],
46011 "script": "off",
46012 "document": {
46013 "props": {
46014 "tags": {
46015 "html": true,
46016 "head": true,
46017 "noscript": true,
46018 "body": true,
46019 "iframe": true
46020 },
46021 "no_escape": true
46022 },
46023 "tree": [
46024 {
46025 "tag": "html",
46026 "children": [
46027 {
46028 "tag": "head",
46029 "children": [
46030 {
46031 "tag": "noscript"
46032 }
46033 ]
46034 },
46035 {
46036 "tag": "body",
46037 "children": [
46038 {
46039 "tag": "iframe",
46040 "children": [
46041 {
46042 "text": "</noscript>X",
46043 "no_escape": true
46044 }
46045 ]
46046 }
46047 ]
46048 }
46049 ]
46050 }
46051 ],
46052 "html": "<html><head><noscript></noscript></head><body><iframe></noscript>X</iframe></body></html>",
46053 "noQuirksBodyHtml": "<noscript>&lt;iframe&gt;</noscript>X"
46054 }
46055 },
46056 {
46057 "data": "<noframes><!--<noframes></noframes>--></noframes>",
46058 "errors": [
46059 "(1,10): expected-doctype-but-got-start-tag",
46060 "(1,49): unexpected-end-tag"
46061 ],
46062 "document": {
46063 "props": {
46064 "tags": {
46065 "html": true,
46066 "head": true,
46067 "noframes": true,
46068 "body": true
46069 },
46070 "no_escape": true,
46071 "escaped": true
46072 },
46073 "tree": [
46074 {
46075 "tag": "html",
46076 "children": [
46077 {
46078 "tag": "head",
46079 "children": [
46080 {
46081 "tag": "noframes",
46082 "children": [
46083 {
46084 "text": "<!--<noframes>",
46085 "no_escape": true
46086 }
46087 ]
46088 }
46089 ]
46090 },
46091 {
46092 "tag": "body",
46093 "children": [
46094 {
46095 "text": "-->",
46096 "escaped": true
46097 }
46098 ]
46099 }
46100 ]
46101 }
46102 ],
46103 "html": "<html><head><noframes><!--<noframes></noframes></head><body>--&gt;</body></html>",
46104 "noQuirksBodyHtml": "<noframes><!--<noframes></noframes>--&gt;"
46105 }
46106 },
46107 {
46108 "data": "<noframes><body><script><!--...</script></body></noframes></html>",
46109 "errors": [
46110 "(1,10): expected-doctype-but-got-start-tag"
46111 ],
46112 "document": {
46113 "props": {
46114 "tags": {
46115 "html": true,
46116 "head": true,
46117 "noframes": true,
46118 "body": true
46119 },
46120 "no_escape": true
46121 },
46122 "tree": [
46123 {
46124 "tag": "html",
46125 "children": [
46126 {
46127 "tag": "head",
46128 "children": [
46129 {
46130 "tag": "noframes",
46131 "children": [
46132 {
46133 "text": "<body><script><!--...</script></body>",
46134 "no_escape": true
46135 }
46136 ]
46137 }
46138 ]
46139 },
46140 {
46141 "tag": "body"
46142 }
46143 ]
46144 }
46145 ],
46146 "html": "<html><head><noframes><body><script><!--...</script></body></noframes></head><body></body></html>",
46147 "noQuirksBodyHtml": "<noframes><body><script><!--...</script></body></noframes>"
46148 }
46149 },
46150 {
46151 "data": "<textarea><!--<textarea></textarea>--></textarea>",
46152 "errors": [
46153 "(1,10): expected-doctype-but-got-start-tag",
46154 "(1,49): unexpected-end-tag"
46155 ],
46156 "document": {
46157 "props": {
46158 "tags": {
46159 "html": true,
46160 "head": true,
46161 "body": true,
46162 "textarea": true
46163 },
46164 "escaped": true
46165 },
46166 "tree": [
46167 {
46168 "tag": "html",
46169 "children": [
46170 {
46171 "tag": "head"
46172 },
46173 {
46174 "tag": "body",
46175 "children": [
46176 {
46177 "tag": "textarea",
46178 "children": [
46179 {
46180 "text": "<!--<textarea>",
46181 "escaped": true
46182 }
46183 ]
46184 },
46185 {
46186 "text": "-->",
46187 "escaped": true
46188 }
46189 ]
46190 }
46191 ]
46192 }
46193 ],
46194 "html": "<html><head></head><body><textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;</body></html>",
46195 "noQuirksBodyHtml": "<textarea>&lt;!--&lt;textarea&gt;</textarea>--&gt;"
46196 }
46197 },
46198 {
46199 "data": "<textarea>&lt;/textarea></textarea>",
46200 "errors": [
46201 "(1,10): expected-doctype-but-got-start-tag"
46202 ],
46203 "document": {
46204 "props": {
46205 "tags": {
46206 "html": true,
46207 "head": true,
46208 "body": true,
46209 "textarea": true
46210 },
46211 "escaped": true
46212 },
46213 "tree": [
46214 {
46215 "tag": "html",
46216 "children": [
46217 {
46218 "tag": "head"
46219 },
46220 {
46221 "tag": "body",
46222 "children": [
46223 {
46224 "tag": "textarea",
46225 "children": [
46226 {
46227 "text": "</textarea>",
46228 "escaped": true
46229 }
46230 ]
46231 }
46232 ]
46233 }
46234 ]
46235 }
46236 ],
46237 "html": "<html><head></head><body><textarea>&lt;/textarea&gt;</textarea></body></html>",
46238 "noQuirksBodyHtml": "<textarea>&lt;/textarea&gt;</textarea>"
46239 }
46240 },
46241 {
46242 "data": "<iframe><!--<iframe></iframe>--></iframe>",
46243 "errors": [
46244 "(1,8): expected-doctype-but-got-start-tag",
46245 "(1,41): unexpected-end-tag"
46246 ],
46247 "document": {
46248 "props": {
46249 "tags": {
46250 "html": true,
46251 "head": true,
46252 "body": true,
46253 "iframe": true
46254 },
46255 "no_escape": true,
46256 "escaped": true
46257 },
46258 "tree": [
46259 {
46260 "tag": "html",
46261 "children": [
46262 {
46263 "tag": "head"
46264 },
46265 {
46266 "tag": "body",
46267 "children": [
46268 {
46269 "tag": "iframe",
46270 "children": [
46271 {
46272 "text": "<!--<iframe>",
46273 "no_escape": true
46274 }
46275 ]
46276 },
46277 {
46278 "text": "-->",
46279 "escaped": true
46280 }
46281 ]
46282 }
46283 ]
46284 }
46285 ],
46286 "html": "<html><head></head><body><iframe><!--<iframe></iframe>--&gt;</body></html>",
46287 "noQuirksBodyHtml": "<iframe><!--<iframe></iframe>--&gt;"
46288 }
46289 },
46290 {
46291 "data": "<iframe>...<!--X->...<!--/X->...</iframe>",
46292 "errors": [
46293 "(1,8): expected-doctype-but-got-start-tag"
46294 ],
46295 "document": {
46296 "props": {
46297 "tags": {
46298 "html": true,
46299 "head": true,
46300 "body": true,
46301 "iframe": true
46302 },
46303 "no_escape": true
46304 },
46305 "tree": [
46306 {
46307 "tag": "html",
46308 "children": [
46309 {
46310 "tag": "head"
46311 },
46312 {
46313 "tag": "body",
46314 "children": [
46315 {
46316 "tag": "iframe",
46317 "children": [
46318 {
46319 "text": "...<!--X->...<!--/X->...",
46320 "no_escape": true
46321 }
46322 ]
46323 }
46324 ]
46325 }
46326 ]
46327 }
46328 ],
46329 "html": "<html><head></head><body><iframe>...<!--X->...<!--/X->...</iframe></body></html>",
46330 "noQuirksBodyHtml": "<iframe>...<!--X->...<!--/X->...</iframe>"
46331 }
46332 },
46333 {
46334 "data": "<xmp><!--<xmp></xmp>--></xmp>",
46335 "errors": [
46336 "(1,5): expected-doctype-but-got-start-tag",
46337 "(1,29): unexpected-end-tag"
46338 ],
46339 "document": {
46340 "props": {
46341 "tags": {
46342 "html": true,
46343 "head": true,
46344 "body": true,
46345 "xmp": true
46346 },
46347 "no_escape": true,
46348 "escaped": true
46349 },
46350 "tree": [
46351 {
46352 "tag": "html",
46353 "children": [
46354 {
46355 "tag": "head"
46356 },
46357 {
46358 "tag": "body",
46359 "children": [
46360 {
46361 "tag": "xmp",
46362 "children": [
46363 {
46364 "text": "<!--<xmp>",
46365 "no_escape": true
46366 }
46367 ]
46368 },
46369 {
46370 "text": "-->",
46371 "escaped": true
46372 }
46373 ]
46374 }
46375 ]
46376 }
46377 ],
46378 "html": "<html><head></head><body><xmp><!--<xmp></xmp>--&gt;</body></html>",
46379 "noQuirksBodyHtml": "<xmp><!--<xmp></xmp>--&gt;"
46380 }
46381 },
46382 {
46383 "data": "<noembed><!--<noembed></noembed>--></noembed>",
46384 "errors": [
46385 "(1,9): expected-doctype-but-got-start-tag",
46386 "(1,45): unexpected-end-tag"
46387 ],
46388 "document": {
46389 "props": {
46390 "tags": {
46391 "html": true,
46392 "head": true,
46393 "body": true,
46394 "noembed": true
46395 },
46396 "no_escape": true,
46397 "escaped": true
46398 },
46399 "tree": [
46400 {
46401 "tag": "html",
46402 "children": [
46403 {
46404 "tag": "head"
46405 },
46406 {
46407 "tag": "body",
46408 "children": [
46409 {
46410 "tag": "noembed",
46411 "children": [
46412 {
46413 "text": "<!--<noembed>",
46414 "no_escape": true
46415 }
46416 ]
46417 },
46418 {
46419 "text": "-->",
46420 "escaped": true
46421 }
46422 ]
46423 }
46424 ]
46425 }
46426 ],
46427 "html": "<html><head></head><body><noembed><!--<noembed></noembed>--&gt;</body></html>",
46428 "noQuirksBodyHtml": "<noembed><!--<noembed></noembed>--&gt;"
46429 }
46430 },
46431 {
46432 "data": "<!doctype html><table>\n",
46433 "errors": [
46434 "(2,0): eof-in-table"
46435 ],
46436 "document": {
46437 "props": {
46438 "tags": {
46439 "html": true,
46440 "head": true,
46441 "body": true,
46442 "table": true
46443 },
46444 "doctype": true
46445 },
46446 "tree": [
46447 {
46448 "doctype": "html"
46449 },
46450 {
46451 "tag": "html",
46452 "children": [
46453 {
46454 "tag": "head"
46455 },
46456 {
46457 "tag": "body",
46458 "children": [
46459 {
46460 "tag": "table",
46461 "children": [
46462 {
46463 "text": "\n"
46464 }
46465 ]
46466 }
46467 ]
46468 }
46469 ]
46470 }
46471 ],
46472 "html": "<!DOCTYPE html><html><head></head><body><table>\n</table></body></html>",
46473 "noQuirksBodyHtml": "<table>\n</table>"
46474 }
46475 },
46476 {
46477 "data": "<!doctype html><table><td><span><font></span><span>",
46478 "errors": [
46479 "(1,26): unexpected-cell-in-table-body",
46480 "(1,45): unexpected-end-tag",
46481 "(1,51): expected-closing-tag-but-got-eof"
46482 ],
46483 "document": {
46484 "props": {
46485 "tags": {
46486 "html": true,
46487 "head": true,
46488 "body": true,
46489 "table": true,
46490 "tbody": true,
46491 "tr": true,
46492 "td": true,
46493 "span": true,
46494 "font": true
46495 },
46496 "doctype": true
46497 },
46498 "tree": [
46499 {
46500 "doctype": "html"
46501 },
46502 {
46503 "tag": "html",
46504 "children": [
46505 {
46506 "tag": "head"
46507 },
46508 {
46509 "tag": "body",
46510 "children": [
46511 {
46512 "tag": "table",
46513 "children": [
46514 {
46515 "tag": "tbody",
46516 "children": [
46517 {
46518 "tag": "tr",
46519 "children": [
46520 {
46521 "tag": "td",
46522 "children": [
46523 {
46524 "tag": "span",
46525 "children": [
46526 {
46527 "tag": "font"
46528 }
46529 ]
46530 },
46531 {
46532 "tag": "font",
46533 "children": [
46534 {
46535 "tag": "span"
46536 }
46537 ]
46538 }
46539 ]
46540 }
46541 ]
46542 }
46543 ]
46544 }
46545 ]
46546 }
46547 ]
46548 }
46549 ]
46550 }
46551 ],
46552 "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>",
46553 "noQuirksBodyHtml": "<table><tbody><tr><td><span><font></font></span><font><span></span></font></td></tr></tbody></table>"
46554 }
46555 },
46556 {
46557 "data": "<!doctype html><form><table></form><form></table></form>",
46558 "errors": [
46559 "(1,35): unexpected-end-tag-implies-table-voodoo",
46560 "(1,35): unexpected-end-tag",
46561 "(1,41): unexpected-form-in-table",
46562 "(1,56): unexpected-end-tag",
46563 "(1,56): expected-closing-tag-but-got-eof"
46564 ],
46565 "document": {
46566 "props": {
46567 "tags": {
46568 "html": true,
46569 "head": true,
46570 "body": true,
46571 "form": true,
46572 "table": true
46573 },
46574 "doctype": true
46575 },
46576 "tree": [
46577 {
46578 "doctype": "html"
46579 },
46580 {
46581 "tag": "html",
46582 "children": [
46583 {
46584 "tag": "head"
46585 },
46586 {
46587 "tag": "body",
46588 "children": [
46589 {
46590 "tag": "form",
46591 "children": [
46592 {
46593 "tag": "table",
46594 "children": [
46595 {
46596 "tag": "form"
46597 }
46598 ]
46599 }
46600 ]
46601 }
46602 ]
46603 }
46604 ]
46605 }
46606 ],
46607 "html": "<!DOCTYPE html><html><head></head><body><form><table><form></form></table></form></body></html>",
46608 "noQuirksBodyHtml": "<form><table><form></form></table></form>"
46609 }
46610 }
46611 ],
46612 "tests17.dat": [
46613 {
46614 "data": "<!doctype html><table><tbody><select><tr>",
46615 "errors": [
46616 "(1,37): unexpected-start-tag-implies-table-voodoo",
46617 "(1,41): unexpected-table-element-start-tag-in-select-in-table",
46618 "(1,41): eof-in-table"
46619 ],
46620 "document": {
46621 "props": {
46622 "tags": {
46623 "html": true,
46624 "head": true,
46625 "body": true,
46626 "select": true,
46627 "table": true,
46628 "tbody": true,
46629 "tr": true
46630 },
46631 "doctype": true
46632 },
46633 "tree": [
46634 {
46635 "doctype": "html"
46636 },
46637 {
46638 "tag": "html",
46639 "children": [
46640 {
46641 "tag": "head"
46642 },
46643 {
46644 "tag": "body",
46645 "children": [
46646 {
46647 "tag": "select"
46648 },
46649 {
46650 "tag": "table",
46651 "children": [
46652 {
46653 "tag": "tbody",
46654 "children": [
46655 {
46656 "tag": "tr"
46657 }
46658 ]
46659 }
46660 ]
46661 }
46662 ]
46663 }
46664 ]
46665 }
46666 ],
46667 "html": "<!DOCTYPE html><html><head></head><body><select></select><table><tbody><tr></tr></tbody></table></body></html>",
46668 "noQuirksBodyHtml": "<select></select><table><tbody><tr></tr></tbody></table>"
46669 }
46670 },
46671 {
46672 "data": "<!doctype html><table><tr><select><td>",
46673 "errors": [
46674 "(1,34): unexpected-start-tag-implies-table-voodoo",
46675 "(1,38): unexpected-table-element-start-tag-in-select-in-table",
46676 "(1,38): expected-closing-tag-but-got-eof"
46677 ],
46678 "document": {
46679 "props": {
46680 "tags": {
46681 "html": true,
46682 "head": true,
46683 "body": true,
46684 "select": true,
46685 "table": true,
46686 "tbody": true,
46687 "tr": true,
46688 "td": true
46689 },
46690 "doctype": true
46691 },
46692 "tree": [
46693 {
46694 "doctype": "html"
46695 },
46696 {
46697 "tag": "html",
46698 "children": [
46699 {
46700 "tag": "head"
46701 },
46702 {
46703 "tag": "body",
46704 "children": [
46705 {
46706 "tag": "select"
46707 },
46708 {
46709 "tag": "table",
46710 "children": [
46711 {
46712 "tag": "tbody",
46713 "children": [
46714 {
46715 "tag": "tr",
46716 "children": [
46717 {
46718 "tag": "td"
46719 }
46720 ]
46721 }
46722 ]
46723 }
46724 ]
46725 }
46726 ]
46727 }
46728 ]
46729 }
46730 ],
46731 "html": "<!DOCTYPE html><html><head></head><body><select></select><table><tbody><tr><td></td></tr></tbody></table></body></html>",
46732 "noQuirksBodyHtml": "<select></select><table><tbody><tr><td></td></tr></tbody></table>"
46733 }
46734 },
46735 {
46736 "data": "<!doctype html><table><tr><td><select><td>",
46737 "errors": [
46738 "(1,42): unexpected-table-element-start-tag-in-select-in-table",
46739 "(1,42): expected-closing-tag-but-got-eof"
46740 ],
46741 "document": {
46742 "props": {
46743 "tags": {
46744 "html": true,
46745 "head": true,
46746 "body": true,
46747 "table": true,
46748 "tbody": true,
46749 "tr": true,
46750 "td": true,
46751 "select": true
46752 },
46753 "doctype": true
46754 },
46755 "tree": [
46756 {
46757 "doctype": "html"
46758 },
46759 {
46760 "tag": "html",
46761 "children": [
46762 {
46763 "tag": "head"
46764 },
46765 {
46766 "tag": "body",
46767 "children": [
46768 {
46769 "tag": "table",
46770 "children": [
46771 {
46772 "tag": "tbody",
46773 "children": [
46774 {
46775 "tag": "tr",
46776 "children": [
46777 {
46778 "tag": "td",
46779 "children": [
46780 {
46781 "tag": "select"
46782 }
46783 ]
46784 },
46785 {
46786 "tag": "td"
46787 }
46788 ]
46789 }
46790 ]
46791 }
46792 ]
46793 }
46794 ]
46795 }
46796 ]
46797 }
46798 ],
46799 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select></select></td><td></td></tr></tbody></table></body></html>",
46800 "noQuirksBodyHtml": "<table><tbody><tr><td><select></select></td><td></td></tr></tbody></table>"
46801 }
46802 },
46803 {
46804 "data": "<!doctype html><table><tr><th><select><td>",
46805 "errors": [
46806 "(1,42): unexpected-table-element-start-tag-in-select-in-table",
46807 "(1,42): expected-closing-tag-but-got-eof"
46808 ],
46809 "document": {
46810 "props": {
46811 "tags": {
46812 "html": true,
46813 "head": true,
46814 "body": true,
46815 "table": true,
46816 "tbody": true,
46817 "tr": true,
46818 "th": true,
46819 "select": true,
46820 "td": true
46821 },
46822 "doctype": true
46823 },
46824 "tree": [
46825 {
46826 "doctype": "html"
46827 },
46828 {
46829 "tag": "html",
46830 "children": [
46831 {
46832 "tag": "head"
46833 },
46834 {
46835 "tag": "body",
46836 "children": [
46837 {
46838 "tag": "table",
46839 "children": [
46840 {
46841 "tag": "tbody",
46842 "children": [
46843 {
46844 "tag": "tr",
46845 "children": [
46846 {
46847 "tag": "th",
46848 "children": [
46849 {
46850 "tag": "select"
46851 }
46852 ]
46853 },
46854 {
46855 "tag": "td"
46856 }
46857 ]
46858 }
46859 ]
46860 }
46861 ]
46862 }
46863 ]
46864 }
46865 ]
46866 }
46867 ],
46868 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><th><select></select></th><td></td></tr></tbody></table></body></html>",
46869 "noQuirksBodyHtml": "<table><tbody><tr><th><select></select></th><td></td></tr></tbody></table>"
46870 }
46871 },
46872 {
46873 "data": "<!doctype html><table><caption><select><tr>",
46874 "errors": [
46875 "(1,43): unexpected-table-element-start-tag-in-select-in-table",
46876 "(1,43): eof-in-table"
46877 ],
46878 "document": {
46879 "props": {
46880 "tags": {
46881 "html": true,
46882 "head": true,
46883 "body": true,
46884 "table": true,
46885 "caption": true,
46886 "select": true,
46887 "tbody": true,
46888 "tr": true
46889 },
46890 "doctype": true
46891 },
46892 "tree": [
46893 {
46894 "doctype": "html"
46895 },
46896 {
46897 "tag": "html",
46898 "children": [
46899 {
46900 "tag": "head"
46901 },
46902 {
46903 "tag": "body",
46904 "children": [
46905 {
46906 "tag": "table",
46907 "children": [
46908 {
46909 "tag": "caption",
46910 "children": [
46911 {
46912 "tag": "select"
46913 }
46914 ]
46915 },
46916 {
46917 "tag": "tbody",
46918 "children": [
46919 {
46920 "tag": "tr"
46921 }
46922 ]
46923 }
46924 ]
46925 }
46926 ]
46927 }
46928 ]
46929 }
46930 ],
46931 "html": "<!DOCTYPE html><html><head></head><body><table><caption><select></select></caption><tbody><tr></tr></tbody></table></body></html>",
46932 "noQuirksBodyHtml": "<table><caption><select></select></caption><tbody><tr></tr></tbody></table>"
46933 }
46934 },
46935 {
46936 "data": "<!doctype html><select><tr>",
46937 "errors": [
46938 "(1,27): unexpected-start-tag-in-select",
46939 "(1,27): eof-in-select"
46940 ],
46941 "document": {
46942 "props": {
46943 "tags": {
46944 "html": true,
46945 "head": true,
46946 "body": true,
46947 "select": true
46948 },
46949 "doctype": true
46950 },
46951 "tree": [
46952 {
46953 "doctype": "html"
46954 },
46955 {
46956 "tag": "html",
46957 "children": [
46958 {
46959 "tag": "head"
46960 },
46961 {
46962 "tag": "body",
46963 "children": [
46964 {
46965 "tag": "select"
46966 }
46967 ]
46968 }
46969 ]
46970 }
46971 ],
46972 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
46973 "noQuirksBodyHtml": "<select></select>"
46974 }
46975 },
46976 {
46977 "data": "<!doctype html><select><td>",
46978 "errors": [
46979 "(1,27): unexpected-start-tag-in-select",
46980 "(1,27): eof-in-select"
46981 ],
46982 "document": {
46983 "props": {
46984 "tags": {
46985 "html": true,
46986 "head": true,
46987 "body": true,
46988 "select": true
46989 },
46990 "doctype": true
46991 },
46992 "tree": [
46993 {
46994 "doctype": "html"
46995 },
46996 {
46997 "tag": "html",
46998 "children": [
46999 {
47000 "tag": "head"
47001 },
47002 {
47003 "tag": "body",
47004 "children": [
47005 {
47006 "tag": "select"
47007 }
47008 ]
47009 }
47010 ]
47011 }
47012 ],
47013 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47014 "noQuirksBodyHtml": "<select></select>"
47015 }
47016 },
47017 {
47018 "data": "<!doctype html><select><th>",
47019 "errors": [
47020 "(1,27): unexpected-start-tag-in-select",
47021 "(1,27): eof-in-select"
47022 ],
47023 "document": {
47024 "props": {
47025 "tags": {
47026 "html": true,
47027 "head": true,
47028 "body": true,
47029 "select": true
47030 },
47031 "doctype": true
47032 },
47033 "tree": [
47034 {
47035 "doctype": "html"
47036 },
47037 {
47038 "tag": "html",
47039 "children": [
47040 {
47041 "tag": "head"
47042 },
47043 {
47044 "tag": "body",
47045 "children": [
47046 {
47047 "tag": "select"
47048 }
47049 ]
47050 }
47051 ]
47052 }
47053 ],
47054 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47055 "noQuirksBodyHtml": "<select></select>"
47056 }
47057 },
47058 {
47059 "data": "<!doctype html><select><tbody>",
47060 "errors": [
47061 "(1,30): unexpected-start-tag-in-select",
47062 "(1,30): eof-in-select"
47063 ],
47064 "document": {
47065 "props": {
47066 "tags": {
47067 "html": true,
47068 "head": true,
47069 "body": true,
47070 "select": true
47071 },
47072 "doctype": true
47073 },
47074 "tree": [
47075 {
47076 "doctype": "html"
47077 },
47078 {
47079 "tag": "html",
47080 "children": [
47081 {
47082 "tag": "head"
47083 },
47084 {
47085 "tag": "body",
47086 "children": [
47087 {
47088 "tag": "select"
47089 }
47090 ]
47091 }
47092 ]
47093 }
47094 ],
47095 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47096 "noQuirksBodyHtml": "<select></select>"
47097 }
47098 },
47099 {
47100 "data": "<!doctype html><select><thead>",
47101 "errors": [
47102 "(1,30): unexpected-start-tag-in-select",
47103 "(1,30): eof-in-select"
47104 ],
47105 "document": {
47106 "props": {
47107 "tags": {
47108 "html": true,
47109 "head": true,
47110 "body": true,
47111 "select": true
47112 },
47113 "doctype": true
47114 },
47115 "tree": [
47116 {
47117 "doctype": "html"
47118 },
47119 {
47120 "tag": "html",
47121 "children": [
47122 {
47123 "tag": "head"
47124 },
47125 {
47126 "tag": "body",
47127 "children": [
47128 {
47129 "tag": "select"
47130 }
47131 ]
47132 }
47133 ]
47134 }
47135 ],
47136 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47137 "noQuirksBodyHtml": "<select></select>"
47138 }
47139 },
47140 {
47141 "data": "<!doctype html><select><tfoot>",
47142 "errors": [
47143 "(1,30): unexpected-start-tag-in-select",
47144 "(1,30): eof-in-select"
47145 ],
47146 "document": {
47147 "props": {
47148 "tags": {
47149 "html": true,
47150 "head": true,
47151 "body": true,
47152 "select": true
47153 },
47154 "doctype": true
47155 },
47156 "tree": [
47157 {
47158 "doctype": "html"
47159 },
47160 {
47161 "tag": "html",
47162 "children": [
47163 {
47164 "tag": "head"
47165 },
47166 {
47167 "tag": "body",
47168 "children": [
47169 {
47170 "tag": "select"
47171 }
47172 ]
47173 }
47174 ]
47175 }
47176 ],
47177 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47178 "noQuirksBodyHtml": "<select></select>"
47179 }
47180 },
47181 {
47182 "data": "<!doctype html><select><caption>",
47183 "errors": [
47184 "(1,32): unexpected-start-tag-in-select",
47185 "(1,32): eof-in-select"
47186 ],
47187 "document": {
47188 "props": {
47189 "tags": {
47190 "html": true,
47191 "head": true,
47192 "body": true,
47193 "select": true
47194 },
47195 "doctype": true
47196 },
47197 "tree": [
47198 {
47199 "doctype": "html"
47200 },
47201 {
47202 "tag": "html",
47203 "children": [
47204 {
47205 "tag": "head"
47206 },
47207 {
47208 "tag": "body",
47209 "children": [
47210 {
47211 "tag": "select"
47212 }
47213 ]
47214 }
47215 ]
47216 }
47217 ],
47218 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
47219 "noQuirksBodyHtml": "<select></select>"
47220 }
47221 },
47222 {
47223 "data": "<!doctype html><table><tr></table>a",
47224 "errors": [],
47225 "document": {
47226 "props": {
47227 "tags": {
47228 "html": true,
47229 "head": true,
47230 "body": true,
47231 "table": true,
47232 "tbody": true,
47233 "tr": true
47234 },
47235 "doctype": true
47236 },
47237 "tree": [
47238 {
47239 "doctype": "html"
47240 },
47241 {
47242 "tag": "html",
47243 "children": [
47244 {
47245 "tag": "head"
47246 },
47247 {
47248 "tag": "body",
47249 "children": [
47250 {
47251 "tag": "table",
47252 "children": [
47253 {
47254 "tag": "tbody",
47255 "children": [
47256 {
47257 "tag": "tr"
47258 }
47259 ]
47260 }
47261 ]
47262 },
47263 {
47264 "text": "a"
47265 }
47266 ]
47267 }
47268 ]
47269 }
47270 ],
47271 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr></tr></tbody></table>a</body></html>",
47272 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody></table>a"
47273 }
47274 }
47275 ],
47276 "tests18.dat": [
47277 {
47278 "data": "<!doctype html><plaintext></plaintext>",
47279 "errors": [
47280 "(1,38): expected-closing-tag-but-got-eof"
47281 ],
47282 "document": {
47283 "props": {
47284 "tags": {
47285 "html": true,
47286 "head": true,
47287 "body": true,
47288 "plaintext": true
47289 },
47290 "doctype": true,
47291 "no_escape": true
47292 },
47293 "tree": [
47294 {
47295 "doctype": "html"
47296 },
47297 {
47298 "tag": "html",
47299 "children": [
47300 {
47301 "tag": "head"
47302 },
47303 {
47304 "tag": "body",
47305 "children": [
47306 {
47307 "tag": "plaintext",
47308 "children": [
47309 {
47310 "text": "</plaintext>",
47311 "no_escape": true
47312 }
47313 ]
47314 }
47315 ]
47316 }
47317 ]
47318 }
47319 ],
47320 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext></body></html>",
47321 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext>"
47322 }
47323 },
47324 {
47325 "data": "<!doctype html><table><plaintext></plaintext>",
47326 "errors": [
47327 "(1,33): foster-parenting-start-tag",
47328 "(1,34): foster-parenting-character",
47329 "(1,35): foster-parenting-character",
47330 "(1,36): foster-parenting-character",
47331 "(1,37): foster-parenting-character",
47332 "(1,38): foster-parenting-character",
47333 "(1,39): foster-parenting-character",
47334 "(1,40): foster-parenting-character",
47335 "(1,41): foster-parenting-character",
47336 "(1,42): foster-parenting-character",
47337 "(1,43): foster-parenting-character",
47338 "(1,44): foster-parenting-character",
47339 "(1,45): foster-parenting-character",
47340 "(1,45): eof-in-table"
47341 ],
47342 "document": {
47343 "props": {
47344 "tags": {
47345 "html": true,
47346 "head": true,
47347 "body": true,
47348 "plaintext": true,
47349 "table": true
47350 },
47351 "doctype": true,
47352 "no_escape": true
47353 },
47354 "tree": [
47355 {
47356 "doctype": "html"
47357 },
47358 {
47359 "tag": "html",
47360 "children": [
47361 {
47362 "tag": "head"
47363 },
47364 {
47365 "tag": "body",
47366 "children": [
47367 {
47368 "tag": "plaintext",
47369 "children": [
47370 {
47371 "text": "</plaintext>",
47372 "no_escape": true
47373 }
47374 ]
47375 },
47376 {
47377 "tag": "table"
47378 }
47379 ]
47380 }
47381 ]
47382 }
47383 ],
47384 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table></table></body></html>",
47385 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table></table>"
47386 }
47387 },
47388 {
47389 "data": "<!doctype html><table><tbody><plaintext></plaintext>",
47390 "errors": [
47391 "(1,40): foster-parenting-start-tag",
47392 "(1,41): foster-parenting-character",
47393 "(1,41): foster-parenting-character",
47394 "(1,41): foster-parenting-character",
47395 "(1,41): foster-parenting-character",
47396 "(1,41): foster-parenting-character",
47397 "(1,41): foster-parenting-character",
47398 "(1,41): foster-parenting-character",
47399 "(1,41): foster-parenting-character",
47400 "(1,41): foster-parenting-character",
47401 "(1,41): foster-parenting-character",
47402 "(1,41): foster-parenting-character",
47403 "(1,41): foster-parenting-character",
47404 "(1,52): eof-in-table"
47405 ],
47406 "document": {
47407 "props": {
47408 "tags": {
47409 "html": true,
47410 "head": true,
47411 "body": true,
47412 "plaintext": true,
47413 "table": true,
47414 "tbody": true
47415 },
47416 "doctype": true,
47417 "no_escape": true
47418 },
47419 "tree": [
47420 {
47421 "doctype": "html"
47422 },
47423 {
47424 "tag": "html",
47425 "children": [
47426 {
47427 "tag": "head"
47428 },
47429 {
47430 "tag": "body",
47431 "children": [
47432 {
47433 "tag": "plaintext",
47434 "children": [
47435 {
47436 "text": "</plaintext>",
47437 "no_escape": true
47438 }
47439 ]
47440 },
47441 {
47442 "tag": "table",
47443 "children": [
47444 {
47445 "tag": "tbody"
47446 }
47447 ]
47448 }
47449 ]
47450 }
47451 ]
47452 }
47453 ],
47454 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table><tbody></tbody></table></body></html>",
47455 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table><tbody></tbody></table>"
47456 }
47457 },
47458 {
47459 "data": "<!doctype html><table><tbody><tr><plaintext></plaintext>",
47460 "errors": [
47461 "(1,44): foster-parenting-start-tag",
47462 "(1,45): foster-parenting-character",
47463 "(1,46): foster-parenting-character",
47464 "(1,47): foster-parenting-character",
47465 "(1,48): foster-parenting-character",
47466 "(1,49): foster-parenting-character",
47467 "(1,50): foster-parenting-character",
47468 "(1,51): foster-parenting-character",
47469 "(1,52): foster-parenting-character",
47470 "(1,53): foster-parenting-character",
47471 "(1,54): foster-parenting-character",
47472 "(1,55): foster-parenting-character",
47473 "(1,56): foster-parenting-character",
47474 "(1,56): eof-in-table"
47475 ],
47476 "document": {
47477 "props": {
47478 "tags": {
47479 "html": true,
47480 "head": true,
47481 "body": true,
47482 "plaintext": true,
47483 "table": true,
47484 "tbody": true,
47485 "tr": true
47486 },
47487 "doctype": true,
47488 "no_escape": true
47489 },
47490 "tree": [
47491 {
47492 "doctype": "html"
47493 },
47494 {
47495 "tag": "html",
47496 "children": [
47497 {
47498 "tag": "head"
47499 },
47500 {
47501 "tag": "body",
47502 "children": [
47503 {
47504 "tag": "plaintext",
47505 "children": [
47506 {
47507 "text": "</plaintext>",
47508 "no_escape": true
47509 }
47510 ]
47511 },
47512 {
47513 "tag": "table",
47514 "children": [
47515 {
47516 "tag": "tbody",
47517 "children": [
47518 {
47519 "tag": "tr"
47520 }
47521 ]
47522 }
47523 ]
47524 }
47525 ]
47526 }
47527 ]
47528 }
47529 ],
47530 "html": "<!DOCTYPE html><html><head></head><body><plaintext></plaintext></plaintext><table><tbody><tr></tr></tbody></table></body></html>",
47531 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext><table><tbody><tr></tr></tbody></table>"
47532 }
47533 },
47534 {
47535 "data": "<!doctype html><table><td><plaintext></plaintext>",
47536 "errors": [
47537 "(1,26): unexpected-cell-in-table-body",
47538 "(1,49): expected-closing-tag-but-got-eof"
47539 ],
47540 "document": {
47541 "props": {
47542 "tags": {
47543 "html": true,
47544 "head": true,
47545 "body": true,
47546 "table": true,
47547 "tbody": true,
47548 "tr": true,
47549 "td": true,
47550 "plaintext": true
47551 },
47552 "doctype": true,
47553 "no_escape": true
47554 },
47555 "tree": [
47556 {
47557 "doctype": "html"
47558 },
47559 {
47560 "tag": "html",
47561 "children": [
47562 {
47563 "tag": "head"
47564 },
47565 {
47566 "tag": "body",
47567 "children": [
47568 {
47569 "tag": "table",
47570 "children": [
47571 {
47572 "tag": "tbody",
47573 "children": [
47574 {
47575 "tag": "tr",
47576 "children": [
47577 {
47578 "tag": "td",
47579 "children": [
47580 {
47581 "tag": "plaintext",
47582 "children": [
47583 {
47584 "text": "</plaintext>",
47585 "no_escape": true
47586 }
47587 ]
47588 }
47589 ]
47590 }
47591 ]
47592 }
47593 ]
47594 }
47595 ]
47596 }
47597 ]
47598 }
47599 ]
47600 }
47601 ],
47602 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><plaintext></plaintext></plaintext></td></tr></tbody></table></body></html>",
47603 "noQuirksBodyHtml": "<table><tbody><tr><td><plaintext></plaintext></plaintext></td></tr></tbody></table>"
47604 }
47605 },
47606 {
47607 "data": "<!doctype html><table><caption><plaintext></plaintext>",
47608 "errors": [
47609 "(1,54): expected-closing-tag-but-got-eof"
47610 ],
47611 "document": {
47612 "props": {
47613 "tags": {
47614 "html": true,
47615 "head": true,
47616 "body": true,
47617 "table": true,
47618 "caption": true,
47619 "plaintext": true
47620 },
47621 "doctype": true,
47622 "no_escape": true
47623 },
47624 "tree": [
47625 {
47626 "doctype": "html"
47627 },
47628 {
47629 "tag": "html",
47630 "children": [
47631 {
47632 "tag": "head"
47633 },
47634 {
47635 "tag": "body",
47636 "children": [
47637 {
47638 "tag": "table",
47639 "children": [
47640 {
47641 "tag": "caption",
47642 "children": [
47643 {
47644 "tag": "plaintext",
47645 "children": [
47646 {
47647 "text": "</plaintext>",
47648 "no_escape": true
47649 }
47650 ]
47651 }
47652 ]
47653 }
47654 ]
47655 }
47656 ]
47657 }
47658 ]
47659 }
47660 ],
47661 "html": "<!DOCTYPE html><html><head></head><body><table><caption><plaintext></plaintext></plaintext></caption></table></body></html>",
47662 "noQuirksBodyHtml": "<table><caption><plaintext></plaintext></plaintext></caption></table>"
47663 }
47664 },
47665 {
47666 "data": "<!doctype html><table><tr><style></script></style>abc",
47667 "errors": [
47668 "(1,51): foster-parenting-character",
47669 "(1,52): foster-parenting-character",
47670 "(1,53): foster-parenting-character",
47671 "(1,53): eof-in-table"
47672 ],
47673 "document": {
47674 "props": {
47675 "tags": {
47676 "html": true,
47677 "head": true,
47678 "body": true,
47679 "table": true,
47680 "tbody": true,
47681 "tr": true,
47682 "style": true
47683 },
47684 "doctype": true,
47685 "no_escape": true
47686 },
47687 "tree": [
47688 {
47689 "doctype": "html"
47690 },
47691 {
47692 "tag": "html",
47693 "children": [
47694 {
47695 "tag": "head"
47696 },
47697 {
47698 "tag": "body",
47699 "children": [
47700 {
47701 "text": "abc"
47702 },
47703 {
47704 "tag": "table",
47705 "children": [
47706 {
47707 "tag": "tbody",
47708 "children": [
47709 {
47710 "tag": "tr",
47711 "children": [
47712 {
47713 "tag": "style",
47714 "children": [
47715 {
47716 "text": "</script>",
47717 "no_escape": true
47718 }
47719 ]
47720 }
47721 ]
47722 }
47723 ]
47724 }
47725 ]
47726 }
47727 ]
47728 }
47729 ]
47730 }
47731 ],
47732 "html": "<!DOCTYPE html><html><head></head><body>abc<table><tbody><tr><style></script></style></tr></tbody></table></body></html>",
47733 "noQuirksBodyHtml": "abc<table><tbody><tr><style></script></style></tr></tbody></table>"
47734 }
47735 },
47736 {
47737 "data": "<!doctype html><table><tr><script></style></script>abc",
47738 "errors": [
47739 "(1,52): foster-parenting-character",
47740 "(1,53): foster-parenting-character",
47741 "(1,54): foster-parenting-character",
47742 "(1,54): eof-in-table"
47743 ],
47744 "document": {
47745 "props": {
47746 "tags": {
47747 "html": true,
47748 "head": true,
47749 "body": true,
47750 "table": true,
47751 "tbody": true,
47752 "tr": true,
47753 "script": true
47754 },
47755 "doctype": true,
47756 "no_escape": true
47757 },
47758 "tree": [
47759 {
47760 "doctype": "html"
47761 },
47762 {
47763 "tag": "html",
47764 "children": [
47765 {
47766 "tag": "head"
47767 },
47768 {
47769 "tag": "body",
47770 "children": [
47771 {
47772 "text": "abc"
47773 },
47774 {
47775 "tag": "table",
47776 "children": [
47777 {
47778 "tag": "tbody",
47779 "children": [
47780 {
47781 "tag": "tr",
47782 "children": [
47783 {
47784 "tag": "script",
47785 "children": [
47786 {
47787 "text": "</style>",
47788 "no_escape": true
47789 }
47790 ]
47791 }
47792 ]
47793 }
47794 ]
47795 }
47796 ]
47797 }
47798 ]
47799 }
47800 ]
47801 }
47802 ],
47803 "html": "<!DOCTYPE html><html><head></head><body>abc<table><tbody><tr><script></style></script></tr></tbody></table></body></html>",
47804 "noQuirksBodyHtml": "abc<table><tbody><tr><script></style></script></tr></tbody></table>"
47805 }
47806 },
47807 {
47808 "data": "<!doctype html><table><caption><style></script></style>abc",
47809 "errors": [
47810 "(1,58): expected-closing-tag-but-got-eof"
47811 ],
47812 "document": {
47813 "props": {
47814 "tags": {
47815 "html": true,
47816 "head": true,
47817 "body": true,
47818 "table": true,
47819 "caption": true,
47820 "style": true
47821 },
47822 "doctype": true,
47823 "no_escape": true
47824 },
47825 "tree": [
47826 {
47827 "doctype": "html"
47828 },
47829 {
47830 "tag": "html",
47831 "children": [
47832 {
47833 "tag": "head"
47834 },
47835 {
47836 "tag": "body",
47837 "children": [
47838 {
47839 "tag": "table",
47840 "children": [
47841 {
47842 "tag": "caption",
47843 "children": [
47844 {
47845 "tag": "style",
47846 "children": [
47847 {
47848 "text": "</script>",
47849 "no_escape": true
47850 }
47851 ]
47852 },
47853 {
47854 "text": "abc"
47855 }
47856 ]
47857 }
47858 ]
47859 }
47860 ]
47861 }
47862 ]
47863 }
47864 ],
47865 "html": "<!DOCTYPE html><html><head></head><body><table><caption><style></script></style>abc</caption></table></body></html>",
47866 "noQuirksBodyHtml": "<table><caption><style></script></style>abc</caption></table>"
47867 }
47868 },
47869 {
47870 "data": "<!doctype html><table><td><style></script></style>abc",
47871 "errors": [
47872 "(1,26): unexpected-cell-in-table-body",
47873 "(1,53): expected-closing-tag-but-got-eof"
47874 ],
47875 "document": {
47876 "props": {
47877 "tags": {
47878 "html": true,
47879 "head": true,
47880 "body": true,
47881 "table": true,
47882 "tbody": true,
47883 "tr": true,
47884 "td": true,
47885 "style": true
47886 },
47887 "doctype": true,
47888 "no_escape": true
47889 },
47890 "tree": [
47891 {
47892 "doctype": "html"
47893 },
47894 {
47895 "tag": "html",
47896 "children": [
47897 {
47898 "tag": "head"
47899 },
47900 {
47901 "tag": "body",
47902 "children": [
47903 {
47904 "tag": "table",
47905 "children": [
47906 {
47907 "tag": "tbody",
47908 "children": [
47909 {
47910 "tag": "tr",
47911 "children": [
47912 {
47913 "tag": "td",
47914 "children": [
47915 {
47916 "tag": "style",
47917 "children": [
47918 {
47919 "text": "</script>",
47920 "no_escape": true
47921 }
47922 ]
47923 },
47924 {
47925 "text": "abc"
47926 }
47927 ]
47928 }
47929 ]
47930 }
47931 ]
47932 }
47933 ]
47934 }
47935 ]
47936 }
47937 ]
47938 }
47939 ],
47940 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><style></script></style>abc</td></tr></tbody></table></body></html>",
47941 "noQuirksBodyHtml": "<table><tbody><tr><td><style></script></style>abc</td></tr></tbody></table>"
47942 }
47943 },
47944 {
47945 "data": "<!doctype html><select><script></style></script>abc",
47946 "errors": [
47947 "(1,51): eof-in-select"
47948 ],
47949 "document": {
47950 "props": {
47951 "tags": {
47952 "html": true,
47953 "head": true,
47954 "body": true,
47955 "select": true,
47956 "script": true
47957 },
47958 "doctype": true,
47959 "no_escape": true
47960 },
47961 "tree": [
47962 {
47963 "doctype": "html"
47964 },
47965 {
47966 "tag": "html",
47967 "children": [
47968 {
47969 "tag": "head"
47970 },
47971 {
47972 "tag": "body",
47973 "children": [
47974 {
47975 "tag": "select",
47976 "children": [
47977 {
47978 "tag": "script",
47979 "children": [
47980 {
47981 "text": "</style>",
47982 "no_escape": true
47983 }
47984 ]
47985 },
47986 {
47987 "text": "abc"
47988 }
47989 ]
47990 }
47991 ]
47992 }
47993 ]
47994 }
47995 ],
47996 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select></body></html>",
47997 "noQuirksBodyHtml": "<select><script></style></script>abc</select>"
47998 }
47999 },
48000 {
48001 "data": "<!doctype html><table><select><script></style></script>abc",
48002 "errors": [
48003 "(1,30): unexpected-start-tag-implies-table-voodoo",
48004 "(1,58): eof-in-select"
48005 ],
48006 "document": {
48007 "props": {
48008 "tags": {
48009 "html": true,
48010 "head": true,
48011 "body": true,
48012 "select": true,
48013 "script": true,
48014 "table": true
48015 },
48016 "doctype": true,
48017 "no_escape": true
48018 },
48019 "tree": [
48020 {
48021 "doctype": "html"
48022 },
48023 {
48024 "tag": "html",
48025 "children": [
48026 {
48027 "tag": "head"
48028 },
48029 {
48030 "tag": "body",
48031 "children": [
48032 {
48033 "tag": "select",
48034 "children": [
48035 {
48036 "tag": "script",
48037 "children": [
48038 {
48039 "text": "</style>",
48040 "no_escape": true
48041 }
48042 ]
48043 },
48044 {
48045 "text": "abc"
48046 }
48047 ]
48048 },
48049 {
48050 "tag": "table"
48051 }
48052 ]
48053 }
48054 ]
48055 }
48056 ],
48057 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select><table></table></body></html>",
48058 "noQuirksBodyHtml": "<select><script></style></script>abc</select><table></table>"
48059 }
48060 },
48061 {
48062 "data": "<!doctype html><table><tr><select><script></style></script>abc",
48063 "errors": [
48064 "(1,34): unexpected-start-tag-implies-table-voodoo",
48065 "(1,62): eof-in-select"
48066 ],
48067 "document": {
48068 "props": {
48069 "tags": {
48070 "html": true,
48071 "head": true,
48072 "body": true,
48073 "select": true,
48074 "script": true,
48075 "table": true,
48076 "tbody": true,
48077 "tr": true
48078 },
48079 "doctype": true,
48080 "no_escape": true
48081 },
48082 "tree": [
48083 {
48084 "doctype": "html"
48085 },
48086 {
48087 "tag": "html",
48088 "children": [
48089 {
48090 "tag": "head"
48091 },
48092 {
48093 "tag": "body",
48094 "children": [
48095 {
48096 "tag": "select",
48097 "children": [
48098 {
48099 "tag": "script",
48100 "children": [
48101 {
48102 "text": "</style>",
48103 "no_escape": true
48104 }
48105 ]
48106 },
48107 {
48108 "text": "abc"
48109 }
48110 ]
48111 },
48112 {
48113 "tag": "table",
48114 "children": [
48115 {
48116 "tag": "tbody",
48117 "children": [
48118 {
48119 "tag": "tr"
48120 }
48121 ]
48122 }
48123 ]
48124 }
48125 ]
48126 }
48127 ]
48128 }
48129 ],
48130 "html": "<!DOCTYPE html><html><head></head><body><select><script></style></script>abc</select><table><tbody><tr></tr></tbody></table></body></html>",
48131 "noQuirksBodyHtml": "<select><script></style></script>abc</select><table><tbody><tr></tr></tbody></table>"
48132 }
48133 },
48134 {
48135 "data": "<!doctype html><frameset></frameset><noframes>abc",
48136 "errors": [
48137 "(1,49): expected-named-closing-tag-but-got-eof"
48138 ],
48139 "document": {
48140 "props": {
48141 "tags": {
48142 "html": true,
48143 "head": true,
48144 "frameset": true,
48145 "noframes": true
48146 },
48147 "doctype": true,
48148 "no_escape": true
48149 },
48150 "tree": [
48151 {
48152 "doctype": "html"
48153 },
48154 {
48155 "tag": "html",
48156 "children": [
48157 {
48158 "tag": "head"
48159 },
48160 {
48161 "tag": "frameset"
48162 },
48163 {
48164 "tag": "noframes",
48165 "children": [
48166 {
48167 "text": "abc",
48168 "no_escape": true
48169 }
48170 ]
48171 }
48172 ]
48173 }
48174 ],
48175 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html>",
48176 "noQuirksBodyHtml": "<noframes>abc</noframes>"
48177 }
48178 },
48179 {
48180 "data": "<!doctype html><frameset></frameset><noframes>abc</noframes><!--abc-->",
48181 "errors": [],
48182 "document": {
48183 "props": {
48184 "tags": {
48185 "html": true,
48186 "head": true,
48187 "frameset": true,
48188 "noframes": true
48189 },
48190 "doctype": true,
48191 "no_escape": true,
48192 "comment": true
48193 },
48194 "tree": [
48195 {
48196 "doctype": "html"
48197 },
48198 {
48199 "tag": "html",
48200 "children": [
48201 {
48202 "tag": "head"
48203 },
48204 {
48205 "tag": "frameset"
48206 },
48207 {
48208 "tag": "noframes",
48209 "children": [
48210 {
48211 "text": "abc",
48212 "no_escape": true
48213 }
48214 ]
48215 },
48216 {
48217 "comment": "abc"
48218 }
48219 ]
48220 }
48221 ],
48222 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes><!--abc--></html>",
48223 "noQuirksBodyHtml": "<noframes>abc</noframes><!--abc-->"
48224 }
48225 },
48226 {
48227 "data": "<!doctype html><frameset></frameset></html><noframes>abc",
48228 "errors": [
48229 "(1,56): expected-named-closing-tag-but-got-eof"
48230 ],
48231 "document": {
48232 "props": {
48233 "tags": {
48234 "html": true,
48235 "head": true,
48236 "frameset": true,
48237 "noframes": true
48238 },
48239 "doctype": true,
48240 "no_escape": true
48241 },
48242 "tree": [
48243 {
48244 "doctype": "html"
48245 },
48246 {
48247 "tag": "html",
48248 "children": [
48249 {
48250 "tag": "head"
48251 },
48252 {
48253 "tag": "frameset"
48254 },
48255 {
48256 "tag": "noframes",
48257 "children": [
48258 {
48259 "text": "abc",
48260 "no_escape": true
48261 }
48262 ]
48263 }
48264 ]
48265 }
48266 ],
48267 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html>",
48268 "noQuirksBodyHtml": "<noframes>abc</noframes>"
48269 }
48270 },
48271 {
48272 "data": "<!doctype html><frameset></frameset></html><noframes>abc</noframes><!--abc-->",
48273 "errors": [],
48274 "document": {
48275 "props": {
48276 "tags": {
48277 "html": true,
48278 "head": true,
48279 "frameset": true,
48280 "noframes": true
48281 },
48282 "doctype": true,
48283 "no_escape": true,
48284 "comment": true
48285 },
48286 "tree": [
48287 {
48288 "doctype": "html"
48289 },
48290 {
48291 "tag": "html",
48292 "children": [
48293 {
48294 "tag": "head"
48295 },
48296 {
48297 "tag": "frameset"
48298 },
48299 {
48300 "tag": "noframes",
48301 "children": [
48302 {
48303 "text": "abc",
48304 "no_escape": true
48305 }
48306 ]
48307 }
48308 ]
48309 },
48310 {
48311 "comment": "abc"
48312 }
48313 ],
48314 "html": "<!DOCTYPE html><html><head></head><frameset></frameset><noframes>abc</noframes></html><!--abc-->",
48315 "noQuirksBodyHtml": "<noframes>abc</noframes><!--abc-->"
48316 }
48317 },
48318 {
48319 "data": "<!doctype html><table><tr></tbody><tfoot>",
48320 "errors": [
48321 "(1,41): eof-in-table"
48322 ],
48323 "document": {
48324 "props": {
48325 "tags": {
48326 "html": true,
48327 "head": true,
48328 "body": true,
48329 "table": true,
48330 "tbody": true,
48331 "tr": true,
48332 "tfoot": true
48333 },
48334 "doctype": true
48335 },
48336 "tree": [
48337 {
48338 "doctype": "html"
48339 },
48340 {
48341 "tag": "html",
48342 "children": [
48343 {
48344 "tag": "head"
48345 },
48346 {
48347 "tag": "body",
48348 "children": [
48349 {
48350 "tag": "table",
48351 "children": [
48352 {
48353 "tag": "tbody",
48354 "children": [
48355 {
48356 "tag": "tr"
48357 }
48358 ]
48359 },
48360 {
48361 "tag": "tfoot"
48362 }
48363 ]
48364 }
48365 ]
48366 }
48367 ]
48368 }
48369 ],
48370 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr></tr></tbody><tfoot></tfoot></table></body></html>",
48371 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody><tfoot></tfoot></table>"
48372 }
48373 },
48374 {
48375 "data": "<!doctype html><table><td><svg></svg>abc<td>",
48376 "errors": [
48377 "(1,26): unexpected-cell-in-table-body",
48378 "(1,44): expected-closing-tag-but-got-eof"
48379 ],
48380 "document": {
48381 "props": {
48382 "tags": {
48383 "html": true,
48384 "head": true,
48385 "body": true,
48386 "table": true,
48387 "tbody": true,
48388 "tr": true,
48389 "td": true,
48390 "svg svg": true
48391 },
48392 "doctype": true
48393 },
48394 "tree": [
48395 {
48396 "doctype": "html"
48397 },
48398 {
48399 "tag": "html",
48400 "children": [
48401 {
48402 "tag": "head"
48403 },
48404 {
48405 "tag": "body",
48406 "children": [
48407 {
48408 "tag": "table",
48409 "children": [
48410 {
48411 "tag": "tbody",
48412 "children": [
48413 {
48414 "tag": "tr",
48415 "children": [
48416 {
48417 "tag": "td",
48418 "children": [
48419 {
48420 "tag": "svg",
48421 "ns": "http://www.w3.org/2000/svg"
48422 },
48423 {
48424 "text": "abc"
48425 }
48426 ]
48427 },
48428 {
48429 "tag": "td"
48430 }
48431 ]
48432 }
48433 ]
48434 }
48435 ]
48436 }
48437 ]
48438 }
48439 ]
48440 }
48441 ],
48442 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><svg></svg>abc</td><td></td></tr></tbody></table></body></html>",
48443 "noQuirksBodyHtml": "<table><tbody><tr><td><svg></svg>abc</td><td></td></tr></tbody></table>"
48444 }
48445 }
48446 ],
48447 "tests19.dat": [
48448 {
48449 "data": "<!doctype html><math><mn DefinitionUrl=\"foo\">",
48450 "errors": [
48451 "(1,45): expected-closing-tag-but-got-eof"
48452 ],
48453 "document": {
48454 "props": {
48455 "tags": {
48456 "html": true,
48457 "head": true,
48458 "body": true,
48459 "math math": true,
48460 "math mn": true
48461 },
48462 "doctype": true
48463 },
48464 "tree": [
48465 {
48466 "doctype": "html"
48467 },
48468 {
48469 "tag": "html",
48470 "children": [
48471 {
48472 "tag": "head"
48473 },
48474 {
48475 "tag": "body",
48476 "children": [
48477 {
48478 "tag": "math",
48479 "ns": "http://www.w3.org/1998/Math/MathML",
48480 "children": [
48481 {
48482 "tag": "mn",
48483 "ns": "http://www.w3.org/1998/Math/MathML",
48484 "attrs": [
48485 {
48486 "name": "definitionURL",
48487 "value": "foo"
48488 }
48489 ]
48490 }
48491 ]
48492 }
48493 ]
48494 }
48495 ]
48496 }
48497 ],
48498 "html": "<!DOCTYPE html><html><head></head><body><math><mn definitionURL=\"foo\"></mn></math></body></html>",
48499 "noQuirksBodyHtml": "<math><mn definitionURL=\"foo\"></mn></math>"
48500 }
48501 },
48502 {
48503 "data": "<!doctype html><html></p><!--foo-->",
48504 "errors": [
48505 "(1,25): end-tag-after-implied-root"
48506 ],
48507 "document": {
48508 "props": {
48509 "tags": {
48510 "html": true,
48511 "head": true,
48512 "body": true
48513 },
48514 "doctype": true,
48515 "comment": true
48516 },
48517 "tree": [
48518 {
48519 "doctype": "html"
48520 },
48521 {
48522 "tag": "html",
48523 "children": [
48524 {
48525 "comment": "foo"
48526 },
48527 {
48528 "tag": "head"
48529 },
48530 {
48531 "tag": "body"
48532 }
48533 ]
48534 }
48535 ],
48536 "html": "<!DOCTYPE html><html><!--foo--><head></head><body></body></html>",
48537 "noQuirksBodyHtml": "<p></p><!--foo-->"
48538 }
48539 },
48540 {
48541 "data": "<!doctype html><head></head></p><!--foo-->",
48542 "errors": [
48543 "(1,32): unexpected-end-tag"
48544 ],
48545 "document": {
48546 "props": {
48547 "tags": {
48548 "html": true,
48549 "head": true,
48550 "body": true
48551 },
48552 "doctype": true,
48553 "comment": true
48554 },
48555 "tree": [
48556 {
48557 "doctype": "html"
48558 },
48559 {
48560 "tag": "html",
48561 "children": [
48562 {
48563 "tag": "head"
48564 },
48565 {
48566 "comment": "foo"
48567 },
48568 {
48569 "tag": "body"
48570 }
48571 ]
48572 }
48573 ],
48574 "html": "<!DOCTYPE html><html><head></head><!--foo--><body></body></html>",
48575 "noQuirksBodyHtml": "<p></p><!--foo-->"
48576 }
48577 },
48578 {
48579 "data": "<!doctype html><body><p><pre>",
48580 "errors": [
48581 "(1,29): expected-closing-tag-but-got-eof"
48582 ],
48583 "document": {
48584 "props": {
48585 "tags": {
48586 "html": true,
48587 "head": true,
48588 "body": true,
48589 "p": true,
48590 "pre": true
48591 },
48592 "doctype": true
48593 },
48594 "tree": [
48595 {
48596 "doctype": "html"
48597 },
48598 {
48599 "tag": "html",
48600 "children": [
48601 {
48602 "tag": "head"
48603 },
48604 {
48605 "tag": "body",
48606 "children": [
48607 {
48608 "tag": "p"
48609 },
48610 {
48611 "tag": "pre"
48612 }
48613 ]
48614 }
48615 ]
48616 }
48617 ],
48618 "html": "<!DOCTYPE html><html><head></head><body><p></p><pre></pre></body></html>",
48619 "noQuirksBodyHtml": "<p></p><pre></pre>"
48620 }
48621 },
48622 {
48623 "data": "<!doctype html><body><p><listing>",
48624 "errors": [
48625 "(1,33): expected-closing-tag-but-got-eof"
48626 ],
48627 "document": {
48628 "props": {
48629 "tags": {
48630 "html": true,
48631 "head": true,
48632 "body": true,
48633 "p": true,
48634 "listing": true
48635 },
48636 "doctype": true
48637 },
48638 "tree": [
48639 {
48640 "doctype": "html"
48641 },
48642 {
48643 "tag": "html",
48644 "children": [
48645 {
48646 "tag": "head"
48647 },
48648 {
48649 "tag": "body",
48650 "children": [
48651 {
48652 "tag": "p"
48653 },
48654 {
48655 "tag": "listing"
48656 }
48657 ]
48658 }
48659 ]
48660 }
48661 ],
48662 "html": "<!DOCTYPE html><html><head></head><body><p></p><listing></listing></body></html>",
48663 "noQuirksBodyHtml": "<p></p><listing></listing>"
48664 }
48665 },
48666 {
48667 "data": "<!doctype html><p><plaintext>",
48668 "errors": [
48669 "(1,29): expected-closing-tag-but-got-eof"
48670 ],
48671 "document": {
48672 "props": {
48673 "tags": {
48674 "html": true,
48675 "head": true,
48676 "body": true,
48677 "p": true,
48678 "plaintext": true
48679 },
48680 "doctype": true
48681 },
48682 "tree": [
48683 {
48684 "doctype": "html"
48685 },
48686 {
48687 "tag": "html",
48688 "children": [
48689 {
48690 "tag": "head"
48691 },
48692 {
48693 "tag": "body",
48694 "children": [
48695 {
48696 "tag": "p"
48697 },
48698 {
48699 "tag": "plaintext"
48700 }
48701 ]
48702 }
48703 ]
48704 }
48705 ],
48706 "html": "<!DOCTYPE html><html><head></head><body><p></p><plaintext></plaintext></body></html>",
48707 "noQuirksBodyHtml": "<p></p><plaintext></plaintext>"
48708 }
48709 },
48710 {
48711 "data": "<!doctype html><p><h1>",
48712 "errors": [
48713 "(1,22): expected-closing-tag-but-got-eof"
48714 ],
48715 "document": {
48716 "props": {
48717 "tags": {
48718 "html": true,
48719 "head": true,
48720 "body": true,
48721 "p": true,
48722 "h1": true
48723 },
48724 "doctype": true
48725 },
48726 "tree": [
48727 {
48728 "doctype": "html"
48729 },
48730 {
48731 "tag": "html",
48732 "children": [
48733 {
48734 "tag": "head"
48735 },
48736 {
48737 "tag": "body",
48738 "children": [
48739 {
48740 "tag": "p"
48741 },
48742 {
48743 "tag": "h1"
48744 }
48745 ]
48746 }
48747 ]
48748 }
48749 ],
48750 "html": "<!DOCTYPE html><html><head></head><body><p></p><h1></h1></body></html>",
48751 "noQuirksBodyHtml": "<p></p><h1></h1>"
48752 }
48753 },
48754 {
48755 "data": "<!doctype html><form><isindex>",
48756 "errors": [
48757 "(1,30): deprecated-tag",
48758 "(1,30): expected-closing-tag-but-got-eof"
48759 ],
48760 "document": {
48761 "props": {
48762 "tags": {
48763 "html": true,
48764 "head": true,
48765 "body": true,
48766 "form": true
48767 },
48768 "doctype": true
48769 },
48770 "tree": [
48771 {
48772 "doctype": "html"
48773 },
48774 {
48775 "tag": "html",
48776 "children": [
48777 {
48778 "tag": "head"
48779 },
48780 {
48781 "tag": "body",
48782 "children": [
48783 {
48784 "tag": "form"
48785 }
48786 ]
48787 }
48788 ]
48789 }
48790 ],
48791 "html": "<!DOCTYPE html><html><head></head><body><form></form></body></html>",
48792 "noQuirksBodyHtml": "<form></form>"
48793 }
48794 },
48795 {
48796 "data": "<!doctype html><isindex action=\"POST\">",
48797 "errors": [
48798 "(1,38): deprecated-tag"
48799 ],
48800 "document": {
48801 "props": {
48802 "tags": {
48803 "html": true,
48804 "head": true,
48805 "body": true,
48806 "form": true,
48807 "hr": true,
48808 "label": true,
48809 "input": true
48810 },
48811 "doctype": true
48812 },
48813 "tree": [
48814 {
48815 "doctype": "html"
48816 },
48817 {
48818 "tag": "html",
48819 "children": [
48820 {
48821 "tag": "head"
48822 },
48823 {
48824 "tag": "body",
48825 "children": [
48826 {
48827 "tag": "form",
48828 "attrs": [
48829 {
48830 "name": "action",
48831 "value": "POST"
48832 }
48833 ],
48834 "children": [
48835 {
48836 "tag": "hr"
48837 },
48838 {
48839 "tag": "label",
48840 "children": [
48841 {
48842 "text": "This is a searchable index. Enter search keywords: "
48843 },
48844 {
48845 "tag": "input",
48846 "attrs": [
48847 {
48848 "name": "name",
48849 "value": "isindex"
48850 }
48851 ]
48852 }
48853 ]
48854 },
48855 {
48856 "tag": "hr"
48857 }
48858 ]
48859 }
48860 ]
48861 }
48862 ]
48863 }
48864 ],
48865 "html": "<!DOCTYPE html><html><head></head><body><form action=\"POST\"><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form></body></html>",
48866 "noQuirksBodyHtml": "<form action=\"POST\"><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form>"
48867 }
48868 },
48869 {
48870 "data": "<!doctype html><isindex prompt=\"this is isindex\">",
48871 "errors": [
48872 "(1,49): deprecated-tag"
48873 ],
48874 "document": {
48875 "props": {
48876 "tags": {
48877 "html": true,
48878 "head": true,
48879 "body": true,
48880 "form": true,
48881 "hr": true,
48882 "label": true,
48883 "input": true
48884 },
48885 "doctype": true
48886 },
48887 "tree": [
48888 {
48889 "doctype": "html"
48890 },
48891 {
48892 "tag": "html",
48893 "children": [
48894 {
48895 "tag": "head"
48896 },
48897 {
48898 "tag": "body",
48899 "children": [
48900 {
48901 "tag": "form",
48902 "children": [
48903 {
48904 "tag": "hr"
48905 },
48906 {
48907 "tag": "label",
48908 "children": [
48909 {
48910 "text": "this is isindex"
48911 },
48912 {
48913 "tag": "input",
48914 "attrs": [
48915 {
48916 "name": "name",
48917 "value": "isindex"
48918 }
48919 ]
48920 }
48921 ]
48922 },
48923 {
48924 "tag": "hr"
48925 }
48926 ]
48927 }
48928 ]
48929 }
48930 ]
48931 }
48932 ],
48933 "html": "<!DOCTYPE html><html><head></head><body><form><hr><label>this is isindex<input name=\"isindex\"></label><hr></form></body></html>",
48934 "noQuirksBodyHtml": "<form><hr><label>this is isindex<input name=\"isindex\"></label><hr></form>"
48935 }
48936 },
48937 {
48938 "data": "<!doctype html><isindex type=\"hidden\">",
48939 "errors": [
48940 "(1,38): deprecated-tag"
48941 ],
48942 "document": {
48943 "props": {
48944 "tags": {
48945 "html": true,
48946 "head": true,
48947 "body": true,
48948 "form": true,
48949 "hr": true,
48950 "label": true,
48951 "input": true
48952 },
48953 "doctype": true
48954 },
48955 "tree": [
48956 {
48957 "doctype": "html"
48958 },
48959 {
48960 "tag": "html",
48961 "children": [
48962 {
48963 "tag": "head"
48964 },
48965 {
48966 "tag": "body",
48967 "children": [
48968 {
48969 "tag": "form",
48970 "children": [
48971 {
48972 "tag": "hr"
48973 },
48974 {
48975 "tag": "label",
48976 "children": [
48977 {
48978 "text": "This is a searchable index. Enter search keywords: "
48979 },
48980 {
48981 "tag": "input",
48982 "attrs": [
48983 {
48984 "name": "name",
48985 "value": "isindex"
48986 },
48987 {
48988 "name": "type",
48989 "value": "hidden"
48990 }
48991 ]
48992 }
48993 ]
48994 },
48995 {
48996 "tag": "hr"
48997 }
48998 ]
48999 }
49000 ]
49001 }
49002 ]
49003 }
49004 ],
49005 "html": "<!DOCTYPE html><html><head></head><body><form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\" type=\"hidden\"></label><hr></form></body></html>",
49006 "noQuirksBodyHtml": "<form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\" type=\"hidden\"></label><hr></form>"
49007 }
49008 },
49009 {
49010 "data": "<!doctype html><isindex name=\"foo\">",
49011 "errors": [
49012 "(1,35): deprecated-tag"
49013 ],
49014 "document": {
49015 "props": {
49016 "tags": {
49017 "html": true,
49018 "head": true,
49019 "body": true,
49020 "form": true,
49021 "hr": true,
49022 "label": true,
49023 "input": true
49024 },
49025 "doctype": true
49026 },
49027 "tree": [
49028 {
49029 "doctype": "html"
49030 },
49031 {
49032 "tag": "html",
49033 "children": [
49034 {
49035 "tag": "head"
49036 },
49037 {
49038 "tag": "body",
49039 "children": [
49040 {
49041 "tag": "form",
49042 "children": [
49043 {
49044 "tag": "hr"
49045 },
49046 {
49047 "tag": "label",
49048 "children": [
49049 {
49050 "text": "This is a searchable index. Enter search keywords: "
49051 },
49052 {
49053 "tag": "input",
49054 "attrs": [
49055 {
49056 "name": "name",
49057 "value": "isindex"
49058 }
49059 ]
49060 }
49061 ]
49062 },
49063 {
49064 "tag": "hr"
49065 }
49066 ]
49067 }
49068 ]
49069 }
49070 ]
49071 }
49072 ],
49073 "html": "<!DOCTYPE html><html><head></head><body><form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form></body></html>",
49074 "noQuirksBodyHtml": "<form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form>"
49075 }
49076 },
49077 {
49078 "data": "<!doctype html><ruby><p><rp>",
49079 "errors": [
49080 "(1,28): expected-closing-tag-but-got-eof"
49081 ],
49082 "document": {
49083 "props": {
49084 "tags": {
49085 "html": true,
49086 "head": true,
49087 "body": true,
49088 "ruby": true,
49089 "p": true,
49090 "rp": true
49091 },
49092 "doctype": true
49093 },
49094 "tree": [
49095 {
49096 "doctype": "html"
49097 },
49098 {
49099 "tag": "html",
49100 "children": [
49101 {
49102 "tag": "head"
49103 },
49104 {
49105 "tag": "body",
49106 "children": [
49107 {
49108 "tag": "ruby",
49109 "children": [
49110 {
49111 "tag": "p"
49112 },
49113 {
49114 "tag": "rp"
49115 }
49116 ]
49117 }
49118 ]
49119 }
49120 ]
49121 }
49122 ],
49123 "html": "<!DOCTYPE html><html><head></head><body><ruby><p></p><rp></rp></ruby></body></html>",
49124 "noQuirksBodyHtml": "<ruby><p></p><rp></rp></ruby>"
49125 }
49126 },
49127 {
49128 "data": "<!doctype html><ruby><div><span><rp>",
49129 "errors": [
49130 "(1,36): XXX-undefined-error",
49131 "(1,36): expected-closing-tag-but-got-eof"
49132 ],
49133 "document": {
49134 "props": {
49135 "tags": {
49136 "html": true,
49137 "head": true,
49138 "body": true,
49139 "ruby": true,
49140 "div": true,
49141 "span": true,
49142 "rp": true
49143 },
49144 "doctype": true
49145 },
49146 "tree": [
49147 {
49148 "doctype": "html"
49149 },
49150 {
49151 "tag": "html",
49152 "children": [
49153 {
49154 "tag": "head"
49155 },
49156 {
49157 "tag": "body",
49158 "children": [
49159 {
49160 "tag": "ruby",
49161 "children": [
49162 {
49163 "tag": "div",
49164 "children": [
49165 {
49166 "tag": "span",
49167 "children": [
49168 {
49169 "tag": "rp"
49170 }
49171 ]
49172 }
49173 ]
49174 }
49175 ]
49176 }
49177 ]
49178 }
49179 ]
49180 }
49181 ],
49182 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><span><rp></rp></span></div></ruby></body></html>",
49183 "noQuirksBodyHtml": "<ruby><div><span><rp></rp></span></div></ruby>"
49184 }
49185 },
49186 {
49187 "data": "<!doctype html><ruby><div><p><rp>",
49188 "errors": [
49189 "(1,33): XXX-undefined-error",
49190 "(1,33): expected-closing-tag-but-got-eof"
49191 ],
49192 "document": {
49193 "props": {
49194 "tags": {
49195 "html": true,
49196 "head": true,
49197 "body": true,
49198 "ruby": true,
49199 "div": true,
49200 "p": true,
49201 "rp": true
49202 },
49203 "doctype": true
49204 },
49205 "tree": [
49206 {
49207 "doctype": "html"
49208 },
49209 {
49210 "tag": "html",
49211 "children": [
49212 {
49213 "tag": "head"
49214 },
49215 {
49216 "tag": "body",
49217 "children": [
49218 {
49219 "tag": "ruby",
49220 "children": [
49221 {
49222 "tag": "div",
49223 "children": [
49224 {
49225 "tag": "p"
49226 },
49227 {
49228 "tag": "rp"
49229 }
49230 ]
49231 }
49232 ]
49233 }
49234 ]
49235 }
49236 ]
49237 }
49238 ],
49239 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><p></p><rp></rp></div></ruby></body></html>",
49240 "noQuirksBodyHtml": "<ruby><div><p></p><rp></rp></div></ruby>"
49241 }
49242 },
49243 {
49244 "data": "<!doctype html><ruby><p><rt>",
49245 "errors": [
49246 "(1,28): expected-closing-tag-but-got-eof"
49247 ],
49248 "document": {
49249 "props": {
49250 "tags": {
49251 "html": true,
49252 "head": true,
49253 "body": true,
49254 "ruby": true,
49255 "p": true,
49256 "rt": true
49257 },
49258 "doctype": true
49259 },
49260 "tree": [
49261 {
49262 "doctype": "html"
49263 },
49264 {
49265 "tag": "html",
49266 "children": [
49267 {
49268 "tag": "head"
49269 },
49270 {
49271 "tag": "body",
49272 "children": [
49273 {
49274 "tag": "ruby",
49275 "children": [
49276 {
49277 "tag": "p"
49278 },
49279 {
49280 "tag": "rt"
49281 }
49282 ]
49283 }
49284 ]
49285 }
49286 ]
49287 }
49288 ],
49289 "html": "<!DOCTYPE html><html><head></head><body><ruby><p></p><rt></rt></ruby></body></html>",
49290 "noQuirksBodyHtml": "<ruby><p></p><rt></rt></ruby>"
49291 }
49292 },
49293 {
49294 "data": "<!doctype html><ruby><div><span><rt>",
49295 "errors": [
49296 "(1,36): XXX-undefined-error",
49297 "(1,36): expected-closing-tag-but-got-eof"
49298 ],
49299 "document": {
49300 "props": {
49301 "tags": {
49302 "html": true,
49303 "head": true,
49304 "body": true,
49305 "ruby": true,
49306 "div": true,
49307 "span": true,
49308 "rt": true
49309 },
49310 "doctype": true
49311 },
49312 "tree": [
49313 {
49314 "doctype": "html"
49315 },
49316 {
49317 "tag": "html",
49318 "children": [
49319 {
49320 "tag": "head"
49321 },
49322 {
49323 "tag": "body",
49324 "children": [
49325 {
49326 "tag": "ruby",
49327 "children": [
49328 {
49329 "tag": "div",
49330 "children": [
49331 {
49332 "tag": "span",
49333 "children": [
49334 {
49335 "tag": "rt"
49336 }
49337 ]
49338 }
49339 ]
49340 }
49341 ]
49342 }
49343 ]
49344 }
49345 ]
49346 }
49347 ],
49348 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><span><rt></rt></span></div></ruby></body></html>",
49349 "noQuirksBodyHtml": "<ruby><div><span><rt></rt></span></div></ruby>"
49350 }
49351 },
49352 {
49353 "data": "<!doctype html><ruby><div><p><rt>",
49354 "errors": [
49355 "(1,33): XXX-undefined-error",
49356 "(1,33): expected-closing-tag-but-got-eof"
49357 ],
49358 "document": {
49359 "props": {
49360 "tags": {
49361 "html": true,
49362 "head": true,
49363 "body": true,
49364 "ruby": true,
49365 "div": true,
49366 "p": true,
49367 "rt": true
49368 },
49369 "doctype": true
49370 },
49371 "tree": [
49372 {
49373 "doctype": "html"
49374 },
49375 {
49376 "tag": "html",
49377 "children": [
49378 {
49379 "tag": "head"
49380 },
49381 {
49382 "tag": "body",
49383 "children": [
49384 {
49385 "tag": "ruby",
49386 "children": [
49387 {
49388 "tag": "div",
49389 "children": [
49390 {
49391 "tag": "p"
49392 },
49393 {
49394 "tag": "rt"
49395 }
49396 ]
49397 }
49398 ]
49399 }
49400 ]
49401 }
49402 ]
49403 }
49404 ],
49405 "html": "<!DOCTYPE html><html><head></head><body><ruby><div><p></p><rt></rt></div></ruby></body></html>",
49406 "noQuirksBodyHtml": "<ruby><div><p></p><rt></rt></div></ruby>"
49407 }
49408 },
49409 {
49410 "data": "<html><ruby>a<rb>b<rt></ruby></html>",
49411 "errors": [
49412 "(1,6): expected-doctype-but-got-start-tag"
49413 ],
49414 "document": {
49415 "props": {
49416 "tags": {
49417 "html": true,
49418 "head": true,
49419 "body": true,
49420 "ruby": true,
49421 "rb": true,
49422 "rt": true
49423 }
49424 },
49425 "tree": [
49426 {
49427 "tag": "html",
49428 "children": [
49429 {
49430 "tag": "head"
49431 },
49432 {
49433 "tag": "body",
49434 "children": [
49435 {
49436 "tag": "ruby",
49437 "children": [
49438 {
49439 "text": "a"
49440 },
49441 {
49442 "tag": "rb",
49443 "children": [
49444 {
49445 "text": "b"
49446 }
49447 ]
49448 },
49449 {
49450 "tag": "rt"
49451 }
49452 ]
49453 }
49454 ]
49455 }
49456 ]
49457 }
49458 ],
49459 "html": "<html><head></head><body><ruby>a<rb>b</rb><rt></rt></ruby></body></html>",
49460 "noQuirksBodyHtml": "<ruby>a<rb>b</rb><rt></rt></ruby>"
49461 }
49462 },
49463 {
49464 "data": "<html><ruby>a<rp>b<rt></ruby></html>",
49465 "errors": [
49466 "(1,6): expected-doctype-but-got-start-tag"
49467 ],
49468 "document": {
49469 "props": {
49470 "tags": {
49471 "html": true,
49472 "head": true,
49473 "body": true,
49474 "ruby": true,
49475 "rp": true,
49476 "rt": true
49477 }
49478 },
49479 "tree": [
49480 {
49481 "tag": "html",
49482 "children": [
49483 {
49484 "tag": "head"
49485 },
49486 {
49487 "tag": "body",
49488 "children": [
49489 {
49490 "tag": "ruby",
49491 "children": [
49492 {
49493 "text": "a"
49494 },
49495 {
49496 "tag": "rp",
49497 "children": [
49498 {
49499 "text": "b"
49500 }
49501 ]
49502 },
49503 {
49504 "tag": "rt"
49505 }
49506 ]
49507 }
49508 ]
49509 }
49510 ]
49511 }
49512 ],
49513 "html": "<html><head></head><body><ruby>a<rp>b</rp><rt></rt></ruby></body></html>",
49514 "noQuirksBodyHtml": "<ruby>a<rp>b</rp><rt></rt></ruby>"
49515 }
49516 },
49517 {
49518 "data": "<html><ruby>a<rt>b<rt></ruby></html>",
49519 "errors": [
49520 "(1,6): expected-doctype-but-got-start-tag"
49521 ],
49522 "document": {
49523 "props": {
49524 "tags": {
49525 "html": true,
49526 "head": true,
49527 "body": true,
49528 "ruby": true,
49529 "rt": true
49530 }
49531 },
49532 "tree": [
49533 {
49534 "tag": "html",
49535 "children": [
49536 {
49537 "tag": "head"
49538 },
49539 {
49540 "tag": "body",
49541 "children": [
49542 {
49543 "tag": "ruby",
49544 "children": [
49545 {
49546 "text": "a"
49547 },
49548 {
49549 "tag": "rt",
49550 "children": [
49551 {
49552 "text": "b"
49553 }
49554 ]
49555 },
49556 {
49557 "tag": "rt"
49558 }
49559 ]
49560 }
49561 ]
49562 }
49563 ]
49564 }
49565 ],
49566 "html": "<html><head></head><body><ruby>a<rt>b</rt><rt></rt></ruby></body></html>",
49567 "noQuirksBodyHtml": "<ruby>a<rt>b</rt><rt></rt></ruby>"
49568 }
49569 },
49570 {
49571 "data": "<html><ruby>a<rtc>b<rt>c<rb>d</ruby></html>",
49572 "errors": [
49573 "(1,6): expected-doctype-but-got-start-tag"
49574 ],
49575 "document": {
49576 "props": {
49577 "tags": {
49578 "html": true,
49579 "head": true,
49580 "body": true,
49581 "ruby": true,
49582 "rtc": true,
49583 "rt": true,
49584 "rb": true
49585 }
49586 },
49587 "tree": [
49588 {
49589 "tag": "html",
49590 "children": [
49591 {
49592 "tag": "head"
49593 },
49594 {
49595 "tag": "body",
49596 "children": [
49597 {
49598 "tag": "ruby",
49599 "children": [
49600 {
49601 "text": "a"
49602 },
49603 {
49604 "tag": "rtc",
49605 "children": [
49606 {
49607 "text": "b"
49608 },
49609 {
49610 "tag": "rt",
49611 "children": [
49612 {
49613 "text": "c"
49614 }
49615 ]
49616 }
49617 ]
49618 },
49619 {
49620 "tag": "rb",
49621 "children": [
49622 {
49623 "text": "d"
49624 }
49625 ]
49626 }
49627 ]
49628 }
49629 ]
49630 }
49631 ]
49632 }
49633 ],
49634 "html": "<html><head></head><body><ruby>a<rtc>b<rt>c</rt></rtc><rb>d</rb></ruby></body></html>",
49635 "noQuirksBodyHtml": "<ruby>a<rtc>b<rt>c</rt></rtc><rb>d</rb></ruby>"
49636 }
49637 },
49638 {
49639 "data": "<!doctype html><math/><foo>",
49640 "errors": [
49641 "(1,27): expected-closing-tag-but-got-eof"
49642 ],
49643 "document": {
49644 "props": {
49645 "tags": {
49646 "html": true,
49647 "head": true,
49648 "body": true,
49649 "math math": true,
49650 "foo": true
49651 },
49652 "doctype": true
49653 },
49654 "tree": [
49655 {
49656 "doctype": "html"
49657 },
49658 {
49659 "tag": "html",
49660 "children": [
49661 {
49662 "tag": "head"
49663 },
49664 {
49665 "tag": "body",
49666 "children": [
49667 {
49668 "tag": "math",
49669 "ns": "http://www.w3.org/1998/Math/MathML"
49670 },
49671 {
49672 "tag": "foo"
49673 }
49674 ]
49675 }
49676 ]
49677 }
49678 ],
49679 "html": "<!DOCTYPE html><html><head></head><body><math></math><foo></foo></body></html>",
49680 "noQuirksBodyHtml": "<math></math><foo></foo>"
49681 }
49682 },
49683 {
49684 "data": "<!doctype html><svg/><foo>",
49685 "errors": [
49686 "(1,26): expected-closing-tag-but-got-eof"
49687 ],
49688 "document": {
49689 "props": {
49690 "tags": {
49691 "html": true,
49692 "head": true,
49693 "body": true,
49694 "svg svg": true,
49695 "foo": true
49696 },
49697 "doctype": true
49698 },
49699 "tree": [
49700 {
49701 "doctype": "html"
49702 },
49703 {
49704 "tag": "html",
49705 "children": [
49706 {
49707 "tag": "head"
49708 },
49709 {
49710 "tag": "body",
49711 "children": [
49712 {
49713 "tag": "svg",
49714 "ns": "http://www.w3.org/2000/svg"
49715 },
49716 {
49717 "tag": "foo"
49718 }
49719 ]
49720 }
49721 ]
49722 }
49723 ],
49724 "html": "<!DOCTYPE html><html><head></head><body><svg></svg><foo></foo></body></html>",
49725 "noQuirksBodyHtml": "<svg></svg><foo></foo>"
49726 }
49727 },
49728 {
49729 "data": "<!doctype html><div></body><!--foo-->",
49730 "errors": [
49731 "(1,27): expected-one-end-tag-but-got-another"
49732 ],
49733 "document": {
49734 "props": {
49735 "tags": {
49736 "html": true,
49737 "head": true,
49738 "body": true,
49739 "div": true
49740 },
49741 "doctype": true,
49742 "comment": true
49743 },
49744 "tree": [
49745 {
49746 "doctype": "html"
49747 },
49748 {
49749 "tag": "html",
49750 "children": [
49751 {
49752 "tag": "head"
49753 },
49754 {
49755 "tag": "body",
49756 "children": [
49757 {
49758 "tag": "div"
49759 }
49760 ]
49761 },
49762 {
49763 "comment": "foo"
49764 }
49765 ]
49766 }
49767 ],
49768 "html": "<!DOCTYPE html><html><head></head><body><div></div></body><!--foo--></html>",
49769 "noQuirksBodyHtml": "<div><!--foo--></div>"
49770 }
49771 },
49772 {
49773 "data": "<!doctype html><h1><div><h3><span></h1>foo",
49774 "errors": [
49775 "(1,39): end-tag-too-early",
49776 "(1,42): expected-closing-tag-but-got-eof"
49777 ],
49778 "document": {
49779 "props": {
49780 "tags": {
49781 "html": true,
49782 "head": true,
49783 "body": true,
49784 "h1": true,
49785 "div": true,
49786 "h3": true,
49787 "span": true
49788 },
49789 "doctype": true
49790 },
49791 "tree": [
49792 {
49793 "doctype": "html"
49794 },
49795 {
49796 "tag": "html",
49797 "children": [
49798 {
49799 "tag": "head"
49800 },
49801 {
49802 "tag": "body",
49803 "children": [
49804 {
49805 "tag": "h1",
49806 "children": [
49807 {
49808 "tag": "div",
49809 "children": [
49810 {
49811 "tag": "h3",
49812 "children": [
49813 {
49814 "tag": "span"
49815 }
49816 ]
49817 },
49818 {
49819 "text": "foo"
49820 }
49821 ]
49822 }
49823 ]
49824 }
49825 ]
49826 }
49827 ]
49828 }
49829 ],
49830 "html": "<!DOCTYPE html><html><head></head><body><h1><div><h3><span></span></h3>foo</div></h1></body></html>",
49831 "noQuirksBodyHtml": "<h1><div><h3><span></span></h3>foo</div></h1>"
49832 }
49833 },
49834 {
49835 "data": "<!doctype html><p></h3>foo",
49836 "errors": [
49837 "(1,23): end-tag-too-early"
49838 ],
49839 "document": {
49840 "props": {
49841 "tags": {
49842 "html": true,
49843 "head": true,
49844 "body": true,
49845 "p": true
49846 },
49847 "doctype": true
49848 },
49849 "tree": [
49850 {
49851 "doctype": "html"
49852 },
49853 {
49854 "tag": "html",
49855 "children": [
49856 {
49857 "tag": "head"
49858 },
49859 {
49860 "tag": "body",
49861 "children": [
49862 {
49863 "tag": "p",
49864 "children": [
49865 {
49866 "text": "foo"
49867 }
49868 ]
49869 }
49870 ]
49871 }
49872 ]
49873 }
49874 ],
49875 "html": "<!DOCTYPE html><html><head></head><body><p>foo</p></body></html>",
49876 "noQuirksBodyHtml": "<p>foo</p>"
49877 }
49878 },
49879 {
49880 "data": "<!doctype html><h3><li>abc</h2>foo",
49881 "errors": [
49882 "(1,31): end-tag-too-early"
49883 ],
49884 "document": {
49885 "props": {
49886 "tags": {
49887 "html": true,
49888 "head": true,
49889 "body": true,
49890 "h3": true,
49891 "li": true
49892 },
49893 "doctype": true
49894 },
49895 "tree": [
49896 {
49897 "doctype": "html"
49898 },
49899 {
49900 "tag": "html",
49901 "children": [
49902 {
49903 "tag": "head"
49904 },
49905 {
49906 "tag": "body",
49907 "children": [
49908 {
49909 "tag": "h3",
49910 "children": [
49911 {
49912 "tag": "li",
49913 "children": [
49914 {
49915 "text": "abc"
49916 }
49917 ]
49918 }
49919 ]
49920 },
49921 {
49922 "text": "foo"
49923 }
49924 ]
49925 }
49926 ]
49927 }
49928 ],
49929 "html": "<!DOCTYPE html><html><head></head><body><h3><li>abc</li></h3>foo</body></html>",
49930 "noQuirksBodyHtml": "<h3><li>abc</li></h3>foo"
49931 }
49932 },
49933 {
49934 "data": "<!doctype html><table>abc<!--foo-->",
49935 "errors": [
49936 "(1,23): foster-parenting-character",
49937 "(1,24): foster-parenting-character",
49938 "(1,25): foster-parenting-character",
49939 "(1,35): eof-in-table"
49940 ],
49941 "document": {
49942 "props": {
49943 "tags": {
49944 "html": true,
49945 "head": true,
49946 "body": true,
49947 "table": true
49948 },
49949 "doctype": true,
49950 "comment": true
49951 },
49952 "tree": [
49953 {
49954 "doctype": "html"
49955 },
49956 {
49957 "tag": "html",
49958 "children": [
49959 {
49960 "tag": "head"
49961 },
49962 {
49963 "tag": "body",
49964 "children": [
49965 {
49966 "text": "abc"
49967 },
49968 {
49969 "tag": "table",
49970 "children": [
49971 {
49972 "comment": "foo"
49973 }
49974 ]
49975 }
49976 ]
49977 }
49978 ]
49979 }
49980 ],
49981 "html": "<!DOCTYPE html><html><head></head><body>abc<table><!--foo--></table></body></html>",
49982 "noQuirksBodyHtml": "abc<table><!--foo--></table>"
49983 }
49984 },
49985 {
49986 "data": "<!doctype html><table> <!--foo-->",
49987 "errors": [
49988 "(1,34): eof-in-table"
49989 ],
49990 "document": {
49991 "props": {
49992 "tags": {
49993 "html": true,
49994 "head": true,
49995 "body": true,
49996 "table": true
49997 },
49998 "doctype": true,
49999 "comment": 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": "table",
50016 "children": [
50017 {
50018 "text": " "
50019 },
50020 {
50021 "comment": "foo"
50022 }
50023 ]
50024 }
50025 ]
50026 }
50027 ]
50028 }
50029 ],
50030 "html": "<!DOCTYPE html><html><head></head><body><table> <!--foo--></table></body></html>",
50031 "noQuirksBodyHtml": "<table> <!--foo--></table>"
50032 }
50033 },
50034 {
50035 "data": "<!doctype html><table> b <!--foo-->",
50036 "errors": [
50037 "(1,23): foster-parenting-character",
50038 "(1,24): foster-parenting-character",
50039 "(1,25): foster-parenting-character",
50040 "(1,35): eof-in-table"
50041 ],
50042 "document": {
50043 "props": {
50044 "tags": {
50045 "html": true,
50046 "head": true,
50047 "body": true,
50048 "table": true
50049 },
50050 "doctype": true,
50051 "comment": true
50052 },
50053 "tree": [
50054 {
50055 "doctype": "html"
50056 },
50057 {
50058 "tag": "html",
50059 "children": [
50060 {
50061 "tag": "head"
50062 },
50063 {
50064 "tag": "body",
50065 "children": [
50066 {
50067 "text": " b "
50068 },
50069 {
50070 "tag": "table",
50071 "children": [
50072 {
50073 "comment": "foo"
50074 }
50075 ]
50076 }
50077 ]
50078 }
50079 ]
50080 }
50081 ],
50082 "html": "<!DOCTYPE html><html><head></head><body> b <table><!--foo--></table></body></html>",
50083 "noQuirksBodyHtml": " b <table><!--foo--></table>"
50084 }
50085 },
50086 {
50087 "data": "<!doctype html><select><option><option>",
50088 "errors": [
50089 "(1,39): eof-in-select"
50090 ],
50091 "document": {
50092 "props": {
50093 "tags": {
50094 "html": true,
50095 "head": true,
50096 "body": true,
50097 "select": true,
50098 "option": true
50099 },
50100 "doctype": true
50101 },
50102 "tree": [
50103 {
50104 "doctype": "html"
50105 },
50106 {
50107 "tag": "html",
50108 "children": [
50109 {
50110 "tag": "head"
50111 },
50112 {
50113 "tag": "body",
50114 "children": [
50115 {
50116 "tag": "select",
50117 "children": [
50118 {
50119 "tag": "option"
50120 },
50121 {
50122 "tag": "option"
50123 }
50124 ]
50125 }
50126 ]
50127 }
50128 ]
50129 }
50130 ],
50131 "html": "<!DOCTYPE html><html><head></head><body><select><option></option><option></option></select></body></html>",
50132 "noQuirksBodyHtml": "<select><option></option><option></option></select>"
50133 }
50134 },
50135 {
50136 "data": "<!doctype html><select><option></optgroup>",
50137 "errors": [
50138 "(1,42): unexpected-end-tag-in-select",
50139 "(1,42): eof-in-select"
50140 ],
50141 "document": {
50142 "props": {
50143 "tags": {
50144 "html": true,
50145 "head": true,
50146 "body": true,
50147 "select": true,
50148 "option": true
50149 },
50150 "doctype": true
50151 },
50152 "tree": [
50153 {
50154 "doctype": "html"
50155 },
50156 {
50157 "tag": "html",
50158 "children": [
50159 {
50160 "tag": "head"
50161 },
50162 {
50163 "tag": "body",
50164 "children": [
50165 {
50166 "tag": "select",
50167 "children": [
50168 {
50169 "tag": "option"
50170 }
50171 ]
50172 }
50173 ]
50174 }
50175 ]
50176 }
50177 ],
50178 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
50179 "noQuirksBodyHtml": "<select><option></option></select>"
50180 }
50181 },
50182 {
50183 "data": "<!doctype html><select><option></optgroup>",
50184 "errors": [
50185 "(1,42): unexpected-end-tag-in-select",
50186 "(1,42): eof-in-select"
50187 ],
50188 "document": {
50189 "props": {
50190 "tags": {
50191 "html": true,
50192 "head": true,
50193 "body": true,
50194 "select": true,
50195 "option": true
50196 },
50197 "doctype": true
50198 },
50199 "tree": [
50200 {
50201 "doctype": "html"
50202 },
50203 {
50204 "tag": "html",
50205 "children": [
50206 {
50207 "tag": "head"
50208 },
50209 {
50210 "tag": "body",
50211 "children": [
50212 {
50213 "tag": "select",
50214 "children": [
50215 {
50216 "tag": "option"
50217 }
50218 ]
50219 }
50220 ]
50221 }
50222 ]
50223 }
50224 ],
50225 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
50226 "noQuirksBodyHtml": "<select><option></option></select>"
50227 }
50228 },
50229 {
50230 "data": "<!doctype html><dd><optgroup><dd>",
50231 "errors": [],
50232 "document": {
50233 "props": {
50234 "tags": {
50235 "html": true,
50236 "head": true,
50237 "body": true,
50238 "dd": true,
50239 "optgroup": true
50240 },
50241 "doctype": true
50242 },
50243 "tree": [
50244 {
50245 "doctype": "html"
50246 },
50247 {
50248 "tag": "html",
50249 "children": [
50250 {
50251 "tag": "head"
50252 },
50253 {
50254 "tag": "body",
50255 "children": [
50256 {
50257 "tag": "dd",
50258 "children": [
50259 {
50260 "tag": "optgroup"
50261 }
50262 ]
50263 },
50264 {
50265 "tag": "dd"
50266 }
50267 ]
50268 }
50269 ]
50270 }
50271 ],
50272 "html": "<!DOCTYPE html><html><head></head><body><dd><optgroup></optgroup></dd><dd></dd></body></html>",
50273 "noQuirksBodyHtml": "<dd><optgroup></optgroup></dd><dd></dd>"
50274 }
50275 },
50276 {
50277 "data": "<!doctype html><p><math><mi><p><h1>",
50278 "errors": [
50279 "(1,35): expected-closing-tag-but-got-eof"
50280 ],
50281 "document": {
50282 "props": {
50283 "tags": {
50284 "html": true,
50285 "head": true,
50286 "body": true,
50287 "p": true,
50288 "math math": true,
50289 "math mi": true,
50290 "h1": true
50291 },
50292 "doctype": true
50293 },
50294 "tree": [
50295 {
50296 "doctype": "html"
50297 },
50298 {
50299 "tag": "html",
50300 "children": [
50301 {
50302 "tag": "head"
50303 },
50304 {
50305 "tag": "body",
50306 "children": [
50307 {
50308 "tag": "p",
50309 "children": [
50310 {
50311 "tag": "math",
50312 "ns": "http://www.w3.org/1998/Math/MathML",
50313 "children": [
50314 {
50315 "tag": "mi",
50316 "ns": "http://www.w3.org/1998/Math/MathML",
50317 "children": [
50318 {
50319 "tag": "p"
50320 },
50321 {
50322 "tag": "h1"
50323 }
50324 ]
50325 }
50326 ]
50327 }
50328 ]
50329 }
50330 ]
50331 }
50332 ]
50333 }
50334 ],
50335 "html": "<!DOCTYPE html><html><head></head><body><p><math><mi><p></p><h1></h1></mi></math></p></body></html>",
50336 "noQuirksBodyHtml": "<p><math><mi><p></p><h1></h1></mi></math></p>"
50337 }
50338 },
50339 {
50340 "data": "<!doctype html><p><math><mo><p><h1>",
50341 "errors": [
50342 "(1,35): expected-closing-tag-but-got-eof"
50343 ],
50344 "document": {
50345 "props": {
50346 "tags": {
50347 "html": true,
50348 "head": true,
50349 "body": true,
50350 "p": true,
50351 "math math": true,
50352 "math mo": true,
50353 "h1": true
50354 },
50355 "doctype": true
50356 },
50357 "tree": [
50358 {
50359 "doctype": "html"
50360 },
50361 {
50362 "tag": "html",
50363 "children": [
50364 {
50365 "tag": "head"
50366 },
50367 {
50368 "tag": "body",
50369 "children": [
50370 {
50371 "tag": "p",
50372 "children": [
50373 {
50374 "tag": "math",
50375 "ns": "http://www.w3.org/1998/Math/MathML",
50376 "children": [
50377 {
50378 "tag": "mo",
50379 "ns": "http://www.w3.org/1998/Math/MathML",
50380 "children": [
50381 {
50382 "tag": "p"
50383 },
50384 {
50385 "tag": "h1"
50386 }
50387 ]
50388 }
50389 ]
50390 }
50391 ]
50392 }
50393 ]
50394 }
50395 ]
50396 }
50397 ],
50398 "html": "<!DOCTYPE html><html><head></head><body><p><math><mo><p></p><h1></h1></mo></math></p></body></html>",
50399 "noQuirksBodyHtml": "<p><math><mo><p></p><h1></h1></mo></math></p>"
50400 }
50401 },
50402 {
50403 "data": "<!doctype html><p><math><mn><p><h1>",
50404 "errors": [
50405 "(1,35): expected-closing-tag-but-got-eof"
50406 ],
50407 "document": {
50408 "props": {
50409 "tags": {
50410 "html": true,
50411 "head": true,
50412 "body": true,
50413 "p": true,
50414 "math math": true,
50415 "math mn": true,
50416 "h1": true
50417 },
50418 "doctype": true
50419 },
50420 "tree": [
50421 {
50422 "doctype": "html"
50423 },
50424 {
50425 "tag": "html",
50426 "children": [
50427 {
50428 "tag": "head"
50429 },
50430 {
50431 "tag": "body",
50432 "children": [
50433 {
50434 "tag": "p",
50435 "children": [
50436 {
50437 "tag": "math",
50438 "ns": "http://www.w3.org/1998/Math/MathML",
50439 "children": [
50440 {
50441 "tag": "mn",
50442 "ns": "http://www.w3.org/1998/Math/MathML",
50443 "children": [
50444 {
50445 "tag": "p"
50446 },
50447 {
50448 "tag": "h1"
50449 }
50450 ]
50451 }
50452 ]
50453 }
50454 ]
50455 }
50456 ]
50457 }
50458 ]
50459 }
50460 ],
50461 "html": "<!DOCTYPE html><html><head></head><body><p><math><mn><p></p><h1></h1></mn></math></p></body></html>",
50462 "noQuirksBodyHtml": "<p><math><mn><p></p><h1></h1></mn></math></p>"
50463 }
50464 },
50465 {
50466 "data": "<!doctype html><p><math><ms><p><h1>",
50467 "errors": [
50468 "(1,35): expected-closing-tag-but-got-eof"
50469 ],
50470 "document": {
50471 "props": {
50472 "tags": {
50473 "html": true,
50474 "head": true,
50475 "body": true,
50476 "p": true,
50477 "math math": true,
50478 "math ms": true,
50479 "h1": true
50480 },
50481 "doctype": true
50482 },
50483 "tree": [
50484 {
50485 "doctype": "html"
50486 },
50487 {
50488 "tag": "html",
50489 "children": [
50490 {
50491 "tag": "head"
50492 },
50493 {
50494 "tag": "body",
50495 "children": [
50496 {
50497 "tag": "p",
50498 "children": [
50499 {
50500 "tag": "math",
50501 "ns": "http://www.w3.org/1998/Math/MathML",
50502 "children": [
50503 {
50504 "tag": "ms",
50505 "ns": "http://www.w3.org/1998/Math/MathML",
50506 "children": [
50507 {
50508 "tag": "p"
50509 },
50510 {
50511 "tag": "h1"
50512 }
50513 ]
50514 }
50515 ]
50516 }
50517 ]
50518 }
50519 ]
50520 }
50521 ]
50522 }
50523 ],
50524 "html": "<!DOCTYPE html><html><head></head><body><p><math><ms><p></p><h1></h1></ms></math></p></body></html>",
50525 "noQuirksBodyHtml": "<p><math><ms><p></p><h1></h1></ms></math></p>"
50526 }
50527 },
50528 {
50529 "data": "<!doctype html><p><math><mtext><p><h1>",
50530 "errors": [
50531 "(1,38): expected-closing-tag-but-got-eof"
50532 ],
50533 "document": {
50534 "props": {
50535 "tags": {
50536 "html": true,
50537 "head": true,
50538 "body": true,
50539 "p": true,
50540 "math math": true,
50541 "math mtext": true,
50542 "h1": true
50543 },
50544 "doctype": true
50545 },
50546 "tree": [
50547 {
50548 "doctype": "html"
50549 },
50550 {
50551 "tag": "html",
50552 "children": [
50553 {
50554 "tag": "head"
50555 },
50556 {
50557 "tag": "body",
50558 "children": [
50559 {
50560 "tag": "p",
50561 "children": [
50562 {
50563 "tag": "math",
50564 "ns": "http://www.w3.org/1998/Math/MathML",
50565 "children": [
50566 {
50567 "tag": "mtext",
50568 "ns": "http://www.w3.org/1998/Math/MathML",
50569 "children": [
50570 {
50571 "tag": "p"
50572 },
50573 {
50574 "tag": "h1"
50575 }
50576 ]
50577 }
50578 ]
50579 }
50580 ]
50581 }
50582 ]
50583 }
50584 ]
50585 }
50586 ],
50587 "html": "<!DOCTYPE html><html><head></head><body><p><math><mtext><p></p><h1></h1></mtext></math></p></body></html>",
50588 "noQuirksBodyHtml": "<p><math><mtext><p></p><h1></h1></mtext></math></p>"
50589 }
50590 },
50591 {
50592 "data": "<!doctype html><frameset></noframes>",
50593 "errors": [
50594 "(1,36): unexpected-end-tag-in-frameset",
50595 "(1,36): eof-in-frameset"
50596 ],
50597 "document": {
50598 "props": {
50599 "tags": {
50600 "html": true,
50601 "head": true,
50602 "frameset": true
50603 },
50604 "doctype": true
50605 },
50606 "tree": [
50607 {
50608 "doctype": "html"
50609 },
50610 {
50611 "tag": "html",
50612 "children": [
50613 {
50614 "tag": "head"
50615 },
50616 {
50617 "tag": "frameset"
50618 }
50619 ]
50620 }
50621 ],
50622 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
50623 "noQuirksBodyHtml": ""
50624 }
50625 },
50626 {
50627 "data": "<!doctype html><html c=d><body></html><html a=b>",
50628 "errors": [
50629 "(1,48): non-html-root"
50630 ],
50631 "document": {
50632 "props": {
50633 "tags": {
50634 "html": true,
50635 "head": true,
50636 "body": true
50637 },
50638 "doctype": true
50639 },
50640 "tree": [
50641 {
50642 "doctype": "html"
50643 },
50644 {
50645 "tag": "html",
50646 "attrs": [
50647 {
50648 "name": "a",
50649 "value": "b"
50650 },
50651 {
50652 "name": "c",
50653 "value": "d"
50654 }
50655 ],
50656 "children": [
50657 {
50658 "tag": "head"
50659 },
50660 {
50661 "tag": "body"
50662 }
50663 ]
50664 }
50665 ],
50666 "html": "<!DOCTYPE html><html c=\"d\" a=\"b\"><head></head><body></body></html>",
50667 "noQuirksBodyHtml": ""
50668 }
50669 },
50670 {
50671 "data": "<!doctype html><html c=d><frameset></frameset></html><html a=b>",
50672 "errors": [
50673 "(1,63): non-html-root"
50674 ],
50675 "document": {
50676 "props": {
50677 "tags": {
50678 "html": true,
50679 "head": true,
50680 "frameset": true
50681 },
50682 "doctype": true
50683 },
50684 "tree": [
50685 {
50686 "doctype": "html"
50687 },
50688 {
50689 "tag": "html",
50690 "attrs": [
50691 {
50692 "name": "a",
50693 "value": "b"
50694 },
50695 {
50696 "name": "c",
50697 "value": "d"
50698 }
50699 ],
50700 "children": [
50701 {
50702 "tag": "head"
50703 },
50704 {
50705 "tag": "frameset"
50706 }
50707 ]
50708 }
50709 ],
50710 "html": "<!DOCTYPE html><html c=\"d\" a=\"b\"><head></head><frameset></frameset></html>",
50711 "noQuirksBodyHtml": ""
50712 }
50713 },
50714 {
50715 "data": "<!doctype html><html><frameset></frameset></html><!--foo-->",
50716 "errors": [],
50717 "document": {
50718 "props": {
50719 "tags": {
50720 "html": true,
50721 "head": true,
50722 "frameset": true
50723 },
50724 "doctype": true,
50725 "comment": true
50726 },
50727 "tree": [
50728 {
50729 "doctype": "html"
50730 },
50731 {
50732 "tag": "html",
50733 "children": [
50734 {
50735 "tag": "head"
50736 },
50737 {
50738 "tag": "frameset"
50739 }
50740 ]
50741 },
50742 {
50743 "comment": "foo"
50744 }
50745 ],
50746 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html><!--foo-->",
50747 "noQuirksBodyHtml": "<!--foo-->"
50748 }
50749 },
50750 {
50751 "data": "<!doctype html><html><frameset></frameset></html> ",
50752 "errors": [],
50753 "document": {
50754 "props": {
50755 "tags": {
50756 "html": true,
50757 "head": true,
50758 "frameset": true
50759 },
50760 "doctype": true
50761 },
50762 "tree": [
50763 {
50764 "doctype": "html"
50765 },
50766 {
50767 "tag": "html",
50768 "children": [
50769 {
50770 "tag": "head"
50771 },
50772 {
50773 "tag": "frameset"
50774 },
50775 {
50776 "text": " "
50777 }
50778 ]
50779 }
50780 ],
50781 "html": "<!DOCTYPE html><html><head></head><frameset></frameset> </html>",
50782 "noQuirksBodyHtml": " "
50783 }
50784 },
50785 {
50786 "data": "<!doctype html><html><frameset></frameset></html>abc",
50787 "errors": [
50788 "(1,50): expected-eof-but-got-char",
50789 "(1,51): expected-eof-but-got-char",
50790 "(1,52): expected-eof-but-got-char"
50791 ],
50792 "document": {
50793 "props": {
50794 "tags": {
50795 "html": true,
50796 "head": true,
50797 "frameset": true
50798 },
50799 "doctype": true
50800 },
50801 "tree": [
50802 {
50803 "doctype": "html"
50804 },
50805 {
50806 "tag": "html",
50807 "children": [
50808 {
50809 "tag": "head"
50810 },
50811 {
50812 "tag": "frameset"
50813 }
50814 ]
50815 }
50816 ],
50817 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
50818 "noQuirksBodyHtml": "abc"
50819 }
50820 },
50821 {
50822 "data": "<!doctype html><html><frameset></frameset></html><p>",
50823 "errors": [
50824 "(1,52): expected-eof-but-got-start-tag"
50825 ],
50826 "document": {
50827 "props": {
50828 "tags": {
50829 "html": true,
50830 "head": true,
50831 "frameset": true
50832 },
50833 "doctype": true
50834 },
50835 "tree": [
50836 {
50837 "doctype": "html"
50838 },
50839 {
50840 "tag": "html",
50841 "children": [
50842 {
50843 "tag": "head"
50844 },
50845 {
50846 "tag": "frameset"
50847 }
50848 ]
50849 }
50850 ],
50851 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
50852 "noQuirksBodyHtml": "<p></p>"
50853 }
50854 },
50855 {
50856 "data": "<!doctype html><html><frameset></frameset></html></p>",
50857 "errors": [
50858 "(1,53): expected-eof-but-got-end-tag"
50859 ],
50860 "document": {
50861 "props": {
50862 "tags": {
50863 "html": true,
50864 "head": true,
50865 "frameset": true
50866 },
50867 "doctype": true
50868 },
50869 "tree": [
50870 {
50871 "doctype": "html"
50872 },
50873 {
50874 "tag": "html",
50875 "children": [
50876 {
50877 "tag": "head"
50878 },
50879 {
50880 "tag": "frameset"
50881 }
50882 ]
50883 }
50884 ],
50885 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
50886 "noQuirksBodyHtml": "<p></p>"
50887 }
50888 },
50889 {
50890 "data": "<html><frameset></frameset></html><!doctype html>",
50891 "errors": [
50892 "(1,6): expected-doctype-but-got-start-tag",
50893 "(1,49): unexpected-doctype"
50894 ],
50895 "document": {
50896 "props": {
50897 "tags": {
50898 "html": true,
50899 "head": true,
50900 "frameset": true
50901 }
50902 },
50903 "tree": [
50904 {
50905 "tag": "html",
50906 "children": [
50907 {
50908 "tag": "head"
50909 },
50910 {
50911 "tag": "frameset"
50912 }
50913 ]
50914 }
50915 ],
50916 "html": "<html><head></head><frameset></frameset></html>",
50917 "noQuirksBodyHtml": ""
50918 }
50919 },
50920 {
50921 "data": "<!doctype html><body><frameset>",
50922 "errors": [
50923 "(1,31): unexpected-start-tag"
50924 ],
50925 "document": {
50926 "props": {
50927 "tags": {
50928 "html": true,
50929 "head": true,
50930 "body": true
50931 },
50932 "doctype": true
50933 },
50934 "tree": [
50935 {
50936 "doctype": "html"
50937 },
50938 {
50939 "tag": "html",
50940 "children": [
50941 {
50942 "tag": "head"
50943 },
50944 {
50945 "tag": "body"
50946 }
50947 ]
50948 }
50949 ],
50950 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
50951 "noQuirksBodyHtml": ""
50952 }
50953 },
50954 {
50955 "data": "<!doctype html><p><frameset><frame>",
50956 "errors": [
50957 "(1,28): unexpected-start-tag",
50958 "(1,35): eof-in-frameset"
50959 ],
50960 "document": {
50961 "props": {
50962 "tags": {
50963 "html": true,
50964 "head": true,
50965 "frameset": true,
50966 "frame": true
50967 },
50968 "doctype": true
50969 },
50970 "tree": [
50971 {
50972 "doctype": "html"
50973 },
50974 {
50975 "tag": "html",
50976 "children": [
50977 {
50978 "tag": "head"
50979 },
50980 {
50981 "tag": "frameset",
50982 "children": [
50983 {
50984 "tag": "frame"
50985 }
50986 ]
50987 }
50988 ]
50989 }
50990 ],
50991 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
50992 "noQuirksBodyHtml": "<p></p>"
50993 }
50994 },
50995 {
50996 "data": "<!doctype html><p>a<frameset>",
50997 "errors": [
50998 "(1,29): unexpected-start-tag"
50999 ],
51000 "document": {
51001 "props": {
51002 "tags": {
51003 "html": true,
51004 "head": true,
51005 "body": true,
51006 "p": true
51007 },
51008 "doctype": true
51009 },
51010 "tree": [
51011 {
51012 "doctype": "html"
51013 },
51014 {
51015 "tag": "html",
51016 "children": [
51017 {
51018 "tag": "head"
51019 },
51020 {
51021 "tag": "body",
51022 "children": [
51023 {
51024 "tag": "p",
51025 "children": [
51026 {
51027 "text": "a"
51028 }
51029 ]
51030 }
51031 ]
51032 }
51033 ]
51034 }
51035 ],
51036 "html": "<!DOCTYPE html><html><head></head><body><p>a</p></body></html>",
51037 "noQuirksBodyHtml": "<p>a</p>"
51038 }
51039 },
51040 {
51041 "data": "<!doctype html><p> <frameset><frame>",
51042 "errors": [
51043 "(1,29): unexpected-start-tag",
51044 "(1,36): eof-in-frameset"
51045 ],
51046 "document": {
51047 "props": {
51048 "tags": {
51049 "html": true,
51050 "head": true,
51051 "frameset": true,
51052 "frame": true
51053 },
51054 "doctype": true
51055 },
51056 "tree": [
51057 {
51058 "doctype": "html"
51059 },
51060 {
51061 "tag": "html",
51062 "children": [
51063 {
51064 "tag": "head"
51065 },
51066 {
51067 "tag": "frameset",
51068 "children": [
51069 {
51070 "tag": "frame"
51071 }
51072 ]
51073 }
51074 ]
51075 }
51076 ],
51077 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
51078 "noQuirksBodyHtml": "<p> </p>"
51079 }
51080 },
51081 {
51082 "data": "<!doctype html><pre><frameset>",
51083 "errors": [
51084 "(1,30): unexpected-start-tag",
51085 "(1,30): expected-closing-tag-but-got-eof"
51086 ],
51087 "document": {
51088 "props": {
51089 "tags": {
51090 "html": true,
51091 "head": true,
51092 "body": true,
51093 "pre": true
51094 },
51095 "doctype": true
51096 },
51097 "tree": [
51098 {
51099 "doctype": "html"
51100 },
51101 {
51102 "tag": "html",
51103 "children": [
51104 {
51105 "tag": "head"
51106 },
51107 {
51108 "tag": "body",
51109 "children": [
51110 {
51111 "tag": "pre"
51112 }
51113 ]
51114 }
51115 ]
51116 }
51117 ],
51118 "html": "<!DOCTYPE html><html><head></head><body><pre></pre></body></html>",
51119 "noQuirksBodyHtml": "<pre></pre>"
51120 }
51121 },
51122 {
51123 "data": "<!doctype html><listing><frameset>",
51124 "errors": [
51125 "(1,34): unexpected-start-tag",
51126 "(1,34): expected-closing-tag-but-got-eof"
51127 ],
51128 "document": {
51129 "props": {
51130 "tags": {
51131 "html": true,
51132 "head": true,
51133 "body": true,
51134 "listing": true
51135 },
51136 "doctype": true
51137 },
51138 "tree": [
51139 {
51140 "doctype": "html"
51141 },
51142 {
51143 "tag": "html",
51144 "children": [
51145 {
51146 "tag": "head"
51147 },
51148 {
51149 "tag": "body",
51150 "children": [
51151 {
51152 "tag": "listing"
51153 }
51154 ]
51155 }
51156 ]
51157 }
51158 ],
51159 "html": "<!DOCTYPE html><html><head></head><body><listing></listing></body></html>",
51160 "noQuirksBodyHtml": "<listing></listing>"
51161 }
51162 },
51163 {
51164 "data": "<!doctype html><li><frameset>",
51165 "errors": [
51166 "(1,29): unexpected-start-tag"
51167 ],
51168 "document": {
51169 "props": {
51170 "tags": {
51171 "html": true,
51172 "head": true,
51173 "body": true,
51174 "li": true
51175 },
51176 "doctype": true
51177 },
51178 "tree": [
51179 {
51180 "doctype": "html"
51181 },
51182 {
51183 "tag": "html",
51184 "children": [
51185 {
51186 "tag": "head"
51187 },
51188 {
51189 "tag": "body",
51190 "children": [
51191 {
51192 "tag": "li"
51193 }
51194 ]
51195 }
51196 ]
51197 }
51198 ],
51199 "html": "<!DOCTYPE html><html><head></head><body><li></li></body></html>",
51200 "noQuirksBodyHtml": "<li></li>"
51201 }
51202 },
51203 {
51204 "data": "<!doctype html><dd><frameset>",
51205 "errors": [
51206 "(1,29): unexpected-start-tag"
51207 ],
51208 "document": {
51209 "props": {
51210 "tags": {
51211 "html": true,
51212 "head": true,
51213 "body": true,
51214 "dd": true
51215 },
51216 "doctype": true
51217 },
51218 "tree": [
51219 {
51220 "doctype": "html"
51221 },
51222 {
51223 "tag": "html",
51224 "children": [
51225 {
51226 "tag": "head"
51227 },
51228 {
51229 "tag": "body",
51230 "children": [
51231 {
51232 "tag": "dd"
51233 }
51234 ]
51235 }
51236 ]
51237 }
51238 ],
51239 "html": "<!DOCTYPE html><html><head></head><body><dd></dd></body></html>",
51240 "noQuirksBodyHtml": "<dd></dd>"
51241 }
51242 },
51243 {
51244 "data": "<!doctype html><dt><frameset>",
51245 "errors": [
51246 "(1,29): unexpected-start-tag"
51247 ],
51248 "document": {
51249 "props": {
51250 "tags": {
51251 "html": true,
51252 "head": true,
51253 "body": true,
51254 "dt": true
51255 },
51256 "doctype": true
51257 },
51258 "tree": [
51259 {
51260 "doctype": "html"
51261 },
51262 {
51263 "tag": "html",
51264 "children": [
51265 {
51266 "tag": "head"
51267 },
51268 {
51269 "tag": "body",
51270 "children": [
51271 {
51272 "tag": "dt"
51273 }
51274 ]
51275 }
51276 ]
51277 }
51278 ],
51279 "html": "<!DOCTYPE html><html><head></head><body><dt></dt></body></html>",
51280 "noQuirksBodyHtml": "<dt></dt>"
51281 }
51282 },
51283 {
51284 "data": "<!doctype html><button><frameset>",
51285 "errors": [
51286 "(1,33): unexpected-start-tag",
51287 "(1,33): expected-closing-tag-but-got-eof"
51288 ],
51289 "document": {
51290 "props": {
51291 "tags": {
51292 "html": true,
51293 "head": true,
51294 "body": true,
51295 "button": true
51296 },
51297 "doctype": true
51298 },
51299 "tree": [
51300 {
51301 "doctype": "html"
51302 },
51303 {
51304 "tag": "html",
51305 "children": [
51306 {
51307 "tag": "head"
51308 },
51309 {
51310 "tag": "body",
51311 "children": [
51312 {
51313 "tag": "button"
51314 }
51315 ]
51316 }
51317 ]
51318 }
51319 ],
51320 "html": "<!DOCTYPE html><html><head></head><body><button></button></body></html>",
51321 "noQuirksBodyHtml": "<button></button>"
51322 }
51323 },
51324 {
51325 "data": "<!doctype html><applet><frameset>",
51326 "errors": [
51327 "(1,33): unexpected-start-tag",
51328 "(1,33): expected-closing-tag-but-got-eof"
51329 ],
51330 "document": {
51331 "props": {
51332 "tags": {
51333 "html": true,
51334 "head": true,
51335 "body": true,
51336 "applet": true
51337 },
51338 "doctype": true
51339 },
51340 "tree": [
51341 {
51342 "doctype": "html"
51343 },
51344 {
51345 "tag": "html",
51346 "children": [
51347 {
51348 "tag": "head"
51349 },
51350 {
51351 "tag": "body",
51352 "children": [
51353 {
51354 "tag": "applet"
51355 }
51356 ]
51357 }
51358 ]
51359 }
51360 ],
51361 "html": "<!DOCTYPE html><html><head></head><body><applet></applet></body></html>",
51362 "noQuirksBodyHtml": "<applet></applet>"
51363 }
51364 },
51365 {
51366 "data": "<!doctype html><marquee><frameset>",
51367 "errors": [
51368 "(1,34): unexpected-start-tag",
51369 "(1,34): expected-closing-tag-but-got-eof"
51370 ],
51371 "document": {
51372 "props": {
51373 "tags": {
51374 "html": true,
51375 "head": true,
51376 "body": true,
51377 "marquee": true
51378 },
51379 "doctype": true
51380 },
51381 "tree": [
51382 {
51383 "doctype": "html"
51384 },
51385 {
51386 "tag": "html",
51387 "children": [
51388 {
51389 "tag": "head"
51390 },
51391 {
51392 "tag": "body",
51393 "children": [
51394 {
51395 "tag": "marquee"
51396 }
51397 ]
51398 }
51399 ]
51400 }
51401 ],
51402 "html": "<!DOCTYPE html><html><head></head><body><marquee></marquee></body></html>",
51403 "noQuirksBodyHtml": "<marquee></marquee>"
51404 }
51405 },
51406 {
51407 "data": "<!doctype html><object><frameset>",
51408 "errors": [
51409 "(1,33): unexpected-start-tag",
51410 "(1,33): expected-closing-tag-but-got-eof"
51411 ],
51412 "document": {
51413 "props": {
51414 "tags": {
51415 "html": true,
51416 "head": true,
51417 "body": true,
51418 "object": true
51419 },
51420 "doctype": true
51421 },
51422 "tree": [
51423 {
51424 "doctype": "html"
51425 },
51426 {
51427 "tag": "html",
51428 "children": [
51429 {
51430 "tag": "head"
51431 },
51432 {
51433 "tag": "body",
51434 "children": [
51435 {
51436 "tag": "object"
51437 }
51438 ]
51439 }
51440 ]
51441 }
51442 ],
51443 "html": "<!DOCTYPE html><html><head></head><body><object></object></body></html>",
51444 "noQuirksBodyHtml": "<object></object>"
51445 }
51446 },
51447 {
51448 "data": "<!doctype html><table><frameset>",
51449 "errors": [
51450 "(1,32): unexpected-start-tag-implies-table-voodoo",
51451 "(1,32): unexpected-start-tag",
51452 "(1,32): eof-in-table"
51453 ],
51454 "document": {
51455 "props": {
51456 "tags": {
51457 "html": true,
51458 "head": true,
51459 "body": true,
51460 "table": true
51461 },
51462 "doctype": true
51463 },
51464 "tree": [
51465 {
51466 "doctype": "html"
51467 },
51468 {
51469 "tag": "html",
51470 "children": [
51471 {
51472 "tag": "head"
51473 },
51474 {
51475 "tag": "body",
51476 "children": [
51477 {
51478 "tag": "table"
51479 }
51480 ]
51481 }
51482 ]
51483 }
51484 ],
51485 "html": "<!DOCTYPE html><html><head></head><body><table></table></body></html>",
51486 "noQuirksBodyHtml": "<table></table>"
51487 }
51488 },
51489 {
51490 "data": "<!doctype html><area><frameset>",
51491 "errors": [
51492 "(1,31): unexpected-start-tag"
51493 ],
51494 "document": {
51495 "props": {
51496 "tags": {
51497 "html": true,
51498 "head": true,
51499 "body": true,
51500 "area": true
51501 },
51502 "doctype": true
51503 },
51504 "tree": [
51505 {
51506 "doctype": "html"
51507 },
51508 {
51509 "tag": "html",
51510 "children": [
51511 {
51512 "tag": "head"
51513 },
51514 {
51515 "tag": "body",
51516 "children": [
51517 {
51518 "tag": "area"
51519 }
51520 ]
51521 }
51522 ]
51523 }
51524 ],
51525 "html": "<!DOCTYPE html><html><head></head><body><area></body></html>",
51526 "noQuirksBodyHtml": "<area>"
51527 }
51528 },
51529 {
51530 "data": "<!doctype html><basefont><frameset>",
51531 "errors": [
51532 "(1,35): eof-in-frameset"
51533 ],
51534 "document": {
51535 "props": {
51536 "tags": {
51537 "html": true,
51538 "head": true,
51539 "basefont": true,
51540 "frameset": true
51541 },
51542 "doctype": true
51543 },
51544 "tree": [
51545 {
51546 "doctype": "html"
51547 },
51548 {
51549 "tag": "html",
51550 "children": [
51551 {
51552 "tag": "head",
51553 "children": [
51554 {
51555 "tag": "basefont"
51556 }
51557 ]
51558 },
51559 {
51560 "tag": "frameset"
51561 }
51562 ]
51563 }
51564 ],
51565 "html": "<!DOCTYPE html><html><head><basefont></head><frameset></frameset></html>",
51566 "noQuirksBodyHtml": "<basefont>"
51567 }
51568 },
51569 {
51570 "data": "<!doctype html><bgsound><frameset>",
51571 "errors": [
51572 "(1,34): eof-in-frameset"
51573 ],
51574 "document": {
51575 "props": {
51576 "tags": {
51577 "html": true,
51578 "head": true,
51579 "bgsound": true,
51580 "frameset": true
51581 },
51582 "doctype": true
51583 },
51584 "tree": [
51585 {
51586 "doctype": "html"
51587 },
51588 {
51589 "tag": "html",
51590 "children": [
51591 {
51592 "tag": "head",
51593 "children": [
51594 {
51595 "tag": "bgsound"
51596 }
51597 ]
51598 },
51599 {
51600 "tag": "frameset"
51601 }
51602 ]
51603 }
51604 ],
51605 "html": "<!DOCTYPE html><html><head><bgsound></head><frameset></frameset></html>",
51606 "noQuirksBodyHtml": "<bgsound>"
51607 }
51608 },
51609 {
51610 "data": "<!doctype html><br><frameset>",
51611 "errors": [
51612 "(1,29): unexpected-start-tag"
51613 ],
51614 "document": {
51615 "props": {
51616 "tags": {
51617 "html": true,
51618 "head": true,
51619 "body": true,
51620 "br": true
51621 },
51622 "doctype": true
51623 },
51624 "tree": [
51625 {
51626 "doctype": "html"
51627 },
51628 {
51629 "tag": "html",
51630 "children": [
51631 {
51632 "tag": "head"
51633 },
51634 {
51635 "tag": "body",
51636 "children": [
51637 {
51638 "tag": "br"
51639 }
51640 ]
51641 }
51642 ]
51643 }
51644 ],
51645 "html": "<!DOCTYPE html><html><head></head><body><br></body></html>",
51646 "noQuirksBodyHtml": "<br>"
51647 }
51648 },
51649 {
51650 "data": "<!doctype html><embed><frameset>",
51651 "errors": [
51652 "(1,32): unexpected-start-tag"
51653 ],
51654 "document": {
51655 "props": {
51656 "tags": {
51657 "html": true,
51658 "head": true,
51659 "body": true,
51660 "embed": true
51661 },
51662 "doctype": true
51663 },
51664 "tree": [
51665 {
51666 "doctype": "html"
51667 },
51668 {
51669 "tag": "html",
51670 "children": [
51671 {
51672 "tag": "head"
51673 },
51674 {
51675 "tag": "body",
51676 "children": [
51677 {
51678 "tag": "embed"
51679 }
51680 ]
51681 }
51682 ]
51683 }
51684 ],
51685 "html": "<!DOCTYPE html><html><head></head><body><embed></body></html>",
51686 "noQuirksBodyHtml": "<embed>"
51687 }
51688 },
51689 {
51690 "data": "<!doctype html><img><frameset>",
51691 "errors": [
51692 "(1,30): unexpected-start-tag"
51693 ],
51694 "document": {
51695 "props": {
51696 "tags": {
51697 "html": true,
51698 "head": true,
51699 "body": true,
51700 "img": true
51701 },
51702 "doctype": true
51703 },
51704 "tree": [
51705 {
51706 "doctype": "html"
51707 },
51708 {
51709 "tag": "html",
51710 "children": [
51711 {
51712 "tag": "head"
51713 },
51714 {
51715 "tag": "body",
51716 "children": [
51717 {
51718 "tag": "img"
51719 }
51720 ]
51721 }
51722 ]
51723 }
51724 ],
51725 "html": "<!DOCTYPE html><html><head></head><body><img></body></html>",
51726 "noQuirksBodyHtml": "<img>"
51727 }
51728 },
51729 {
51730 "data": "<!doctype html><input><frameset>",
51731 "errors": [
51732 "(1,32): unexpected-start-tag"
51733 ],
51734 "document": {
51735 "props": {
51736 "tags": {
51737 "html": true,
51738 "head": true,
51739 "body": true,
51740 "input": true
51741 },
51742 "doctype": true
51743 },
51744 "tree": [
51745 {
51746 "doctype": "html"
51747 },
51748 {
51749 "tag": "html",
51750 "children": [
51751 {
51752 "tag": "head"
51753 },
51754 {
51755 "tag": "body",
51756 "children": [
51757 {
51758 "tag": "input"
51759 }
51760 ]
51761 }
51762 ]
51763 }
51764 ],
51765 "html": "<!DOCTYPE html><html><head></head><body><input></body></html>",
51766 "noQuirksBodyHtml": "<input>"
51767 }
51768 },
51769 {
51770 "data": "<!doctype html><keygen><frameset>",
51771 "errors": [
51772 "(1,33): unexpected-start-tag"
51773 ],
51774 "document": {
51775 "props": {
51776 "tags": {
51777 "html": true,
51778 "head": true,
51779 "body": true,
51780 "keygen": true
51781 },
51782 "doctype": true
51783 },
51784 "tree": [
51785 {
51786 "doctype": "html"
51787 },
51788 {
51789 "tag": "html",
51790 "children": [
51791 {
51792 "tag": "head"
51793 },
51794 {
51795 "tag": "body",
51796 "children": [
51797 {
51798 "tag": "keygen"
51799 }
51800 ]
51801 }
51802 ]
51803 }
51804 ],
51805 "html": "<!DOCTYPE html><html><head></head><body><keygen></body></html>",
51806 "noQuirksBodyHtml": "<keygen>"
51807 }
51808 },
51809 {
51810 "data": "<!doctype html><wbr><frameset>",
51811 "errors": [
51812 "(1,30): unexpected-start-tag"
51813 ],
51814 "document": {
51815 "props": {
51816 "tags": {
51817 "html": true,
51818 "head": true,
51819 "body": true,
51820 "wbr": true
51821 },
51822 "doctype": true
51823 },
51824 "tree": [
51825 {
51826 "doctype": "html"
51827 },
51828 {
51829 "tag": "html",
51830 "children": [
51831 {
51832 "tag": "head"
51833 },
51834 {
51835 "tag": "body",
51836 "children": [
51837 {
51838 "tag": "wbr"
51839 }
51840 ]
51841 }
51842 ]
51843 }
51844 ],
51845 "html": "<!DOCTYPE html><html><head></head><body><wbr></body></html>",
51846 "noQuirksBodyHtml": "<wbr>"
51847 }
51848 },
51849 {
51850 "data": "<!doctype html><hr><frameset>",
51851 "errors": [
51852 "(1,29): unexpected-start-tag"
51853 ],
51854 "document": {
51855 "props": {
51856 "tags": {
51857 "html": true,
51858 "head": true,
51859 "body": true,
51860 "hr": true
51861 },
51862 "doctype": true
51863 },
51864 "tree": [
51865 {
51866 "doctype": "html"
51867 },
51868 {
51869 "tag": "html",
51870 "children": [
51871 {
51872 "tag": "head"
51873 },
51874 {
51875 "tag": "body",
51876 "children": [
51877 {
51878 "tag": "hr"
51879 }
51880 ]
51881 }
51882 ]
51883 }
51884 ],
51885 "html": "<!DOCTYPE html><html><head></head><body><hr></body></html>",
51886 "noQuirksBodyHtml": "<hr>"
51887 }
51888 },
51889 {
51890 "data": "<!doctype html><textarea></textarea><frameset>",
51891 "errors": [
51892 "(1,46): unexpected-start-tag"
51893 ],
51894 "document": {
51895 "props": {
51896 "tags": {
51897 "html": true,
51898 "head": true,
51899 "body": true,
51900 "textarea": 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": "textarea"
51919 }
51920 ]
51921 }
51922 ]
51923 }
51924 ],
51925 "html": "<!DOCTYPE html><html><head></head><body><textarea></textarea></body></html>",
51926 "noQuirksBodyHtml": "<textarea></textarea>"
51927 }
51928 },
51929 {
51930 "data": "<!doctype html><xmp></xmp><frameset>",
51931 "errors": [
51932 "(1,36): unexpected-start-tag"
51933 ],
51934 "document": {
51935 "props": {
51936 "tags": {
51937 "html": true,
51938 "head": true,
51939 "body": true,
51940 "xmp": true
51941 },
51942 "doctype": true
51943 },
51944 "tree": [
51945 {
51946 "doctype": "html"
51947 },
51948 {
51949 "tag": "html",
51950 "children": [
51951 {
51952 "tag": "head"
51953 },
51954 {
51955 "tag": "body",
51956 "children": [
51957 {
51958 "tag": "xmp"
51959 }
51960 ]
51961 }
51962 ]
51963 }
51964 ],
51965 "html": "<!DOCTYPE html><html><head></head><body><xmp></xmp></body></html>",
51966 "noQuirksBodyHtml": "<xmp></xmp>"
51967 }
51968 },
51969 {
51970 "data": "<!doctype html><iframe></iframe><frameset>",
51971 "errors": [
51972 "(1,42): unexpected-start-tag"
51973 ],
51974 "document": {
51975 "props": {
51976 "tags": {
51977 "html": true,
51978 "head": true,
51979 "body": true,
51980 "iframe": true
51981 },
51982 "doctype": true
51983 },
51984 "tree": [
51985 {
51986 "doctype": "html"
51987 },
51988 {
51989 "tag": "html",
51990 "children": [
51991 {
51992 "tag": "head"
51993 },
51994 {
51995 "tag": "body",
51996 "children": [
51997 {
51998 "tag": "iframe"
51999 }
52000 ]
52001 }
52002 ]
52003 }
52004 ],
52005 "html": "<!DOCTYPE html><html><head></head><body><iframe></iframe></body></html>",
52006 "noQuirksBodyHtml": "<iframe></iframe>"
52007 }
52008 },
52009 {
52010 "data": "<!doctype html><select></select><frameset>",
52011 "errors": [
52012 "(1,42): unexpected-start-tag"
52013 ],
52014 "document": {
52015 "props": {
52016 "tags": {
52017 "html": true,
52018 "head": true,
52019 "body": true,
52020 "select": true
52021 },
52022 "doctype": true
52023 },
52024 "tree": [
52025 {
52026 "doctype": "html"
52027 },
52028 {
52029 "tag": "html",
52030 "children": [
52031 {
52032 "tag": "head"
52033 },
52034 {
52035 "tag": "body",
52036 "children": [
52037 {
52038 "tag": "select"
52039 }
52040 ]
52041 }
52042 ]
52043 }
52044 ],
52045 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
52046 "noQuirksBodyHtml": "<select></select>"
52047 }
52048 },
52049 {
52050 "data": "<!doctype html><svg></svg><frameset><frame>",
52051 "errors": [
52052 "(1,36): unexpected-start-tag",
52053 "(1,43): eof-in-frameset"
52054 ],
52055 "document": {
52056 "props": {
52057 "tags": {
52058 "html": true,
52059 "head": true,
52060 "frameset": true,
52061 "frame": true
52062 },
52063 "doctype": true
52064 },
52065 "tree": [
52066 {
52067 "doctype": "html"
52068 },
52069 {
52070 "tag": "html",
52071 "children": [
52072 {
52073 "tag": "head"
52074 },
52075 {
52076 "tag": "frameset",
52077 "children": [
52078 {
52079 "tag": "frame"
52080 }
52081 ]
52082 }
52083 ]
52084 }
52085 ],
52086 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52087 "noQuirksBodyHtml": "<svg></svg>"
52088 }
52089 },
52090 {
52091 "data": "<!doctype html><math></math><frameset><frame>",
52092 "errors": [
52093 "(1,38): unexpected-start-tag",
52094 "(1,45): eof-in-frameset"
52095 ],
52096 "document": {
52097 "props": {
52098 "tags": {
52099 "html": true,
52100 "head": true,
52101 "frameset": true,
52102 "frame": true
52103 },
52104 "doctype": true
52105 },
52106 "tree": [
52107 {
52108 "doctype": "html"
52109 },
52110 {
52111 "tag": "html",
52112 "children": [
52113 {
52114 "tag": "head"
52115 },
52116 {
52117 "tag": "frameset",
52118 "children": [
52119 {
52120 "tag": "frame"
52121 }
52122 ]
52123 }
52124 ]
52125 }
52126 ],
52127 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52128 "noQuirksBodyHtml": "<math></math>"
52129 }
52130 },
52131 {
52132 "data": "<!doctype html><svg><foreignObject><div> <frameset><frame>",
52133 "errors": [
52134 "(1,51): unexpected-start-tag",
52135 "(1,58): eof-in-frameset"
52136 ],
52137 "document": {
52138 "props": {
52139 "tags": {
52140 "html": true,
52141 "head": true,
52142 "frameset": true,
52143 "frame": true
52144 },
52145 "doctype": true
52146 },
52147 "tree": [
52148 {
52149 "doctype": "html"
52150 },
52151 {
52152 "tag": "html",
52153 "children": [
52154 {
52155 "tag": "head"
52156 },
52157 {
52158 "tag": "frameset",
52159 "children": [
52160 {
52161 "tag": "frame"
52162 }
52163 ]
52164 }
52165 ]
52166 }
52167 ],
52168 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52169 "noQuirksBodyHtml": "<svg><foreignObject><div> </div></foreignObject></svg>"
52170 }
52171 },
52172 {
52173 "data": "<!doctype html><svg>a</svg><frameset><frame>",
52174 "errors": [
52175 "(1,37): unexpected-start-tag",
52176 "(1,44): unexpected-start-tag-ignored"
52177 ],
52178 "document": {
52179 "props": {
52180 "tags": {
52181 "html": true,
52182 "head": true,
52183 "body": true,
52184 "svg svg": 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": "svg",
52203 "ns": "http://www.w3.org/2000/svg",
52204 "children": [
52205 {
52206 "text": "a"
52207 }
52208 ]
52209 }
52210 ]
52211 }
52212 ]
52213 }
52214 ],
52215 "html": "<!DOCTYPE html><html><head></head><body><svg>a</svg></body></html>",
52216 "noQuirksBodyHtml": "<svg>a</svg>"
52217 }
52218 },
52219 {
52220 "data": "<!doctype html><svg> </svg><frameset><frame>",
52221 "errors": [
52222 "(1,37): unexpected-start-tag",
52223 "(1,44): eof-in-frameset"
52224 ],
52225 "document": {
52226 "props": {
52227 "tags": {
52228 "html": true,
52229 "head": true,
52230 "frameset": true,
52231 "frame": true
52232 },
52233 "doctype": true
52234 },
52235 "tree": [
52236 {
52237 "doctype": "html"
52238 },
52239 {
52240 "tag": "html",
52241 "children": [
52242 {
52243 "tag": "head"
52244 },
52245 {
52246 "tag": "frameset",
52247 "children": [
52248 {
52249 "tag": "frame"
52250 }
52251 ]
52252 }
52253 ]
52254 }
52255 ],
52256 "html": "<!DOCTYPE html><html><head></head><frameset><frame></frameset></html>",
52257 "noQuirksBodyHtml": "<svg> </svg>"
52258 }
52259 },
52260 {
52261 "data": "<html>aaa<frameset></frameset>",
52262 "errors": [
52263 "(1,6): expected-doctype-but-got-start-tag",
52264 "(1,19): unexpected-start-tag",
52265 "(1,30): unexpected-end-tag"
52266 ],
52267 "document": {
52268 "props": {
52269 "tags": {
52270 "html": true,
52271 "head": true,
52272 "body": true
52273 }
52274 },
52275 "tree": [
52276 {
52277 "tag": "html",
52278 "children": [
52279 {
52280 "tag": "head"
52281 },
52282 {
52283 "tag": "body",
52284 "children": [
52285 {
52286 "text": "aaa"
52287 }
52288 ]
52289 }
52290 ]
52291 }
52292 ],
52293 "html": "<html><head></head><body>aaa</body></html>",
52294 "noQuirksBodyHtml": "aaa"
52295 }
52296 },
52297 {
52298 "data": "<html> a <frameset></frameset>",
52299 "errors": [
52300 "(1,6): expected-doctype-but-got-start-tag",
52301 "(1,19): unexpected-start-tag",
52302 "(1,30): unexpected-end-tag"
52303 ],
52304 "document": {
52305 "props": {
52306 "tags": {
52307 "html": true,
52308 "head": true,
52309 "body": true
52310 }
52311 },
52312 "tree": [
52313 {
52314 "tag": "html",
52315 "children": [
52316 {
52317 "tag": "head"
52318 },
52319 {
52320 "tag": "body",
52321 "children": [
52322 {
52323 "text": "a "
52324 }
52325 ]
52326 }
52327 ]
52328 }
52329 ],
52330 "html": "<html><head></head><body>a </body></html>",
52331 "noQuirksBodyHtml": " a "
52332 }
52333 },
52334 {
52335 "data": "<!doctype html><div><frameset>",
52336 "errors": [
52337 "(1,30): unexpected-start-tag",
52338 "(1,30): eof-in-frameset"
52339 ],
52340 "document": {
52341 "props": {
52342 "tags": {
52343 "html": true,
52344 "head": true,
52345 "frameset": true
52346 },
52347 "doctype": true
52348 },
52349 "tree": [
52350 {
52351 "doctype": "html"
52352 },
52353 {
52354 "tag": "html",
52355 "children": [
52356 {
52357 "tag": "head"
52358 },
52359 {
52360 "tag": "frameset"
52361 }
52362 ]
52363 }
52364 ],
52365 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
52366 "noQuirksBodyHtml": "<div></div>"
52367 }
52368 },
52369 {
52370 "data": "<!doctype html><div><body><frameset>",
52371 "errors": [
52372 "(1,26): unexpected-start-tag",
52373 "(1,36): unexpected-start-tag",
52374 "(1,36): expected-closing-tag-but-got-eof"
52375 ],
52376 "document": {
52377 "props": {
52378 "tags": {
52379 "html": true,
52380 "head": true,
52381 "body": true,
52382 "div": true
52383 },
52384 "doctype": true
52385 },
52386 "tree": [
52387 {
52388 "doctype": "html"
52389 },
52390 {
52391 "tag": "html",
52392 "children": [
52393 {
52394 "tag": "head"
52395 },
52396 {
52397 "tag": "body",
52398 "children": [
52399 {
52400 "tag": "div"
52401 }
52402 ]
52403 }
52404 ]
52405 }
52406 ],
52407 "html": "<!DOCTYPE html><html><head></head><body><div></div></body></html>",
52408 "noQuirksBodyHtml": "<div></div>"
52409 }
52410 },
52411 {
52412 "data": "<!doctype html><p><math></p>a",
52413 "errors": [
52414 "(1,28): unexpected-end-tag",
52415 "(1,28): unexpected-end-tag"
52416 ],
52417 "document": {
52418 "props": {
52419 "tags": {
52420 "html": true,
52421 "head": true,
52422 "body": true,
52423 "p": true,
52424 "math math": true
52425 },
52426 "doctype": true
52427 },
52428 "tree": [
52429 {
52430 "doctype": "html"
52431 },
52432 {
52433 "tag": "html",
52434 "children": [
52435 {
52436 "tag": "head"
52437 },
52438 {
52439 "tag": "body",
52440 "children": [
52441 {
52442 "tag": "p",
52443 "children": [
52444 {
52445 "tag": "math",
52446 "ns": "http://www.w3.org/1998/Math/MathML"
52447 }
52448 ]
52449 },
52450 {
52451 "text": "a"
52452 }
52453 ]
52454 }
52455 ]
52456 }
52457 ],
52458 "html": "<!DOCTYPE html><html><head></head><body><p><math></math></p>a</body></html>",
52459 "noQuirksBodyHtml": "<p><math></math></p>a"
52460 }
52461 },
52462 {
52463 "data": "<!doctype html><p><math><mn><span></p>a",
52464 "errors": [
52465 "(1,38): unexpected-end-tag",
52466 "(1,39): expected-closing-tag-but-got-eof"
52467 ],
52468 "document": {
52469 "props": {
52470 "tags": {
52471 "html": true,
52472 "head": true,
52473 "body": true,
52474 "p": true,
52475 "math math": true,
52476 "math mn": true,
52477 "span": true
52478 },
52479 "doctype": true
52480 },
52481 "tree": [
52482 {
52483 "doctype": "html"
52484 },
52485 {
52486 "tag": "html",
52487 "children": [
52488 {
52489 "tag": "head"
52490 },
52491 {
52492 "tag": "body",
52493 "children": [
52494 {
52495 "tag": "p",
52496 "children": [
52497 {
52498 "tag": "math",
52499 "ns": "http://www.w3.org/1998/Math/MathML",
52500 "children": [
52501 {
52502 "tag": "mn",
52503 "ns": "http://www.w3.org/1998/Math/MathML",
52504 "children": [
52505 {
52506 "tag": "span",
52507 "children": [
52508 {
52509 "tag": "p"
52510 },
52511 {
52512 "text": "a"
52513 }
52514 ]
52515 }
52516 ]
52517 }
52518 ]
52519 }
52520 ]
52521 }
52522 ]
52523 }
52524 ]
52525 }
52526 ],
52527 "html": "<!DOCTYPE html><html><head></head><body><p><math><mn><span><p></p>a</span></mn></math></p></body></html>",
52528 "noQuirksBodyHtml": "<p><math><mn><span><p></p>a</span></mn></math></p>"
52529 }
52530 },
52531 {
52532 "data": "<!doctype html><math></html>",
52533 "errors": [
52534 "(1,28): unexpected-end-tag",
52535 "(1,28): expected-one-end-tag-but-got-another",
52536 "(1,28): unexpected-end-tag"
52537 ],
52538 "document": {
52539 "props": {
52540 "tags": {
52541 "html": true,
52542 "head": true,
52543 "body": true,
52544 "math math": true
52545 },
52546 "doctype": true
52547 },
52548 "tree": [
52549 {
52550 "doctype": "html"
52551 },
52552 {
52553 "tag": "html",
52554 "children": [
52555 {
52556 "tag": "head"
52557 },
52558 {
52559 "tag": "body",
52560 "children": [
52561 {
52562 "tag": "math",
52563 "ns": "http://www.w3.org/1998/Math/MathML"
52564 }
52565 ]
52566 }
52567 ]
52568 }
52569 ],
52570 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
52571 "noQuirksBodyHtml": "<math></math>"
52572 }
52573 },
52574 {
52575 "data": "<!doctype html><meta charset=\"ascii\">",
52576 "errors": [],
52577 "document": {
52578 "props": {
52579 "tags": {
52580 "html": true,
52581 "head": true,
52582 "meta": true,
52583 "body": true
52584 },
52585 "doctype": true
52586 },
52587 "tree": [
52588 {
52589 "doctype": "html"
52590 },
52591 {
52592 "tag": "html",
52593 "children": [
52594 {
52595 "tag": "head",
52596 "children": [
52597 {
52598 "tag": "meta",
52599 "attrs": [
52600 {
52601 "name": "charset",
52602 "value": "ascii"
52603 }
52604 ]
52605 }
52606 ]
52607 },
52608 {
52609 "tag": "body"
52610 }
52611 ]
52612 }
52613 ],
52614 "html": "<!DOCTYPE html><html><head><meta charset=\"ascii\"></head><body></body></html>",
52615 "noQuirksBodyHtml": "<meta charset=\"ascii\">"
52616 }
52617 },
52618 {
52619 "data": "<!doctype html><meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\">",
52620 "errors": [],
52621 "document": {
52622 "props": {
52623 "tags": {
52624 "html": true,
52625 "head": true,
52626 "meta": true,
52627 "body": true
52628 },
52629 "doctype": true
52630 },
52631 "tree": [
52632 {
52633 "doctype": "html"
52634 },
52635 {
52636 "tag": "html",
52637 "children": [
52638 {
52639 "tag": "head",
52640 "children": [
52641 {
52642 "tag": "meta",
52643 "attrs": [
52644 {
52645 "name": "content",
52646 "value": "text/html;charset=ascii"
52647 },
52648 {
52649 "name": "http-equiv",
52650 "value": "content-type"
52651 }
52652 ]
52653 }
52654 ]
52655 },
52656 {
52657 "tag": "body"
52658 }
52659 ]
52660 }
52661 ],
52662 "html": "<!DOCTYPE html><html><head><meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\"></head><body></body></html>",
52663 "noQuirksBodyHtml": "<meta http-equiv=\"content-type\" content=\"text/html;charset=ascii\">"
52664 }
52665 },
52666 {
52667 "data": "<!doctype html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\">",
52668 "errors": [],
52669 "document": {
52670 "props": {
52671 "tags": {
52672 "html": true,
52673 "head": true,
52674 "meta": true,
52675 "body": true
52676 },
52677 "doctype": true,
52678 "comment": true
52679 },
52680 "tree": [
52681 {
52682 "doctype": "html"
52683 },
52684 {
52685 "tag": "html",
52686 "children": [
52687 {
52688 "tag": "head",
52689 "children": [
52690 {
52691 "comment": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
52692 },
52693 {
52694 "tag": "meta",
52695 "attrs": [
52696 {
52697 "name": "charset",
52698 "value": "utf8"
52699 }
52700 ]
52701 }
52702 ]
52703 },
52704 {
52705 "tag": "body"
52706 }
52707 ]
52708 }
52709 ],
52710 "html": "<!DOCTYPE html><html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\"></head><body></body></html>",
52711 "noQuirksBodyHtml": "<!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset=\"utf8\">"
52712 }
52713 },
52714 {
52715 "data": "<!doctype html><html a=b><head></head><html c=d>",
52716 "errors": [
52717 "(1,48): non-html-root"
52718 ],
52719 "document": {
52720 "props": {
52721 "tags": {
52722 "html": true,
52723 "head": true,
52724 "body": true
52725 },
52726 "doctype": true
52727 },
52728 "tree": [
52729 {
52730 "doctype": "html"
52731 },
52732 {
52733 "tag": "html",
52734 "attrs": [
52735 {
52736 "name": "a",
52737 "value": "b"
52738 },
52739 {
52740 "name": "c",
52741 "value": "d"
52742 }
52743 ],
52744 "children": [
52745 {
52746 "tag": "head"
52747 },
52748 {
52749 "tag": "body"
52750 }
52751 ]
52752 }
52753 ],
52754 "html": "<!DOCTYPE html><html a=\"b\" c=\"d\"><head></head><body></body></html>",
52755 "noQuirksBodyHtml": ""
52756 }
52757 },
52758 {
52759 "data": "<!doctype html><image/>",
52760 "errors": [
52761 "(1,23): image-start-tag"
52762 ],
52763 "document": {
52764 "props": {
52765 "tags": {
52766 "html": true,
52767 "head": true,
52768 "body": true,
52769 "img": true
52770 },
52771 "doctype": true
52772 },
52773 "tree": [
52774 {
52775 "doctype": "html"
52776 },
52777 {
52778 "tag": "html",
52779 "children": [
52780 {
52781 "tag": "head"
52782 },
52783 {
52784 "tag": "body",
52785 "children": [
52786 {
52787 "tag": "img"
52788 }
52789 ]
52790 }
52791 ]
52792 }
52793 ],
52794 "html": "<!DOCTYPE html><html><head></head><body><img></body></html>",
52795 "noQuirksBodyHtml": "<img>"
52796 }
52797 },
52798 {
52799 "data": "<!doctype html>a<i>b<table>c<b>d</i>e</b>f",
52800 "errors": [
52801 "(1,28): foster-parenting-character",
52802 "(1,31): foster-parenting-start-tag",
52803 "(1,32): foster-parenting-character",
52804 "(1,36): foster-parenting-end-tag",
52805 "(1,36): adoption-agency-1.3",
52806 "(1,37): foster-parenting-character",
52807 "(1,41): foster-parenting-end-tag",
52808 "(1,42): foster-parenting-character",
52809 "(1,42): eof-in-table"
52810 ],
52811 "document": {
52812 "props": {
52813 "tags": {
52814 "html": true,
52815 "head": true,
52816 "body": true,
52817 "i": true,
52818 "b": true,
52819 "table": true
52820 },
52821 "doctype": true
52822 },
52823 "tree": [
52824 {
52825 "doctype": "html"
52826 },
52827 {
52828 "tag": "html",
52829 "children": [
52830 {
52831 "tag": "head"
52832 },
52833 {
52834 "tag": "body",
52835 "children": [
52836 {
52837 "text": "a"
52838 },
52839 {
52840 "tag": "i",
52841 "children": [
52842 {
52843 "text": "bc"
52844 },
52845 {
52846 "tag": "b",
52847 "children": [
52848 {
52849 "text": "de"
52850 }
52851 ]
52852 },
52853 {
52854 "text": "f"
52855 },
52856 {
52857 "tag": "table"
52858 }
52859 ]
52860 }
52861 ]
52862 }
52863 ]
52864 }
52865 ],
52866 "html": "<!DOCTYPE html><html><head></head><body>a<i>bc<b>de</b>f<table></table></i></body></html>",
52867 "noQuirksBodyHtml": "a<i>bc<b>de</b>f<table></table></i>"
52868 }
52869 },
52870 {
52871 "data": "<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f",
52872 "errors": [
52873 "(1,25): foster-parenting-start-tag",
52874 "(1,26): foster-parenting-character",
52875 "(1,29): foster-parenting-start-tag",
52876 "(1,30): foster-parenting-character",
52877 "(1,35): foster-parenting-start-tag",
52878 "(1,36): foster-parenting-character",
52879 "(1,39): foster-parenting-start-tag",
52880 "(1,40): foster-parenting-character",
52881 "(1,44): foster-parenting-end-tag",
52882 "(1,44): adoption-agency-1.3",
52883 "(1,44): adoption-agency-1.3",
52884 "(1,45): foster-parenting-character",
52885 "(1,49): foster-parenting-end-tag",
52886 "(1,49): adoption-agency-1.3",
52887 "(1,49): adoption-agency-1.3",
52888 "(1,50): foster-parenting-character",
52889 "(1,50): eof-in-table"
52890 ],
52891 "document": {
52892 "props": {
52893 "tags": {
52894 "html": true,
52895 "head": true,
52896 "body": true,
52897 "i": true,
52898 "b": true,
52899 "div": true,
52900 "a": true,
52901 "table": true
52902 },
52903 "doctype": true
52904 },
52905 "tree": [
52906 {
52907 "doctype": "html"
52908 },
52909 {
52910 "tag": "html",
52911 "children": [
52912 {
52913 "tag": "head"
52914 },
52915 {
52916 "tag": "body",
52917 "children": [
52918 {
52919 "tag": "i",
52920 "children": [
52921 {
52922 "text": "a"
52923 },
52924 {
52925 "tag": "b",
52926 "children": [
52927 {
52928 "text": "b"
52929 }
52930 ]
52931 }
52932 ]
52933 },
52934 {
52935 "tag": "b"
52936 },
52937 {
52938 "tag": "div",
52939 "children": [
52940 {
52941 "tag": "b",
52942 "children": [
52943 {
52944 "tag": "i",
52945 "children": [
52946 {
52947 "text": "c"
52948 },
52949 {
52950 "tag": "a",
52951 "children": [
52952 {
52953 "text": "d"
52954 }
52955 ]
52956 }
52957 ]
52958 },
52959 {
52960 "tag": "a",
52961 "children": [
52962 {
52963 "text": "e"
52964 }
52965 ]
52966 }
52967 ]
52968 },
52969 {
52970 "tag": "a",
52971 "children": [
52972 {
52973 "text": "f"
52974 }
52975 ]
52976 }
52977 ]
52978 },
52979 {
52980 "tag": "table"
52981 }
52982 ]
52983 }
52984 ]
52985 }
52986 ],
52987 "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>",
52988 "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>"
52989 }
52990 },
52991 {
52992 "data": "<!doctype html><i>a<b>b<div>c<a>d</i>e</b>f",
52993 "errors": [
52994 "(1,37): adoption-agency-1.3",
52995 "(1,37): adoption-agency-1.3",
52996 "(1,42): adoption-agency-1.3",
52997 "(1,42): adoption-agency-1.3",
52998 "(1,43): expected-closing-tag-but-got-eof"
52999 ],
53000 "document": {
53001 "props": {
53002 "tags": {
53003 "html": true,
53004 "head": true,
53005 "body": true,
53006 "i": true,
53007 "b": true,
53008 "div": true,
53009 "a": true
53010 },
53011 "doctype": true
53012 },
53013 "tree": [
53014 {
53015 "doctype": "html"
53016 },
53017 {
53018 "tag": "html",
53019 "children": [
53020 {
53021 "tag": "head"
53022 },
53023 {
53024 "tag": "body",
53025 "children": [
53026 {
53027 "tag": "i",
53028 "children": [
53029 {
53030 "text": "a"
53031 },
53032 {
53033 "tag": "b",
53034 "children": [
53035 {
53036 "text": "b"
53037 }
53038 ]
53039 }
53040 ]
53041 },
53042 {
53043 "tag": "b"
53044 },
53045 {
53046 "tag": "div",
53047 "children": [
53048 {
53049 "tag": "b",
53050 "children": [
53051 {
53052 "tag": "i",
53053 "children": [
53054 {
53055 "text": "c"
53056 },
53057 {
53058 "tag": "a",
53059 "children": [
53060 {
53061 "text": "d"
53062 }
53063 ]
53064 }
53065 ]
53066 },
53067 {
53068 "tag": "a",
53069 "children": [
53070 {
53071 "text": "e"
53072 }
53073 ]
53074 }
53075 ]
53076 },
53077 {
53078 "tag": "a",
53079 "children": [
53080 {
53081 "text": "f"
53082 }
53083 ]
53084 }
53085 ]
53086 }
53087 ]
53088 }
53089 ]
53090 }
53091 ],
53092 "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>",
53093 "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>"
53094 }
53095 },
53096 {
53097 "data": "<!doctype html><table><i>a<b>b<div>c</i>",
53098 "errors": [
53099 "(1,25): foster-parenting-start-tag",
53100 "(1,26): foster-parenting-character",
53101 "(1,29): foster-parenting-start-tag",
53102 "(1,30): foster-parenting-character",
53103 "(1,35): foster-parenting-start-tag",
53104 "(1,36): foster-parenting-character",
53105 "(1,40): foster-parenting-end-tag",
53106 "(1,40): adoption-agency-1.3",
53107 "(1,40): eof-in-table"
53108 ],
53109 "document": {
53110 "props": {
53111 "tags": {
53112 "html": true,
53113 "head": true,
53114 "body": true,
53115 "i": true,
53116 "b": true,
53117 "div": true,
53118 "table": true
53119 },
53120 "doctype": true
53121 },
53122 "tree": [
53123 {
53124 "doctype": "html"
53125 },
53126 {
53127 "tag": "html",
53128 "children": [
53129 {
53130 "tag": "head"
53131 },
53132 {
53133 "tag": "body",
53134 "children": [
53135 {
53136 "tag": "i",
53137 "children": [
53138 {
53139 "text": "a"
53140 },
53141 {
53142 "tag": "b",
53143 "children": [
53144 {
53145 "text": "b"
53146 }
53147 ]
53148 }
53149 ]
53150 },
53151 {
53152 "tag": "b",
53153 "children": [
53154 {
53155 "tag": "div",
53156 "children": [
53157 {
53158 "tag": "i",
53159 "children": [
53160 {
53161 "text": "c"
53162 }
53163 ]
53164 }
53165 ]
53166 }
53167 ]
53168 },
53169 {
53170 "tag": "table"
53171 }
53172 ]
53173 }
53174 ]
53175 }
53176 ],
53177 "html": "<!DOCTYPE html><html><head></head><body><i>a<b>b</b></i><b><div><i>c</i></div></b><table></table></body></html>",
53178 "noQuirksBodyHtml": "<i>a<b>b</b></i><b><div><i>c</i></div></b><table></table>"
53179 }
53180 },
53181 {
53182 "data": "<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f",
53183 "errors": [
53184 "(1,25): foster-parenting-start-tag",
53185 "(1,26): foster-parenting-character",
53186 "(1,29): foster-parenting-start-tag",
53187 "(1,30): foster-parenting-character",
53188 "(1,35): foster-parenting-start-tag",
53189 "(1,36): foster-parenting-character",
53190 "(1,39): foster-parenting-start-tag",
53191 "(1,40): foster-parenting-character",
53192 "(1,44): foster-parenting-end-tag",
53193 "(1,44): adoption-agency-1.3",
53194 "(1,44): adoption-agency-1.3",
53195 "(1,45): foster-parenting-character",
53196 "(1,49): foster-parenting-end-tag",
53197 "(1,44): adoption-agency-1.3",
53198 "(1,44): adoption-agency-1.3",
53199 "(1,50): foster-parenting-character",
53200 "(1,50): eof-in-table"
53201 ],
53202 "document": {
53203 "props": {
53204 "tags": {
53205 "html": true,
53206 "head": true,
53207 "body": true,
53208 "i": true,
53209 "b": true,
53210 "div": true,
53211 "a": true,
53212 "table": true
53213 },
53214 "doctype": true
53215 },
53216 "tree": [
53217 {
53218 "doctype": "html"
53219 },
53220 {
53221 "tag": "html",
53222 "children": [
53223 {
53224 "tag": "head"
53225 },
53226 {
53227 "tag": "body",
53228 "children": [
53229 {
53230 "tag": "i",
53231 "children": [
53232 {
53233 "text": "a"
53234 },
53235 {
53236 "tag": "b",
53237 "children": [
53238 {
53239 "text": "b"
53240 }
53241 ]
53242 }
53243 ]
53244 },
53245 {
53246 "tag": "b"
53247 },
53248 {
53249 "tag": "div",
53250 "children": [
53251 {
53252 "tag": "b",
53253 "children": [
53254 {
53255 "tag": "i",
53256 "children": [
53257 {
53258 "text": "c"
53259 },
53260 {
53261 "tag": "a",
53262 "children": [
53263 {
53264 "text": "d"
53265 }
53266 ]
53267 }
53268 ]
53269 },
53270 {
53271 "tag": "a",
53272 "children": [
53273 {
53274 "text": "e"
53275 }
53276 ]
53277 }
53278 ]
53279 },
53280 {
53281 "tag": "a",
53282 "children": [
53283 {
53284 "text": "f"
53285 }
53286 ]
53287 }
53288 ]
53289 },
53290 {
53291 "tag": "table"
53292 }
53293 ]
53294 }
53295 ]
53296 }
53297 ],
53298 "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>",
53299 "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>"
53300 }
53301 },
53302 {
53303 "data": "<!doctype html><table><i>a<div>b<tr>c<b>d</i>e",
53304 "errors": [
53305 "(1,25): foster-parenting-start-tag",
53306 "(1,26): foster-parenting-character",
53307 "(1,31): foster-parenting-start-tag",
53308 "(1,32): foster-parenting-character",
53309 "(1,37): foster-parenting-character",
53310 "(1,40): foster-parenting-start-tag",
53311 "(1,41): foster-parenting-character",
53312 "(1,45): foster-parenting-end-tag",
53313 "(1,45): adoption-agency-1.3",
53314 "(1,46): foster-parenting-character",
53315 "(1,46): eof-in-table"
53316 ],
53317 "document": {
53318 "props": {
53319 "tags": {
53320 "html": true,
53321 "head": true,
53322 "body": true,
53323 "i": true,
53324 "div": true,
53325 "b": true,
53326 "table": true,
53327 "tbody": true,
53328 "tr": true
53329 },
53330 "doctype": true
53331 },
53332 "tree": [
53333 {
53334 "doctype": "html"
53335 },
53336 {
53337 "tag": "html",
53338 "children": [
53339 {
53340 "tag": "head"
53341 },
53342 {
53343 "tag": "body",
53344 "children": [
53345 {
53346 "tag": "i",
53347 "children": [
53348 {
53349 "text": "a"
53350 },
53351 {
53352 "tag": "div",
53353 "children": [
53354 {
53355 "text": "b"
53356 }
53357 ]
53358 }
53359 ]
53360 },
53361 {
53362 "tag": "i",
53363 "children": [
53364 {
53365 "text": "c"
53366 },
53367 {
53368 "tag": "b",
53369 "children": [
53370 {
53371 "text": "d"
53372 }
53373 ]
53374 }
53375 ]
53376 },
53377 {
53378 "tag": "b",
53379 "children": [
53380 {
53381 "text": "e"
53382 }
53383 ]
53384 },
53385 {
53386 "tag": "table",
53387 "children": [
53388 {
53389 "tag": "tbody",
53390 "children": [
53391 {
53392 "tag": "tr"
53393 }
53394 ]
53395 }
53396 ]
53397 }
53398 ]
53399 }
53400 ]
53401 }
53402 ],
53403 "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>",
53404 "noQuirksBodyHtml": "<i>a<div>b</div></i><i>c<b>d</b></i><b>e</b><table><tbody><tr></tr></tbody></table>"
53405 }
53406 },
53407 {
53408 "data": "<!doctype html><table><td><table><i>a<div>b<b>c</i>d",
53409 "errors": [
53410 "(1,26): unexpected-cell-in-table-body",
53411 "(1,36): foster-parenting-start-tag",
53412 "(1,37): foster-parenting-character",
53413 "(1,42): foster-parenting-start-tag",
53414 "(1,43): foster-parenting-character",
53415 "(1,46): foster-parenting-start-tag",
53416 "(1,47): foster-parenting-character",
53417 "(1,51): foster-parenting-end-tag",
53418 "(1,51): adoption-agency-1.3",
53419 "(1,51): adoption-agency-1.3",
53420 "(1,52): foster-parenting-character",
53421 "(1,52): eof-in-table"
53422 ],
53423 "document": {
53424 "props": {
53425 "tags": {
53426 "html": true,
53427 "head": true,
53428 "body": true,
53429 "table": true,
53430 "tbody": true,
53431 "tr": true,
53432 "td": true,
53433 "i": true,
53434 "div": true,
53435 "b": true
53436 },
53437 "doctype": true
53438 },
53439 "tree": [
53440 {
53441 "doctype": "html"
53442 },
53443 {
53444 "tag": "html",
53445 "children": [
53446 {
53447 "tag": "head"
53448 },
53449 {
53450 "tag": "body",
53451 "children": [
53452 {
53453 "tag": "table",
53454 "children": [
53455 {
53456 "tag": "tbody",
53457 "children": [
53458 {
53459 "tag": "tr",
53460 "children": [
53461 {
53462 "tag": "td",
53463 "children": [
53464 {
53465 "tag": "i",
53466 "children": [
53467 {
53468 "text": "a"
53469 }
53470 ]
53471 },
53472 {
53473 "tag": "div",
53474 "children": [
53475 {
53476 "tag": "i",
53477 "children": [
53478 {
53479 "text": "b"
53480 },
53481 {
53482 "tag": "b",
53483 "children": [
53484 {
53485 "text": "c"
53486 }
53487 ]
53488 }
53489 ]
53490 },
53491 {
53492 "tag": "b",
53493 "children": [
53494 {
53495 "text": "d"
53496 }
53497 ]
53498 }
53499 ]
53500 },
53501 {
53502 "tag": "table"
53503 }
53504 ]
53505 }
53506 ]
53507 }
53508 ]
53509 }
53510 ]
53511 }
53512 ]
53513 }
53514 ]
53515 }
53516 ],
53517 "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>",
53518 "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>"
53519 }
53520 },
53521 {
53522 "data": "<!doctype html><body><bgsound>",
53523 "errors": [],
53524 "document": {
53525 "props": {
53526 "tags": {
53527 "html": true,
53528 "head": true,
53529 "body": true,
53530 "bgsound": true
53531 },
53532 "doctype": true
53533 },
53534 "tree": [
53535 {
53536 "doctype": "html"
53537 },
53538 {
53539 "tag": "html",
53540 "children": [
53541 {
53542 "tag": "head"
53543 },
53544 {
53545 "tag": "body",
53546 "children": [
53547 {
53548 "tag": "bgsound"
53549 }
53550 ]
53551 }
53552 ]
53553 }
53554 ],
53555 "html": "<!DOCTYPE html><html><head></head><body><bgsound></body></html>",
53556 "noQuirksBodyHtml": "<bgsound>"
53557 }
53558 },
53559 {
53560 "data": "<!doctype html><body><basefont>",
53561 "errors": [],
53562 "document": {
53563 "props": {
53564 "tags": {
53565 "html": true,
53566 "head": true,
53567 "body": true,
53568 "basefont": true
53569 },
53570 "doctype": true
53571 },
53572 "tree": [
53573 {
53574 "doctype": "html"
53575 },
53576 {
53577 "tag": "html",
53578 "children": [
53579 {
53580 "tag": "head"
53581 },
53582 {
53583 "tag": "body",
53584 "children": [
53585 {
53586 "tag": "basefont"
53587 }
53588 ]
53589 }
53590 ]
53591 }
53592 ],
53593 "html": "<!DOCTYPE html><html><head></head><body><basefont></body></html>",
53594 "noQuirksBodyHtml": "<basefont>"
53595 }
53596 },
53597 {
53598 "data": "<!doctype html><a><b></a><basefont>",
53599 "errors": [
53600 "(1,25): adoption-agency-1.3"
53601 ],
53602 "document": {
53603 "props": {
53604 "tags": {
53605 "html": true,
53606 "head": true,
53607 "body": true,
53608 "a": true,
53609 "b": true,
53610 "basefont": true
53611 },
53612 "doctype": true
53613 },
53614 "tree": [
53615 {
53616 "doctype": "html"
53617 },
53618 {
53619 "tag": "html",
53620 "children": [
53621 {
53622 "tag": "head"
53623 },
53624 {
53625 "tag": "body",
53626 "children": [
53627 {
53628 "tag": "a",
53629 "children": [
53630 {
53631 "tag": "b"
53632 }
53633 ]
53634 },
53635 {
53636 "tag": "basefont"
53637 }
53638 ]
53639 }
53640 ]
53641 }
53642 ],
53643 "html": "<!DOCTYPE html><html><head></head><body><a><b></b></a><basefont></body></html>",
53644 "noQuirksBodyHtml": "<a><b></b></a><basefont>"
53645 }
53646 },
53647 {
53648 "data": "<!doctype html><a><b></a><bgsound>",
53649 "errors": [
53650 "(1,25): adoption-agency-1.3"
53651 ],
53652 "document": {
53653 "props": {
53654 "tags": {
53655 "html": true,
53656 "head": true,
53657 "body": true,
53658 "a": true,
53659 "b": true,
53660 "bgsound": true
53661 },
53662 "doctype": true
53663 },
53664 "tree": [
53665 {
53666 "doctype": "html"
53667 },
53668 {
53669 "tag": "html",
53670 "children": [
53671 {
53672 "tag": "head"
53673 },
53674 {
53675 "tag": "body",
53676 "children": [
53677 {
53678 "tag": "a",
53679 "children": [
53680 {
53681 "tag": "b"
53682 }
53683 ]
53684 },
53685 {
53686 "tag": "bgsound"
53687 }
53688 ]
53689 }
53690 ]
53691 }
53692 ],
53693 "html": "<!DOCTYPE html><html><head></head><body><a><b></b></a><bgsound></body></html>",
53694 "noQuirksBodyHtml": "<a><b></b></a><bgsound>"
53695 }
53696 },
53697 {
53698 "data": "<!doctype html><figcaption><article></figcaption>a",
53699 "errors": [
53700 "(1,49): end-tag-too-early"
53701 ],
53702 "document": {
53703 "props": {
53704 "tags": {
53705 "html": true,
53706 "head": true,
53707 "body": true,
53708 "figcaption": true,
53709 "article": true
53710 },
53711 "doctype": true
53712 },
53713 "tree": [
53714 {
53715 "doctype": "html"
53716 },
53717 {
53718 "tag": "html",
53719 "children": [
53720 {
53721 "tag": "head"
53722 },
53723 {
53724 "tag": "body",
53725 "children": [
53726 {
53727 "tag": "figcaption",
53728 "children": [
53729 {
53730 "tag": "article"
53731 }
53732 ]
53733 },
53734 {
53735 "text": "a"
53736 }
53737 ]
53738 }
53739 ]
53740 }
53741 ],
53742 "html": "<!DOCTYPE html><html><head></head><body><figcaption><article></article></figcaption>a</body></html>",
53743 "noQuirksBodyHtml": "<figcaption><article></article></figcaption>a"
53744 }
53745 },
53746 {
53747 "data": "<!doctype html><summary><article></summary>a",
53748 "errors": [
53749 "(1,43): end-tag-too-early"
53750 ],
53751 "document": {
53752 "props": {
53753 "tags": {
53754 "html": true,
53755 "head": true,
53756 "body": true,
53757 "summary": true,
53758 "article": true
53759 },
53760 "doctype": true
53761 },
53762 "tree": [
53763 {
53764 "doctype": "html"
53765 },
53766 {
53767 "tag": "html",
53768 "children": [
53769 {
53770 "tag": "head"
53771 },
53772 {
53773 "tag": "body",
53774 "children": [
53775 {
53776 "tag": "summary",
53777 "children": [
53778 {
53779 "tag": "article"
53780 }
53781 ]
53782 },
53783 {
53784 "text": "a"
53785 }
53786 ]
53787 }
53788 ]
53789 }
53790 ],
53791 "html": "<!DOCTYPE html><html><head></head><body><summary><article></article></summary>a</body></html>",
53792 "noQuirksBodyHtml": "<summary><article></article></summary>a"
53793 }
53794 },
53795 {
53796 "data": "<!doctype html><p><a><plaintext>b",
53797 "errors": [
53798 "(1,32): unexpected-end-tag",
53799 "(1,33): expected-closing-tag-but-got-eof"
53800 ],
53801 "document": {
53802 "props": {
53803 "tags": {
53804 "html": true,
53805 "head": true,
53806 "body": true,
53807 "p": true,
53808 "a": true,
53809 "plaintext": true
53810 },
53811 "doctype": true
53812 },
53813 "tree": [
53814 {
53815 "doctype": "html"
53816 },
53817 {
53818 "tag": "html",
53819 "children": [
53820 {
53821 "tag": "head"
53822 },
53823 {
53824 "tag": "body",
53825 "children": [
53826 {
53827 "tag": "p",
53828 "children": [
53829 {
53830 "tag": "a"
53831 }
53832 ]
53833 },
53834 {
53835 "tag": "plaintext",
53836 "children": [
53837 {
53838 "tag": "a",
53839 "children": [
53840 {
53841 "text": "b"
53842 }
53843 ]
53844 }
53845 ]
53846 }
53847 ]
53848 }
53849 ]
53850 }
53851 ],
53852 "html": "<!DOCTYPE html><html><head></head><body><p><a></a></p><plaintext><a>b</a></plaintext></body></html>",
53853 "noQuirksBodyHtml": "<p><a></a></p><plaintext><a>b</a></plaintext>"
53854 }
53855 },
53856 {
53857 "data": "<!DOCTYPE html><div>a<a></div>b<p>c</p>d",
53858 "errors": [
53859 "(1,30): end-tag-too-early",
53860 "(1,40): expected-closing-tag-but-got-eof"
53861 ],
53862 "document": {
53863 "props": {
53864 "tags": {
53865 "html": true,
53866 "head": true,
53867 "body": true,
53868 "div": true,
53869 "a": true,
53870 "p": true
53871 },
53872 "doctype": true
53873 },
53874 "tree": [
53875 {
53876 "doctype": "html"
53877 },
53878 {
53879 "tag": "html",
53880 "children": [
53881 {
53882 "tag": "head"
53883 },
53884 {
53885 "tag": "body",
53886 "children": [
53887 {
53888 "tag": "div",
53889 "children": [
53890 {
53891 "text": "a"
53892 },
53893 {
53894 "tag": "a"
53895 }
53896 ]
53897 },
53898 {
53899 "tag": "a",
53900 "children": [
53901 {
53902 "text": "b"
53903 },
53904 {
53905 "tag": "p",
53906 "children": [
53907 {
53908 "text": "c"
53909 }
53910 ]
53911 },
53912 {
53913 "text": "d"
53914 }
53915 ]
53916 }
53917 ]
53918 }
53919 ]
53920 }
53921 ],
53922 "html": "<!DOCTYPE html><html><head></head><body><div>a<a></a></div><a>b<p>c</p>d</a></body></html>",
53923 "noQuirksBodyHtml": "<div>a<a></a></div><a>b<p>c</p>d</a>"
53924 }
53925 }
53926 ],
53927 "tests2.dat": [
53928 {
53929 "data": "<!DOCTYPE html>Test",
53930 "errors": [],
53931 "document": {
53932 "props": {
53933 "tags": {
53934 "html": true,
53935 "head": true,
53936 "body": 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": "body",
53952 "children": [
53953 {
53954 "text": "Test"
53955 }
53956 ]
53957 }
53958 ]
53959 }
53960 ],
53961 "html": "<!DOCTYPE html><html><head></head><body>Test</body></html>",
53962 "noQuirksBodyHtml": "Test"
53963 }
53964 },
53965 {
53966 "data": "<textarea>test</div>test",
53967 "errors": [
53968 "(1,10): expected-doctype-but-got-start-tag",
53969 "(1,24): expected-closing-tag-but-got-eof"
53970 ],
53971 "document": {
53972 "props": {
53973 "tags": {
53974 "html": true,
53975 "head": true,
53976 "body": true,
53977 "textarea": true
53978 },
53979 "escaped": true
53980 },
53981 "tree": [
53982 {
53983 "tag": "html",
53984 "children": [
53985 {
53986 "tag": "head"
53987 },
53988 {
53989 "tag": "body",
53990 "children": [
53991 {
53992 "tag": "textarea",
53993 "children": [
53994 {
53995 "text": "test</div>test",
53996 "escaped": true
53997 }
53998 ]
53999 }
54000 ]
54001 }
54002 ]
54003 }
54004 ],
54005 "html": "<html><head></head><body><textarea>test&lt;/div&gt;test</textarea></body></html>",
54006 "noQuirksBodyHtml": "<textarea>test&lt;/div&gt;test</textarea>"
54007 }
54008 },
54009 {
54010 "data": "<table><td>",
54011 "errors": [
54012 "(1,7): expected-doctype-but-got-start-tag",
54013 "(1,11): unexpected-cell-in-table-body",
54014 "(1,11): expected-closing-tag-but-got-eof"
54015 ],
54016 "document": {
54017 "props": {
54018 "tags": {
54019 "html": true,
54020 "head": true,
54021 "body": true,
54022 "table": true,
54023 "tbody": true,
54024 "tr": true,
54025 "td": true
54026 }
54027 },
54028 "tree": [
54029 {
54030 "tag": "html",
54031 "children": [
54032 {
54033 "tag": "head"
54034 },
54035 {
54036 "tag": "body",
54037 "children": [
54038 {
54039 "tag": "table",
54040 "children": [
54041 {
54042 "tag": "tbody",
54043 "children": [
54044 {
54045 "tag": "tr",
54046 "children": [
54047 {
54048 "tag": "td"
54049 }
54050 ]
54051 }
54052 ]
54053 }
54054 ]
54055 }
54056 ]
54057 }
54058 ]
54059 }
54060 ],
54061 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
54062 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
54063 }
54064 },
54065 {
54066 "data": "<table><td>test</tbody></table>",
54067 "errors": [
54068 "(1,7): expected-doctype-but-got-start-tag",
54069 "(1,11): unexpected-cell-in-table-body"
54070 ],
54071 "document": {
54072 "props": {
54073 "tags": {
54074 "html": true,
54075 "head": true,
54076 "body": true,
54077 "table": true,
54078 "tbody": true,
54079 "tr": true,
54080 "td": true
54081 }
54082 },
54083 "tree": [
54084 {
54085 "tag": "html",
54086 "children": [
54087 {
54088 "tag": "head"
54089 },
54090 {
54091 "tag": "body",
54092 "children": [
54093 {
54094 "tag": "table",
54095 "children": [
54096 {
54097 "tag": "tbody",
54098 "children": [
54099 {
54100 "tag": "tr",
54101 "children": [
54102 {
54103 "tag": "td",
54104 "children": [
54105 {
54106 "text": "test"
54107 }
54108 ]
54109 }
54110 ]
54111 }
54112 ]
54113 }
54114 ]
54115 }
54116 ]
54117 }
54118 ]
54119 }
54120 ],
54121 "html": "<html><head></head><body><table><tbody><tr><td>test</td></tr></tbody></table></body></html>",
54122 "noQuirksBodyHtml": "<table><tbody><tr><td>test</td></tr></tbody></table>"
54123 }
54124 },
54125 {
54126 "data": "<frame>test",
54127 "errors": [
54128 "(1,7): expected-doctype-but-got-start-tag",
54129 "(1,7): unexpected-start-tag-ignored"
54130 ],
54131 "document": {
54132 "props": {
54133 "tags": {
54134 "html": true,
54135 "head": true,
54136 "body": true
54137 }
54138 },
54139 "tree": [
54140 {
54141 "tag": "html",
54142 "children": [
54143 {
54144 "tag": "head"
54145 },
54146 {
54147 "tag": "body",
54148 "children": [
54149 {
54150 "text": "test"
54151 }
54152 ]
54153 }
54154 ]
54155 }
54156 ],
54157 "html": "<html><head></head><body>test</body></html>",
54158 "noQuirksBodyHtml": "test"
54159 }
54160 },
54161 {
54162 "data": "<!DOCTYPE html><frameset>test",
54163 "errors": [
54164 "(1,29): unexpected-char-in-frameset",
54165 "(1,29): unexpected-char-in-frameset",
54166 "(1,29): unexpected-char-in-frameset",
54167 "(1,29): unexpected-char-in-frameset",
54168 "(1,29): eof-in-frameset"
54169 ],
54170 "document": {
54171 "props": {
54172 "tags": {
54173 "html": true,
54174 "head": true,
54175 "frameset": true
54176 },
54177 "doctype": true
54178 },
54179 "tree": [
54180 {
54181 "doctype": "html"
54182 },
54183 {
54184 "tag": "html",
54185 "children": [
54186 {
54187 "tag": "head"
54188 },
54189 {
54190 "tag": "frameset"
54191 }
54192 ]
54193 }
54194 ],
54195 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
54196 "noQuirksBodyHtml": "test"
54197 }
54198 },
54199 {
54200 "data": "<!DOCTYPE html><frameset> te st",
54201 "errors": [
54202 "(1,29): unexpected-char-in-frameset",
54203 "(1,29): unexpected-char-in-frameset",
54204 "(1,29): unexpected-char-in-frameset",
54205 "(1,29): unexpected-char-in-frameset",
54206 "(1,29): eof-in-frameset"
54207 ],
54208 "document": {
54209 "props": {
54210 "tags": {
54211 "html": true,
54212 "head": true,
54213 "frameset": true
54214 },
54215 "doctype": true
54216 },
54217 "tree": [
54218 {
54219 "doctype": "html"
54220 },
54221 {
54222 "tag": "html",
54223 "children": [
54224 {
54225 "tag": "head"
54226 },
54227 {
54228 "tag": "frameset",
54229 "children": [
54230 {
54231 "text": " "
54232 }
54233 ]
54234 }
54235 ]
54236 }
54237 ],
54238 "html": "<!DOCTYPE html><html><head></head><frameset> </frameset></html>",
54239 "noQuirksBodyHtml": " te st"
54240 }
54241 },
54242 {
54243 "data": "<!DOCTYPE html><frameset></frameset> te st",
54244 "errors": [
54245 "(1,29): unexpected-char-after-frameset",
54246 "(1,29): unexpected-char-after-frameset",
54247 "(1,29): unexpected-char-after-frameset",
54248 "(1,29): unexpected-char-after-frameset"
54249 ],
54250 "document": {
54251 "props": {
54252 "tags": {
54253 "html": true,
54254 "head": true,
54255 "frameset": true
54256 },
54257 "doctype": true
54258 },
54259 "tree": [
54260 {
54261 "doctype": "html"
54262 },
54263 {
54264 "tag": "html",
54265 "children": [
54266 {
54267 "tag": "head"
54268 },
54269 {
54270 "tag": "frameset"
54271 },
54272 {
54273 "text": " "
54274 }
54275 ]
54276 }
54277 ],
54278 "html": "<!DOCTYPE html><html><head></head><frameset></frameset> </html>",
54279 "noQuirksBodyHtml": " te st"
54280 }
54281 },
54282 {
54283 "data": "<!DOCTYPE html><frameset><!DOCTYPE html>",
54284 "errors": [
54285 "(1,40): unexpected-doctype",
54286 "(1,40): eof-in-frameset"
54287 ],
54288 "document": {
54289 "props": {
54290 "tags": {
54291 "html": true,
54292 "head": true,
54293 "frameset": true
54294 },
54295 "doctype": true
54296 },
54297 "tree": [
54298 {
54299 "doctype": "html"
54300 },
54301 {
54302 "tag": "html",
54303 "children": [
54304 {
54305 "tag": "head"
54306 },
54307 {
54308 "tag": "frameset"
54309 }
54310 ]
54311 }
54312 ],
54313 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
54314 "noQuirksBodyHtml": ""
54315 }
54316 },
54317 {
54318 "data": "<!DOCTYPE html><font><p><b>test</font>",
54319 "errors": [
54320 "(1,38): adoption-agency-1.3",
54321 "(1,38): adoption-agency-1.3"
54322 ],
54323 "document": {
54324 "props": {
54325 "tags": {
54326 "html": true,
54327 "head": true,
54328 "body": true,
54329 "font": true,
54330 "p": true,
54331 "b": true
54332 },
54333 "doctype": true
54334 },
54335 "tree": [
54336 {
54337 "doctype": "html"
54338 },
54339 {
54340 "tag": "html",
54341 "children": [
54342 {
54343 "tag": "head"
54344 },
54345 {
54346 "tag": "body",
54347 "children": [
54348 {
54349 "tag": "font"
54350 },
54351 {
54352 "tag": "p",
54353 "children": [
54354 {
54355 "tag": "font",
54356 "children": [
54357 {
54358 "tag": "b",
54359 "children": [
54360 {
54361 "text": "test"
54362 }
54363 ]
54364 }
54365 ]
54366 }
54367 ]
54368 }
54369 ]
54370 }
54371 ]
54372 }
54373 ],
54374 "html": "<!DOCTYPE html><html><head></head><body><font></font><p><font><b>test</b></font></p></body></html>",
54375 "noQuirksBodyHtml": "<font></font><p><font><b>test</b></font></p>"
54376 }
54377 },
54378 {
54379 "data": "<!DOCTYPE html><dt><div><dd>",
54380 "errors": [
54381 "(1,28): end-tag-too-early"
54382 ],
54383 "document": {
54384 "props": {
54385 "tags": {
54386 "html": true,
54387 "head": true,
54388 "body": true,
54389 "dt": true,
54390 "div": true,
54391 "dd": true
54392 },
54393 "doctype": true
54394 },
54395 "tree": [
54396 {
54397 "doctype": "html"
54398 },
54399 {
54400 "tag": "html",
54401 "children": [
54402 {
54403 "tag": "head"
54404 },
54405 {
54406 "tag": "body",
54407 "children": [
54408 {
54409 "tag": "dt",
54410 "children": [
54411 {
54412 "tag": "div"
54413 }
54414 ]
54415 },
54416 {
54417 "tag": "dd"
54418 }
54419 ]
54420 }
54421 ]
54422 }
54423 ],
54424 "html": "<!DOCTYPE html><html><head></head><body><dt><div></div></dt><dd></dd></body></html>",
54425 "noQuirksBodyHtml": "<dt><div></div></dt><dd></dd>"
54426 }
54427 },
54428 {
54429 "data": "<script></x",
54430 "errors": [
54431 "(1,8): expected-doctype-but-got-start-tag",
54432 "(1,11): expected-named-closing-tag-but-got-eof"
54433 ],
54434 "document": {
54435 "props": {
54436 "tags": {
54437 "html": true,
54438 "head": true,
54439 "script": true,
54440 "body": true
54441 },
54442 "no_escape": true
54443 },
54444 "tree": [
54445 {
54446 "tag": "html",
54447 "children": [
54448 {
54449 "tag": "head",
54450 "children": [
54451 {
54452 "tag": "script",
54453 "children": [
54454 {
54455 "text": "</x",
54456 "no_escape": true
54457 }
54458 ]
54459 }
54460 ]
54461 },
54462 {
54463 "tag": "body"
54464 }
54465 ]
54466 }
54467 ],
54468 "html": "<html><head><script></x</script></head><body></body></html>",
54469 "noQuirksBodyHtml": "<script></x</script>"
54470 }
54471 },
54472 {
54473 "data": "<table><plaintext><td>",
54474 "errors": [
54475 "(1,7): expected-doctype-but-got-start-tag",
54476 "(1,18): unexpected-start-tag-implies-table-voodoo",
54477 "(1,22): foster-parenting-character-in-table",
54478 "(1,22): foster-parenting-character-in-table",
54479 "(1,22): foster-parenting-character-in-table",
54480 "(1,22): foster-parenting-character-in-table",
54481 "(1,22): eof-in-table"
54482 ],
54483 "document": {
54484 "props": {
54485 "tags": {
54486 "html": true,
54487 "head": true,
54488 "body": true,
54489 "plaintext": true,
54490 "table": true
54491 },
54492 "no_escape": true
54493 },
54494 "tree": [
54495 {
54496 "tag": "html",
54497 "children": [
54498 {
54499 "tag": "head"
54500 },
54501 {
54502 "tag": "body",
54503 "children": [
54504 {
54505 "tag": "plaintext",
54506 "children": [
54507 {
54508 "text": "<td>",
54509 "no_escape": true
54510 }
54511 ]
54512 },
54513 {
54514 "tag": "table"
54515 }
54516 ]
54517 }
54518 ]
54519 }
54520 ],
54521 "html": "<html><head></head><body><plaintext><td></plaintext><table></table></body></html>",
54522 "noQuirksBodyHtml": "<plaintext><td></plaintext><table></table>"
54523 }
54524 },
54525 {
54526 "data": "<plaintext></plaintext>",
54527 "errors": [
54528 "(1,11): expected-doctype-but-got-start-tag",
54529 "(1,23): expected-closing-tag-but-got-eof"
54530 ],
54531 "document": {
54532 "props": {
54533 "tags": {
54534 "html": true,
54535 "head": true,
54536 "body": true,
54537 "plaintext": true
54538 },
54539 "no_escape": true
54540 },
54541 "tree": [
54542 {
54543 "tag": "html",
54544 "children": [
54545 {
54546 "tag": "head"
54547 },
54548 {
54549 "tag": "body",
54550 "children": [
54551 {
54552 "tag": "plaintext",
54553 "children": [
54554 {
54555 "text": "</plaintext>",
54556 "no_escape": true
54557 }
54558 ]
54559 }
54560 ]
54561 }
54562 ]
54563 }
54564 ],
54565 "html": "<html><head></head><body><plaintext></plaintext></plaintext></body></html>",
54566 "noQuirksBodyHtml": "<plaintext></plaintext></plaintext>"
54567 }
54568 },
54569 {
54570 "data": "<!DOCTYPE html><table><tr>TEST",
54571 "errors": [
54572 "(1,30): foster-parenting-character-in-table",
54573 "(1,30): foster-parenting-character-in-table",
54574 "(1,30): foster-parenting-character-in-table",
54575 "(1,30): foster-parenting-character-in-table",
54576 "(1,30): eof-in-table"
54577 ],
54578 "document": {
54579 "props": {
54580 "tags": {
54581 "html": true,
54582 "head": true,
54583 "body": true,
54584 "table": true,
54585 "tbody": true,
54586 "tr": true
54587 },
54588 "doctype": true
54589 },
54590 "tree": [
54591 {
54592 "doctype": "html"
54593 },
54594 {
54595 "tag": "html",
54596 "children": [
54597 {
54598 "tag": "head"
54599 },
54600 {
54601 "tag": "body",
54602 "children": [
54603 {
54604 "text": "TEST"
54605 },
54606 {
54607 "tag": "table",
54608 "children": [
54609 {
54610 "tag": "tbody",
54611 "children": [
54612 {
54613 "tag": "tr"
54614 }
54615 ]
54616 }
54617 ]
54618 }
54619 ]
54620 }
54621 ]
54622 }
54623 ],
54624 "html": "<!DOCTYPE html><html><head></head><body>TEST<table><tbody><tr></tr></tbody></table></body></html>",
54625 "noQuirksBodyHtml": "TEST<table><tbody><tr></tr></tbody></table>"
54626 }
54627 },
54628 {
54629 "data": "<!DOCTYPE html><body t1=1><body t2=2><body t3=3 t4=4>",
54630 "errors": [
54631 "(1,37): unexpected-start-tag",
54632 "(1,53): unexpected-start-tag"
54633 ],
54634 "document": {
54635 "props": {
54636 "tags": {
54637 "html": true,
54638 "head": true,
54639 "body": true
54640 },
54641 "doctype": true
54642 },
54643 "tree": [
54644 {
54645 "doctype": "html"
54646 },
54647 {
54648 "tag": "html",
54649 "children": [
54650 {
54651 "tag": "head"
54652 },
54653 {
54654 "tag": "body",
54655 "attrs": [
54656 {
54657 "name": "t1",
54658 "value": "1"
54659 },
54660 {
54661 "name": "t2",
54662 "value": "2"
54663 },
54664 {
54665 "name": "t3",
54666 "value": "3"
54667 },
54668 {
54669 "name": "t4",
54670 "value": "4"
54671 }
54672 ]
54673 }
54674 ]
54675 }
54676 ],
54677 "html": "<!DOCTYPE html><html><head></head><body t1=\"1\" t2=\"2\" t3=\"3\" t4=\"4\"></body></html>",
54678 "noQuirksBodyHtml": ""
54679 }
54680 },
54681 {
54682 "data": "</b test",
54683 "errors": [
54684 "(1,8): eof-in-attribute-name",
54685 "(1,8): expected-doctype-but-got-eof"
54686 ],
54687 "document": {
54688 "props": {
54689 "tags": {
54690 "html": true,
54691 "head": true,
54692 "body": true
54693 }
54694 },
54695 "tree": [
54696 {
54697 "tag": "html",
54698 "children": [
54699 {
54700 "tag": "head"
54701 },
54702 {
54703 "tag": "body"
54704 }
54705 ]
54706 }
54707 ],
54708 "html": "<html><head></head><body></body></html>",
54709 "noQuirksBodyHtml": ""
54710 }
54711 },
54712 {
54713 "data": "<!DOCTYPE html></b test<b &=&amp>X",
54714 "errors": [
54715 "(1,24): invalid-character-in-attribute-name",
54716 "(1,32): named-entity-without-semicolon",
54717 "(1,33): attributes-in-end-tag",
54718 "(1,33): unexpected-end-tag-before-html"
54719 ],
54720 "document": {
54721 "props": {
54722 "tags": {
54723 "html": true,
54724 "head": true,
54725 "body": true
54726 },
54727 "doctype": true
54728 },
54729 "tree": [
54730 {
54731 "doctype": "html"
54732 },
54733 {
54734 "tag": "html",
54735 "children": [
54736 {
54737 "tag": "head"
54738 },
54739 {
54740 "tag": "body",
54741 "children": [
54742 {
54743 "text": "X"
54744 }
54745 ]
54746 }
54747 ]
54748 }
54749 ],
54750 "html": "<!DOCTYPE html><html><head></head><body>X</body></html>",
54751 "noQuirksBodyHtml": "X"
54752 }
54753 },
54754 {
54755 "data": "<!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt",
54756 "errors": [
54757 "(1,9): need-space-after-doctype",
54758 "(1,54): expected-named-closing-tag-but-got-eof"
54759 ],
54760 "document": {
54761 "props": {
54762 "tags": {
54763 "html": true,
54764 "head": true,
54765 "script": true,
54766 "body": true
54767 },
54768 "doctype": true,
54769 "no_escape": true
54770 },
54771 "tree": [
54772 {
54773 "doctype": "html"
54774 },
54775 {
54776 "tag": "html",
54777 "children": [
54778 {
54779 "tag": "head",
54780 "children": [
54781 {
54782 "tag": "script",
54783 "attrs": [
54784 {
54785 "name": "type",
54786 "value": "text/x-foobar;baz"
54787 }
54788 ],
54789 "children": [
54790 {
54791 "text": "X</SCRipt",
54792 "no_escape": true
54793 }
54794 ]
54795 }
54796 ]
54797 },
54798 {
54799 "tag": "body"
54800 }
54801 ]
54802 }
54803 ],
54804 "html": "<!DOCTYPE html><html><head><script type=\"text/x-foobar;baz\">X</SCRipt</script></head><body></body></html>",
54805 "noQuirksBodyHtml": "<script type=\"text/x-foobar;baz\">X</SCRipt</script>"
54806 }
54807 },
54808 {
54809 "data": "&",
54810 "errors": [
54811 "(1,1): expected-doctype-but-got-chars"
54812 ],
54813 "document": {
54814 "props": {
54815 "tags": {
54816 "html": true,
54817 "head": true,
54818 "body": true
54819 },
54820 "escaped": true
54821 },
54822 "tree": [
54823 {
54824 "tag": "html",
54825 "children": [
54826 {
54827 "tag": "head"
54828 },
54829 {
54830 "tag": "body",
54831 "children": [
54832 {
54833 "text": "&",
54834 "escaped": true
54835 }
54836 ]
54837 }
54838 ]
54839 }
54840 ],
54841 "html": "<html><head></head><body>&amp;</body></html>",
54842 "noQuirksBodyHtml": "&amp;"
54843 }
54844 },
54845 {
54846 "data": "&#",
54847 "errors": [
54848 "(1,2): expected-numeric-entity",
54849 "(1,2): expected-doctype-but-got-chars"
54850 ],
54851 "document": {
54852 "props": {
54853 "tags": {
54854 "html": true,
54855 "head": true,
54856 "body": true
54857 },
54858 "escaped": true
54859 },
54860 "tree": [
54861 {
54862 "tag": "html",
54863 "children": [
54864 {
54865 "tag": "head"
54866 },
54867 {
54868 "tag": "body",
54869 "children": [
54870 {
54871 "text": "&#",
54872 "escaped": true
54873 }
54874 ]
54875 }
54876 ]
54877 }
54878 ],
54879 "html": "<html><head></head><body>&amp;#</body></html>",
54880 "noQuirksBodyHtml": "&amp;#"
54881 }
54882 },
54883 {
54884 "data": "&#X",
54885 "errors": [
54886 "(1,3): expected-numeric-entity",
54887 "(1,3): expected-doctype-but-got-chars"
54888 ],
54889 "document": {
54890 "props": {
54891 "tags": {
54892 "html": true,
54893 "head": true,
54894 "body": true
54895 },
54896 "escaped": true
54897 },
54898 "tree": [
54899 {
54900 "tag": "html",
54901 "children": [
54902 {
54903 "tag": "head"
54904 },
54905 {
54906 "tag": "body",
54907 "children": [
54908 {
54909 "text": "&#X",
54910 "escaped": true
54911 }
54912 ]
54913 }
54914 ]
54915 }
54916 ],
54917 "html": "<html><head></head><body>&amp;#X</body></html>",
54918 "noQuirksBodyHtml": "&amp;#X"
54919 }
54920 },
54921 {
54922 "data": "&#x",
54923 "errors": [
54924 "(1,3): expected-numeric-entity",
54925 "(1,3): expected-doctype-but-got-chars"
54926 ],
54927 "document": {
54928 "props": {
54929 "tags": {
54930 "html": true,
54931 "head": true,
54932 "body": true
54933 },
54934 "escaped": true
54935 },
54936 "tree": [
54937 {
54938 "tag": "html",
54939 "children": [
54940 {
54941 "tag": "head"
54942 },
54943 {
54944 "tag": "body",
54945 "children": [
54946 {
54947 "text": "&#x",
54948 "escaped": true
54949 }
54950 ]
54951 }
54952 ]
54953 }
54954 ],
54955 "html": "<html><head></head><body>&amp;#x</body></html>",
54956 "noQuirksBodyHtml": "&amp;#x"
54957 }
54958 },
54959 {
54960 "data": "&#45",
54961 "errors": [
54962 "(1,4): numeric-entity-without-semicolon",
54963 "(1,4): expected-doctype-but-got-chars"
54964 ],
54965 "document": {
54966 "props": {
54967 "tags": {
54968 "html": true,
54969 "head": true,
54970 "body": true
54971 }
54972 },
54973 "tree": [
54974 {
54975 "tag": "html",
54976 "children": [
54977 {
54978 "tag": "head"
54979 },
54980 {
54981 "tag": "body",
54982 "children": [
54983 {
54984 "text": "-"
54985 }
54986 ]
54987 }
54988 ]
54989 }
54990 ],
54991 "html": "<html><head></head><body>-</body></html>",
54992 "noQuirksBodyHtml": "-"
54993 }
54994 },
54995 {
54996 "data": "&x-test",
54997 "errors": [
54998 "(1,2): expected-doctype-but-got-chars"
54999 ],
55000 "document": {
55001 "props": {
55002 "tags": {
55003 "html": true,
55004 "head": true,
55005 "body": true
55006 },
55007 "escaped": true
55008 },
55009 "tree": [
55010 {
55011 "tag": "html",
55012 "children": [
55013 {
55014 "tag": "head"
55015 },
55016 {
55017 "tag": "body",
55018 "children": [
55019 {
55020 "text": "&x-test",
55021 "escaped": true
55022 }
55023 ]
55024 }
55025 ]
55026 }
55027 ],
55028 "html": "<html><head></head><body>&amp;x-test</body></html>",
55029 "noQuirksBodyHtml": "&amp;x-test"
55030 }
55031 },
55032 {
55033 "data": "<!doctypehtml><p><li>",
55034 "errors": [
55035 "(1,9): need-space-after-doctype"
55036 ],
55037 "document": {
55038 "props": {
55039 "tags": {
55040 "html": true,
55041 "head": true,
55042 "body": true,
55043 "p": true,
55044 "li": true
55045 },
55046 "doctype": true
55047 },
55048 "tree": [
55049 {
55050 "doctype": "html"
55051 },
55052 {
55053 "tag": "html",
55054 "children": [
55055 {
55056 "tag": "head"
55057 },
55058 {
55059 "tag": "body",
55060 "children": [
55061 {
55062 "tag": "p"
55063 },
55064 {
55065 "tag": "li"
55066 }
55067 ]
55068 }
55069 ]
55070 }
55071 ],
55072 "html": "<!DOCTYPE html><html><head></head><body><p></p><li></li></body></html>",
55073 "noQuirksBodyHtml": "<p></p><li></li>"
55074 }
55075 },
55076 {
55077 "data": "<!doctypehtml><p><dt>",
55078 "errors": [
55079 "(1,9): need-space-after-doctype"
55080 ],
55081 "document": {
55082 "props": {
55083 "tags": {
55084 "html": true,
55085 "head": true,
55086 "body": true,
55087 "p": true,
55088 "dt": true
55089 },
55090 "doctype": true
55091 },
55092 "tree": [
55093 {
55094 "doctype": "html"
55095 },
55096 {
55097 "tag": "html",
55098 "children": [
55099 {
55100 "tag": "head"
55101 },
55102 {
55103 "tag": "body",
55104 "children": [
55105 {
55106 "tag": "p"
55107 },
55108 {
55109 "tag": "dt"
55110 }
55111 ]
55112 }
55113 ]
55114 }
55115 ],
55116 "html": "<!DOCTYPE html><html><head></head><body><p></p><dt></dt></body></html>",
55117 "noQuirksBodyHtml": "<p></p><dt></dt>"
55118 }
55119 },
55120 {
55121 "data": "<!doctypehtml><p><dd>",
55122 "errors": [
55123 "(1,9): need-space-after-doctype"
55124 ],
55125 "document": {
55126 "props": {
55127 "tags": {
55128 "html": true,
55129 "head": true,
55130 "body": true,
55131 "p": true,
55132 "dd": true
55133 },
55134 "doctype": true
55135 },
55136 "tree": [
55137 {
55138 "doctype": "html"
55139 },
55140 {
55141 "tag": "html",
55142 "children": [
55143 {
55144 "tag": "head"
55145 },
55146 {
55147 "tag": "body",
55148 "children": [
55149 {
55150 "tag": "p"
55151 },
55152 {
55153 "tag": "dd"
55154 }
55155 ]
55156 }
55157 ]
55158 }
55159 ],
55160 "html": "<!DOCTYPE html><html><head></head><body><p></p><dd></dd></body></html>",
55161 "noQuirksBodyHtml": "<p></p><dd></dd>"
55162 }
55163 },
55164 {
55165 "data": "<!doctypehtml><p><form>",
55166 "errors": [
55167 "(1,9): need-space-after-doctype",
55168 "(1,23): expected-closing-tag-but-got-eof"
55169 ],
55170 "document": {
55171 "props": {
55172 "tags": {
55173 "html": true,
55174 "head": true,
55175 "body": true,
55176 "p": true,
55177 "form": true
55178 },
55179 "doctype": true
55180 },
55181 "tree": [
55182 {
55183 "doctype": "html"
55184 },
55185 {
55186 "tag": "html",
55187 "children": [
55188 {
55189 "tag": "head"
55190 },
55191 {
55192 "tag": "body",
55193 "children": [
55194 {
55195 "tag": "p"
55196 },
55197 {
55198 "tag": "form"
55199 }
55200 ]
55201 }
55202 ]
55203 }
55204 ],
55205 "html": "<!DOCTYPE html><html><head></head><body><p></p><form></form></body></html>",
55206 "noQuirksBodyHtml": "<p></p><form></form>"
55207 }
55208 },
55209 {
55210 "data": "<!DOCTYPE html><p></P>X",
55211 "errors": [],
55212 "document": {
55213 "props": {
55214 "tags": {
55215 "html": true,
55216 "head": true,
55217 "body": true,
55218 "p": true
55219 },
55220 "doctype": true
55221 },
55222 "tree": [
55223 {
55224 "doctype": "html"
55225 },
55226 {
55227 "tag": "html",
55228 "children": [
55229 {
55230 "tag": "head"
55231 },
55232 {
55233 "tag": "body",
55234 "children": [
55235 {
55236 "tag": "p"
55237 },
55238 {
55239 "text": "X"
55240 }
55241 ]
55242 }
55243 ]
55244 }
55245 ],
55246 "html": "<!DOCTYPE html><html><head></head><body><p></p>X</body></html>",
55247 "noQuirksBodyHtml": "<p></p>X"
55248 }
55249 },
55250 {
55251 "data": "&AMP",
55252 "errors": [
55253 "(1,4): named-entity-without-semicolon",
55254 "(1,4): expected-doctype-but-got-chars"
55255 ],
55256 "document": {
55257 "props": {
55258 "tags": {
55259 "html": true,
55260 "head": true,
55261 "body": true
55262 },
55263 "escaped": true
55264 },
55265 "tree": [
55266 {
55267 "tag": "html",
55268 "children": [
55269 {
55270 "tag": "head"
55271 },
55272 {
55273 "tag": "body",
55274 "children": [
55275 {
55276 "text": "&",
55277 "escaped": true
55278 }
55279 ]
55280 }
55281 ]
55282 }
55283 ],
55284 "html": "<html><head></head><body>&amp;</body></html>",
55285 "noQuirksBodyHtml": "&amp;"
55286 }
55287 },
55288 {
55289 "data": "&AMp;",
55290 "errors": [
55291 "(1,3): expected-named-entity",
55292 "(1,3): expected-doctype-but-got-chars"
55293 ],
55294 "document": {
55295 "props": {
55296 "tags": {
55297 "html": true,
55298 "head": true,
55299 "body": true
55300 },
55301 "escaped": true
55302 },
55303 "tree": [
55304 {
55305 "tag": "html",
55306 "children": [
55307 {
55308 "tag": "head"
55309 },
55310 {
55311 "tag": "body",
55312 "children": [
55313 {
55314 "text": "&AMp;",
55315 "escaped": true
55316 }
55317 ]
55318 }
55319 ]
55320 }
55321 ],
55322 "html": "<html><head></head><body>&amp;AMp;</body></html>",
55323 "noQuirksBodyHtml": "&amp;AMp;"
55324 }
55325 },
55326 {
55327 "data": "<!DOCTYPE html><html><head></head><body><thisISasillyTESTelementNameToMakeSureCrazyTagNamesArePARSEDcorrectLY>",
55328 "errors": [
55329 "(1,110): expected-closing-tag-but-got-eof"
55330 ],
55331 "document": {
55332 "props": {
55333 "tags": {
55334 "html": true,
55335 "head": true,
55336 "body": true,
55337 "thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly": true
55338 },
55339 "doctype": true
55340 },
55341 "tree": [
55342 {
55343 "doctype": "html"
55344 },
55345 {
55346 "tag": "html",
55347 "children": [
55348 {
55349 "tag": "head"
55350 },
55351 {
55352 "tag": "body",
55353 "children": [
55354 {
55355 "tag": "thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly"
55356 }
55357 ]
55358 }
55359 ]
55360 }
55361 ],
55362 "html": "<!DOCTYPE html><html><head></head><body><thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></body></html>",
55363 "noQuirksBodyHtml": "<thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly></thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>"
55364 }
55365 },
55366 {
55367 "data": "<!DOCTYPE html>X</body>X",
55368 "errors": [
55369 "(1,24): unexpected-char-after-body"
55370 ],
55371 "document": {
55372 "props": {
55373 "tags": {
55374 "html": true,
55375 "head": true,
55376 "body": true
55377 },
55378 "doctype": true
55379 },
55380 "tree": [
55381 {
55382 "doctype": "html"
55383 },
55384 {
55385 "tag": "html",
55386 "children": [
55387 {
55388 "tag": "head"
55389 },
55390 {
55391 "tag": "body",
55392 "children": [
55393 {
55394 "text": "XX"
55395 }
55396 ]
55397 }
55398 ]
55399 }
55400 ],
55401 "html": "<!DOCTYPE html><html><head></head><body>XX</body></html>",
55402 "noQuirksBodyHtml": "XX"
55403 }
55404 },
55405 {
55406 "data": "<!DOCTYPE html><!-- X",
55407 "errors": [
55408 "(1,21): eof-in-comment"
55409 ],
55410 "document": {
55411 "props": {
55412 "tags": {
55413 "html": true,
55414 "head": true,
55415 "body": true
55416 },
55417 "doctype": true,
55418 "comment": true
55419 },
55420 "tree": [
55421 {
55422 "doctype": "html"
55423 },
55424 {
55425 "comment": " X"
55426 },
55427 {
55428 "tag": "html",
55429 "children": [
55430 {
55431 "tag": "head"
55432 },
55433 {
55434 "tag": "body"
55435 }
55436 ]
55437 }
55438 ],
55439 "html": "<!DOCTYPE html><!-- X--><html><head></head><body></body></html>",
55440 "noQuirksBodyHtml": "<!-- X-->"
55441 }
55442 },
55443 {
55444 "data": "<!DOCTYPE html><table><caption>test TEST</caption><td>test",
55445 "errors": [
55446 "(1,54): unexpected-cell-in-table-body",
55447 "(1,58): expected-closing-tag-but-got-eof"
55448 ],
55449 "document": {
55450 "props": {
55451 "tags": {
55452 "html": true,
55453 "head": true,
55454 "body": true,
55455 "table": true,
55456 "caption": true,
55457 "tbody": true,
55458 "tr": true,
55459 "td": true
55460 },
55461 "doctype": true
55462 },
55463 "tree": [
55464 {
55465 "doctype": "html"
55466 },
55467 {
55468 "tag": "html",
55469 "children": [
55470 {
55471 "tag": "head"
55472 },
55473 {
55474 "tag": "body",
55475 "children": [
55476 {
55477 "tag": "table",
55478 "children": [
55479 {
55480 "tag": "caption",
55481 "children": [
55482 {
55483 "text": "test TEST"
55484 }
55485 ]
55486 },
55487 {
55488 "tag": "tbody",
55489 "children": [
55490 {
55491 "tag": "tr",
55492 "children": [
55493 {
55494 "tag": "td",
55495 "children": [
55496 {
55497 "text": "test"
55498 }
55499 ]
55500 }
55501 ]
55502 }
55503 ]
55504 }
55505 ]
55506 }
55507 ]
55508 }
55509 ]
55510 }
55511 ],
55512 "html": "<!DOCTYPE html><html><head></head><body><table><caption>test TEST</caption><tbody><tr><td>test</td></tr></tbody></table></body></html>",
55513 "noQuirksBodyHtml": "<table><caption>test TEST</caption><tbody><tr><td>test</td></tr></tbody></table>"
55514 }
55515 },
55516 {
55517 "data": "<!DOCTYPE html><select><option><optgroup>",
55518 "errors": [
55519 "(1,41): eof-in-select"
55520 ],
55521 "document": {
55522 "props": {
55523 "tags": {
55524 "html": true,
55525 "head": true,
55526 "body": true,
55527 "select": true,
55528 "option": true,
55529 "optgroup": true
55530 },
55531 "doctype": true
55532 },
55533 "tree": [
55534 {
55535 "doctype": "html"
55536 },
55537 {
55538 "tag": "html",
55539 "children": [
55540 {
55541 "tag": "head"
55542 },
55543 {
55544 "tag": "body",
55545 "children": [
55546 {
55547 "tag": "select",
55548 "children": [
55549 {
55550 "tag": "option"
55551 },
55552 {
55553 "tag": "optgroup"
55554 }
55555 ]
55556 }
55557 ]
55558 }
55559 ]
55560 }
55561 ],
55562 "html": "<!DOCTYPE html><html><head></head><body><select><option></option><optgroup></optgroup></select></body></html>",
55563 "noQuirksBodyHtml": "<select><option></option><optgroup></optgroup></select>"
55564 }
55565 },
55566 {
55567 "data": "<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>",
55568 "errors": [
55569 "(1,68): unexpected-select-in-select",
55570 "(1,76): expected-closing-tag-but-got-eof"
55571 ],
55572 "document": {
55573 "props": {
55574 "tags": {
55575 "html": true,
55576 "head": true,
55577 "body": true,
55578 "select": true,
55579 "optgroup": true,
55580 "option": true
55581 },
55582 "doctype": true
55583 },
55584 "tree": [
55585 {
55586 "doctype": "html"
55587 },
55588 {
55589 "tag": "html",
55590 "children": [
55591 {
55592 "tag": "head"
55593 },
55594 {
55595 "tag": "body",
55596 "children": [
55597 {
55598 "tag": "select",
55599 "children": [
55600 {
55601 "tag": "optgroup",
55602 "children": [
55603 {
55604 "tag": "option"
55605 }
55606 ]
55607 },
55608 {
55609 "tag": "option"
55610 }
55611 ]
55612 },
55613 {
55614 "tag": "option"
55615 }
55616 ]
55617 }
55618 ]
55619 }
55620 ],
55621 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup><option></option></optgroup><option></option></select><option></option></body></html>",
55622 "noQuirksBodyHtml": "<select><optgroup><option></option></optgroup><option></option></select><option></option>"
55623 }
55624 },
55625 {
55626 "data": "<!DOCTYPE html><select><optgroup><option><optgroup>",
55627 "errors": [
55628 "(1,51): eof-in-select"
55629 ],
55630 "document": {
55631 "props": {
55632 "tags": {
55633 "html": true,
55634 "head": true,
55635 "body": true,
55636 "select": true,
55637 "optgroup": true,
55638 "option": true
55639 },
55640 "doctype": true
55641 },
55642 "tree": [
55643 {
55644 "doctype": "html"
55645 },
55646 {
55647 "tag": "html",
55648 "children": [
55649 {
55650 "tag": "head"
55651 },
55652 {
55653 "tag": "body",
55654 "children": [
55655 {
55656 "tag": "select",
55657 "children": [
55658 {
55659 "tag": "optgroup",
55660 "children": [
55661 {
55662 "tag": "option"
55663 }
55664 ]
55665 },
55666 {
55667 "tag": "optgroup"
55668 }
55669 ]
55670 }
55671 ]
55672 }
55673 ]
55674 }
55675 ],
55676 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup><option></option></optgroup><optgroup></optgroup></select></body></html>",
55677 "noQuirksBodyHtml": "<select><optgroup><option></option></optgroup><optgroup></optgroup></select>"
55678 }
55679 },
55680 {
55681 "data": "<!DOCTYPE html><datalist><option>foo</datalist>bar",
55682 "errors": [],
55683 "document": {
55684 "props": {
55685 "tags": {
55686 "html": true,
55687 "head": true,
55688 "body": true,
55689 "datalist": true,
55690 "option": true
55691 },
55692 "doctype": true
55693 },
55694 "tree": [
55695 {
55696 "doctype": "html"
55697 },
55698 {
55699 "tag": "html",
55700 "children": [
55701 {
55702 "tag": "head"
55703 },
55704 {
55705 "tag": "body",
55706 "children": [
55707 {
55708 "tag": "datalist",
55709 "children": [
55710 {
55711 "tag": "option",
55712 "children": [
55713 {
55714 "text": "foo"
55715 }
55716 ]
55717 }
55718 ]
55719 },
55720 {
55721 "text": "bar"
55722 }
55723 ]
55724 }
55725 ]
55726 }
55727 ],
55728 "html": "<!DOCTYPE html><html><head></head><body><datalist><option>foo</option></datalist>bar</body></html>",
55729 "noQuirksBodyHtml": "<datalist><option>foo</option></datalist>bar"
55730 }
55731 },
55732 {
55733 "data": "<!DOCTYPE html><font><input><input></font>",
55734 "errors": [],
55735 "document": {
55736 "props": {
55737 "tags": {
55738 "html": true,
55739 "head": true,
55740 "body": true,
55741 "font": true,
55742 "input": true
55743 },
55744 "doctype": true
55745 },
55746 "tree": [
55747 {
55748 "doctype": "html"
55749 },
55750 {
55751 "tag": "html",
55752 "children": [
55753 {
55754 "tag": "head"
55755 },
55756 {
55757 "tag": "body",
55758 "children": [
55759 {
55760 "tag": "font",
55761 "children": [
55762 {
55763 "tag": "input"
55764 },
55765 {
55766 "tag": "input"
55767 }
55768 ]
55769 }
55770 ]
55771 }
55772 ]
55773 }
55774 ],
55775 "html": "<!DOCTYPE html><html><head></head><body><font><input><input></font></body></html>",
55776 "noQuirksBodyHtml": "<font><input><input></font>"
55777 }
55778 },
55779 {
55780 "data": "<!DOCTYPE html><!-- XXX - XXX -->",
55781 "errors": [],
55782 "document": {
55783 "props": {
55784 "tags": {
55785 "html": true,
55786 "head": true,
55787 "body": true
55788 },
55789 "doctype": true,
55790 "comment": true
55791 },
55792 "tree": [
55793 {
55794 "doctype": "html"
55795 },
55796 {
55797 "comment": " XXX - XXX "
55798 },
55799 {
55800 "tag": "html",
55801 "children": [
55802 {
55803 "tag": "head"
55804 },
55805 {
55806 "tag": "body"
55807 }
55808 ]
55809 }
55810 ],
55811 "html": "<!DOCTYPE html><!-- XXX - XXX --><html><head></head><body></body></html>",
55812 "noQuirksBodyHtml": "<!-- XXX - XXX -->"
55813 }
55814 },
55815 {
55816 "data": "<!DOCTYPE html><!-- XXX - XXX",
55817 "errors": [
55818 "(1,29): eof-in-comment"
55819 ],
55820 "document": {
55821 "props": {
55822 "tags": {
55823 "html": true,
55824 "head": true,
55825 "body": true
55826 },
55827 "doctype": true,
55828 "comment": true
55829 },
55830 "tree": [
55831 {
55832 "doctype": "html"
55833 },
55834 {
55835 "comment": " XXX - XXX"
55836 },
55837 {
55838 "tag": "html",
55839 "children": [
55840 {
55841 "tag": "head"
55842 },
55843 {
55844 "tag": "body"
55845 }
55846 ]
55847 }
55848 ],
55849 "html": "<!DOCTYPE html><!-- XXX - XXX--><html><head></head><body></body></html>",
55850 "noQuirksBodyHtml": "<!-- XXX - XXX-->"
55851 }
55852 },
55853 {
55854 "data": "<!DOCTYPE html><!-- XXX - XXX - XXX -->",
55855 "errors": [],
55856 "document": {
55857 "props": {
55858 "tags": {
55859 "html": true,
55860 "head": true,
55861 "body": true
55862 },
55863 "doctype": true,
55864 "comment": true
55865 },
55866 "tree": [
55867 {
55868 "doctype": "html"
55869 },
55870 {
55871 "comment": " XXX - XXX - XXX "
55872 },
55873 {
55874 "tag": "html",
55875 "children": [
55876 {
55877 "tag": "head"
55878 },
55879 {
55880 "tag": "body"
55881 }
55882 ]
55883 }
55884 ],
55885 "html": "<!DOCTYPE html><!-- XXX - XXX - XXX --><html><head></head><body></body></html>",
55886 "noQuirksBodyHtml": "<!-- XXX - XXX - XXX -->"
55887 }
55888 },
55889 {
55890 "data": "<isindex test=x name=x>",
55891 "errors": [
55892 "(1,23): expected-doctype-but-got-start-tag",
55893 "(1,23): deprecated-tag"
55894 ],
55895 "document": {
55896 "props": {
55897 "tags": {
55898 "html": true,
55899 "head": true,
55900 "body": true,
55901 "form": true,
55902 "hr": true,
55903 "label": true,
55904 "input": true
55905 }
55906 },
55907 "tree": [
55908 {
55909 "tag": "html",
55910 "children": [
55911 {
55912 "tag": "head"
55913 },
55914 {
55915 "tag": "body",
55916 "children": [
55917 {
55918 "tag": "form",
55919 "children": [
55920 {
55921 "tag": "hr"
55922 },
55923 {
55924 "tag": "label",
55925 "children": [
55926 {
55927 "text": "This is a searchable index. Enter search keywords: "
55928 },
55929 {
55930 "tag": "input",
55931 "attrs": [
55932 {
55933 "name": "name",
55934 "value": "isindex"
55935 },
55936 {
55937 "name": "test",
55938 "value": "x"
55939 }
55940 ]
55941 }
55942 ]
55943 },
55944 {
55945 "tag": "hr"
55946 }
55947 ]
55948 }
55949 ]
55950 }
55951 ]
55952 }
55953 ],
55954 "html": "<html><head></head><body><form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\" test=\"x\"></label><hr></form></body></html>",
55955 "noQuirksBodyHtml": "<form><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\" test=\"x\"></label><hr></form>"
55956 }
55957 },
55958 {
55959 "data": "test\ntest",
55960 "errors": [
55961 "(2,4): expected-doctype-but-got-chars"
55962 ],
55963 "document": {
55964 "props": {
55965 "tags": {
55966 "html": true,
55967 "head": true,
55968 "body": true
55969 }
55970 },
55971 "tree": [
55972 {
55973 "tag": "html",
55974 "children": [
55975 {
55976 "tag": "head"
55977 },
55978 {
55979 "tag": "body",
55980 "children": [
55981 {
55982 "text": "test\ntest"
55983 }
55984 ]
55985 }
55986 ]
55987 }
55988 ],
55989 "html": "<html><head></head><body>test\ntest</body></html>",
55990 "noQuirksBodyHtml": "test\ntest"
55991 }
55992 },
55993 {
55994 "data": "<!DOCTYPE html><body><title>test</body></title>",
55995 "errors": [],
55996 "document": {
55997 "props": {
55998 "tags": {
55999 "html": true,
56000 "head": true,
56001 "body": true,
56002 "title": true
56003 },
56004 "doctype": true,
56005 "escaped": true
56006 },
56007 "tree": [
56008 {
56009 "doctype": "html"
56010 },
56011 {
56012 "tag": "html",
56013 "children": [
56014 {
56015 "tag": "head"
56016 },
56017 {
56018 "tag": "body",
56019 "children": [
56020 {
56021 "tag": "title",
56022 "children": [
56023 {
56024 "text": "test</body>",
56025 "escaped": true
56026 }
56027 ]
56028 }
56029 ]
56030 }
56031 ]
56032 }
56033 ],
56034 "html": "<!DOCTYPE html><html><head></head><body><title>test&lt;/body&gt;</title></body></html>",
56035 "noQuirksBodyHtml": "<title>test&lt;/body&gt;</title>"
56036 }
56037 },
56038 {
56039 "data": "<!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>\nx { content:\"</style\" } </style>",
56040 "errors": [],
56041 "document": {
56042 "props": {
56043 "tags": {
56044 "html": true,
56045 "head": true,
56046 "body": true,
56047 "title": true,
56048 "meta": true,
56049 "link": true,
56050 "style": true
56051 },
56052 "doctype": true,
56053 "no_escape": true
56054 },
56055 "tree": [
56056 {
56057 "doctype": "html"
56058 },
56059 {
56060 "tag": "html",
56061 "children": [
56062 {
56063 "tag": "head"
56064 },
56065 {
56066 "tag": "body",
56067 "children": [
56068 {
56069 "tag": "title",
56070 "children": [
56071 {
56072 "text": "X"
56073 }
56074 ]
56075 },
56076 {
56077 "tag": "meta",
56078 "attrs": [
56079 {
56080 "name": "name",
56081 "value": "z"
56082 }
56083 ]
56084 },
56085 {
56086 "tag": "link",
56087 "attrs": [
56088 {
56089 "name": "rel",
56090 "value": "foo"
56091 }
56092 ]
56093 },
56094 {
56095 "tag": "style",
56096 "children": [
56097 {
56098 "text": "\nx { content:\"</style\" } ",
56099 "no_escape": true
56100 }
56101 ]
56102 }
56103 ]
56104 }
56105 ]
56106 }
56107 ],
56108 "html": "<!DOCTYPE html><html><head></head><body><title>X</title><meta name=\"z\"><link rel=\"foo\"><style>\nx { content:\"</style\" } </style></body></html>",
56109 "noQuirksBodyHtml": "<title>X</title><meta name=\"z\"><link rel=\"foo\"><style>\nx { content:\"</style\" } </style>"
56110 }
56111 },
56112 {
56113 "data": "<!DOCTYPE html><select><optgroup></optgroup></select>",
56114 "errors": [],
56115 "document": {
56116 "props": {
56117 "tags": {
56118 "html": true,
56119 "head": true,
56120 "body": true,
56121 "select": true,
56122 "optgroup": true
56123 },
56124 "doctype": true
56125 },
56126 "tree": [
56127 {
56128 "doctype": "html"
56129 },
56130 {
56131 "tag": "html",
56132 "children": [
56133 {
56134 "tag": "head"
56135 },
56136 {
56137 "tag": "body",
56138 "children": [
56139 {
56140 "tag": "select",
56141 "children": [
56142 {
56143 "tag": "optgroup"
56144 }
56145 ]
56146 }
56147 ]
56148 }
56149 ]
56150 }
56151 ],
56152 "html": "<!DOCTYPE html><html><head></head><body><select><optgroup></optgroup></select></body></html>",
56153 "noQuirksBodyHtml": "<select><optgroup></optgroup></select>"
56154 }
56155 },
56156 {
56157 "data": " \n ",
56158 "errors": [
56159 "(2,1): expected-doctype-but-got-eof"
56160 ],
56161 "document": {
56162 "props": {
56163 "tags": {
56164 "html": true,
56165 "head": true,
56166 "body": true
56167 }
56168 },
56169 "tree": [
56170 {
56171 "tag": "html",
56172 "children": [
56173 {
56174 "tag": "head"
56175 },
56176 {
56177 "tag": "body"
56178 }
56179 ]
56180 }
56181 ],
56182 "html": "<html><head></head><body></body></html>",
56183 "noQuirksBodyHtml": " \n "
56184 }
56185 },
56186 {
56187 "data": "<!DOCTYPE html> <html>",
56188 "errors": [],
56189 "document": {
56190 "props": {
56191 "tags": {
56192 "html": true,
56193 "head": true,
56194 "body": true
56195 },
56196 "doctype": true
56197 },
56198 "tree": [
56199 {
56200 "doctype": "html"
56201 },
56202 {
56203 "tag": "html",
56204 "children": [
56205 {
56206 "tag": "head"
56207 },
56208 {
56209 "tag": "body"
56210 }
56211 ]
56212 }
56213 ],
56214 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
56215 "noQuirksBodyHtml": " "
56216 }
56217 },
56218 {
56219 "data": "<!DOCTYPE html><script>\n</script> <title>x</title> </head>",
56220 "errors": [],
56221 "document": {
56222 "props": {
56223 "tags": {
56224 "html": true,
56225 "head": true,
56226 "script": true,
56227 "title": true,
56228 "body": true
56229 },
56230 "doctype": true,
56231 "no_escape": true
56232 },
56233 "tree": [
56234 {
56235 "doctype": "html"
56236 },
56237 {
56238 "tag": "html",
56239 "children": [
56240 {
56241 "tag": "head",
56242 "children": [
56243 {
56244 "tag": "script",
56245 "children": [
56246 {
56247 "text": "\n",
56248 "no_escape": true
56249 }
56250 ]
56251 },
56252 {
56253 "text": " "
56254 },
56255 {
56256 "tag": "title",
56257 "children": [
56258 {
56259 "text": "x"
56260 }
56261 ]
56262 },
56263 {
56264 "text": " "
56265 }
56266 ]
56267 },
56268 {
56269 "tag": "body"
56270 }
56271 ]
56272 }
56273 ],
56274 "html": "<!DOCTYPE html><html><head><script>\n</script> <title>x</title> </head><body></body></html>",
56275 "noQuirksBodyHtml": "<script>\n</script> <title>x</title> "
56276 }
56277 },
56278 {
56279 "data": "<!DOCTYPE html><html><body><html id=x>",
56280 "errors": [
56281 "(1,38): non-html-root"
56282 ],
56283 "document": {
56284 "props": {
56285 "tags": {
56286 "html": true,
56287 "head": true,
56288 "body": true
56289 },
56290 "doctype": true
56291 },
56292 "tree": [
56293 {
56294 "doctype": "html"
56295 },
56296 {
56297 "tag": "html",
56298 "attrs": [
56299 {
56300 "name": "id",
56301 "value": "x"
56302 }
56303 ],
56304 "children": [
56305 {
56306 "tag": "head"
56307 },
56308 {
56309 "tag": "body"
56310 }
56311 ]
56312 }
56313 ],
56314 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body></body></html>",
56315 "noQuirksBodyHtml": ""
56316 }
56317 },
56318 {
56319 "data": "<!DOCTYPE html>X</body><html id=\"x\">",
56320 "errors": [
56321 "(1,36): non-html-root"
56322 ],
56323 "document": {
56324 "props": {
56325 "tags": {
56326 "html": true,
56327 "head": true,
56328 "body": true
56329 },
56330 "doctype": true
56331 },
56332 "tree": [
56333 {
56334 "doctype": "html"
56335 },
56336 {
56337 "tag": "html",
56338 "attrs": [
56339 {
56340 "name": "id",
56341 "value": "x"
56342 }
56343 ],
56344 "children": [
56345 {
56346 "tag": "head"
56347 },
56348 {
56349 "tag": "body",
56350 "children": [
56351 {
56352 "text": "X"
56353 }
56354 ]
56355 }
56356 ]
56357 }
56358 ],
56359 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body>X</body></html>",
56360 "noQuirksBodyHtml": "X"
56361 }
56362 },
56363 {
56364 "data": "<!DOCTYPE html><head><html id=x>",
56365 "errors": [
56366 "(1,32): non-html-root"
56367 ],
56368 "document": {
56369 "props": {
56370 "tags": {
56371 "html": true,
56372 "head": true,
56373 "body": true
56374 },
56375 "doctype": true
56376 },
56377 "tree": [
56378 {
56379 "doctype": "html"
56380 },
56381 {
56382 "tag": "html",
56383 "attrs": [
56384 {
56385 "name": "id",
56386 "value": "x"
56387 }
56388 ],
56389 "children": [
56390 {
56391 "tag": "head"
56392 },
56393 {
56394 "tag": "body"
56395 }
56396 ]
56397 }
56398 ],
56399 "html": "<!DOCTYPE html><html id=\"x\"><head></head><body></body></html>",
56400 "noQuirksBodyHtml": ""
56401 }
56402 },
56403 {
56404 "data": "<!DOCTYPE html>X</html>X",
56405 "errors": [
56406 "(1,24): expected-eof-but-got-char"
56407 ],
56408 "document": {
56409 "props": {
56410 "tags": {
56411 "html": true,
56412 "head": true,
56413 "body": true
56414 },
56415 "doctype": true
56416 },
56417 "tree": [
56418 {
56419 "doctype": "html"
56420 },
56421 {
56422 "tag": "html",
56423 "children": [
56424 {
56425 "tag": "head"
56426 },
56427 {
56428 "tag": "body",
56429 "children": [
56430 {
56431 "text": "XX"
56432 }
56433 ]
56434 }
56435 ]
56436 }
56437 ],
56438 "html": "<!DOCTYPE html><html><head></head><body>XX</body></html>",
56439 "noQuirksBodyHtml": "XX"
56440 }
56441 },
56442 {
56443 "data": "<!DOCTYPE html>X</html> ",
56444 "errors": [],
56445 "document": {
56446 "props": {
56447 "tags": {
56448 "html": true,
56449 "head": true,
56450 "body": true
56451 },
56452 "doctype": true
56453 },
56454 "tree": [
56455 {
56456 "doctype": "html"
56457 },
56458 {
56459 "tag": "html",
56460 "children": [
56461 {
56462 "tag": "head"
56463 },
56464 {
56465 "tag": "body",
56466 "children": [
56467 {
56468 "text": "X "
56469 }
56470 ]
56471 }
56472 ]
56473 }
56474 ],
56475 "html": "<!DOCTYPE html><html><head></head><body>X </body></html>",
56476 "noQuirksBodyHtml": "X "
56477 }
56478 },
56479 {
56480 "data": "<!DOCTYPE html>X</html><p>X",
56481 "errors": [
56482 "(1,26): expected-eof-but-got-start-tag"
56483 ],
56484 "document": {
56485 "props": {
56486 "tags": {
56487 "html": true,
56488 "head": true,
56489 "body": true,
56490 "p": true
56491 },
56492 "doctype": true
56493 },
56494 "tree": [
56495 {
56496 "doctype": "html"
56497 },
56498 {
56499 "tag": "html",
56500 "children": [
56501 {
56502 "tag": "head"
56503 },
56504 {
56505 "tag": "body",
56506 "children": [
56507 {
56508 "text": "X"
56509 },
56510 {
56511 "tag": "p",
56512 "children": [
56513 {
56514 "text": "X"
56515 }
56516 ]
56517 }
56518 ]
56519 }
56520 ]
56521 }
56522 ],
56523 "html": "<!DOCTYPE html><html><head></head><body>X<p>X</p></body></html>",
56524 "noQuirksBodyHtml": "X<p>X</p>"
56525 }
56526 },
56527 {
56528 "data": "<!DOCTYPE html>X<p/x/y/z>",
56529 "errors": [
56530 "(1,19): unexpected-character-after-solidus-in-tag",
56531 "(1,21): unexpected-character-after-solidus-in-tag",
56532 "(1,23): unexpected-character-after-solidus-in-tag"
56533 ],
56534 "document": {
56535 "props": {
56536 "tags": {
56537 "html": true,
56538 "head": true,
56539 "body": true,
56540 "p": true
56541 },
56542 "doctype": true
56543 },
56544 "tree": [
56545 {
56546 "doctype": "html"
56547 },
56548 {
56549 "tag": "html",
56550 "children": [
56551 {
56552 "tag": "head"
56553 },
56554 {
56555 "tag": "body",
56556 "children": [
56557 {
56558 "text": "X"
56559 },
56560 {
56561 "tag": "p",
56562 "attrs": [
56563 {
56564 "name": "x",
56565 "value": ""
56566 },
56567 {
56568 "name": "y",
56569 "value": ""
56570 },
56571 {
56572 "name": "z",
56573 "value": ""
56574 }
56575 ]
56576 }
56577 ]
56578 }
56579 ]
56580 }
56581 ],
56582 "html": "<!DOCTYPE html><html><head></head><body>X<p x=\"\" y=\"\" z=\"\"></p></body></html>",
56583 "noQuirksBodyHtml": "X<p x=\"\" y=\"\" z=\"\"></p>"
56584 }
56585 },
56586 {
56587 "data": "<!DOCTYPE html><!--x--",
56588 "errors": [
56589 "(1,22): eof-in-comment-double-dash"
56590 ],
56591 "document": {
56592 "props": {
56593 "tags": {
56594 "html": true,
56595 "head": true,
56596 "body": true
56597 },
56598 "doctype": true,
56599 "comment": true
56600 },
56601 "tree": [
56602 {
56603 "doctype": "html"
56604 },
56605 {
56606 "comment": "x"
56607 },
56608 {
56609 "tag": "html",
56610 "children": [
56611 {
56612 "tag": "head"
56613 },
56614 {
56615 "tag": "body"
56616 }
56617 ]
56618 }
56619 ],
56620 "html": "<!DOCTYPE html><!--x--><html><head></head><body></body></html>",
56621 "noQuirksBodyHtml": "<!--x-->"
56622 }
56623 },
56624 {
56625 "data": "<!DOCTYPE html><table><tr><td></p></table>",
56626 "errors": [
56627 "(1,34): unexpected-end-tag"
56628 ],
56629 "document": {
56630 "props": {
56631 "tags": {
56632 "html": true,
56633 "head": true,
56634 "body": true,
56635 "table": true,
56636 "tbody": true,
56637 "tr": true,
56638 "td": true,
56639 "p": true
56640 },
56641 "doctype": true
56642 },
56643 "tree": [
56644 {
56645 "doctype": "html"
56646 },
56647 {
56648 "tag": "html",
56649 "children": [
56650 {
56651 "tag": "head"
56652 },
56653 {
56654 "tag": "body",
56655 "children": [
56656 {
56657 "tag": "table",
56658 "children": [
56659 {
56660 "tag": "tbody",
56661 "children": [
56662 {
56663 "tag": "tr",
56664 "children": [
56665 {
56666 "tag": "td",
56667 "children": [
56668 {
56669 "tag": "p"
56670 }
56671 ]
56672 }
56673 ]
56674 }
56675 ]
56676 }
56677 ]
56678 }
56679 ]
56680 }
56681 ]
56682 }
56683 ],
56684 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><p></p></td></tr></tbody></table></body></html>",
56685 "noQuirksBodyHtml": "<table><tbody><tr><td><p></p></td></tr></tbody></table>"
56686 }
56687 },
56688 {
56689 "data": "<!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->-->",
56690 "errors": [
56691 "(1,20): expected-space-or-right-bracket-in-doctype",
56692 "(1,25): unknown-doctype",
56693 "(1,35): unexpected-char-in-comment"
56694 ],
56695 "document": {
56696 "props": {
56697 "tags": {
56698 "html": true,
56699 "head": true,
56700 "body": true
56701 },
56702 "doctype": true,
56703 "escaped": true,
56704 "comment": true
56705 },
56706 "tree": [
56707 {
56708 "doctype": "<!doctype"
56709 },
56710 {
56711 "tag": "html",
56712 "children": [
56713 {
56714 "tag": "head"
56715 },
56716 {
56717 "tag": "body",
56718 "children": [
56719 {
56720 "text": ">",
56721 "escaped": true
56722 },
56723 {
56724 "comment": "<!--x"
56725 },
56726 {
56727 "text": "-->",
56728 "escaped": true
56729 }
56730 ]
56731 }
56732 ]
56733 }
56734 ],
56735 "html": "<!DOCTYPE <!doctype><html><head></head><body>&gt;<!--<!--x-->--&gt;</body></html>",
56736 "noQuirksBodyHtml": "&gt;<!--<!--x-->--&gt;"
56737 }
56738 },
56739 {
56740 "data": "<!doctype html><div><form></form><div></div></div>",
56741 "errors": [],
56742 "document": {
56743 "props": {
56744 "tags": {
56745 "html": true,
56746 "head": true,
56747 "body": true,
56748 "div": true,
56749 "form": 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": "div",
56768 "children": [
56769 {
56770 "tag": "form"
56771 },
56772 {
56773 "tag": "div"
56774 }
56775 ]
56776 }
56777 ]
56778 }
56779 ]
56780 }
56781 ],
56782 "html": "<!DOCTYPE html><html><head></head><body><div><form></form><div></div></div></body></html>",
56783 "noQuirksBodyHtml": "<div><form></form><div></div></div>"
56784 }
56785 }
56786 ],
56787 "tests20.dat": [
56788 {
56789 "data": "<!doctype html><p><button><button>",
56790 "errors": [
56791 "(1,34): unexpected-start-tag-implies-end-tag",
56792 "(1,34): expected-closing-tag-but-got-eof"
56793 ],
56794 "document": {
56795 "props": {
56796 "tags": {
56797 "html": true,
56798 "head": true,
56799 "body": true,
56800 "p": true,
56801 "button": true
56802 },
56803 "doctype": true
56804 },
56805 "tree": [
56806 {
56807 "doctype": "html"
56808 },
56809 {
56810 "tag": "html",
56811 "children": [
56812 {
56813 "tag": "head"
56814 },
56815 {
56816 "tag": "body",
56817 "children": [
56818 {
56819 "tag": "p",
56820 "children": [
56821 {
56822 "tag": "button"
56823 },
56824 {
56825 "tag": "button"
56826 }
56827 ]
56828 }
56829 ]
56830 }
56831 ]
56832 }
56833 ],
56834 "html": "<!DOCTYPE html><html><head></head><body><p><button></button><button></button></p></body></html>",
56835 "noQuirksBodyHtml": "<p><button></button><button></button></p>"
56836 }
56837 },
56838 {
56839 "data": "<!doctype html><p><button><address>",
56840 "errors": [
56841 "(1,35): expected-closing-tag-but-got-eof"
56842 ],
56843 "document": {
56844 "props": {
56845 "tags": {
56846 "html": true,
56847 "head": true,
56848 "body": true,
56849 "p": true,
56850 "button": true,
56851 "address": true
56852 },
56853 "doctype": true
56854 },
56855 "tree": [
56856 {
56857 "doctype": "html"
56858 },
56859 {
56860 "tag": "html",
56861 "children": [
56862 {
56863 "tag": "head"
56864 },
56865 {
56866 "tag": "body",
56867 "children": [
56868 {
56869 "tag": "p",
56870 "children": [
56871 {
56872 "tag": "button",
56873 "children": [
56874 {
56875 "tag": "address"
56876 }
56877 ]
56878 }
56879 ]
56880 }
56881 ]
56882 }
56883 ]
56884 }
56885 ],
56886 "html": "<!DOCTYPE html><html><head></head><body><p><button><address></address></button></p></body></html>",
56887 "noQuirksBodyHtml": "<p><button><address></address></button></p>"
56888 }
56889 },
56890 {
56891 "data": "<!doctype html><p><button><blockquote>",
56892 "errors": [
56893 "(1,38): expected-closing-tag-but-got-eof"
56894 ],
56895 "document": {
56896 "props": {
56897 "tags": {
56898 "html": true,
56899 "head": true,
56900 "body": true,
56901 "p": true,
56902 "button": true,
56903 "blockquote": true
56904 },
56905 "doctype": true
56906 },
56907 "tree": [
56908 {
56909 "doctype": "html"
56910 },
56911 {
56912 "tag": "html",
56913 "children": [
56914 {
56915 "tag": "head"
56916 },
56917 {
56918 "tag": "body",
56919 "children": [
56920 {
56921 "tag": "p",
56922 "children": [
56923 {
56924 "tag": "button",
56925 "children": [
56926 {
56927 "tag": "blockquote"
56928 }
56929 ]
56930 }
56931 ]
56932 }
56933 ]
56934 }
56935 ]
56936 }
56937 ],
56938 "html": "<!DOCTYPE html><html><head></head><body><p><button><blockquote></blockquote></button></p></body></html>",
56939 "noQuirksBodyHtml": "<p><button><blockquote></blockquote></button></p>"
56940 }
56941 },
56942 {
56943 "data": "<!doctype html><p><button><menu>",
56944 "errors": [
56945 "(1,32): expected-closing-tag-but-got-eof"
56946 ],
56947 "document": {
56948 "props": {
56949 "tags": {
56950 "html": true,
56951 "head": true,
56952 "body": true,
56953 "p": true,
56954 "button": true,
56955 "menu": true
56956 },
56957 "doctype": true
56958 },
56959 "tree": [
56960 {
56961 "doctype": "html"
56962 },
56963 {
56964 "tag": "html",
56965 "children": [
56966 {
56967 "tag": "head"
56968 },
56969 {
56970 "tag": "body",
56971 "children": [
56972 {
56973 "tag": "p",
56974 "children": [
56975 {
56976 "tag": "button",
56977 "children": [
56978 {
56979 "tag": "menu"
56980 }
56981 ]
56982 }
56983 ]
56984 }
56985 ]
56986 }
56987 ]
56988 }
56989 ],
56990 "html": "<!DOCTYPE html><html><head></head><body><p><button><menu></menu></button></p></body></html>",
56991 "noQuirksBodyHtml": "<p><button><menu></menu></button></p>"
56992 }
56993 },
56994 {
56995 "data": "<!doctype html><p><button><p>",
56996 "errors": [
56997 "(1,29): expected-closing-tag-but-got-eof"
56998 ],
56999 "document": {
57000 "props": {
57001 "tags": {
57002 "html": true,
57003 "head": true,
57004 "body": true,
57005 "p": true,
57006 "button": true
57007 },
57008 "doctype": true
57009 },
57010 "tree": [
57011 {
57012 "doctype": "html"
57013 },
57014 {
57015 "tag": "html",
57016 "children": [
57017 {
57018 "tag": "head"
57019 },
57020 {
57021 "tag": "body",
57022 "children": [
57023 {
57024 "tag": "p",
57025 "children": [
57026 {
57027 "tag": "button",
57028 "children": [
57029 {
57030 "tag": "p"
57031 }
57032 ]
57033 }
57034 ]
57035 }
57036 ]
57037 }
57038 ]
57039 }
57040 ],
57041 "html": "<!DOCTYPE html><html><head></head><body><p><button><p></p></button></p></body></html>",
57042 "noQuirksBodyHtml": "<p><button><p></p></button></p>"
57043 }
57044 },
57045 {
57046 "data": "<!doctype html><p><button><ul>",
57047 "errors": [
57048 "(1,30): expected-closing-tag-but-got-eof"
57049 ],
57050 "document": {
57051 "props": {
57052 "tags": {
57053 "html": true,
57054 "head": true,
57055 "body": true,
57056 "p": true,
57057 "button": true,
57058 "ul": true
57059 },
57060 "doctype": true
57061 },
57062 "tree": [
57063 {
57064 "doctype": "html"
57065 },
57066 {
57067 "tag": "html",
57068 "children": [
57069 {
57070 "tag": "head"
57071 },
57072 {
57073 "tag": "body",
57074 "children": [
57075 {
57076 "tag": "p",
57077 "children": [
57078 {
57079 "tag": "button",
57080 "children": [
57081 {
57082 "tag": "ul"
57083 }
57084 ]
57085 }
57086 ]
57087 }
57088 ]
57089 }
57090 ]
57091 }
57092 ],
57093 "html": "<!DOCTYPE html><html><head></head><body><p><button><ul></ul></button></p></body></html>",
57094 "noQuirksBodyHtml": "<p><button><ul></ul></button></p>"
57095 }
57096 },
57097 {
57098 "data": "<!doctype html><p><button><h1>",
57099 "errors": [
57100 "(1,30): expected-closing-tag-but-got-eof"
57101 ],
57102 "document": {
57103 "props": {
57104 "tags": {
57105 "html": true,
57106 "head": true,
57107 "body": true,
57108 "p": true,
57109 "button": true,
57110 "h1": true
57111 },
57112 "doctype": true
57113 },
57114 "tree": [
57115 {
57116 "doctype": "html"
57117 },
57118 {
57119 "tag": "html",
57120 "children": [
57121 {
57122 "tag": "head"
57123 },
57124 {
57125 "tag": "body",
57126 "children": [
57127 {
57128 "tag": "p",
57129 "children": [
57130 {
57131 "tag": "button",
57132 "children": [
57133 {
57134 "tag": "h1"
57135 }
57136 ]
57137 }
57138 ]
57139 }
57140 ]
57141 }
57142 ]
57143 }
57144 ],
57145 "html": "<!DOCTYPE html><html><head></head><body><p><button><h1></h1></button></p></body></html>",
57146 "noQuirksBodyHtml": "<p><button><h1></h1></button></p>"
57147 }
57148 },
57149 {
57150 "data": "<!doctype html><p><button><h6>",
57151 "errors": [
57152 "(1,30): expected-closing-tag-but-got-eof"
57153 ],
57154 "document": {
57155 "props": {
57156 "tags": {
57157 "html": true,
57158 "head": true,
57159 "body": true,
57160 "p": true,
57161 "button": true,
57162 "h6": true
57163 },
57164 "doctype": true
57165 },
57166 "tree": [
57167 {
57168 "doctype": "html"
57169 },
57170 {
57171 "tag": "html",
57172 "children": [
57173 {
57174 "tag": "head"
57175 },
57176 {
57177 "tag": "body",
57178 "children": [
57179 {
57180 "tag": "p",
57181 "children": [
57182 {
57183 "tag": "button",
57184 "children": [
57185 {
57186 "tag": "h6"
57187 }
57188 ]
57189 }
57190 ]
57191 }
57192 ]
57193 }
57194 ]
57195 }
57196 ],
57197 "html": "<!DOCTYPE html><html><head></head><body><p><button><h6></h6></button></p></body></html>",
57198 "noQuirksBodyHtml": "<p><button><h6></h6></button></p>"
57199 }
57200 },
57201 {
57202 "data": "<!doctype html><p><button><listing>",
57203 "errors": [
57204 "(1,35): expected-closing-tag-but-got-eof"
57205 ],
57206 "document": {
57207 "props": {
57208 "tags": {
57209 "html": true,
57210 "head": true,
57211 "body": true,
57212 "p": true,
57213 "button": true,
57214 "listing": true
57215 },
57216 "doctype": true
57217 },
57218 "tree": [
57219 {
57220 "doctype": "html"
57221 },
57222 {
57223 "tag": "html",
57224 "children": [
57225 {
57226 "tag": "head"
57227 },
57228 {
57229 "tag": "body",
57230 "children": [
57231 {
57232 "tag": "p",
57233 "children": [
57234 {
57235 "tag": "button",
57236 "children": [
57237 {
57238 "tag": "listing"
57239 }
57240 ]
57241 }
57242 ]
57243 }
57244 ]
57245 }
57246 ]
57247 }
57248 ],
57249 "html": "<!DOCTYPE html><html><head></head><body><p><button><listing></listing></button></p></body></html>",
57250 "noQuirksBodyHtml": "<p><button><listing></listing></button></p>"
57251 }
57252 },
57253 {
57254 "data": "<!doctype html><p><button><pre>",
57255 "errors": [
57256 "(1,31): expected-closing-tag-but-got-eof"
57257 ],
57258 "document": {
57259 "props": {
57260 "tags": {
57261 "html": true,
57262 "head": true,
57263 "body": true,
57264 "p": true,
57265 "button": true,
57266 "pre": true
57267 },
57268 "doctype": true
57269 },
57270 "tree": [
57271 {
57272 "doctype": "html"
57273 },
57274 {
57275 "tag": "html",
57276 "children": [
57277 {
57278 "tag": "head"
57279 },
57280 {
57281 "tag": "body",
57282 "children": [
57283 {
57284 "tag": "p",
57285 "children": [
57286 {
57287 "tag": "button",
57288 "children": [
57289 {
57290 "tag": "pre"
57291 }
57292 ]
57293 }
57294 ]
57295 }
57296 ]
57297 }
57298 ]
57299 }
57300 ],
57301 "html": "<!DOCTYPE html><html><head></head><body><p><button><pre></pre></button></p></body></html>",
57302 "noQuirksBodyHtml": "<p><button><pre></pre></button></p>"
57303 }
57304 },
57305 {
57306 "data": "<!doctype html><p><button><form>",
57307 "errors": [
57308 "(1,32): expected-closing-tag-but-got-eof"
57309 ],
57310 "document": {
57311 "props": {
57312 "tags": {
57313 "html": true,
57314 "head": true,
57315 "body": true,
57316 "p": true,
57317 "button": true,
57318 "form": true
57319 },
57320 "doctype": true
57321 },
57322 "tree": [
57323 {
57324 "doctype": "html"
57325 },
57326 {
57327 "tag": "html",
57328 "children": [
57329 {
57330 "tag": "head"
57331 },
57332 {
57333 "tag": "body",
57334 "children": [
57335 {
57336 "tag": "p",
57337 "children": [
57338 {
57339 "tag": "button",
57340 "children": [
57341 {
57342 "tag": "form"
57343 }
57344 ]
57345 }
57346 ]
57347 }
57348 ]
57349 }
57350 ]
57351 }
57352 ],
57353 "html": "<!DOCTYPE html><html><head></head><body><p><button><form></form></button></p></body></html>",
57354 "noQuirksBodyHtml": "<p><button><form></form></button></p>"
57355 }
57356 },
57357 {
57358 "data": "<!doctype html><p><button><li>",
57359 "errors": [
57360 "(1,30): expected-closing-tag-but-got-eof"
57361 ],
57362 "document": {
57363 "props": {
57364 "tags": {
57365 "html": true,
57366 "head": true,
57367 "body": true,
57368 "p": true,
57369 "button": true,
57370 "li": true
57371 },
57372 "doctype": true
57373 },
57374 "tree": [
57375 {
57376 "doctype": "html"
57377 },
57378 {
57379 "tag": "html",
57380 "children": [
57381 {
57382 "tag": "head"
57383 },
57384 {
57385 "tag": "body",
57386 "children": [
57387 {
57388 "tag": "p",
57389 "children": [
57390 {
57391 "tag": "button",
57392 "children": [
57393 {
57394 "tag": "li"
57395 }
57396 ]
57397 }
57398 ]
57399 }
57400 ]
57401 }
57402 ]
57403 }
57404 ],
57405 "html": "<!DOCTYPE html><html><head></head><body><p><button><li></li></button></p></body></html>",
57406 "noQuirksBodyHtml": "<p><button><li></li></button></p>"
57407 }
57408 },
57409 {
57410 "data": "<!doctype html><p><button><dd>",
57411 "errors": [
57412 "(1,30): expected-closing-tag-but-got-eof"
57413 ],
57414 "document": {
57415 "props": {
57416 "tags": {
57417 "html": true,
57418 "head": true,
57419 "body": true,
57420 "p": true,
57421 "button": true,
57422 "dd": true
57423 },
57424 "doctype": true
57425 },
57426 "tree": [
57427 {
57428 "doctype": "html"
57429 },
57430 {
57431 "tag": "html",
57432 "children": [
57433 {
57434 "tag": "head"
57435 },
57436 {
57437 "tag": "body",
57438 "children": [
57439 {
57440 "tag": "p",
57441 "children": [
57442 {
57443 "tag": "button",
57444 "children": [
57445 {
57446 "tag": "dd"
57447 }
57448 ]
57449 }
57450 ]
57451 }
57452 ]
57453 }
57454 ]
57455 }
57456 ],
57457 "html": "<!DOCTYPE html><html><head></head><body><p><button><dd></dd></button></p></body></html>",
57458 "noQuirksBodyHtml": "<p><button><dd></dd></button></p>"
57459 }
57460 },
57461 {
57462 "data": "<!doctype html><p><button><dt>",
57463 "errors": [
57464 "(1,30): expected-closing-tag-but-got-eof"
57465 ],
57466 "document": {
57467 "props": {
57468 "tags": {
57469 "html": true,
57470 "head": true,
57471 "body": true,
57472 "p": true,
57473 "button": true,
57474 "dt": true
57475 },
57476 "doctype": true
57477 },
57478 "tree": [
57479 {
57480 "doctype": "html"
57481 },
57482 {
57483 "tag": "html",
57484 "children": [
57485 {
57486 "tag": "head"
57487 },
57488 {
57489 "tag": "body",
57490 "children": [
57491 {
57492 "tag": "p",
57493 "children": [
57494 {
57495 "tag": "button",
57496 "children": [
57497 {
57498 "tag": "dt"
57499 }
57500 ]
57501 }
57502 ]
57503 }
57504 ]
57505 }
57506 ]
57507 }
57508 ],
57509 "html": "<!DOCTYPE html><html><head></head><body><p><button><dt></dt></button></p></body></html>",
57510 "noQuirksBodyHtml": "<p><button><dt></dt></button></p>"
57511 }
57512 },
57513 {
57514 "data": "<!doctype html><p><button><plaintext>",
57515 "errors": [
57516 "(1,37): expected-closing-tag-but-got-eof"
57517 ],
57518 "document": {
57519 "props": {
57520 "tags": {
57521 "html": true,
57522 "head": true,
57523 "body": true,
57524 "p": true,
57525 "button": true,
57526 "plaintext": true
57527 },
57528 "doctype": true
57529 },
57530 "tree": [
57531 {
57532 "doctype": "html"
57533 },
57534 {
57535 "tag": "html",
57536 "children": [
57537 {
57538 "tag": "head"
57539 },
57540 {
57541 "tag": "body",
57542 "children": [
57543 {
57544 "tag": "p",
57545 "children": [
57546 {
57547 "tag": "button",
57548 "children": [
57549 {
57550 "tag": "plaintext"
57551 }
57552 ]
57553 }
57554 ]
57555 }
57556 ]
57557 }
57558 ]
57559 }
57560 ],
57561 "html": "<!DOCTYPE html><html><head></head><body><p><button><plaintext></plaintext></button></p></body></html>",
57562 "noQuirksBodyHtml": "<p><button><plaintext></plaintext></button></p>"
57563 }
57564 },
57565 {
57566 "data": "<!doctype html><p><button><table>",
57567 "errors": [
57568 "(1,33): eof-in-table"
57569 ],
57570 "document": {
57571 "props": {
57572 "tags": {
57573 "html": true,
57574 "head": true,
57575 "body": true,
57576 "p": true,
57577 "button": true,
57578 "table": true
57579 },
57580 "doctype": true
57581 },
57582 "tree": [
57583 {
57584 "doctype": "html"
57585 },
57586 {
57587 "tag": "html",
57588 "children": [
57589 {
57590 "tag": "head"
57591 },
57592 {
57593 "tag": "body",
57594 "children": [
57595 {
57596 "tag": "p",
57597 "children": [
57598 {
57599 "tag": "button",
57600 "children": [
57601 {
57602 "tag": "table"
57603 }
57604 ]
57605 }
57606 ]
57607 }
57608 ]
57609 }
57610 ]
57611 }
57612 ],
57613 "html": "<!DOCTYPE html><html><head></head><body><p><button><table></table></button></p></body></html>",
57614 "noQuirksBodyHtml": "<p><button><table></table></button></p>"
57615 }
57616 },
57617 {
57618 "data": "<!doctype html><p><button><hr>",
57619 "errors": [
57620 "(1,30): expected-closing-tag-but-got-eof"
57621 ],
57622 "document": {
57623 "props": {
57624 "tags": {
57625 "html": true,
57626 "head": true,
57627 "body": true,
57628 "p": true,
57629 "button": true,
57630 "hr": true
57631 },
57632 "doctype": true
57633 },
57634 "tree": [
57635 {
57636 "doctype": "html"
57637 },
57638 {
57639 "tag": "html",
57640 "children": [
57641 {
57642 "tag": "head"
57643 },
57644 {
57645 "tag": "body",
57646 "children": [
57647 {
57648 "tag": "p",
57649 "children": [
57650 {
57651 "tag": "button",
57652 "children": [
57653 {
57654 "tag": "hr"
57655 }
57656 ]
57657 }
57658 ]
57659 }
57660 ]
57661 }
57662 ]
57663 }
57664 ],
57665 "html": "<!DOCTYPE html><html><head></head><body><p><button><hr></button></p></body></html>",
57666 "noQuirksBodyHtml": "<p><button><hr></button></p>"
57667 }
57668 },
57669 {
57670 "data": "<!doctype html><p><button><xmp>",
57671 "errors": [
57672 "(1,31): expected-named-closing-tag-but-got-eof",
57673 "(1,31): expected-closing-tag-but-got-eof"
57674 ],
57675 "document": {
57676 "props": {
57677 "tags": {
57678 "html": true,
57679 "head": true,
57680 "body": true,
57681 "p": true,
57682 "button": true,
57683 "xmp": true
57684 },
57685 "doctype": true
57686 },
57687 "tree": [
57688 {
57689 "doctype": "html"
57690 },
57691 {
57692 "tag": "html",
57693 "children": [
57694 {
57695 "tag": "head"
57696 },
57697 {
57698 "tag": "body",
57699 "children": [
57700 {
57701 "tag": "p",
57702 "children": [
57703 {
57704 "tag": "button",
57705 "children": [
57706 {
57707 "tag": "xmp"
57708 }
57709 ]
57710 }
57711 ]
57712 }
57713 ]
57714 }
57715 ]
57716 }
57717 ],
57718 "html": "<!DOCTYPE html><html><head></head><body><p><button><xmp></xmp></button></p></body></html>",
57719 "noQuirksBodyHtml": "<p><button><xmp></xmp></button></p>"
57720 }
57721 },
57722 {
57723 "data": "<!doctype html><p><button></p>",
57724 "errors": [
57725 "(1,30): unexpected-end-tag",
57726 "(1,30): expected-closing-tag-but-got-eof"
57727 ],
57728 "document": {
57729 "props": {
57730 "tags": {
57731 "html": true,
57732 "head": true,
57733 "body": true,
57734 "p": true,
57735 "button": true
57736 },
57737 "doctype": true
57738 },
57739 "tree": [
57740 {
57741 "doctype": "html"
57742 },
57743 {
57744 "tag": "html",
57745 "children": [
57746 {
57747 "tag": "head"
57748 },
57749 {
57750 "tag": "body",
57751 "children": [
57752 {
57753 "tag": "p",
57754 "children": [
57755 {
57756 "tag": "button",
57757 "children": [
57758 {
57759 "tag": "p"
57760 }
57761 ]
57762 }
57763 ]
57764 }
57765 ]
57766 }
57767 ]
57768 }
57769 ],
57770 "html": "<!DOCTYPE html><html><head></head><body><p><button><p></p></button></p></body></html>",
57771 "noQuirksBodyHtml": "<p><button><p></p></button></p>"
57772 }
57773 },
57774 {
57775 "data": "<!doctype html><address><button></address>a",
57776 "errors": [
57777 "(1,42): end-tag-too-early"
57778 ],
57779 "document": {
57780 "props": {
57781 "tags": {
57782 "html": true,
57783 "head": true,
57784 "body": true,
57785 "address": true,
57786 "button": true
57787 },
57788 "doctype": true
57789 },
57790 "tree": [
57791 {
57792 "doctype": "html"
57793 },
57794 {
57795 "tag": "html",
57796 "children": [
57797 {
57798 "tag": "head"
57799 },
57800 {
57801 "tag": "body",
57802 "children": [
57803 {
57804 "tag": "address",
57805 "children": [
57806 {
57807 "tag": "button"
57808 }
57809 ]
57810 },
57811 {
57812 "text": "a"
57813 }
57814 ]
57815 }
57816 ]
57817 }
57818 ],
57819 "html": "<!DOCTYPE html><html><head></head><body><address><button></button></address>a</body></html>",
57820 "noQuirksBodyHtml": "<address><button></button></address>a"
57821 }
57822 },
57823 {
57824 "data": "<!doctype html><address><button></address>a",
57825 "errors": [
57826 "(1,42): end-tag-too-early"
57827 ],
57828 "document": {
57829 "props": {
57830 "tags": {
57831 "html": true,
57832 "head": true,
57833 "body": true,
57834 "address": true,
57835 "button": true
57836 },
57837 "doctype": true
57838 },
57839 "tree": [
57840 {
57841 "doctype": "html"
57842 },
57843 {
57844 "tag": "html",
57845 "children": [
57846 {
57847 "tag": "head"
57848 },
57849 {
57850 "tag": "body",
57851 "children": [
57852 {
57853 "tag": "address",
57854 "children": [
57855 {
57856 "tag": "button"
57857 }
57858 ]
57859 },
57860 {
57861 "text": "a"
57862 }
57863 ]
57864 }
57865 ]
57866 }
57867 ],
57868 "html": "<!DOCTYPE html><html><head></head><body><address><button></button></address>a</body></html>",
57869 "noQuirksBodyHtml": "<address><button></button></address>a"
57870 }
57871 },
57872 {
57873 "data": "<p><table></p>",
57874 "errors": [
57875 "(1,3): expected-doctype-but-got-start-tag",
57876 "(1,14): unexpected-end-tag-implies-table-voodoo",
57877 "(1,14): unexpected-end-tag",
57878 "(1,14): eof-in-table"
57879 ],
57880 "document": {
57881 "props": {
57882 "tags": {
57883 "html": true,
57884 "head": true,
57885 "body": true,
57886 "p": true,
57887 "table": true
57888 }
57889 },
57890 "tree": [
57891 {
57892 "tag": "html",
57893 "children": [
57894 {
57895 "tag": "head"
57896 },
57897 {
57898 "tag": "body",
57899 "children": [
57900 {
57901 "tag": "p",
57902 "children": [
57903 {
57904 "tag": "p"
57905 },
57906 {
57907 "tag": "table"
57908 }
57909 ]
57910 }
57911 ]
57912 }
57913 ]
57914 }
57915 ],
57916 "html": "<html><head></head><body><p><p></p><table></table></p></body></html>",
57917 "noQuirksBodyHtml": "<p></p><p></p><table></table>"
57918 }
57919 },
57920 {
57921 "data": "<!doctype html><svg>",
57922 "errors": [
57923 "(1,20): expected-closing-tag-but-got-eof"
57924 ],
57925 "document": {
57926 "props": {
57927 "tags": {
57928 "html": true,
57929 "head": true,
57930 "body": true,
57931 "svg svg": true
57932 },
57933 "doctype": true
57934 },
57935 "tree": [
57936 {
57937 "doctype": "html"
57938 },
57939 {
57940 "tag": "html",
57941 "children": [
57942 {
57943 "tag": "head"
57944 },
57945 {
57946 "tag": "body",
57947 "children": [
57948 {
57949 "tag": "svg",
57950 "ns": "http://www.w3.org/2000/svg"
57951 }
57952 ]
57953 }
57954 ]
57955 }
57956 ],
57957 "html": "<!DOCTYPE html><html><head></head><body><svg></svg></body></html>",
57958 "noQuirksBodyHtml": "<svg></svg>"
57959 }
57960 },
57961 {
57962 "data": "<!doctype html><p><figcaption>",
57963 "errors": [
57964 "(1,30): expected-closing-tag-but-got-eof"
57965 ],
57966 "document": {
57967 "props": {
57968 "tags": {
57969 "html": true,
57970 "head": true,
57971 "body": true,
57972 "p": true,
57973 "figcaption": true
57974 },
57975 "doctype": true
57976 },
57977 "tree": [
57978 {
57979 "doctype": "html"
57980 },
57981 {
57982 "tag": "html",
57983 "children": [
57984 {
57985 "tag": "head"
57986 },
57987 {
57988 "tag": "body",
57989 "children": [
57990 {
57991 "tag": "p"
57992 },
57993 {
57994 "tag": "figcaption"
57995 }
57996 ]
57997 }
57998 ]
57999 }
58000 ],
58001 "html": "<!DOCTYPE html><html><head></head><body><p></p><figcaption></figcaption></body></html>",
58002 "noQuirksBodyHtml": "<p></p><figcaption></figcaption>"
58003 }
58004 },
58005 {
58006 "data": "<!doctype html><p><summary>",
58007 "errors": [
58008 "(1,27): expected-closing-tag-but-got-eof"
58009 ],
58010 "document": {
58011 "props": {
58012 "tags": {
58013 "html": true,
58014 "head": true,
58015 "body": true,
58016 "p": true,
58017 "summary": true
58018 },
58019 "doctype": true
58020 },
58021 "tree": [
58022 {
58023 "doctype": "html"
58024 },
58025 {
58026 "tag": "html",
58027 "children": [
58028 {
58029 "tag": "head"
58030 },
58031 {
58032 "tag": "body",
58033 "children": [
58034 {
58035 "tag": "p"
58036 },
58037 {
58038 "tag": "summary"
58039 }
58040 ]
58041 }
58042 ]
58043 }
58044 ],
58045 "html": "<!DOCTYPE html><html><head></head><body><p></p><summary></summary></body></html>",
58046 "noQuirksBodyHtml": "<p></p><summary></summary>"
58047 }
58048 },
58049 {
58050 "data": "<!doctype html><form><table><form>",
58051 "errors": [
58052 "(1,34): unexpected-form-in-table",
58053 "(1,34): eof-in-table"
58054 ],
58055 "document": {
58056 "props": {
58057 "tags": {
58058 "html": true,
58059 "head": true,
58060 "body": true,
58061 "form": true,
58062 "table": true
58063 },
58064 "doctype": true
58065 },
58066 "tree": [
58067 {
58068 "doctype": "html"
58069 },
58070 {
58071 "tag": "html",
58072 "children": [
58073 {
58074 "tag": "head"
58075 },
58076 {
58077 "tag": "body",
58078 "children": [
58079 {
58080 "tag": "form",
58081 "children": [
58082 {
58083 "tag": "table"
58084 }
58085 ]
58086 }
58087 ]
58088 }
58089 ]
58090 }
58091 ],
58092 "html": "<!DOCTYPE html><html><head></head><body><form><table></table></form></body></html>",
58093 "noQuirksBodyHtml": "<form><table></table></form>"
58094 }
58095 },
58096 {
58097 "data": "<!doctype html><table><form><form>",
58098 "errors": [
58099 "(1,28): unexpected-form-in-table",
58100 "(1,34): unexpected-form-in-table",
58101 "(1,34): eof-in-table"
58102 ],
58103 "document": {
58104 "props": {
58105 "tags": {
58106 "html": true,
58107 "head": true,
58108 "body": true,
58109 "table": true,
58110 "form": true
58111 },
58112 "doctype": true
58113 },
58114 "tree": [
58115 {
58116 "doctype": "html"
58117 },
58118 {
58119 "tag": "html",
58120 "children": [
58121 {
58122 "tag": "head"
58123 },
58124 {
58125 "tag": "body",
58126 "children": [
58127 {
58128 "tag": "table",
58129 "children": [
58130 {
58131 "tag": "form"
58132 }
58133 ]
58134 }
58135 ]
58136 }
58137 ]
58138 }
58139 ],
58140 "html": "<!DOCTYPE html><html><head></head><body><table><form></form></table></body></html>",
58141 "noQuirksBodyHtml": "<table><form></form></table>"
58142 }
58143 },
58144 {
58145 "data": "<!doctype html><table><form></table><form>",
58146 "errors": [
58147 "(1,28): unexpected-form-in-table",
58148 "(1,42): unexpected-start-tag"
58149 ],
58150 "document": {
58151 "props": {
58152 "tags": {
58153 "html": true,
58154 "head": true,
58155 "body": true,
58156 "table": true,
58157 "form": true
58158 },
58159 "doctype": true
58160 },
58161 "tree": [
58162 {
58163 "doctype": "html"
58164 },
58165 {
58166 "tag": "html",
58167 "children": [
58168 {
58169 "tag": "head"
58170 },
58171 {
58172 "tag": "body",
58173 "children": [
58174 {
58175 "tag": "table",
58176 "children": [
58177 {
58178 "tag": "form"
58179 }
58180 ]
58181 }
58182 ]
58183 }
58184 ]
58185 }
58186 ],
58187 "html": "<!DOCTYPE html><html><head></head><body><table><form></form></table></body></html>",
58188 "noQuirksBodyHtml": "<table><form></form></table>"
58189 }
58190 },
58191 {
58192 "data": "<!doctype html><svg><foreignObject><p>",
58193 "errors": [
58194 "(1,38): expected-closing-tag-but-got-eof"
58195 ],
58196 "document": {
58197 "props": {
58198 "tags": {
58199 "html": true,
58200 "head": true,
58201 "body": true,
58202 "svg svg": true,
58203 "svg foreignObject": true,
58204 "p": true
58205 },
58206 "doctype": true
58207 },
58208 "tree": [
58209 {
58210 "doctype": "html"
58211 },
58212 {
58213 "tag": "html",
58214 "children": [
58215 {
58216 "tag": "head"
58217 },
58218 {
58219 "tag": "body",
58220 "children": [
58221 {
58222 "tag": "svg",
58223 "ns": "http://www.w3.org/2000/svg",
58224 "children": [
58225 {
58226 "tag": "foreignObject",
58227 "ns": "http://www.w3.org/2000/svg",
58228 "children": [
58229 {
58230 "tag": "p"
58231 }
58232 ]
58233 }
58234 ]
58235 }
58236 ]
58237 }
58238 ]
58239 }
58240 ],
58241 "html": "<!DOCTYPE html><html><head></head><body><svg><foreignObject><p></p></foreignObject></svg></body></html>",
58242 "noQuirksBodyHtml": "<svg><foreignObject><p></p></foreignObject></svg>"
58243 }
58244 },
58245 {
58246 "data": "<!doctype html><svg><title>abc",
58247 "errors": [
58248 "(1,30): expected-closing-tag-but-got-eof"
58249 ],
58250 "document": {
58251 "props": {
58252 "tags": {
58253 "html": true,
58254 "head": true,
58255 "body": true,
58256 "svg svg": true,
58257 "svg title": true
58258 },
58259 "doctype": true
58260 },
58261 "tree": [
58262 {
58263 "doctype": "html"
58264 },
58265 {
58266 "tag": "html",
58267 "children": [
58268 {
58269 "tag": "head"
58270 },
58271 {
58272 "tag": "body",
58273 "children": [
58274 {
58275 "tag": "svg",
58276 "ns": "http://www.w3.org/2000/svg",
58277 "children": [
58278 {
58279 "tag": "title",
58280 "ns": "http://www.w3.org/2000/svg",
58281 "children": [
58282 {
58283 "text": "abc"
58284 }
58285 ]
58286 }
58287 ]
58288 }
58289 ]
58290 }
58291 ]
58292 }
58293 ],
58294 "html": "<!DOCTYPE html><html><head></head><body><svg><title>abc</title></svg></body></html>",
58295 "noQuirksBodyHtml": "<svg><title>abc</title></svg>"
58296 }
58297 },
58298 {
58299 "data": "<option><span><option>",
58300 "errors": [
58301 "(1,8): expected-doctype-but-got-start-tag",
58302 "(1,22): expected-closing-tag-but-got-eof"
58303 ],
58304 "document": {
58305 "props": {
58306 "tags": {
58307 "html": true,
58308 "head": true,
58309 "body": true,
58310 "option": true,
58311 "span": true
58312 }
58313 },
58314 "tree": [
58315 {
58316 "tag": "html",
58317 "children": [
58318 {
58319 "tag": "head"
58320 },
58321 {
58322 "tag": "body",
58323 "children": [
58324 {
58325 "tag": "option",
58326 "children": [
58327 {
58328 "tag": "span",
58329 "children": [
58330 {
58331 "tag": "option"
58332 }
58333 ]
58334 }
58335 ]
58336 }
58337 ]
58338 }
58339 ]
58340 }
58341 ],
58342 "html": "<html><head></head><body><option><span><option></option></span></option></body></html>",
58343 "noQuirksBodyHtml": "<option><span><option></option></span></option>"
58344 }
58345 },
58346 {
58347 "data": "<option><option>",
58348 "errors": [
58349 "(1,8): expected-doctype-but-got-start-tag",
58350 "(1,16): expected-closing-tag-but-got-eof"
58351 ],
58352 "document": {
58353 "props": {
58354 "tags": {
58355 "html": true,
58356 "head": true,
58357 "body": true,
58358 "option": true
58359 }
58360 },
58361 "tree": [
58362 {
58363 "tag": "html",
58364 "children": [
58365 {
58366 "tag": "head"
58367 },
58368 {
58369 "tag": "body",
58370 "children": [
58371 {
58372 "tag": "option"
58373 },
58374 {
58375 "tag": "option"
58376 }
58377 ]
58378 }
58379 ]
58380 }
58381 ],
58382 "html": "<html><head></head><body><option></option><option></option></body></html>",
58383 "noQuirksBodyHtml": "<option></option><option></option>"
58384 }
58385 },
58386 {
58387 "data": "<math><annotation-xml><div>",
58388 "errors": [
58389 "(1,6): expected-doctype-but-got-start-tag",
58390 "(1,27): unexpected-html-element-in-foreign-content",
58391 "(1,27): expected-closing-tag-but-got-eof"
58392 ],
58393 "document": {
58394 "props": {
58395 "tags": {
58396 "html": true,
58397 "head": true,
58398 "body": true,
58399 "math math": true,
58400 "math annotation-xml": true,
58401 "div": true
58402 }
58403 },
58404 "tree": [
58405 {
58406 "tag": "html",
58407 "children": [
58408 {
58409 "tag": "head"
58410 },
58411 {
58412 "tag": "body",
58413 "children": [
58414 {
58415 "tag": "math",
58416 "ns": "http://www.w3.org/1998/Math/MathML",
58417 "children": [
58418 {
58419 "tag": "annotation-xml",
58420 "ns": "http://www.w3.org/1998/Math/MathML"
58421 }
58422 ]
58423 },
58424 {
58425 "tag": "div"
58426 }
58427 ]
58428 }
58429 ]
58430 }
58431 ],
58432 "html": "<html><head></head><body><math><annotation-xml></annotation-xml></math><div></div></body></html>",
58433 "noQuirksBodyHtml": "<math><annotation-xml><div></div></annotation-xml></math>"
58434 }
58435 },
58436 {
58437 "data": "<math><annotation-xml encoding=\"application/svg+xml\"><div>",
58438 "errors": [
58439 "(1,6): expected-doctype-but-got-start-tag",
58440 "(1,58): unexpected-html-element-in-foreign-content",
58441 "(1,58): expected-closing-tag-but-got-eof"
58442 ],
58443 "document": {
58444 "props": {
58445 "tags": {
58446 "html": true,
58447 "head": true,
58448 "body": true,
58449 "math math": true,
58450 "math annotation-xml": true,
58451 "div": true
58452 }
58453 },
58454 "tree": [
58455 {
58456 "tag": "html",
58457 "children": [
58458 {
58459 "tag": "head"
58460 },
58461 {
58462 "tag": "body",
58463 "children": [
58464 {
58465 "tag": "math",
58466 "ns": "http://www.w3.org/1998/Math/MathML",
58467 "children": [
58468 {
58469 "tag": "annotation-xml",
58470 "ns": "http://www.w3.org/1998/Math/MathML",
58471 "attrs": [
58472 {
58473 "name": "encoding",
58474 "value": "application/svg+xml"
58475 }
58476 ]
58477 }
58478 ]
58479 },
58480 {
58481 "tag": "div"
58482 }
58483 ]
58484 }
58485 ]
58486 }
58487 ],
58488 "html": "<html><head></head><body><math><annotation-xml encoding=\"application/svg+xml\"></annotation-xml></math><div></div></body></html>",
58489 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"application/svg+xml\"><div></div></annotation-xml></math>"
58490 }
58491 },
58492 {
58493 "data": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div>",
58494 "errors": [
58495 "(1,6): expected-doctype-but-got-start-tag",
58496 "(1,60): expected-closing-tag-but-got-eof"
58497 ],
58498 "document": {
58499 "props": {
58500 "tags": {
58501 "html": true,
58502 "head": true,
58503 "body": true,
58504 "math math": true,
58505 "math annotation-xml": true,
58506 "div": true
58507 }
58508 },
58509 "tree": [
58510 {
58511 "tag": "html",
58512 "children": [
58513 {
58514 "tag": "head"
58515 },
58516 {
58517 "tag": "body",
58518 "children": [
58519 {
58520 "tag": "math",
58521 "ns": "http://www.w3.org/1998/Math/MathML",
58522 "children": [
58523 {
58524 "tag": "annotation-xml",
58525 "ns": "http://www.w3.org/1998/Math/MathML",
58526 "attrs": [
58527 {
58528 "name": "encoding",
58529 "value": "application/xhtml+xml"
58530 }
58531 ],
58532 "children": [
58533 {
58534 "tag": "div"
58535 }
58536 ]
58537 }
58538 ]
58539 }
58540 ]
58541 }
58542 ]
58543 }
58544 ],
58545 "html": "<html><head></head><body><math><annotation-xml encoding=\"application/xhtml+xml\"><div></div></annotation-xml></math></body></html>",
58546 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div></div></annotation-xml></math>"
58547 }
58548 },
58549 {
58550 "data": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div>",
58551 "errors": [
58552 "(1,6): expected-doctype-but-got-start-tag",
58553 "(1,60): expected-closing-tag-but-got-eof"
58554 ],
58555 "document": {
58556 "props": {
58557 "tags": {
58558 "html": true,
58559 "head": true,
58560 "body": true,
58561 "math math": true,
58562 "math annotation-xml": true,
58563 "div": true
58564 }
58565 },
58566 "tree": [
58567 {
58568 "tag": "html",
58569 "children": [
58570 {
58571 "tag": "head"
58572 },
58573 {
58574 "tag": "body",
58575 "children": [
58576 {
58577 "tag": "math",
58578 "ns": "http://www.w3.org/1998/Math/MathML",
58579 "children": [
58580 {
58581 "tag": "annotation-xml",
58582 "ns": "http://www.w3.org/1998/Math/MathML",
58583 "attrs": [
58584 {
58585 "name": "encoding",
58586 "value": "aPPlication/xhtmL+xMl"
58587 }
58588 ],
58589 "children": [
58590 {
58591 "tag": "div"
58592 }
58593 ]
58594 }
58595 ]
58596 }
58597 ]
58598 }
58599 ]
58600 }
58601 ],
58602 "html": "<html><head></head><body><math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div></div></annotation-xml></math></body></html>",
58603 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div></div></annotation-xml></math>"
58604 }
58605 },
58606 {
58607 "data": "<math><annotation-xml encoding=\"text/html\"><div>",
58608 "errors": [
58609 "(1,6): expected-doctype-but-got-start-tag",
58610 "(1,48): expected-closing-tag-but-got-eof"
58611 ],
58612 "document": {
58613 "props": {
58614 "tags": {
58615 "html": true,
58616 "head": true,
58617 "body": true,
58618 "math math": true,
58619 "math annotation-xml": true,
58620 "div": true
58621 }
58622 },
58623 "tree": [
58624 {
58625 "tag": "html",
58626 "children": [
58627 {
58628 "tag": "head"
58629 },
58630 {
58631 "tag": "body",
58632 "children": [
58633 {
58634 "tag": "math",
58635 "ns": "http://www.w3.org/1998/Math/MathML",
58636 "children": [
58637 {
58638 "tag": "annotation-xml",
58639 "ns": "http://www.w3.org/1998/Math/MathML",
58640 "attrs": [
58641 {
58642 "name": "encoding",
58643 "value": "text/html"
58644 }
58645 ],
58646 "children": [
58647 {
58648 "tag": "div"
58649 }
58650 ]
58651 }
58652 ]
58653 }
58654 ]
58655 }
58656 ]
58657 }
58658 ],
58659 "html": "<html><head></head><body><math><annotation-xml encoding=\"text/html\"><div></div></annotation-xml></math></body></html>",
58660 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"text/html\"><div></div></annotation-xml></math>"
58661 }
58662 },
58663 {
58664 "data": "<math><annotation-xml encoding=\"Text/htmL\"><div>",
58665 "errors": [
58666 "(1,6): expected-doctype-but-got-start-tag",
58667 "(1,48): expected-closing-tag-but-got-eof"
58668 ],
58669 "document": {
58670 "props": {
58671 "tags": {
58672 "html": true,
58673 "head": true,
58674 "body": true,
58675 "math math": true,
58676 "math annotation-xml": true,
58677 "div": true
58678 }
58679 },
58680 "tree": [
58681 {
58682 "tag": "html",
58683 "children": [
58684 {
58685 "tag": "head"
58686 },
58687 {
58688 "tag": "body",
58689 "children": [
58690 {
58691 "tag": "math",
58692 "ns": "http://www.w3.org/1998/Math/MathML",
58693 "children": [
58694 {
58695 "tag": "annotation-xml",
58696 "ns": "http://www.w3.org/1998/Math/MathML",
58697 "attrs": [
58698 {
58699 "name": "encoding",
58700 "value": "Text/htmL"
58701 }
58702 ],
58703 "children": [
58704 {
58705 "tag": "div"
58706 }
58707 ]
58708 }
58709 ]
58710 }
58711 ]
58712 }
58713 ]
58714 }
58715 ],
58716 "html": "<html><head></head><body><math><annotation-xml encoding=\"Text/htmL\"><div></div></annotation-xml></math></body></html>",
58717 "noQuirksBodyHtml": "<math><annotation-xml encoding=\"Text/htmL\"><div></div></annotation-xml></math>"
58718 }
58719 },
58720 {
58721 "data": "<math><annotation-xml encoding=\" text/html \"><div>",
58722 "errors": [
58723 "(1,6): expected-doctype-but-got-start-tag",
58724 "(1,50): unexpected-html-element-in-foreign-content",
58725 "(1,50): expected-closing-tag-but-got-eof"
58726 ],
58727 "document": {
58728 "props": {
58729 "tags": {
58730 "html": true,
58731 "head": true,
58732 "body": true,
58733 "math math": true,
58734 "math annotation-xml": true,
58735 "div": true
58736 }
58737 },
58738 "tree": [
58739 {
58740 "tag": "html",
58741 "children": [
58742 {
58743 "tag": "head"
58744 },
58745 {
58746 "tag": "body",
58747 "children": [
58748 {
58749 "tag": "math",
58750 "ns": "http://www.w3.org/1998/Math/MathML",
58751 "children": [
58752 {
58753 "tag": "annotation-xml",
58754 "ns": "http://www.w3.org/1998/Math/MathML",
58755 "attrs": [
58756 {
58757 "name": "encoding",
58758 "value": " text/html "
58759 }
58760 ]
58761 }
58762 ]
58763 },
58764 {
58765 "tag": "div"
58766 }
58767 ]
58768 }
58769 ]
58770 }
58771 ],
58772 "html": "<html><head></head><body><math><annotation-xml encoding=\" text/html \"></annotation-xml></math><div></div></body></html>",
58773 "noQuirksBodyHtml": "<math><annotation-xml encoding=\" text/html \"><div></div></annotation-xml></math>"
58774 }
58775 }
58776 ],
58777 "tests21.dat": [
58778 {
58779 "data": "<svg><![CDATA[foo]]>",
58780 "errors": [
58781 "(1,5): expected-doctype-but-got-start-tag",
58782 "(1,20): expected-closing-tag-but-got-eof"
58783 ],
58784 "document": {
58785 "props": {
58786 "tags": {
58787 "html": true,
58788 "head": true,
58789 "body": true,
58790 "svg svg": true
58791 }
58792 },
58793 "tree": [
58794 {
58795 "tag": "html",
58796 "children": [
58797 {
58798 "tag": "head"
58799 },
58800 {
58801 "tag": "body",
58802 "children": [
58803 {
58804 "tag": "svg",
58805 "ns": "http://www.w3.org/2000/svg",
58806 "children": [
58807 {
58808 "text": "foo"
58809 }
58810 ]
58811 }
58812 ]
58813 }
58814 ]
58815 }
58816 ],
58817 "html": "<html><head></head><body><svg>foo</svg></body></html>",
58818 "noQuirksBodyHtml": "<svg>foo</svg>"
58819 }
58820 },
58821 {
58822 "data": "<math><![CDATA[foo]]>",
58823 "errors": [
58824 "(1,6): expected-doctype-but-got-start-tag",
58825 "(1,21): expected-closing-tag-but-got-eof"
58826 ],
58827 "document": {
58828 "props": {
58829 "tags": {
58830 "html": true,
58831 "head": true,
58832 "body": true,
58833 "math math": true
58834 }
58835 },
58836 "tree": [
58837 {
58838 "tag": "html",
58839 "children": [
58840 {
58841 "tag": "head"
58842 },
58843 {
58844 "tag": "body",
58845 "children": [
58846 {
58847 "tag": "math",
58848 "ns": "http://www.w3.org/1998/Math/MathML",
58849 "children": [
58850 {
58851 "text": "foo"
58852 }
58853 ]
58854 }
58855 ]
58856 }
58857 ]
58858 }
58859 ],
58860 "html": "<html><head></head><body><math>foo</math></body></html>",
58861 "noQuirksBodyHtml": "<math>foo</math>"
58862 }
58863 },
58864 {
58865 "data": "<div><![CDATA[foo]]>",
58866 "errors": [
58867 "(1,5): expected-doctype-but-got-start-tag",
58868 "(1,7): expected-dashes-or-doctype",
58869 "(1,20): expected-closing-tag-but-got-eof"
58870 ],
58871 "document": {
58872 "props": {
58873 "tags": {
58874 "html": true,
58875 "head": true,
58876 "body": true,
58877 "div": true
58878 },
58879 "comment": true
58880 },
58881 "tree": [
58882 {
58883 "tag": "html",
58884 "children": [
58885 {
58886 "tag": "head"
58887 },
58888 {
58889 "tag": "body",
58890 "children": [
58891 {
58892 "tag": "div",
58893 "children": [
58894 {
58895 "comment": "[CDATA[foo]]"
58896 }
58897 ]
58898 }
58899 ]
58900 }
58901 ]
58902 }
58903 ],
58904 "html": "<html><head></head><body><div><!--[CDATA[foo]]--></div></body></html>",
58905 "noQuirksBodyHtml": "<div><!--[CDATA[foo]]--></div>"
58906 }
58907 },
58908 {
58909 "data": "<svg><![CDATA[foo",
58910 "errors": [
58911 "(1,5): expected-doctype-but-got-start-tag",
58912 "(1,17): expected-closing-tag-but-got-eof"
58913 ],
58914 "document": {
58915 "props": {
58916 "tags": {
58917 "html": true,
58918 "head": true,
58919 "body": true,
58920 "svg svg": true
58921 }
58922 },
58923 "tree": [
58924 {
58925 "tag": "html",
58926 "children": [
58927 {
58928 "tag": "head"
58929 },
58930 {
58931 "tag": "body",
58932 "children": [
58933 {
58934 "tag": "svg",
58935 "ns": "http://www.w3.org/2000/svg",
58936 "children": [
58937 {
58938 "text": "foo"
58939 }
58940 ]
58941 }
58942 ]
58943 }
58944 ]
58945 }
58946 ],
58947 "html": "<html><head></head><body><svg>foo</svg></body></html>",
58948 "noQuirksBodyHtml": "<svg>foo</svg>"
58949 }
58950 },
58951 {
58952 "data": "<svg><![CDATA[foo",
58953 "errors": [
58954 "(1,5): expected-doctype-but-got-start-tag",
58955 "(1,17): expected-closing-tag-but-got-eof"
58956 ],
58957 "document": {
58958 "props": {
58959 "tags": {
58960 "html": true,
58961 "head": true,
58962 "body": true,
58963 "svg svg": true
58964 }
58965 },
58966 "tree": [
58967 {
58968 "tag": "html",
58969 "children": [
58970 {
58971 "tag": "head"
58972 },
58973 {
58974 "tag": "body",
58975 "children": [
58976 {
58977 "tag": "svg",
58978 "ns": "http://www.w3.org/2000/svg",
58979 "children": [
58980 {
58981 "text": "foo"
58982 }
58983 ]
58984 }
58985 ]
58986 }
58987 ]
58988 }
58989 ],
58990 "html": "<html><head></head><body><svg>foo</svg></body></html>",
58991 "noQuirksBodyHtml": "<svg>foo</svg>"
58992 }
58993 },
58994 {
58995 "data": "<svg><![CDATA[",
58996 "errors": [
58997 "(1,5): expected-doctype-but-got-start-tag",
58998 "(1,14): expected-closing-tag-but-got-eof"
58999 ],
59000 "document": {
59001 "props": {
59002 "tags": {
59003 "html": true,
59004 "head": true,
59005 "body": true,
59006 "svg svg": true
59007 }
59008 },
59009 "tree": [
59010 {
59011 "tag": "html",
59012 "children": [
59013 {
59014 "tag": "head"
59015 },
59016 {
59017 "tag": "body",
59018 "children": [
59019 {
59020 "tag": "svg",
59021 "ns": "http://www.w3.org/2000/svg"
59022 }
59023 ]
59024 }
59025 ]
59026 }
59027 ],
59028 "html": "<html><head></head><body><svg></svg></body></html>",
59029 "noQuirksBodyHtml": "<svg></svg>"
59030 }
59031 },
59032 {
59033 "data": "<svg><![CDATA[]]>",
59034 "errors": [
59035 "(1,5): expected-doctype-but-got-start-tag",
59036 "(1,17): expected-closing-tag-but-got-eof"
59037 ],
59038 "document": {
59039 "props": {
59040 "tags": {
59041 "html": true,
59042 "head": true,
59043 "body": true,
59044 "svg svg": true
59045 }
59046 },
59047 "tree": [
59048 {
59049 "tag": "html",
59050 "children": [
59051 {
59052 "tag": "head"
59053 },
59054 {
59055 "tag": "body",
59056 "children": [
59057 {
59058 "tag": "svg",
59059 "ns": "http://www.w3.org/2000/svg"
59060 }
59061 ]
59062 }
59063 ]
59064 }
59065 ],
59066 "html": "<html><head></head><body><svg></svg></body></html>",
59067 "noQuirksBodyHtml": "<svg></svg>"
59068 }
59069 },
59070 {
59071 "data": "<svg><![CDATA[]] >]]>",
59072 "errors": [
59073 "(1,5): expected-doctype-but-got-start-tag",
59074 "(1,21): expected-closing-tag-but-got-eof"
59075 ],
59076 "document": {
59077 "props": {
59078 "tags": {
59079 "html": true,
59080 "head": true,
59081 "body": true,
59082 "svg svg": true
59083 },
59084 "escaped": true
59085 },
59086 "tree": [
59087 {
59088 "tag": "html",
59089 "children": [
59090 {
59091 "tag": "head"
59092 },
59093 {
59094 "tag": "body",
59095 "children": [
59096 {
59097 "tag": "svg",
59098 "ns": "http://www.w3.org/2000/svg",
59099 "children": [
59100 {
59101 "text": "]] >",
59102 "escaped": true
59103 }
59104 ]
59105 }
59106 ]
59107 }
59108 ]
59109 }
59110 ],
59111 "html": "<html><head></head><body><svg>]] &gt;</svg></body></html>",
59112 "noQuirksBodyHtml": "<svg>]] &gt;</svg>"
59113 }
59114 },
59115 {
59116 "data": "<svg><![CDATA[]] >]]>",
59117 "errors": [
59118 "(1,5): expected-doctype-but-got-start-tag",
59119 "(1,21): expected-closing-tag-but-got-eof"
59120 ],
59121 "document": {
59122 "props": {
59123 "tags": {
59124 "html": true,
59125 "head": true,
59126 "body": true,
59127 "svg svg": true
59128 },
59129 "escaped": true
59130 },
59131 "tree": [
59132 {
59133 "tag": "html",
59134 "children": [
59135 {
59136 "tag": "head"
59137 },
59138 {
59139 "tag": "body",
59140 "children": [
59141 {
59142 "tag": "svg",
59143 "ns": "http://www.w3.org/2000/svg",
59144 "children": [
59145 {
59146 "text": "]] >",
59147 "escaped": true
59148 }
59149 ]
59150 }
59151 ]
59152 }
59153 ]
59154 }
59155 ],
59156 "html": "<html><head></head><body><svg>]] &gt;</svg></body></html>",
59157 "noQuirksBodyHtml": "<svg>]] &gt;</svg>"
59158 }
59159 },
59160 {
59161 "data": "<svg><![CDATA[]]",
59162 "errors": [
59163 "(1,5): expected-doctype-but-got-start-tag",
59164 "(1,16): expected-closing-tag-but-got-eof"
59165 ],
59166 "document": {
59167 "props": {
59168 "tags": {
59169 "html": true,
59170 "head": true,
59171 "body": true,
59172 "svg svg": true
59173 }
59174 },
59175 "tree": [
59176 {
59177 "tag": "html",
59178 "children": [
59179 {
59180 "tag": "head"
59181 },
59182 {
59183 "tag": "body",
59184 "children": [
59185 {
59186 "tag": "svg",
59187 "ns": "http://www.w3.org/2000/svg",
59188 "children": [
59189 {
59190 "text": "]]"
59191 }
59192 ]
59193 }
59194 ]
59195 }
59196 ]
59197 }
59198 ],
59199 "html": "<html><head></head><body><svg>]]</svg></body></html>",
59200 "noQuirksBodyHtml": "<svg>]]</svg>"
59201 }
59202 },
59203 {
59204 "data": "<svg><![CDATA[]",
59205 "errors": [
59206 "(1,5): expected-doctype-but-got-start-tag",
59207 "(1,15): expected-closing-tag-but-got-eof"
59208 ],
59209 "document": {
59210 "props": {
59211 "tags": {
59212 "html": true,
59213 "head": true,
59214 "body": true,
59215 "svg svg": true
59216 }
59217 },
59218 "tree": [
59219 {
59220 "tag": "html",
59221 "children": [
59222 {
59223 "tag": "head"
59224 },
59225 {
59226 "tag": "body",
59227 "children": [
59228 {
59229 "tag": "svg",
59230 "ns": "http://www.w3.org/2000/svg",
59231 "children": [
59232 {
59233 "text": "]"
59234 }
59235 ]
59236 }
59237 ]
59238 }
59239 ]
59240 }
59241 ],
59242 "html": "<html><head></head><body><svg>]</svg></body></html>",
59243 "noQuirksBodyHtml": "<svg>]</svg>"
59244 }
59245 },
59246 {
59247 "data": "<svg><![CDATA[]>a",
59248 "errors": [
59249 "(1,5): expected-doctype-but-got-start-tag",
59250 "(1,17): expected-closing-tag-but-got-eof"
59251 ],
59252 "document": {
59253 "props": {
59254 "tags": {
59255 "html": true,
59256 "head": true,
59257 "body": true,
59258 "svg svg": true
59259 },
59260 "escaped": true
59261 },
59262 "tree": [
59263 {
59264 "tag": "html",
59265 "children": [
59266 {
59267 "tag": "head"
59268 },
59269 {
59270 "tag": "body",
59271 "children": [
59272 {
59273 "tag": "svg",
59274 "ns": "http://www.w3.org/2000/svg",
59275 "children": [
59276 {
59277 "text": "]>a",
59278 "escaped": true
59279 }
59280 ]
59281 }
59282 ]
59283 }
59284 ]
59285 }
59286 ],
59287 "html": "<html><head></head><body><svg>]&gt;a</svg></body></html>",
59288 "noQuirksBodyHtml": "<svg>]&gt;a</svg>"
59289 }
59290 },
59291 {
59292 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]>",
59293 "errors": [
59294 "(1,36): expected-closing-tag-but-got-eof"
59295 ],
59296 "document": {
59297 "props": {
59298 "tags": {
59299 "html": true,
59300 "head": true,
59301 "body": true,
59302 "svg svg": true
59303 },
59304 "doctype": true
59305 },
59306 "tree": [
59307 {
59308 "doctype": "html"
59309 },
59310 {
59311 "tag": "html",
59312 "children": [
59313 {
59314 "tag": "head"
59315 },
59316 {
59317 "tag": "body",
59318 "children": [
59319 {
59320 "tag": "svg",
59321 "ns": "http://www.w3.org/2000/svg",
59322 "children": [
59323 {
59324 "text": "foo]"
59325 }
59326 ]
59327 }
59328 ]
59329 }
59330 ]
59331 }
59332 ],
59333 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]</svg></body></html>",
59334 "noQuirksBodyHtml": "<svg>foo]</svg>"
59335 }
59336 },
59337 {
59338 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]]>",
59339 "errors": [
59340 "(1,37): expected-closing-tag-but-got-eof"
59341 ],
59342 "document": {
59343 "props": {
59344 "tags": {
59345 "html": true,
59346 "head": true,
59347 "body": true,
59348 "svg svg": true
59349 },
59350 "doctype": true
59351 },
59352 "tree": [
59353 {
59354 "doctype": "html"
59355 },
59356 {
59357 "tag": "html",
59358 "children": [
59359 {
59360 "tag": "head"
59361 },
59362 {
59363 "tag": "body",
59364 "children": [
59365 {
59366 "tag": "svg",
59367 "ns": "http://www.w3.org/2000/svg",
59368 "children": [
59369 {
59370 "text": "foo]]"
59371 }
59372 ]
59373 }
59374 ]
59375 }
59376 ]
59377 }
59378 ],
59379 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]]</svg></body></html>",
59380 "noQuirksBodyHtml": "<svg>foo]]</svg>"
59381 }
59382 },
59383 {
59384 "data": "<!DOCTYPE html><svg><![CDATA[foo]]]]]>",
59385 "errors": [
59386 "(1,38): expected-closing-tag-but-got-eof"
59387 ],
59388 "document": {
59389 "props": {
59390 "tags": {
59391 "html": true,
59392 "head": true,
59393 "body": true,
59394 "svg svg": true
59395 },
59396 "doctype": true
59397 },
59398 "tree": [
59399 {
59400 "doctype": "html"
59401 },
59402 {
59403 "tag": "html",
59404 "children": [
59405 {
59406 "tag": "head"
59407 },
59408 {
59409 "tag": "body",
59410 "children": [
59411 {
59412 "tag": "svg",
59413 "ns": "http://www.w3.org/2000/svg",
59414 "children": [
59415 {
59416 "text": "foo]]]"
59417 }
59418 ]
59419 }
59420 ]
59421 }
59422 ]
59423 }
59424 ],
59425 "html": "<!DOCTYPE html><html><head></head><body><svg>foo]]]</svg></body></html>",
59426 "noQuirksBodyHtml": "<svg>foo]]]</svg>"
59427 }
59428 },
59429 {
59430 "data": "<svg><foreignObject><div><![CDATA[foo]]>",
59431 "errors": [
59432 "(1,5): expected-doctype-but-got-start-tag",
59433 "(1,27): expected-dashes-or-doctype",
59434 "(1,40): expected-closing-tag-but-got-eof"
59435 ],
59436 "document": {
59437 "props": {
59438 "tags": {
59439 "html": true,
59440 "head": true,
59441 "body": true,
59442 "svg svg": true,
59443 "svg foreignObject": true,
59444 "div": true
59445 },
59446 "comment": true
59447 },
59448 "tree": [
59449 {
59450 "tag": "html",
59451 "children": [
59452 {
59453 "tag": "head"
59454 },
59455 {
59456 "tag": "body",
59457 "children": [
59458 {
59459 "tag": "svg",
59460 "ns": "http://www.w3.org/2000/svg",
59461 "children": [
59462 {
59463 "tag": "foreignObject",
59464 "ns": "http://www.w3.org/2000/svg",
59465 "children": [
59466 {
59467 "tag": "div",
59468 "children": [
59469 {
59470 "comment": "[CDATA[foo]]"
59471 }
59472 ]
59473 }
59474 ]
59475 }
59476 ]
59477 }
59478 ]
59479 }
59480 ]
59481 }
59482 ],
59483 "html": "<html><head></head><body><svg><foreignObject><div><!--[CDATA[foo]]--></div></foreignObject></svg></body></html>",
59484 "noQuirksBodyHtml": "<svg><foreignObject><div><!--[CDATA[foo]]--></div></foreignObject></svg>"
59485 }
59486 },
59487 {
59488 "data": "<svg><![CDATA[<svg>]]>",
59489 "errors": [
59490 "(1,5): expected-doctype-but-got-start-tag",
59491 "(1,22): expected-closing-tag-but-got-eof"
59492 ],
59493 "document": {
59494 "props": {
59495 "tags": {
59496 "html": true,
59497 "head": true,
59498 "body": true,
59499 "svg svg": true
59500 },
59501 "escaped": true
59502 },
59503 "tree": [
59504 {
59505 "tag": "html",
59506 "children": [
59507 {
59508 "tag": "head"
59509 },
59510 {
59511 "tag": "body",
59512 "children": [
59513 {
59514 "tag": "svg",
59515 "ns": "http://www.w3.org/2000/svg",
59516 "children": [
59517 {
59518 "text": "<svg>",
59519 "escaped": true
59520 }
59521 ]
59522 }
59523 ]
59524 }
59525 ]
59526 }
59527 ],
59528 "html": "<html><head></head><body><svg>&lt;svg&gt;</svg></body></html>",
59529 "noQuirksBodyHtml": "<svg>&lt;svg&gt;</svg>"
59530 }
59531 },
59532 {
59533 "data": "<svg><![CDATA[</svg>a]]>",
59534 "errors": [
59535 "(1,5): expected-doctype-but-got-start-tag",
59536 "(1,24): expected-closing-tag-but-got-eof"
59537 ],
59538 "document": {
59539 "props": {
59540 "tags": {
59541 "html": true,
59542 "head": true,
59543 "body": true,
59544 "svg svg": true
59545 },
59546 "escaped": true
59547 },
59548 "tree": [
59549 {
59550 "tag": "html",
59551 "children": [
59552 {
59553 "tag": "head"
59554 },
59555 {
59556 "tag": "body",
59557 "children": [
59558 {
59559 "tag": "svg",
59560 "ns": "http://www.w3.org/2000/svg",
59561 "children": [
59562 {
59563 "text": "</svg>a",
59564 "escaped": true
59565 }
59566 ]
59567 }
59568 ]
59569 }
59570 ]
59571 }
59572 ],
59573 "html": "<html><head></head><body><svg>&lt;/svg&gt;a</svg></body></html>",
59574 "noQuirksBodyHtml": "<svg>&lt;/svg&gt;a</svg>"
59575 }
59576 },
59577 {
59578 "data": "<svg><![CDATA[<svg>a",
59579 "errors": [
59580 "(1,5): expected-doctype-but-got-start-tag",
59581 "(1,20): expected-closing-tag-but-got-eof"
59582 ],
59583 "document": {
59584 "props": {
59585 "tags": {
59586 "html": true,
59587 "head": true,
59588 "body": true,
59589 "svg svg": true
59590 },
59591 "escaped": true
59592 },
59593 "tree": [
59594 {
59595 "tag": "html",
59596 "children": [
59597 {
59598 "tag": "head"
59599 },
59600 {
59601 "tag": "body",
59602 "children": [
59603 {
59604 "tag": "svg",
59605 "ns": "http://www.w3.org/2000/svg",
59606 "children": [
59607 {
59608 "text": "<svg>a",
59609 "escaped": true
59610 }
59611 ]
59612 }
59613 ]
59614 }
59615 ]
59616 }
59617 ],
59618 "html": "<html><head></head><body><svg>&lt;svg&gt;a</svg></body></html>",
59619 "noQuirksBodyHtml": "<svg>&lt;svg&gt;a</svg>"
59620 }
59621 },
59622 {
59623 "data": "<svg><![CDATA[</svg>a",
59624 "errors": [
59625 "(1,5): expected-doctype-but-got-start-tag",
59626 "(1,21): expected-closing-tag-but-got-eof"
59627 ],
59628 "document": {
59629 "props": {
59630 "tags": {
59631 "html": true,
59632 "head": true,
59633 "body": true,
59634 "svg svg": true
59635 },
59636 "escaped": true
59637 },
59638 "tree": [
59639 {
59640 "tag": "html",
59641 "children": [
59642 {
59643 "tag": "head"
59644 },
59645 {
59646 "tag": "body",
59647 "children": [
59648 {
59649 "tag": "svg",
59650 "ns": "http://www.w3.org/2000/svg",
59651 "children": [
59652 {
59653 "text": "</svg>a",
59654 "escaped": true
59655 }
59656 ]
59657 }
59658 ]
59659 }
59660 ]
59661 }
59662 ],
59663 "html": "<html><head></head><body><svg>&lt;/svg&gt;a</svg></body></html>",
59664 "noQuirksBodyHtml": "<svg>&lt;/svg&gt;a</svg>"
59665 }
59666 },
59667 {
59668 "data": "<svg><![CDATA[<svg>]]><path>",
59669 "errors": [
59670 "(1,5): expected-doctype-but-got-start-tag",
59671 "(1,28): expected-closing-tag-but-got-eof"
59672 ],
59673 "document": {
59674 "props": {
59675 "tags": {
59676 "html": true,
59677 "head": true,
59678 "body": true,
59679 "svg svg": true,
59680 "svg path": true
59681 },
59682 "escaped": true
59683 },
59684 "tree": [
59685 {
59686 "tag": "html",
59687 "children": [
59688 {
59689 "tag": "head"
59690 },
59691 {
59692 "tag": "body",
59693 "children": [
59694 {
59695 "tag": "svg",
59696 "ns": "http://www.w3.org/2000/svg",
59697 "children": [
59698 {
59699 "text": "<svg>",
59700 "escaped": true
59701 },
59702 {
59703 "tag": "path",
59704 "ns": "http://www.w3.org/2000/svg"
59705 }
59706 ]
59707 }
59708 ]
59709 }
59710 ]
59711 }
59712 ],
59713 "html": "<html><head></head><body><svg>&lt;svg&gt;<path></path></svg></body></html>",
59714 "noQuirksBodyHtml": "<svg>&lt;svg&gt;<path></path></svg>"
59715 }
59716 },
59717 {
59718 "data": "<svg><![CDATA[<svg>]]></path>",
59719 "errors": [
59720 "(1,5): expected-doctype-but-got-start-tag",
59721 "(1,29): unexpected-end-tag",
59722 "(1,29): unexpected-end-tag",
59723 "(1,29): expected-closing-tag-but-got-eof"
59724 ],
59725 "document": {
59726 "props": {
59727 "tags": {
59728 "html": true,
59729 "head": true,
59730 "body": true,
59731 "svg svg": true
59732 },
59733 "escaped": true
59734 },
59735 "tree": [
59736 {
59737 "tag": "html",
59738 "children": [
59739 {
59740 "tag": "head"
59741 },
59742 {
59743 "tag": "body",
59744 "children": [
59745 {
59746 "tag": "svg",
59747 "ns": "http://www.w3.org/2000/svg",
59748 "children": [
59749 {
59750 "text": "<svg>",
59751 "escaped": true
59752 }
59753 ]
59754 }
59755 ]
59756 }
59757 ]
59758 }
59759 ],
59760 "html": "<html><head></head><body><svg>&lt;svg&gt;</svg></body></html>",
59761 "noQuirksBodyHtml": "<svg>&lt;svg&gt;</svg>"
59762 }
59763 },
59764 {
59765 "data": "<svg><![CDATA[<svg>]]><!--path-->",
59766 "errors": [
59767 "(1,5): expected-doctype-but-got-start-tag",
59768 "(1,33): expected-closing-tag-but-got-eof"
59769 ],
59770 "document": {
59771 "props": {
59772 "tags": {
59773 "html": true,
59774 "head": true,
59775 "body": true,
59776 "svg svg": true
59777 },
59778 "escaped": true,
59779 "comment": true
59780 },
59781 "tree": [
59782 {
59783 "tag": "html",
59784 "children": [
59785 {
59786 "tag": "head"
59787 },
59788 {
59789 "tag": "body",
59790 "children": [
59791 {
59792 "tag": "svg",
59793 "ns": "http://www.w3.org/2000/svg",
59794 "children": [
59795 {
59796 "text": "<svg>",
59797 "escaped": true
59798 },
59799 {
59800 "comment": "path"
59801 }
59802 ]
59803 }
59804 ]
59805 }
59806 ]
59807 }
59808 ],
59809 "html": "<html><head></head><body><svg>&lt;svg&gt;<!--path--></svg></body></html>",
59810 "noQuirksBodyHtml": "<svg>&lt;svg&gt;<!--path--></svg>"
59811 }
59812 },
59813 {
59814 "data": "<svg><![CDATA[<svg>]]>path",
59815 "errors": [
59816 "(1,5): expected-doctype-but-got-start-tag",
59817 "(1,26): expected-closing-tag-but-got-eof"
59818 ],
59819 "document": {
59820 "props": {
59821 "tags": {
59822 "html": true,
59823 "head": true,
59824 "body": true,
59825 "svg svg": true
59826 },
59827 "escaped": true
59828 },
59829 "tree": [
59830 {
59831 "tag": "html",
59832 "children": [
59833 {
59834 "tag": "head"
59835 },
59836 {
59837 "tag": "body",
59838 "children": [
59839 {
59840 "tag": "svg",
59841 "ns": "http://www.w3.org/2000/svg",
59842 "children": [
59843 {
59844 "text": "<svg>path",
59845 "escaped": true
59846 }
59847 ]
59848 }
59849 ]
59850 }
59851 ]
59852 }
59853 ],
59854 "html": "<html><head></head><body><svg>&lt;svg&gt;path</svg></body></html>",
59855 "noQuirksBodyHtml": "<svg>&lt;svg&gt;path</svg>"
59856 }
59857 },
59858 {
59859 "data": "<svg><![CDATA[<!--svg-->]]>",
59860 "errors": [
59861 "(1,5): expected-doctype-but-got-start-tag",
59862 "(1,27): expected-closing-tag-but-got-eof"
59863 ],
59864 "document": {
59865 "props": {
59866 "tags": {
59867 "html": true,
59868 "head": true,
59869 "body": true,
59870 "svg svg": true
59871 },
59872 "escaped": true
59873 },
59874 "tree": [
59875 {
59876 "tag": "html",
59877 "children": [
59878 {
59879 "tag": "head"
59880 },
59881 {
59882 "tag": "body",
59883 "children": [
59884 {
59885 "tag": "svg",
59886 "ns": "http://www.w3.org/2000/svg",
59887 "children": [
59888 {
59889 "text": "<!--svg-->",
59890 "escaped": true
59891 }
59892 ]
59893 }
59894 ]
59895 }
59896 ]
59897 }
59898 ],
59899 "html": "<html><head></head><body><svg>&lt;!--svg--&gt;</svg></body></html>",
59900 "noQuirksBodyHtml": "<svg>&lt;!--svg--&gt;</svg>"
59901 }
59902 }
59903 ],
59904 "tests22.dat": [
59905 {
59906 "data": "<a><b><big><em><strong><div>X</a>",
59907 "errors": [
59908 "(1,3): expected-doctype-but-got-start-tag",
59909 "(1,33): adoption-agency-1.3",
59910 "(1,33): expected-closing-tag-but-got-eof"
59911 ],
59912 "document": {
59913 "props": {
59914 "tags": {
59915 "html": true,
59916 "head": true,
59917 "body": true,
59918 "a": true,
59919 "b": true,
59920 "big": true,
59921 "em": true,
59922 "strong": true,
59923 "div": true
59924 }
59925 },
59926 "tree": [
59927 {
59928 "tag": "html",
59929 "children": [
59930 {
59931 "tag": "head"
59932 },
59933 {
59934 "tag": "body",
59935 "children": [
59936 {
59937 "tag": "a",
59938 "children": [
59939 {
59940 "tag": "b",
59941 "children": [
59942 {
59943 "tag": "big",
59944 "children": [
59945 {
59946 "tag": "em",
59947 "children": [
59948 {
59949 "tag": "strong"
59950 }
59951 ]
59952 }
59953 ]
59954 }
59955 ]
59956 }
59957 ]
59958 },
59959 {
59960 "tag": "big",
59961 "children": [
59962 {
59963 "tag": "em",
59964 "children": [
59965 {
59966 "tag": "strong",
59967 "children": [
59968 {
59969 "tag": "div",
59970 "children": [
59971 {
59972 "tag": "a",
59973 "children": [
59974 {
59975 "text": "X"
59976 }
59977 ]
59978 }
59979 ]
59980 }
59981 ]
59982 }
59983 ]
59984 }
59985 ]
59986 }
59987 ]
59988 }
59989 ]
59990 }
59991 ],
59992 "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>",
59993 "noQuirksBodyHtml": "<a><b><big><em><strong></strong></em></big></b></a><big><em><strong><div><a>X</a></div></strong></em></big>"
59994 }
59995 },
59996 {
59997 "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>",
59998 "errors": [
59999 "(1,3): expected-doctype-but-got-start-tag",
60000 "(1,91): adoption-agency-1.3",
60001 "(1,91): adoption-agency-1.3",
60002 "(1,91): adoption-agency-1.3",
60003 "(1,91): adoption-agency-1.3",
60004 "(1,91): adoption-agency-1.3",
60005 "(1,91): adoption-agency-1.3",
60006 "(1,91): adoption-agency-1.3",
60007 "(1,91): adoption-agency-1.3",
60008 "(1,91): expected-closing-tag-but-got-eof"
60009 ],
60010 "document": {
60011 "props": {
60012 "tags": {
60013 "html": true,
60014 "head": true,
60015 "body": true,
60016 "a": true,
60017 "b": true,
60018 "div": true
60019 }
60020 },
60021 "tree": [
60022 {
60023 "tag": "html",
60024 "children": [
60025 {
60026 "tag": "head"
60027 },
60028 {
60029 "tag": "body",
60030 "children": [
60031 {
60032 "tag": "a",
60033 "children": [
60034 {
60035 "tag": "b"
60036 }
60037 ]
60038 },
60039 {
60040 "tag": "b",
60041 "children": [
60042 {
60043 "tag": "div",
60044 "attrs": [
60045 {
60046 "name": "id",
60047 "value": "1"
60048 }
60049 ],
60050 "children": [
60051 {
60052 "tag": "a"
60053 },
60054 {
60055 "tag": "div",
60056 "attrs": [
60057 {
60058 "name": "id",
60059 "value": "2"
60060 }
60061 ],
60062 "children": [
60063 {
60064 "tag": "a"
60065 },
60066 {
60067 "tag": "div",
60068 "attrs": [
60069 {
60070 "name": "id",
60071 "value": "3"
60072 }
60073 ],
60074 "children": [
60075 {
60076 "tag": "a"
60077 },
60078 {
60079 "tag": "div",
60080 "attrs": [
60081 {
60082 "name": "id",
60083 "value": "4"
60084 }
60085 ],
60086 "children": [
60087 {
60088 "tag": "a"
60089 },
60090 {
60091 "tag": "div",
60092 "attrs": [
60093 {
60094 "name": "id",
60095 "value": "5"
60096 }
60097 ],
60098 "children": [
60099 {
60100 "tag": "a"
60101 },
60102 {
60103 "tag": "div",
60104 "attrs": [
60105 {
60106 "name": "id",
60107 "value": "6"
60108 }
60109 ],
60110 "children": [
60111 {
60112 "tag": "a"
60113 },
60114 {
60115 "tag": "div",
60116 "attrs": [
60117 {
60118 "name": "id",
60119 "value": "7"
60120 }
60121 ],
60122 "children": [
60123 {
60124 "tag": "a"
60125 },
60126 {
60127 "tag": "div",
60128 "attrs": [
60129 {
60130 "name": "id",
60131 "value": "8"
60132 }
60133 ],
60134 "children": [
60135 {
60136 "tag": "a",
60137 "children": [
60138 {
60139 "text": "A"
60140 }
60141 ]
60142 }
60143 ]
60144 }
60145 ]
60146 }
60147 ]
60148 }
60149 ]
60150 }
60151 ]
60152 }
60153 ]
60154 }
60155 ]
60156 }
60157 ]
60158 }
60159 ]
60160 }
60161 ]
60162 }
60163 ]
60164 }
60165 ],
60166 "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>",
60167 "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>"
60168 }
60169 },
60170 {
60171 "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>",
60172 "errors": [
60173 "(1,3): expected-doctype-but-got-start-tag",
60174 "(1,101): adoption-agency-1.3",
60175 "(1,101): adoption-agency-1.3",
60176 "(1,101): adoption-agency-1.3",
60177 "(1,101): adoption-agency-1.3",
60178 "(1,101): adoption-agency-1.3",
60179 "(1,101): adoption-agency-1.3",
60180 "(1,101): adoption-agency-1.3",
60181 "(1,101): adoption-agency-1.3",
60182 "(1,101): expected-closing-tag-but-got-eof"
60183 ],
60184 "document": {
60185 "props": {
60186 "tags": {
60187 "html": true,
60188 "head": true,
60189 "body": true,
60190 "a": true,
60191 "b": true,
60192 "div": true
60193 }
60194 },
60195 "tree": [
60196 {
60197 "tag": "html",
60198 "children": [
60199 {
60200 "tag": "head"
60201 },
60202 {
60203 "tag": "body",
60204 "children": [
60205 {
60206 "tag": "a",
60207 "children": [
60208 {
60209 "tag": "b"
60210 }
60211 ]
60212 },
60213 {
60214 "tag": "b",
60215 "children": [
60216 {
60217 "tag": "div",
60218 "attrs": [
60219 {
60220 "name": "id",
60221 "value": "1"
60222 }
60223 ],
60224 "children": [
60225 {
60226 "tag": "a"
60227 },
60228 {
60229 "tag": "div",
60230 "attrs": [
60231 {
60232 "name": "id",
60233 "value": "2"
60234 }
60235 ],
60236 "children": [
60237 {
60238 "tag": "a"
60239 },
60240 {
60241 "tag": "div",
60242 "attrs": [
60243 {
60244 "name": "id",
60245 "value": "3"
60246 }
60247 ],
60248 "children": [
60249 {
60250 "tag": "a"
60251 },
60252 {
60253 "tag": "div",
60254 "attrs": [
60255 {
60256 "name": "id",
60257 "value": "4"
60258 }
60259 ],
60260 "children": [
60261 {
60262 "tag": "a"
60263 },
60264 {
60265 "tag": "div",
60266 "attrs": [
60267 {
60268 "name": "id",
60269 "value": "5"
60270 }
60271 ],
60272 "children": [
60273 {
60274 "tag": "a"
60275 },
60276 {
60277 "tag": "div",
60278 "attrs": [
60279 {
60280 "name": "id",
60281 "value": "6"
60282 }
60283 ],
60284 "children": [
60285 {
60286 "tag": "a"
60287 },
60288 {
60289 "tag": "div",
60290 "attrs": [
60291 {
60292 "name": "id",
60293 "value": "7"
60294 }
60295 ],
60296 "children": [
60297 {
60298 "tag": "a"
60299 },
60300 {
60301 "tag": "div",
60302 "attrs": [
60303 {
60304 "name": "id",
60305 "value": "8"
60306 }
60307 ],
60308 "children": [
60309 {
60310 "tag": "a",
60311 "children": [
60312 {
60313 "tag": "div",
60314 "attrs": [
60315 {
60316 "name": "id",
60317 "value": "9"
60318 }
60319 ],
60320 "children": [
60321 {
60322 "text": "A"
60323 }
60324 ]
60325 }
60326 ]
60327 }
60328 ]
60329 }
60330 ]
60331 }
60332 ]
60333 }
60334 ]
60335 }
60336 ]
60337 }
60338 ]
60339 }
60340 ]
60341 }
60342 ]
60343 }
60344 ]
60345 }
60346 ]
60347 }
60348 ]
60349 }
60350 ],
60351 "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>",
60352 "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>"
60353 }
60354 },
60355 {
60356 "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>",
60357 "errors": [
60358 "(1,3): expected-doctype-but-got-start-tag",
60359 "(1,112): adoption-agency-1.3",
60360 "(1,112): adoption-agency-1.3",
60361 "(1,112): adoption-agency-1.3",
60362 "(1,112): adoption-agency-1.3",
60363 "(1,112): adoption-agency-1.3",
60364 "(1,112): adoption-agency-1.3",
60365 "(1,112): adoption-agency-1.3",
60366 "(1,112): adoption-agency-1.3",
60367 "(1,112): expected-closing-tag-but-got-eof"
60368 ],
60369 "document": {
60370 "props": {
60371 "tags": {
60372 "html": true,
60373 "head": true,
60374 "body": true,
60375 "a": true,
60376 "b": true,
60377 "div": true
60378 }
60379 },
60380 "tree": [
60381 {
60382 "tag": "html",
60383 "children": [
60384 {
60385 "tag": "head"
60386 },
60387 {
60388 "tag": "body",
60389 "children": [
60390 {
60391 "tag": "a",
60392 "children": [
60393 {
60394 "tag": "b"
60395 }
60396 ]
60397 },
60398 {
60399 "tag": "b",
60400 "children": [
60401 {
60402 "tag": "div",
60403 "attrs": [
60404 {
60405 "name": "id",
60406 "value": "1"
60407 }
60408 ],
60409 "children": [
60410 {
60411 "tag": "a"
60412 },
60413 {
60414 "tag": "div",
60415 "attrs": [
60416 {
60417 "name": "id",
60418 "value": "2"
60419 }
60420 ],
60421 "children": [
60422 {
60423 "tag": "a"
60424 },
60425 {
60426 "tag": "div",
60427 "attrs": [
60428 {
60429 "name": "id",
60430 "value": "3"
60431 }
60432 ],
60433 "children": [
60434 {
60435 "tag": "a"
60436 },
60437 {
60438 "tag": "div",
60439 "attrs": [
60440 {
60441 "name": "id",
60442 "value": "4"
60443 }
60444 ],
60445 "children": [
60446 {
60447 "tag": "a"
60448 },
60449 {
60450 "tag": "div",
60451 "attrs": [
60452 {
60453 "name": "id",
60454 "value": "5"
60455 }
60456 ],
60457 "children": [
60458 {
60459 "tag": "a"
60460 },
60461 {
60462 "tag": "div",
60463 "attrs": [
60464 {
60465 "name": "id",
60466 "value": "6"
60467 }
60468 ],
60469 "children": [
60470 {
60471 "tag": "a"
60472 },
60473 {
60474 "tag": "div",
60475 "attrs": [
60476 {
60477 "name": "id",
60478 "value": "7"
60479 }
60480 ],
60481 "children": [
60482 {
60483 "tag": "a"
60484 },
60485 {
60486 "tag": "div",
60487 "attrs": [
60488 {
60489 "name": "id",
60490 "value": "8"
60491 }
60492 ],
60493 "children": [
60494 {
60495 "tag": "a",
60496 "children": [
60497 {
60498 "tag": "div",
60499 "attrs": [
60500 {
60501 "name": "id",
60502 "value": "9"
60503 }
60504 ],
60505 "children": [
60506 {
60507 "tag": "div",
60508 "attrs": [
60509 {
60510 "name": "id",
60511 "value": "10"
60512 }
60513 ],
60514 "children": [
60515 {
60516 "text": "A"
60517 }
60518 ]
60519 }
60520 ]
60521 }
60522 ]
60523 }
60524 ]
60525 }
60526 ]
60527 }
60528 ]
60529 }
60530 ]
60531 }
60532 ]
60533 }
60534 ]
60535 }
60536 ]
60537 }
60538 ]
60539 }
60540 ]
60541 }
60542 ]
60543 }
60544 ]
60545 }
60546 ],
60547 "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>",
60548 "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>"
60549 }
60550 },
60551 {
60552 "data": "<cite><b><cite><i><cite><i><cite><i><div>X</b>TEST",
60553 "errors": [
60554 "(1,6): expected-doctype-but-got-start-tag",
60555 "(1,46): adoption-agency-1.3",
60556 "(1,50): expected-closing-tag-but-got-eof"
60557 ],
60558 "document": {
60559 "props": {
60560 "tags": {
60561 "html": true,
60562 "head": true,
60563 "body": true,
60564 "cite": true,
60565 "b": true,
60566 "i": true,
60567 "div": true
60568 }
60569 },
60570 "tree": [
60571 {
60572 "tag": "html",
60573 "children": [
60574 {
60575 "tag": "head"
60576 },
60577 {
60578 "tag": "body",
60579 "children": [
60580 {
60581 "tag": "cite",
60582 "children": [
60583 {
60584 "tag": "b",
60585 "children": [
60586 {
60587 "tag": "cite",
60588 "children": [
60589 {
60590 "tag": "i",
60591 "children": [
60592 {
60593 "tag": "cite",
60594 "children": [
60595 {
60596 "tag": "i",
60597 "children": [
60598 {
60599 "tag": "cite",
60600 "children": [
60601 {
60602 "tag": "i"
60603 }
60604 ]
60605 }
60606 ]
60607 }
60608 ]
60609 }
60610 ]
60611 }
60612 ]
60613 }
60614 ]
60615 },
60616 {
60617 "tag": "i",
60618 "children": [
60619 {
60620 "tag": "i",
60621 "children": [
60622 {
60623 "tag": "div",
60624 "children": [
60625 {
60626 "tag": "b",
60627 "children": [
60628 {
60629 "text": "X"
60630 }
60631 ]
60632 },
60633 {
60634 "text": "TEST"
60635 }
60636 ]
60637 }
60638 ]
60639 }
60640 ]
60641 }
60642 ]
60643 }
60644 ]
60645 }
60646 ]
60647 }
60648 ],
60649 "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>",
60650 "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>"
60651 }
60652 }
60653 ],
60654 "tests23.dat": [
60655 {
60656 "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",
60657 "errors": [
60658 "(1,3): expected-doctype-but-got-start-tag",
60659 "(1,116): unexpected-end-tag",
60660 "(1,117): expected-closing-tag-but-got-eof"
60661 ],
60662 "document": {
60663 "props": {
60664 "tags": {
60665 "html": true,
60666 "head": true,
60667 "body": true,
60668 "p": true,
60669 "font": true
60670 }
60671 },
60672 "tree": [
60673 {
60674 "tag": "html",
60675 "children": [
60676 {
60677 "tag": "head"
60678 },
60679 {
60680 "tag": "body",
60681 "children": [
60682 {
60683 "tag": "p",
60684 "children": [
60685 {
60686 "tag": "font",
60687 "attrs": [
60688 {
60689 "name": "size",
60690 "value": "4"
60691 }
60692 ],
60693 "children": [
60694 {
60695 "tag": "font",
60696 "attrs": [
60697 {
60698 "name": "color",
60699 "value": "red"
60700 }
60701 ],
60702 "children": [
60703 {
60704 "tag": "font",
60705 "attrs": [
60706 {
60707 "name": "size",
60708 "value": "4"
60709 }
60710 ],
60711 "children": [
60712 {
60713 "tag": "font",
60714 "attrs": [
60715 {
60716 "name": "size",
60717 "value": "4"
60718 }
60719 ],
60720 "children": [
60721 {
60722 "tag": "font",
60723 "attrs": [
60724 {
60725 "name": "size",
60726 "value": "4"
60727 }
60728 ],
60729 "children": [
60730 {
60731 "tag": "font",
60732 "attrs": [
60733 {
60734 "name": "size",
60735 "value": "4"
60736 }
60737 ],
60738 "children": [
60739 {
60740 "tag": "font",
60741 "attrs": [
60742 {
60743 "name": "size",
60744 "value": "4"
60745 }
60746 ],
60747 "children": [
60748 {
60749 "tag": "font",
60750 "attrs": [
60751 {
60752 "name": "color",
60753 "value": "red"
60754 }
60755 ]
60756 }
60757 ]
60758 }
60759 ]
60760 }
60761 ]
60762 }
60763 ]
60764 }
60765 ]
60766 }
60767 ]
60768 }
60769 ]
60770 }
60771 ]
60772 },
60773 {
60774 "tag": "p",
60775 "children": [
60776 {
60777 "tag": "font",
60778 "attrs": [
60779 {
60780 "name": "color",
60781 "value": "red"
60782 }
60783 ],
60784 "children": [
60785 {
60786 "tag": "font",
60787 "attrs": [
60788 {
60789 "name": "size",
60790 "value": "4"
60791 }
60792 ],
60793 "children": [
60794 {
60795 "tag": "font",
60796 "attrs": [
60797 {
60798 "name": "size",
60799 "value": "4"
60800 }
60801 ],
60802 "children": [
60803 {
60804 "tag": "font",
60805 "attrs": [
60806 {
60807 "name": "size",
60808 "value": "4"
60809 }
60810 ],
60811 "children": [
60812 {
60813 "tag": "font",
60814 "attrs": [
60815 {
60816 "name": "color",
60817 "value": "red"
60818 }
60819 ],
60820 "children": [
60821 {
60822 "text": "X"
60823 }
60824 ]
60825 }
60826 ]
60827 }
60828 ]
60829 }
60830 ]
60831 }
60832 ]
60833 }
60834 ]
60835 }
60836 ]
60837 }
60838 ]
60839 }
60840 ],
60841 "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>",
60842 "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>"
60843 }
60844 },
60845 {
60846 "data": "<p><font size=4><font size=4><font size=4><font size=4><p>X",
60847 "errors": [
60848 "(1,3): expected-doctype-but-got-start-tag",
60849 "(1,58): unexpected-end-tag",
60850 "(1,59): expected-closing-tag-but-got-eof"
60851 ],
60852 "document": {
60853 "props": {
60854 "tags": {
60855 "html": true,
60856 "head": true,
60857 "body": true,
60858 "p": true,
60859 "font": true
60860 }
60861 },
60862 "tree": [
60863 {
60864 "tag": "html",
60865 "children": [
60866 {
60867 "tag": "head"
60868 },
60869 {
60870 "tag": "body",
60871 "children": [
60872 {
60873 "tag": "p",
60874 "children": [
60875 {
60876 "tag": "font",
60877 "attrs": [
60878 {
60879 "name": "size",
60880 "value": "4"
60881 }
60882 ],
60883 "children": [
60884 {
60885 "tag": "font",
60886 "attrs": [
60887 {
60888 "name": "size",
60889 "value": "4"
60890 }
60891 ],
60892 "children": [
60893 {
60894 "tag": "font",
60895 "attrs": [
60896 {
60897 "name": "size",
60898 "value": "4"
60899 }
60900 ],
60901 "children": [
60902 {
60903 "tag": "font",
60904 "attrs": [
60905 {
60906 "name": "size",
60907 "value": "4"
60908 }
60909 ]
60910 }
60911 ]
60912 }
60913 ]
60914 }
60915 ]
60916 }
60917 ]
60918 },
60919 {
60920 "tag": "p",
60921 "children": [
60922 {
60923 "tag": "font",
60924 "attrs": [
60925 {
60926 "name": "size",
60927 "value": "4"
60928 }
60929 ],
60930 "children": [
60931 {
60932 "tag": "font",
60933 "attrs": [
60934 {
60935 "name": "size",
60936 "value": "4"
60937 }
60938 ],
60939 "children": [
60940 {
60941 "tag": "font",
60942 "attrs": [
60943 {
60944 "name": "size",
60945 "value": "4"
60946 }
60947 ],
60948 "children": [
60949 {
60950 "text": "X"
60951 }
60952 ]
60953 }
60954 ]
60955 }
60956 ]
60957 }
60958 ]
60959 }
60960 ]
60961 }
60962 ]
60963 }
60964 ],
60965 "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>",
60966 "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>"
60967 }
60968 },
60969 {
60970 "data": "<p><font size=4><font size=4><font size=4><font size=\"5\"><font size=4><p>X",
60971 "errors": [
60972 "(1,3): expected-doctype-but-got-start-tag",
60973 "(1,73): unexpected-end-tag",
60974 "(1,74): expected-closing-tag-but-got-eof"
60975 ],
60976 "document": {
60977 "props": {
60978 "tags": {
60979 "html": true,
60980 "head": true,
60981 "body": true,
60982 "p": true,
60983 "font": true
60984 }
60985 },
60986 "tree": [
60987 {
60988 "tag": "html",
60989 "children": [
60990 {
60991 "tag": "head"
60992 },
60993 {
60994 "tag": "body",
60995 "children": [
60996 {
60997 "tag": "p",
60998 "children": [
60999 {
61000 "tag": "font",
61001 "attrs": [
61002 {
61003 "name": "size",
61004 "value": "4"
61005 }
61006 ],
61007 "children": [
61008 {
61009 "tag": "font",
61010 "attrs": [
61011 {
61012 "name": "size",
61013 "value": "4"
61014 }
61015 ],
61016 "children": [
61017 {
61018 "tag": "font",
61019 "attrs": [
61020 {
61021 "name": "size",
61022 "value": "4"
61023 }
61024 ],
61025 "children": [
61026 {
61027 "tag": "font",
61028 "attrs": [
61029 {
61030 "name": "size",
61031 "value": "5"
61032 }
61033 ],
61034 "children": [
61035 {
61036 "tag": "font",
61037 "attrs": [
61038 {
61039 "name": "size",
61040 "value": "4"
61041 }
61042 ]
61043 }
61044 ]
61045 }
61046 ]
61047 }
61048 ]
61049 }
61050 ]
61051 }
61052 ]
61053 },
61054 {
61055 "tag": "p",
61056 "children": [
61057 {
61058 "tag": "font",
61059 "attrs": [
61060 {
61061 "name": "size",
61062 "value": "4"
61063 }
61064 ],
61065 "children": [
61066 {
61067 "tag": "font",
61068 "attrs": [
61069 {
61070 "name": "size",
61071 "value": "4"
61072 }
61073 ],
61074 "children": [
61075 {
61076 "tag": "font",
61077 "attrs": [
61078 {
61079 "name": "size",
61080 "value": "5"
61081 }
61082 ],
61083 "children": [
61084 {
61085 "tag": "font",
61086 "attrs": [
61087 {
61088 "name": "size",
61089 "value": "4"
61090 }
61091 ],
61092 "children": [
61093 {
61094 "text": "X"
61095 }
61096 ]
61097 }
61098 ]
61099 }
61100 ]
61101 }
61102 ]
61103 }
61104 ]
61105 }
61106 ]
61107 }
61108 ]
61109 }
61110 ],
61111 "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>",
61112 "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>"
61113 }
61114 },
61115 {
61116 "data": "<p><font size=4 id=a><font size=4 id=b><font size=4><font size=4><p>X",
61117 "errors": [
61118 "(1,3): expected-doctype-but-got-start-tag",
61119 "(1,68): unexpected-end-tag",
61120 "(1,69): expected-closing-tag-but-got-eof"
61121 ],
61122 "document": {
61123 "props": {
61124 "tags": {
61125 "html": true,
61126 "head": true,
61127 "body": true,
61128 "p": true,
61129 "font": true
61130 }
61131 },
61132 "tree": [
61133 {
61134 "tag": "html",
61135 "children": [
61136 {
61137 "tag": "head"
61138 },
61139 {
61140 "tag": "body",
61141 "children": [
61142 {
61143 "tag": "p",
61144 "children": [
61145 {
61146 "tag": "font",
61147 "attrs": [
61148 {
61149 "name": "id",
61150 "value": "a"
61151 },
61152 {
61153 "name": "size",
61154 "value": "4"
61155 }
61156 ],
61157 "children": [
61158 {
61159 "tag": "font",
61160 "attrs": [
61161 {
61162 "name": "id",
61163 "value": "b"
61164 },
61165 {
61166 "name": "size",
61167 "value": "4"
61168 }
61169 ],
61170 "children": [
61171 {
61172 "tag": "font",
61173 "attrs": [
61174 {
61175 "name": "size",
61176 "value": "4"
61177 }
61178 ],
61179 "children": [
61180 {
61181 "tag": "font",
61182 "attrs": [
61183 {
61184 "name": "size",
61185 "value": "4"
61186 }
61187 ]
61188 }
61189 ]
61190 }
61191 ]
61192 }
61193 ]
61194 }
61195 ]
61196 },
61197 {
61198 "tag": "p",
61199 "children": [
61200 {
61201 "tag": "font",
61202 "attrs": [
61203 {
61204 "name": "id",
61205 "value": "a"
61206 },
61207 {
61208 "name": "size",
61209 "value": "4"
61210 }
61211 ],
61212 "children": [
61213 {
61214 "tag": "font",
61215 "attrs": [
61216 {
61217 "name": "id",
61218 "value": "b"
61219 },
61220 {
61221 "name": "size",
61222 "value": "4"
61223 }
61224 ],
61225 "children": [
61226 {
61227 "tag": "font",
61228 "attrs": [
61229 {
61230 "name": "size",
61231 "value": "4"
61232 }
61233 ],
61234 "children": [
61235 {
61236 "tag": "font",
61237 "attrs": [
61238 {
61239 "name": "size",
61240 "value": "4"
61241 }
61242 ],
61243 "children": [
61244 {
61245 "text": "X"
61246 }
61247 ]
61248 }
61249 ]
61250 }
61251 ]
61252 }
61253 ]
61254 }
61255 ]
61256 }
61257 ]
61258 }
61259 ]
61260 }
61261 ],
61262 "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>",
61263 "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>"
61264 }
61265 },
61266 {
61267 "data": "<p><b id=a><b id=a><b id=a><b><object><b id=a><b id=a>X</object><p>Y",
61268 "errors": [
61269 "(1,3): expected-doctype-but-got-start-tag",
61270 "(1,64): end-tag-too-early",
61271 "(1,67): unexpected-end-tag",
61272 "(1,68): expected-closing-tag-but-got-eof"
61273 ],
61274 "document": {
61275 "props": {
61276 "tags": {
61277 "html": true,
61278 "head": true,
61279 "body": true,
61280 "p": true,
61281 "b": true,
61282 "object": true
61283 }
61284 },
61285 "tree": [
61286 {
61287 "tag": "html",
61288 "children": [
61289 {
61290 "tag": "head"
61291 },
61292 {
61293 "tag": "body",
61294 "children": [
61295 {
61296 "tag": "p",
61297 "children": [
61298 {
61299 "tag": "b",
61300 "attrs": [
61301 {
61302 "name": "id",
61303 "value": "a"
61304 }
61305 ],
61306 "children": [
61307 {
61308 "tag": "b",
61309 "attrs": [
61310 {
61311 "name": "id",
61312 "value": "a"
61313 }
61314 ],
61315 "children": [
61316 {
61317 "tag": "b",
61318 "attrs": [
61319 {
61320 "name": "id",
61321 "value": "a"
61322 }
61323 ],
61324 "children": [
61325 {
61326 "tag": "b",
61327 "children": [
61328 {
61329 "tag": "object",
61330 "children": [
61331 {
61332 "tag": "b",
61333 "attrs": [
61334 {
61335 "name": "id",
61336 "value": "a"
61337 }
61338 ],
61339 "children": [
61340 {
61341 "tag": "b",
61342 "attrs": [
61343 {
61344 "name": "id",
61345 "value": "a"
61346 }
61347 ],
61348 "children": [
61349 {
61350 "text": "X"
61351 }
61352 ]
61353 }
61354 ]
61355 }
61356 ]
61357 }
61358 ]
61359 }
61360 ]
61361 }
61362 ]
61363 }
61364 ]
61365 }
61366 ]
61367 },
61368 {
61369 "tag": "p",
61370 "children": [
61371 {
61372 "tag": "b",
61373 "attrs": [
61374 {
61375 "name": "id",
61376 "value": "a"
61377 }
61378 ],
61379 "children": [
61380 {
61381 "tag": "b",
61382 "attrs": [
61383 {
61384 "name": "id",
61385 "value": "a"
61386 }
61387 ],
61388 "children": [
61389 {
61390 "tag": "b",
61391 "attrs": [
61392 {
61393 "name": "id",
61394 "value": "a"
61395 }
61396 ],
61397 "children": [
61398 {
61399 "tag": "b",
61400 "children": [
61401 {
61402 "text": "Y"
61403 }
61404 ]
61405 }
61406 ]
61407 }
61408 ]
61409 }
61410 ]
61411 }
61412 ]
61413 }
61414 ]
61415 }
61416 ]
61417 }
61418 ],
61419 "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>",
61420 "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>"
61421 }
61422 }
61423 ],
61424 "tests24.dat": [
61425 {
61426 "data": "<!DOCTYPE html>&NotEqualTilde;",
61427 "errors": [],
61428 "document": {
61429 "props": {
61430 "tags": {
61431 "html": true,
61432 "head": true,
61433 "body": true
61434 },
61435 "doctype": true
61436 },
61437 "tree": [
61438 {
61439 "doctype": "html"
61440 },
61441 {
61442 "tag": "html",
61443 "children": [
61444 {
61445 "tag": "head"
61446 },
61447 {
61448 "tag": "body",
61449 "children": [
61450 {
61451 "text": "≂̸"
61452 }
61453 ]
61454 }
61455 ]
61456 }
61457 ],
61458 "html": "<!DOCTYPE html><html><head></head><body>≂̸</body></html>",
61459 "noQuirksBodyHtml": "≂̸"
61460 }
61461 },
61462 {
61463 "data": "<!DOCTYPE html>&NotEqualTilde;A",
61464 "errors": [],
61465 "document": {
61466 "props": {
61467 "tags": {
61468 "html": true,
61469 "head": true,
61470 "body": true
61471 },
61472 "doctype": true
61473 },
61474 "tree": [
61475 {
61476 "doctype": "html"
61477 },
61478 {
61479 "tag": "html",
61480 "children": [
61481 {
61482 "tag": "head"
61483 },
61484 {
61485 "tag": "body",
61486 "children": [
61487 {
61488 "text": "≂̸A"
61489 }
61490 ]
61491 }
61492 ]
61493 }
61494 ],
61495 "html": "<!DOCTYPE html><html><head></head><body>≂̸A</body></html>",
61496 "noQuirksBodyHtml": "≂̸A"
61497 }
61498 },
61499 {
61500 "data": "<!DOCTYPE html>&ThickSpace;",
61501 "errors": [],
61502 "document": {
61503 "props": {
61504 "tags": {
61505 "html": true,
61506 "head": true,
61507 "body": true
61508 },
61509 "doctype": true
61510 },
61511 "tree": [
61512 {
61513 "doctype": "html"
61514 },
61515 {
61516 "tag": "html",
61517 "children": [
61518 {
61519 "tag": "head"
61520 },
61521 {
61522 "tag": "body",
61523 "children": [
61524 {
61525 "text": "  "
61526 }
61527 ]
61528 }
61529 ]
61530 }
61531 ],
61532 "html": "<!DOCTYPE html><html><head></head><body>  </body></html>",
61533 "noQuirksBodyHtml": "  "
61534 }
61535 },
61536 {
61537 "data": "<!DOCTYPE html>&ThickSpace;A",
61538 "errors": [],
61539 "document": {
61540 "props": {
61541 "tags": {
61542 "html": true,
61543 "head": true,
61544 "body": true
61545 },
61546 "doctype": true
61547 },
61548 "tree": [
61549 {
61550 "doctype": "html"
61551 },
61552 {
61553 "tag": "html",
61554 "children": [
61555 {
61556 "tag": "head"
61557 },
61558 {
61559 "tag": "body",
61560 "children": [
61561 {
61562 "text": "  A"
61563 }
61564 ]
61565 }
61566 ]
61567 }
61568 ],
61569 "html": "<!DOCTYPE html><html><head></head><body>  A</body></html>",
61570 "noQuirksBodyHtml": "  A"
61571 }
61572 },
61573 {
61574 "data": "<!DOCTYPE html>&NotSubset;",
61575 "errors": [],
61576 "document": {
61577 "props": {
61578 "tags": {
61579 "html": true,
61580 "head": true,
61581 "body": true
61582 },
61583 "doctype": true
61584 },
61585 "tree": [
61586 {
61587 "doctype": "html"
61588 },
61589 {
61590 "tag": "html",
61591 "children": [
61592 {
61593 "tag": "head"
61594 },
61595 {
61596 "tag": "body",
61597 "children": [
61598 {
61599 "text": "⊂⃒"
61600 }
61601 ]
61602 }
61603 ]
61604 }
61605 ],
61606 "html": "<!DOCTYPE html><html><head></head><body>⊂⃒</body></html>",
61607 "noQuirksBodyHtml": "⊂⃒"
61608 }
61609 },
61610 {
61611 "data": "<!DOCTYPE html>&NotSubset;A",
61612 "errors": [],
61613 "document": {
61614 "props": {
61615 "tags": {
61616 "html": true,
61617 "head": true,
61618 "body": true
61619 },
61620 "doctype": true
61621 },
61622 "tree": [
61623 {
61624 "doctype": "html"
61625 },
61626 {
61627 "tag": "html",
61628 "children": [
61629 {
61630 "tag": "head"
61631 },
61632 {
61633 "tag": "body",
61634 "children": [
61635 {
61636 "text": "⊂⃒A"
61637 }
61638 ]
61639 }
61640 ]
61641 }
61642 ],
61643 "html": "<!DOCTYPE html><html><head></head><body>⊂⃒A</body></html>",
61644 "noQuirksBodyHtml": "⊂⃒A"
61645 }
61646 },
61647 {
61648 "data": "<!DOCTYPE html>&Gopf;",
61649 "errors": [],
61650 "document": {
61651 "props": {
61652 "tags": {
61653 "html": true,
61654 "head": true,
61655 "body": true
61656 },
61657 "doctype": true
61658 },
61659 "tree": [
61660 {
61661 "doctype": "html"
61662 },
61663 {
61664 "tag": "html",
61665 "children": [
61666 {
61667 "tag": "head"
61668 },
61669 {
61670 "tag": "body",
61671 "children": [
61672 {
61673 "text": "𝔾"
61674 }
61675 ]
61676 }
61677 ]
61678 }
61679 ],
61680 "html": "<!DOCTYPE html><html><head></head><body>𝔾</body></html>",
61681 "noQuirksBodyHtml": "𝔾"
61682 }
61683 },
61684 {
61685 "data": "<!DOCTYPE html>&Gopf;A",
61686 "errors": [],
61687 "document": {
61688 "props": {
61689 "tags": {
61690 "html": true,
61691 "head": true,
61692 "body": true
61693 },
61694 "doctype": true
61695 },
61696 "tree": [
61697 {
61698 "doctype": "html"
61699 },
61700 {
61701 "tag": "html",
61702 "children": [
61703 {
61704 "tag": "head"
61705 },
61706 {
61707 "tag": "body",
61708 "children": [
61709 {
61710 "text": "𝔾A"
61711 }
61712 ]
61713 }
61714 ]
61715 }
61716 ],
61717 "html": "<!DOCTYPE html><html><head></head><body>𝔾A</body></html>",
61718 "noQuirksBodyHtml": "𝔾A"
61719 }
61720 }
61721 ],
61722 "tests25.dat": [
61723 {
61724 "data": "<!DOCTYPE html><body><foo>A",
61725 "errors": [
61726 "(1,27): expected-closing-tag-but-got-eof"
61727 ],
61728 "document": {
61729 "props": {
61730 "tags": {
61731 "html": true,
61732 "head": true,
61733 "body": true,
61734 "foo": true
61735 },
61736 "doctype": true
61737 },
61738 "tree": [
61739 {
61740 "doctype": "html"
61741 },
61742 {
61743 "tag": "html",
61744 "children": [
61745 {
61746 "tag": "head"
61747 },
61748 {
61749 "tag": "body",
61750 "children": [
61751 {
61752 "tag": "foo",
61753 "children": [
61754 {
61755 "text": "A"
61756 }
61757 ]
61758 }
61759 ]
61760 }
61761 ]
61762 }
61763 ],
61764 "html": "<!DOCTYPE html><html><head></head><body><foo>A</foo></body></html>",
61765 "noQuirksBodyHtml": "<foo>A</foo>"
61766 }
61767 },
61768 {
61769 "data": "<!DOCTYPE html><body><area>A",
61770 "errors": [],
61771 "document": {
61772 "props": {
61773 "tags": {
61774 "html": true,
61775 "head": true,
61776 "body": true,
61777 "area": true
61778 },
61779 "doctype": true
61780 },
61781 "tree": [
61782 {
61783 "doctype": "html"
61784 },
61785 {
61786 "tag": "html",
61787 "children": [
61788 {
61789 "tag": "head"
61790 },
61791 {
61792 "tag": "body",
61793 "children": [
61794 {
61795 "tag": "area"
61796 },
61797 {
61798 "text": "A"
61799 }
61800 ]
61801 }
61802 ]
61803 }
61804 ],
61805 "html": "<!DOCTYPE html><html><head></head><body><area>A</body></html>",
61806 "noQuirksBodyHtml": "<area>A"
61807 }
61808 },
61809 {
61810 "data": "<!DOCTYPE html><body><base>A",
61811 "errors": [],
61812 "document": {
61813 "props": {
61814 "tags": {
61815 "html": true,
61816 "head": true,
61817 "body": true,
61818 "base": true
61819 },
61820 "doctype": true
61821 },
61822 "tree": [
61823 {
61824 "doctype": "html"
61825 },
61826 {
61827 "tag": "html",
61828 "children": [
61829 {
61830 "tag": "head"
61831 },
61832 {
61833 "tag": "body",
61834 "children": [
61835 {
61836 "tag": "base"
61837 },
61838 {
61839 "text": "A"
61840 }
61841 ]
61842 }
61843 ]
61844 }
61845 ],
61846 "html": "<!DOCTYPE html><html><head></head><body><base>A</body></html>",
61847 "noQuirksBodyHtml": "<base>A"
61848 }
61849 },
61850 {
61851 "data": "<!DOCTYPE html><body><basefont>A",
61852 "errors": [],
61853 "document": {
61854 "props": {
61855 "tags": {
61856 "html": true,
61857 "head": true,
61858 "body": true,
61859 "basefont": true
61860 },
61861 "doctype": true
61862 },
61863 "tree": [
61864 {
61865 "doctype": "html"
61866 },
61867 {
61868 "tag": "html",
61869 "children": [
61870 {
61871 "tag": "head"
61872 },
61873 {
61874 "tag": "body",
61875 "children": [
61876 {
61877 "tag": "basefont"
61878 },
61879 {
61880 "text": "A"
61881 }
61882 ]
61883 }
61884 ]
61885 }
61886 ],
61887 "html": "<!DOCTYPE html><html><head></head><body><basefont>A</body></html>",
61888 "noQuirksBodyHtml": "<basefont>A"
61889 }
61890 },
61891 {
61892 "data": "<!DOCTYPE html><body><bgsound>A",
61893 "errors": [],
61894 "document": {
61895 "props": {
61896 "tags": {
61897 "html": true,
61898 "head": true,
61899 "body": true,
61900 "bgsound": true
61901 },
61902 "doctype": true
61903 },
61904 "tree": [
61905 {
61906 "doctype": "html"
61907 },
61908 {
61909 "tag": "html",
61910 "children": [
61911 {
61912 "tag": "head"
61913 },
61914 {
61915 "tag": "body",
61916 "children": [
61917 {
61918 "tag": "bgsound"
61919 },
61920 {
61921 "text": "A"
61922 }
61923 ]
61924 }
61925 ]
61926 }
61927 ],
61928 "html": "<!DOCTYPE html><html><head></head><body><bgsound>A</body></html>",
61929 "noQuirksBodyHtml": "<bgsound>A"
61930 }
61931 },
61932 {
61933 "data": "<!DOCTYPE html><body><br>A",
61934 "errors": [],
61935 "document": {
61936 "props": {
61937 "tags": {
61938 "html": true,
61939 "head": true,
61940 "body": true,
61941 "br": true
61942 },
61943 "doctype": true
61944 },
61945 "tree": [
61946 {
61947 "doctype": "html"
61948 },
61949 {
61950 "tag": "html",
61951 "children": [
61952 {
61953 "tag": "head"
61954 },
61955 {
61956 "tag": "body",
61957 "children": [
61958 {
61959 "tag": "br"
61960 },
61961 {
61962 "text": "A"
61963 }
61964 ]
61965 }
61966 ]
61967 }
61968 ],
61969 "html": "<!DOCTYPE html><html><head></head><body><br>A</body></html>",
61970 "noQuirksBodyHtml": "<br>A"
61971 }
61972 },
61973 {
61974 "data": "<!DOCTYPE html><body><col>A",
61975 "errors": [
61976 "(1,26): unexpected-start-tag-ignored"
61977 ],
61978 "document": {
61979 "props": {
61980 "tags": {
61981 "html": true,
61982 "head": true,
61983 "body": true
61984 },
61985 "doctype": true
61986 },
61987 "tree": [
61988 {
61989 "doctype": "html"
61990 },
61991 {
61992 "tag": "html",
61993 "children": [
61994 {
61995 "tag": "head"
61996 },
61997 {
61998 "tag": "body",
61999 "children": [
62000 {
62001 "text": "A"
62002 }
62003 ]
62004 }
62005 ]
62006 }
62007 ],
62008 "html": "<!DOCTYPE html><html><head></head><body>A</body></html>",
62009 "noQuirksBodyHtml": "A"
62010 }
62011 },
62012 {
62013 "data": "<!DOCTYPE html><body><command>A",
62014 "errors": [
62015 "eof"
62016 ],
62017 "document": {
62018 "props": {
62019 "tags": {
62020 "html": true,
62021 "head": true,
62022 "body": true,
62023 "command": true
62024 },
62025 "doctype": true
62026 },
62027 "tree": [
62028 {
62029 "doctype": "html"
62030 },
62031 {
62032 "tag": "html",
62033 "children": [
62034 {
62035 "tag": "head"
62036 },
62037 {
62038 "tag": "body",
62039 "children": [
62040 {
62041 "tag": "command",
62042 "children": [
62043 {
62044 "text": "A"
62045 }
62046 ]
62047 }
62048 ]
62049 }
62050 ]
62051 }
62052 ],
62053 "html": "<!DOCTYPE html><html><head></head><body><command>A</command></body></html>",
62054 "noQuirksBodyHtml": "<command>A</command>"
62055 }
62056 },
62057 {
62058 "data": "<!DOCTYPE html><body><menuitem>A",
62059 "errors": [],
62060 "document": {
62061 "props": {
62062 "tags": {
62063 "html": true,
62064 "head": true,
62065 "body": true,
62066 "menuitem": true
62067 },
62068 "doctype": true
62069 },
62070 "tree": [
62071 {
62072 "doctype": "html"
62073 },
62074 {
62075 "tag": "html",
62076 "children": [
62077 {
62078 "tag": "head"
62079 },
62080 {
62081 "tag": "body",
62082 "children": [
62083 {
62084 "tag": "menuitem"
62085 },
62086 {
62087 "text": "A"
62088 }
62089 ]
62090 }
62091 ]
62092 }
62093 ],
62094 "html": "<!DOCTYPE html><html><head></head><body><menuitem>A</body></html>",
62095 "noQuirksBodyHtml": "<menuitem>A"
62096 }
62097 },
62098 {
62099 "data": "<!DOCTYPE html><body><embed>A",
62100 "errors": [],
62101 "document": {
62102 "props": {
62103 "tags": {
62104 "html": true,
62105 "head": true,
62106 "body": true,
62107 "embed": true
62108 },
62109 "doctype": true
62110 },
62111 "tree": [
62112 {
62113 "doctype": "html"
62114 },
62115 {
62116 "tag": "html",
62117 "children": [
62118 {
62119 "tag": "head"
62120 },
62121 {
62122 "tag": "body",
62123 "children": [
62124 {
62125 "tag": "embed"
62126 },
62127 {
62128 "text": "A"
62129 }
62130 ]
62131 }
62132 ]
62133 }
62134 ],
62135 "html": "<!DOCTYPE html><html><head></head><body><embed>A</body></html>",
62136 "noQuirksBodyHtml": "<embed>A"
62137 }
62138 },
62139 {
62140 "data": "<!DOCTYPE html><body><frame>A",
62141 "errors": [
62142 "(1,28): unexpected-start-tag-ignored"
62143 ],
62144 "document": {
62145 "props": {
62146 "tags": {
62147 "html": true,
62148 "head": true,
62149 "body": true
62150 },
62151 "doctype": true
62152 },
62153 "tree": [
62154 {
62155 "doctype": "html"
62156 },
62157 {
62158 "tag": "html",
62159 "children": [
62160 {
62161 "tag": "head"
62162 },
62163 {
62164 "tag": "body",
62165 "children": [
62166 {
62167 "text": "A"
62168 }
62169 ]
62170 }
62171 ]
62172 }
62173 ],
62174 "html": "<!DOCTYPE html><html><head></head><body>A</body></html>",
62175 "noQuirksBodyHtml": "A"
62176 }
62177 },
62178 {
62179 "data": "<!DOCTYPE html><body><hr>A",
62180 "errors": [],
62181 "document": {
62182 "props": {
62183 "tags": {
62184 "html": true,
62185 "head": true,
62186 "body": true,
62187 "hr": true
62188 },
62189 "doctype": true
62190 },
62191 "tree": [
62192 {
62193 "doctype": "html"
62194 },
62195 {
62196 "tag": "html",
62197 "children": [
62198 {
62199 "tag": "head"
62200 },
62201 {
62202 "tag": "body",
62203 "children": [
62204 {
62205 "tag": "hr"
62206 },
62207 {
62208 "text": "A"
62209 }
62210 ]
62211 }
62212 ]
62213 }
62214 ],
62215 "html": "<!DOCTYPE html><html><head></head><body><hr>A</body></html>",
62216 "noQuirksBodyHtml": "<hr>A"
62217 }
62218 },
62219 {
62220 "data": "<!DOCTYPE html><body><img>A",
62221 "errors": [],
62222 "document": {
62223 "props": {
62224 "tags": {
62225 "html": true,
62226 "head": true,
62227 "body": true,
62228 "img": true
62229 },
62230 "doctype": true
62231 },
62232 "tree": [
62233 {
62234 "doctype": "html"
62235 },
62236 {
62237 "tag": "html",
62238 "children": [
62239 {
62240 "tag": "head"
62241 },
62242 {
62243 "tag": "body",
62244 "children": [
62245 {
62246 "tag": "img"
62247 },
62248 {
62249 "text": "A"
62250 }
62251 ]
62252 }
62253 ]
62254 }
62255 ],
62256 "html": "<!DOCTYPE html><html><head></head><body><img>A</body></html>",
62257 "noQuirksBodyHtml": "<img>A"
62258 }
62259 },
62260 {
62261 "data": "<!DOCTYPE html><body><input>A",
62262 "errors": [],
62263 "document": {
62264 "props": {
62265 "tags": {
62266 "html": true,
62267 "head": true,
62268 "body": true,
62269 "input": true
62270 },
62271 "doctype": true
62272 },
62273 "tree": [
62274 {
62275 "doctype": "html"
62276 },
62277 {
62278 "tag": "html",
62279 "children": [
62280 {
62281 "tag": "head"
62282 },
62283 {
62284 "tag": "body",
62285 "children": [
62286 {
62287 "tag": "input"
62288 },
62289 {
62290 "text": "A"
62291 }
62292 ]
62293 }
62294 ]
62295 }
62296 ],
62297 "html": "<!DOCTYPE html><html><head></head><body><input>A</body></html>",
62298 "noQuirksBodyHtml": "<input>A"
62299 }
62300 },
62301 {
62302 "data": "<!DOCTYPE html><body><keygen>A",
62303 "errors": [],
62304 "document": {
62305 "props": {
62306 "tags": {
62307 "html": true,
62308 "head": true,
62309 "body": true,
62310 "keygen": true
62311 },
62312 "doctype": true
62313 },
62314 "tree": [
62315 {
62316 "doctype": "html"
62317 },
62318 {
62319 "tag": "html",
62320 "children": [
62321 {
62322 "tag": "head"
62323 },
62324 {
62325 "tag": "body",
62326 "children": [
62327 {
62328 "tag": "keygen"
62329 },
62330 {
62331 "text": "A"
62332 }
62333 ]
62334 }
62335 ]
62336 }
62337 ],
62338 "html": "<!DOCTYPE html><html><head></head><body><keygen>A</body></html>",
62339 "noQuirksBodyHtml": "<keygen>A"
62340 }
62341 },
62342 {
62343 "data": "<!DOCTYPE html><body><link>A",
62344 "errors": [],
62345 "document": {
62346 "props": {
62347 "tags": {
62348 "html": true,
62349 "head": true,
62350 "body": true,
62351 "link": true
62352 },
62353 "doctype": true
62354 },
62355 "tree": [
62356 {
62357 "doctype": "html"
62358 },
62359 {
62360 "tag": "html",
62361 "children": [
62362 {
62363 "tag": "head"
62364 },
62365 {
62366 "tag": "body",
62367 "children": [
62368 {
62369 "tag": "link"
62370 },
62371 {
62372 "text": "A"
62373 }
62374 ]
62375 }
62376 ]
62377 }
62378 ],
62379 "html": "<!DOCTYPE html><html><head></head><body><link>A</body></html>",
62380 "noQuirksBodyHtml": "<link>A"
62381 }
62382 },
62383 {
62384 "data": "<!DOCTYPE html><body><meta>A",
62385 "errors": [],
62386 "document": {
62387 "props": {
62388 "tags": {
62389 "html": true,
62390 "head": true,
62391 "body": true,
62392 "meta": true
62393 },
62394 "doctype": true
62395 },
62396 "tree": [
62397 {
62398 "doctype": "html"
62399 },
62400 {
62401 "tag": "html",
62402 "children": [
62403 {
62404 "tag": "head"
62405 },
62406 {
62407 "tag": "body",
62408 "children": [
62409 {
62410 "tag": "meta"
62411 },
62412 {
62413 "text": "A"
62414 }
62415 ]
62416 }
62417 ]
62418 }
62419 ],
62420 "html": "<!DOCTYPE html><html><head></head><body><meta>A</body></html>",
62421 "noQuirksBodyHtml": "<meta>A"
62422 }
62423 },
62424 {
62425 "data": "<!DOCTYPE html><body><param>A",
62426 "errors": [],
62427 "document": {
62428 "props": {
62429 "tags": {
62430 "html": true,
62431 "head": true,
62432 "body": true,
62433 "param": true
62434 },
62435 "doctype": true
62436 },
62437 "tree": [
62438 {
62439 "doctype": "html"
62440 },
62441 {
62442 "tag": "html",
62443 "children": [
62444 {
62445 "tag": "head"
62446 },
62447 {
62448 "tag": "body",
62449 "children": [
62450 {
62451 "tag": "param"
62452 },
62453 {
62454 "text": "A"
62455 }
62456 ]
62457 }
62458 ]
62459 }
62460 ],
62461 "html": "<!DOCTYPE html><html><head></head><body><param>A</body></html>",
62462 "noQuirksBodyHtml": "<param>A"
62463 }
62464 },
62465 {
62466 "data": "<!DOCTYPE html><body><source>A",
62467 "errors": [],
62468 "document": {
62469 "props": {
62470 "tags": {
62471 "html": true,
62472 "head": true,
62473 "body": true,
62474 "source": true
62475 },
62476 "doctype": true
62477 },
62478 "tree": [
62479 {
62480 "doctype": "html"
62481 },
62482 {
62483 "tag": "html",
62484 "children": [
62485 {
62486 "tag": "head"
62487 },
62488 {
62489 "tag": "body",
62490 "children": [
62491 {
62492 "tag": "source"
62493 },
62494 {
62495 "text": "A"
62496 }
62497 ]
62498 }
62499 ]
62500 }
62501 ],
62502 "html": "<!DOCTYPE html><html><head></head><body><source>A</body></html>",
62503 "noQuirksBodyHtml": "<source>A"
62504 }
62505 },
62506 {
62507 "data": "<!DOCTYPE html><body><track>A",
62508 "errors": [],
62509 "document": {
62510 "props": {
62511 "tags": {
62512 "html": true,
62513 "head": true,
62514 "body": true,
62515 "track": true
62516 },
62517 "doctype": true
62518 },
62519 "tree": [
62520 {
62521 "doctype": "html"
62522 },
62523 {
62524 "tag": "html",
62525 "children": [
62526 {
62527 "tag": "head"
62528 },
62529 {
62530 "tag": "body",
62531 "children": [
62532 {
62533 "tag": "track"
62534 },
62535 {
62536 "text": "A"
62537 }
62538 ]
62539 }
62540 ]
62541 }
62542 ],
62543 "html": "<!DOCTYPE html><html><head></head><body><track>A</body></html>",
62544 "noQuirksBodyHtml": "<track>A"
62545 }
62546 },
62547 {
62548 "data": "<!DOCTYPE html><body><wbr>A",
62549 "errors": [],
62550 "document": {
62551 "props": {
62552 "tags": {
62553 "html": true,
62554 "head": true,
62555 "body": true,
62556 "wbr": true
62557 },
62558 "doctype": true
62559 },
62560 "tree": [
62561 {
62562 "doctype": "html"
62563 },
62564 {
62565 "tag": "html",
62566 "children": [
62567 {
62568 "tag": "head"
62569 },
62570 {
62571 "tag": "body",
62572 "children": [
62573 {
62574 "tag": "wbr"
62575 },
62576 {
62577 "text": "A"
62578 }
62579 ]
62580 }
62581 ]
62582 }
62583 ],
62584 "html": "<!DOCTYPE html><html><head></head><body><wbr>A</body></html>",
62585 "noQuirksBodyHtml": "<wbr>A"
62586 }
62587 }
62588 ],
62589 "tests26.dat": [
62590 {
62591 "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>",
62592 "errors": [
62593 "(1,47): unexpected-start-tag-implies-end-tag",
62594 "(1,51): adoption-agency-1.3",
62595 "(1,74): unexpected-start-tag-implies-end-tag",
62596 "(1,74): adoption-agency-1.3",
62597 "(1,81): unexpected-start-tag-implies-end-tag",
62598 "(1,85): adoption-agency-1.3",
62599 "(1,108): unexpected-start-tag-implies-end-tag",
62600 "(1,108): adoption-agency-1.3",
62601 "(1,115): unexpected-start-tag-implies-end-tag",
62602 "(1,119): adoption-agency-1.3"
62603 ],
62604 "document": {
62605 "props": {
62606 "tags": {
62607 "html": true,
62608 "head": true,
62609 "body": true,
62610 "a": true,
62611 "nobr": true,
62612 "br": true
62613 },
62614 "doctype": true
62615 },
62616 "tree": [
62617 {
62618 "doctype": "html"
62619 },
62620 {
62621 "tag": "html",
62622 "children": [
62623 {
62624 "tag": "head"
62625 },
62626 {
62627 "tag": "body",
62628 "children": [
62629 {
62630 "tag": "a",
62631 "attrs": [
62632 {
62633 "name": "href",
62634 "value": "#1"
62635 }
62636 ],
62637 "children": [
62638 {
62639 "tag": "nobr",
62640 "children": [
62641 {
62642 "text": "1"
62643 }
62644 ]
62645 },
62646 {
62647 "tag": "nobr"
62648 }
62649 ]
62650 },
62651 {
62652 "tag": "nobr",
62653 "children": [
62654 {
62655 "tag": "br"
62656 },
62657 {
62658 "tag": "a",
62659 "attrs": [
62660 {
62661 "name": "href",
62662 "value": "#2"
62663 }
62664 ]
62665 }
62666 ]
62667 },
62668 {
62669 "tag": "a",
62670 "attrs": [
62671 {
62672 "name": "href",
62673 "value": "#2"
62674 }
62675 ],
62676 "children": [
62677 {
62678 "tag": "nobr",
62679 "children": [
62680 {
62681 "text": "2"
62682 }
62683 ]
62684 },
62685 {
62686 "tag": "nobr"
62687 }
62688 ]
62689 },
62690 {
62691 "tag": "nobr",
62692 "children": [
62693 {
62694 "tag": "br"
62695 },
62696 {
62697 "tag": "a",
62698 "attrs": [
62699 {
62700 "name": "href",
62701 "value": "#3"
62702 }
62703 ]
62704 }
62705 ]
62706 },
62707 {
62708 "tag": "a",
62709 "attrs": [
62710 {
62711 "name": "href",
62712 "value": "#3"
62713 }
62714 ],
62715 "children": [
62716 {
62717 "tag": "nobr",
62718 "children": [
62719 {
62720 "text": "3"
62721 }
62722 ]
62723 },
62724 {
62725 "tag": "nobr"
62726 }
62727 ]
62728 }
62729 ]
62730 }
62731 ]
62732 }
62733 ],
62734 "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>",
62735 "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>"
62736 }
62737 },
62738 {
62739 "data": "<!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3",
62740 "errors": [
62741 "(1,37): unexpected-start-tag-implies-end-tag",
62742 "(1,41): adoption-agency-1.3",
62743 "(1,50): unexpected-start-tag-implies-end-tag",
62744 "(1,50): adoption-agency-1.3",
62745 "(1,57): unexpected-start-tag-implies-end-tag",
62746 "(1,61): adoption-agency-1.3",
62747 "(1,62): expected-closing-tag-but-got-eof"
62748 ],
62749 "document": {
62750 "props": {
62751 "tags": {
62752 "html": true,
62753 "head": true,
62754 "body": true,
62755 "b": true,
62756 "nobr": true,
62757 "i": true
62758 },
62759 "doctype": true
62760 },
62761 "tree": [
62762 {
62763 "doctype": "html"
62764 },
62765 {
62766 "tag": "html",
62767 "children": [
62768 {
62769 "tag": "head"
62770 },
62771 {
62772 "tag": "body",
62773 "children": [
62774 {
62775 "tag": "b",
62776 "children": [
62777 {
62778 "tag": "nobr",
62779 "children": [
62780 {
62781 "text": "1"
62782 }
62783 ]
62784 },
62785 {
62786 "tag": "nobr"
62787 }
62788 ]
62789 },
62790 {
62791 "tag": "nobr",
62792 "children": [
62793 {
62794 "tag": "i"
62795 }
62796 ]
62797 },
62798 {
62799 "tag": "i",
62800 "children": [
62801 {
62802 "tag": "nobr",
62803 "children": [
62804 {
62805 "text": "2"
62806 }
62807 ]
62808 },
62809 {
62810 "tag": "nobr"
62811 }
62812 ]
62813 },
62814 {
62815 "tag": "nobr",
62816 "children": [
62817 {
62818 "text": "3"
62819 }
62820 ]
62821 }
62822 ]
62823 }
62824 ]
62825 }
62826 ],
62827 "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>",
62828 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr>"
62829 }
62830 },
62831 {
62832 "data": "<!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3",
62833 "errors": [
62834 "(1,44): foster-parenting-start-tag",
62835 "(1,48): foster-parenting-end-tag",
62836 "(1,48): adoption-agency-1.3",
62837 "(1,51): foster-parenting-start-tag",
62838 "(1,57): foster-parenting-start-tag",
62839 "(1,57): nobr-already-in-scope",
62840 "(1,57): adoption-agency-1.2",
62841 "(1,58): foster-parenting-character",
62842 "(1,64): foster-parenting-start-tag",
62843 "(1,64): nobr-already-in-scope",
62844 "(1,68): foster-parenting-end-tag",
62845 "(1,68): adoption-agency-1.2",
62846 "(1,69): foster-parenting-character",
62847 "(1,69): eof-in-table"
62848 ],
62849 "document": {
62850 "props": {
62851 "tags": {
62852 "html": true,
62853 "head": true,
62854 "body": true,
62855 "b": true,
62856 "nobr": true,
62857 "i": true,
62858 "table": true
62859 },
62860 "doctype": true
62861 },
62862 "tree": [
62863 {
62864 "doctype": "html"
62865 },
62866 {
62867 "tag": "html",
62868 "children": [
62869 {
62870 "tag": "head"
62871 },
62872 {
62873 "tag": "body",
62874 "children": [
62875 {
62876 "tag": "b",
62877 "children": [
62878 {
62879 "tag": "nobr",
62880 "children": [
62881 {
62882 "text": "1"
62883 },
62884 {
62885 "tag": "nobr",
62886 "children": [
62887 {
62888 "tag": "i"
62889 }
62890 ]
62891 },
62892 {
62893 "tag": "i",
62894 "children": [
62895 {
62896 "tag": "nobr",
62897 "children": [
62898 {
62899 "text": "2"
62900 }
62901 ]
62902 },
62903 {
62904 "tag": "nobr"
62905 }
62906 ]
62907 },
62908 {
62909 "tag": "nobr",
62910 "children": [
62911 {
62912 "text": "3"
62913 }
62914 ]
62915 },
62916 {
62917 "tag": "table"
62918 }
62919 ]
62920 }
62921 ]
62922 }
62923 ]
62924 }
62925 ]
62926 }
62927 ],
62928 "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>",
62929 "noQuirksBodyHtml": "<b><nobr>1<nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr><table></table></nobr></b>"
62930 }
62931 },
62932 {
62933 "data": "<!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3",
62934 "errors": [
62935 "(1,56): unexpected-end-tag",
62936 "(1,65): unexpected-start-tag-implies-end-tag",
62937 "(1,65): adoption-agency-1.3",
62938 "(1,72): unexpected-start-tag-implies-end-tag",
62939 "(1,76): adoption-agency-1.3",
62940 "(1,77): expected-closing-tag-but-got-eof"
62941 ],
62942 "document": {
62943 "props": {
62944 "tags": {
62945 "html": true,
62946 "head": true,
62947 "body": true,
62948 "b": true,
62949 "nobr": true,
62950 "table": true,
62951 "tbody": true,
62952 "tr": true,
62953 "td": true,
62954 "i": true
62955 },
62956 "doctype": true
62957 },
62958 "tree": [
62959 {
62960 "doctype": "html"
62961 },
62962 {
62963 "tag": "html",
62964 "children": [
62965 {
62966 "tag": "head"
62967 },
62968 {
62969 "tag": "body",
62970 "children": [
62971 {
62972 "tag": "b",
62973 "children": [
62974 {
62975 "tag": "nobr",
62976 "children": [
62977 {
62978 "text": "1"
62979 },
62980 {
62981 "tag": "table",
62982 "children": [
62983 {
62984 "tag": "tbody",
62985 "children": [
62986 {
62987 "tag": "tr",
62988 "children": [
62989 {
62990 "tag": "td",
62991 "children": [
62992 {
62993 "tag": "nobr",
62994 "children": [
62995 {
62996 "tag": "i"
62997 }
62998 ]
62999 },
63000 {
63001 "tag": "i",
63002 "children": [
63003 {
63004 "tag": "nobr",
63005 "children": [
63006 {
63007 "text": "2"
63008 }
63009 ]
63010 },
63011 {
63012 "tag": "nobr"
63013 }
63014 ]
63015 },
63016 {
63017 "tag": "nobr",
63018 "children": [
63019 {
63020 "text": "3"
63021 }
63022 ]
63023 }
63024 ]
63025 }
63026 ]
63027 }
63028 ]
63029 }
63030 ]
63031 }
63032 ]
63033 }
63034 ]
63035 }
63036 ]
63037 }
63038 ]
63039 }
63040 ],
63041 "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>",
63042 "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>"
63043 }
63044 },
63045 {
63046 "data": "<!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3",
63047 "errors": [
63048 "(1,42): unexpected-start-tag-implies-end-tag",
63049 "(1,42): adoption-agency-1.3",
63050 "(1,46): adoption-agency-1.3",
63051 "(1,46): adoption-agency-1.3",
63052 "(1,55): unexpected-start-tag-implies-end-tag",
63053 "(1,55): adoption-agency-1.3",
63054 "(1,62): unexpected-start-tag-implies-end-tag",
63055 "(1,66): adoption-agency-1.3",
63056 "(1,67): expected-closing-tag-but-got-eof"
63057 ],
63058 "document": {
63059 "props": {
63060 "tags": {
63061 "html": true,
63062 "head": true,
63063 "body": true,
63064 "b": true,
63065 "nobr": true,
63066 "div": true,
63067 "i": true
63068 },
63069 "doctype": true
63070 },
63071 "tree": [
63072 {
63073 "doctype": "html"
63074 },
63075 {
63076 "tag": "html",
63077 "children": [
63078 {
63079 "tag": "head"
63080 },
63081 {
63082 "tag": "body",
63083 "children": [
63084 {
63085 "tag": "b",
63086 "children": [
63087 {
63088 "tag": "nobr",
63089 "children": [
63090 {
63091 "text": "1"
63092 }
63093 ]
63094 }
63095 ]
63096 },
63097 {
63098 "tag": "div",
63099 "children": [
63100 {
63101 "tag": "b",
63102 "children": [
63103 {
63104 "tag": "nobr"
63105 },
63106 {
63107 "tag": "nobr"
63108 }
63109 ]
63110 },
63111 {
63112 "tag": "nobr",
63113 "children": [
63114 {
63115 "tag": "i"
63116 }
63117 ]
63118 },
63119 {
63120 "tag": "i",
63121 "children": [
63122 {
63123 "tag": "nobr",
63124 "children": [
63125 {
63126 "text": "2"
63127 }
63128 ]
63129 },
63130 {
63131 "tag": "nobr"
63132 }
63133 ]
63134 },
63135 {
63136 "tag": "nobr",
63137 "children": [
63138 {
63139 "text": "3"
63140 }
63141 ]
63142 }
63143 ]
63144 }
63145 ]
63146 }
63147 ]
63148 }
63149 ],
63150 "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>",
63151 "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>"
63152 }
63153 },
63154 {
63155 "data": "<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3",
63156 "errors": [
63157 "(1,37): unexpected-start-tag-implies-end-tag",
63158 "(1,41): adoption-agency-1.3",
63159 "(1,55): unexpected-start-tag-implies-end-tag",
63160 "(1,55): adoption-agency-1.3",
63161 "(1,62): unexpected-start-tag-implies-end-tag",
63162 "(1,66): adoption-agency-1.3",
63163 "(1,67): expected-closing-tag-but-got-eof"
63164 ],
63165 "document": {
63166 "props": {
63167 "tags": {
63168 "html": true,
63169 "head": true,
63170 "body": true,
63171 "b": true,
63172 "nobr": true,
63173 "div": true,
63174 "i": true
63175 },
63176 "doctype": true
63177 },
63178 "tree": [
63179 {
63180 "doctype": "html"
63181 },
63182 {
63183 "tag": "html",
63184 "children": [
63185 {
63186 "tag": "head"
63187 },
63188 {
63189 "tag": "body",
63190 "children": [
63191 {
63192 "tag": "b",
63193 "children": [
63194 {
63195 "tag": "nobr",
63196 "children": [
63197 {
63198 "text": "1"
63199 }
63200 ]
63201 },
63202 {
63203 "tag": "nobr"
63204 }
63205 ]
63206 },
63207 {
63208 "tag": "div",
63209 "children": [
63210 {
63211 "tag": "nobr",
63212 "children": [
63213 {
63214 "tag": "i"
63215 }
63216 ]
63217 },
63218 {
63219 "tag": "i",
63220 "children": [
63221 {
63222 "tag": "nobr",
63223 "children": [
63224 {
63225 "text": "2"
63226 }
63227 ]
63228 },
63229 {
63230 "tag": "nobr"
63231 }
63232 ]
63233 },
63234 {
63235 "tag": "nobr",
63236 "children": [
63237 {
63238 "text": "3"
63239 }
63240 ]
63241 }
63242 ]
63243 }
63244 ]
63245 }
63246 ]
63247 }
63248 ],
63249 "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>",
63250 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr></nobr></b><div><nobr><i></i></nobr><i><nobr>2</nobr><nobr></nobr></i><nobr>3</nobr></div>"
63251 }
63252 },
63253 {
63254 "data": "<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>",
63255 "errors": [
63256 "(1,37): unexpected-start-tag-implies-end-tag",
63257 "(1,46): adoption-agency-1.3",
63258 "(1,55): unexpected-start-tag-implies-end-tag",
63259 "(1,55): adoption-agency-1.3",
63260 "(1,55): expected-closing-tag-but-got-eof"
63261 ],
63262 "document": {
63263 "props": {
63264 "tags": {
63265 "html": true,
63266 "head": true,
63267 "body": true,
63268 "b": true,
63269 "nobr": true,
63270 "ins": true,
63271 "i": true
63272 },
63273 "doctype": true
63274 },
63275 "tree": [
63276 {
63277 "doctype": "html"
63278 },
63279 {
63280 "tag": "html",
63281 "children": [
63282 {
63283 "tag": "head"
63284 },
63285 {
63286 "tag": "body",
63287 "children": [
63288 {
63289 "tag": "b",
63290 "children": [
63291 {
63292 "tag": "nobr",
63293 "children": [
63294 {
63295 "text": "1"
63296 }
63297 ]
63298 },
63299 {
63300 "tag": "nobr",
63301 "children": [
63302 {
63303 "tag": "ins"
63304 }
63305 ]
63306 }
63307 ]
63308 },
63309 {
63310 "tag": "nobr",
63311 "children": [
63312 {
63313 "tag": "i"
63314 }
63315 ]
63316 },
63317 {
63318 "tag": "i",
63319 "children": [
63320 {
63321 "tag": "nobr"
63322 }
63323 ]
63324 }
63325 ]
63326 }
63327 ]
63328 }
63329 ],
63330 "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>",
63331 "noQuirksBodyHtml": "<b><nobr>1</nobr><nobr><ins></ins></nobr></b><nobr><i></i></nobr><i><nobr></nobr></i>"
63332 }
63333 },
63334 {
63335 "data": "<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2",
63336 "errors": [
63337 "(1,42): unexpected-start-tag-implies-end-tag",
63338 "(1,42): adoption-agency-1.3",
63339 "(1,46): adoption-agency-1.3",
63340 "(1,50): expected-closing-tag-but-got-eof"
63341 ],
63342 "document": {
63343 "props": {
63344 "tags": {
63345 "html": true,
63346 "head": true,
63347 "body": true,
63348 "b": true,
63349 "nobr": true,
63350 "ins": true,
63351 "i": true
63352 },
63353 "doctype": true
63354 },
63355 "tree": [
63356 {
63357 "doctype": "html"
63358 },
63359 {
63360 "tag": "html",
63361 "children": [
63362 {
63363 "tag": "head"
63364 },
63365 {
63366 "tag": "body",
63367 "children": [
63368 {
63369 "tag": "b",
63370 "children": [
63371 {
63372 "tag": "nobr",
63373 "children": [
63374 {
63375 "text": "1"
63376 },
63377 {
63378 "tag": "ins"
63379 }
63380 ]
63381 },
63382 {
63383 "tag": "nobr"
63384 }
63385 ]
63386 },
63387 {
63388 "tag": "nobr",
63389 "children": [
63390 {
63391 "tag": "i",
63392 "children": [
63393 {
63394 "text": "2"
63395 }
63396 ]
63397 }
63398 ]
63399 }
63400 ]
63401 }
63402 ]
63403 }
63404 ],
63405 "html": "<!DOCTYPE html><html><head></head><body><b><nobr>1<ins></ins></nobr><nobr></nobr></b><nobr><i>2</i></nobr></body></html>",
63406 "noQuirksBodyHtml": "<b><nobr>1<ins></ins></nobr><nobr></nobr></b><nobr><i>2</i></nobr>"
63407 }
63408 },
63409 {
63410 "data": "<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>",
63411 "errors": [
63412 "(1,35): adoption-agency-1.3",
63413 "(1,44): unexpected-start-tag-implies-end-tag",
63414 "(1,44): adoption-agency-1.3",
63415 "(1,49): adoption-agency-1.3"
63416 ],
63417 "document": {
63418 "props": {
63419 "tags": {
63420 "html": true,
63421 "head": true,
63422 "body": true,
63423 "b": true,
63424 "nobr": true,
63425 "i": true
63426 },
63427 "doctype": true
63428 },
63429 "tree": [
63430 {
63431 "doctype": "html"
63432 },
63433 {
63434 "tag": "html",
63435 "children": [
63436 {
63437 "tag": "head"
63438 },
63439 {
63440 "tag": "body",
63441 "children": [
63442 {
63443 "tag": "b",
63444 "children": [
63445 {
63446 "text": "1"
63447 },
63448 {
63449 "tag": "nobr"
63450 }
63451 ]
63452 },
63453 {
63454 "tag": "nobr",
63455 "children": [
63456 {
63457 "tag": "i"
63458 }
63459 ]
63460 },
63461 {
63462 "tag": "i",
63463 "children": [
63464 {
63465 "tag": "nobr",
63466 "children": [
63467 {
63468 "text": "2"
63469 }
63470 ]
63471 }
63472 ]
63473 }
63474 ]
63475 }
63476 ]
63477 }
63478 ],
63479 "html": "<!DOCTYPE html><html><head></head><body><b>1<nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr></i></body></html>",
63480 "noQuirksBodyHtml": "<b>1<nobr></nobr></b><nobr><i></i></nobr><i><nobr>2</nobr></i>"
63481 }
63482 },
63483 {
63484 "data": "<p><code x</code></p>\n",
63485 "errors": [
63486 "(1,3): expected-doctype-but-got-start-tag",
63487 "(1,11): invalid-character-in-attribute-name",
63488 "(1,12): unexpected-character-after-solidus-in-tag",
63489 "(1,21): unexpected-end-tag",
63490 "(2,0): expected-closing-tag-but-got-eof"
63491 ],
63492 "document": {
63493 "props": {
63494 "tags": {
63495 "html": true,
63496 "head": true,
63497 "body": true,
63498 "p": true,
63499 "code": true
63500 },
63501 "attrWithFunnyChar": true
63502 },
63503 "tree": [
63504 {
63505 "tag": "html",
63506 "children": [
63507 {
63508 "tag": "head"
63509 },
63510 {
63511 "tag": "body",
63512 "children": [
63513 {
63514 "tag": "p",
63515 "children": [
63516 {
63517 "tag": "code",
63518 "attrs": [
63519 {
63520 "name": "code",
63521 "value": ""
63522 },
63523 {
63524 "name": "x<",
63525 "value": ""
63526 }
63527 ]
63528 }
63529 ]
63530 },
63531 {
63532 "tag": "code",
63533 "attrs": [
63534 {
63535 "name": "code",
63536 "value": ""
63537 },
63538 {
63539 "name": "x<",
63540 "value": ""
63541 }
63542 ],
63543 "children": [
63544 {
63545 "text": "\n"
63546 }
63547 ]
63548 }
63549 ]
63550 }
63551 ]
63552 }
63553 ],
63554 "html": "<html><head></head><body><p><code x<=\"\" code=\"\"></code></p><code x<=\"\" code=\"\">\n</code></body></html>",
63555 "noQuirksBodyHtml": "<p><code x<=\"\" code=\"\"></code></p><code x<=\"\" code=\"\">\n</code>"
63556 }
63557 },
63558 {
63559 "data": "<!DOCTYPE html><svg><foreignObject><p><i></p>a",
63560 "errors": [
63561 "(1,45): unexpected-end-tag",
63562 "(1,46): expected-closing-tag-but-got-eof"
63563 ],
63564 "document": {
63565 "props": {
63566 "tags": {
63567 "html": true,
63568 "head": true,
63569 "body": true,
63570 "svg svg": true,
63571 "svg foreignObject": true,
63572 "p": true,
63573 "i": true
63574 },
63575 "doctype": true
63576 },
63577 "tree": [
63578 {
63579 "doctype": "html"
63580 },
63581 {
63582 "tag": "html",
63583 "children": [
63584 {
63585 "tag": "head"
63586 },
63587 {
63588 "tag": "body",
63589 "children": [
63590 {
63591 "tag": "svg",
63592 "ns": "http://www.w3.org/2000/svg",
63593 "children": [
63594 {
63595 "tag": "foreignObject",
63596 "ns": "http://www.w3.org/2000/svg",
63597 "children": [
63598 {
63599 "tag": "p",
63600 "children": [
63601 {
63602 "tag": "i"
63603 }
63604 ]
63605 },
63606 {
63607 "tag": "i",
63608 "children": [
63609 {
63610 "text": "a"
63611 }
63612 ]
63613 }
63614 ]
63615 }
63616 ]
63617 }
63618 ]
63619 }
63620 ]
63621 }
63622 ],
63623 "html": "<!DOCTYPE html><html><head></head><body><svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg></body></html>",
63624 "noQuirksBodyHtml": "<svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg>"
63625 }
63626 },
63627 {
63628 "data": "<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a",
63629 "errors": [
63630 "(1,60): unexpected-end-tag",
63631 "(1,61): expected-closing-tag-but-got-eof"
63632 ],
63633 "document": {
63634 "props": {
63635 "tags": {
63636 "html": true,
63637 "head": true,
63638 "body": true,
63639 "table": true,
63640 "tbody": true,
63641 "tr": true,
63642 "td": true,
63643 "svg svg": true,
63644 "svg foreignObject": true,
63645 "p": true,
63646 "i": true
63647 },
63648 "doctype": true
63649 },
63650 "tree": [
63651 {
63652 "doctype": "html"
63653 },
63654 {
63655 "tag": "html",
63656 "children": [
63657 {
63658 "tag": "head"
63659 },
63660 {
63661 "tag": "body",
63662 "children": [
63663 {
63664 "tag": "table",
63665 "children": [
63666 {
63667 "tag": "tbody",
63668 "children": [
63669 {
63670 "tag": "tr",
63671 "children": [
63672 {
63673 "tag": "td",
63674 "children": [
63675 {
63676 "tag": "svg",
63677 "ns": "http://www.w3.org/2000/svg",
63678 "children": [
63679 {
63680 "tag": "foreignObject",
63681 "ns": "http://www.w3.org/2000/svg",
63682 "children": [
63683 {
63684 "tag": "p",
63685 "children": [
63686 {
63687 "tag": "i"
63688 }
63689 ]
63690 },
63691 {
63692 "tag": "i",
63693 "children": [
63694 {
63695 "text": "a"
63696 }
63697 ]
63698 }
63699 ]
63700 }
63701 ]
63702 }
63703 ]
63704 }
63705 ]
63706 }
63707 ]
63708 }
63709 ]
63710 }
63711 ]
63712 }
63713 ]
63714 }
63715 ],
63716 "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>",
63717 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><foreignObject><p><i></i></p><i>a</i></foreignObject></svg></td></tr></tbody></table>"
63718 }
63719 },
63720 {
63721 "data": "<!DOCTYPE html><math><mtext><p><i></p>a",
63722 "errors": [
63723 "(1,38): unexpected-end-tag",
63724 "(1,39): expected-closing-tag-but-got-eof"
63725 ],
63726 "document": {
63727 "props": {
63728 "tags": {
63729 "html": true,
63730 "head": true,
63731 "body": true,
63732 "math math": true,
63733 "math mtext": true,
63734 "p": true,
63735 "i": true
63736 },
63737 "doctype": true
63738 },
63739 "tree": [
63740 {
63741 "doctype": "html"
63742 },
63743 {
63744 "tag": "html",
63745 "children": [
63746 {
63747 "tag": "head"
63748 },
63749 {
63750 "tag": "body",
63751 "children": [
63752 {
63753 "tag": "math",
63754 "ns": "http://www.w3.org/1998/Math/MathML",
63755 "children": [
63756 {
63757 "tag": "mtext",
63758 "ns": "http://www.w3.org/1998/Math/MathML",
63759 "children": [
63760 {
63761 "tag": "p",
63762 "children": [
63763 {
63764 "tag": "i"
63765 }
63766 ]
63767 },
63768 {
63769 "tag": "i",
63770 "children": [
63771 {
63772 "text": "a"
63773 }
63774 ]
63775 }
63776 ]
63777 }
63778 ]
63779 }
63780 ]
63781 }
63782 ]
63783 }
63784 ],
63785 "html": "<!DOCTYPE html><html><head></head><body><math><mtext><p><i></i></p><i>a</i></mtext></math></body></html>",
63786 "noQuirksBodyHtml": "<math><mtext><p><i></i></p><i>a</i></mtext></math>"
63787 }
63788 },
63789 {
63790 "data": "<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a",
63791 "errors": [
63792 "(1,53): unexpected-end-tag",
63793 "(1,54): expected-closing-tag-but-got-eof"
63794 ],
63795 "document": {
63796 "props": {
63797 "tags": {
63798 "html": true,
63799 "head": true,
63800 "body": true,
63801 "table": true,
63802 "tbody": true,
63803 "tr": true,
63804 "td": true,
63805 "math math": true,
63806 "math mtext": true,
63807 "p": true,
63808 "i": true
63809 },
63810 "doctype": true
63811 },
63812 "tree": [
63813 {
63814 "doctype": "html"
63815 },
63816 {
63817 "tag": "html",
63818 "children": [
63819 {
63820 "tag": "head"
63821 },
63822 {
63823 "tag": "body",
63824 "children": [
63825 {
63826 "tag": "table",
63827 "children": [
63828 {
63829 "tag": "tbody",
63830 "children": [
63831 {
63832 "tag": "tr",
63833 "children": [
63834 {
63835 "tag": "td",
63836 "children": [
63837 {
63838 "tag": "math",
63839 "ns": "http://www.w3.org/1998/Math/MathML",
63840 "children": [
63841 {
63842 "tag": "mtext",
63843 "ns": "http://www.w3.org/1998/Math/MathML",
63844 "children": [
63845 {
63846 "tag": "p",
63847 "children": [
63848 {
63849 "tag": "i"
63850 }
63851 ]
63852 },
63853 {
63854 "tag": "i",
63855 "children": [
63856 {
63857 "text": "a"
63858 }
63859 ]
63860 }
63861 ]
63862 }
63863 ]
63864 }
63865 ]
63866 }
63867 ]
63868 }
63869 ]
63870 }
63871 ]
63872 }
63873 ]
63874 }
63875 ]
63876 }
63877 ],
63878 "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>",
63879 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mtext><p><i></i></p><i>a</i></mtext></math></td></tr></tbody></table>"
63880 }
63881 },
63882 {
63883 "data": "<!DOCTYPE html><body><div><!/div>a",
63884 "errors": [
63885 "(1,28): expected-dashes-or-doctype",
63886 "(1,34): expected-closing-tag-but-got-eof"
63887 ],
63888 "document": {
63889 "props": {
63890 "tags": {
63891 "html": true,
63892 "head": true,
63893 "body": true,
63894 "div": true
63895 },
63896 "doctype": true,
63897 "comment": true
63898 },
63899 "tree": [
63900 {
63901 "doctype": "html"
63902 },
63903 {
63904 "tag": "html",
63905 "children": [
63906 {
63907 "tag": "head"
63908 },
63909 {
63910 "tag": "body",
63911 "children": [
63912 {
63913 "tag": "div",
63914 "children": [
63915 {
63916 "comment": "/div"
63917 },
63918 {
63919 "text": "a"
63920 }
63921 ]
63922 }
63923 ]
63924 }
63925 ]
63926 }
63927 ],
63928 "html": "<!DOCTYPE html><html><head></head><body><div><!--/div-->a</div></body></html>",
63929 "noQuirksBodyHtml": "<div><!--/div-->a</div>"
63930 }
63931 },
63932 {
63933 "data": "<button><p><button>",
63934 "errors": [
63935 "Line 1 Col 8 Unexpected start tag (button). Expected DOCTYPE.",
63936 "Line 1 Col 19 Unexpected start tag (button) implies end tag (button).",
63937 "Line 1 Col 19 Expected closing tag. Unexpected end of file."
63938 ],
63939 "document": {
63940 "props": {
63941 "tags": {
63942 "html": true,
63943 "head": true,
63944 "body": true,
63945 "button": true,
63946 "p": true
63947 }
63948 },
63949 "tree": [
63950 {
63951 "tag": "html",
63952 "children": [
63953 {
63954 "tag": "head"
63955 },
63956 {
63957 "tag": "body",
63958 "children": [
63959 {
63960 "tag": "button",
63961 "children": [
63962 {
63963 "tag": "p"
63964 }
63965 ]
63966 },
63967 {
63968 "tag": "button"
63969 }
63970 ]
63971 }
63972 ]
63973 }
63974 ],
63975 "html": "<html><head></head><body><button><p></p></button><button></button></body></html>",
63976 "noQuirksBodyHtml": "<button><p></p></button><button></button>"
63977 }
63978 }
63979 ],
63980 "tests3.dat": [
63981 {
63982 "data": "<head></head><style></style>",
63983 "errors": [
63984 "(1,6): expected-doctype-but-got-start-tag",
63985 "(1,20): unexpected-start-tag-out-of-my-head"
63986 ],
63987 "document": {
63988 "props": {
63989 "tags": {
63990 "html": true,
63991 "head": true,
63992 "style": true,
63993 "body": true
63994 }
63995 },
63996 "tree": [
63997 {
63998 "tag": "html",
63999 "children": [
64000 {
64001 "tag": "head",
64002 "children": [
64003 {
64004 "tag": "style"
64005 }
64006 ]
64007 },
64008 {
64009 "tag": "body"
64010 }
64011 ]
64012 }
64013 ],
64014 "html": "<html><head><style></style></head><body></body></html>",
64015 "noQuirksBodyHtml": "<style></style>"
64016 }
64017 },
64018 {
64019 "data": "<head></head><script></script>",
64020 "errors": [
64021 "(1,6): expected-doctype-but-got-start-tag",
64022 "(1,21): unexpected-start-tag-out-of-my-head"
64023 ],
64024 "document": {
64025 "props": {
64026 "tags": {
64027 "html": true,
64028 "head": true,
64029 "script": true,
64030 "body": true
64031 }
64032 },
64033 "tree": [
64034 {
64035 "tag": "html",
64036 "children": [
64037 {
64038 "tag": "head",
64039 "children": [
64040 {
64041 "tag": "script"
64042 }
64043 ]
64044 },
64045 {
64046 "tag": "body"
64047 }
64048 ]
64049 }
64050 ],
64051 "html": "<html><head><script></script></head><body></body></html>",
64052 "noQuirksBodyHtml": "<script></script>"
64053 }
64054 },
64055 {
64056 "data": "<head></head><!-- --><style></style><!-- --><script></script>",
64057 "errors": [
64058 "(1,6): expected-doctype-but-got-start-tag",
64059 "(1,28): unexpected-start-tag-out-of-my-head",
64060 "(1,52): unexpected-start-tag-out-of-my-head"
64061 ],
64062 "document": {
64063 "props": {
64064 "tags": {
64065 "html": true,
64066 "head": true,
64067 "style": true,
64068 "script": true,
64069 "body": true
64070 },
64071 "comment": true
64072 },
64073 "tree": [
64074 {
64075 "tag": "html",
64076 "children": [
64077 {
64078 "tag": "head",
64079 "children": [
64080 {
64081 "tag": "style"
64082 },
64083 {
64084 "tag": "script"
64085 }
64086 ]
64087 },
64088 {
64089 "comment": " "
64090 },
64091 {
64092 "comment": " "
64093 },
64094 {
64095 "tag": "body"
64096 }
64097 ]
64098 }
64099 ],
64100 "html": "<html><head><style></style><script></script></head><!-- --><!-- --><body></body></html>",
64101 "noQuirksBodyHtml": "<!-- --><style></style><!-- --><script></script>"
64102 }
64103 },
64104 {
64105 "data": "<head></head><!-- -->x<style></style><!-- --><script></script>",
64106 "errors": [
64107 "(1,6): expected-doctype-but-got-start-tag"
64108 ],
64109 "document": {
64110 "props": {
64111 "tags": {
64112 "html": true,
64113 "head": true,
64114 "body": true,
64115 "style": true,
64116 "script": true
64117 },
64118 "comment": true
64119 },
64120 "tree": [
64121 {
64122 "tag": "html",
64123 "children": [
64124 {
64125 "tag": "head"
64126 },
64127 {
64128 "comment": " "
64129 },
64130 {
64131 "tag": "body",
64132 "children": [
64133 {
64134 "text": "x"
64135 },
64136 {
64137 "tag": "style"
64138 },
64139 {
64140 "comment": " "
64141 },
64142 {
64143 "tag": "script"
64144 }
64145 ]
64146 }
64147 ]
64148 }
64149 ],
64150 "html": "<html><head></head><!-- --><body>x<style></style><!-- --><script></script></body></html>",
64151 "noQuirksBodyHtml": "<!-- -->x<style></style><!-- --><script></script>"
64152 }
64153 },
64154 {
64155 "data": "<!DOCTYPE html><html><head></head><body><pre>\n</pre></body></html>",
64156 "errors": [],
64157 "document": {
64158 "props": {
64159 "tags": {
64160 "html": true,
64161 "head": true,
64162 "body": true,
64163 "pre": true
64164 },
64165 "doctype": true
64166 },
64167 "tree": [
64168 {
64169 "doctype": "html"
64170 },
64171 {
64172 "tag": "html",
64173 "children": [
64174 {
64175 "tag": "head"
64176 },
64177 {
64178 "tag": "body",
64179 "children": [
64180 {
64181 "tag": "pre"
64182 }
64183 ]
64184 }
64185 ]
64186 }
64187 ],
64188 "html": "<!DOCTYPE html><html><head></head><body><pre></pre></body></html>",
64189 "noQuirksBodyHtml": "<pre></pre>"
64190 }
64191 },
64192 {
64193 "data": "<!DOCTYPE html><html><head></head><body><pre>\nfoo</pre></body></html>",
64194 "errors": [],
64195 "document": {
64196 "props": {
64197 "tags": {
64198 "html": true,
64199 "head": true,
64200 "body": true,
64201 "pre": true
64202 },
64203 "doctype": true
64204 },
64205 "tree": [
64206 {
64207 "doctype": "html"
64208 },
64209 {
64210 "tag": "html",
64211 "children": [
64212 {
64213 "tag": "head"
64214 },
64215 {
64216 "tag": "body",
64217 "children": [
64218 {
64219 "tag": "pre",
64220 "children": [
64221 {
64222 "text": "foo"
64223 }
64224 ]
64225 }
64226 ]
64227 }
64228 ]
64229 }
64230 ],
64231 "html": "<!DOCTYPE html><html><head></head><body><pre>foo</pre></body></html>",
64232 "noQuirksBodyHtml": "<pre>foo</pre>"
64233 }
64234 },
64235 {
64236 "data": "<!DOCTYPE html><html><head></head><body><pre>\n\nfoo</pre></body></html>",
64237 "errors": [],
64238 "document": {
64239 "props": {
64240 "tags": {
64241 "html": true,
64242 "head": true,
64243 "body": true,
64244 "pre": true
64245 },
64246 "doctype": true,
64247 "extraNL": true
64248 },
64249 "tree": [
64250 {
64251 "doctype": "html"
64252 },
64253 {
64254 "tag": "html",
64255 "children": [
64256 {
64257 "tag": "head"
64258 },
64259 {
64260 "tag": "body",
64261 "children": [
64262 {
64263 "tag": "pre",
64264 "children": [
64265 {
64266 "text": "\nfoo",
64267 "extraNL": true
64268 }
64269 ]
64270 }
64271 ]
64272 }
64273 ]
64274 }
64275 ],
64276 "html": "<!DOCTYPE html><html><head></head><body><pre>\n\nfoo</pre></body></html>",
64277 "noQuirksBodyHtml": "<pre>\n\nfoo</pre>"
64278 }
64279 },
64280 {
64281 "data": "<!DOCTYPE html><html><head></head><body><pre>\nfoo\n</pre></body></html>",
64282 "errors": [],
64283 "document": {
64284 "props": {
64285 "tags": {
64286 "html": true,
64287 "head": true,
64288 "body": true,
64289 "pre": true
64290 },
64291 "doctype": true
64292 },
64293 "tree": [
64294 {
64295 "doctype": "html"
64296 },
64297 {
64298 "tag": "html",
64299 "children": [
64300 {
64301 "tag": "head"
64302 },
64303 {
64304 "tag": "body",
64305 "children": [
64306 {
64307 "tag": "pre",
64308 "children": [
64309 {
64310 "text": "foo\n"
64311 }
64312 ]
64313 }
64314 ]
64315 }
64316 ]
64317 }
64318 ],
64319 "html": "<!DOCTYPE html><html><head></head><body><pre>foo\n</pre></body></html>",
64320 "noQuirksBodyHtml": "<pre>foo\n</pre>"
64321 }
64322 },
64323 {
64324 "data": "<!DOCTYPE html><html><head></head><body><pre>x</pre><span>\n</span></body></html>",
64325 "errors": [],
64326 "document": {
64327 "props": {
64328 "tags": {
64329 "html": true,
64330 "head": true,
64331 "body": true,
64332 "pre": true,
64333 "span": true
64334 },
64335 "doctype": true
64336 },
64337 "tree": [
64338 {
64339 "doctype": "html"
64340 },
64341 {
64342 "tag": "html",
64343 "children": [
64344 {
64345 "tag": "head"
64346 },
64347 {
64348 "tag": "body",
64349 "children": [
64350 {
64351 "tag": "pre",
64352 "children": [
64353 {
64354 "text": "x"
64355 }
64356 ]
64357 },
64358 {
64359 "tag": "span",
64360 "children": [
64361 {
64362 "text": "\n"
64363 }
64364 ]
64365 }
64366 ]
64367 }
64368 ]
64369 }
64370 ],
64371 "html": "<!DOCTYPE html><html><head></head><body><pre>x</pre><span>\n</span></body></html>",
64372 "noQuirksBodyHtml": "<pre>x</pre><span>\n</span>"
64373 }
64374 },
64375 {
64376 "data": "<!DOCTYPE html><html><head></head><body><pre>x\ny</pre></body></html>",
64377 "errors": [],
64378 "document": {
64379 "props": {
64380 "tags": {
64381 "html": true,
64382 "head": true,
64383 "body": true,
64384 "pre": true
64385 },
64386 "doctype": true
64387 },
64388 "tree": [
64389 {
64390 "doctype": "html"
64391 },
64392 {
64393 "tag": "html",
64394 "children": [
64395 {
64396 "tag": "head"
64397 },
64398 {
64399 "tag": "body",
64400 "children": [
64401 {
64402 "tag": "pre",
64403 "children": [
64404 {
64405 "text": "x\ny"
64406 }
64407 ]
64408 }
64409 ]
64410 }
64411 ]
64412 }
64413 ],
64414 "html": "<!DOCTYPE html><html><head></head><body><pre>x\ny</pre></body></html>",
64415 "noQuirksBodyHtml": "<pre>x\ny</pre>"
64416 }
64417 },
64418 {
64419 "data": "<!DOCTYPE html><html><head></head><body><pre>x<div>\ny</pre></body></html>",
64420 "errors": [
64421 "(2,7): end-tag-too-early"
64422 ],
64423 "document": {
64424 "props": {
64425 "tags": {
64426 "html": true,
64427 "head": true,
64428 "body": true,
64429 "pre": true,
64430 "div": true
64431 },
64432 "doctype": true
64433 },
64434 "tree": [
64435 {
64436 "doctype": "html"
64437 },
64438 {
64439 "tag": "html",
64440 "children": [
64441 {
64442 "tag": "head"
64443 },
64444 {
64445 "tag": "body",
64446 "children": [
64447 {
64448 "tag": "pre",
64449 "children": [
64450 {
64451 "text": "x"
64452 },
64453 {
64454 "tag": "div",
64455 "children": [
64456 {
64457 "text": "\ny"
64458 }
64459 ]
64460 }
64461 ]
64462 }
64463 ]
64464 }
64465 ]
64466 }
64467 ],
64468 "html": "<!DOCTYPE html><html><head></head><body><pre>x<div>\ny</div></pre></body></html>",
64469 "noQuirksBodyHtml": "<pre>x<div>\ny</div></pre>"
64470 }
64471 },
64472 {
64473 "data": "<!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>",
64474 "errors": [],
64475 "document": {
64476 "props": {
64477 "tags": {
64478 "html": true,
64479 "head": true,
64480 "body": true,
64481 "pre": true
64482 },
64483 "doctype": true,
64484 "extraNL": true
64485 },
64486 "tree": [
64487 {
64488 "doctype": "html"
64489 },
64490 {
64491 "tag": "html",
64492 "children": [
64493 {
64494 "tag": "head"
64495 },
64496 {
64497 "tag": "body",
64498 "children": [
64499 {
64500 "tag": "pre",
64501 "children": [
64502 {
64503 "text": "\nA",
64504 "extraNL": true
64505 }
64506 ]
64507 }
64508 ]
64509 }
64510 ]
64511 }
64512 ],
64513 "html": "<!DOCTYPE html><html><head></head><body><pre>\n\nA</pre></body></html>",
64514 "noQuirksBodyHtml": "<pre>\n\nA</pre>"
64515 }
64516 },
64517 {
64518 "data": "<!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>",
64519 "errors": [
64520 "(1,33): two-heads-are-not-better-than-one"
64521 ],
64522 "document": {
64523 "props": {
64524 "tags": {
64525 "html": true,
64526 "head": true,
64527 "meta": true,
64528 "body": true
64529 },
64530 "doctype": true
64531 },
64532 "tree": [
64533 {
64534 "doctype": "html"
64535 },
64536 {
64537 "tag": "html",
64538 "children": [
64539 {
64540 "tag": "head",
64541 "children": [
64542 {
64543 "tag": "meta"
64544 }
64545 ]
64546 },
64547 {
64548 "tag": "body"
64549 }
64550 ]
64551 }
64552 ],
64553 "html": "<!DOCTYPE html><html><head><meta></head><body></body></html>",
64554 "noQuirksBodyHtml": "<meta>"
64555 }
64556 },
64557 {
64558 "data": "<!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>",
64559 "errors": [
64560 "(1,33): two-heads-are-not-better-than-one"
64561 ],
64562 "document": {
64563 "props": {
64564 "tags": {
64565 "html": true,
64566 "head": true,
64567 "body": true
64568 },
64569 "doctype": true
64570 },
64571 "tree": [
64572 {
64573 "doctype": "html"
64574 },
64575 {
64576 "tag": "html",
64577 "children": [
64578 {
64579 "tag": "head"
64580 },
64581 {
64582 "tag": "body"
64583 }
64584 ]
64585 }
64586 ],
64587 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
64588 "noQuirksBodyHtml": ""
64589 }
64590 },
64591 {
64592 "data": "<textarea>foo<span>bar</span><i>baz",
64593 "errors": [
64594 "(1,10): expected-doctype-but-got-start-tag",
64595 "(1,35): expected-closing-tag-but-got-eof"
64596 ],
64597 "document": {
64598 "props": {
64599 "tags": {
64600 "html": true,
64601 "head": true,
64602 "body": true,
64603 "textarea": true
64604 },
64605 "escaped": true
64606 },
64607 "tree": [
64608 {
64609 "tag": "html",
64610 "children": [
64611 {
64612 "tag": "head"
64613 },
64614 {
64615 "tag": "body",
64616 "children": [
64617 {
64618 "tag": "textarea",
64619 "children": [
64620 {
64621 "text": "foo<span>bar</span><i>baz",
64622 "escaped": true
64623 }
64624 ]
64625 }
64626 ]
64627 }
64628 ]
64629 }
64630 ],
64631 "html": "<html><head></head><body><textarea>foo&lt;span&gt;bar&lt;/span&gt;&lt;i&gt;baz</textarea></body></html>",
64632 "noQuirksBodyHtml": "<textarea>foo&lt;span&gt;bar&lt;/span&gt;&lt;i&gt;baz</textarea>"
64633 }
64634 },
64635 {
64636 "data": "<title>foo<span>bar</em><i>baz",
64637 "errors": [
64638 "(1,7): expected-doctype-but-got-start-tag",
64639 "(1,30): expected-named-closing-tag-but-got-eof"
64640 ],
64641 "document": {
64642 "props": {
64643 "tags": {
64644 "html": true,
64645 "head": true,
64646 "title": true,
64647 "body": true
64648 },
64649 "escaped": true
64650 },
64651 "tree": [
64652 {
64653 "tag": "html",
64654 "children": [
64655 {
64656 "tag": "head",
64657 "children": [
64658 {
64659 "tag": "title",
64660 "children": [
64661 {
64662 "text": "foo<span>bar</em><i>baz",
64663 "escaped": true
64664 }
64665 ]
64666 }
64667 ]
64668 },
64669 {
64670 "tag": "body"
64671 }
64672 ]
64673 }
64674 ],
64675 "html": "<html><head><title>foo&lt;span&gt;bar&lt;/em&gt;&lt;i&gt;baz</title></head><body></body></html>",
64676 "noQuirksBodyHtml": "<title>foo&lt;span&gt;bar&lt;/em&gt;&lt;i&gt;baz</title>"
64677 }
64678 },
64679 {
64680 "data": "<!DOCTYPE html><textarea>\n</textarea>",
64681 "errors": [],
64682 "document": {
64683 "props": {
64684 "tags": {
64685 "html": true,
64686 "head": true,
64687 "body": true,
64688 "textarea": true
64689 },
64690 "doctype": true
64691 },
64692 "tree": [
64693 {
64694 "doctype": "html"
64695 },
64696 {
64697 "tag": "html",
64698 "children": [
64699 {
64700 "tag": "head"
64701 },
64702 {
64703 "tag": "body",
64704 "children": [
64705 {
64706 "tag": "textarea"
64707 }
64708 ]
64709 }
64710 ]
64711 }
64712 ],
64713 "html": "<!DOCTYPE html><html><head></head><body><textarea></textarea></body></html>",
64714 "noQuirksBodyHtml": "<textarea></textarea>"
64715 }
64716 },
64717 {
64718 "data": "<!DOCTYPE html><textarea>\nfoo</textarea>",
64719 "errors": [],
64720 "document": {
64721 "props": {
64722 "tags": {
64723 "html": true,
64724 "head": true,
64725 "body": true,
64726 "textarea": true
64727 },
64728 "doctype": true
64729 },
64730 "tree": [
64731 {
64732 "doctype": "html"
64733 },
64734 {
64735 "tag": "html",
64736 "children": [
64737 {
64738 "tag": "head"
64739 },
64740 {
64741 "tag": "body",
64742 "children": [
64743 {
64744 "tag": "textarea",
64745 "children": [
64746 {
64747 "text": "foo"
64748 }
64749 ]
64750 }
64751 ]
64752 }
64753 ]
64754 }
64755 ],
64756 "html": "<!DOCTYPE html><html><head></head><body><textarea>foo</textarea></body></html>",
64757 "noQuirksBodyHtml": "<textarea>foo</textarea>"
64758 }
64759 },
64760 {
64761 "data": "<!DOCTYPE html><textarea>\n\nfoo</textarea>",
64762 "errors": [],
64763 "document": {
64764 "props": {
64765 "tags": {
64766 "html": true,
64767 "head": true,
64768 "body": true,
64769 "textarea": true
64770 },
64771 "doctype": true,
64772 "extraNL": true
64773 },
64774 "tree": [
64775 {
64776 "doctype": "html"
64777 },
64778 {
64779 "tag": "html",
64780 "children": [
64781 {
64782 "tag": "head"
64783 },
64784 {
64785 "tag": "body",
64786 "children": [
64787 {
64788 "tag": "textarea",
64789 "children": [
64790 {
64791 "text": "\nfoo",
64792 "extraNL": true
64793 }
64794 ]
64795 }
64796 ]
64797 }
64798 ]
64799 }
64800 ],
64801 "html": "<!DOCTYPE html><html><head></head><body><textarea>\n\nfoo</textarea></body></html>",
64802 "noQuirksBodyHtml": "<textarea>\n\nfoo</textarea>"
64803 }
64804 },
64805 {
64806 "data": "<!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>",
64807 "errors": [
64808 "(1,60): end-tag-too-early"
64809 ],
64810 "document": {
64811 "props": {
64812 "tags": {
64813 "html": true,
64814 "head": true,
64815 "body": true,
64816 "ul": true,
64817 "li": true,
64818 "div": true,
64819 "p": true
64820 },
64821 "doctype": true
64822 },
64823 "tree": [
64824 {
64825 "doctype": "html"
64826 },
64827 {
64828 "tag": "html",
64829 "children": [
64830 {
64831 "tag": "head"
64832 },
64833 {
64834 "tag": "body",
64835 "children": [
64836 {
64837 "tag": "ul",
64838 "children": [
64839 {
64840 "tag": "li",
64841 "children": [
64842 {
64843 "tag": "div",
64844 "children": [
64845 {
64846 "tag": "p"
64847 }
64848 ]
64849 }
64850 ]
64851 },
64852 {
64853 "tag": "li"
64854 }
64855 ]
64856 }
64857 ]
64858 }
64859 ]
64860 }
64861 ],
64862 "html": "<!DOCTYPE html><html><head></head><body><ul><li><div><p></p></div></li><li></li></ul></body></html>",
64863 "noQuirksBodyHtml": "<ul><li><div><p></p></div></li><li></li></ul>"
64864 }
64865 },
64866 {
64867 "data": "<!doctype html><nobr><nobr><nobr>",
64868 "errors": [
64869 "(1,27): unexpected-start-tag-implies-end-tag",
64870 "(1,33): unexpected-start-tag-implies-end-tag",
64871 "(1,33): expected-closing-tag-but-got-eof"
64872 ],
64873 "document": {
64874 "props": {
64875 "tags": {
64876 "html": true,
64877 "head": true,
64878 "body": true,
64879 "nobr": true
64880 },
64881 "doctype": true
64882 },
64883 "tree": [
64884 {
64885 "doctype": "html"
64886 },
64887 {
64888 "tag": "html",
64889 "children": [
64890 {
64891 "tag": "head"
64892 },
64893 {
64894 "tag": "body",
64895 "children": [
64896 {
64897 "tag": "nobr"
64898 },
64899 {
64900 "tag": "nobr"
64901 },
64902 {
64903 "tag": "nobr"
64904 }
64905 ]
64906 }
64907 ]
64908 }
64909 ],
64910 "html": "<!DOCTYPE html><html><head></head><body><nobr></nobr><nobr></nobr><nobr></nobr></body></html>",
64911 "noQuirksBodyHtml": "<nobr></nobr><nobr></nobr><nobr></nobr>"
64912 }
64913 },
64914 {
64915 "data": "<!doctype html><nobr><nobr></nobr><nobr>",
64916 "errors": [
64917 "(1,27): unexpected-start-tag-implies-end-tag",
64918 "(1,40): expected-closing-tag-but-got-eof"
64919 ],
64920 "document": {
64921 "props": {
64922 "tags": {
64923 "html": true,
64924 "head": true,
64925 "body": true,
64926 "nobr": true
64927 },
64928 "doctype": true
64929 },
64930 "tree": [
64931 {
64932 "doctype": "html"
64933 },
64934 {
64935 "tag": "html",
64936 "children": [
64937 {
64938 "tag": "head"
64939 },
64940 {
64941 "tag": "body",
64942 "children": [
64943 {
64944 "tag": "nobr"
64945 },
64946 {
64947 "tag": "nobr"
64948 },
64949 {
64950 "tag": "nobr"
64951 }
64952 ]
64953 }
64954 ]
64955 }
64956 ],
64957 "html": "<!DOCTYPE html><html><head></head><body><nobr></nobr><nobr></nobr><nobr></nobr></body></html>",
64958 "noQuirksBodyHtml": "<nobr></nobr><nobr></nobr><nobr></nobr>"
64959 }
64960 },
64961 {
64962 "data": "<!doctype html><html><body><p><table></table></body></html>",
64963 "errors": [],
64964 "document": {
64965 "props": {
64966 "tags": {
64967 "html": true,
64968 "head": true,
64969 "body": true,
64970 "p": true,
64971 "table": true
64972 },
64973 "doctype": true
64974 },
64975 "tree": [
64976 {
64977 "doctype": "html"
64978 },
64979 {
64980 "tag": "html",
64981 "children": [
64982 {
64983 "tag": "head"
64984 },
64985 {
64986 "tag": "body",
64987 "children": [
64988 {
64989 "tag": "p"
64990 },
64991 {
64992 "tag": "table"
64993 }
64994 ]
64995 }
64996 ]
64997 }
64998 ],
64999 "html": "<!DOCTYPE html><html><head></head><body><p></p><table></table></body></html>",
65000 "noQuirksBodyHtml": "<p></p><table></table>"
65001 }
65002 },
65003 {
65004 "data": "<p><table></table>",
65005 "errors": [
65006 "(1,3): expected-doctype-but-got-start-tag"
65007 ],
65008 "document": {
65009 "props": {
65010 "tags": {
65011 "html": true,
65012 "head": true,
65013 "body": true,
65014 "p": true,
65015 "table": true
65016 }
65017 },
65018 "tree": [
65019 {
65020 "tag": "html",
65021 "children": [
65022 {
65023 "tag": "head"
65024 },
65025 {
65026 "tag": "body",
65027 "children": [
65028 {
65029 "tag": "p",
65030 "children": [
65031 {
65032 "tag": "table"
65033 }
65034 ]
65035 }
65036 ]
65037 }
65038 ]
65039 }
65040 ],
65041 "html": "<html><head></head><body><p><table></table></p></body></html>",
65042 "noQuirksBodyHtml": "<p></p><table></table>"
65043 }
65044 }
65045 ],
65046 "tests4.dat": [
65047 {
65048 "data": "direct div content",
65049 "errors": [],
65050 "fragment": {
65051 "name": "div"
65052 },
65053 "document": {
65054 "props": {
65055 "tags": {}
65056 },
65057 "tree": [
65058 {
65059 "text": "direct div content"
65060 }
65061 ],
65062 "html": "direct div content",
65063 "noQuirksBodyHtml": "direct div content"
65064 }
65065 },
65066 {
65067 "data": "direct textarea content",
65068 "errors": [],
65069 "fragment": {
65070 "name": "textarea"
65071 },
65072 "document": {
65073 "props": {
65074 "tags": {}
65075 },
65076 "tree": [
65077 {
65078 "text": "direct textarea content"
65079 }
65080 ],
65081 "html": "direct textarea content",
65082 "noQuirksBodyHtml": "direct textarea content"
65083 }
65084 },
65085 {
65086 "data": "textarea content with <em>pseudo</em> <foo>markup",
65087 "errors": [],
65088 "fragment": {
65089 "name": "textarea"
65090 },
65091 "document": {
65092 "props": {
65093 "tags": {},
65094 "escaped": true
65095 },
65096 "tree": [
65097 {
65098 "text": "textarea content with <em>pseudo</em> <foo>markup",
65099 "escaped": true
65100 }
65101 ],
65102 "html": "textarea content with &lt;em&gt;pseudo&lt;/em&gt; &lt;foo&gt;markup",
65103 "noQuirksBodyHtml": "textarea content with <em>pseudo</em> <foo>markup</foo>"
65104 }
65105 },
65106 {
65107 "data": "this is &#x0043;DATA inside a <style> element",
65108 "errors": [],
65109 "fragment": {
65110 "name": "style"
65111 },
65112 "document": {
65113 "props": {
65114 "tags": {},
65115 "no_escape": true
65116 },
65117 "tree": [
65118 {
65119 "text": "this is &#x0043;DATA inside a <style> element",
65120 "no_escape": true
65121 }
65122 ],
65123 "html": "this is &#x0043;DATA inside a <style> element",
65124 "noQuirksBodyHtml": "this is CDATA inside a <style> element</style>"
65125 }
65126 },
65127 {
65128 "data": "</plaintext>",
65129 "errors": [],
65130 "fragment": {
65131 "name": "plaintext"
65132 },
65133 "document": {
65134 "props": {
65135 "tags": {},
65136 "no_escape": true
65137 },
65138 "tree": [
65139 {
65140 "text": "</plaintext>",
65141 "no_escape": true
65142 }
65143 ],
65144 "html": "</plaintext>",
65145 "noQuirksBodyHtml": ""
65146 }
65147 },
65148 {
65149 "data": "setting html's innerHTML",
65150 "errors": [],
65151 "fragment": {
65152 "name": "html"
65153 },
65154 "document": {
65155 "props": {
65156 "tags": {
65157 "head": true,
65158 "body": true
65159 }
65160 },
65161 "tree": [
65162 {
65163 "tag": "head"
65164 },
65165 {
65166 "tag": "body",
65167 "children": [
65168 {
65169 "text": "setting html's innerHTML"
65170 }
65171 ]
65172 }
65173 ],
65174 "html": "<head></head><body>setting html's innerHTML</body>",
65175 "noQuirksBodyHtml": "setting html's innerHTML"
65176 }
65177 },
65178 {
65179 "data": "<title>setting head's innerHTML</title>",
65180 "errors": [],
65181 "fragment": {
65182 "name": "head"
65183 },
65184 "document": {
65185 "props": {
65186 "tags": {
65187 "title": true
65188 }
65189 },
65190 "tree": [
65191 {
65192 "tag": "title",
65193 "children": [
65194 {
65195 "text": "setting head's innerHTML"
65196 }
65197 ]
65198 }
65199 ],
65200 "html": "<title>setting head's innerHTML</title>",
65201 "noQuirksBodyHtml": "<title>setting head's innerHTML</title>"
65202 }
65203 }
65204 ],
65205 "tests5.dat": [
65206 {
65207 "data": "<style> <!-- </style>x",
65208 "errors": [
65209 "(1,7): expected-doctype-but-got-start-tag"
65210 ],
65211 "document": {
65212 "props": {
65213 "tags": {
65214 "html": true,
65215 "head": true,
65216 "style": true,
65217 "body": true
65218 },
65219 "no_escape": true
65220 },
65221 "tree": [
65222 {
65223 "tag": "html",
65224 "children": [
65225 {
65226 "tag": "head",
65227 "children": [
65228 {
65229 "tag": "style",
65230 "children": [
65231 {
65232 "text": " <!-- ",
65233 "no_escape": true
65234 }
65235 ]
65236 }
65237 ]
65238 },
65239 {
65240 "tag": "body",
65241 "children": [
65242 {
65243 "text": "x"
65244 }
65245 ]
65246 }
65247 ]
65248 }
65249 ],
65250 "html": "<html><head><style> <!-- </style></head><body>x</body></html>",
65251 "noQuirksBodyHtml": "<style> <!-- </style>x"
65252 }
65253 },
65254 {
65255 "data": "<style> <!-- </style> --> </style>x",
65256 "errors": [
65257 "(1,7): expected-doctype-but-got-start-tag",
65258 "(1,34): unexpected-end-tag"
65259 ],
65260 "document": {
65261 "props": {
65262 "tags": {
65263 "html": true,
65264 "head": true,
65265 "style": true,
65266 "body": true
65267 },
65268 "no_escape": true,
65269 "escaped": true
65270 },
65271 "tree": [
65272 {
65273 "tag": "html",
65274 "children": [
65275 {
65276 "tag": "head",
65277 "children": [
65278 {
65279 "tag": "style",
65280 "children": [
65281 {
65282 "text": " <!-- ",
65283 "no_escape": true
65284 }
65285 ]
65286 },
65287 {
65288 "text": " "
65289 }
65290 ]
65291 },
65292 {
65293 "tag": "body",
65294 "children": [
65295 {
65296 "text": "--> x",
65297 "escaped": true
65298 }
65299 ]
65300 }
65301 ]
65302 }
65303 ],
65304 "html": "<html><head><style> <!-- </style> </head><body>--&gt; x</body></html>",
65305 "noQuirksBodyHtml": "<style> <!-- </style> --&gt; x"
65306 }
65307 },
65308 {
65309 "data": "<style> <!--> </style>x",
65310 "errors": [
65311 "(1,7): expected-doctype-but-got-start-tag"
65312 ],
65313 "document": {
65314 "props": {
65315 "tags": {
65316 "html": true,
65317 "head": true,
65318 "style": true,
65319 "body": true
65320 },
65321 "no_escape": true
65322 },
65323 "tree": [
65324 {
65325 "tag": "html",
65326 "children": [
65327 {
65328 "tag": "head",
65329 "children": [
65330 {
65331 "tag": "style",
65332 "children": [
65333 {
65334 "text": " <!--> ",
65335 "no_escape": true
65336 }
65337 ]
65338 }
65339 ]
65340 },
65341 {
65342 "tag": "body",
65343 "children": [
65344 {
65345 "text": "x"
65346 }
65347 ]
65348 }
65349 ]
65350 }
65351 ],
65352 "html": "<html><head><style> <!--> </style></head><body>x</body></html>",
65353 "noQuirksBodyHtml": "<style> <!--> </style>x"
65354 }
65355 },
65356 {
65357 "data": "<style> <!---> </style>x",
65358 "errors": [
65359 "(1,7): expected-doctype-but-got-start-tag"
65360 ],
65361 "document": {
65362 "props": {
65363 "tags": {
65364 "html": true,
65365 "head": true,
65366 "style": true,
65367 "body": true
65368 },
65369 "no_escape": true
65370 },
65371 "tree": [
65372 {
65373 "tag": "html",
65374 "children": [
65375 {
65376 "tag": "head",
65377 "children": [
65378 {
65379 "tag": "style",
65380 "children": [
65381 {
65382 "text": " <!---> ",
65383 "no_escape": true
65384 }
65385 ]
65386 }
65387 ]
65388 },
65389 {
65390 "tag": "body",
65391 "children": [
65392 {
65393 "text": "x"
65394 }
65395 ]
65396 }
65397 ]
65398 }
65399 ],
65400 "html": "<html><head><style> <!---> </style></head><body>x</body></html>",
65401 "noQuirksBodyHtml": "<style> <!---> </style>x"
65402 }
65403 },
65404 {
65405 "data": "<iframe> <!---> </iframe>x",
65406 "errors": [
65407 "(1,8): expected-doctype-but-got-start-tag"
65408 ],
65409 "document": {
65410 "props": {
65411 "tags": {
65412 "html": true,
65413 "head": true,
65414 "body": true,
65415 "iframe": true
65416 },
65417 "no_escape": true
65418 },
65419 "tree": [
65420 {
65421 "tag": "html",
65422 "children": [
65423 {
65424 "tag": "head"
65425 },
65426 {
65427 "tag": "body",
65428 "children": [
65429 {
65430 "tag": "iframe",
65431 "children": [
65432 {
65433 "text": " <!---> ",
65434 "no_escape": true
65435 }
65436 ]
65437 },
65438 {
65439 "text": "x"
65440 }
65441 ]
65442 }
65443 ]
65444 }
65445 ],
65446 "html": "<html><head></head><body><iframe> <!---> </iframe>x</body></html>",
65447 "noQuirksBodyHtml": "<iframe> <!---> </iframe>x"
65448 }
65449 },
65450 {
65451 "data": "<iframe> <!--- </iframe>->x</iframe> --> </iframe>x",
65452 "errors": [
65453 "(1,8): expected-doctype-but-got-start-tag",
65454 "(1,36): unexpected-end-tag",
65455 "(1,50): unexpected-end-tag"
65456 ],
65457 "document": {
65458 "props": {
65459 "tags": {
65460 "html": true,
65461 "head": true,
65462 "body": true,
65463 "iframe": true
65464 },
65465 "no_escape": true,
65466 "escaped": true
65467 },
65468 "tree": [
65469 {
65470 "tag": "html",
65471 "children": [
65472 {
65473 "tag": "head"
65474 },
65475 {
65476 "tag": "body",
65477 "children": [
65478 {
65479 "tag": "iframe",
65480 "children": [
65481 {
65482 "text": " <!--- ",
65483 "no_escape": true
65484 }
65485 ]
65486 },
65487 {
65488 "text": "->x --> x",
65489 "escaped": true
65490 }
65491 ]
65492 }
65493 ]
65494 }
65495 ],
65496 "html": "<html><head></head><body><iframe> <!--- </iframe>-&gt;x --&gt; x</body></html>",
65497 "noQuirksBodyHtml": "<iframe> <!--- </iframe>-&gt;x --&gt; x"
65498 }
65499 },
65500 {
65501 "data": "<script> <!-- </script> --> </script>x",
65502 "errors": [
65503 "(1,8): expected-doctype-but-got-start-tag",
65504 "(1,37): unexpected-end-tag"
65505 ],
65506 "document": {
65507 "props": {
65508 "tags": {
65509 "html": true,
65510 "head": true,
65511 "script": true,
65512 "body": true
65513 },
65514 "no_escape": true,
65515 "escaped": true
65516 },
65517 "tree": [
65518 {
65519 "tag": "html",
65520 "children": [
65521 {
65522 "tag": "head",
65523 "children": [
65524 {
65525 "tag": "script",
65526 "children": [
65527 {
65528 "text": " <!-- ",
65529 "no_escape": true
65530 }
65531 ]
65532 },
65533 {
65534 "text": " "
65535 }
65536 ]
65537 },
65538 {
65539 "tag": "body",
65540 "children": [
65541 {
65542 "text": "--> x",
65543 "escaped": true
65544 }
65545 ]
65546 }
65547 ]
65548 }
65549 ],
65550 "html": "<html><head><script> <!-- </script> </head><body>--&gt; x</body></html>",
65551 "noQuirksBodyHtml": "<script> <!-- </script> --&gt; x"
65552 }
65553 },
65554 {
65555 "data": "<title> <!-- </title> --> </title>x",
65556 "errors": [
65557 "(1,7): expected-doctype-but-got-start-tag",
65558 "(1,34): unexpected-end-tag"
65559 ],
65560 "document": {
65561 "props": {
65562 "tags": {
65563 "html": true,
65564 "head": true,
65565 "title": true,
65566 "body": true
65567 },
65568 "escaped": true
65569 },
65570 "tree": [
65571 {
65572 "tag": "html",
65573 "children": [
65574 {
65575 "tag": "head",
65576 "children": [
65577 {
65578 "tag": "title",
65579 "children": [
65580 {
65581 "text": " <!-- ",
65582 "escaped": true
65583 }
65584 ]
65585 },
65586 {
65587 "text": " "
65588 }
65589 ]
65590 },
65591 {
65592 "tag": "body",
65593 "children": [
65594 {
65595 "text": "--> x",
65596 "escaped": true
65597 }
65598 ]
65599 }
65600 ]
65601 }
65602 ],
65603 "html": "<html><head><title> &lt;!-- </title> </head><body>--&gt; x</body></html>",
65604 "noQuirksBodyHtml": "<title> &lt;!-- </title> --&gt; x"
65605 }
65606 },
65607 {
65608 "data": "<textarea> <!--- </textarea>->x</textarea> --> </textarea>x",
65609 "errors": [
65610 "(1,10): expected-doctype-but-got-start-tag",
65611 "(1,42): unexpected-end-tag",
65612 "(1,58): unexpected-end-tag"
65613 ],
65614 "document": {
65615 "props": {
65616 "tags": {
65617 "html": true,
65618 "head": true,
65619 "body": true,
65620 "textarea": true
65621 },
65622 "escaped": true
65623 },
65624 "tree": [
65625 {
65626 "tag": "html",
65627 "children": [
65628 {
65629 "tag": "head"
65630 },
65631 {
65632 "tag": "body",
65633 "children": [
65634 {
65635 "tag": "textarea",
65636 "children": [
65637 {
65638 "text": " <!--- ",
65639 "escaped": true
65640 }
65641 ]
65642 },
65643 {
65644 "text": "->x --> x",
65645 "escaped": true
65646 }
65647 ]
65648 }
65649 ]
65650 }
65651 ],
65652 "html": "<html><head></head><body><textarea> &lt;!--- </textarea>-&gt;x --&gt; x</body></html>",
65653 "noQuirksBodyHtml": "<textarea> &lt;!--- </textarea>-&gt;x --&gt; x"
65654 }
65655 },
65656 {
65657 "data": "<style> <!</-- </style>x",
65658 "errors": [
65659 "(1,7): expected-doctype-but-got-start-tag"
65660 ],
65661 "document": {
65662 "props": {
65663 "tags": {
65664 "html": true,
65665 "head": true,
65666 "style": true,
65667 "body": true
65668 },
65669 "no_escape": true
65670 },
65671 "tree": [
65672 {
65673 "tag": "html",
65674 "children": [
65675 {
65676 "tag": "head",
65677 "children": [
65678 {
65679 "tag": "style",
65680 "children": [
65681 {
65682 "text": " <!</-- ",
65683 "no_escape": true
65684 }
65685 ]
65686 }
65687 ]
65688 },
65689 {
65690 "tag": "body",
65691 "children": [
65692 {
65693 "text": "x"
65694 }
65695 ]
65696 }
65697 ]
65698 }
65699 ],
65700 "html": "<html><head><style> <!</-- </style></head><body>x</body></html>",
65701 "noQuirksBodyHtml": "<style> <!</-- </style>x"
65702 }
65703 },
65704 {
65705 "data": "<p><xmp></xmp>",
65706 "errors": [
65707 "(1,3): expected-doctype-but-got-start-tag"
65708 ],
65709 "document": {
65710 "props": {
65711 "tags": {
65712 "html": true,
65713 "head": true,
65714 "body": true,
65715 "p": true,
65716 "xmp": true
65717 }
65718 },
65719 "tree": [
65720 {
65721 "tag": "html",
65722 "children": [
65723 {
65724 "tag": "head"
65725 },
65726 {
65727 "tag": "body",
65728 "children": [
65729 {
65730 "tag": "p"
65731 },
65732 {
65733 "tag": "xmp"
65734 }
65735 ]
65736 }
65737 ]
65738 }
65739 ],
65740 "html": "<html><head></head><body><p></p><xmp></xmp></body></html>",
65741 "noQuirksBodyHtml": "<p></p><xmp></xmp>"
65742 }
65743 },
65744 {
65745 "data": "<xmp> <!-- > --> </xmp>",
65746 "errors": [
65747 "(1,5): expected-doctype-but-got-start-tag"
65748 ],
65749 "document": {
65750 "props": {
65751 "tags": {
65752 "html": true,
65753 "head": true,
65754 "body": true,
65755 "xmp": true
65756 },
65757 "no_escape": true
65758 },
65759 "tree": [
65760 {
65761 "tag": "html",
65762 "children": [
65763 {
65764 "tag": "head"
65765 },
65766 {
65767 "tag": "body",
65768 "children": [
65769 {
65770 "tag": "xmp",
65771 "children": [
65772 {
65773 "text": " <!-- > --> ",
65774 "no_escape": true
65775 }
65776 ]
65777 }
65778 ]
65779 }
65780 ]
65781 }
65782 ],
65783 "html": "<html><head></head><body><xmp> <!-- > --> </xmp></body></html>",
65784 "noQuirksBodyHtml": "<xmp> <!-- > --> </xmp>"
65785 }
65786 },
65787 {
65788 "data": "<title>&amp;</title>",
65789 "errors": [
65790 "(1,7): expected-doctype-but-got-start-tag"
65791 ],
65792 "document": {
65793 "props": {
65794 "tags": {
65795 "html": true,
65796 "head": true,
65797 "title": true,
65798 "body": true
65799 },
65800 "escaped": true
65801 },
65802 "tree": [
65803 {
65804 "tag": "html",
65805 "children": [
65806 {
65807 "tag": "head",
65808 "children": [
65809 {
65810 "tag": "title",
65811 "children": [
65812 {
65813 "text": "&",
65814 "escaped": true
65815 }
65816 ]
65817 }
65818 ]
65819 },
65820 {
65821 "tag": "body"
65822 }
65823 ]
65824 }
65825 ],
65826 "html": "<html><head><title>&amp;</title></head><body></body></html>",
65827 "noQuirksBodyHtml": "<title>&amp;</title>"
65828 }
65829 },
65830 {
65831 "data": "<title><!--&amp;--></title>",
65832 "errors": [
65833 "(1,7): expected-doctype-but-got-start-tag"
65834 ],
65835 "document": {
65836 "props": {
65837 "tags": {
65838 "html": true,
65839 "head": true,
65840 "title": true,
65841 "body": true
65842 },
65843 "escaped": true
65844 },
65845 "tree": [
65846 {
65847 "tag": "html",
65848 "children": [
65849 {
65850 "tag": "head",
65851 "children": [
65852 {
65853 "tag": "title",
65854 "children": [
65855 {
65856 "text": "<!--&-->",
65857 "escaped": true
65858 }
65859 ]
65860 }
65861 ]
65862 },
65863 {
65864 "tag": "body"
65865 }
65866 ]
65867 }
65868 ],
65869 "html": "<html><head><title>&lt;!--&amp;--&gt;</title></head><body></body></html>",
65870 "noQuirksBodyHtml": "<title>&lt;!--&amp;--&gt;</title>"
65871 }
65872 },
65873 {
65874 "data": "<title><!--</title>",
65875 "errors": [
65876 "(1,7): expected-doctype-but-got-start-tag"
65877 ],
65878 "document": {
65879 "props": {
65880 "tags": {
65881 "html": true,
65882 "head": true,
65883 "title": true,
65884 "body": true
65885 },
65886 "escaped": true
65887 },
65888 "tree": [
65889 {
65890 "tag": "html",
65891 "children": [
65892 {
65893 "tag": "head",
65894 "children": [
65895 {
65896 "tag": "title",
65897 "children": [
65898 {
65899 "text": "<!--",
65900 "escaped": true
65901 }
65902 ]
65903 }
65904 ]
65905 },
65906 {
65907 "tag": "body"
65908 }
65909 ]
65910 }
65911 ],
65912 "html": "<html><head><title>&lt;!--</title></head><body></body></html>",
65913 "noQuirksBodyHtml": "<title>&lt;!--</title>"
65914 }
65915 },
65916 {
65917 "data": "<noscript><!--</noscript>--></noscript>",
65918 "errors": [
65919 "(1,10): expected-doctype-but-got-start-tag",
65920 "(1,39): unexpected-end-tag"
65921 ],
65922 "script": "on",
65923 "document": {
65924 "props": {
65925 "tags": {
65926 "html": true,
65927 "head": true,
65928 "noscript": true,
65929 "body": true
65930 },
65931 "no_escape": true,
65932 "escaped": true
65933 },
65934 "tree": [
65935 {
65936 "tag": "html",
65937 "children": [
65938 {
65939 "tag": "head",
65940 "children": [
65941 {
65942 "tag": "noscript",
65943 "children": [
65944 {
65945 "text": "<!--",
65946 "no_escape": true
65947 }
65948 ]
65949 }
65950 ]
65951 },
65952 {
65953 "tag": "body",
65954 "children": [
65955 {
65956 "text": "-->",
65957 "escaped": true
65958 }
65959 ]
65960 }
65961 ]
65962 }
65963 ],
65964 "html": "<html><head><noscript><!--</noscript></head><body>--&gt;</body></html>",
65965 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>--&gt;"
65966 }
65967 },
65968 {
65969 "data": "<noscript><!--</noscript>--></noscript>",
65970 "errors": [
65971 "(1,10): expected-doctype-but-got-start-tag"
65972 ],
65973 "script": "off",
65974 "document": {
65975 "props": {
65976 "tags": {
65977 "html": true,
65978 "head": true,
65979 "noscript": true,
65980 "body": true
65981 },
65982 "comment": true
65983 },
65984 "tree": [
65985 {
65986 "tag": "html",
65987 "children": [
65988 {
65989 "tag": "head",
65990 "children": [
65991 {
65992 "tag": "noscript",
65993 "children": [
65994 {
65995 "comment": "</noscript>"
65996 }
65997 ]
65998 }
65999 ]
66000 },
66001 {
66002 "tag": "body"
66003 }
66004 ]
66005 }
66006 ],
66007 "html": "<html><head><noscript><!--</noscript>--></noscript></head><body></body></html>",
66008 "noQuirksBodyHtml": "<noscript>&lt;!--</noscript>--&gt;"
66009 }
66010 }
66011 ],
66012 "tests6.dat": [
66013 {
66014 "data": "<!doctype html></head> <head>",
66015 "errors": [
66016 "(1,29): unexpected-start-tag"
66017 ],
66018 "document": {
66019 "props": {
66020 "tags": {
66021 "html": true,
66022 "head": true,
66023 "body": true
66024 },
66025 "doctype": true
66026 },
66027 "tree": [
66028 {
66029 "doctype": "html"
66030 },
66031 {
66032 "tag": "html",
66033 "children": [
66034 {
66035 "tag": "head"
66036 },
66037 {
66038 "text": " "
66039 },
66040 {
66041 "tag": "body"
66042 }
66043 ]
66044 }
66045 ],
66046 "html": "<!DOCTYPE html><html><head></head> <body></body></html>",
66047 "noQuirksBodyHtml": " "
66048 }
66049 },
66050 {
66051 "data": "<!doctype html><form><div></form><div>",
66052 "errors": [
66053 "(1,33): end-tag-too-early-ignored",
66054 "(1,38): expected-closing-tag-but-got-eof"
66055 ],
66056 "document": {
66057 "props": {
66058 "tags": {
66059 "html": true,
66060 "head": true,
66061 "body": true,
66062 "form": true,
66063 "div": true
66064 },
66065 "doctype": true
66066 },
66067 "tree": [
66068 {
66069 "doctype": "html"
66070 },
66071 {
66072 "tag": "html",
66073 "children": [
66074 {
66075 "tag": "head"
66076 },
66077 {
66078 "tag": "body",
66079 "children": [
66080 {
66081 "tag": "form",
66082 "children": [
66083 {
66084 "tag": "div",
66085 "children": [
66086 {
66087 "tag": "div"
66088 }
66089 ]
66090 }
66091 ]
66092 }
66093 ]
66094 }
66095 ]
66096 }
66097 ],
66098 "html": "<!DOCTYPE html><html><head></head><body><form><div><div></div></div></form></body></html>",
66099 "noQuirksBodyHtml": "<form><div><div></div></div></form>"
66100 }
66101 },
66102 {
66103 "data": "<!doctype html><title>&amp;</title>",
66104 "errors": [],
66105 "document": {
66106 "props": {
66107 "tags": {
66108 "html": true,
66109 "head": true,
66110 "title": true,
66111 "body": true
66112 },
66113 "doctype": true,
66114 "escaped": true
66115 },
66116 "tree": [
66117 {
66118 "doctype": "html"
66119 },
66120 {
66121 "tag": "html",
66122 "children": [
66123 {
66124 "tag": "head",
66125 "children": [
66126 {
66127 "tag": "title",
66128 "children": [
66129 {
66130 "text": "&",
66131 "escaped": true
66132 }
66133 ]
66134 }
66135 ]
66136 },
66137 {
66138 "tag": "body"
66139 }
66140 ]
66141 }
66142 ],
66143 "html": "<!DOCTYPE html><html><head><title>&amp;</title></head><body></body></html>",
66144 "noQuirksBodyHtml": "<title>&amp;</title>"
66145 }
66146 },
66147 {
66148 "data": "<!doctype html><title><!--&amp;--></title>",
66149 "errors": [],
66150 "document": {
66151 "props": {
66152 "tags": {
66153 "html": true,
66154 "head": true,
66155 "title": true,
66156 "body": true
66157 },
66158 "doctype": true,
66159 "escaped": true
66160 },
66161 "tree": [
66162 {
66163 "doctype": "html"
66164 },
66165 {
66166 "tag": "html",
66167 "children": [
66168 {
66169 "tag": "head",
66170 "children": [
66171 {
66172 "tag": "title",
66173 "children": [
66174 {
66175 "text": "<!--&-->",
66176 "escaped": true
66177 }
66178 ]
66179 }
66180 ]
66181 },
66182 {
66183 "tag": "body"
66184 }
66185 ]
66186 }
66187 ],
66188 "html": "<!DOCTYPE html><html><head><title>&lt;!--&amp;--&gt;</title></head><body></body></html>",
66189 "noQuirksBodyHtml": "<title>&lt;!--&amp;--&gt;</title>"
66190 }
66191 },
66192 {
66193 "data": "<!doctype>",
66194 "errors": [
66195 "(1,9): need-space-after-doctype",
66196 "(1,10): expected-doctype-name-but-got-right-bracket",
66197 "(1,10): unknown-doctype"
66198 ],
66199 "document": {
66200 "props": {
66201 "tags": {
66202 "html": true,
66203 "head": true,
66204 "body": true
66205 },
66206 "doctype": true
66207 },
66208 "tree": [
66209 {
66210 "doctype": ""
66211 },
66212 {
66213 "tag": "html",
66214 "children": [
66215 {
66216 "tag": "head"
66217 },
66218 {
66219 "tag": "body"
66220 }
66221 ]
66222 }
66223 ],
66224 "html": "<!DOCTYPE ><html><head></head><body></body></html>",
66225 "noQuirksBodyHtml": ""
66226 }
66227 },
66228 {
66229 "data": "<!---x",
66230 "errors": [
66231 "(1,6): eof-in-comment",
66232 "(1,6): expected-doctype-but-got-eof"
66233 ],
66234 "document": {
66235 "props": {
66236 "tags": {
66237 "html": true,
66238 "head": true,
66239 "body": true
66240 },
66241 "comment": true
66242 },
66243 "tree": [
66244 {
66245 "comment": "-x"
66246 },
66247 {
66248 "tag": "html",
66249 "children": [
66250 {
66251 "tag": "head"
66252 },
66253 {
66254 "tag": "body"
66255 }
66256 ]
66257 }
66258 ],
66259 "html": "<!---x--><html><head></head><body></body></html>",
66260 "noQuirksBodyHtml": "<!---x-->"
66261 }
66262 },
66263 {
66264 "data": "<body>\n<div>",
66265 "errors": [
66266 "(1,6): unexpected-start-tag",
66267 "(2,5): expected-closing-tag-but-got-eof"
66268 ],
66269 "fragment": {
66270 "name": "div"
66271 },
66272 "document": {
66273 "props": {
66274 "tags": {
66275 "div": true
66276 }
66277 },
66278 "tree": [
66279 {
66280 "text": "\n"
66281 },
66282 {
66283 "tag": "div"
66284 }
66285 ],
66286 "html": "\n<div></div>",
66287 "noQuirksBodyHtml": "\n<div></div>"
66288 }
66289 },
66290 {
66291 "data": "<frameset></frameset>\nfoo",
66292 "errors": [
66293 "(1,10): expected-doctype-but-got-start-tag",
66294 "(2,1): unexpected-char-after-frameset",
66295 "(2,2): unexpected-char-after-frameset",
66296 "(2,3): unexpected-char-after-frameset"
66297 ],
66298 "document": {
66299 "props": {
66300 "tags": {
66301 "html": true,
66302 "head": true,
66303 "frameset": true
66304 }
66305 },
66306 "tree": [
66307 {
66308 "tag": "html",
66309 "children": [
66310 {
66311 "tag": "head"
66312 },
66313 {
66314 "tag": "frameset"
66315 },
66316 {
66317 "text": "\n"
66318 }
66319 ]
66320 }
66321 ],
66322 "html": "<html><head></head><frameset></frameset>\n</html>",
66323 "noQuirksBodyHtml": "\nfoo"
66324 }
66325 },
66326 {
66327 "data": "<frameset></frameset>\n<noframes>",
66328 "errors": [
66329 "(1,10): expected-doctype-but-got-start-tag",
66330 "(2,10): expected-named-closing-tag-but-got-eof"
66331 ],
66332 "document": {
66333 "props": {
66334 "tags": {
66335 "html": true,
66336 "head": true,
66337 "frameset": true,
66338 "noframes": true
66339 }
66340 },
66341 "tree": [
66342 {
66343 "tag": "html",
66344 "children": [
66345 {
66346 "tag": "head"
66347 },
66348 {
66349 "tag": "frameset"
66350 },
66351 {
66352 "text": "\n"
66353 },
66354 {
66355 "tag": "noframes"
66356 }
66357 ]
66358 }
66359 ],
66360 "html": "<html><head></head><frameset></frameset>\n<noframes></noframes></html>",
66361 "noQuirksBodyHtml": "\n<noframes></noframes>"
66362 }
66363 },
66364 {
66365 "data": "<frameset></frameset>\n<div>",
66366 "errors": [
66367 "(1,10): expected-doctype-but-got-start-tag",
66368 "(2,5): unexpected-start-tag-after-frameset"
66369 ],
66370 "document": {
66371 "props": {
66372 "tags": {
66373 "html": true,
66374 "head": true,
66375 "frameset": true
66376 }
66377 },
66378 "tree": [
66379 {
66380 "tag": "html",
66381 "children": [
66382 {
66383 "tag": "head"
66384 },
66385 {
66386 "tag": "frameset"
66387 },
66388 {
66389 "text": "\n"
66390 }
66391 ]
66392 }
66393 ],
66394 "html": "<html><head></head><frameset></frameset>\n</html>",
66395 "noQuirksBodyHtml": "\n<div></div>"
66396 }
66397 },
66398 {
66399 "data": "<frameset></frameset>\n</html>",
66400 "errors": [
66401 "(1,10): expected-doctype-but-got-start-tag"
66402 ],
66403 "document": {
66404 "props": {
66405 "tags": {
66406 "html": true,
66407 "head": true,
66408 "frameset": true
66409 }
66410 },
66411 "tree": [
66412 {
66413 "tag": "html",
66414 "children": [
66415 {
66416 "tag": "head"
66417 },
66418 {
66419 "tag": "frameset"
66420 },
66421 {
66422 "text": "\n"
66423 }
66424 ]
66425 }
66426 ],
66427 "html": "<html><head></head><frameset></frameset>\n</html>",
66428 "noQuirksBodyHtml": "\n"
66429 }
66430 },
66431 {
66432 "data": "<frameset></frameset>\n</div>",
66433 "errors": [
66434 "(1,10): expected-doctype-but-got-start-tag",
66435 "(2,6): unexpected-end-tag-after-frameset"
66436 ],
66437 "document": {
66438 "props": {
66439 "tags": {
66440 "html": true,
66441 "head": true,
66442 "frameset": true
66443 }
66444 },
66445 "tree": [
66446 {
66447 "tag": "html",
66448 "children": [
66449 {
66450 "tag": "head"
66451 },
66452 {
66453 "tag": "frameset"
66454 },
66455 {
66456 "text": "\n"
66457 }
66458 ]
66459 }
66460 ],
66461 "html": "<html><head></head><frameset></frameset>\n</html>",
66462 "noQuirksBodyHtml": "\n"
66463 }
66464 },
66465 {
66466 "data": "<form><form>",
66467 "errors": [
66468 "(1,6): expected-doctype-but-got-start-tag",
66469 "(1,12): unexpected-start-tag",
66470 "(1,12): expected-closing-tag-but-got-eof"
66471 ],
66472 "document": {
66473 "props": {
66474 "tags": {
66475 "html": true,
66476 "head": true,
66477 "body": true,
66478 "form": true
66479 }
66480 },
66481 "tree": [
66482 {
66483 "tag": "html",
66484 "children": [
66485 {
66486 "tag": "head"
66487 },
66488 {
66489 "tag": "body",
66490 "children": [
66491 {
66492 "tag": "form"
66493 }
66494 ]
66495 }
66496 ]
66497 }
66498 ],
66499 "html": "<html><head></head><body><form></form></body></html>",
66500 "noQuirksBodyHtml": "<form></form>"
66501 }
66502 },
66503 {
66504 "data": "<button><button>",
66505 "errors": [
66506 "(1,8): expected-doctype-but-got-start-tag",
66507 "(1,16): unexpected-start-tag-implies-end-tag",
66508 "(1,16): expected-closing-tag-but-got-eof"
66509 ],
66510 "document": {
66511 "props": {
66512 "tags": {
66513 "html": true,
66514 "head": true,
66515 "body": true,
66516 "button": true
66517 }
66518 },
66519 "tree": [
66520 {
66521 "tag": "html",
66522 "children": [
66523 {
66524 "tag": "head"
66525 },
66526 {
66527 "tag": "body",
66528 "children": [
66529 {
66530 "tag": "button"
66531 },
66532 {
66533 "tag": "button"
66534 }
66535 ]
66536 }
66537 ]
66538 }
66539 ],
66540 "html": "<html><head></head><body><button></button><button></button></body></html>",
66541 "noQuirksBodyHtml": "<button></button><button></button>"
66542 }
66543 },
66544 {
66545 "data": "<table><tr><td></th>",
66546 "errors": [
66547 "(1,7): expected-doctype-but-got-start-tag",
66548 "(1,20): unexpected-end-tag",
66549 "(1,20): expected-closing-tag-but-got-eof"
66550 ],
66551 "document": {
66552 "props": {
66553 "tags": {
66554 "html": true,
66555 "head": true,
66556 "body": true,
66557 "table": true,
66558 "tbody": true,
66559 "tr": true,
66560 "td": true
66561 }
66562 },
66563 "tree": [
66564 {
66565 "tag": "html",
66566 "children": [
66567 {
66568 "tag": "head"
66569 },
66570 {
66571 "tag": "body",
66572 "children": [
66573 {
66574 "tag": "table",
66575 "children": [
66576 {
66577 "tag": "tbody",
66578 "children": [
66579 {
66580 "tag": "tr",
66581 "children": [
66582 {
66583 "tag": "td"
66584 }
66585 ]
66586 }
66587 ]
66588 }
66589 ]
66590 }
66591 ]
66592 }
66593 ]
66594 }
66595 ],
66596 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
66597 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
66598 }
66599 },
66600 {
66601 "data": "<table><caption><td>",
66602 "errors": [
66603 "(1,7): expected-doctype-but-got-start-tag",
66604 "(1,20): unexpected-cell-in-table-body",
66605 "(1,20): expected-closing-tag-but-got-eof"
66606 ],
66607 "document": {
66608 "props": {
66609 "tags": {
66610 "html": true,
66611 "head": true,
66612 "body": true,
66613 "table": true,
66614 "caption": true,
66615 "tbody": true,
66616 "tr": true,
66617 "td": true
66618 }
66619 },
66620 "tree": [
66621 {
66622 "tag": "html",
66623 "children": [
66624 {
66625 "tag": "head"
66626 },
66627 {
66628 "tag": "body",
66629 "children": [
66630 {
66631 "tag": "table",
66632 "children": [
66633 {
66634 "tag": "caption"
66635 },
66636 {
66637 "tag": "tbody",
66638 "children": [
66639 {
66640 "tag": "tr",
66641 "children": [
66642 {
66643 "tag": "td"
66644 }
66645 ]
66646 }
66647 ]
66648 }
66649 ]
66650 }
66651 ]
66652 }
66653 ]
66654 }
66655 ],
66656 "html": "<html><head></head><body><table><caption></caption><tbody><tr><td></td></tr></tbody></table></body></html>",
66657 "noQuirksBodyHtml": "<table><caption></caption><tbody><tr><td></td></tr></tbody></table>"
66658 }
66659 },
66660 {
66661 "data": "<table><caption><div>",
66662 "errors": [
66663 "(1,7): expected-doctype-but-got-start-tag",
66664 "(1,21): expected-closing-tag-but-got-eof"
66665 ],
66666 "document": {
66667 "props": {
66668 "tags": {
66669 "html": true,
66670 "head": true,
66671 "body": true,
66672 "table": true,
66673 "caption": true,
66674 "div": true
66675 }
66676 },
66677 "tree": [
66678 {
66679 "tag": "html",
66680 "children": [
66681 {
66682 "tag": "head"
66683 },
66684 {
66685 "tag": "body",
66686 "children": [
66687 {
66688 "tag": "table",
66689 "children": [
66690 {
66691 "tag": "caption",
66692 "children": [
66693 {
66694 "tag": "div"
66695 }
66696 ]
66697 }
66698 ]
66699 }
66700 ]
66701 }
66702 ]
66703 }
66704 ],
66705 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
66706 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
66707 }
66708 },
66709 {
66710 "data": "</caption><div>",
66711 "errors": [
66712 "(1,10): XXX-undefined-error",
66713 "(1,15): expected-closing-tag-but-got-eof"
66714 ],
66715 "fragment": {
66716 "name": "caption"
66717 },
66718 "document": {
66719 "props": {
66720 "tags": {
66721 "div": true
66722 }
66723 },
66724 "tree": [
66725 {
66726 "tag": "div"
66727 }
66728 ],
66729 "html": "<div></div>",
66730 "noQuirksBodyHtml": "<div></div>"
66731 }
66732 },
66733 {
66734 "data": "<table><caption><div></caption>",
66735 "errors": [
66736 "(1,7): expected-doctype-but-got-start-tag",
66737 "(1,31): expected-one-end-tag-but-got-another",
66738 "(1,31): eof-in-table"
66739 ],
66740 "document": {
66741 "props": {
66742 "tags": {
66743 "html": true,
66744 "head": true,
66745 "body": true,
66746 "table": true,
66747 "caption": true,
66748 "div": true
66749 }
66750 },
66751 "tree": [
66752 {
66753 "tag": "html",
66754 "children": [
66755 {
66756 "tag": "head"
66757 },
66758 {
66759 "tag": "body",
66760 "children": [
66761 {
66762 "tag": "table",
66763 "children": [
66764 {
66765 "tag": "caption",
66766 "children": [
66767 {
66768 "tag": "div"
66769 }
66770 ]
66771 }
66772 ]
66773 }
66774 ]
66775 }
66776 ]
66777 }
66778 ],
66779 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
66780 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
66781 }
66782 },
66783 {
66784 "data": "<table><caption></table>",
66785 "errors": [
66786 "(1,7): expected-doctype-but-got-start-tag"
66787 ],
66788 "document": {
66789 "props": {
66790 "tags": {
66791 "html": true,
66792 "head": true,
66793 "body": true,
66794 "table": true,
66795 "caption": true
66796 }
66797 },
66798 "tree": [
66799 {
66800 "tag": "html",
66801 "children": [
66802 {
66803 "tag": "head"
66804 },
66805 {
66806 "tag": "body",
66807 "children": [
66808 {
66809 "tag": "table",
66810 "children": [
66811 {
66812 "tag": "caption"
66813 }
66814 ]
66815 }
66816 ]
66817 }
66818 ]
66819 }
66820 ],
66821 "html": "<html><head></head><body><table><caption></caption></table></body></html>",
66822 "noQuirksBodyHtml": "<table><caption></caption></table>"
66823 }
66824 },
66825 {
66826 "data": "</table><div>",
66827 "errors": [
66828 "(1,8): unexpected-end-tag",
66829 "(1,13): expected-closing-tag-but-got-eof"
66830 ],
66831 "fragment": {
66832 "name": "caption"
66833 },
66834 "document": {
66835 "props": {
66836 "tags": {
66837 "div": true
66838 }
66839 },
66840 "tree": [
66841 {
66842 "tag": "div"
66843 }
66844 ],
66845 "html": "<div></div>",
66846 "noQuirksBodyHtml": "<div></div>"
66847 }
66848 },
66849 {
66850 "data": "<table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr>",
66851 "errors": [
66852 "(1,7): expected-doctype-but-got-start-tag",
66853 "(1,23): unexpected-end-tag",
66854 "(1,29): unexpected-end-tag",
66855 "(1,40): unexpected-end-tag",
66856 "(1,47): unexpected-end-tag",
66857 "(1,55): unexpected-end-tag",
66858 "(1,60): unexpected-end-tag",
66859 "(1,68): unexpected-end-tag",
66860 "(1,73): unexpected-end-tag",
66861 "(1,81): unexpected-end-tag",
66862 "(1,86): unexpected-end-tag",
66863 "(1,86): expected-closing-tag-but-got-eof"
66864 ],
66865 "document": {
66866 "props": {
66867 "tags": {
66868 "html": true,
66869 "head": true,
66870 "body": true,
66871 "table": true,
66872 "caption": true
66873 }
66874 },
66875 "tree": [
66876 {
66877 "tag": "html",
66878 "children": [
66879 {
66880 "tag": "head"
66881 },
66882 {
66883 "tag": "body",
66884 "children": [
66885 {
66886 "tag": "table",
66887 "children": [
66888 {
66889 "tag": "caption"
66890 }
66891 ]
66892 }
66893 ]
66894 }
66895 ]
66896 }
66897 ],
66898 "html": "<html><head></head><body><table><caption></caption></table></body></html>",
66899 "noQuirksBodyHtml": "<table><caption></caption></table>"
66900 }
66901 },
66902 {
66903 "data": "<table><caption><div></div>",
66904 "errors": [
66905 "(1,7): expected-doctype-but-got-start-tag",
66906 "(1,27): expected-closing-tag-but-got-eof"
66907 ],
66908 "document": {
66909 "props": {
66910 "tags": {
66911 "html": true,
66912 "head": true,
66913 "body": true,
66914 "table": true,
66915 "caption": true,
66916 "div": true
66917 }
66918 },
66919 "tree": [
66920 {
66921 "tag": "html",
66922 "children": [
66923 {
66924 "tag": "head"
66925 },
66926 {
66927 "tag": "body",
66928 "children": [
66929 {
66930 "tag": "table",
66931 "children": [
66932 {
66933 "tag": "caption",
66934 "children": [
66935 {
66936 "tag": "div"
66937 }
66938 ]
66939 }
66940 ]
66941 }
66942 ]
66943 }
66944 ]
66945 }
66946 ],
66947 "html": "<html><head></head><body><table><caption><div></div></caption></table></body></html>",
66948 "noQuirksBodyHtml": "<table><caption><div></div></caption></table>"
66949 }
66950 },
66951 {
66952 "data": "<table><tr><td></body></caption></col></colgroup></html>",
66953 "errors": [
66954 "(1,7): expected-doctype-but-got-start-tag",
66955 "(1,22): unexpected-end-tag",
66956 "(1,32): unexpected-end-tag",
66957 "(1,38): unexpected-end-tag",
66958 "(1,49): unexpected-end-tag",
66959 "(1,56): unexpected-end-tag",
66960 "(1,56): expected-closing-tag-but-got-eof"
66961 ],
66962 "document": {
66963 "props": {
66964 "tags": {
66965 "html": true,
66966 "head": true,
66967 "body": true,
66968 "table": true,
66969 "tbody": true,
66970 "tr": true,
66971 "td": true
66972 }
66973 },
66974 "tree": [
66975 {
66976 "tag": "html",
66977 "children": [
66978 {
66979 "tag": "head"
66980 },
66981 {
66982 "tag": "body",
66983 "children": [
66984 {
66985 "tag": "table",
66986 "children": [
66987 {
66988 "tag": "tbody",
66989 "children": [
66990 {
66991 "tag": "tr",
66992 "children": [
66993 {
66994 "tag": "td"
66995 }
66996 ]
66997 }
66998 ]
66999 }
67000 ]
67001 }
67002 ]
67003 }
67004 ]
67005 }
67006 ],
67007 "html": "<html><head></head><body><table><tbody><tr><td></td></tr></tbody></table></body></html>",
67008 "noQuirksBodyHtml": "<table><tbody><tr><td></td></tr></tbody></table>"
67009 }
67010 },
67011 {
67012 "data": "</table></tbody></tfoot></thead></tr><div>",
67013 "errors": [
67014 "(1,8): unexpected-end-tag",
67015 "(1,16): unexpected-end-tag",
67016 "(1,24): unexpected-end-tag",
67017 "(1,32): unexpected-end-tag",
67018 "(1,37): unexpected-end-tag",
67019 "(1,42): expected-closing-tag-but-got-eof"
67020 ],
67021 "fragment": {
67022 "name": "td"
67023 },
67024 "document": {
67025 "props": {
67026 "tags": {
67027 "div": true
67028 }
67029 },
67030 "tree": [
67031 {
67032 "tag": "div"
67033 }
67034 ],
67035 "html": "<div></div>",
67036 "noQuirksBodyHtml": "<div></div>"
67037 }
67038 },
67039 {
67040 "data": "<table><colgroup>foo",
67041 "errors": [
67042 "(1,7): expected-doctype-but-got-start-tag",
67043 "(1,18): foster-parenting-character-in-table",
67044 "(1,19): foster-parenting-character-in-table",
67045 "(1,20): foster-parenting-character-in-table",
67046 "(1,20): eof-in-table"
67047 ],
67048 "document": {
67049 "props": {
67050 "tags": {
67051 "html": true,
67052 "head": true,
67053 "body": true,
67054 "table": true,
67055 "colgroup": true
67056 }
67057 },
67058 "tree": [
67059 {
67060 "tag": "html",
67061 "children": [
67062 {
67063 "tag": "head"
67064 },
67065 {
67066 "tag": "body",
67067 "children": [
67068 {
67069 "text": "foo"
67070 },
67071 {
67072 "tag": "table",
67073 "children": [
67074 {
67075 "tag": "colgroup"
67076 }
67077 ]
67078 }
67079 ]
67080 }
67081 ]
67082 }
67083 ],
67084 "html": "<html><head></head><body>foo<table><colgroup></colgroup></table></body></html>",
67085 "noQuirksBodyHtml": "foo<table><colgroup></colgroup></table>"
67086 }
67087 },
67088 {
67089 "data": "foo<col>",
67090 "errors": [
67091 "(1,1): unexpected-character-in-colgroup",
67092 "(1,2): unexpected-character-in-colgroup",
67093 "(1,3): unexpected-character-in-colgroup"
67094 ],
67095 "fragment": {
67096 "name": "colgroup"
67097 },
67098 "document": {
67099 "props": {
67100 "tags": {
67101 "col": true
67102 }
67103 },
67104 "tree": [
67105 {
67106 "tag": "col"
67107 }
67108 ],
67109 "html": "<col>",
67110 "noQuirksBodyHtml": "foo"
67111 }
67112 },
67113 {
67114 "data": "<table><colgroup></col>",
67115 "errors": [
67116 "(1,7): expected-doctype-but-got-start-tag",
67117 "(1,23): no-end-tag",
67118 "(1,23): eof-in-table"
67119 ],
67120 "document": {
67121 "props": {
67122 "tags": {
67123 "html": true,
67124 "head": true,
67125 "body": true,
67126 "table": true,
67127 "colgroup": true
67128 }
67129 },
67130 "tree": [
67131 {
67132 "tag": "html",
67133 "children": [
67134 {
67135 "tag": "head"
67136 },
67137 {
67138 "tag": "body",
67139 "children": [
67140 {
67141 "tag": "table",
67142 "children": [
67143 {
67144 "tag": "colgroup"
67145 }
67146 ]
67147 }
67148 ]
67149 }
67150 ]
67151 }
67152 ],
67153 "html": "<html><head></head><body><table><colgroup></colgroup></table></body></html>",
67154 "noQuirksBodyHtml": "<table><colgroup></colgroup></table>"
67155 }
67156 },
67157 {
67158 "data": "<frameset><div>",
67159 "errors": [
67160 "(1,10): expected-doctype-but-got-start-tag",
67161 "(1,15): unexpected-start-tag-in-frameset",
67162 "(1,15): eof-in-frameset"
67163 ],
67164 "document": {
67165 "props": {
67166 "tags": {
67167 "html": true,
67168 "head": true,
67169 "frameset": true
67170 }
67171 },
67172 "tree": [
67173 {
67174 "tag": "html",
67175 "children": [
67176 {
67177 "tag": "head"
67178 },
67179 {
67180 "tag": "frameset"
67181 }
67182 ]
67183 }
67184 ],
67185 "html": "<html><head></head><frameset></frameset></html>",
67186 "noQuirksBodyHtml": "<div></div>"
67187 }
67188 },
67189 {
67190 "data": "</frameset><frame>",
67191 "errors": [
67192 "(1,11): unexpected-frameset-in-frameset-innerhtml"
67193 ],
67194 "fragment": {
67195 "name": "frameset"
67196 },
67197 "document": {
67198 "props": {
67199 "tags": {
67200 "frame": true
67201 }
67202 },
67203 "tree": [
67204 {
67205 "tag": "frame"
67206 }
67207 ],
67208 "html": "<frame>",
67209 "noQuirksBodyHtml": ""
67210 }
67211 },
67212 {
67213 "data": "<frameset></div>",
67214 "errors": [
67215 "(1,10): expected-doctype-but-got-start-tag",
67216 "(1,16): unexpected-end-tag-in-frameset",
67217 "(1,16): eof-in-frameset"
67218 ],
67219 "document": {
67220 "props": {
67221 "tags": {
67222 "html": true,
67223 "head": true,
67224 "frameset": true
67225 }
67226 },
67227 "tree": [
67228 {
67229 "tag": "html",
67230 "children": [
67231 {
67232 "tag": "head"
67233 },
67234 {
67235 "tag": "frameset"
67236 }
67237 ]
67238 }
67239 ],
67240 "html": "<html><head></head><frameset></frameset></html>",
67241 "noQuirksBodyHtml": ""
67242 }
67243 },
67244 {
67245 "data": "</body><div>",
67246 "errors": [
67247 "(1,7): unexpected-close-tag",
67248 "(1,12): expected-closing-tag-but-got-eof"
67249 ],
67250 "fragment": {
67251 "name": "body"
67252 },
67253 "document": {
67254 "props": {
67255 "tags": {
67256 "div": true
67257 }
67258 },
67259 "tree": [
67260 {
67261 "tag": "div"
67262 }
67263 ],
67264 "html": "<div></div>",
67265 "noQuirksBodyHtml": "<div></div>"
67266 }
67267 },
67268 {
67269 "data": "<table><tr><div>",
67270 "errors": [
67271 "(1,7): expected-doctype-but-got-start-tag",
67272 "(1,16): unexpected-start-tag-implies-table-voodoo",
67273 "(1,16): eof-in-table"
67274 ],
67275 "document": {
67276 "props": {
67277 "tags": {
67278 "html": true,
67279 "head": true,
67280 "body": true,
67281 "div": true,
67282 "table": true,
67283 "tbody": true,
67284 "tr": true
67285 }
67286 },
67287 "tree": [
67288 {
67289 "tag": "html",
67290 "children": [
67291 {
67292 "tag": "head"
67293 },
67294 {
67295 "tag": "body",
67296 "children": [
67297 {
67298 "tag": "div"
67299 },
67300 {
67301 "tag": "table",
67302 "children": [
67303 {
67304 "tag": "tbody",
67305 "children": [
67306 {
67307 "tag": "tr"
67308 }
67309 ]
67310 }
67311 ]
67312 }
67313 ]
67314 }
67315 ]
67316 }
67317 ],
67318 "html": "<html><head></head><body><div></div><table><tbody><tr></tr></tbody></table></body></html>",
67319 "noQuirksBodyHtml": "<div></div><table><tbody><tr></tr></tbody></table>"
67320 }
67321 },
67322 {
67323 "data": "</tr><td>",
67324 "errors": [
67325 "(1,5): unexpected-end-tag"
67326 ],
67327 "fragment": {
67328 "name": "tr"
67329 },
67330 "document": {
67331 "props": {
67332 "tags": {
67333 "td": true
67334 }
67335 },
67336 "tree": [
67337 {
67338 "tag": "td"
67339 }
67340 ],
67341 "html": "<td></td>",
67342 "noQuirksBodyHtml": ""
67343 }
67344 },
67345 {
67346 "data": "</tbody></tfoot></thead><td>",
67347 "errors": [
67348 "(1,8): unexpected-end-tag",
67349 "(1,16): unexpected-end-tag",
67350 "(1,24): unexpected-end-tag"
67351 ],
67352 "fragment": {
67353 "name": "tr"
67354 },
67355 "document": {
67356 "props": {
67357 "tags": {
67358 "td": true
67359 }
67360 },
67361 "tree": [
67362 {
67363 "tag": "td"
67364 }
67365 ],
67366 "html": "<td></td>",
67367 "noQuirksBodyHtml": ""
67368 }
67369 },
67370 {
67371 "data": "<table><tr><div><td>",
67372 "errors": [
67373 "(1,7): expected-doctype-but-got-start-tag",
67374 "(1,16): foster-parenting-start-tag",
67375 "(1,20): expected-closing-tag-but-got-eof"
67376 ],
67377 "document": {
67378 "props": {
67379 "tags": {
67380 "html": true,
67381 "head": true,
67382 "body": true,
67383 "div": true,
67384 "table": true,
67385 "tbody": true,
67386 "tr": true,
67387 "td": true
67388 }
67389 },
67390 "tree": [
67391 {
67392 "tag": "html",
67393 "children": [
67394 {
67395 "tag": "head"
67396 },
67397 {
67398 "tag": "body",
67399 "children": [
67400 {
67401 "tag": "div"
67402 },
67403 {
67404 "tag": "table",
67405 "children": [
67406 {
67407 "tag": "tbody",
67408 "children": [
67409 {
67410 "tag": "tr",
67411 "children": [
67412 {
67413 "tag": "td"
67414 }
67415 ]
67416 }
67417 ]
67418 }
67419 ]
67420 }
67421 ]
67422 }
67423 ]
67424 }
67425 ],
67426 "html": "<html><head></head><body><div></div><table><tbody><tr><td></td></tr></tbody></table></body></html>",
67427 "noQuirksBodyHtml": "<div></div><table><tbody><tr><td></td></tr></tbody></table>"
67428 }
67429 },
67430 {
67431 "data": "<caption><col><colgroup><tbody><tfoot><thead><tr>",
67432 "errors": [
67433 "(1,9): unexpected-start-tag",
67434 "(1,14): unexpected-start-tag",
67435 "(1,24): unexpected-start-tag",
67436 "(1,31): unexpected-start-tag",
67437 "(1,38): unexpected-start-tag",
67438 "(1,45): unexpected-start-tag"
67439 ],
67440 "fragment": {
67441 "name": "tbody"
67442 },
67443 "document": {
67444 "props": {
67445 "tags": {
67446 "tr": true
67447 }
67448 },
67449 "tree": [
67450 {
67451 "tag": "tr"
67452 }
67453 ],
67454 "html": "<tr></tr>",
67455 "noQuirksBodyHtml": ""
67456 }
67457 },
67458 {
67459 "data": "<table><tbody></thead>",
67460 "errors": [
67461 "(1,7): expected-doctype-but-got-start-tag",
67462 "(1,22): unexpected-end-tag-in-table-body",
67463 "(1,22): eof-in-table"
67464 ],
67465 "document": {
67466 "props": {
67467 "tags": {
67468 "html": true,
67469 "head": true,
67470 "body": true,
67471 "table": true,
67472 "tbody": true
67473 }
67474 },
67475 "tree": [
67476 {
67477 "tag": "html",
67478 "children": [
67479 {
67480 "tag": "head"
67481 },
67482 {
67483 "tag": "body",
67484 "children": [
67485 {
67486 "tag": "table",
67487 "children": [
67488 {
67489 "tag": "tbody"
67490 }
67491 ]
67492 }
67493 ]
67494 }
67495 ]
67496 }
67497 ],
67498 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
67499 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
67500 }
67501 },
67502 {
67503 "data": "</table><tr>",
67504 "errors": [
67505 "(1,8): unexpected-end-tag"
67506 ],
67507 "fragment": {
67508 "name": "tbody"
67509 },
67510 "document": {
67511 "props": {
67512 "tags": {
67513 "tr": true
67514 }
67515 },
67516 "tree": [
67517 {
67518 "tag": "tr"
67519 }
67520 ],
67521 "html": "<tr></tr>",
67522 "noQuirksBodyHtml": ""
67523 }
67524 },
67525 {
67526 "data": "<table><tbody></body></caption></col></colgroup></html></td></th></tr>",
67527 "errors": [
67528 "(1,7): expected-doctype-but-got-start-tag",
67529 "(1,21): unexpected-end-tag-in-table-body",
67530 "(1,31): unexpected-end-tag-in-table-body",
67531 "(1,37): unexpected-end-tag-in-table-body",
67532 "(1,48): unexpected-end-tag-in-table-body",
67533 "(1,55): unexpected-end-tag-in-table-body",
67534 "(1,60): unexpected-end-tag-in-table-body",
67535 "(1,65): unexpected-end-tag-in-table-body",
67536 "(1,70): unexpected-end-tag-in-table-body",
67537 "(1,70): eof-in-table"
67538 ],
67539 "document": {
67540 "props": {
67541 "tags": {
67542 "html": true,
67543 "head": true,
67544 "body": true,
67545 "table": true,
67546 "tbody": true
67547 }
67548 },
67549 "tree": [
67550 {
67551 "tag": "html",
67552 "children": [
67553 {
67554 "tag": "head"
67555 },
67556 {
67557 "tag": "body",
67558 "children": [
67559 {
67560 "tag": "table",
67561 "children": [
67562 {
67563 "tag": "tbody"
67564 }
67565 ]
67566 }
67567 ]
67568 }
67569 ]
67570 }
67571 ],
67572 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
67573 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
67574 }
67575 },
67576 {
67577 "data": "<table><tbody></div>",
67578 "errors": [
67579 "(1,7): expected-doctype-but-got-start-tag",
67580 "(1,20): unexpected-end-tag-implies-table-voodoo",
67581 "(1,20): end-tag-too-early",
67582 "(1,20): eof-in-table"
67583 ],
67584 "document": {
67585 "props": {
67586 "tags": {
67587 "html": true,
67588 "head": true,
67589 "body": true,
67590 "table": true,
67591 "tbody": true
67592 }
67593 },
67594 "tree": [
67595 {
67596 "tag": "html",
67597 "children": [
67598 {
67599 "tag": "head"
67600 },
67601 {
67602 "tag": "body",
67603 "children": [
67604 {
67605 "tag": "table",
67606 "children": [
67607 {
67608 "tag": "tbody"
67609 }
67610 ]
67611 }
67612 ]
67613 }
67614 ]
67615 }
67616 ],
67617 "html": "<html><head></head><body><table><tbody></tbody></table></body></html>",
67618 "noQuirksBodyHtml": "<table><tbody></tbody></table>"
67619 }
67620 },
67621 {
67622 "data": "<table><table>",
67623 "errors": [
67624 "(1,7): expected-doctype-but-got-start-tag",
67625 "(1,14): unexpected-start-tag-implies-end-tag",
67626 "(1,14): eof-in-table"
67627 ],
67628 "document": {
67629 "props": {
67630 "tags": {
67631 "html": true,
67632 "head": true,
67633 "body": true,
67634 "table": true
67635 }
67636 },
67637 "tree": [
67638 {
67639 "tag": "html",
67640 "children": [
67641 {
67642 "tag": "head"
67643 },
67644 {
67645 "tag": "body",
67646 "children": [
67647 {
67648 "tag": "table"
67649 },
67650 {
67651 "tag": "table"
67652 }
67653 ]
67654 }
67655 ]
67656 }
67657 ],
67658 "html": "<html><head></head><body><table></table><table></table></body></html>",
67659 "noQuirksBodyHtml": "<table></table><table></table>"
67660 }
67661 },
67662 {
67663 "data": "<table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr>",
67664 "errors": [
67665 "(1,7): expected-doctype-but-got-start-tag",
67666 "(1,14): unexpected-end-tag",
67667 "(1,24): unexpected-end-tag",
67668 "(1,30): unexpected-end-tag",
67669 "(1,41): unexpected-end-tag",
67670 "(1,48): unexpected-end-tag",
67671 "(1,56): unexpected-end-tag",
67672 "(1,61): unexpected-end-tag",
67673 "(1,69): unexpected-end-tag",
67674 "(1,74): unexpected-end-tag",
67675 "(1,82): unexpected-end-tag",
67676 "(1,87): unexpected-end-tag",
67677 "(1,87): eof-in-table"
67678 ],
67679 "document": {
67680 "props": {
67681 "tags": {
67682 "html": true,
67683 "head": true,
67684 "body": true,
67685 "table": true
67686 }
67687 },
67688 "tree": [
67689 {
67690 "tag": "html",
67691 "children": [
67692 {
67693 "tag": "head"
67694 },
67695 {
67696 "tag": "body",
67697 "children": [
67698 {
67699 "tag": "table"
67700 }
67701 ]
67702 }
67703 ]
67704 }
67705 ],
67706 "html": "<html><head></head><body><table></table></body></html>",
67707 "noQuirksBodyHtml": "<table></table>"
67708 }
67709 },
67710 {
67711 "data": "</table><tr>",
67712 "errors": [
67713 "(1,8): unexpected-end-tag"
67714 ],
67715 "fragment": {
67716 "name": "table"
67717 },
67718 "document": {
67719 "props": {
67720 "tags": {
67721 "tbody": true,
67722 "tr": true
67723 }
67724 },
67725 "tree": [
67726 {
67727 "tag": "tbody",
67728 "children": [
67729 {
67730 "tag": "tr"
67731 }
67732 ]
67733 }
67734 ],
67735 "html": "<tbody><tr></tr></tbody>",
67736 "noQuirksBodyHtml": ""
67737 }
67738 },
67739 {
67740 "data": "<body></body></html>",
67741 "errors": [
67742 "(1,20): unexpected-end-tag-after-body-innerhtml"
67743 ],
67744 "fragment": {
67745 "name": "html"
67746 },
67747 "document": {
67748 "props": {
67749 "tags": {
67750 "head": true,
67751 "body": true
67752 }
67753 },
67754 "tree": [
67755 {
67756 "tag": "head"
67757 },
67758 {
67759 "tag": "body"
67760 }
67761 ],
67762 "html": "<head></head><body></body>",
67763 "noQuirksBodyHtml": ""
67764 }
67765 },
67766 {
67767 "data": "<html><frameset></frameset></html> ",
67768 "errors": [
67769 "(1,6): expected-doctype-but-got-start-tag"
67770 ],
67771 "document": {
67772 "props": {
67773 "tags": {
67774 "html": true,
67775 "head": true,
67776 "frameset": true
67777 }
67778 },
67779 "tree": [
67780 {
67781 "tag": "html",
67782 "children": [
67783 {
67784 "tag": "head"
67785 },
67786 {
67787 "tag": "frameset"
67788 },
67789 {
67790 "text": " "
67791 }
67792 ]
67793 }
67794 ],
67795 "html": "<html><head></head><frameset></frameset> </html>",
67796 "noQuirksBodyHtml": " "
67797 }
67798 },
67799 {
67800 "data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\"><html></html>",
67801 "errors": [],
67802 "document": {
67803 "props": {
67804 "tags": {
67805 "html": true,
67806 "head": true,
67807 "body": true
67808 },
67809 "doctype": true
67810 },
67811 "tree": [
67812 {
67813 "doctype": "html \"-//W3C//DTD HTML 4.01//EN\" \"\""
67814 },
67815 {
67816 "tag": "html",
67817 "children": [
67818 {
67819 "tag": "head"
67820 },
67821 {
67822 "tag": "body"
67823 }
67824 ]
67825 }
67826 ],
67827 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
67828 "noQuirksBodyHtml": ""
67829 }
67830 },
67831 {
67832 "data": "<param><frameset></frameset>",
67833 "errors": [
67834 "(1,7): expected-doctype-but-got-start-tag",
67835 "(1,17): unexpected-start-tag"
67836 ],
67837 "document": {
67838 "props": {
67839 "tags": {
67840 "html": true,
67841 "head": true,
67842 "frameset": true
67843 }
67844 },
67845 "tree": [
67846 {
67847 "tag": "html",
67848 "children": [
67849 {
67850 "tag": "head"
67851 },
67852 {
67853 "tag": "frameset"
67854 }
67855 ]
67856 }
67857 ],
67858 "html": "<html><head></head><frameset></frameset></html>",
67859 "noQuirksBodyHtml": "<param>"
67860 }
67861 },
67862 {
67863 "data": "<source><frameset></frameset>",
67864 "errors": [
67865 "(1,8): expected-doctype-but-got-start-tag",
67866 "(1,18): unexpected-start-tag"
67867 ],
67868 "document": {
67869 "props": {
67870 "tags": {
67871 "html": true,
67872 "head": true,
67873 "frameset": true
67874 }
67875 },
67876 "tree": [
67877 {
67878 "tag": "html",
67879 "children": [
67880 {
67881 "tag": "head"
67882 },
67883 {
67884 "tag": "frameset"
67885 }
67886 ]
67887 }
67888 ],
67889 "html": "<html><head></head><frameset></frameset></html>",
67890 "noQuirksBodyHtml": "<source>"
67891 }
67892 },
67893 {
67894 "data": "<track><frameset></frameset>",
67895 "errors": [
67896 "(1,7): expected-doctype-but-got-start-tag",
67897 "(1,17): unexpected-start-tag"
67898 ],
67899 "document": {
67900 "props": {
67901 "tags": {
67902 "html": true,
67903 "head": true,
67904 "frameset": true
67905 }
67906 },
67907 "tree": [
67908 {
67909 "tag": "html",
67910 "children": [
67911 {
67912 "tag": "head"
67913 },
67914 {
67915 "tag": "frameset"
67916 }
67917 ]
67918 }
67919 ],
67920 "html": "<html><head></head><frameset></frameset></html>",
67921 "noQuirksBodyHtml": "<track>"
67922 }
67923 },
67924 {
67925 "data": "</html><frameset></frameset>",
67926 "errors": [
67927 "(1,7): expected-doctype-but-got-end-tag",
67928 "(1,17): expected-eof-but-got-start-tag",
67929 "(1,17): unexpected-start-tag"
67930 ],
67931 "document": {
67932 "props": {
67933 "tags": {
67934 "html": true,
67935 "head": true,
67936 "frameset": true
67937 }
67938 },
67939 "tree": [
67940 {
67941 "tag": "html",
67942 "children": [
67943 {
67944 "tag": "head"
67945 },
67946 {
67947 "tag": "frameset"
67948 }
67949 ]
67950 }
67951 ],
67952 "html": "<html><head></head><frameset></frameset></html>",
67953 "noQuirksBodyHtml": ""
67954 }
67955 },
67956 {
67957 "data": "</body><frameset></frameset>",
67958 "errors": [
67959 "(1,7): expected-doctype-but-got-end-tag",
67960 "(1,17): unexpected-start-tag-after-body",
67961 "(1,17): unexpected-start-tag"
67962 ],
67963 "document": {
67964 "props": {
67965 "tags": {
67966 "html": true,
67967 "head": true,
67968 "frameset": true
67969 }
67970 },
67971 "tree": [
67972 {
67973 "tag": "html",
67974 "children": [
67975 {
67976 "tag": "head"
67977 },
67978 {
67979 "tag": "frameset"
67980 }
67981 ]
67982 }
67983 ],
67984 "html": "<html><head></head><frameset></frameset></html>",
67985 "noQuirksBodyHtml": ""
67986 }
67987 }
67988 ],
67989 "tests7.dat": [
67990 {
67991 "data": "<!doctype html><body><title>X</title>",
67992 "errors": [],
67993 "document": {
67994 "props": {
67995 "tags": {
67996 "html": true,
67997 "head": true,
67998 "body": true,
67999 "title": true
68000 },
68001 "doctype": true
68002 },
68003 "tree": [
68004 {
68005 "doctype": "html"
68006 },
68007 {
68008 "tag": "html",
68009 "children": [
68010 {
68011 "tag": "head"
68012 },
68013 {
68014 "tag": "body",
68015 "children": [
68016 {
68017 "tag": "title",
68018 "children": [
68019 {
68020 "text": "X"
68021 }
68022 ]
68023 }
68024 ]
68025 }
68026 ]
68027 }
68028 ],
68029 "html": "<!DOCTYPE html><html><head></head><body><title>X</title></body></html>",
68030 "noQuirksBodyHtml": "<title>X</title>"
68031 }
68032 },
68033 {
68034 "data": "<!doctype html><table><title>X</title></table>",
68035 "errors": [
68036 "(1,29): unexpected-start-tag-implies-table-voodoo"
68037 ],
68038 "document": {
68039 "props": {
68040 "tags": {
68041 "html": true,
68042 "head": true,
68043 "body": true,
68044 "title": true,
68045 "table": true
68046 },
68047 "doctype": true
68048 },
68049 "tree": [
68050 {
68051 "doctype": "html"
68052 },
68053 {
68054 "tag": "html",
68055 "children": [
68056 {
68057 "tag": "head"
68058 },
68059 {
68060 "tag": "body",
68061 "children": [
68062 {
68063 "tag": "title",
68064 "children": [
68065 {
68066 "text": "X"
68067 }
68068 ]
68069 },
68070 {
68071 "tag": "table"
68072 }
68073 ]
68074 }
68075 ]
68076 }
68077 ],
68078 "html": "<!DOCTYPE html><html><head></head><body><title>X</title><table></table></body></html>",
68079 "noQuirksBodyHtml": "<title>X</title><table></table>"
68080 }
68081 },
68082 {
68083 "data": "<!doctype html><head></head><title>X</title>",
68084 "errors": [
68085 "(1,35): unexpected-start-tag-out-of-my-head"
68086 ],
68087 "document": {
68088 "props": {
68089 "tags": {
68090 "html": true,
68091 "head": true,
68092 "title": true,
68093 "body": true
68094 },
68095 "doctype": true
68096 },
68097 "tree": [
68098 {
68099 "doctype": "html"
68100 },
68101 {
68102 "tag": "html",
68103 "children": [
68104 {
68105 "tag": "head",
68106 "children": [
68107 {
68108 "tag": "title",
68109 "children": [
68110 {
68111 "text": "X"
68112 }
68113 ]
68114 }
68115 ]
68116 },
68117 {
68118 "tag": "body"
68119 }
68120 ]
68121 }
68122 ],
68123 "html": "<!DOCTYPE html><html><head><title>X</title></head><body></body></html>",
68124 "noQuirksBodyHtml": "<title>X</title>"
68125 }
68126 },
68127 {
68128 "data": "<!doctype html></head><title>X</title>",
68129 "errors": [
68130 "(1,29): unexpected-start-tag-out-of-my-head"
68131 ],
68132 "document": {
68133 "props": {
68134 "tags": {
68135 "html": true,
68136 "head": true,
68137 "title": true,
68138 "body": true
68139 },
68140 "doctype": true
68141 },
68142 "tree": [
68143 {
68144 "doctype": "html"
68145 },
68146 {
68147 "tag": "html",
68148 "children": [
68149 {
68150 "tag": "head",
68151 "children": [
68152 {
68153 "tag": "title",
68154 "children": [
68155 {
68156 "text": "X"
68157 }
68158 ]
68159 }
68160 ]
68161 },
68162 {
68163 "tag": "body"
68164 }
68165 ]
68166 }
68167 ],
68168 "html": "<!DOCTYPE html><html><head><title>X</title></head><body></body></html>",
68169 "noQuirksBodyHtml": "<title>X</title>"
68170 }
68171 },
68172 {
68173 "data": "<!doctype html><table><meta></table>",
68174 "errors": [
68175 "(1,28): unexpected-start-tag-implies-table-voodoo"
68176 ],
68177 "document": {
68178 "props": {
68179 "tags": {
68180 "html": true,
68181 "head": true,
68182 "body": true,
68183 "meta": true,
68184 "table": true
68185 },
68186 "doctype": true
68187 },
68188 "tree": [
68189 {
68190 "doctype": "html"
68191 },
68192 {
68193 "tag": "html",
68194 "children": [
68195 {
68196 "tag": "head"
68197 },
68198 {
68199 "tag": "body",
68200 "children": [
68201 {
68202 "tag": "meta"
68203 },
68204 {
68205 "tag": "table"
68206 }
68207 ]
68208 }
68209 ]
68210 }
68211 ],
68212 "html": "<!DOCTYPE html><html><head></head><body><meta><table></table></body></html>",
68213 "noQuirksBodyHtml": "<meta><table></table>"
68214 }
68215 },
68216 {
68217 "data": "<!doctype html><table>X<tr><td><table> <meta></table></table>",
68218 "errors": [
68219 "unexpected text in table",
68220 "(1,45): unexpected-start-tag-implies-table-voodoo"
68221 ],
68222 "document": {
68223 "props": {
68224 "tags": {
68225 "html": true,
68226 "head": true,
68227 "body": true,
68228 "table": true,
68229 "tbody": true,
68230 "tr": true,
68231 "td": true,
68232 "meta": true
68233 },
68234 "doctype": true
68235 },
68236 "tree": [
68237 {
68238 "doctype": "html"
68239 },
68240 {
68241 "tag": "html",
68242 "children": [
68243 {
68244 "tag": "head"
68245 },
68246 {
68247 "tag": "body",
68248 "children": [
68249 {
68250 "text": "X"
68251 },
68252 {
68253 "tag": "table",
68254 "children": [
68255 {
68256 "tag": "tbody",
68257 "children": [
68258 {
68259 "tag": "tr",
68260 "children": [
68261 {
68262 "tag": "td",
68263 "children": [
68264 {
68265 "tag": "meta"
68266 },
68267 {
68268 "tag": "table",
68269 "children": [
68270 {
68271 "text": " "
68272 }
68273 ]
68274 }
68275 ]
68276 }
68277 ]
68278 }
68279 ]
68280 }
68281 ]
68282 }
68283 ]
68284 }
68285 ]
68286 }
68287 ],
68288 "html": "<!DOCTYPE html><html><head></head><body>X<table><tbody><tr><td><meta><table> </table></td></tr></tbody></table></body></html>",
68289 "noQuirksBodyHtml": "X<table><tbody><tr><td><meta><table> </table></td></tr></tbody></table>"
68290 }
68291 },
68292 {
68293 "data": "<!doctype html><html> <head>",
68294 "errors": [],
68295 "document": {
68296 "props": {
68297 "tags": {
68298 "html": true,
68299 "head": true,
68300 "body": true
68301 },
68302 "doctype": true
68303 },
68304 "tree": [
68305 {
68306 "doctype": "html"
68307 },
68308 {
68309 "tag": "html",
68310 "children": [
68311 {
68312 "tag": "head"
68313 },
68314 {
68315 "tag": "body"
68316 }
68317 ]
68318 }
68319 ],
68320 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
68321 "noQuirksBodyHtml": " "
68322 }
68323 },
68324 {
68325 "data": "<!doctype html> <head>",
68326 "errors": [],
68327 "document": {
68328 "props": {
68329 "tags": {
68330 "html": true,
68331 "head": true,
68332 "body": true
68333 },
68334 "doctype": true
68335 },
68336 "tree": [
68337 {
68338 "doctype": "html"
68339 },
68340 {
68341 "tag": "html",
68342 "children": [
68343 {
68344 "tag": "head"
68345 },
68346 {
68347 "tag": "body"
68348 }
68349 ]
68350 }
68351 ],
68352 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
68353 "noQuirksBodyHtml": " "
68354 }
68355 },
68356 {
68357 "data": "<!doctype html><table><style> <tr>x </style> </table>",
68358 "errors": [],
68359 "document": {
68360 "props": {
68361 "tags": {
68362 "html": true,
68363 "head": true,
68364 "body": true,
68365 "table": true,
68366 "style": true
68367 },
68368 "doctype": true,
68369 "no_escape": true
68370 },
68371 "tree": [
68372 {
68373 "doctype": "html"
68374 },
68375 {
68376 "tag": "html",
68377 "children": [
68378 {
68379 "tag": "head"
68380 },
68381 {
68382 "tag": "body",
68383 "children": [
68384 {
68385 "tag": "table",
68386 "children": [
68387 {
68388 "tag": "style",
68389 "children": [
68390 {
68391 "text": " <tr>x ",
68392 "no_escape": true
68393 }
68394 ]
68395 },
68396 {
68397 "text": " "
68398 }
68399 ]
68400 }
68401 ]
68402 }
68403 ]
68404 }
68405 ],
68406 "html": "<!DOCTYPE html><html><head></head><body><table><style> <tr>x </style> </table></body></html>",
68407 "noQuirksBodyHtml": "<table><style> <tr>x </style> </table>"
68408 }
68409 },
68410 {
68411 "data": "<!doctype html><table><TBODY><script> <tr>x </script> </table>",
68412 "errors": [],
68413 "document": {
68414 "props": {
68415 "tags": {
68416 "html": true,
68417 "head": true,
68418 "body": true,
68419 "table": true,
68420 "tbody": true,
68421 "script": true
68422 },
68423 "doctype": true,
68424 "no_escape": true
68425 },
68426 "tree": [
68427 {
68428 "doctype": "html"
68429 },
68430 {
68431 "tag": "html",
68432 "children": [
68433 {
68434 "tag": "head"
68435 },
68436 {
68437 "tag": "body",
68438 "children": [
68439 {
68440 "tag": "table",
68441 "children": [
68442 {
68443 "tag": "tbody",
68444 "children": [
68445 {
68446 "tag": "script",
68447 "children": [
68448 {
68449 "text": " <tr>x ",
68450 "no_escape": true
68451 }
68452 ]
68453 },
68454 {
68455 "text": " "
68456 }
68457 ]
68458 }
68459 ]
68460 }
68461 ]
68462 }
68463 ]
68464 }
68465 ],
68466 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><script> <tr>x </script> </tbody></table></body></html>",
68467 "noQuirksBodyHtml": "<table><tbody><script> <tr>x </script> </tbody></table>"
68468 }
68469 },
68470 {
68471 "data": "<!doctype html><p><applet><p>X</p></applet>",
68472 "errors": [],
68473 "document": {
68474 "props": {
68475 "tags": {
68476 "html": true,
68477 "head": true,
68478 "body": true,
68479 "p": true,
68480 "applet": true
68481 },
68482 "doctype": true
68483 },
68484 "tree": [
68485 {
68486 "doctype": "html"
68487 },
68488 {
68489 "tag": "html",
68490 "children": [
68491 {
68492 "tag": "head"
68493 },
68494 {
68495 "tag": "body",
68496 "children": [
68497 {
68498 "tag": "p",
68499 "children": [
68500 {
68501 "tag": "applet",
68502 "children": [
68503 {
68504 "tag": "p",
68505 "children": [
68506 {
68507 "text": "X"
68508 }
68509 ]
68510 }
68511 ]
68512 }
68513 ]
68514 }
68515 ]
68516 }
68517 ]
68518 }
68519 ],
68520 "html": "<!DOCTYPE html><html><head></head><body><p><applet><p>X</p></applet></p></body></html>",
68521 "noQuirksBodyHtml": "<p><applet><p>X</p></applet></p>"
68522 }
68523 },
68524 {
68525 "data": "<!doctype html><p><object type=\"application/x-non-existant-plugin\"><p>X</p></object>",
68526 "errors": [],
68527 "document": {
68528 "props": {
68529 "tags": {
68530 "html": true,
68531 "head": true,
68532 "body": true,
68533 "p": true,
68534 "object": true
68535 },
68536 "doctype": true
68537 },
68538 "tree": [
68539 {
68540 "doctype": "html"
68541 },
68542 {
68543 "tag": "html",
68544 "children": [
68545 {
68546 "tag": "head"
68547 },
68548 {
68549 "tag": "body",
68550 "children": [
68551 {
68552 "tag": "p",
68553 "children": [
68554 {
68555 "tag": "object",
68556 "attrs": [
68557 {
68558 "name": "type",
68559 "value": "application/x-non-existant-plugin"
68560 }
68561 ],
68562 "children": [
68563 {
68564 "tag": "p",
68565 "children": [
68566 {
68567 "text": "X"
68568 }
68569 ]
68570 }
68571 ]
68572 }
68573 ]
68574 }
68575 ]
68576 }
68577 ]
68578 }
68579 ],
68580 "html": "<!DOCTYPE html><html><head></head><body><p><object type=\"application/x-non-existant-plugin\"><p>X</p></object></p></body></html>",
68581 "noQuirksBodyHtml": "<p><object type=\"application/x-non-existant-plugin\"><p>X</p></object></p>"
68582 }
68583 },
68584 {
68585 "data": "<!doctype html><listing>\nX</listing>",
68586 "errors": [],
68587 "document": {
68588 "props": {
68589 "tags": {
68590 "html": true,
68591 "head": true,
68592 "body": true,
68593 "listing": true
68594 },
68595 "doctype": true
68596 },
68597 "tree": [
68598 {
68599 "doctype": "html"
68600 },
68601 {
68602 "tag": "html",
68603 "children": [
68604 {
68605 "tag": "head"
68606 },
68607 {
68608 "tag": "body",
68609 "children": [
68610 {
68611 "tag": "listing",
68612 "children": [
68613 {
68614 "text": "X"
68615 }
68616 ]
68617 }
68618 ]
68619 }
68620 ]
68621 }
68622 ],
68623 "html": "<!DOCTYPE html><html><head></head><body><listing>X</listing></body></html>",
68624 "noQuirksBodyHtml": "<listing>X</listing>"
68625 }
68626 },
68627 {
68628 "data": "<!doctype html><select><input>X",
68629 "errors": [
68630 "(1,30): unexpected-input-in-select"
68631 ],
68632 "document": {
68633 "props": {
68634 "tags": {
68635 "html": true,
68636 "head": true,
68637 "body": true,
68638 "select": true,
68639 "input": true
68640 },
68641 "doctype": true
68642 },
68643 "tree": [
68644 {
68645 "doctype": "html"
68646 },
68647 {
68648 "tag": "html",
68649 "children": [
68650 {
68651 "tag": "head"
68652 },
68653 {
68654 "tag": "body",
68655 "children": [
68656 {
68657 "tag": "select"
68658 },
68659 {
68660 "tag": "input"
68661 },
68662 {
68663 "text": "X"
68664 }
68665 ]
68666 }
68667 ]
68668 }
68669 ],
68670 "html": "<!DOCTYPE html><html><head></head><body><select></select><input>X</body></html>",
68671 "noQuirksBodyHtml": "<select></select><input>X"
68672 }
68673 },
68674 {
68675 "data": "<!doctype html><select><select>X",
68676 "errors": [
68677 "(1,31): unexpected-select-in-select"
68678 ],
68679 "document": {
68680 "props": {
68681 "tags": {
68682 "html": true,
68683 "head": true,
68684 "body": true,
68685 "select": true
68686 },
68687 "doctype": true
68688 },
68689 "tree": [
68690 {
68691 "doctype": "html"
68692 },
68693 {
68694 "tag": "html",
68695 "children": [
68696 {
68697 "tag": "head"
68698 },
68699 {
68700 "tag": "body",
68701 "children": [
68702 {
68703 "tag": "select"
68704 },
68705 {
68706 "text": "X"
68707 }
68708 ]
68709 }
68710 ]
68711 }
68712 ],
68713 "html": "<!DOCTYPE html><html><head></head><body><select></select>X</body></html>",
68714 "noQuirksBodyHtml": "<select></select>X"
68715 }
68716 },
68717 {
68718 "data": "<!doctype html><table><input type=hidDEN></table>",
68719 "errors": [
68720 "(1,41): unexpected-hidden-input-in-table"
68721 ],
68722 "document": {
68723 "props": {
68724 "tags": {
68725 "html": true,
68726 "head": true,
68727 "body": true,
68728 "table": true,
68729 "input": true
68730 },
68731 "doctype": true
68732 },
68733 "tree": [
68734 {
68735 "doctype": "html"
68736 },
68737 {
68738 "tag": "html",
68739 "children": [
68740 {
68741 "tag": "head"
68742 },
68743 {
68744 "tag": "body",
68745 "children": [
68746 {
68747 "tag": "table",
68748 "children": [
68749 {
68750 "tag": "input",
68751 "attrs": [
68752 {
68753 "name": "type",
68754 "value": "hidDEN"
68755 }
68756 ]
68757 }
68758 ]
68759 }
68760 ]
68761 }
68762 ]
68763 }
68764 ],
68765 "html": "<!DOCTYPE html><html><head></head><body><table><input type=\"hidDEN\"></table></body></html>",
68766 "noQuirksBodyHtml": "<table><input type=\"hidDEN\"></table>"
68767 }
68768 },
68769 {
68770 "data": "<!doctype html><table>X<input type=hidDEN></table>",
68771 "errors": [
68772 "(1,23): foster-parenting-character",
68773 "(1,42): unexpected-hidden-input-in-table"
68774 ],
68775 "document": {
68776 "props": {
68777 "tags": {
68778 "html": true,
68779 "head": true,
68780 "body": true,
68781 "table": true,
68782 "input": true
68783 },
68784 "doctype": true
68785 },
68786 "tree": [
68787 {
68788 "doctype": "html"
68789 },
68790 {
68791 "tag": "html",
68792 "children": [
68793 {
68794 "tag": "head"
68795 },
68796 {
68797 "tag": "body",
68798 "children": [
68799 {
68800 "text": "X"
68801 },
68802 {
68803 "tag": "table",
68804 "children": [
68805 {
68806 "tag": "input",
68807 "attrs": [
68808 {
68809 "name": "type",
68810 "value": "hidDEN"
68811 }
68812 ]
68813 }
68814 ]
68815 }
68816 ]
68817 }
68818 ]
68819 }
68820 ],
68821 "html": "<!DOCTYPE html><html><head></head><body>X<table><input type=\"hidDEN\"></table></body></html>",
68822 "noQuirksBodyHtml": "X<table><input type=\"hidDEN\"></table>"
68823 }
68824 },
68825 {
68826 "data": "<!doctype html><table> <input type=hidDEN></table>",
68827 "errors": [
68828 "(1,43): unexpected-hidden-input-in-table"
68829 ],
68830 "document": {
68831 "props": {
68832 "tags": {
68833 "html": true,
68834 "head": true,
68835 "body": true,
68836 "table": true,
68837 "input": true
68838 },
68839 "doctype": true
68840 },
68841 "tree": [
68842 {
68843 "doctype": "html"
68844 },
68845 {
68846 "tag": "html",
68847 "children": [
68848 {
68849 "tag": "head"
68850 },
68851 {
68852 "tag": "body",
68853 "children": [
68854 {
68855 "tag": "table",
68856 "children": [
68857 {
68858 "text": " "
68859 },
68860 {
68861 "tag": "input",
68862 "attrs": [
68863 {
68864 "name": "type",
68865 "value": "hidDEN"
68866 }
68867 ]
68868 }
68869 ]
68870 }
68871 ]
68872 }
68873 ]
68874 }
68875 ],
68876 "html": "<!DOCTYPE html><html><head></head><body><table> <input type=\"hidDEN\"></table></body></html>",
68877 "noQuirksBodyHtml": "<table> <input type=\"hidDEN\"></table>"
68878 }
68879 },
68880 {
68881 "data": "<!doctype html><table> <input type='hidDEN'></table>",
68882 "errors": [
68883 "(1,45): unexpected-hidden-input-in-table"
68884 ],
68885 "document": {
68886 "props": {
68887 "tags": {
68888 "html": true,
68889 "head": true,
68890 "body": true,
68891 "table": true,
68892 "input": true
68893 },
68894 "doctype": true
68895 },
68896 "tree": [
68897 {
68898 "doctype": "html"
68899 },
68900 {
68901 "tag": "html",
68902 "children": [
68903 {
68904 "tag": "head"
68905 },
68906 {
68907 "tag": "body",
68908 "children": [
68909 {
68910 "tag": "table",
68911 "children": [
68912 {
68913 "text": " "
68914 },
68915 {
68916 "tag": "input",
68917 "attrs": [
68918 {
68919 "name": "type",
68920 "value": "hidDEN"
68921 }
68922 ]
68923 }
68924 ]
68925 }
68926 ]
68927 }
68928 ]
68929 }
68930 ],
68931 "html": "<!DOCTYPE html><html><head></head><body><table> <input type=\"hidDEN\"></table></body></html>",
68932 "noQuirksBodyHtml": "<table> <input type=\"hidDEN\"></table>"
68933 }
68934 },
68935 {
68936 "data": "<!doctype html><table><input type=\" hidden\"><input type=hidDEN></table>",
68937 "errors": [
68938 "(1,44): unexpected-start-tag-implies-table-voodoo",
68939 "(1,63): unexpected-hidden-input-in-table"
68940 ],
68941 "document": {
68942 "props": {
68943 "tags": {
68944 "html": true,
68945 "head": true,
68946 "body": true,
68947 "input": true,
68948 "table": true
68949 },
68950 "doctype": true
68951 },
68952 "tree": [
68953 {
68954 "doctype": "html"
68955 },
68956 {
68957 "tag": "html",
68958 "children": [
68959 {
68960 "tag": "head"
68961 },
68962 {
68963 "tag": "body",
68964 "children": [
68965 {
68966 "tag": "input",
68967 "attrs": [
68968 {
68969 "name": "type",
68970 "value": " hidden"
68971 }
68972 ]
68973 },
68974 {
68975 "tag": "table",
68976 "children": [
68977 {
68978 "tag": "input",
68979 "attrs": [
68980 {
68981 "name": "type",
68982 "value": "hidDEN"
68983 }
68984 ]
68985 }
68986 ]
68987 }
68988 ]
68989 }
68990 ]
68991 }
68992 ],
68993 "html": "<!DOCTYPE html><html><head></head><body><input type=\" hidden\"><table><input type=\"hidDEN\"></table></body></html>",
68994 "noQuirksBodyHtml": "<input type=\" hidden\"><table><input type=\"hidDEN\"></table>"
68995 }
68996 },
68997 {
68998 "data": "<!doctype html><table><select>X<tr>",
68999 "errors": [
69000 "(1,30): unexpected-start-tag-implies-table-voodoo",
69001 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
69002 "(1,35): eof-in-table"
69003 ],
69004 "document": {
69005 "props": {
69006 "tags": {
69007 "html": true,
69008 "head": true,
69009 "body": true,
69010 "select": true,
69011 "table": true,
69012 "tbody": true,
69013 "tr": true
69014 },
69015 "doctype": true
69016 },
69017 "tree": [
69018 {
69019 "doctype": "html"
69020 },
69021 {
69022 "tag": "html",
69023 "children": [
69024 {
69025 "tag": "head"
69026 },
69027 {
69028 "tag": "body",
69029 "children": [
69030 {
69031 "tag": "select",
69032 "children": [
69033 {
69034 "text": "X"
69035 }
69036 ]
69037 },
69038 {
69039 "tag": "table",
69040 "children": [
69041 {
69042 "tag": "tbody",
69043 "children": [
69044 {
69045 "tag": "tr"
69046 }
69047 ]
69048 }
69049 ]
69050 }
69051 ]
69052 }
69053 ]
69054 }
69055 ],
69056 "html": "<!DOCTYPE html><html><head></head><body><select>X</select><table><tbody><tr></tr></tbody></table></body></html>",
69057 "noQuirksBodyHtml": "<select>X</select><table><tbody><tr></tr></tbody></table>"
69058 }
69059 },
69060 {
69061 "data": "<!doctype html><select>X</select>",
69062 "errors": [],
69063 "document": {
69064 "props": {
69065 "tags": {
69066 "html": true,
69067 "head": true,
69068 "body": true,
69069 "select": true
69070 },
69071 "doctype": true
69072 },
69073 "tree": [
69074 {
69075 "doctype": "html"
69076 },
69077 {
69078 "tag": "html",
69079 "children": [
69080 {
69081 "tag": "head"
69082 },
69083 {
69084 "tag": "body",
69085 "children": [
69086 {
69087 "tag": "select",
69088 "children": [
69089 {
69090 "text": "X"
69091 }
69092 ]
69093 }
69094 ]
69095 }
69096 ]
69097 }
69098 ],
69099 "html": "<!DOCTYPE html><html><head></head><body><select>X</select></body></html>",
69100 "noQuirksBodyHtml": "<select>X</select>"
69101 }
69102 },
69103 {
69104 "data": "<!DOCTYPE hTmL><html></html>",
69105 "errors": [],
69106 "document": {
69107 "props": {
69108 "tags": {
69109 "html": true,
69110 "head": true,
69111 "body": true
69112 },
69113 "doctype": true
69114 },
69115 "tree": [
69116 {
69117 "doctype": "html"
69118 },
69119 {
69120 "tag": "html",
69121 "children": [
69122 {
69123 "tag": "head"
69124 },
69125 {
69126 "tag": "body"
69127 }
69128 ]
69129 }
69130 ],
69131 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
69132 "noQuirksBodyHtml": ""
69133 }
69134 },
69135 {
69136 "data": "<!DOCTYPE HTML><html></html>",
69137 "errors": [],
69138 "document": {
69139 "props": {
69140 "tags": {
69141 "html": true,
69142 "head": true,
69143 "body": true
69144 },
69145 "doctype": true
69146 },
69147 "tree": [
69148 {
69149 "doctype": "html"
69150 },
69151 {
69152 "tag": "html",
69153 "children": [
69154 {
69155 "tag": "head"
69156 },
69157 {
69158 "tag": "body"
69159 }
69160 ]
69161 }
69162 ],
69163 "html": "<!DOCTYPE html><html><head></head><body></body></html>",
69164 "noQuirksBodyHtml": ""
69165 }
69166 },
69167 {
69168 "data": "<body>X</body></body>",
69169 "errors": [
69170 "(1,21): unexpected-end-tag-after-body"
69171 ],
69172 "fragment": {
69173 "name": "html"
69174 },
69175 "document": {
69176 "props": {
69177 "tags": {
69178 "head": true,
69179 "body": true
69180 }
69181 },
69182 "tree": [
69183 {
69184 "tag": "head"
69185 },
69186 {
69187 "tag": "body",
69188 "children": [
69189 {
69190 "text": "X"
69191 }
69192 ]
69193 }
69194 ],
69195 "html": "<head></head><body>X</body>",
69196 "noQuirksBodyHtml": "X"
69197 }
69198 },
69199 {
69200 "data": "<div><p>a</x> b",
69201 "errors": [
69202 "(1,5): expected-doctype-but-got-start-tag",
69203 "(1,13): unexpected-end-tag",
69204 "(1,15): expected-closing-tag-but-got-eof"
69205 ],
69206 "document": {
69207 "props": {
69208 "tags": {
69209 "html": true,
69210 "head": true,
69211 "body": true,
69212 "div": true,
69213 "p": true
69214 }
69215 },
69216 "tree": [
69217 {
69218 "tag": "html",
69219 "children": [
69220 {
69221 "tag": "head"
69222 },
69223 {
69224 "tag": "body",
69225 "children": [
69226 {
69227 "tag": "div",
69228 "children": [
69229 {
69230 "tag": "p",
69231 "children": [
69232 {
69233 "text": "a b"
69234 }
69235 ]
69236 }
69237 ]
69238 }
69239 ]
69240 }
69241 ]
69242 }
69243 ],
69244 "html": "<html><head></head><body><div><p>a b</p></div></body></html>",
69245 "noQuirksBodyHtml": "<div><p>a b</p></div>"
69246 }
69247 },
69248 {
69249 "data": "<table><tr><td><code></code> </table>",
69250 "errors": [
69251 "(1,7): expected-doctype-but-got-start-tag"
69252 ],
69253 "document": {
69254 "props": {
69255 "tags": {
69256 "html": true,
69257 "head": true,
69258 "body": true,
69259 "table": true,
69260 "tbody": true,
69261 "tr": true,
69262 "td": true,
69263 "code": true
69264 }
69265 },
69266 "tree": [
69267 {
69268 "tag": "html",
69269 "children": [
69270 {
69271 "tag": "head"
69272 },
69273 {
69274 "tag": "body",
69275 "children": [
69276 {
69277 "tag": "table",
69278 "children": [
69279 {
69280 "tag": "tbody",
69281 "children": [
69282 {
69283 "tag": "tr",
69284 "children": [
69285 {
69286 "tag": "td",
69287 "children": [
69288 {
69289 "tag": "code"
69290 },
69291 {
69292 "text": " "
69293 }
69294 ]
69295 }
69296 ]
69297 }
69298 ]
69299 }
69300 ]
69301 }
69302 ]
69303 }
69304 ]
69305 }
69306 ],
69307 "html": "<html><head></head><body><table><tbody><tr><td><code></code> </td></tr></tbody></table></body></html>",
69308 "noQuirksBodyHtml": "<table><tbody><tr><td><code></code> </td></tr></tbody></table>"
69309 }
69310 },
69311 {
69312 "data": "<table><b><tr><td>aaa</td></tr>bbb</table>ccc",
69313 "errors": [
69314 "(1,7): expected-doctype-but-got-start-tag",
69315 "(1,10): foster-parenting-start-tag",
69316 "(1,32): foster-parenting-character",
69317 "(1,33): foster-parenting-character",
69318 "(1,34): foster-parenting-character",
69319 "(1,45): expected-closing-tag-but-got-eof"
69320 ],
69321 "document": {
69322 "props": {
69323 "tags": {
69324 "html": true,
69325 "head": true,
69326 "body": true,
69327 "b": true,
69328 "table": true,
69329 "tbody": true,
69330 "tr": true,
69331 "td": true
69332 }
69333 },
69334 "tree": [
69335 {
69336 "tag": "html",
69337 "children": [
69338 {
69339 "tag": "head"
69340 },
69341 {
69342 "tag": "body",
69343 "children": [
69344 {
69345 "tag": "b"
69346 },
69347 {
69348 "tag": "b",
69349 "children": [
69350 {
69351 "text": "bbb"
69352 }
69353 ]
69354 },
69355 {
69356 "tag": "table",
69357 "children": [
69358 {
69359 "tag": "tbody",
69360 "children": [
69361 {
69362 "tag": "tr",
69363 "children": [
69364 {
69365 "tag": "td",
69366 "children": [
69367 {
69368 "text": "aaa"
69369 }
69370 ]
69371 }
69372 ]
69373 }
69374 ]
69375 }
69376 ]
69377 },
69378 {
69379 "tag": "b",
69380 "children": [
69381 {
69382 "text": "ccc"
69383 }
69384 ]
69385 }
69386 ]
69387 }
69388 ]
69389 }
69390 ],
69391 "html": "<html><head></head><body><b></b><b>bbb</b><table><tbody><tr><td>aaa</td></tr></tbody></table><b>ccc</b></body></html>",
69392 "noQuirksBodyHtml": "<b></b><b>bbb</b><table><tbody><tr><td>aaa</td></tr></tbody></table><b>ccc</b>"
69393 }
69394 },
69395 {
69396 "data": "A<table><tr> B</tr> B</table>",
69397 "errors": [
69398 "(1,1): expected-doctype-but-got-chars",
69399 "(1,13): foster-parenting-character",
69400 "(1,14): foster-parenting-character",
69401 "(1,20): foster-parenting-character",
69402 "(1,21): foster-parenting-character"
69403 ],
69404 "document": {
69405 "props": {
69406 "tags": {
69407 "html": true,
69408 "head": true,
69409 "body": true,
69410 "table": true,
69411 "tbody": true,
69412 "tr": true
69413 }
69414 },
69415 "tree": [
69416 {
69417 "tag": "html",
69418 "children": [
69419 {
69420 "tag": "head"
69421 },
69422 {
69423 "tag": "body",
69424 "children": [
69425 {
69426 "text": "A B B"
69427 },
69428 {
69429 "tag": "table",
69430 "children": [
69431 {
69432 "tag": "tbody",
69433 "children": [
69434 {
69435 "tag": "tr"
69436 }
69437 ]
69438 }
69439 ]
69440 }
69441 ]
69442 }
69443 ]
69444 }
69445 ],
69446 "html": "<html><head></head><body>A B B<table><tbody><tr></tr></tbody></table></body></html>",
69447 "noQuirksBodyHtml": "A B B<table><tbody><tr></tr></tbody></table>"
69448 }
69449 },
69450 {
69451 "data": "A<table><tr> B</tr> </em>C</table>",
69452 "errors": [
69453 "(1,1): expected-doctype-but-got-chars",
69454 "(1,13): foster-parenting-character",
69455 "(1,14): foster-parenting-character",
69456 "(1,20): foster-parenting-character",
69457 "(1,25): unexpected-end-tag",
69458 "(1,26): foster-parenting-character"
69459 ],
69460 "document": {
69461 "props": {
69462 "tags": {
69463 "html": true,
69464 "head": true,
69465 "body": true,
69466 "table": true,
69467 "tbody": true,
69468 "tr": true
69469 }
69470 },
69471 "tree": [
69472 {
69473 "tag": "html",
69474 "children": [
69475 {
69476 "tag": "head"
69477 },
69478 {
69479 "tag": "body",
69480 "children": [
69481 {
69482 "text": "A BC"
69483 },
69484 {
69485 "tag": "table",
69486 "children": [
69487 {
69488 "tag": "tbody",
69489 "children": [
69490 {
69491 "tag": "tr"
69492 },
69493 {
69494 "text": " "
69495 }
69496 ]
69497 }
69498 ]
69499 }
69500 ]
69501 }
69502 ]
69503 }
69504 ],
69505 "html": "<html><head></head><body>A BC<table><tbody><tr></tr> </tbody></table></body></html>",
69506 "noQuirksBodyHtml": "A BC<table><tbody><tr></tr> </tbody></table>"
69507 }
69508 },
69509 {
69510 "data": "<select><keygen>",
69511 "errors": [
69512 "(1,8): expected-doctype-but-got-start-tag",
69513 "(1,16): unexpected-input-in-select"
69514 ],
69515 "document": {
69516 "props": {
69517 "tags": {
69518 "html": true,
69519 "head": true,
69520 "body": true,
69521 "select": true,
69522 "keygen": true
69523 }
69524 },
69525 "tree": [
69526 {
69527 "tag": "html",
69528 "children": [
69529 {
69530 "tag": "head"
69531 },
69532 {
69533 "tag": "body",
69534 "children": [
69535 {
69536 "tag": "select"
69537 },
69538 {
69539 "tag": "keygen"
69540 }
69541 ]
69542 }
69543 ]
69544 }
69545 ],
69546 "html": "<html><head></head><body><select></select><keygen></body></html>",
69547 "noQuirksBodyHtml": "<select></select><keygen>"
69548 }
69549 }
69550 ],
69551 "tests8.dat": [
69552 {
69553 "data": "<div>\n<div></div>\n</span>x",
69554 "errors": [
69555 "(1,5): expected-doctype-but-got-start-tag",
69556 "(3,7): unexpected-end-tag",
69557 "(3,8): expected-closing-tag-but-got-eof"
69558 ],
69559 "document": {
69560 "props": {
69561 "tags": {
69562 "html": true,
69563 "head": true,
69564 "body": true,
69565 "div": true
69566 }
69567 },
69568 "tree": [
69569 {
69570 "tag": "html",
69571 "children": [
69572 {
69573 "tag": "head"
69574 },
69575 {
69576 "tag": "body",
69577 "children": [
69578 {
69579 "tag": "div",
69580 "children": [
69581 {
69582 "text": "\n"
69583 },
69584 {
69585 "tag": "div"
69586 },
69587 {
69588 "text": "\nx"
69589 }
69590 ]
69591 }
69592 ]
69593 }
69594 ]
69595 }
69596 ],
69597 "html": "<html><head></head><body><div>\n<div></div>\nx</div></body></html>",
69598 "noQuirksBodyHtml": "<div>\n<div></div>\nx</div>"
69599 }
69600 },
69601 {
69602 "data": "<div>x<div></div>\n</span>x",
69603 "errors": [
69604 "(1,5): expected-doctype-but-got-start-tag",
69605 "(2,7): unexpected-end-tag",
69606 "(2,8): expected-closing-tag-but-got-eof"
69607 ],
69608 "document": {
69609 "props": {
69610 "tags": {
69611 "html": true,
69612 "head": true,
69613 "body": true,
69614 "div": true
69615 }
69616 },
69617 "tree": [
69618 {
69619 "tag": "html",
69620 "children": [
69621 {
69622 "tag": "head"
69623 },
69624 {
69625 "tag": "body",
69626 "children": [
69627 {
69628 "tag": "div",
69629 "children": [
69630 {
69631 "text": "x"
69632 },
69633 {
69634 "tag": "div"
69635 },
69636 {
69637 "text": "\nx"
69638 }
69639 ]
69640 }
69641 ]
69642 }
69643 ]
69644 }
69645 ],
69646 "html": "<html><head></head><body><div>x<div></div>\nx</div></body></html>",
69647 "noQuirksBodyHtml": "<div>x<div></div>\nx</div>"
69648 }
69649 },
69650 {
69651 "data": "<div>x<div></div>x</span>x",
69652 "errors": [
69653 "(1,5): expected-doctype-but-got-start-tag",
69654 "(1,25): unexpected-end-tag",
69655 "(1,26): expected-closing-tag-but-got-eof"
69656 ],
69657 "document": {
69658 "props": {
69659 "tags": {
69660 "html": true,
69661 "head": true,
69662 "body": true,
69663 "div": true
69664 }
69665 },
69666 "tree": [
69667 {
69668 "tag": "html",
69669 "children": [
69670 {
69671 "tag": "head"
69672 },
69673 {
69674 "tag": "body",
69675 "children": [
69676 {
69677 "tag": "div",
69678 "children": [
69679 {
69680 "text": "x"
69681 },
69682 {
69683 "tag": "div"
69684 },
69685 {
69686 "text": "xx"
69687 }
69688 ]
69689 }
69690 ]
69691 }
69692 ]
69693 }
69694 ],
69695 "html": "<html><head></head><body><div>x<div></div>xx</div></body></html>",
69696 "noQuirksBodyHtml": "<div>x<div></div>xx</div>"
69697 }
69698 },
69699 {
69700 "data": "<div>x<div></div>y</span>z",
69701 "errors": [
69702 "(1,5): expected-doctype-but-got-start-tag",
69703 "(1,25): unexpected-end-tag",
69704 "(1,26): expected-closing-tag-but-got-eof"
69705 ],
69706 "document": {
69707 "props": {
69708 "tags": {
69709 "html": true,
69710 "head": true,
69711 "body": true,
69712 "div": true
69713 }
69714 },
69715 "tree": [
69716 {
69717 "tag": "html",
69718 "children": [
69719 {
69720 "tag": "head"
69721 },
69722 {
69723 "tag": "body",
69724 "children": [
69725 {
69726 "tag": "div",
69727 "children": [
69728 {
69729 "text": "x"
69730 },
69731 {
69732 "tag": "div"
69733 },
69734 {
69735 "text": "yz"
69736 }
69737 ]
69738 }
69739 ]
69740 }
69741 ]
69742 }
69743 ],
69744 "html": "<html><head></head><body><div>x<div></div>yz</div></body></html>",
69745 "noQuirksBodyHtml": "<div>x<div></div>yz</div>"
69746 }
69747 },
69748 {
69749 "data": "<table><div>x<div></div>x</span>x",
69750 "errors": [
69751 "(1,7): expected-doctype-but-got-start-tag",
69752 "(1,12): foster-parenting-start-tag",
69753 "(1,13): foster-parenting-character",
69754 "(1,18): foster-parenting-start-tag",
69755 "(1,24): foster-parenting-end-tag",
69756 "(1,25): foster-parenting-start-tag",
69757 "(1,32): foster-parenting-end-tag",
69758 "(1,32): unexpected-end-tag",
69759 "(1,33): foster-parenting-character",
69760 "(1,33): eof-in-table"
69761 ],
69762 "document": {
69763 "props": {
69764 "tags": {
69765 "html": true,
69766 "head": true,
69767 "body": true,
69768 "div": true,
69769 "table": true
69770 }
69771 },
69772 "tree": [
69773 {
69774 "tag": "html",
69775 "children": [
69776 {
69777 "tag": "head"
69778 },
69779 {
69780 "tag": "body",
69781 "children": [
69782 {
69783 "tag": "div",
69784 "children": [
69785 {
69786 "text": "x"
69787 },
69788 {
69789 "tag": "div"
69790 },
69791 {
69792 "text": "xx"
69793 }
69794 ]
69795 },
69796 {
69797 "tag": "table"
69798 }
69799 ]
69800 }
69801 ]
69802 }
69803 ],
69804 "html": "<html><head></head><body><div>x<div></div>xx</div><table></table></body></html>",
69805 "noQuirksBodyHtml": "<div>x<div></div>xx</div><table></table>"
69806 }
69807 },
69808 {
69809 "data": "x<table>x",
69810 "errors": [
69811 "(1,1): expected-doctype-but-got-chars",
69812 "(1,9): foster-parenting-character",
69813 "(1,9): eof-in-table"
69814 ],
69815 "document": {
69816 "props": {
69817 "tags": {
69818 "html": true,
69819 "head": true,
69820 "body": true,
69821 "table": true
69822 }
69823 },
69824 "tree": [
69825 {
69826 "tag": "html",
69827 "children": [
69828 {
69829 "tag": "head"
69830 },
69831 {
69832 "tag": "body",
69833 "children": [
69834 {
69835 "text": "xx"
69836 },
69837 {
69838 "tag": "table"
69839 }
69840 ]
69841 }
69842 ]
69843 }
69844 ],
69845 "html": "<html><head></head><body>xx<table></table></body></html>",
69846 "noQuirksBodyHtml": "xx<table></table>"
69847 }
69848 },
69849 {
69850 "data": "x<table><table>x",
69851 "errors": [
69852 "(1,1): expected-doctype-but-got-chars",
69853 "(1,15): unexpected-start-tag-implies-end-tag",
69854 "(1,16): foster-parenting-character",
69855 "(1,16): eof-in-table"
69856 ],
69857 "document": {
69858 "props": {
69859 "tags": {
69860 "html": true,
69861 "head": true,
69862 "body": true,
69863 "table": true
69864 }
69865 },
69866 "tree": [
69867 {
69868 "tag": "html",
69869 "children": [
69870 {
69871 "tag": "head"
69872 },
69873 {
69874 "tag": "body",
69875 "children": [
69876 {
69877 "text": "x"
69878 },
69879 {
69880 "tag": "table"
69881 },
69882 {
69883 "text": "x"
69884 },
69885 {
69886 "tag": "table"
69887 }
69888 ]
69889 }
69890 ]
69891 }
69892 ],
69893 "html": "<html><head></head><body>x<table></table>x<table></table></body></html>",
69894 "noQuirksBodyHtml": "x<table></table>x<table></table>"
69895 }
69896 },
69897 {
69898 "data": "<b>a<div></div><div></b>y",
69899 "errors": [
69900 "(1,3): expected-doctype-but-got-start-tag",
69901 "(1,24): adoption-agency-1.3",
69902 "(1,25): expected-closing-tag-but-got-eof"
69903 ],
69904 "document": {
69905 "props": {
69906 "tags": {
69907 "html": true,
69908 "head": true,
69909 "body": true,
69910 "b": true,
69911 "div": true
69912 }
69913 },
69914 "tree": [
69915 {
69916 "tag": "html",
69917 "children": [
69918 {
69919 "tag": "head"
69920 },
69921 {
69922 "tag": "body",
69923 "children": [
69924 {
69925 "tag": "b",
69926 "children": [
69927 {
69928 "text": "a"
69929 },
69930 {
69931 "tag": "div"
69932 }
69933 ]
69934 },
69935 {
69936 "tag": "div",
69937 "children": [
69938 {
69939 "tag": "b"
69940 },
69941 {
69942 "text": "y"
69943 }
69944 ]
69945 }
69946 ]
69947 }
69948 ]
69949 }
69950 ],
69951 "html": "<html><head></head><body><b>a<div></div></b><div><b></b>y</div></body></html>",
69952 "noQuirksBodyHtml": "<b>a<div></div></b><div><b></b>y</div>"
69953 }
69954 },
69955 {
69956 "data": "<a><div><p></a>",
69957 "errors": [
69958 "(1,3): expected-doctype-but-got-start-tag",
69959 "(1,15): adoption-agency-1.3",
69960 "(1,15): adoption-agency-1.3",
69961 "(1,15): expected-closing-tag-but-got-eof"
69962 ],
69963 "document": {
69964 "props": {
69965 "tags": {
69966 "html": true,
69967 "head": true,
69968 "body": true,
69969 "a": true,
69970 "div": true,
69971 "p": true
69972 }
69973 },
69974 "tree": [
69975 {
69976 "tag": "html",
69977 "children": [
69978 {
69979 "tag": "head"
69980 },
69981 {
69982 "tag": "body",
69983 "children": [
69984 {
69985 "tag": "a"
69986 },
69987 {
69988 "tag": "div",
69989 "children": [
69990 {
69991 "tag": "a"
69992 },
69993 {
69994 "tag": "p",
69995 "children": [
69996 {
69997 "tag": "a"
69998 }
69999 ]
70000 }
70001 ]
70002 }
70003 ]
70004 }
70005 ]
70006 }
70007 ],
70008 "html": "<html><head></head><body><a></a><div><a></a><p><a></a></p></div></body></html>",
70009 "noQuirksBodyHtml": "<a></a><div><a></a><p><a></a></p></div>"
70010 }
70011 }
70012 ],
70013 "tests9.dat": [
70014 {
70015 "data": "<!DOCTYPE html><math></math>",
70016 "errors": [],
70017 "document": {
70018 "props": {
70019 "tags": {
70020 "html": true,
70021 "head": true,
70022 "body": true,
70023 "math math": true
70024 },
70025 "doctype": true
70026 },
70027 "tree": [
70028 {
70029 "doctype": "html"
70030 },
70031 {
70032 "tag": "html",
70033 "children": [
70034 {
70035 "tag": "head"
70036 },
70037 {
70038 "tag": "body",
70039 "children": [
70040 {
70041 "tag": "math",
70042 "ns": "http://www.w3.org/1998/Math/MathML"
70043 }
70044 ]
70045 }
70046 ]
70047 }
70048 ],
70049 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
70050 "noQuirksBodyHtml": "<math></math>"
70051 }
70052 },
70053 {
70054 "data": "<!DOCTYPE html><body><math></math>",
70055 "errors": [],
70056 "document": {
70057 "props": {
70058 "tags": {
70059 "html": true,
70060 "head": true,
70061 "body": true,
70062 "math math": true
70063 },
70064 "doctype": true
70065 },
70066 "tree": [
70067 {
70068 "doctype": "html"
70069 },
70070 {
70071 "tag": "html",
70072 "children": [
70073 {
70074 "tag": "head"
70075 },
70076 {
70077 "tag": "body",
70078 "children": [
70079 {
70080 "tag": "math",
70081 "ns": "http://www.w3.org/1998/Math/MathML"
70082 }
70083 ]
70084 }
70085 ]
70086 }
70087 ],
70088 "html": "<!DOCTYPE html><html><head></head><body><math></math></body></html>",
70089 "noQuirksBodyHtml": "<math></math>"
70090 }
70091 },
70092 {
70093 "data": "<!DOCTYPE html><math><mi>",
70094 "errors": [
70095 "(1,25) expected-closing-tag-but-got-eof"
70096 ],
70097 "document": {
70098 "props": {
70099 "tags": {
70100 "html": true,
70101 "head": true,
70102 "body": true,
70103 "math math": true,
70104 "math mi": true
70105 },
70106 "doctype": true
70107 },
70108 "tree": [
70109 {
70110 "doctype": "html"
70111 },
70112 {
70113 "tag": "html",
70114 "children": [
70115 {
70116 "tag": "head"
70117 },
70118 {
70119 "tag": "body",
70120 "children": [
70121 {
70122 "tag": "math",
70123 "ns": "http://www.w3.org/1998/Math/MathML",
70124 "children": [
70125 {
70126 "tag": "mi",
70127 "ns": "http://www.w3.org/1998/Math/MathML"
70128 }
70129 ]
70130 }
70131 ]
70132 }
70133 ]
70134 }
70135 ],
70136 "html": "<!DOCTYPE html><html><head></head><body><math><mi></mi></math></body></html>",
70137 "noQuirksBodyHtml": "<math><mi></mi></math>"
70138 }
70139 },
70140 {
70141 "data": "<!DOCTYPE html><math><annotation-xml><svg><u>",
70142 "errors": [
70143 "(1,45) unexpected-html-element-in-foreign-content",
70144 "(1,45) expected-closing-tag-but-got-eof"
70145 ],
70146 "document": {
70147 "props": {
70148 "tags": {
70149 "html": true,
70150 "head": true,
70151 "body": true,
70152 "math math": true,
70153 "math annotation-xml": true,
70154 "svg svg": true,
70155 "u": true
70156 },
70157 "doctype": true
70158 },
70159 "tree": [
70160 {
70161 "doctype": "html"
70162 },
70163 {
70164 "tag": "html",
70165 "children": [
70166 {
70167 "tag": "head"
70168 },
70169 {
70170 "tag": "body",
70171 "children": [
70172 {
70173 "tag": "math",
70174 "ns": "http://www.w3.org/1998/Math/MathML",
70175 "children": [
70176 {
70177 "tag": "annotation-xml",
70178 "ns": "http://www.w3.org/1998/Math/MathML",
70179 "children": [
70180 {
70181 "tag": "svg",
70182 "ns": "http://www.w3.org/2000/svg"
70183 }
70184 ]
70185 }
70186 ]
70187 },
70188 {
70189 "tag": "u"
70190 }
70191 ]
70192 }
70193 ]
70194 }
70195 ],
70196 "html": "<!DOCTYPE html><html><head></head><body><math><annotation-xml><svg></svg></annotation-xml></math><u></u></body></html>",
70197 "noQuirksBodyHtml": "<math><annotation-xml><svg><u></u></svg></annotation-xml></math>"
70198 }
70199 },
70200 {
70201 "data": "<!DOCTYPE html><body><select><math></math></select>",
70202 "errors": [
70203 "(1,35) unexpected-start-tag-in-select",
70204 "(1,42) unexpected-end-tag-in-select"
70205 ],
70206 "document": {
70207 "props": {
70208 "tags": {
70209 "html": true,
70210 "head": true,
70211 "body": true,
70212 "select": true
70213 },
70214 "doctype": true
70215 },
70216 "tree": [
70217 {
70218 "doctype": "html"
70219 },
70220 {
70221 "tag": "html",
70222 "children": [
70223 {
70224 "tag": "head"
70225 },
70226 {
70227 "tag": "body",
70228 "children": [
70229 {
70230 "tag": "select"
70231 }
70232 ]
70233 }
70234 ]
70235 }
70236 ],
70237 "html": "<!DOCTYPE html><html><head></head><body><select></select></body></html>",
70238 "noQuirksBodyHtml": "<select></select>"
70239 }
70240 },
70241 {
70242 "data": "<!DOCTYPE html><body><select><option><math></math></option></select>",
70243 "errors": [
70244 "(1,43) unexpected-start-tag-in-select",
70245 "(1,50) unexpected-end-tag-in-select"
70246 ],
70247 "document": {
70248 "props": {
70249 "tags": {
70250 "html": true,
70251 "head": true,
70252 "body": true,
70253 "select": true,
70254 "option": true
70255 },
70256 "doctype": true
70257 },
70258 "tree": [
70259 {
70260 "doctype": "html"
70261 },
70262 {
70263 "tag": "html",
70264 "children": [
70265 {
70266 "tag": "head"
70267 },
70268 {
70269 "tag": "body",
70270 "children": [
70271 {
70272 "tag": "select",
70273 "children": [
70274 {
70275 "tag": "option"
70276 }
70277 ]
70278 }
70279 ]
70280 }
70281 ]
70282 }
70283 ],
70284 "html": "<!DOCTYPE html><html><head></head><body><select><option></option></select></body></html>",
70285 "noQuirksBodyHtml": "<select><option></option></select>"
70286 }
70287 },
70288 {
70289 "data": "<!DOCTYPE html><body><table><math></math></table>",
70290 "errors": [
70291 "(1,34) unexpected-start-tag-implies-table-voodoo"
70292 ],
70293 "document": {
70294 "props": {
70295 "tags": {
70296 "html": true,
70297 "head": true,
70298 "body": true,
70299 "math math": true,
70300 "table": true
70301 },
70302 "doctype": true
70303 },
70304 "tree": [
70305 {
70306 "doctype": "html"
70307 },
70308 {
70309 "tag": "html",
70310 "children": [
70311 {
70312 "tag": "head"
70313 },
70314 {
70315 "tag": "body",
70316 "children": [
70317 {
70318 "tag": "math",
70319 "ns": "http://www.w3.org/1998/Math/MathML"
70320 },
70321 {
70322 "tag": "table"
70323 }
70324 ]
70325 }
70326 ]
70327 }
70328 ],
70329 "html": "<!DOCTYPE html><html><head></head><body><math></math><table></table></body></html>",
70330 "noQuirksBodyHtml": "<math></math><table></table>"
70331 }
70332 },
70333 {
70334 "data": "<!DOCTYPE html><body><table><math><mi>foo</mi></math></table>",
70335 "errors": [
70336 "(1,34) foster-parenting-start-token",
70337 "(1,39) foster-parenting-character",
70338 "(1,40) foster-parenting-character",
70339 "(1,41) foster-parenting-character"
70340 ],
70341 "document": {
70342 "props": {
70343 "tags": {
70344 "html": true,
70345 "head": true,
70346 "body": true,
70347 "math math": true,
70348 "math mi": true,
70349 "table": true
70350 },
70351 "doctype": true
70352 },
70353 "tree": [
70354 {
70355 "doctype": "html"
70356 },
70357 {
70358 "tag": "html",
70359 "children": [
70360 {
70361 "tag": "head"
70362 },
70363 {
70364 "tag": "body",
70365 "children": [
70366 {
70367 "tag": "math",
70368 "ns": "http://www.w3.org/1998/Math/MathML",
70369 "children": [
70370 {
70371 "tag": "mi",
70372 "ns": "http://www.w3.org/1998/Math/MathML",
70373 "children": [
70374 {
70375 "text": "foo"
70376 }
70377 ]
70378 }
70379 ]
70380 },
70381 {
70382 "tag": "table"
70383 }
70384 ]
70385 }
70386 ]
70387 }
70388 ],
70389 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi></math><table></table></body></html>",
70390 "noQuirksBodyHtml": "<math><mi>foo</mi></math><table></table>"
70391 }
70392 },
70393 {
70394 "data": "<!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>",
70395 "errors": [
70396 "(1,34) foster-parenting-start-tag",
70397 "(1,39) foster-parenting-character",
70398 "(1,40) foster-parenting-character",
70399 "(1,41) foster-parenting-character",
70400 "(1,51) foster-parenting-character",
70401 "(1,52) foster-parenting-character",
70402 "(1,53) foster-parenting-character"
70403 ],
70404 "document": {
70405 "props": {
70406 "tags": {
70407 "html": true,
70408 "head": true,
70409 "body": true,
70410 "math math": true,
70411 "math mi": true,
70412 "table": true
70413 },
70414 "doctype": true
70415 },
70416 "tree": [
70417 {
70418 "doctype": "html"
70419 },
70420 {
70421 "tag": "html",
70422 "children": [
70423 {
70424 "tag": "head"
70425 },
70426 {
70427 "tag": "body",
70428 "children": [
70429 {
70430 "tag": "math",
70431 "ns": "http://www.w3.org/1998/Math/MathML",
70432 "children": [
70433 {
70434 "tag": "mi",
70435 "ns": "http://www.w3.org/1998/Math/MathML",
70436 "children": [
70437 {
70438 "text": "foo"
70439 }
70440 ]
70441 },
70442 {
70443 "tag": "mi",
70444 "ns": "http://www.w3.org/1998/Math/MathML",
70445 "children": [
70446 {
70447 "text": "bar"
70448 }
70449 ]
70450 }
70451 ]
70452 },
70453 {
70454 "tag": "table"
70455 }
70456 ]
70457 }
70458 ]
70459 }
70460 ],
70461 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table></table></body></html>",
70462 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table></table>"
70463 }
70464 },
70465 {
70466 "data": "<!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>",
70467 "errors": [
70468 "(1,41) foster-parenting-start-tag",
70469 "(1,46) foster-parenting-character",
70470 "(1,47) foster-parenting-character",
70471 "(1,48) foster-parenting-character",
70472 "(1,58) foster-parenting-character",
70473 "(1,59) foster-parenting-character",
70474 "(1,60) foster-parenting-character"
70475 ],
70476 "document": {
70477 "props": {
70478 "tags": {
70479 "html": true,
70480 "head": true,
70481 "body": true,
70482 "math math": true,
70483 "math mi": true,
70484 "table": true,
70485 "tbody": 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": "math",
70504 "ns": "http://www.w3.org/1998/Math/MathML",
70505 "children": [
70506 {
70507 "tag": "mi",
70508 "ns": "http://www.w3.org/1998/Math/MathML",
70509 "children": [
70510 {
70511 "text": "foo"
70512 }
70513 ]
70514 },
70515 {
70516 "tag": "mi",
70517 "ns": "http://www.w3.org/1998/Math/MathML",
70518 "children": [
70519 {
70520 "text": "bar"
70521 }
70522 ]
70523 }
70524 ]
70525 },
70526 {
70527 "tag": "table",
70528 "children": [
70529 {
70530 "tag": "tbody"
70531 }
70532 ]
70533 }
70534 ]
70535 }
70536 ]
70537 }
70538 ],
70539 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table><tbody></tbody></table></body></html>",
70540 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table><tbody></tbody></table>"
70541 }
70542 },
70543 {
70544 "data": "<!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>",
70545 "errors": [
70546 "(1,45) foster-parenting-start-tag",
70547 "(1,50) foster-parenting-character",
70548 "(1,51) foster-parenting-character",
70549 "(1,52) foster-parenting-character",
70550 "(1,62) foster-parenting-character",
70551 "(1,63) foster-parenting-character",
70552 "(1,64) foster-parenting-character"
70553 ],
70554 "document": {
70555 "props": {
70556 "tags": {
70557 "html": true,
70558 "head": true,
70559 "body": true,
70560 "math math": true,
70561 "math mi": true,
70562 "table": true,
70563 "tbody": true,
70564 "tr": true
70565 },
70566 "doctype": true
70567 },
70568 "tree": [
70569 {
70570 "doctype": "html"
70571 },
70572 {
70573 "tag": "html",
70574 "children": [
70575 {
70576 "tag": "head"
70577 },
70578 {
70579 "tag": "body",
70580 "children": [
70581 {
70582 "tag": "math",
70583 "ns": "http://www.w3.org/1998/Math/MathML",
70584 "children": [
70585 {
70586 "tag": "mi",
70587 "ns": "http://www.w3.org/1998/Math/MathML",
70588 "children": [
70589 {
70590 "text": "foo"
70591 }
70592 ]
70593 },
70594 {
70595 "tag": "mi",
70596 "ns": "http://www.w3.org/1998/Math/MathML",
70597 "children": [
70598 {
70599 "text": "bar"
70600 }
70601 ]
70602 }
70603 ]
70604 },
70605 {
70606 "tag": "table",
70607 "children": [
70608 {
70609 "tag": "tbody",
70610 "children": [
70611 {
70612 "tag": "tr"
70613 }
70614 ]
70615 }
70616 ]
70617 }
70618 ]
70619 }
70620 ]
70621 }
70622 ],
70623 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><table><tbody><tr></tr></tbody></table></body></html>",
70624 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi></math><table><tbody><tr></tr></tbody></table>"
70625 }
70626 },
70627 {
70628 "data": "<!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>",
70629 "errors": [],
70630 "document": {
70631 "props": {
70632 "tags": {
70633 "html": true,
70634 "head": true,
70635 "body": true,
70636 "table": true,
70637 "tbody": true,
70638 "tr": true,
70639 "td": true,
70640 "math math": true,
70641 "math mi": true
70642 },
70643 "doctype": true
70644 },
70645 "tree": [
70646 {
70647 "doctype": "html"
70648 },
70649 {
70650 "tag": "html",
70651 "children": [
70652 {
70653 "tag": "head"
70654 },
70655 {
70656 "tag": "body",
70657 "children": [
70658 {
70659 "tag": "table",
70660 "children": [
70661 {
70662 "tag": "tbody",
70663 "children": [
70664 {
70665 "tag": "tr",
70666 "children": [
70667 {
70668 "tag": "td",
70669 "children": [
70670 {
70671 "tag": "math",
70672 "ns": "http://www.w3.org/1998/Math/MathML",
70673 "children": [
70674 {
70675 "tag": "mi",
70676 "ns": "http://www.w3.org/1998/Math/MathML",
70677 "children": [
70678 {
70679 "text": "foo"
70680 }
70681 ]
70682 },
70683 {
70684 "tag": "mi",
70685 "ns": "http://www.w3.org/1998/Math/MathML",
70686 "children": [
70687 {
70688 "text": "bar"
70689 }
70690 ]
70691 }
70692 ]
70693 }
70694 ]
70695 }
70696 ]
70697 }
70698 ]
70699 }
70700 ]
70701 }
70702 ]
70703 }
70704 ]
70705 }
70706 ],
70707 "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>",
70708 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>"
70709 }
70710 },
70711 {
70712 "data": "<!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>",
70713 "errors": [],
70714 "document": {
70715 "props": {
70716 "tags": {
70717 "html": true,
70718 "head": true,
70719 "body": true,
70720 "table": true,
70721 "tbody": true,
70722 "tr": true,
70723 "td": true,
70724 "math math": true,
70725 "math mi": true,
70726 "p": true
70727 },
70728 "doctype": true
70729 },
70730 "tree": [
70731 {
70732 "doctype": "html"
70733 },
70734 {
70735 "tag": "html",
70736 "children": [
70737 {
70738 "tag": "head"
70739 },
70740 {
70741 "tag": "body",
70742 "children": [
70743 {
70744 "tag": "table",
70745 "children": [
70746 {
70747 "tag": "tbody",
70748 "children": [
70749 {
70750 "tag": "tr",
70751 "children": [
70752 {
70753 "tag": "td",
70754 "children": [
70755 {
70756 "tag": "math",
70757 "ns": "http://www.w3.org/1998/Math/MathML",
70758 "children": [
70759 {
70760 "tag": "mi",
70761 "ns": "http://www.w3.org/1998/Math/MathML",
70762 "children": [
70763 {
70764 "text": "foo"
70765 }
70766 ]
70767 },
70768 {
70769 "tag": "mi",
70770 "ns": "http://www.w3.org/1998/Math/MathML",
70771 "children": [
70772 {
70773 "text": "bar"
70774 }
70775 ]
70776 }
70777 ]
70778 },
70779 {
70780 "tag": "p",
70781 "children": [
70782 {
70783 "text": "baz"
70784 }
70785 ]
70786 }
70787 ]
70788 }
70789 ]
70790 }
70791 ]
70792 }
70793 ]
70794 }
70795 ]
70796 }
70797 ]
70798 }
70799 ],
70800 "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>",
70801 "noQuirksBodyHtml": "<table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></td></tr></tbody></table>"
70802 }
70803 },
70804 {
70805 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>",
70806 "errors": [],
70807 "document": {
70808 "props": {
70809 "tags": {
70810 "html": true,
70811 "head": true,
70812 "body": true,
70813 "table": true,
70814 "caption": true,
70815 "math math": true,
70816 "math mi": true,
70817 "p": true
70818 },
70819 "doctype": true
70820 },
70821 "tree": [
70822 {
70823 "doctype": "html"
70824 },
70825 {
70826 "tag": "html",
70827 "children": [
70828 {
70829 "tag": "head"
70830 },
70831 {
70832 "tag": "body",
70833 "children": [
70834 {
70835 "tag": "table",
70836 "children": [
70837 {
70838 "tag": "caption",
70839 "children": [
70840 {
70841 "tag": "math",
70842 "ns": "http://www.w3.org/1998/Math/MathML",
70843 "children": [
70844 {
70845 "tag": "mi",
70846 "ns": "http://www.w3.org/1998/Math/MathML",
70847 "children": [
70848 {
70849 "text": "foo"
70850 }
70851 ]
70852 },
70853 {
70854 "tag": "mi",
70855 "ns": "http://www.w3.org/1998/Math/MathML",
70856 "children": [
70857 {
70858 "text": "bar"
70859 }
70860 ]
70861 }
70862 ]
70863 },
70864 {
70865 "tag": "p",
70866 "children": [
70867 {
70868 "text": "baz"
70869 }
70870 ]
70871 }
70872 ]
70873 }
70874 ]
70875 }
70876 ]
70877 }
70878 ]
70879 }
70880 ],
70881 "html": "<!DOCTYPE html><html><head></head><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></caption></table></body></html>",
70882 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></caption></table>"
70883 }
70884 },
70885 {
70886 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
70887 "errors": [
70888 "(1,70) unexpected-html-element-in-foreign-content"
70889 ],
70890 "document": {
70891 "props": {
70892 "tags": {
70893 "html": true,
70894 "head": true,
70895 "body": true,
70896 "table": true,
70897 "caption": true,
70898 "math math": true,
70899 "math mi": true,
70900 "p": true
70901 },
70902 "doctype": true
70903 },
70904 "tree": [
70905 {
70906 "doctype": "html"
70907 },
70908 {
70909 "tag": "html",
70910 "children": [
70911 {
70912 "tag": "head"
70913 },
70914 {
70915 "tag": "body",
70916 "children": [
70917 {
70918 "tag": "table",
70919 "children": [
70920 {
70921 "tag": "caption",
70922 "children": [
70923 {
70924 "tag": "math",
70925 "ns": "http://www.w3.org/1998/Math/MathML",
70926 "children": [
70927 {
70928 "tag": "mi",
70929 "ns": "http://www.w3.org/1998/Math/MathML",
70930 "children": [
70931 {
70932 "text": "foo"
70933 }
70934 ]
70935 },
70936 {
70937 "tag": "mi",
70938 "ns": "http://www.w3.org/1998/Math/MathML",
70939 "children": [
70940 {
70941 "text": "bar"
70942 }
70943 ]
70944 }
70945 ]
70946 },
70947 {
70948 "tag": "p",
70949 "children": [
70950 {
70951 "text": "baz"
70952 }
70953 ]
70954 }
70955 ]
70956 }
70957 ]
70958 },
70959 {
70960 "tag": "p",
70961 "children": [
70962 {
70963 "text": "quux"
70964 }
70965 ]
70966 }
70967 ]
70968 }
70969 ]
70970 }
70971 ],
70972 "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>",
70973 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</p></math></caption></table><p>quux</p>"
70974 }
70975 },
70976 {
70977 "data": "<!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux",
70978 "errors": [
70979 "(1,78) unexpected-end-tag",
70980 "(1,78) expected-one-end-tag-but-got-another"
70981 ],
70982 "document": {
70983 "props": {
70984 "tags": {
70985 "html": true,
70986 "head": true,
70987 "body": true,
70988 "table": true,
70989 "caption": true,
70990 "math math": true,
70991 "math mi": true,
70992 "p": true
70993 },
70994 "doctype": true
70995 },
70996 "tree": [
70997 {
70998 "doctype": "html"
70999 },
71000 {
71001 "tag": "html",
71002 "children": [
71003 {
71004 "tag": "head"
71005 },
71006 {
71007 "tag": "body",
71008 "children": [
71009 {
71010 "tag": "table",
71011 "children": [
71012 {
71013 "tag": "caption",
71014 "children": [
71015 {
71016 "tag": "math",
71017 "ns": "http://www.w3.org/1998/Math/MathML",
71018 "children": [
71019 {
71020 "tag": "mi",
71021 "ns": "http://www.w3.org/1998/Math/MathML",
71022 "children": [
71023 {
71024 "text": "foo"
71025 }
71026 ]
71027 },
71028 {
71029 "tag": "mi",
71030 "ns": "http://www.w3.org/1998/Math/MathML",
71031 "children": [
71032 {
71033 "text": "bar"
71034 }
71035 ]
71036 },
71037 {
71038 "text": "baz"
71039 }
71040 ]
71041 }
71042 ]
71043 }
71044 ]
71045 },
71046 {
71047 "tag": "p",
71048 "children": [
71049 {
71050 "text": "quux"
71051 }
71052 ]
71053 }
71054 ]
71055 }
71056 ]
71057 }
71058 ],
71059 "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>",
71060 "noQuirksBodyHtml": "<table><caption><math><mi>foo</mi><mi>bar</mi>baz</math></caption></table><p>quux</p>"
71061 }
71062 },
71063 {
71064 "data": "<!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
71065 "errors": [
71066 "(1,44) foster-parenting-start-tag",
71067 "(1,49) foster-parenting-character",
71068 "(1,50) foster-parenting-character",
71069 "(1,51) foster-parenting-character",
71070 "(1,61) foster-parenting-character",
71071 "(1,62) foster-parenting-character",
71072 "(1,63) foster-parenting-character",
71073 "(1,71) unexpected-html-element-in-foreign-content",
71074 "(1,71) foster-parenting-start-tag",
71075 "(1,63) foster-parenting-character",
71076 "(1,63) foster-parenting-character",
71077 "(1,63) foster-parenting-character"
71078 ],
71079 "document": {
71080 "props": {
71081 "tags": {
71082 "html": true,
71083 "head": true,
71084 "body": true,
71085 "math math": true,
71086 "math mi": true,
71087 "p": true,
71088 "table": true,
71089 "colgroup": true
71090 },
71091 "doctype": true
71092 },
71093 "tree": [
71094 {
71095 "doctype": "html"
71096 },
71097 {
71098 "tag": "html",
71099 "children": [
71100 {
71101 "tag": "head"
71102 },
71103 {
71104 "tag": "body",
71105 "children": [
71106 {
71107 "tag": "math",
71108 "ns": "http://www.w3.org/1998/Math/MathML",
71109 "children": [
71110 {
71111 "tag": "mi",
71112 "ns": "http://www.w3.org/1998/Math/MathML",
71113 "children": [
71114 {
71115 "text": "foo"
71116 }
71117 ]
71118 },
71119 {
71120 "tag": "mi",
71121 "ns": "http://www.w3.org/1998/Math/MathML",
71122 "children": [
71123 {
71124 "text": "bar"
71125 }
71126 ]
71127 }
71128 ]
71129 },
71130 {
71131 "tag": "p",
71132 "children": [
71133 {
71134 "text": "baz"
71135 }
71136 ]
71137 },
71138 {
71139 "tag": "table",
71140 "children": [
71141 {
71142 "tag": "colgroup"
71143 }
71144 ]
71145 },
71146 {
71147 "tag": "p",
71148 "children": [
71149 {
71150 "text": "quux"
71151 }
71152 ]
71153 }
71154 ]
71155 }
71156 ]
71157 }
71158 ],
71159 "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>",
71160 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math><table><colgroup></colgroup></table><p>quux</p>"
71161 }
71162 },
71163 {
71164 "data": "<!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
71165 "errors": [
71166 "(1,50) unexpected-start-tag-in-select",
71167 "(1,54) unexpected-start-tag-in-select",
71168 "(1,62) unexpected-end-tag-in-select",
71169 "(1,66) unexpected-start-tag-in-select",
71170 "(1,74) unexpected-end-tag-in-select",
71171 "(1,77) unexpected-start-tag-in-select",
71172 "(1,88) unexpected-table-element-end-tag-in-select-in-table"
71173 ],
71174 "document": {
71175 "props": {
71176 "tags": {
71177 "html": true,
71178 "head": true,
71179 "body": true,
71180 "table": true,
71181 "tbody": true,
71182 "tr": true,
71183 "td": true,
71184 "select": true,
71185 "p": true
71186 },
71187 "doctype": true
71188 },
71189 "tree": [
71190 {
71191 "doctype": "html"
71192 },
71193 {
71194 "tag": "html",
71195 "children": [
71196 {
71197 "tag": "head"
71198 },
71199 {
71200 "tag": "body",
71201 "children": [
71202 {
71203 "tag": "table",
71204 "children": [
71205 {
71206 "tag": "tbody",
71207 "children": [
71208 {
71209 "tag": "tr",
71210 "children": [
71211 {
71212 "tag": "td",
71213 "children": [
71214 {
71215 "tag": "select",
71216 "children": [
71217 {
71218 "text": "foobarbaz"
71219 }
71220 ]
71221 }
71222 ]
71223 }
71224 ]
71225 }
71226 ]
71227 }
71228 ]
71229 },
71230 {
71231 "tag": "p",
71232 "children": [
71233 {
71234 "text": "quux"
71235 }
71236 ]
71237 }
71238 ]
71239 }
71240 ]
71241 }
71242 ],
71243 "html": "<!DOCTYPE html><html><head></head><body><table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p></body></html>",
71244 "noQuirksBodyHtml": "<table><tbody><tr><td><select>foobarbaz</select></td></tr></tbody></table><p>quux</p>"
71245 }
71246 },
71247 {
71248 "data": "<!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux",
71249 "errors": [
71250 "(1,36) unexpected-start-tag-implies-table-voodoo",
71251 "(1,42) unexpected-start-tag-in-select",
71252 "(1,46) unexpected-start-tag-in-select",
71253 "(1,54) unexpected-end-tag-in-select",
71254 "(1,58) unexpected-start-tag-in-select",
71255 "(1,66) unexpected-end-tag-in-select",
71256 "(1,69) unexpected-start-tag-in-select",
71257 "(1,80) unexpected-table-element-end-tag-in-select-in-table"
71258 ],
71259 "document": {
71260 "props": {
71261 "tags": {
71262 "html": true,
71263 "head": true,
71264 "body": true,
71265 "select": true,
71266 "table": true,
71267 "p": true
71268 },
71269 "doctype": true
71270 },
71271 "tree": [
71272 {
71273 "doctype": "html"
71274 },
71275 {
71276 "tag": "html",
71277 "children": [
71278 {
71279 "tag": "head"
71280 },
71281 {
71282 "tag": "body",
71283 "children": [
71284 {
71285 "tag": "select",
71286 "children": [
71287 {
71288 "text": "foobarbaz"
71289 }
71290 ]
71291 },
71292 {
71293 "tag": "table"
71294 },
71295 {
71296 "tag": "p",
71297 "children": [
71298 {
71299 "text": "quux"
71300 }
71301 ]
71302 }
71303 ]
71304 }
71305 ]
71306 }
71307 ],
71308 "html": "<!DOCTYPE html><html><head></head><body><select>foobarbaz</select><table></table><p>quux</p></body></html>",
71309 "noQuirksBodyHtml": "<select>foobarbaz</select><table></table><p>quux</p>"
71310 }
71311 },
71312 {
71313 "data": "<!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz",
71314 "errors": [
71315 "(1,41) expected-eof-but-got-start-tag",
71316 "(1,68) unexpected-html-element-in-foreign-content"
71317 ],
71318 "document": {
71319 "props": {
71320 "tags": {
71321 "html": true,
71322 "head": true,
71323 "body": true,
71324 "math math": true,
71325 "math mi": true,
71326 "p": true
71327 },
71328 "doctype": true
71329 },
71330 "tree": [
71331 {
71332 "doctype": "html"
71333 },
71334 {
71335 "tag": "html",
71336 "children": [
71337 {
71338 "tag": "head"
71339 },
71340 {
71341 "tag": "body",
71342 "children": [
71343 {
71344 "tag": "math",
71345 "ns": "http://www.w3.org/1998/Math/MathML",
71346 "children": [
71347 {
71348 "tag": "mi",
71349 "ns": "http://www.w3.org/1998/Math/MathML",
71350 "children": [
71351 {
71352 "text": "foo"
71353 }
71354 ]
71355 },
71356 {
71357 "tag": "mi",
71358 "ns": "http://www.w3.org/1998/Math/MathML",
71359 "children": [
71360 {
71361 "text": "bar"
71362 }
71363 ]
71364 }
71365 ]
71366 },
71367 {
71368 "tag": "p",
71369 "children": [
71370 {
71371 "text": "baz"
71372 }
71373 ]
71374 }
71375 ]
71376 }
71377 ]
71378 }
71379 ],
71380 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></body></html>",
71381 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math>"
71382 }
71383 },
71384 {
71385 "data": "<!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz",
71386 "errors": [
71387 "(1,34) unexpected-start-tag-after-body",
71388 "(1,61) unexpected-html-element-in-foreign-content"
71389 ],
71390 "document": {
71391 "props": {
71392 "tags": {
71393 "html": true,
71394 "head": true,
71395 "body": true,
71396 "math math": true,
71397 "math mi": true,
71398 "p": true
71399 },
71400 "doctype": true
71401 },
71402 "tree": [
71403 {
71404 "doctype": "html"
71405 },
71406 {
71407 "tag": "html",
71408 "children": [
71409 {
71410 "tag": "head"
71411 },
71412 {
71413 "tag": "body",
71414 "children": [
71415 {
71416 "tag": "math",
71417 "ns": "http://www.w3.org/1998/Math/MathML",
71418 "children": [
71419 {
71420 "tag": "mi",
71421 "ns": "http://www.w3.org/1998/Math/MathML",
71422 "children": [
71423 {
71424 "text": "foo"
71425 }
71426 ]
71427 },
71428 {
71429 "tag": "mi",
71430 "ns": "http://www.w3.org/1998/Math/MathML",
71431 "children": [
71432 {
71433 "text": "bar"
71434 }
71435 ]
71436 }
71437 ]
71438 },
71439 {
71440 "tag": "p",
71441 "children": [
71442 {
71443 "text": "baz"
71444 }
71445 ]
71446 }
71447 ]
71448 }
71449 ]
71450 }
71451 ],
71452 "html": "<!DOCTYPE html><html><head></head><body><math><mi>foo</mi><mi>bar</mi></math><p>baz</p></body></html>",
71453 "noQuirksBodyHtml": "<math><mi>foo</mi><mi>bar</mi><p>baz</p></math>"
71454 }
71455 },
71456 {
71457 "data": "<!DOCTYPE html><frameset><math><mi></mi><mi></mi><p><span>",
71458 "errors": [
71459 "(1,31) unexpected-start-tag-in-frameset",
71460 "(1,35) unexpected-start-tag-in-frameset",
71461 "(1,40) unexpected-end-tag-in-frameset",
71462 "(1,44) unexpected-start-tag-in-frameset",
71463 "(1,49) unexpected-end-tag-in-frameset",
71464 "(1,52) unexpected-start-tag-in-frameset",
71465 "(1,58) unexpected-start-tag-in-frameset",
71466 "(1,58) eof-in-frameset"
71467 ],
71468 "document": {
71469 "props": {
71470 "tags": {
71471 "html": true,
71472 "head": true,
71473 "frameset": true
71474 },
71475 "doctype": true
71476 },
71477 "tree": [
71478 {
71479 "doctype": "html"
71480 },
71481 {
71482 "tag": "html",
71483 "children": [
71484 {
71485 "tag": "head"
71486 },
71487 {
71488 "tag": "frameset"
71489 }
71490 ]
71491 }
71492 ],
71493 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
71494 "noQuirksBodyHtml": "<math><mi></mi><mi></mi><p><span></span></p></math>"
71495 }
71496 },
71497 {
71498 "data": "<!DOCTYPE html><frameset></frameset><math><mi></mi><mi></mi><p><span>",
71499 "errors": [
71500 "(1,42) unexpected-start-tag-after-frameset",
71501 "(1,46) unexpected-start-tag-after-frameset",
71502 "(1,51) unexpected-end-tag-after-frameset",
71503 "(1,55) unexpected-start-tag-after-frameset",
71504 "(1,60) unexpected-end-tag-after-frameset",
71505 "(1,63) unexpected-start-tag-after-frameset",
71506 "(1,69) unexpected-start-tag-after-frameset"
71507 ],
71508 "document": {
71509 "props": {
71510 "tags": {
71511 "html": true,
71512 "head": true,
71513 "frameset": true
71514 },
71515 "doctype": true
71516 },
71517 "tree": [
71518 {
71519 "doctype": "html"
71520 },
71521 {
71522 "tag": "html",
71523 "children": [
71524 {
71525 "tag": "head"
71526 },
71527 {
71528 "tag": "frameset"
71529 }
71530 ]
71531 }
71532 ],
71533 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
71534 "noQuirksBodyHtml": "<math><mi></mi><mi></mi><p><span></span></p></math>"
71535 }
71536 },
71537 {
71538 "data": "<!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>",
71539 "errors": [],
71540 "document": {
71541 "props": {
71542 "tags": {
71543 "html": true,
71544 "head": true,
71545 "body": true,
71546 "math math": true
71547 },
71548 "doctype": true
71549 },
71550 "tree": [
71551 {
71552 "doctype": "html"
71553 },
71554 {
71555 "tag": "html",
71556 "children": [
71557 {
71558 "tag": "head"
71559 },
71560 {
71561 "tag": "body",
71562 "attrs": [
71563 {
71564 "name": "xlink:href",
71565 "value": "foo"
71566 }
71567 ],
71568 "children": [
71569 {
71570 "tag": "math",
71571 "ns": "http://www.w3.org/1998/Math/MathML",
71572 "attrs": [
71573 {
71574 "name": "href",
71575 "ns": "http://www.w3.org/1999/xlink",
71576 "value": "foo"
71577 }
71578 ]
71579 }
71580 ]
71581 }
71582 ]
71583 }
71584 ],
71585 "html": "<!DOCTYPE html><html><head></head><body xlink:href=\"foo\"><math xlink:href=\"foo\"></math></body></html>",
71586 "noQuirksBodyHtml": "<math xlink:href=\"foo\"></math>"
71587 }
71588 },
71589 {
71590 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>",
71591 "errors": [],
71592 "document": {
71593 "props": {
71594 "tags": {
71595 "html": true,
71596 "head": true,
71597 "body": true,
71598 "math math": true,
71599 "math mi": true
71600 },
71601 "doctype": true
71602 },
71603 "tree": [
71604 {
71605 "doctype": "html"
71606 },
71607 {
71608 "tag": "html",
71609 "children": [
71610 {
71611 "tag": "head"
71612 },
71613 {
71614 "tag": "body",
71615 "attrs": [
71616 {
71617 "name": "xlink:href",
71618 "value": "foo"
71619 },
71620 {
71621 "name": "xml:lang",
71622 "value": "en"
71623 }
71624 ],
71625 "children": [
71626 {
71627 "tag": "math",
71628 "ns": "http://www.w3.org/1998/Math/MathML",
71629 "children": [
71630 {
71631 "tag": "mi",
71632 "ns": "http://www.w3.org/1998/Math/MathML",
71633 "attrs": [
71634 {
71635 "name": "href",
71636 "ns": "http://www.w3.org/1999/xlink",
71637 "value": "foo"
71638 },
71639 {
71640 "name": "lang",
71641 "ns": "http://www.w3.org/XML/1998/namespace",
71642 "value": "en"
71643 }
71644 ]
71645 }
71646 ]
71647 }
71648 ]
71649 }
71650 ]
71651 }
71652 ],
71653 "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>",
71654 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math>"
71655 }
71656 },
71657 {
71658 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>",
71659 "errors": [],
71660 "document": {
71661 "props": {
71662 "tags": {
71663 "html": true,
71664 "head": true,
71665 "body": true,
71666 "math math": true,
71667 "math mi": true
71668 },
71669 "doctype": true
71670 },
71671 "tree": [
71672 {
71673 "doctype": "html"
71674 },
71675 {
71676 "tag": "html",
71677 "children": [
71678 {
71679 "tag": "head"
71680 },
71681 {
71682 "tag": "body",
71683 "attrs": [
71684 {
71685 "name": "xlink:href",
71686 "value": "foo"
71687 },
71688 {
71689 "name": "xml:lang",
71690 "value": "en"
71691 }
71692 ],
71693 "children": [
71694 {
71695 "tag": "math",
71696 "ns": "http://www.w3.org/1998/Math/MathML",
71697 "children": [
71698 {
71699 "tag": "mi",
71700 "ns": "http://www.w3.org/1998/Math/MathML",
71701 "attrs": [
71702 {
71703 "name": "href",
71704 "ns": "http://www.w3.org/1999/xlink",
71705 "value": "foo"
71706 },
71707 {
71708 "name": "lang",
71709 "ns": "http://www.w3.org/XML/1998/namespace",
71710 "value": "en"
71711 }
71712 ]
71713 }
71714 ]
71715 }
71716 ]
71717 }
71718 ]
71719 }
71720 ],
71721 "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>",
71722 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi></math>"
71723 }
71724 },
71725 {
71726 "data": "<!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>",
71727 "errors": [],
71728 "document": {
71729 "props": {
71730 "tags": {
71731 "html": true,
71732 "head": true,
71733 "body": true,
71734 "math math": true,
71735 "math mi": true
71736 },
71737 "doctype": true
71738 },
71739 "tree": [
71740 {
71741 "doctype": "html"
71742 },
71743 {
71744 "tag": "html",
71745 "children": [
71746 {
71747 "tag": "head"
71748 },
71749 {
71750 "tag": "body",
71751 "attrs": [
71752 {
71753 "name": "xlink:href",
71754 "value": "foo"
71755 },
71756 {
71757 "name": "xml:lang",
71758 "value": "en"
71759 }
71760 ],
71761 "children": [
71762 {
71763 "tag": "math",
71764 "ns": "http://www.w3.org/1998/Math/MathML",
71765 "children": [
71766 {
71767 "tag": "mi",
71768 "ns": "http://www.w3.org/1998/Math/MathML",
71769 "attrs": [
71770 {
71771 "name": "href",
71772 "ns": "http://www.w3.org/1999/xlink",
71773 "value": "foo"
71774 },
71775 {
71776 "name": "lang",
71777 "ns": "http://www.w3.org/XML/1998/namespace",
71778 "value": "en"
71779 }
71780 ]
71781 },
71782 {
71783 "text": "bar"
71784 }
71785 ]
71786 }
71787 ]
71788 }
71789 ]
71790 }
71791 ],
71792 "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>",
71793 "noQuirksBodyHtml": "<math><mi xml:lang=\"en\" xlink:href=\"foo\"></mi>bar</math>"
71794 }
71795 }
71796 ],
71797 "tests_innerHTML_1.dat": [
71798 {
71799 "data": "<body><span>",
71800 "errors": [
71801 "(1,6): unexpected-start-tag",
71802 "(1,12): expected-closing-tag-but-got-eof"
71803 ],
71804 "fragment": {
71805 "name": "body"
71806 },
71807 "document": {
71808 "props": {
71809 "tags": {
71810 "span": true
71811 }
71812 },
71813 "tree": [
71814 {
71815 "tag": "span"
71816 }
71817 ],
71818 "html": "<span></span>",
71819 "noQuirksBodyHtml": "<span></span>"
71820 }
71821 },
71822 {
71823 "data": "<span><body>",
71824 "errors": [
71825 "(1,12): unexpected-start-tag",
71826 "(1,12): expected-closing-tag-but-got-eof"
71827 ],
71828 "fragment": {
71829 "name": "body"
71830 },
71831 "document": {
71832 "props": {
71833 "tags": {
71834 "span": true
71835 }
71836 },
71837 "tree": [
71838 {
71839 "tag": "span"
71840 }
71841 ],
71842 "html": "<span></span>",
71843 "noQuirksBodyHtml": "<span></span>"
71844 }
71845 },
71846 {
71847 "data": "<span><body>",
71848 "errors": [
71849 "(1,12): unexpected-start-tag",
71850 "(1,12): expected-closing-tag-but-got-eof"
71851 ],
71852 "fragment": {
71853 "name": "div"
71854 },
71855 "document": {
71856 "props": {
71857 "tags": {
71858 "span": true
71859 }
71860 },
71861 "tree": [
71862 {
71863 "tag": "span"
71864 }
71865 ],
71866 "html": "<span></span>",
71867 "noQuirksBodyHtml": "<span></span>"
71868 }
71869 },
71870 {
71871 "data": "<body><span>",
71872 "errors": [
71873 "(1,12): expected-closing-tag-but-got-eof"
71874 ],
71875 "fragment": {
71876 "name": "html"
71877 },
71878 "document": {
71879 "props": {
71880 "tags": {
71881 "head": true,
71882 "body": true,
71883 "span": true
71884 }
71885 },
71886 "tree": [
71887 {
71888 "tag": "head"
71889 },
71890 {
71891 "tag": "body",
71892 "children": [
71893 {
71894 "tag": "span"
71895 }
71896 ]
71897 }
71898 ],
71899 "html": "<head></head><body><span></span></body>",
71900 "noQuirksBodyHtml": "<span></span>"
71901 }
71902 },
71903 {
71904 "data": "<frameset><span>",
71905 "errors": [
71906 "(1,10): unexpected-start-tag",
71907 "(1,16): expected-closing-tag-but-got-eof"
71908 ],
71909 "fragment": {
71910 "name": "body"
71911 },
71912 "document": {
71913 "props": {
71914 "tags": {
71915 "span": true
71916 }
71917 },
71918 "tree": [
71919 {
71920 "tag": "span"
71921 }
71922 ],
71923 "html": "<span></span>",
71924 "noQuirksBodyHtml": "<span></span>"
71925 }
71926 },
71927 {
71928 "data": "<span><frameset>",
71929 "errors": [
71930 "(1,16): unexpected-start-tag",
71931 "(1,16): expected-closing-tag-but-got-eof"
71932 ],
71933 "fragment": {
71934 "name": "body"
71935 },
71936 "document": {
71937 "props": {
71938 "tags": {
71939 "span": true
71940 }
71941 },
71942 "tree": [
71943 {
71944 "tag": "span"
71945 }
71946 ],
71947 "html": "<span></span>",
71948 "noQuirksBodyHtml": "<span></span>"
71949 }
71950 },
71951 {
71952 "data": "<span><frameset>",
71953 "errors": [
71954 "(1,16): unexpected-start-tag",
71955 "(1,16): expected-closing-tag-but-got-eof"
71956 ],
71957 "fragment": {
71958 "name": "div"
71959 },
71960 "document": {
71961 "props": {
71962 "tags": {
71963 "span": true
71964 }
71965 },
71966 "tree": [
71967 {
71968 "tag": "span"
71969 }
71970 ],
71971 "html": "<span></span>",
71972 "noQuirksBodyHtml": "<span></span>"
71973 }
71974 },
71975 {
71976 "data": "<frameset><span>",
71977 "errors": [
71978 "(1,16): unexpected-start-tag-in-frameset",
71979 "(1,16): eof-in-frameset"
71980 ],
71981 "fragment": {
71982 "name": "html"
71983 },
71984 "document": {
71985 "props": {
71986 "tags": {
71987 "head": true,
71988 "frameset": true
71989 }
71990 },
71991 "tree": [
71992 {
71993 "tag": "head"
71994 },
71995 {
71996 "tag": "frameset"
71997 }
71998 ],
71999 "html": "<head></head><frameset></frameset>",
72000 "noQuirksBodyHtml": "<span></span>"
72001 }
72002 },
72003 {
72004 "data": "<table><tr>",
72005 "errors": [
72006 "(1,7): unexpected-start-tag"
72007 ],
72008 "fragment": {
72009 "name": "table"
72010 },
72011 "document": {
72012 "props": {
72013 "tags": {
72014 "tbody": true,
72015 "tr": true
72016 }
72017 },
72018 "tree": [
72019 {
72020 "tag": "tbody",
72021 "children": [
72022 {
72023 "tag": "tr"
72024 }
72025 ]
72026 }
72027 ],
72028 "html": "<tbody><tr></tr></tbody>",
72029 "noQuirksBodyHtml": "<table><tbody><tr></tr></tbody></table>"
72030 }
72031 },
72032 {
72033 "data": "</table><tr>",
72034 "errors": [
72035 "(1,8): unexpected-end-tag"
72036 ],
72037 "fragment": {
72038 "name": "table"
72039 },
72040 "document": {
72041 "props": {
72042 "tags": {
72043 "tbody": true,
72044 "tr": true
72045 }
72046 },
72047 "tree": [
72048 {
72049 "tag": "tbody",
72050 "children": [
72051 {
72052 "tag": "tr"
72053 }
72054 ]
72055 }
72056 ],
72057 "html": "<tbody><tr></tr></tbody>",
72058 "noQuirksBodyHtml": ""
72059 }
72060 },
72061 {
72062 "data": "<a>",
72063 "errors": [
72064 "(1,3): unexpected-start-tag-implies-table-voodoo",
72065 "(1,3): eof-in-table"
72066 ],
72067 "fragment": {
72068 "name": "table"
72069 },
72070 "document": {
72071 "props": {
72072 "tags": {
72073 "a": true
72074 }
72075 },
72076 "tree": [
72077 {
72078 "tag": "a"
72079 }
72080 ],
72081 "html": "<a></a>",
72082 "noQuirksBodyHtml": "<a></a>"
72083 }
72084 },
72085 {
72086 "data": "<a>",
72087 "errors": [
72088 "(1,3): unexpected-start-tag-implies-table-voodoo",
72089 "(1,3): eof-in-table"
72090 ],
72091 "fragment": {
72092 "name": "table"
72093 },
72094 "document": {
72095 "props": {
72096 "tags": {
72097 "a": true
72098 }
72099 },
72100 "tree": [
72101 {
72102 "tag": "a"
72103 }
72104 ],
72105 "html": "<a></a>",
72106 "noQuirksBodyHtml": "<a></a>"
72107 }
72108 },
72109 {
72110 "data": "<a><caption>a",
72111 "errors": [
72112 "(1,3): unexpected-start-tag-implies-table-voodoo",
72113 "(1,13): expected-closing-tag-but-got-eof"
72114 ],
72115 "fragment": {
72116 "name": "table"
72117 },
72118 "document": {
72119 "props": {
72120 "tags": {
72121 "a": true,
72122 "caption": true
72123 }
72124 },
72125 "tree": [
72126 {
72127 "tag": "a"
72128 },
72129 {
72130 "tag": "caption",
72131 "children": [
72132 {
72133 "text": "a"
72134 }
72135 ]
72136 }
72137 ],
72138 "html": "<a></a><caption>a</caption>",
72139 "noQuirksBodyHtml": "<a>a</a>"
72140 }
72141 },
72142 {
72143 "data": "<a><colgroup><col>",
72144 "errors": [
72145 "(1,3): foster-parenting-start-token",
72146 "(1,18): expected-closing-tag-but-got-eof"
72147 ],
72148 "fragment": {
72149 "name": "table"
72150 },
72151 "document": {
72152 "props": {
72153 "tags": {
72154 "a": true,
72155 "colgroup": true,
72156 "col": true
72157 }
72158 },
72159 "tree": [
72160 {
72161 "tag": "a"
72162 },
72163 {
72164 "tag": "colgroup",
72165 "children": [
72166 {
72167 "tag": "col"
72168 }
72169 ]
72170 }
72171 ],
72172 "html": "<a></a><colgroup><col></colgroup>",
72173 "noQuirksBodyHtml": "<a></a>"
72174 }
72175 },
72176 {
72177 "data": "<a><tbody><tr>",
72178 "errors": [
72179 "(1,3): foster-parenting-start-tag"
72180 ],
72181 "fragment": {
72182 "name": "table"
72183 },
72184 "document": {
72185 "props": {
72186 "tags": {
72187 "a": true,
72188 "tbody": true,
72189 "tr": true
72190 }
72191 },
72192 "tree": [
72193 {
72194 "tag": "a"
72195 },
72196 {
72197 "tag": "tbody",
72198 "children": [
72199 {
72200 "tag": "tr"
72201 }
72202 ]
72203 }
72204 ],
72205 "html": "<a></a><tbody><tr></tr></tbody>",
72206 "noQuirksBodyHtml": "<a></a>"
72207 }
72208 },
72209 {
72210 "data": "<a><tfoot><tr>",
72211 "errors": [
72212 "(1,3): foster-parenting-start-tag"
72213 ],
72214 "fragment": {
72215 "name": "table"
72216 },
72217 "document": {
72218 "props": {
72219 "tags": {
72220 "a": true,
72221 "tfoot": true,
72222 "tr": true
72223 }
72224 },
72225 "tree": [
72226 {
72227 "tag": "a"
72228 },
72229 {
72230 "tag": "tfoot",
72231 "children": [
72232 {
72233 "tag": "tr"
72234 }
72235 ]
72236 }
72237 ],
72238 "html": "<a></a><tfoot><tr></tr></tfoot>",
72239 "noQuirksBodyHtml": "<a></a>"
72240 }
72241 },
72242 {
72243 "data": "<a><thead><tr>",
72244 "errors": [
72245 "(1,3): foster-parenting-start-tag"
72246 ],
72247 "fragment": {
72248 "name": "table"
72249 },
72250 "document": {
72251 "props": {
72252 "tags": {
72253 "a": true,
72254 "thead": true,
72255 "tr": true
72256 }
72257 },
72258 "tree": [
72259 {
72260 "tag": "a"
72261 },
72262 {
72263 "tag": "thead",
72264 "children": [
72265 {
72266 "tag": "tr"
72267 }
72268 ]
72269 }
72270 ],
72271 "html": "<a></a><thead><tr></tr></thead>",
72272 "noQuirksBodyHtml": "<a></a>"
72273 }
72274 },
72275 {
72276 "data": "<a><tr>",
72277 "errors": [
72278 "(1,3): foster-parenting-start-tag"
72279 ],
72280 "fragment": {
72281 "name": "table"
72282 },
72283 "document": {
72284 "props": {
72285 "tags": {
72286 "a": true,
72287 "tbody": true,
72288 "tr": true
72289 }
72290 },
72291 "tree": [
72292 {
72293 "tag": "a"
72294 },
72295 {
72296 "tag": "tbody",
72297 "children": [
72298 {
72299 "tag": "tr"
72300 }
72301 ]
72302 }
72303 ],
72304 "html": "<a></a><tbody><tr></tr></tbody>",
72305 "noQuirksBodyHtml": "<a></a>"
72306 }
72307 },
72308 {
72309 "data": "<a><th>",
72310 "errors": [
72311 "(1,3): unexpected-start-tag-implies-table-voodoo",
72312 "(1,7): unexpected-cell-in-table-body"
72313 ],
72314 "fragment": {
72315 "name": "table"
72316 },
72317 "document": {
72318 "props": {
72319 "tags": {
72320 "a": true,
72321 "tbody": true,
72322 "tr": true,
72323 "th": true
72324 }
72325 },
72326 "tree": [
72327 {
72328 "tag": "a"
72329 },
72330 {
72331 "tag": "tbody",
72332 "children": [
72333 {
72334 "tag": "tr",
72335 "children": [
72336 {
72337 "tag": "th"
72338 }
72339 ]
72340 }
72341 ]
72342 }
72343 ],
72344 "html": "<a></a><tbody><tr><th></th></tr></tbody>",
72345 "noQuirksBodyHtml": "<a></a>"
72346 }
72347 },
72348 {
72349 "data": "<a><td>",
72350 "errors": [
72351 "(1,3): unexpected-start-tag-implies-table-voodoo",
72352 "(1,7): unexpected-cell-in-table-body"
72353 ],
72354 "fragment": {
72355 "name": "table"
72356 },
72357 "document": {
72358 "props": {
72359 "tags": {
72360 "a": true,
72361 "tbody": true,
72362 "tr": true,
72363 "td": true
72364 }
72365 },
72366 "tree": [
72367 {
72368 "tag": "a"
72369 },
72370 {
72371 "tag": "tbody",
72372 "children": [
72373 {
72374 "tag": "tr",
72375 "children": [
72376 {
72377 "tag": "td"
72378 }
72379 ]
72380 }
72381 ]
72382 }
72383 ],
72384 "html": "<a></a><tbody><tr><td></td></tr></tbody>",
72385 "noQuirksBodyHtml": "<a></a>"
72386 }
72387 },
72388 {
72389 "data": "<table></table><tbody>",
72390 "errors": [
72391 "(1,22): unexpected-start-tag"
72392 ],
72393 "fragment": {
72394 "name": "caption"
72395 },
72396 "document": {
72397 "props": {
72398 "tags": {
72399 "table": true
72400 }
72401 },
72402 "tree": [
72403 {
72404 "tag": "table"
72405 }
72406 ],
72407 "html": "<table></table>",
72408 "noQuirksBodyHtml": "<table></table>"
72409 }
72410 },
72411 {
72412 "data": "</table><span>",
72413 "errors": [
72414 "(1,8): unexpected-end-tag",
72415 "(1,14): expected-closing-tag-but-got-eof"
72416 ],
72417 "fragment": {
72418 "name": "caption"
72419 },
72420 "document": {
72421 "props": {
72422 "tags": {
72423 "span": true
72424 }
72425 },
72426 "tree": [
72427 {
72428 "tag": "span"
72429 }
72430 ],
72431 "html": "<span></span>",
72432 "noQuirksBodyHtml": "<span></span>"
72433 }
72434 },
72435 {
72436 "data": "<span></table>",
72437 "errors": [
72438 "(1,14): unexpected-end-tag",
72439 "(1,14): expected-closing-tag-but-got-eof"
72440 ],
72441 "fragment": {
72442 "name": "caption"
72443 },
72444 "document": {
72445 "props": {
72446 "tags": {
72447 "span": true
72448 }
72449 },
72450 "tree": [
72451 {
72452 "tag": "span"
72453 }
72454 ],
72455 "html": "<span></span>",
72456 "noQuirksBodyHtml": "<span></span>"
72457 }
72458 },
72459 {
72460 "data": "</caption><span>",
72461 "errors": [
72462 "(1,10): XXX-undefined-error",
72463 "(1,16): expected-closing-tag-but-got-eof"
72464 ],
72465 "fragment": {
72466 "name": "caption"
72467 },
72468 "document": {
72469 "props": {
72470 "tags": {
72471 "span": true
72472 }
72473 },
72474 "tree": [
72475 {
72476 "tag": "span"
72477 }
72478 ],
72479 "html": "<span></span>",
72480 "noQuirksBodyHtml": "<span></span>"
72481 }
72482 },
72483 {
72484 "data": "<span></caption><span>",
72485 "errors": [
72486 "(1,16): XXX-undefined-error",
72487 "(1,22): expected-closing-tag-but-got-eof"
72488 ],
72489 "fragment": {
72490 "name": "caption"
72491 },
72492 "document": {
72493 "props": {
72494 "tags": {
72495 "span": true
72496 }
72497 },
72498 "tree": [
72499 {
72500 "tag": "span",
72501 "children": [
72502 {
72503 "tag": "span"
72504 }
72505 ]
72506 }
72507 ],
72508 "html": "<span><span></span></span>",
72509 "noQuirksBodyHtml": "<span><span></span></span>"
72510 }
72511 },
72512 {
72513 "data": "<span><caption><span>",
72514 "errors": [
72515 "(1,15): unexpected-start-tag",
72516 "(1,21): expected-closing-tag-but-got-eof"
72517 ],
72518 "fragment": {
72519 "name": "caption"
72520 },
72521 "document": {
72522 "props": {
72523 "tags": {
72524 "span": true
72525 }
72526 },
72527 "tree": [
72528 {
72529 "tag": "span",
72530 "children": [
72531 {
72532 "tag": "span"
72533 }
72534 ]
72535 }
72536 ],
72537 "html": "<span><span></span></span>",
72538 "noQuirksBodyHtml": "<span><span></span></span>"
72539 }
72540 },
72541 {
72542 "data": "<span><col><span>",
72543 "errors": [
72544 "(1,11): unexpected-start-tag",
72545 "(1,17): expected-closing-tag-but-got-eof"
72546 ],
72547 "fragment": {
72548 "name": "caption"
72549 },
72550 "document": {
72551 "props": {
72552 "tags": {
72553 "span": true
72554 }
72555 },
72556 "tree": [
72557 {
72558 "tag": "span",
72559 "children": [
72560 {
72561 "tag": "span"
72562 }
72563 ]
72564 }
72565 ],
72566 "html": "<span><span></span></span>",
72567 "noQuirksBodyHtml": "<span><span></span></span>"
72568 }
72569 },
72570 {
72571 "data": "<span><colgroup><span>",
72572 "errors": [
72573 "(1,16): unexpected-start-tag",
72574 "(1,22): expected-closing-tag-but-got-eof"
72575 ],
72576 "fragment": {
72577 "name": "caption"
72578 },
72579 "document": {
72580 "props": {
72581 "tags": {
72582 "span": true
72583 }
72584 },
72585 "tree": [
72586 {
72587 "tag": "span",
72588 "children": [
72589 {
72590 "tag": "span"
72591 }
72592 ]
72593 }
72594 ],
72595 "html": "<span><span></span></span>",
72596 "noQuirksBodyHtml": "<span><span></span></span>"
72597 }
72598 },
72599 {
72600 "data": "<span><html><span>",
72601 "errors": [
72602 "(1,12): non-html-root",
72603 "(1,18): expected-closing-tag-but-got-eof"
72604 ],
72605 "fragment": {
72606 "name": "caption"
72607 },
72608 "document": {
72609 "props": {
72610 "tags": {
72611 "span": true
72612 }
72613 },
72614 "tree": [
72615 {
72616 "tag": "span",
72617 "children": [
72618 {
72619 "tag": "span"
72620 }
72621 ]
72622 }
72623 ],
72624 "html": "<span><span></span></span>",
72625 "noQuirksBodyHtml": "<span><span></span></span>"
72626 }
72627 },
72628 {
72629 "data": "<span><tbody><span>",
72630 "errors": [
72631 "(1,13): unexpected-start-tag",
72632 "(1,19): expected-closing-tag-but-got-eof"
72633 ],
72634 "fragment": {
72635 "name": "caption"
72636 },
72637 "document": {
72638 "props": {
72639 "tags": {
72640 "span": true
72641 }
72642 },
72643 "tree": [
72644 {
72645 "tag": "span",
72646 "children": [
72647 {
72648 "tag": "span"
72649 }
72650 ]
72651 }
72652 ],
72653 "html": "<span><span></span></span>",
72654 "noQuirksBodyHtml": "<span><span></span></span>"
72655 }
72656 },
72657 {
72658 "data": "<span><td><span>",
72659 "errors": [
72660 "(1,10): unexpected-start-tag",
72661 "(1,16): expected-closing-tag-but-got-eof"
72662 ],
72663 "fragment": {
72664 "name": "caption"
72665 },
72666 "document": {
72667 "props": {
72668 "tags": {
72669 "span": true
72670 }
72671 },
72672 "tree": [
72673 {
72674 "tag": "span",
72675 "children": [
72676 {
72677 "tag": "span"
72678 }
72679 ]
72680 }
72681 ],
72682 "html": "<span><span></span></span>",
72683 "noQuirksBodyHtml": "<span><span></span></span>"
72684 }
72685 },
72686 {
72687 "data": "<span><tfoot><span>",
72688 "errors": [
72689 "(1,13): unexpected-start-tag",
72690 "(1,19): expected-closing-tag-but-got-eof"
72691 ],
72692 "fragment": {
72693 "name": "caption"
72694 },
72695 "document": {
72696 "props": {
72697 "tags": {
72698 "span": true
72699 }
72700 },
72701 "tree": [
72702 {
72703 "tag": "span",
72704 "children": [
72705 {
72706 "tag": "span"
72707 }
72708 ]
72709 }
72710 ],
72711 "html": "<span><span></span></span>",
72712 "noQuirksBodyHtml": "<span><span></span></span>"
72713 }
72714 },
72715 {
72716 "data": "<span><thead><span>",
72717 "errors": [
72718 "(1,13): unexpected-start-tag",
72719 "(1,19): expected-closing-tag-but-got-eof"
72720 ],
72721 "fragment": {
72722 "name": "caption"
72723 },
72724 "document": {
72725 "props": {
72726 "tags": {
72727 "span": true
72728 }
72729 },
72730 "tree": [
72731 {
72732 "tag": "span",
72733 "children": [
72734 {
72735 "tag": "span"
72736 }
72737 ]
72738 }
72739 ],
72740 "html": "<span><span></span></span>",
72741 "noQuirksBodyHtml": "<span><span></span></span>"
72742 }
72743 },
72744 {
72745 "data": "<span><th><span>",
72746 "errors": [
72747 "(1,10): unexpected-start-tag",
72748 "(1,16): expected-closing-tag-but-got-eof"
72749 ],
72750 "fragment": {
72751 "name": "caption"
72752 },
72753 "document": {
72754 "props": {
72755 "tags": {
72756 "span": true
72757 }
72758 },
72759 "tree": [
72760 {
72761 "tag": "span",
72762 "children": [
72763 {
72764 "tag": "span"
72765 }
72766 ]
72767 }
72768 ],
72769 "html": "<span><span></span></span>",
72770 "noQuirksBodyHtml": "<span><span></span></span>"
72771 }
72772 },
72773 {
72774 "data": "<span><tr><span>",
72775 "errors": [
72776 "(1,10): unexpected-start-tag",
72777 "(1,16): expected-closing-tag-but-got-eof"
72778 ],
72779 "fragment": {
72780 "name": "caption"
72781 },
72782 "document": {
72783 "props": {
72784 "tags": {
72785 "span": true
72786 }
72787 },
72788 "tree": [
72789 {
72790 "tag": "span",
72791 "children": [
72792 {
72793 "tag": "span"
72794 }
72795 ]
72796 }
72797 ],
72798 "html": "<span><span></span></span>",
72799 "noQuirksBodyHtml": "<span><span></span></span>"
72800 }
72801 },
72802 {
72803 "data": "<span></table><span>",
72804 "errors": [
72805 "(1,14): unexpected-end-tag",
72806 "(1,20): expected-closing-tag-but-got-eof"
72807 ],
72808 "fragment": {
72809 "name": "caption"
72810 },
72811 "document": {
72812 "props": {
72813 "tags": {
72814 "span": true
72815 }
72816 },
72817 "tree": [
72818 {
72819 "tag": "span",
72820 "children": [
72821 {
72822 "tag": "span"
72823 }
72824 ]
72825 }
72826 ],
72827 "html": "<span><span></span></span>",
72828 "noQuirksBodyHtml": "<span><span></span></span>"
72829 }
72830 },
72831 {
72832 "data": "</colgroup><col>",
72833 "errors": [
72834 "(1,11): XXX-undefined-error"
72835 ],
72836 "fragment": {
72837 "name": "colgroup"
72838 },
72839 "document": {
72840 "props": {
72841 "tags": {
72842 "col": true
72843 }
72844 },
72845 "tree": [
72846 {
72847 "tag": "col"
72848 }
72849 ],
72850 "html": "<col>",
72851 "noQuirksBodyHtml": ""
72852 }
72853 },
72854 {
72855 "data": "<a><col>",
72856 "errors": [
72857 "(1,3): XXX-undefined-error"
72858 ],
72859 "fragment": {
72860 "name": "colgroup"
72861 },
72862 "document": {
72863 "props": {
72864 "tags": {
72865 "col": true
72866 }
72867 },
72868 "tree": [
72869 {
72870 "tag": "col"
72871 }
72872 ],
72873 "html": "<col>",
72874 "noQuirksBodyHtml": "<a></a>"
72875 }
72876 },
72877 {
72878 "data": "<caption><a>",
72879 "errors": [
72880 "(1,9): XXX-undefined-error",
72881 "(1,12): unexpected-start-tag-implies-table-voodoo",
72882 "(1,12): eof-in-table"
72883 ],
72884 "fragment": {
72885 "name": "tbody"
72886 },
72887 "document": {
72888 "props": {
72889 "tags": {
72890 "a": true
72891 }
72892 },
72893 "tree": [
72894 {
72895 "tag": "a"
72896 }
72897 ],
72898 "html": "<a></a>",
72899 "noQuirksBodyHtml": "<a></a>"
72900 }
72901 },
72902 {
72903 "data": "<col><a>",
72904 "errors": [
72905 "(1,5): XXX-undefined-error",
72906 "(1,8): unexpected-start-tag-implies-table-voodoo",
72907 "(1,8): eof-in-table"
72908 ],
72909 "fragment": {
72910 "name": "tbody"
72911 },
72912 "document": {
72913 "props": {
72914 "tags": {
72915 "a": true
72916 }
72917 },
72918 "tree": [
72919 {
72920 "tag": "a"
72921 }
72922 ],
72923 "html": "<a></a>",
72924 "noQuirksBodyHtml": "<a></a>"
72925 }
72926 },
72927 {
72928 "data": "<colgroup><a>",
72929 "errors": [
72930 "(1,10): XXX-undefined-error",
72931 "(1,13): unexpected-start-tag-implies-table-voodoo",
72932 "(1,13): eof-in-table"
72933 ],
72934 "fragment": {
72935 "name": "tbody"
72936 },
72937 "document": {
72938 "props": {
72939 "tags": {
72940 "a": true
72941 }
72942 },
72943 "tree": [
72944 {
72945 "tag": "a"
72946 }
72947 ],
72948 "html": "<a></a>",
72949 "noQuirksBodyHtml": "<a></a>"
72950 }
72951 },
72952 {
72953 "data": "<tbody><a>",
72954 "errors": [
72955 "(1,7): XXX-undefined-error",
72956 "(1,10): unexpected-start-tag-implies-table-voodoo",
72957 "(1,10): eof-in-table"
72958 ],
72959 "fragment": {
72960 "name": "tbody"
72961 },
72962 "document": {
72963 "props": {
72964 "tags": {
72965 "a": true
72966 }
72967 },
72968 "tree": [
72969 {
72970 "tag": "a"
72971 }
72972 ],
72973 "html": "<a></a>",
72974 "noQuirksBodyHtml": "<a></a>"
72975 }
72976 },
72977 {
72978 "data": "<tfoot><a>",
72979 "errors": [
72980 "(1,7): XXX-undefined-error",
72981 "(1,10): unexpected-start-tag-implies-table-voodoo",
72982 "(1,10): eof-in-table"
72983 ],
72984 "fragment": {
72985 "name": "tbody"
72986 },
72987 "document": {
72988 "props": {
72989 "tags": {
72990 "a": true
72991 }
72992 },
72993 "tree": [
72994 {
72995 "tag": "a"
72996 }
72997 ],
72998 "html": "<a></a>",
72999 "noQuirksBodyHtml": "<a></a>"
73000 }
73001 },
73002 {
73003 "data": "<thead><a>",
73004 "errors": [
73005 "(1,7): XXX-undefined-error",
73006 "(1,10): unexpected-start-tag-implies-table-voodoo",
73007 "(1,10): eof-in-table"
73008 ],
73009 "fragment": {
73010 "name": "tbody"
73011 },
73012 "document": {
73013 "props": {
73014 "tags": {
73015 "a": true
73016 }
73017 },
73018 "tree": [
73019 {
73020 "tag": "a"
73021 }
73022 ],
73023 "html": "<a></a>",
73024 "noQuirksBodyHtml": "<a></a>"
73025 }
73026 },
73027 {
73028 "data": "</table><a>",
73029 "errors": [
73030 "(1,8): XXX-undefined-error",
73031 "(1,11): unexpected-start-tag-implies-table-voodoo",
73032 "(1,11): eof-in-table"
73033 ],
73034 "fragment": {
73035 "name": "tbody"
73036 },
73037 "document": {
73038 "props": {
73039 "tags": {
73040 "a": true
73041 }
73042 },
73043 "tree": [
73044 {
73045 "tag": "a"
73046 }
73047 ],
73048 "html": "<a></a>",
73049 "noQuirksBodyHtml": "<a></a>"
73050 }
73051 },
73052 {
73053 "data": "<a><tr>",
73054 "errors": [
73055 "(1,3): unexpected-start-tag-implies-table-voodoo"
73056 ],
73057 "fragment": {
73058 "name": "tbody"
73059 },
73060 "document": {
73061 "props": {
73062 "tags": {
73063 "a": true,
73064 "tr": true
73065 }
73066 },
73067 "tree": [
73068 {
73069 "tag": "a"
73070 },
73071 {
73072 "tag": "tr"
73073 }
73074 ],
73075 "html": "<a></a><tr></tr>",
73076 "noQuirksBodyHtml": "<a></a>"
73077 }
73078 },
73079 {
73080 "data": "<a><td>",
73081 "errors": [
73082 "(1,3): unexpected-start-tag-implies-table-voodoo",
73083 "(1,7): unexpected-cell-in-table-body"
73084 ],
73085 "fragment": {
73086 "name": "tbody"
73087 },
73088 "document": {
73089 "props": {
73090 "tags": {
73091 "a": true,
73092 "tr": true,
73093 "td": true
73094 }
73095 },
73096 "tree": [
73097 {
73098 "tag": "a"
73099 },
73100 {
73101 "tag": "tr",
73102 "children": [
73103 {
73104 "tag": "td"
73105 }
73106 ]
73107 }
73108 ],
73109 "html": "<a></a><tr><td></td></tr>",
73110 "noQuirksBodyHtml": "<a></a>"
73111 }
73112 },
73113 {
73114 "data": "<a><td>",
73115 "errors": [
73116 "(1,3): unexpected-start-tag-implies-table-voodoo",
73117 "(1,7): unexpected-cell-in-table-body"
73118 ],
73119 "fragment": {
73120 "name": "tbody"
73121 },
73122 "document": {
73123 "props": {
73124 "tags": {
73125 "a": true,
73126 "tr": true,
73127 "td": true
73128 }
73129 },
73130 "tree": [
73131 {
73132 "tag": "a"
73133 },
73134 {
73135 "tag": "tr",
73136 "children": [
73137 {
73138 "tag": "td"
73139 }
73140 ]
73141 }
73142 ],
73143 "html": "<a></a><tr><td></td></tr>",
73144 "noQuirksBodyHtml": "<a></a>"
73145 }
73146 },
73147 {
73148 "data": "<a><td>",
73149 "errors": [
73150 "(1,3): unexpected-start-tag-implies-table-voodoo",
73151 "(1,7): unexpected-cell-in-table-body"
73152 ],
73153 "fragment": {
73154 "name": "tbody"
73155 },
73156 "document": {
73157 "props": {
73158 "tags": {
73159 "a": true,
73160 "tr": true,
73161 "td": true
73162 }
73163 },
73164 "tree": [
73165 {
73166 "tag": "a"
73167 },
73168 {
73169 "tag": "tr",
73170 "children": [
73171 {
73172 "tag": "td"
73173 }
73174 ]
73175 }
73176 ],
73177 "html": "<a></a><tr><td></td></tr>",
73178 "noQuirksBodyHtml": "<a></a>"
73179 }
73180 },
73181 {
73182 "data": "<td><table><tbody><a><tr>",
73183 "errors": [
73184 "(1,4): unexpected-cell-in-table-body",
73185 "(1,21): unexpected-start-tag-implies-table-voodoo",
73186 "(1,25): eof-in-table"
73187 ],
73188 "fragment": {
73189 "name": "tbody"
73190 },
73191 "document": {
73192 "props": {
73193 "tags": {
73194 "tr": true,
73195 "td": true,
73196 "a": true,
73197 "table": true,
73198 "tbody": true
73199 }
73200 },
73201 "tree": [
73202 {
73203 "tag": "tr",
73204 "children": [
73205 {
73206 "tag": "td",
73207 "children": [
73208 {
73209 "tag": "a"
73210 },
73211 {
73212 "tag": "table",
73213 "children": [
73214 {
73215 "tag": "tbody",
73216 "children": [
73217 {
73218 "tag": "tr"
73219 }
73220 ]
73221 }
73222 ]
73223 }
73224 ]
73225 }
73226 ]
73227 }
73228 ],
73229 "html": "<tr><td><a></a><table><tbody><tr></tr></tbody></table></td></tr>",
73230 "noQuirksBodyHtml": "<a></a><table><tbody><tr></tr></tbody></table>"
73231 }
73232 },
73233 {
73234 "data": "</tr><td>",
73235 "errors": [
73236 "(1,5): XXX-undefined-error"
73237 ],
73238 "fragment": {
73239 "name": "tr"
73240 },
73241 "document": {
73242 "props": {
73243 "tags": {
73244 "td": true
73245 }
73246 },
73247 "tree": [
73248 {
73249 "tag": "td"
73250 }
73251 ],
73252 "html": "<td></td>",
73253 "noQuirksBodyHtml": ""
73254 }
73255 },
73256 {
73257 "data": "<td><table><a><tr></tr><tr>",
73258 "errors": [
73259 "(1,14): unexpected-start-tag-implies-table-voodoo",
73260 "(1,27): eof-in-table"
73261 ],
73262 "fragment": {
73263 "name": "tr"
73264 },
73265 "document": {
73266 "props": {
73267 "tags": {
73268 "td": true,
73269 "a": true,
73270 "table": true,
73271 "tbody": true,
73272 "tr": true
73273 }
73274 },
73275 "tree": [
73276 {
73277 "tag": "td",
73278 "children": [
73279 {
73280 "tag": "a"
73281 },
73282 {
73283 "tag": "table",
73284 "children": [
73285 {
73286 "tag": "tbody",
73287 "children": [
73288 {
73289 "tag": "tr"
73290 },
73291 {
73292 "tag": "tr"
73293 }
73294 ]
73295 }
73296 ]
73297 }
73298 ]
73299 }
73300 ],
73301 "html": "<td><a></a><table><tbody><tr></tr><tr></tr></tbody></table></td>",
73302 "noQuirksBodyHtml": "<a></a><table><tbody><tr></tr><tr></tr></tbody></table>"
73303 }
73304 },
73305 {
73306 "data": "<caption><td>",
73307 "errors": [
73308 "(1,9): XXX-undefined-error"
73309 ],
73310 "fragment": {
73311 "name": "tr"
73312 },
73313 "document": {
73314 "props": {
73315 "tags": {
73316 "td": true
73317 }
73318 },
73319 "tree": [
73320 {
73321 "tag": "td"
73322 }
73323 ],
73324 "html": "<td></td>",
73325 "noQuirksBodyHtml": ""
73326 }
73327 },
73328 {
73329 "data": "<col><td>",
73330 "errors": [
73331 "(1,5): XXX-undefined-error"
73332 ],
73333 "fragment": {
73334 "name": "tr"
73335 },
73336 "document": {
73337 "props": {
73338 "tags": {
73339 "td": true
73340 }
73341 },
73342 "tree": [
73343 {
73344 "tag": "td"
73345 }
73346 ],
73347 "html": "<td></td>",
73348 "noQuirksBodyHtml": ""
73349 }
73350 },
73351 {
73352 "data": "<colgroup><td>",
73353 "errors": [
73354 "(1,10): XXX-undefined-error"
73355 ],
73356 "fragment": {
73357 "name": "tr"
73358 },
73359 "document": {
73360 "props": {
73361 "tags": {
73362 "td": true
73363 }
73364 },
73365 "tree": [
73366 {
73367 "tag": "td"
73368 }
73369 ],
73370 "html": "<td></td>",
73371 "noQuirksBodyHtml": ""
73372 }
73373 },
73374 {
73375 "data": "<tbody><td>",
73376 "errors": [
73377 "(1,7): XXX-undefined-error"
73378 ],
73379 "fragment": {
73380 "name": "tr"
73381 },
73382 "document": {
73383 "props": {
73384 "tags": {
73385 "td": true
73386 }
73387 },
73388 "tree": [
73389 {
73390 "tag": "td"
73391 }
73392 ],
73393 "html": "<td></td>",
73394 "noQuirksBodyHtml": ""
73395 }
73396 },
73397 {
73398 "data": "<tfoot><td>",
73399 "errors": [
73400 "(1,7): XXX-undefined-error"
73401 ],
73402 "fragment": {
73403 "name": "tr"
73404 },
73405 "document": {
73406 "props": {
73407 "tags": {
73408 "td": true
73409 }
73410 },
73411 "tree": [
73412 {
73413 "tag": "td"
73414 }
73415 ],
73416 "html": "<td></td>",
73417 "noQuirksBodyHtml": ""
73418 }
73419 },
73420 {
73421 "data": "<thead><td>",
73422 "errors": [
73423 "(1,7): XXX-undefined-error"
73424 ],
73425 "fragment": {
73426 "name": "tr"
73427 },
73428 "document": {
73429 "props": {
73430 "tags": {
73431 "td": true
73432 }
73433 },
73434 "tree": [
73435 {
73436 "tag": "td"
73437 }
73438 ],
73439 "html": "<td></td>",
73440 "noQuirksBodyHtml": ""
73441 }
73442 },
73443 {
73444 "data": "<tr><td>",
73445 "errors": [
73446 "(1,4): XXX-undefined-error"
73447 ],
73448 "fragment": {
73449 "name": "tr"
73450 },
73451 "document": {
73452 "props": {
73453 "tags": {
73454 "td": true
73455 }
73456 },
73457 "tree": [
73458 {
73459 "tag": "td"
73460 }
73461 ],
73462 "html": "<td></td>",
73463 "noQuirksBodyHtml": ""
73464 }
73465 },
73466 {
73467 "data": "</table><td>",
73468 "errors": [
73469 "(1,8): XXX-undefined-error"
73470 ],
73471 "fragment": {
73472 "name": "tr"
73473 },
73474 "document": {
73475 "props": {
73476 "tags": {
73477 "td": true
73478 }
73479 },
73480 "tree": [
73481 {
73482 "tag": "td"
73483 }
73484 ],
73485 "html": "<td></td>",
73486 "noQuirksBodyHtml": ""
73487 }
73488 },
73489 {
73490 "data": "<td><table></table><td>",
73491 "errors": [],
73492 "fragment": {
73493 "name": "tr"
73494 },
73495 "document": {
73496 "props": {
73497 "tags": {
73498 "td": true,
73499 "table": true
73500 }
73501 },
73502 "tree": [
73503 {
73504 "tag": "td",
73505 "children": [
73506 {
73507 "tag": "table"
73508 }
73509 ]
73510 },
73511 {
73512 "tag": "td"
73513 }
73514 ],
73515 "html": "<td><table></table></td><td></td>",
73516 "noQuirksBodyHtml": "<table></table>"
73517 }
73518 },
73519 {
73520 "data": "<td><table></table><td>",
73521 "errors": [],
73522 "fragment": {
73523 "name": "tr"
73524 },
73525 "document": {
73526 "props": {
73527 "tags": {
73528 "td": true,
73529 "table": true
73530 }
73531 },
73532 "tree": [
73533 {
73534 "tag": "td",
73535 "children": [
73536 {
73537 "tag": "table"
73538 }
73539 ]
73540 },
73541 {
73542 "tag": "td"
73543 }
73544 ],
73545 "html": "<td><table></table></td><td></td>",
73546 "noQuirksBodyHtml": "<table></table>"
73547 }
73548 },
73549 {
73550 "data": "<caption><a>",
73551 "errors": [
73552 "(1,9): XXX-undefined-error",
73553 "(1,12): expected-closing-tag-but-got-eof"
73554 ],
73555 "fragment": {
73556 "name": "td"
73557 },
73558 "document": {
73559 "props": {
73560 "tags": {
73561 "a": true
73562 }
73563 },
73564 "tree": [
73565 {
73566 "tag": "a"
73567 }
73568 ],
73569 "html": "<a></a>",
73570 "noQuirksBodyHtml": "<a></a>"
73571 }
73572 },
73573 {
73574 "data": "<col><a>",
73575 "errors": [
73576 "(1,5): XXX-undefined-error",
73577 "(1,8): expected-closing-tag-but-got-eof"
73578 ],
73579 "fragment": {
73580 "name": "td"
73581 },
73582 "document": {
73583 "props": {
73584 "tags": {
73585 "a": true
73586 }
73587 },
73588 "tree": [
73589 {
73590 "tag": "a"
73591 }
73592 ],
73593 "html": "<a></a>",
73594 "noQuirksBodyHtml": "<a></a>"
73595 }
73596 },
73597 {
73598 "data": "<colgroup><a>",
73599 "errors": [
73600 "(1,10): XXX-undefined-error",
73601 "(1,13): expected-closing-tag-but-got-eof"
73602 ],
73603 "fragment": {
73604 "name": "td"
73605 },
73606 "document": {
73607 "props": {
73608 "tags": {
73609 "a": true
73610 }
73611 },
73612 "tree": [
73613 {
73614 "tag": "a"
73615 }
73616 ],
73617 "html": "<a></a>",
73618 "noQuirksBodyHtml": "<a></a>"
73619 }
73620 },
73621 {
73622 "data": "<tbody><a>",
73623 "errors": [
73624 "(1,7): XXX-undefined-error",
73625 "(1,10): expected-closing-tag-but-got-eof"
73626 ],
73627 "fragment": {
73628 "name": "td"
73629 },
73630 "document": {
73631 "props": {
73632 "tags": {
73633 "a": true
73634 }
73635 },
73636 "tree": [
73637 {
73638 "tag": "a"
73639 }
73640 ],
73641 "html": "<a></a>",
73642 "noQuirksBodyHtml": "<a></a>"
73643 }
73644 },
73645 {
73646 "data": "<tfoot><a>",
73647 "errors": [
73648 "(1,7): XXX-undefined-error",
73649 "(1,10): expected-closing-tag-but-got-eof"
73650 ],
73651 "fragment": {
73652 "name": "td"
73653 },
73654 "document": {
73655 "props": {
73656 "tags": {
73657 "a": true
73658 }
73659 },
73660 "tree": [
73661 {
73662 "tag": "a"
73663 }
73664 ],
73665 "html": "<a></a>",
73666 "noQuirksBodyHtml": "<a></a>"
73667 }
73668 },
73669 {
73670 "data": "<th><a>",
73671 "errors": [
73672 "(1,4): XXX-undefined-error",
73673 "(1,7): expected-closing-tag-but-got-eof"
73674 ],
73675 "fragment": {
73676 "name": "td"
73677 },
73678 "document": {
73679 "props": {
73680 "tags": {
73681 "a": true
73682 }
73683 },
73684 "tree": [
73685 {
73686 "tag": "a"
73687 }
73688 ],
73689 "html": "<a></a>",
73690 "noQuirksBodyHtml": "<a></a>"
73691 }
73692 },
73693 {
73694 "data": "<thead><a>",
73695 "errors": [
73696 "(1,7): XXX-undefined-error",
73697 "(1,10): expected-closing-tag-but-got-eof"
73698 ],
73699 "fragment": {
73700 "name": "td"
73701 },
73702 "document": {
73703 "props": {
73704 "tags": {
73705 "a": true
73706 }
73707 },
73708 "tree": [
73709 {
73710 "tag": "a"
73711 }
73712 ],
73713 "html": "<a></a>",
73714 "noQuirksBodyHtml": "<a></a>"
73715 }
73716 },
73717 {
73718 "data": "<tr><a>",
73719 "errors": [
73720 "(1,4): XXX-undefined-error",
73721 "(1,7): expected-closing-tag-but-got-eof"
73722 ],
73723 "fragment": {
73724 "name": "td"
73725 },
73726 "document": {
73727 "props": {
73728 "tags": {
73729 "a": true
73730 }
73731 },
73732 "tree": [
73733 {
73734 "tag": "a"
73735 }
73736 ],
73737 "html": "<a></a>",
73738 "noQuirksBodyHtml": "<a></a>"
73739 }
73740 },
73741 {
73742 "data": "</table><a>",
73743 "errors": [
73744 "(1,8): XXX-undefined-error",
73745 "(1,11): expected-closing-tag-but-got-eof"
73746 ],
73747 "fragment": {
73748 "name": "td"
73749 },
73750 "document": {
73751 "props": {
73752 "tags": {
73753 "a": true
73754 }
73755 },
73756 "tree": [
73757 {
73758 "tag": "a"
73759 }
73760 ],
73761 "html": "<a></a>",
73762 "noQuirksBodyHtml": "<a></a>"
73763 }
73764 },
73765 {
73766 "data": "</tbody><a>",
73767 "errors": [
73768 "(1,8): XXX-undefined-error",
73769 "(1,11): expected-closing-tag-but-got-eof"
73770 ],
73771 "fragment": {
73772 "name": "td"
73773 },
73774 "document": {
73775 "props": {
73776 "tags": {
73777 "a": true
73778 }
73779 },
73780 "tree": [
73781 {
73782 "tag": "a"
73783 }
73784 ],
73785 "html": "<a></a>",
73786 "noQuirksBodyHtml": "<a></a>"
73787 }
73788 },
73789 {
73790 "data": "</td><a>",
73791 "errors": [
73792 "(1,5): unexpected-end-tag",
73793 "(1,8): expected-closing-tag-but-got-eof"
73794 ],
73795 "fragment": {
73796 "name": "td"
73797 },
73798 "document": {
73799 "props": {
73800 "tags": {
73801 "a": true
73802 }
73803 },
73804 "tree": [
73805 {
73806 "tag": "a"
73807 }
73808 ],
73809 "html": "<a></a>",
73810 "noQuirksBodyHtml": "<a></a>"
73811 }
73812 },
73813 {
73814 "data": "</tfoot><a>",
73815 "errors": [
73816 "(1,8): XXX-undefined-error",
73817 "(1,11): expected-closing-tag-but-got-eof"
73818 ],
73819 "fragment": {
73820 "name": "td"
73821 },
73822 "document": {
73823 "props": {
73824 "tags": {
73825 "a": true
73826 }
73827 },
73828 "tree": [
73829 {
73830 "tag": "a"
73831 }
73832 ],
73833 "html": "<a></a>",
73834 "noQuirksBodyHtml": "<a></a>"
73835 }
73836 },
73837 {
73838 "data": "</thead><a>",
73839 "errors": [
73840 "(1,8): XXX-undefined-error",
73841 "(1,11): expected-closing-tag-but-got-eof"
73842 ],
73843 "fragment": {
73844 "name": "td"
73845 },
73846 "document": {
73847 "props": {
73848 "tags": {
73849 "a": true
73850 }
73851 },
73852 "tree": [
73853 {
73854 "tag": "a"
73855 }
73856 ],
73857 "html": "<a></a>",
73858 "noQuirksBodyHtml": "<a></a>"
73859 }
73860 },
73861 {
73862 "data": "</th><a>",
73863 "errors": [
73864 "(1,5): unexpected-end-tag",
73865 "(1,8): expected-closing-tag-but-got-eof"
73866 ],
73867 "fragment": {
73868 "name": "td"
73869 },
73870 "document": {
73871 "props": {
73872 "tags": {
73873 "a": true
73874 }
73875 },
73876 "tree": [
73877 {
73878 "tag": "a"
73879 }
73880 ],
73881 "html": "<a></a>",
73882 "noQuirksBodyHtml": "<a></a>"
73883 }
73884 },
73885 {
73886 "data": "</tr><a>",
73887 "errors": [
73888 "(1,5): XXX-undefined-error",
73889 "(1,8): expected-closing-tag-but-got-eof"
73890 ],
73891 "fragment": {
73892 "name": "td"
73893 },
73894 "document": {
73895 "props": {
73896 "tags": {
73897 "a": true
73898 }
73899 },
73900 "tree": [
73901 {
73902 "tag": "a"
73903 }
73904 ],
73905 "html": "<a></a>",
73906 "noQuirksBodyHtml": "<a></a>"
73907 }
73908 },
73909 {
73910 "data": "<table><td><td>",
73911 "errors": [
73912 "(1,11): unexpected-cell-in-table-body",
73913 "(1,15): expected-closing-tag-but-got-eof"
73914 ],
73915 "fragment": {
73916 "name": "td"
73917 },
73918 "document": {
73919 "props": {
73920 "tags": {
73921 "table": true,
73922 "tbody": true,
73923 "tr": true,
73924 "td": true
73925 }
73926 },
73927 "tree": [
73928 {
73929 "tag": "table",
73930 "children": [
73931 {
73932 "tag": "tbody",
73933 "children": [
73934 {
73935 "tag": "tr",
73936 "children": [
73937 {
73938 "tag": "td"
73939 },
73940 {
73941 "tag": "td"
73942 }
73943 ]
73944 }
73945 ]
73946 }
73947 ]
73948 }
73949 ],
73950 "html": "<table><tbody><tr><td></td><td></td></tr></tbody></table>",
73951 "noQuirksBodyHtml": "<table><tbody><tr><td></td><td></td></tr></tbody></table>"
73952 }
73953 },
73954 {
73955 "data": "</select><option>",
73956 "errors": [
73957 "(1,9): XXX-undefined-error",
73958 "(1,17): eof-in-select"
73959 ],
73960 "fragment": {
73961 "name": "select"
73962 },
73963 "document": {
73964 "props": {
73965 "tags": {
73966 "option": true
73967 }
73968 },
73969 "tree": [
73970 {
73971 "tag": "option"
73972 }
73973 ],
73974 "html": "<option></option>",
73975 "noQuirksBodyHtml": "<option></option>"
73976 }
73977 },
73978 {
73979 "data": "<input><option>",
73980 "errors": [
73981 "(1,7): unexpected-input-in-select",
73982 "(1,15): eof-in-select"
73983 ],
73984 "fragment": {
73985 "name": "select"
73986 },
73987 "document": {
73988 "props": {
73989 "tags": {
73990 "option": true
73991 }
73992 },
73993 "tree": [
73994 {
73995 "tag": "option"
73996 }
73997 ],
73998 "html": "<option></option>",
73999 "noQuirksBodyHtml": "<input><option></option>"
74000 }
74001 },
74002 {
74003 "data": "<keygen><option>",
74004 "errors": [
74005 "(1,8): unexpected-input-in-select",
74006 "(1,16): eof-in-select"
74007 ],
74008 "fragment": {
74009 "name": "select"
74010 },
74011 "document": {
74012 "props": {
74013 "tags": {
74014 "option": true
74015 }
74016 },
74017 "tree": [
74018 {
74019 "tag": "option"
74020 }
74021 ],
74022 "html": "<option></option>",
74023 "noQuirksBodyHtml": "<keygen><option></option>"
74024 }
74025 },
74026 {
74027 "data": "<textarea><option>",
74028 "errors": [
74029 "(1,10): unexpected-input-in-select",
74030 "(1,18): eof-in-select"
74031 ],
74032 "fragment": {
74033 "name": "select"
74034 },
74035 "document": {
74036 "props": {
74037 "tags": {
74038 "option": true
74039 }
74040 },
74041 "tree": [
74042 {
74043 "tag": "option"
74044 }
74045 ],
74046 "html": "<option></option>",
74047 "noQuirksBodyHtml": "<textarea>&lt;option&gt;</textarea>"
74048 }
74049 },
74050 {
74051 "data": "</html><!--abc-->",
74052 "errors": [
74053 "(1,7): unexpected-end-tag-after-body-innerhtml"
74054 ],
74055 "fragment": {
74056 "name": "html"
74057 },
74058 "document": {
74059 "props": {
74060 "tags": {
74061 "head": true,
74062 "body": true
74063 },
74064 "comment": true
74065 },
74066 "tree": [
74067 {
74068 "tag": "head"
74069 },
74070 {
74071 "tag": "body"
74072 },
74073 {
74074 "comment": "abc"
74075 }
74076 ],
74077 "html": "<head></head><body></body><!--abc-->",
74078 "noQuirksBodyHtml": "<!--abc-->"
74079 }
74080 },
74081 {
74082 "data": "</frameset><frame>",
74083 "errors": [
74084 "(1,11): unexpected-frameset-in-frameset-innerhtml"
74085 ],
74086 "fragment": {
74087 "name": "frameset"
74088 },
74089 "document": {
74090 "props": {
74091 "tags": {
74092 "frame": true
74093 }
74094 },
74095 "tree": [
74096 {
74097 "tag": "frame"
74098 }
74099 ],
74100 "html": "<frame>",
74101 "noQuirksBodyHtml": ""
74102 }
74103 },
74104 {
74105 "data": "",
74106 "errors": [],
74107 "fragment": {
74108 "name": "html"
74109 },
74110 "document": {
74111 "props": {
74112 "tags": {
74113 "head": true,
74114 "body": true
74115 }
74116 },
74117 "tree": [
74118 {
74119 "tag": "head"
74120 },
74121 {
74122 "tag": "body"
74123 }
74124 ],
74125 "html": "<head></head><body></body>",
74126 "noQuirksBodyHtml": ""
74127 }
74128 }
74129 ],
74130 "tricky01.dat": [
74131 {
74132 "data": "<b><p>Bold </b> Not bold</p>\nAlso not bold.",
74133 "errors": [
74134 "(1,3): expected-doctype-but-got-start-tag",
74135 "(1,15): adoption-agency-1.3"
74136 ],
74137 "document": {
74138 "props": {
74139 "tags": {
74140 "html": true,
74141 "head": true,
74142 "body": true,
74143 "b": true,
74144 "p": true
74145 }
74146 },
74147 "tree": [
74148 {
74149 "tag": "html",
74150 "children": [
74151 {
74152 "tag": "head"
74153 },
74154 {
74155 "tag": "body",
74156 "children": [
74157 {
74158 "tag": "b"
74159 },
74160 {
74161 "tag": "p",
74162 "children": [
74163 {
74164 "tag": "b",
74165 "children": [
74166 {
74167 "text": "Bold "
74168 }
74169 ]
74170 },
74171 {
74172 "text": " Not bold"
74173 }
74174 ]
74175 },
74176 {
74177 "text": "\nAlso not bold."
74178 }
74179 ]
74180 }
74181 ]
74182 }
74183 ],
74184 "html": "<html><head></head><body><b></b><p><b>Bold </b> Not bold</p>\nAlso not bold.</body></html>",
74185 "noQuirksBodyHtml": "<b></b><p><b>Bold </b> Not bold</p>\nAlso not bold."
74186 }
74187 },
74188 {
74189 "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",
74190 "errors": [
74191 "(1,6): expected-doctype-but-got-start-tag",
74192 "(2,58): adoption-agency-1.3",
74193 "(3,67): unexpected-end-tag",
74194 "(4,23): adoption-agency-1.3",
74195 "(4,35): adoption-agency-1.3",
74196 "(5,30): adoption-agency-1.3"
74197 ],
74198 "document": {
74199 "props": {
74200 "tags": {
74201 "html": true,
74202 "head": true,
74203 "body": true,
74204 "font": true,
74205 "i": true,
74206 "p": true,
74207 "b": true
74208 }
74209 },
74210 "tree": [
74211 {
74212 "tag": "html",
74213 "children": [
74214 {
74215 "tag": "head"
74216 },
74217 {
74218 "tag": "body",
74219 "children": [
74220 {
74221 "tag": "font",
74222 "attrs": [
74223 {
74224 "name": "color",
74225 "value": "red"
74226 }
74227 ],
74228 "children": [
74229 {
74230 "tag": "i",
74231 "children": [
74232 {
74233 "text": "Italic and Red"
74234 }
74235 ]
74236 }
74237 ]
74238 },
74239 {
74240 "tag": "i",
74241 "children": [
74242 {
74243 "tag": "p",
74244 "children": [
74245 {
74246 "tag": "font",
74247 "attrs": [
74248 {
74249 "name": "color",
74250 "value": "red"
74251 }
74252 ],
74253 "children": [
74254 {
74255 "text": "Italic and Red "
74256 }
74257 ]
74258 },
74259 {
74260 "text": " Just italic."
74261 }
74262 ]
74263 },
74264 {
74265 "text": " Italic only."
74266 }
74267 ]
74268 },
74269 {
74270 "text": " Plain\n"
74271 },
74272 {
74273 "tag": "p",
74274 "children": [
74275 {
74276 "text": "I should not be red. "
74277 },
74278 {
74279 "tag": "font",
74280 "attrs": [
74281 {
74282 "name": "color",
74283 "value": "red"
74284 }
74285 ],
74286 "children": [
74287 {
74288 "text": "Red. "
74289 },
74290 {
74291 "tag": "i",
74292 "children": [
74293 {
74294 "text": "Italic and red."
74295 }
74296 ]
74297 }
74298 ]
74299 }
74300 ]
74301 },
74302 {
74303 "tag": "font",
74304 "attrs": [
74305 {
74306 "name": "color",
74307 "value": "red"
74308 }
74309 ],
74310 "children": [
74311 {
74312 "tag": "i",
74313 "children": [
74314 {
74315 "text": "\n"
74316 }
74317 ]
74318 }
74319 ]
74320 },
74321 {
74322 "tag": "p",
74323 "children": [
74324 {
74325 "tag": "font",
74326 "attrs": [
74327 {
74328 "name": "color",
74329 "value": "red"
74330 }
74331 ],
74332 "children": [
74333 {
74334 "tag": "i",
74335 "children": [
74336 {
74337 "text": "Italic and red. "
74338 }
74339 ]
74340 },
74341 {
74342 "text": " Red."
74343 }
74344 ]
74345 },
74346 {
74347 "text": " I should not be red."
74348 }
74349 ]
74350 },
74351 {
74352 "text": "\n"
74353 },
74354 {
74355 "tag": "b",
74356 "children": [
74357 {
74358 "text": "Bold "
74359 },
74360 {
74361 "tag": "i",
74362 "children": [
74363 {
74364 "text": "Bold and italic"
74365 }
74366 ]
74367 }
74368 ]
74369 },
74370 {
74371 "tag": "i",
74372 "children": [
74373 {
74374 "text": " Only Italic "
74375 }
74376 ]
74377 },
74378 {
74379 "text": " Plain"
74380 }
74381 ]
74382 }
74383 ]
74384 }
74385 ],
74386 "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>",
74387 "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"
74388 }
74389 },
74390 {
74391 "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>",
74392 "errors": [
74393 "(1,6): expected-doctype-but-got-start-tag",
74394 "(2,38): unexpected-end-tag",
74395 "(4,28): adoption-agency-1.3",
74396 "(4,28): adoption-agency-1.3",
74397 "(4,39): unexpected-end-tag"
74398 ],
74399 "document": {
74400 "props": {
74401 "tags": {
74402 "html": true,
74403 "head": true,
74404 "body": true,
74405 "p": true,
74406 "font": true,
74407 "b": true,
74408 "i": true
74409 }
74410 },
74411 "tree": [
74412 {
74413 "tag": "html",
74414 "children": [
74415 {
74416 "tag": "head"
74417 },
74418 {
74419 "tag": "body",
74420 "children": [
74421 {
74422 "text": "\n"
74423 },
74424 {
74425 "tag": "p",
74426 "children": [
74427 {
74428 "tag": "font",
74429 "attrs": [
74430 {
74431 "name": "size",
74432 "value": "7"
74433 }
74434 ],
74435 "children": [
74436 {
74437 "text": "First paragraph."
74438 }
74439 ]
74440 }
74441 ]
74442 },
74443 {
74444 "tag": "font",
74445 "attrs": [
74446 {
74447 "name": "size",
74448 "value": "7"
74449 }
74450 ],
74451 "children": [
74452 {
74453 "text": "\n"
74454 },
74455 {
74456 "tag": "p",
74457 "children": [
74458 {
74459 "text": "Second paragraph."
74460 }
74461 ]
74462 }
74463 ]
74464 },
74465 {
74466 "text": "\n"
74467 },
74468 {
74469 "tag": "b"
74470 },
74471 {
74472 "tag": "p",
74473 "children": [
74474 {
74475 "tag": "b",
74476 "children": [
74477 {
74478 "tag": "i",
74479 "children": [
74480 {
74481 "text": "Bold and Italic"
74482 }
74483 ]
74484 }
74485 ]
74486 },
74487 {
74488 "tag": "i",
74489 "children": [
74490 {
74491 "text": " Italic"
74492 }
74493 ]
74494 }
74495 ]
74496 }
74497 ]
74498 }
74499 ]
74500 }
74501 ],
74502 "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>",
74503 "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>"
74504 }
74505 },
74506 {
74507 "data": "<html>\n<dl>\n<dt><b>Boo\n<dd>Goo?\n</dl>\n</html>",
74508 "errors": [
74509 "(1,6): expected-doctype-but-got-start-tag",
74510 "(4,4): end-tag-too-early",
74511 "(5,5): end-tag-too-early",
74512 "(6,7): expected-one-end-tag-but-got-another"
74513 ],
74514 "document": {
74515 "props": {
74516 "tags": {
74517 "html": true,
74518 "head": true,
74519 "body": true,
74520 "dl": true,
74521 "dt": true,
74522 "b": true,
74523 "dd": true
74524 }
74525 },
74526 "tree": [
74527 {
74528 "tag": "html",
74529 "children": [
74530 {
74531 "tag": "head"
74532 },
74533 {
74534 "tag": "body",
74535 "children": [
74536 {
74537 "tag": "dl",
74538 "children": [
74539 {
74540 "text": "\n"
74541 },
74542 {
74543 "tag": "dt",
74544 "children": [
74545 {
74546 "tag": "b",
74547 "children": [
74548 {
74549 "text": "Boo\n"
74550 }
74551 ]
74552 }
74553 ]
74554 },
74555 {
74556 "tag": "dd",
74557 "children": [
74558 {
74559 "tag": "b",
74560 "children": [
74561 {
74562 "text": "Goo?\n"
74563 }
74564 ]
74565 }
74566 ]
74567 }
74568 ]
74569 },
74570 {
74571 "tag": "b",
74572 "children": [
74573 {
74574 "text": "\n"
74575 }
74576 ]
74577 }
74578 ]
74579 }
74580 ]
74581 }
74582 ],
74583 "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>",
74584 "noQuirksBodyHtml": "\n<dl>\n<dt><b>Boo\n</b></dt><dd><b>Goo?\n</b></dd></dl><b>\n</b>"
74585 }
74586 },
74587 {
74588 "data": "<html><body>\n<label><a><div>Hello<div>World</div></a></label> \n</body></html>",
74589 "errors": [
74590 "(1,6): expected-doctype-but-got-start-tag",
74591 "(2,40): adoption-agency-1.3",
74592 "(2,48): unexpected-end-tag",
74593 "(3,7): expected-one-end-tag-but-got-another"
74594 ],
74595 "document": {
74596 "props": {
74597 "tags": {
74598 "html": true,
74599 "head": true,
74600 "body": true,
74601 "label": true,
74602 "a": true,
74603 "div": true
74604 }
74605 },
74606 "tree": [
74607 {
74608 "tag": "html",
74609 "children": [
74610 {
74611 "tag": "head"
74612 },
74613 {
74614 "tag": "body",
74615 "children": [
74616 {
74617 "text": "\n"
74618 },
74619 {
74620 "tag": "label",
74621 "children": [
74622 {
74623 "tag": "a"
74624 },
74625 {
74626 "tag": "div",
74627 "children": [
74628 {
74629 "tag": "a",
74630 "children": [
74631 {
74632 "text": "Hello"
74633 },
74634 {
74635 "tag": "div",
74636 "children": [
74637 {
74638 "text": "World"
74639 }
74640 ]
74641 }
74642 ]
74643 },
74644 {
74645 "text": " \n"
74646 }
74647 ]
74648 }
74649 ]
74650 }
74651 ]
74652 }
74653 ]
74654 }
74655 ],
74656 "html": "<html><head></head><body>\n<label><a></a><div><a>Hello<div>World</div></a> \n</div></label></body></html>",
74657 "noQuirksBodyHtml": "\n<label><a></a><div><a>Hello<div>World</div></a> \n</div></label>"
74658 }
74659 },
74660 {
74661 "data": "<table><center> <font>a</center> <img> <tr><td> </td> </tr> </table>",
74662 "errors": [
74663 "(1,7): expected-doctype-but-got-start-tag",
74664 "(1,15): foster-parenting-start-tag",
74665 "(1,16): foster-parenting-character",
74666 "(1,22): foster-parenting-start-tag",
74667 "(1,23): foster-parenting-character",
74668 "(1,32): foster-parenting-end-tag",
74669 "(1,32): end-tag-too-early",
74670 "(1,33): foster-parenting-character",
74671 "(1,38): foster-parenting-start-tag"
74672 ],
74673 "document": {
74674 "props": {
74675 "tags": {
74676 "html": true,
74677 "head": true,
74678 "body": true,
74679 "center": true,
74680 "font": true,
74681 "img": true,
74682 "table": true,
74683 "tbody": true,
74684 "tr": true,
74685 "td": true
74686 }
74687 },
74688 "tree": [
74689 {
74690 "tag": "html",
74691 "children": [
74692 {
74693 "tag": "head"
74694 },
74695 {
74696 "tag": "body",
74697 "children": [
74698 {
74699 "tag": "center",
74700 "children": [
74701 {
74702 "text": " "
74703 },
74704 {
74705 "tag": "font",
74706 "children": [
74707 {
74708 "text": "a"
74709 }
74710 ]
74711 }
74712 ]
74713 },
74714 {
74715 "tag": "font",
74716 "children": [
74717 {
74718 "tag": "img"
74719 },
74720 {
74721 "text": " "
74722 }
74723 ]
74724 },
74725 {
74726 "tag": "table",
74727 "children": [
74728 {
74729 "text": " "
74730 },
74731 {
74732 "tag": "tbody",
74733 "children": [
74734 {
74735 "tag": "tr",
74736 "children": [
74737 {
74738 "tag": "td",
74739 "children": [
74740 {
74741 "text": " "
74742 }
74743 ]
74744 },
74745 {
74746 "text": " "
74747 }
74748 ]
74749 },
74750 {
74751 "text": " "
74752 }
74753 ]
74754 }
74755 ]
74756 }
74757 ]
74758 }
74759 ]
74760 }
74761 ],
74762 "html": "<html><head></head><body><center> <font>a</font></center><font><img> </font><table> <tbody><tr><td> </td> </tr> </tbody></table></body></html>",
74763 "noQuirksBodyHtml": "<center> <font>a</font></center><font><img> </font><table> <tbody><tr><td> </td> </tr> </tbody></table>"
74764 }
74765 },
74766 {
74767 "data": "<table><tr><p><a><p>You should see this text.",
74768 "errors": [
74769 "(1,7): expected-doctype-but-got-start-tag",
74770 "(1,14): unexpected-start-tag-implies-table-voodoo",
74771 "(1,17): unexpected-start-tag-implies-table-voodoo",
74772 "(1,20): unexpected-start-tag-implies-table-voodoo",
74773 "(1,20): closing-non-current-p-element",
74774 "(1,21): foster-parenting-character",
74775 "(1,22): foster-parenting-character",
74776 "(1,23): foster-parenting-character",
74777 "(1,24): foster-parenting-character",
74778 "(1,25): foster-parenting-character",
74779 "(1,26): foster-parenting-character",
74780 "(1,27): foster-parenting-character",
74781 "(1,28): foster-parenting-character",
74782 "(1,29): foster-parenting-character",
74783 "(1,30): foster-parenting-character",
74784 "(1,31): foster-parenting-character",
74785 "(1,32): foster-parenting-character",
74786 "(1,33): foster-parenting-character",
74787 "(1,34): foster-parenting-character",
74788 "(1,35): foster-parenting-character",
74789 "(1,36): foster-parenting-character",
74790 "(1,37): foster-parenting-character",
74791 "(1,38): foster-parenting-character",
74792 "(1,39): foster-parenting-character",
74793 "(1,40): foster-parenting-character",
74794 "(1,41): foster-parenting-character",
74795 "(1,42): foster-parenting-character",
74796 "(1,43): foster-parenting-character",
74797 "(1,44): foster-parenting-character",
74798 "(1,45): foster-parenting-character",
74799 "(1,45): eof-in-table"
74800 ],
74801 "document": {
74802 "props": {
74803 "tags": {
74804 "html": true,
74805 "head": true,
74806 "body": true,
74807 "p": true,
74808 "a": true,
74809 "table": true,
74810 "tbody": true,
74811 "tr": true
74812 }
74813 },
74814 "tree": [
74815 {
74816 "tag": "html",
74817 "children": [
74818 {
74819 "tag": "head"
74820 },
74821 {
74822 "tag": "body",
74823 "children": [
74824 {
74825 "tag": "p",
74826 "children": [
74827 {
74828 "tag": "a"
74829 }
74830 ]
74831 },
74832 {
74833 "tag": "p",
74834 "children": [
74835 {
74836 "tag": "a",
74837 "children": [
74838 {
74839 "text": "You should see this text."
74840 }
74841 ]
74842 }
74843 ]
74844 },
74845 {
74846 "tag": "table",
74847 "children": [
74848 {
74849 "tag": "tbody",
74850 "children": [
74851 {
74852 "tag": "tr"
74853 }
74854 ]
74855 }
74856 ]
74857 }
74858 ]
74859 }
74860 ]
74861 }
74862 ],
74863 "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>",
74864 "noQuirksBodyHtml": "<p><a></a></p><p><a>You should see this text.</a></p><table><tbody><tr></tr></tbody></table>"
74865 }
74866 },
74867 {
74868 "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.",
74869 "errors": [
74870 "(1,7): expected-doctype-but-got-start-tag",
74871 "(3,8): unexpected-start-tag-implies-table-voodoo",
74872 "(3,16): unexpected-start-tag-implies-table-voodoo",
74873 "(4,6): unexpected-start-tag-implies-table-voodoo",
74874 "(4,6): unexpected character token in table (the newline)",
74875 "(5,7): unexpected-start-tag-implies-end-tag",
74876 "(6,4): unexpected p end tag",
74877 "(7,10): adoption-agency-1.3",
74878 "(7,20): adoption-agency-1.3",
74879 "(8,57): expected-closing-tag-but-got-eof"
74880 ],
74881 "document": {
74882 "props": {
74883 "tags": {
74884 "html": true,
74885 "head": true,
74886 "body": true,
74887 "center": true,
74888 "font": true,
74889 "table": true,
74890 "tbody": true,
74891 "tr": true,
74892 "td": true,
74893 "p": true,
74894 "a": true
74895 }
74896 },
74897 "tree": [
74898 {
74899 "tag": "html",
74900 "children": [
74901 {
74902 "tag": "head"
74903 },
74904 {
74905 "tag": "body",
74906 "children": [
74907 {
74908 "tag": "center",
74909 "children": [
74910 {
74911 "tag": "center"
74912 }
74913 ]
74914 },
74915 {
74916 "tag": "font",
74917 "children": [
74918 {
74919 "text": "\n"
74920 }
74921 ]
74922 },
74923 {
74924 "tag": "table",
74925 "children": [
74926 {
74927 "text": "\n"
74928 },
74929 {
74930 "tag": "tbody",
74931 "children": [
74932 {
74933 "tag": "tr",
74934 "children": [
74935 {
74936 "text": "\n"
74937 },
74938 {
74939 "tag": "td"
74940 }
74941 ]
74942 },
74943 {
74944 "tag": "tr",
74945 "children": [
74946 {
74947 "text": "\n"
74948 }
74949 ]
74950 }
74951 ]
74952 }
74953 ]
74954 },
74955 {
74956 "tag": "table",
74957 "children": [
74958 {
74959 "tag": "tbody",
74960 "children": [
74961 {
74962 "tag": "tr"
74963 }
74964 ]
74965 }
74966 ]
74967 },
74968 {
74969 "tag": "font",
74970 "children": [
74971 {
74972 "text": "\n"
74973 },
74974 {
74975 "tag": "p"
74976 },
74977 {
74978 "text": "\n"
74979 },
74980 {
74981 "tag": "a"
74982 }
74983 ]
74984 },
74985 {
74986 "tag": "a",
74987 "children": [
74988 {
74989 "tag": "font"
74990 }
74991 ]
74992 },
74993 {
74994 "tag": "font",
74995 "children": [
74996 {
74997 "text": "\nThis page contains an insanely badly-nested tag sequence."
74998 }
74999 ]
75000 }
75001 ]
75002 }
75003 ]
75004 }
75005 ],
75006 "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>",
75007 "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>"
75008 }
75009 },
75010 {
75011 "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>",
75012 "errors": [
75013 "(1,6): expected-doctype-but-got-start-tag",
75014 "(3,56): adoption-agency-1.3",
75015 "(4,58): adoption-agency-1.3",
75016 "(5,7): expected-one-end-tag-but-got-another"
75017 ],
75018 "document": {
75019 "props": {
75020 "tags": {
75021 "html": true,
75022 "head": true,
75023 "body": true,
75024 "b": true,
75025 "nobr": true,
75026 "div": true,
75027 "pre": true
75028 }
75029 },
75030 "tree": [
75031 {
75032 "tag": "html",
75033 "children": [
75034 {
75035 "tag": "head"
75036 },
75037 {
75038 "tag": "body",
75039 "children": [
75040 {
75041 "text": "\n"
75042 },
75043 {
75044 "tag": "b",
75045 "children": [
75046 {
75047 "tag": "nobr"
75048 }
75049 ]
75050 },
75051 {
75052 "tag": "div",
75053 "children": [
75054 {
75055 "tag": "b",
75056 "children": [
75057 {
75058 "tag": "nobr",
75059 "children": [
75060 {
75061 "text": "This text is in a div inside a nobr"
75062 }
75063 ]
75064 },
75065 {
75066 "text": "More text that should not be in the nobr, i.e., the\nnobr should have closed the div inside it implicitly. "
75067 }
75068 ]
75069 },
75070 {
75071 "tag": "pre",
75072 "children": [
75073 {
75074 "text": "A pre tag outside everything else."
75075 }
75076 ]
75077 },
75078 {
75079 "text": "\n\n"
75080 }
75081 ]
75082 }
75083 ]
75084 }
75085 ]
75086 }
75087 ],
75088 "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>",
75089 "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>"
75090 }
75091 }
75092 ],
75093 "webkit01.dat": [
75094 {
75095 "data": "Test",
75096 "errors": [
75097 "(1,4): expected-doctype-but-got-chars"
75098 ],
75099 "document": {
75100 "props": {
75101 "tags": {
75102 "html": true,
75103 "head": true,
75104 "body": true
75105 }
75106 },
75107 "tree": [
75108 {
75109 "tag": "html",
75110 "children": [
75111 {
75112 "tag": "head"
75113 },
75114 {
75115 "tag": "body",
75116 "children": [
75117 {
75118 "text": "Test"
75119 }
75120 ]
75121 }
75122 ]
75123 }
75124 ],
75125 "html": "<html><head></head><body>Test</body></html>",
75126 "noQuirksBodyHtml": "Test"
75127 }
75128 },
75129 {
75130 "data": "<div></div>",
75131 "errors": [
75132 "(1,5): expected-doctype-but-got-start-tag"
75133 ],
75134 "document": {
75135 "props": {
75136 "tags": {
75137 "html": true,
75138 "head": true,
75139 "body": true,
75140 "div": true
75141 }
75142 },
75143 "tree": [
75144 {
75145 "tag": "html",
75146 "children": [
75147 {
75148 "tag": "head"
75149 },
75150 {
75151 "tag": "body",
75152 "children": [
75153 {
75154 "tag": "div"
75155 }
75156 ]
75157 }
75158 ]
75159 }
75160 ],
75161 "html": "<html><head></head><body><div></div></body></html>",
75162 "noQuirksBodyHtml": "<div></div>"
75163 }
75164 },
75165 {
75166 "data": "<div>Test</div>",
75167 "errors": [
75168 "(1,5): expected-doctype-but-got-start-tag"
75169 ],
75170 "document": {
75171 "props": {
75172 "tags": {
75173 "html": true,
75174 "head": true,
75175 "body": true,
75176 "div": true
75177 }
75178 },
75179 "tree": [
75180 {
75181 "tag": "html",
75182 "children": [
75183 {
75184 "tag": "head"
75185 },
75186 {
75187 "tag": "body",
75188 "children": [
75189 {
75190 "tag": "div",
75191 "children": [
75192 {
75193 "text": "Test"
75194 }
75195 ]
75196 }
75197 ]
75198 }
75199 ]
75200 }
75201 ],
75202 "html": "<html><head></head><body><div>Test</div></body></html>",
75203 "noQuirksBodyHtml": "<div>Test</div>"
75204 }
75205 },
75206 {
75207 "data": "<di",
75208 "errors": [
75209 "(1,3): eof-in-tag-name",
75210 "(1,3): expected-doctype-but-got-eof"
75211 ],
75212 "document": {
75213 "props": {
75214 "tags": {
75215 "html": true,
75216 "head": true,
75217 "body": true
75218 }
75219 },
75220 "tree": [
75221 {
75222 "tag": "html",
75223 "children": [
75224 {
75225 "tag": "head"
75226 },
75227 {
75228 "tag": "body"
75229 }
75230 ]
75231 }
75232 ],
75233 "html": "<html><head></head><body></body></html>",
75234 "noQuirksBodyHtml": ""
75235 }
75236 },
75237 {
75238 "data": "<div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div>",
75239 "errors": [
75240 "(1,5): expected-doctype-but-got-start-tag"
75241 ],
75242 "document": {
75243 "props": {
75244 "tags": {
75245 "html": true,
75246 "head": true,
75247 "body": true,
75248 "div": true,
75249 "script": true
75250 },
75251 "no_escape": true
75252 },
75253 "tree": [
75254 {
75255 "tag": "html",
75256 "children": [
75257 {
75258 "tag": "head"
75259 },
75260 {
75261 "tag": "body",
75262 "children": [
75263 {
75264 "tag": "div",
75265 "children": [
75266 {
75267 "text": "Hello"
75268 }
75269 ]
75270 },
75271 {
75272 "text": "\n"
75273 },
75274 {
75275 "tag": "script",
75276 "children": [
75277 {
75278 "text": "\nconsole.log(\"PASS\");\n",
75279 "no_escape": true
75280 }
75281 ]
75282 },
75283 {
75284 "text": "\n"
75285 },
75286 {
75287 "tag": "div",
75288 "children": [
75289 {
75290 "text": "Bye"
75291 }
75292 ]
75293 }
75294 ]
75295 }
75296 ]
75297 }
75298 ],
75299 "html": "<html><head></head><body><div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div></body></html>",
75300 "noQuirksBodyHtml": "<div>Hello</div>\n<script>\nconsole.log(\"PASS\");\n</script>\n<div>Bye</div>"
75301 }
75302 },
75303 {
75304 "data": "<div foo=\"bar\">Hello</div>",
75305 "errors": [
75306 "(1,15): expected-doctype-but-got-start-tag"
75307 ],
75308 "document": {
75309 "props": {
75310 "tags": {
75311 "html": true,
75312 "head": true,
75313 "body": true,
75314 "div": true
75315 }
75316 },
75317 "tree": [
75318 {
75319 "tag": "html",
75320 "children": [
75321 {
75322 "tag": "head"
75323 },
75324 {
75325 "tag": "body",
75326 "children": [
75327 {
75328 "tag": "div",
75329 "attrs": [
75330 {
75331 "name": "foo",
75332 "value": "bar"
75333 }
75334 ],
75335 "children": [
75336 {
75337 "text": "Hello"
75338 }
75339 ]
75340 }
75341 ]
75342 }
75343 ]
75344 }
75345 ],
75346 "html": "<html><head></head><body><div foo=\"bar\">Hello</div></body></html>",
75347 "noQuirksBodyHtml": "<div foo=\"bar\">Hello</div>"
75348 }
75349 },
75350 {
75351 "data": "<div>Hello</div>\n<script>\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n</script>\n<div>Bye</div>",
75352 "errors": [
75353 "(1,5): expected-doctype-but-got-start-tag"
75354 ],
75355 "document": {
75356 "props": {
75357 "tags": {
75358 "html": true,
75359 "head": true,
75360 "body": true,
75361 "div": true,
75362 "script": true
75363 },
75364 "no_escape": true
75365 },
75366 "tree": [
75367 {
75368 "tag": "html",
75369 "children": [
75370 {
75371 "tag": "head"
75372 },
75373 {
75374 "tag": "body",
75375 "children": [
75376 {
75377 "tag": "div",
75378 "children": [
75379 {
75380 "text": "Hello"
75381 }
75382 ]
75383 },
75384 {
75385 "text": "\n"
75386 },
75387 {
75388 "tag": "script",
75389 "children": [
75390 {
75391 "text": "\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n",
75392 "no_escape": true
75393 }
75394 ]
75395 },
75396 {
75397 "text": "\n"
75398 },
75399 {
75400 "tag": "div",
75401 "children": [
75402 {
75403 "text": "Bye"
75404 }
75405 ]
75406 }
75407 ]
75408 }
75409 ]
75410 }
75411 ],
75412 "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>",
75413 "noQuirksBodyHtml": "<div>Hello</div>\n<script>\nconsole.log(\"FOO<span>BAR</span>BAZ\");\n</script>\n<div>Bye</div>"
75414 }
75415 },
75416 {
75417 "data": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>",
75418 "errors": [
75419 "(1,15): expected-doctype-but-got-start-tag"
75420 ],
75421 "document": {
75422 "props": {
75423 "tags": {
75424 "html": true,
75425 "head": true,
75426 "body": true,
75427 "foo": true,
75428 "potato": true
75429 }
75430 },
75431 "tree": [
75432 {
75433 "tag": "html",
75434 "children": [
75435 {
75436 "tag": "head"
75437 },
75438 {
75439 "tag": "body",
75440 "children": [
75441 {
75442 "tag": "foo",
75443 "attrs": [
75444 {
75445 "name": "bar",
75446 "value": "baz"
75447 }
75448 ]
75449 },
75450 {
75451 "tag": "potato",
75452 "attrs": [
75453 {
75454 "name": "quack",
75455 "value": "duck"
75456 }
75457 ]
75458 }
75459 ]
75460 }
75461 ]
75462 }
75463 ],
75464 "html": "<html><head></head><body><foo bar=\"baz\"></foo><potato quack=\"duck\"></potato></body></html>",
75465 "noQuirksBodyHtml": "<foo bar=\"baz\"></foo><potato quack=\"duck\"></potato>"
75466 }
75467 },
75468 {
75469 "data": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>",
75470 "errors": [
75471 "(1,15): expected-doctype-but-got-start-tag"
75472 ],
75473 "document": {
75474 "props": {
75475 "tags": {
75476 "html": true,
75477 "head": true,
75478 "body": true,
75479 "foo": true,
75480 "potato": true
75481 }
75482 },
75483 "tree": [
75484 {
75485 "tag": "html",
75486 "children": [
75487 {
75488 "tag": "head"
75489 },
75490 {
75491 "tag": "body",
75492 "children": [
75493 {
75494 "tag": "foo",
75495 "attrs": [
75496 {
75497 "name": "bar",
75498 "value": "baz"
75499 }
75500 ],
75501 "children": [
75502 {
75503 "tag": "potato",
75504 "attrs": [
75505 {
75506 "name": "quack",
75507 "value": "duck"
75508 }
75509 ]
75510 }
75511 ]
75512 }
75513 ]
75514 }
75515 ]
75516 }
75517 ],
75518 "html": "<html><head></head><body><foo bar=\"baz\"><potato quack=\"duck\"></potato></foo></body></html>",
75519 "noQuirksBodyHtml": "<foo bar=\"baz\"><potato quack=\"duck\"></potato></foo>"
75520 }
75521 },
75522 {
75523 "data": "<foo></foo bar=\"baz\"><potato></potato quack=\"duck\">",
75524 "errors": [
75525 "(1,5): expected-doctype-but-got-start-tag",
75526 "(1,21): attributes-in-end-tag",
75527 "(1,51): attributes-in-end-tag"
75528 ],
75529 "document": {
75530 "props": {
75531 "tags": {
75532 "html": true,
75533 "head": true,
75534 "body": true,
75535 "foo": true,
75536 "potato": true
75537 }
75538 },
75539 "tree": [
75540 {
75541 "tag": "html",
75542 "children": [
75543 {
75544 "tag": "head"
75545 },
75546 {
75547 "tag": "body",
75548 "children": [
75549 {
75550 "tag": "foo"
75551 },
75552 {
75553 "tag": "potato"
75554 }
75555 ]
75556 }
75557 ]
75558 }
75559 ],
75560 "html": "<html><head></head><body><foo></foo><potato></potato></body></html>",
75561 "noQuirksBodyHtml": "<foo></foo><potato></potato>"
75562 }
75563 },
75564 {
75565 "data": "</ tttt>",
75566 "errors": [
75567 "(1,2): expected-closing-tag-but-got-char",
75568 "(1,8): expected-doctype-but-got-eof"
75569 ],
75570 "document": {
75571 "props": {
75572 "tags": {
75573 "html": true,
75574 "head": true,
75575 "body": true
75576 },
75577 "comment": true
75578 },
75579 "tree": [
75580 {
75581 "comment": " tttt"
75582 },
75583 {
75584 "tag": "html",
75585 "children": [
75586 {
75587 "tag": "head"
75588 },
75589 {
75590 "tag": "body"
75591 }
75592 ]
75593 }
75594 ],
75595 "html": "<!-- tttt--><html><head></head><body></body></html>",
75596 "noQuirksBodyHtml": "<!-- tttt-->"
75597 }
75598 },
75599 {
75600 "data": "<div FOO ><img><img></div>",
75601 "errors": [
75602 "(1,10): expected-doctype-but-got-start-tag"
75603 ],
75604 "document": {
75605 "props": {
75606 "tags": {
75607 "html": true,
75608 "head": true,
75609 "body": true,
75610 "div": true,
75611 "img": true
75612 }
75613 },
75614 "tree": [
75615 {
75616 "tag": "html",
75617 "children": [
75618 {
75619 "tag": "head"
75620 },
75621 {
75622 "tag": "body",
75623 "children": [
75624 {
75625 "tag": "div",
75626 "attrs": [
75627 {
75628 "name": "foo",
75629 "value": ""
75630 }
75631 ],
75632 "children": [
75633 {
75634 "tag": "img"
75635 },
75636 {
75637 "tag": "img"
75638 }
75639 ]
75640 }
75641 ]
75642 }
75643 ]
75644 }
75645 ],
75646 "html": "<html><head></head><body><div foo=\"\"><img><img></div></body></html>",
75647 "noQuirksBodyHtml": "<div foo=\"\"><img><img></div>"
75648 }
75649 },
75650 {
75651 "data": "<p>Test</p<p>Test2</p>",
75652 "errors": [
75653 "(1,3): expected-doctype-but-got-start-tag",
75654 "(1,13): unexpected-end-tag"
75655 ],
75656 "document": {
75657 "props": {
75658 "tags": {
75659 "html": true,
75660 "head": true,
75661 "body": true,
75662 "p": true
75663 }
75664 },
75665 "tree": [
75666 {
75667 "tag": "html",
75668 "children": [
75669 {
75670 "tag": "head"
75671 },
75672 {
75673 "tag": "body",
75674 "children": [
75675 {
75676 "tag": "p",
75677 "children": [
75678 {
75679 "text": "TestTest2"
75680 }
75681 ]
75682 }
75683 ]
75684 }
75685 ]
75686 }
75687 ],
75688 "html": "<html><head></head><body><p>TestTest2</p></body></html>",
75689 "noQuirksBodyHtml": "<p>TestTest2</p>"
75690 }
75691 },
75692 {
75693 "data": "<rdar://problem/6869687>",
75694 "errors": [
75695 "(1,7): unexpected-character-after-solidus-in-tag",
75696 "(1,8): unexpected-character-after-solidus-in-tag",
75697 "(1,16): unexpected-character-after-solidus-in-tag",
75698 "(1,24): expected-doctype-but-got-start-tag",
75699 "(1,24): expected-closing-tag-but-got-eof"
75700 ],
75701 "document": {
75702 "props": {
75703 "tags": {
75704 "html": true,
75705 "head": true,
75706 "body": true,
75707 "rdar:": true
75708 }
75709 },
75710 "tree": [
75711 {
75712 "tag": "html",
75713 "children": [
75714 {
75715 "tag": "head"
75716 },
75717 {
75718 "tag": "body",
75719 "children": [
75720 {
75721 "tag": "rdar:",
75722 "attrs": [
75723 {
75724 "name": "6869687",
75725 "value": ""
75726 },
75727 {
75728 "name": "problem",
75729 "value": ""
75730 }
75731 ]
75732 }
75733 ]
75734 }
75735 ]
75736 }
75737 ],
75738 "html": "<html><head></head><body><rdar: problem=\"\" 6869687=\"\"></rdar:></body></html>",
75739 "noQuirksBodyHtml": "<rdar: problem=\"\" 6869687=\"\"></rdar:>"
75740 }
75741 },
75742 {
75743 "data": "<A>test< /A>",
75744 "errors": [
75745 "(1,3): expected-doctype-but-got-start-tag",
75746 "(1,8): expected-tag-name",
75747 "(1,12): expected-closing-tag-but-got-eof"
75748 ],
75749 "document": {
75750 "props": {
75751 "tags": {
75752 "html": true,
75753 "head": true,
75754 "body": true,
75755 "a": true
75756 },
75757 "escaped": true
75758 },
75759 "tree": [
75760 {
75761 "tag": "html",
75762 "children": [
75763 {
75764 "tag": "head"
75765 },
75766 {
75767 "tag": "body",
75768 "children": [
75769 {
75770 "tag": "a",
75771 "children": [
75772 {
75773 "text": "test< /A>",
75774 "escaped": true
75775 }
75776 ]
75777 }
75778 ]
75779 }
75780 ]
75781 }
75782 ],
75783 "html": "<html><head></head><body><a>test&lt; /A&gt;</a></body></html>",
75784 "noQuirksBodyHtml": "<a>test&lt; /A&gt;</a>"
75785 }
75786 },
75787 {
75788 "data": "&lt;",
75789 "errors": [
75790 "(1,4): expected-doctype-but-got-chars"
75791 ],
75792 "document": {
75793 "props": {
75794 "tags": {
75795 "html": true,
75796 "head": true,
75797 "body": true
75798 },
75799 "escaped": true
75800 },
75801 "tree": [
75802 {
75803 "tag": "html",
75804 "children": [
75805 {
75806 "tag": "head"
75807 },
75808 {
75809 "tag": "body",
75810 "children": [
75811 {
75812 "text": "<",
75813 "escaped": true
75814 }
75815 ]
75816 }
75817 ]
75818 }
75819 ],
75820 "html": "<html><head></head><body>&lt;</body></html>",
75821 "noQuirksBodyHtml": "&lt;"
75822 }
75823 },
75824 {
75825 "data": "<body foo='bar'><body foo='baz' yo='mama'>",
75826 "errors": [
75827 "(1,16): expected-doctype-but-got-start-tag",
75828 "(1,42): unexpected-start-tag"
75829 ],
75830 "document": {
75831 "props": {
75832 "tags": {
75833 "html": true,
75834 "head": true,
75835 "body": true
75836 }
75837 },
75838 "tree": [
75839 {
75840 "tag": "html",
75841 "children": [
75842 {
75843 "tag": "head"
75844 },
75845 {
75846 "tag": "body",
75847 "attrs": [
75848 {
75849 "name": "foo",
75850 "value": "bar"
75851 },
75852 {
75853 "name": "yo",
75854 "value": "mama"
75855 }
75856 ]
75857 }
75858 ]
75859 }
75860 ],
75861 "html": "<html><head></head><body foo=\"bar\" yo=\"mama\"></body></html>",
75862 "noQuirksBodyHtml": ""
75863 }
75864 },
75865 {
75866 "data": "<body></br foo=\"bar\"></body>",
75867 "errors": [
75868 "(1,6): expected-doctype-but-got-start-tag",
75869 "(1,21): attributes-in-end-tag",
75870 "(1,21): unexpected-end-tag-treated-as"
75871 ],
75872 "document": {
75873 "props": {
75874 "tags": {
75875 "html": true,
75876 "head": true,
75877 "body": true,
75878 "br": true
75879 }
75880 },
75881 "tree": [
75882 {
75883 "tag": "html",
75884 "children": [
75885 {
75886 "tag": "head"
75887 },
75888 {
75889 "tag": "body",
75890 "children": [
75891 {
75892 "tag": "br"
75893 }
75894 ]
75895 }
75896 ]
75897 }
75898 ],
75899 "html": "<html><head></head><body><br></body></html>",
75900 "noQuirksBodyHtml": "<br>"
75901 }
75902 },
75903 {
75904 "data": "<bdy><br foo=\"bar\"></body>",
75905 "errors": [
75906 "(1,5): expected-doctype-but-got-start-tag",
75907 "(1,26): expected-one-end-tag-but-got-another"
75908 ],
75909 "document": {
75910 "props": {
75911 "tags": {
75912 "html": true,
75913 "head": true,
75914 "body": true,
75915 "bdy": true,
75916 "br": true
75917 }
75918 },
75919 "tree": [
75920 {
75921 "tag": "html",
75922 "children": [
75923 {
75924 "tag": "head"
75925 },
75926 {
75927 "tag": "body",
75928 "children": [
75929 {
75930 "tag": "bdy",
75931 "children": [
75932 {
75933 "tag": "br",
75934 "attrs": [
75935 {
75936 "name": "foo",
75937 "value": "bar"
75938 }
75939 ]
75940 }
75941 ]
75942 }
75943 ]
75944 }
75945 ]
75946 }
75947 ],
75948 "html": "<html><head></head><body><bdy><br foo=\"bar\"></bdy></body></html>",
75949 "noQuirksBodyHtml": "<bdy><br foo=\"bar\"></bdy>"
75950 }
75951 },
75952 {
75953 "data": "<body></body></br foo=\"bar\">",
75954 "errors": [
75955 "(1,6): expected-doctype-but-got-start-tag",
75956 "(1,28): attributes-in-end-tag",
75957 "(1,28): unexpected-end-tag-after-body",
75958 "(1,28): unexpected-end-tag-treated-as"
75959 ],
75960 "document": {
75961 "props": {
75962 "tags": {
75963 "html": true,
75964 "head": true,
75965 "body": true,
75966 "br": true
75967 }
75968 },
75969 "tree": [
75970 {
75971 "tag": "html",
75972 "children": [
75973 {
75974 "tag": "head"
75975 },
75976 {
75977 "tag": "body",
75978 "children": [
75979 {
75980 "tag": "br"
75981 }
75982 ]
75983 }
75984 ]
75985 }
75986 ],
75987 "html": "<html><head></head><body><br></body></html>",
75988 "noQuirksBodyHtml": "<br>"
75989 }
75990 },
75991 {
75992 "data": "<bdy></body><br foo=\"bar\">",
75993 "errors": [
75994 "(1,5): expected-doctype-but-got-start-tag",
75995 "(1,12): expected-one-end-tag-but-got-another",
75996 "(1,26): unexpected-start-tag-after-body",
75997 "(1,26): expected-closing-tag-but-got-eof"
75998 ],
75999 "document": {
76000 "props": {
76001 "tags": {
76002 "html": true,
76003 "head": true,
76004 "body": true,
76005 "bdy": true,
76006 "br": true
76007 }
76008 },
76009 "tree": [
76010 {
76011 "tag": "html",
76012 "children": [
76013 {
76014 "tag": "head"
76015 },
76016 {
76017 "tag": "body",
76018 "children": [
76019 {
76020 "tag": "bdy",
76021 "children": [
76022 {
76023 "tag": "br",
76024 "attrs": [
76025 {
76026 "name": "foo",
76027 "value": "bar"
76028 }
76029 ]
76030 }
76031 ]
76032 }
76033 ]
76034 }
76035 ]
76036 }
76037 ],
76038 "html": "<html><head></head><body><bdy><br foo=\"bar\"></bdy></body></html>",
76039 "noQuirksBodyHtml": "<bdy><br foo=\"bar\"></bdy>"
76040 }
76041 },
76042 {
76043 "data": "<html><body></body></html><!-- Hi there -->",
76044 "errors": [
76045 "(1,6): expected-doctype-but-got-start-tag"
76046 ],
76047 "document": {
76048 "props": {
76049 "tags": {
76050 "html": true,
76051 "head": true,
76052 "body": true
76053 },
76054 "comment": true
76055 },
76056 "tree": [
76057 {
76058 "tag": "html",
76059 "children": [
76060 {
76061 "tag": "head"
76062 },
76063 {
76064 "tag": "body"
76065 }
76066 ]
76067 },
76068 {
76069 "comment": " Hi there "
76070 }
76071 ],
76072 "html": "<html><head></head><body></body></html><!-- Hi there -->",
76073 "noQuirksBodyHtml": "<!-- Hi there -->"
76074 }
76075 },
76076 {
76077 "data": "<html><body></body></html>x<!-- Hi there -->",
76078 "errors": [
76079 "(1,6): expected-doctype-but-got-start-tag",
76080 "(1,27): expected-eof-but-got-char"
76081 ],
76082 "document": {
76083 "props": {
76084 "tags": {
76085 "html": true,
76086 "head": true,
76087 "body": true
76088 },
76089 "comment": true
76090 },
76091 "tree": [
76092 {
76093 "tag": "html",
76094 "children": [
76095 {
76096 "tag": "head"
76097 },
76098 {
76099 "tag": "body",
76100 "children": [
76101 {
76102 "text": "x"
76103 },
76104 {
76105 "comment": " Hi there "
76106 }
76107 ]
76108 }
76109 ]
76110 }
76111 ],
76112 "html": "<html><head></head><body>x<!-- Hi there --></body></html>",
76113 "noQuirksBodyHtml": "x<!-- Hi there -->"
76114 }
76115 },
76116 {
76117 "data": "<html><body></body></html>x<!-- Hi there --></html><!-- Again -->",
76118 "errors": [
76119 "(1,6): expected-doctype-but-got-start-tag",
76120 "(1,27): expected-eof-but-got-char"
76121 ],
76122 "document": {
76123 "props": {
76124 "tags": {
76125 "html": true,
76126 "head": true,
76127 "body": true
76128 },
76129 "comment": true
76130 },
76131 "tree": [
76132 {
76133 "tag": "html",
76134 "children": [
76135 {
76136 "tag": "head"
76137 },
76138 {
76139 "tag": "body",
76140 "children": [
76141 {
76142 "text": "x"
76143 },
76144 {
76145 "comment": " Hi there "
76146 }
76147 ]
76148 }
76149 ]
76150 },
76151 {
76152 "comment": " Again "
76153 }
76154 ],
76155 "html": "<html><head></head><body>x<!-- Hi there --></body></html><!-- Again -->",
76156 "noQuirksBodyHtml": "x<!-- Hi there --><!-- Again -->"
76157 }
76158 },
76159 {
76160 "data": "<html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->",
76161 "errors": [
76162 "(1,6): expected-doctype-but-got-start-tag",
76163 "(1,27): expected-eof-but-got-char"
76164 ],
76165 "document": {
76166 "props": {
76167 "tags": {
76168 "html": true,
76169 "head": true,
76170 "body": true
76171 },
76172 "comment": true
76173 },
76174 "tree": [
76175 {
76176 "tag": "html",
76177 "children": [
76178 {
76179 "tag": "head"
76180 },
76181 {
76182 "tag": "body",
76183 "children": [
76184 {
76185 "text": "x"
76186 },
76187 {
76188 "comment": " Hi there "
76189 }
76190 ]
76191 }
76192 ]
76193 },
76194 {
76195 "comment": " Again "
76196 }
76197 ],
76198 "html": "<html><head></head><body>x<!-- Hi there --></body></html><!-- Again -->",
76199 "noQuirksBodyHtml": "x<!-- Hi there --><!-- Again -->"
76200 }
76201 },
76202 {
76203 "data": "<html><body><ruby><div><rp>xx</rp></div></ruby></body></html>",
76204 "errors": [
76205 "(1,6): expected-doctype-but-got-start-tag",
76206 "(1,27): XXX-undefined-error"
76207 ],
76208 "document": {
76209 "props": {
76210 "tags": {
76211 "html": true,
76212 "head": true,
76213 "body": true,
76214 "ruby": true,
76215 "div": true,
76216 "rp": true
76217 }
76218 },
76219 "tree": [
76220 {
76221 "tag": "html",
76222 "children": [
76223 {
76224 "tag": "head"
76225 },
76226 {
76227 "tag": "body",
76228 "children": [
76229 {
76230 "tag": "ruby",
76231 "children": [
76232 {
76233 "tag": "div",
76234 "children": [
76235 {
76236 "tag": "rp",
76237 "children": [
76238 {
76239 "text": "xx"
76240 }
76241 ]
76242 }
76243 ]
76244 }
76245 ]
76246 }
76247 ]
76248 }
76249 ]
76250 }
76251 ],
76252 "html": "<html><head></head><body><ruby><div><rp>xx</rp></div></ruby></body></html>",
76253 "noQuirksBodyHtml": "<ruby><div><rp>xx</rp></div></ruby>"
76254 }
76255 },
76256 {
76257 "data": "<html><body><ruby><div><rt>xx</rt></div></ruby></body></html>",
76258 "errors": [
76259 "(1,6): expected-doctype-but-got-start-tag",
76260 "(1,27): XXX-undefined-error"
76261 ],
76262 "document": {
76263 "props": {
76264 "tags": {
76265 "html": true,
76266 "head": true,
76267 "body": true,
76268 "ruby": true,
76269 "div": true,
76270 "rt": true
76271 }
76272 },
76273 "tree": [
76274 {
76275 "tag": "html",
76276 "children": [
76277 {
76278 "tag": "head"
76279 },
76280 {
76281 "tag": "body",
76282 "children": [
76283 {
76284 "tag": "ruby",
76285 "children": [
76286 {
76287 "tag": "div",
76288 "children": [
76289 {
76290 "tag": "rt",
76291 "children": [
76292 {
76293 "text": "xx"
76294 }
76295 ]
76296 }
76297 ]
76298 }
76299 ]
76300 }
76301 ]
76302 }
76303 ]
76304 }
76305 ],
76306 "html": "<html><head></head><body><ruby><div><rt>xx</rt></div></ruby></body></html>",
76307 "noQuirksBodyHtml": "<ruby><div><rt>xx</rt></div></ruby>"
76308 }
76309 },
76310 {
76311 "data": "<html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->",
76312 "errors": [
76313 "(1,6): expected-doctype-but-got-start-tag"
76314 ],
76315 "document": {
76316 "props": {
76317 "tags": {
76318 "html": true,
76319 "head": true,
76320 "frameset": true,
76321 "noframes": true
76322 },
76323 "comment": true,
76324 "no_escape": true
76325 },
76326 "tree": [
76327 {
76328 "tag": "html",
76329 "children": [
76330 {
76331 "tag": "head"
76332 },
76333 {
76334 "tag": "frameset",
76335 "children": [
76336 {
76337 "comment": "1"
76338 },
76339 {
76340 "tag": "noframes",
76341 "children": [
76342 {
76343 "text": "A",
76344 "no_escape": true
76345 }
76346 ]
76347 },
76348 {
76349 "comment": "2"
76350 }
76351 ]
76352 },
76353 {
76354 "comment": "3"
76355 },
76356 {
76357 "tag": "noframes",
76358 "children": [
76359 {
76360 "text": "B",
76361 "no_escape": true
76362 }
76363 ]
76364 },
76365 {
76366 "comment": "4"
76367 },
76368 {
76369 "tag": "noframes",
76370 "children": [
76371 {
76372 "text": "C",
76373 "no_escape": true
76374 }
76375 ]
76376 }
76377 ]
76378 },
76379 {
76380 "comment": "5"
76381 },
76382 {
76383 "comment": "6"
76384 }
76385 ],
76386 "html": "<html><head></head><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--><noframes>C</noframes></html><!--5--><!--6-->",
76387 "noQuirksBodyHtml": "<!--1--><noframes>A</noframes><!--2--><!--3--><noframes>B</noframes><!--4--><!--5--><noframes>C</noframes><!--6-->"
76388 }
76389 },
76390 {
76391 "data": "<select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>",
76392 "errors": [
76393 "(1,8): expected-doctype-but-got-start-tag",
76394 "(1,25): unexpected-select-in-select",
76395 "(1,59): unexpected-select-in-select",
76396 "(1,93): unexpected-select-in-select",
76397 "(1,127): unexpected-select-in-select",
76398 "(1,127): expected-closing-tag-but-got-eof"
76399 ],
76400 "document": {
76401 "props": {
76402 "tags": {
76403 "html": true,
76404 "head": true,
76405 "body": true,
76406 "select": true,
76407 "option": true
76408 }
76409 },
76410 "tree": [
76411 {
76412 "tag": "html",
76413 "children": [
76414 {
76415 "tag": "head"
76416 },
76417 {
76418 "tag": "body",
76419 "children": [
76420 {
76421 "tag": "select",
76422 "children": [
76423 {
76424 "tag": "option",
76425 "children": [
76426 {
76427 "text": "A"
76428 }
76429 ]
76430 }
76431 ]
76432 },
76433 {
76434 "tag": "option",
76435 "children": [
76436 {
76437 "text": "B"
76438 },
76439 {
76440 "tag": "select",
76441 "children": [
76442 {
76443 "tag": "option",
76444 "children": [
76445 {
76446 "text": "C"
76447 }
76448 ]
76449 }
76450 ]
76451 }
76452 ]
76453 },
76454 {
76455 "tag": "option",
76456 "children": [
76457 {
76458 "text": "D"
76459 },
76460 {
76461 "tag": "select",
76462 "children": [
76463 {
76464 "tag": "option",
76465 "children": [
76466 {
76467 "text": "E"
76468 }
76469 ]
76470 }
76471 ]
76472 }
76473 ]
76474 },
76475 {
76476 "tag": "option",
76477 "children": [
76478 {
76479 "text": "F"
76480 },
76481 {
76482 "tag": "select",
76483 "children": [
76484 {
76485 "tag": "option",
76486 "children": [
76487 {
76488 "text": "G"
76489 }
76490 ]
76491 }
76492 ]
76493 }
76494 ]
76495 }
76496 ]
76497 }
76498 ]
76499 }
76500 ],
76501 "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>",
76502 "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>"
76503 }
76504 },
76505 {
76506 "data": "<dd><dd><dt><dt><dd><li><li>",
76507 "errors": [
76508 "(1,4): expected-doctype-but-got-start-tag"
76509 ],
76510 "document": {
76511 "props": {
76512 "tags": {
76513 "html": true,
76514 "head": true,
76515 "body": true,
76516 "dd": true,
76517 "dt": true,
76518 "li": true
76519 }
76520 },
76521 "tree": [
76522 {
76523 "tag": "html",
76524 "children": [
76525 {
76526 "tag": "head"
76527 },
76528 {
76529 "tag": "body",
76530 "children": [
76531 {
76532 "tag": "dd"
76533 },
76534 {
76535 "tag": "dd"
76536 },
76537 {
76538 "tag": "dt"
76539 },
76540 {
76541 "tag": "dt"
76542 },
76543 {
76544 "tag": "dd",
76545 "children": [
76546 {
76547 "tag": "li"
76548 },
76549 {
76550 "tag": "li"
76551 }
76552 ]
76553 }
76554 ]
76555 }
76556 ]
76557 }
76558 ],
76559 "html": "<html><head></head><body><dd></dd><dd></dd><dt></dt><dt></dt><dd><li></li><li></li></dd></body></html>",
76560 "noQuirksBodyHtml": "<dd></dd><dd></dd><dt></dt><dt></dt><dd><li></li><li></li></dd>"
76561 }
76562 },
76563 {
76564 "data": "<div><b></div><div><nobr>a<nobr>",
76565 "errors": [
76566 "(1,5): expected-doctype-but-got-start-tag",
76567 "(1,14): end-tag-too-early",
76568 "(1,32): unexpected-start-tag-implies-end-tag",
76569 "(1,32): expected-closing-tag-but-got-eof"
76570 ],
76571 "document": {
76572 "props": {
76573 "tags": {
76574 "html": true,
76575 "head": true,
76576 "body": true,
76577 "div": true,
76578 "b": true,
76579 "nobr": true
76580 }
76581 },
76582 "tree": [
76583 {
76584 "tag": "html",
76585 "children": [
76586 {
76587 "tag": "head"
76588 },
76589 {
76590 "tag": "body",
76591 "children": [
76592 {
76593 "tag": "div",
76594 "children": [
76595 {
76596 "tag": "b"
76597 }
76598 ]
76599 },
76600 {
76601 "tag": "div",
76602 "children": [
76603 {
76604 "tag": "b",
76605 "children": [
76606 {
76607 "tag": "nobr",
76608 "children": [
76609 {
76610 "text": "a"
76611 }
76612 ]
76613 },
76614 {
76615 "tag": "nobr"
76616 }
76617 ]
76618 }
76619 ]
76620 }
76621 ]
76622 }
76623 ]
76624 }
76625 ],
76626 "html": "<html><head></head><body><div><b></b></div><div><b><nobr>a</nobr><nobr></nobr></b></div></body></html>",
76627 "noQuirksBodyHtml": "<div><b></b></div><div><b><nobr>a</nobr><nobr></nobr></b></div>"
76628 }
76629 },
76630 {
76631 "data": "<head></head>\n<body></body>",
76632 "errors": [
76633 "(1,6): expected-doctype-but-got-start-tag"
76634 ],
76635 "document": {
76636 "props": {
76637 "tags": {
76638 "html": true,
76639 "head": true,
76640 "body": true
76641 }
76642 },
76643 "tree": [
76644 {
76645 "tag": "html",
76646 "children": [
76647 {
76648 "tag": "head"
76649 },
76650 {
76651 "text": "\n"
76652 },
76653 {
76654 "tag": "body"
76655 }
76656 ]
76657 }
76658 ],
76659 "html": "<html><head></head>\n<body></body></html>",
76660 "noQuirksBodyHtml": "\n"
76661 }
76662 },
76663 {
76664 "data": "<head></head> <style></style>ddd",
76665 "errors": [
76666 "(1,6): expected-doctype-but-got-start-tag",
76667 "(1,21): unexpected-start-tag-out-of-my-head"
76668 ],
76669 "document": {
76670 "props": {
76671 "tags": {
76672 "html": true,
76673 "head": true,
76674 "style": true,
76675 "body": true
76676 }
76677 },
76678 "tree": [
76679 {
76680 "tag": "html",
76681 "children": [
76682 {
76683 "tag": "head",
76684 "children": [
76685 {
76686 "tag": "style"
76687 }
76688 ]
76689 },
76690 {
76691 "text": " "
76692 },
76693 {
76694 "tag": "body",
76695 "children": [
76696 {
76697 "text": "ddd"
76698 }
76699 ]
76700 }
76701 ]
76702 }
76703 ],
76704 "html": "<html><head><style></style></head> <body>ddd</body></html>",
76705 "noQuirksBodyHtml": " <style></style>ddd"
76706 }
76707 },
76708 {
76709 "data": "<kbd><table></kbd><col><select><tr>",
76710 "errors": [
76711 "(1,5): expected-doctype-but-got-start-tag",
76712 "(1,18): unexpected-end-tag-implies-table-voodoo",
76713 "(1,18): unexpected-end-tag",
76714 "(1,31): unexpected-start-tag-implies-table-voodoo",
76715 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
76716 "(1,35): eof-in-table"
76717 ],
76718 "document": {
76719 "props": {
76720 "tags": {
76721 "html": true,
76722 "head": true,
76723 "body": true,
76724 "kbd": true,
76725 "select": true,
76726 "table": true,
76727 "colgroup": true,
76728 "col": true,
76729 "tbody": true,
76730 "tr": true
76731 }
76732 },
76733 "tree": [
76734 {
76735 "tag": "html",
76736 "children": [
76737 {
76738 "tag": "head"
76739 },
76740 {
76741 "tag": "body",
76742 "children": [
76743 {
76744 "tag": "kbd",
76745 "children": [
76746 {
76747 "tag": "select"
76748 },
76749 {
76750 "tag": "table",
76751 "children": [
76752 {
76753 "tag": "colgroup",
76754 "children": [
76755 {
76756 "tag": "col"
76757 }
76758 ]
76759 },
76760 {
76761 "tag": "tbody",
76762 "children": [
76763 {
76764 "tag": "tr"
76765 }
76766 ]
76767 }
76768 ]
76769 }
76770 ]
76771 }
76772 ]
76773 }
76774 ]
76775 }
76776 ],
76777 "html": "<html><head></head><body><kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table></kbd></body></html>",
76778 "noQuirksBodyHtml": "<kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table></kbd>"
76779 }
76780 },
76781 {
76782 "data": "<kbd><table></kbd><col><select><tr></table><div>",
76783 "errors": [
76784 "(1,5): expected-doctype-but-got-start-tag",
76785 "(1,18): unexpected-end-tag-implies-table-voodoo",
76786 "(1,18): unexpected-end-tag",
76787 "(1,31): unexpected-start-tag-implies-table-voodoo",
76788 "(1,35): unexpected-table-element-start-tag-in-select-in-table",
76789 "(1,48): expected-closing-tag-but-got-eof"
76790 ],
76791 "document": {
76792 "props": {
76793 "tags": {
76794 "html": true,
76795 "head": true,
76796 "body": true,
76797 "kbd": true,
76798 "select": true,
76799 "table": true,
76800 "colgroup": true,
76801 "col": true,
76802 "tbody": true,
76803 "tr": true,
76804 "div": true
76805 }
76806 },
76807 "tree": [
76808 {
76809 "tag": "html",
76810 "children": [
76811 {
76812 "tag": "head"
76813 },
76814 {
76815 "tag": "body",
76816 "children": [
76817 {
76818 "tag": "kbd",
76819 "children": [
76820 {
76821 "tag": "select"
76822 },
76823 {
76824 "tag": "table",
76825 "children": [
76826 {
76827 "tag": "colgroup",
76828 "children": [
76829 {
76830 "tag": "col"
76831 }
76832 ]
76833 },
76834 {
76835 "tag": "tbody",
76836 "children": [
76837 {
76838 "tag": "tr"
76839 }
76840 ]
76841 }
76842 ]
76843 },
76844 {
76845 "tag": "div"
76846 }
76847 ]
76848 }
76849 ]
76850 }
76851 ]
76852 }
76853 ],
76854 "html": "<html><head></head><body><kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table><div></div></kbd></body></html>",
76855 "noQuirksBodyHtml": "<kbd><select></select><table><colgroup><col></colgroup><tbody><tr></tr></tbody></table><div></div></kbd>"
76856 }
76857 },
76858 {
76859 "data": "<a><li><style></style><title></title></a>",
76860 "errors": [
76861 "(1,3): expected-doctype-but-got-start-tag",
76862 "(1,41): adoption-agency-1.3"
76863 ],
76864 "document": {
76865 "props": {
76866 "tags": {
76867 "html": true,
76868 "head": true,
76869 "body": true,
76870 "a": true,
76871 "li": true,
76872 "style": true,
76873 "title": true
76874 }
76875 },
76876 "tree": [
76877 {
76878 "tag": "html",
76879 "children": [
76880 {
76881 "tag": "head"
76882 },
76883 {
76884 "tag": "body",
76885 "children": [
76886 {
76887 "tag": "a"
76888 },
76889 {
76890 "tag": "li",
76891 "children": [
76892 {
76893 "tag": "a",
76894 "children": [
76895 {
76896 "tag": "style"
76897 },
76898 {
76899 "tag": "title"
76900 }
76901 ]
76902 }
76903 ]
76904 }
76905 ]
76906 }
76907 ]
76908 }
76909 ],
76910 "html": "<html><head></head><body><a></a><li><a><style></style><title></title></a></li></body></html>",
76911 "noQuirksBodyHtml": "<a></a><li><a><style></style><title></title></a></li>"
76912 }
76913 },
76914 {
76915 "data": "<font></p><p><meta><title></title></font>",
76916 "errors": [
76917 "(1,6): expected-doctype-but-got-start-tag",
76918 "(1,10): unexpected-end-tag",
76919 "(1,41): adoption-agency-1.3"
76920 ],
76921 "document": {
76922 "props": {
76923 "tags": {
76924 "html": true,
76925 "head": true,
76926 "body": true,
76927 "font": true,
76928 "p": true,
76929 "meta": true,
76930 "title": true
76931 }
76932 },
76933 "tree": [
76934 {
76935 "tag": "html",
76936 "children": [
76937 {
76938 "tag": "head"
76939 },
76940 {
76941 "tag": "body",
76942 "children": [
76943 {
76944 "tag": "font",
76945 "children": [
76946 {
76947 "tag": "p"
76948 }
76949 ]
76950 },
76951 {
76952 "tag": "p",
76953 "children": [
76954 {
76955 "tag": "font",
76956 "children": [
76957 {
76958 "tag": "meta"
76959 },
76960 {
76961 "tag": "title"
76962 }
76963 ]
76964 }
76965 ]
76966 }
76967 ]
76968 }
76969 ]
76970 }
76971 ],
76972 "html": "<html><head></head><body><font><p></p></font><p><font><meta><title></title></font></p></body></html>",
76973 "noQuirksBodyHtml": "<font><p></p></font><p><font><meta><title></title></font></p>"
76974 }
76975 },
76976 {
76977 "data": "<a><center><title></title><a>",
76978 "errors": [
76979 "(1,3): expected-doctype-but-got-start-tag",
76980 "(1,29): unexpected-start-tag-implies-end-tag",
76981 "(1,29): adoption-agency-1.3",
76982 "(1,29): expected-closing-tag-but-got-eof"
76983 ],
76984 "document": {
76985 "props": {
76986 "tags": {
76987 "html": true,
76988 "head": true,
76989 "body": true,
76990 "a": true,
76991 "center": true,
76992 "title": true
76993 }
76994 },
76995 "tree": [
76996 {
76997 "tag": "html",
76998 "children": [
76999 {
77000 "tag": "head"
77001 },
77002 {
77003 "tag": "body",
77004 "children": [
77005 {
77006 "tag": "a"
77007 },
77008 {
77009 "tag": "center",
77010 "children": [
77011 {
77012 "tag": "a",
77013 "children": [
77014 {
77015 "tag": "title"
77016 }
77017 ]
77018 },
77019 {
77020 "tag": "a"
77021 }
77022 ]
77023 }
77024 ]
77025 }
77026 ]
77027 }
77028 ],
77029 "html": "<html><head></head><body><a></a><center><a><title></title></a><a></a></center></body></html>",
77030 "noQuirksBodyHtml": "<a></a><center><a><title></title></a><a></a></center>"
77031 }
77032 },
77033 {
77034 "data": "<svg><title><div>",
77035 "errors": [
77036 "(1,5): expected-doctype-but-got-start-tag",
77037 "(1,17): expected-closing-tag-but-got-eof"
77038 ],
77039 "document": {
77040 "props": {
77041 "tags": {
77042 "html": true,
77043 "head": true,
77044 "body": true,
77045 "svg svg": true,
77046 "svg title": true,
77047 "div": true
77048 }
77049 },
77050 "tree": [
77051 {
77052 "tag": "html",
77053 "children": [
77054 {
77055 "tag": "head"
77056 },
77057 {
77058 "tag": "body",
77059 "children": [
77060 {
77061 "tag": "svg",
77062 "ns": "http://www.w3.org/2000/svg",
77063 "children": [
77064 {
77065 "tag": "title",
77066 "ns": "http://www.w3.org/2000/svg",
77067 "children": [
77068 {
77069 "tag": "div"
77070 }
77071 ]
77072 }
77073 ]
77074 }
77075 ]
77076 }
77077 ]
77078 }
77079 ],
77080 "html": "<html><head></head><body><svg><title><div></div></title></svg></body></html>",
77081 "noQuirksBodyHtml": "<svg><title><div></div></title></svg>"
77082 }
77083 },
77084 {
77085 "data": "<svg><title><rect><div>",
77086 "errors": [
77087 "(1,5): expected-doctype-but-got-start-tag",
77088 "(1,23): expected-closing-tag-but-got-eof"
77089 ],
77090 "document": {
77091 "props": {
77092 "tags": {
77093 "html": true,
77094 "head": true,
77095 "body": true,
77096 "svg svg": true,
77097 "svg title": true,
77098 "rect": true,
77099 "div": true
77100 }
77101 },
77102 "tree": [
77103 {
77104 "tag": "html",
77105 "children": [
77106 {
77107 "tag": "head"
77108 },
77109 {
77110 "tag": "body",
77111 "children": [
77112 {
77113 "tag": "svg",
77114 "ns": "http://www.w3.org/2000/svg",
77115 "children": [
77116 {
77117 "tag": "title",
77118 "ns": "http://www.w3.org/2000/svg",
77119 "children": [
77120 {
77121 "tag": "rect",
77122 "children": [
77123 {
77124 "tag": "div"
77125 }
77126 ]
77127 }
77128 ]
77129 }
77130 ]
77131 }
77132 ]
77133 }
77134 ]
77135 }
77136 ],
77137 "html": "<html><head></head><body><svg><title><rect><div></div></rect></title></svg></body></html>",
77138 "noQuirksBodyHtml": "<svg><title><rect><div></div></rect></title></svg>"
77139 }
77140 },
77141 {
77142 "data": "<svg><title><svg><div>",
77143 "errors": [
77144 "(1,5): expected-doctype-but-got-start-tag",
77145 "(1,22): unexpected-html-element-in-foreign-content",
77146 "(1,22): expected-closing-tag-but-got-eof"
77147 ],
77148 "document": {
77149 "props": {
77150 "tags": {
77151 "html": true,
77152 "head": true,
77153 "body": true,
77154 "svg svg": true,
77155 "svg title": true,
77156 "div": true
77157 }
77158 },
77159 "tree": [
77160 {
77161 "tag": "html",
77162 "children": [
77163 {
77164 "tag": "head"
77165 },
77166 {
77167 "tag": "body",
77168 "children": [
77169 {
77170 "tag": "svg",
77171 "ns": "http://www.w3.org/2000/svg",
77172 "children": [
77173 {
77174 "tag": "title",
77175 "ns": "http://www.w3.org/2000/svg",
77176 "children": [
77177 {
77178 "tag": "svg",
77179 "ns": "http://www.w3.org/2000/svg"
77180 },
77181 {
77182 "tag": "div"
77183 }
77184 ]
77185 }
77186 ]
77187 }
77188 ]
77189 }
77190 ]
77191 }
77192 ],
77193 "html": "<html><head></head><body><svg><title><svg></svg><div></div></title></svg></body></html>",
77194 "noQuirksBodyHtml": "<svg><title><svg><div></div></svg></title></svg>"
77195 }
77196 },
77197 {
77198 "data": "<img <=\"\" FAIL>",
77199 "errors": [
77200 "(1,6): invalid-character-in-attribute-name",
77201 "(1,15): expected-doctype-but-got-start-tag"
77202 ],
77203 "document": {
77204 "props": {
77205 "tags": {
77206 "html": true,
77207 "head": true,
77208 "body": true,
77209 "img": true
77210 },
77211 "attrWithFunnyChar": true
77212 },
77213 "tree": [
77214 {
77215 "tag": "html",
77216 "children": [
77217 {
77218 "tag": "head"
77219 },
77220 {
77221 "tag": "body",
77222 "children": [
77223 {
77224 "tag": "img",
77225 "attrs": [
77226 {
77227 "name": "<",
77228 "value": ""
77229 },
77230 {
77231 "name": "fail",
77232 "value": ""
77233 }
77234 ]
77235 }
77236 ]
77237 }
77238 ]
77239 }
77240 ],
77241 "html": "<html><head></head><body><img <=\"\" fail=\"\"></body></html>",
77242 "noQuirksBodyHtml": "<img <=\"\" fail=\"\">"
77243 }
77244 },
77245 {
77246 "data": "<ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul>",
77247 "errors": [
77248 "(1,4): expected-doctype-but-got-start-tag",
77249 "(1,23): non-void-element-with-trailing-solidus",
77250 "(1,29): end-tag-too-early"
77251 ],
77252 "document": {
77253 "props": {
77254 "tags": {
77255 "html": true,
77256 "head": true,
77257 "body": true,
77258 "ul": true,
77259 "li": true,
77260 "div": true
77261 }
77262 },
77263 "tree": [
77264 {
77265 "tag": "html",
77266 "children": [
77267 {
77268 "tag": "head"
77269 },
77270 {
77271 "tag": "body",
77272 "children": [
77273 {
77274 "tag": "ul",
77275 "children": [
77276 {
77277 "tag": "li",
77278 "children": [
77279 {
77280 "tag": "div",
77281 "attrs": [
77282 {
77283 "name": "id",
77284 "value": "foo"
77285 }
77286 ],
77287 "children": [
77288 {
77289 "text": "A"
77290 }
77291 ]
77292 }
77293 ]
77294 },
77295 {
77296 "tag": "li",
77297 "children": [
77298 {
77299 "text": "B"
77300 },
77301 {
77302 "tag": "div",
77303 "children": [
77304 {
77305 "text": "C"
77306 }
77307 ]
77308 }
77309 ]
77310 }
77311 ]
77312 }
77313 ]
77314 }
77315 ]
77316 }
77317 ],
77318 "html": "<html><head></head><body><ul><li><div id=\"foo\">A</div></li><li>B<div>C</div></li></ul></body></html>",
77319 "noQuirksBodyHtml": "<ul><li><div id=\"foo\">A</div></li><li>B<div>C</div></li></ul>"
77320 }
77321 },
77322 {
77323 "data": "<svg><em><desc></em>",
77324 "errors": [
77325 "(1,5): expected-doctype-but-got-start-tag",
77326 "(1,9): unexpected-html-element-in-foreign-content",
77327 "(1,20): adoption-agency-1.3"
77328 ],
77329 "document": {
77330 "props": {
77331 "tags": {
77332 "html": true,
77333 "head": true,
77334 "body": true,
77335 "svg svg": true,
77336 "em": true,
77337 "desc": true
77338 }
77339 },
77340 "tree": [
77341 {
77342 "tag": "html",
77343 "children": [
77344 {
77345 "tag": "head"
77346 },
77347 {
77348 "tag": "body",
77349 "children": [
77350 {
77351 "tag": "svg",
77352 "ns": "http://www.w3.org/2000/svg"
77353 },
77354 {
77355 "tag": "em",
77356 "children": [
77357 {
77358 "tag": "desc"
77359 }
77360 ]
77361 }
77362 ]
77363 }
77364 ]
77365 }
77366 ],
77367 "html": "<html><head></head><body><svg></svg><em><desc></desc></em></body></html>",
77368 "noQuirksBodyHtml": "<svg><em><desc></desc></em></svg>"
77369 }
77370 },
77371 {
77372 "data": "<table><tr><td><svg><desc><td></desc><circle>",
77373 "errors": [],
77374 "document": {
77375 "props": {
77376 "tags": {
77377 "html": true,
77378 "head": true,
77379 "body": true,
77380 "table": true,
77381 "tbody": true,
77382 "tr": true,
77383 "td": true,
77384 "svg svg": true,
77385 "svg desc": true,
77386 "circle": true
77387 }
77388 },
77389 "tree": [
77390 {
77391 "tag": "html",
77392 "children": [
77393 {
77394 "tag": "head"
77395 },
77396 {
77397 "tag": "body",
77398 "children": [
77399 {
77400 "tag": "table",
77401 "children": [
77402 {
77403 "tag": "tbody",
77404 "children": [
77405 {
77406 "tag": "tr",
77407 "children": [
77408 {
77409 "tag": "td",
77410 "children": [
77411 {
77412 "tag": "svg",
77413 "ns": "http://www.w3.org/2000/svg",
77414 "children": [
77415 {
77416 "tag": "desc",
77417 "ns": "http://www.w3.org/2000/svg"
77418 }
77419 ]
77420 }
77421 ]
77422 },
77423 {
77424 "tag": "td",
77425 "children": [
77426 {
77427 "tag": "circle"
77428 }
77429 ]
77430 }
77431 ]
77432 }
77433 ]
77434 }
77435 ]
77436 }
77437 ]
77438 }
77439 ]
77440 }
77441 ],
77442 "html": "<html><head></head><body><table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table></body></html>",
77443 "noQuirksBodyHtml": "<table><tbody><tr><td><svg><desc></desc></svg></td><td><circle></circle></td></tr></tbody></table>"
77444 }
77445 },
77446 {
77447 "data": "<svg><tfoot></mi><td>",
77448 "errors": [
77449 "(1,5): expected-doctype-but-got-start-tag",
77450 "(1,17): unexpected-end-tag",
77451 "(1,17): unexpected-end-tag",
77452 "(1,21): expected-closing-tag-but-got-eof"
77453 ],
77454 "document": {
77455 "props": {
77456 "tags": {
77457 "html": true,
77458 "head": true,
77459 "body": true,
77460 "svg svg": true,
77461 "svg tfoot": true,
77462 "svg td": true
77463 }
77464 },
77465 "tree": [
77466 {
77467 "tag": "html",
77468 "children": [
77469 {
77470 "tag": "head"
77471 },
77472 {
77473 "tag": "body",
77474 "children": [
77475 {
77476 "tag": "svg",
77477 "ns": "http://www.w3.org/2000/svg",
77478 "children": [
77479 {
77480 "tag": "tfoot",
77481 "ns": "http://www.w3.org/2000/svg",
77482 "children": [
77483 {
77484 "tag": "td",
77485 "ns": "http://www.w3.org/2000/svg"
77486 }
77487 ]
77488 }
77489 ]
77490 }
77491 ]
77492 }
77493 ]
77494 }
77495 ],
77496 "html": "<html><head></head><body><svg><tfoot><td></td></tfoot></svg></body></html>",
77497 "noQuirksBodyHtml": "<svg><tfoot><td></td></tfoot></svg>"
77498 }
77499 },
77500 {
77501 "data": "<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>",
77502 "errors": [
77503 "(1,6): expected-doctype-but-got-start-tag"
77504 ],
77505 "document": {
77506 "props": {
77507 "tags": {
77508 "html": true,
77509 "head": true,
77510 "body": true,
77511 "math math": true,
77512 "math mrow": true,
77513 "math mn": true,
77514 "math mi": true
77515 }
77516 },
77517 "tree": [
77518 {
77519 "tag": "html",
77520 "children": [
77521 {
77522 "tag": "head"
77523 },
77524 {
77525 "tag": "body",
77526 "children": [
77527 {
77528 "tag": "math",
77529 "ns": "http://www.w3.org/1998/Math/MathML",
77530 "children": [
77531 {
77532 "tag": "mrow",
77533 "ns": "http://www.w3.org/1998/Math/MathML",
77534 "children": [
77535 {
77536 "tag": "mrow",
77537 "ns": "http://www.w3.org/1998/Math/MathML",
77538 "children": [
77539 {
77540 "tag": "mn",
77541 "ns": "http://www.w3.org/1998/Math/MathML",
77542 "children": [
77543 {
77544 "text": "1"
77545 }
77546 ]
77547 }
77548 ]
77549 },
77550 {
77551 "tag": "mi",
77552 "ns": "http://www.w3.org/1998/Math/MathML",
77553 "children": [
77554 {
77555 "text": "a"
77556 }
77557 ]
77558 }
77559 ]
77560 }
77561 ]
77562 }
77563 ]
77564 }
77565 ]
77566 }
77567 ],
77568 "html": "<html><head></head><body><math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math></body></html>",
77569 "noQuirksBodyHtml": "<math><mrow><mrow><mn>1</mn></mrow><mi>a</mi></mrow></math>"
77570 }
77571 },
77572 {
77573 "data": "<!doctype html><input type=\"hidden\"><frameset>",
77574 "errors": [
77575 "(1,46): unexpected-start-tag",
77576 "(1,46): eof-in-frameset"
77577 ],
77578 "document": {
77579 "props": {
77580 "tags": {
77581 "html": true,
77582 "head": true,
77583 "frameset": true
77584 },
77585 "doctype": true
77586 },
77587 "tree": [
77588 {
77589 "doctype": "html"
77590 },
77591 {
77592 "tag": "html",
77593 "children": [
77594 {
77595 "tag": "head"
77596 },
77597 {
77598 "tag": "frameset"
77599 }
77600 ]
77601 }
77602 ],
77603 "html": "<!DOCTYPE html><html><head></head><frameset></frameset></html>",
77604 "noQuirksBodyHtml": "<input type=\"hidden\">"
77605 }
77606 },
77607 {
77608 "data": "<!doctype html><input type=\"button\"><frameset>",
77609 "errors": [
77610 "(1,46): unexpected-start-tag"
77611 ],
77612 "document": {
77613 "props": {
77614 "tags": {
77615 "html": true,
77616 "head": true,
77617 "body": true,
77618 "input": true
77619 },
77620 "doctype": true
77621 },
77622 "tree": [
77623 {
77624 "doctype": "html"
77625 },
77626 {
77627 "tag": "html",
77628 "children": [
77629 {
77630 "tag": "head"
77631 },
77632 {
77633 "tag": "body",
77634 "children": [
77635 {
77636 "tag": "input",
77637 "attrs": [
77638 {
77639 "name": "type",
77640 "value": "button"
77641 }
77642 ]
77643 }
77644 ]
77645 }
77646 ]
77647 }
77648 ],
77649 "html": "<!DOCTYPE html><html><head></head><body><input type=\"button\"></body></html>",
77650 "noQuirksBodyHtml": "<input type=\"button\">"
77651 }
77652 }
77653 ],
77654 "webkit02.dat": [
77655 {
77656 "data": "<foo bar=qux/>",
77657 "errors": [
77658 "(1,14): expected-doctype-but-got-start-tag",
77659 "(1,14): expected-closing-tag-but-got-eof"
77660 ],
77661 "document": {
77662 "props": {
77663 "tags": {
77664 "html": true,
77665 "head": true,
77666 "body": true,
77667 "foo": true
77668 }
77669 },
77670 "tree": [
77671 {
77672 "tag": "html",
77673 "children": [
77674 {
77675 "tag": "head"
77676 },
77677 {
77678 "tag": "body",
77679 "children": [
77680 {
77681 "tag": "foo",
77682 "attrs": [
77683 {
77684 "name": "bar",
77685 "value": "qux/"
77686 }
77687 ]
77688 }
77689 ]
77690 }
77691 ]
77692 }
77693 ],
77694 "html": "<html><head></head><body><foo bar=\"qux/\"></foo></body></html>",
77695 "noQuirksBodyHtml": "<foo bar=\"qux/\"></foo>"
77696 }
77697 },
77698 {
77699 "data": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>",
77700 "errors": [
77701 "(1,15): expected-doctype-but-got-start-tag"
77702 ],
77703 "script": "on",
77704 "document": {
77705 "props": {
77706 "tags": {
77707 "html": true,
77708 "head": true,
77709 "body": true,
77710 "p": true,
77711 "noscript": true,
77712 "span": true
77713 },
77714 "no_escape": true
77715 },
77716 "tree": [
77717 {
77718 "tag": "html",
77719 "children": [
77720 {
77721 "tag": "head"
77722 },
77723 {
77724 "tag": "body",
77725 "children": [
77726 {
77727 "tag": "p",
77728 "attrs": [
77729 {
77730 "name": "id",
77731 "value": "status"
77732 }
77733 ],
77734 "children": [
77735 {
77736 "tag": "noscript",
77737 "children": [
77738 {
77739 "text": "<strong>A</strong>",
77740 "no_escape": true
77741 }
77742 ]
77743 },
77744 {
77745 "tag": "span",
77746 "children": [
77747 {
77748 "text": "B"
77749 }
77750 ]
77751 }
77752 ]
77753 }
77754 ]
77755 }
77756 ]
77757 }
77758 ],
77759 "html": "<html><head></head><body><p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p></body></html>",
77760 "noQuirksBodyHtml": "<p id=\"status\"><noscript>&lt;strong&gt;A&lt;/strong&gt;</noscript><span>B</span></p>"
77761 }
77762 },
77763 {
77764 "data": "<p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p>",
77765 "errors": [
77766 "(1,15): expected-doctype-but-got-start-tag"
77767 ],
77768 "script": "off",
77769 "document": {
77770 "props": {
77771 "tags": {
77772 "html": true,
77773 "head": true,
77774 "body": true,
77775 "p": true,
77776 "noscript": true,
77777 "strong": true,
77778 "span": true
77779 }
77780 },
77781 "tree": [
77782 {
77783 "tag": "html",
77784 "children": [
77785 {
77786 "tag": "head"
77787 },
77788 {
77789 "tag": "body",
77790 "children": [
77791 {
77792 "tag": "p",
77793 "attrs": [
77794 {
77795 "name": "id",
77796 "value": "status"
77797 }
77798 ],
77799 "children": [
77800 {
77801 "tag": "noscript",
77802 "children": [
77803 {
77804 "tag": "strong",
77805 "children": [
77806 {
77807 "text": "A"
77808 }
77809 ]
77810 }
77811 ]
77812 },
77813 {
77814 "tag": "span",
77815 "children": [
77816 {
77817 "text": "B"
77818 }
77819 ]
77820 }
77821 ]
77822 }
77823 ]
77824 }
77825 ]
77826 }
77827 ],
77828 "html": "<html><head></head><body><p id=\"status\"><noscript><strong>A</strong></noscript><span>B</span></p></body></html>",
77829 "noQuirksBodyHtml": "<p id=\"status\"><noscript>&lt;strong&gt;A&lt;/strong&gt;</noscript><span>B</span></p>"
77830 }
77831 },
77832 {
77833 "data": "<div><sarcasm><div></div></sarcasm></div>",
77834 "errors": [
77835 "(1,5): expected-doctype-but-got-start-tag"
77836 ],
77837 "document": {
77838 "props": {
77839 "tags": {
77840 "html": true,
77841 "head": true,
77842 "body": true,
77843 "div": true,
77844 "sarcasm": true
77845 }
77846 },
77847 "tree": [
77848 {
77849 "tag": "html",
77850 "children": [
77851 {
77852 "tag": "head"
77853 },
77854 {
77855 "tag": "body",
77856 "children": [
77857 {
77858 "tag": "div",
77859 "children": [
77860 {
77861 "tag": "sarcasm",
77862 "children": [
77863 {
77864 "tag": "div"
77865 }
77866 ]
77867 }
77868 ]
77869 }
77870 ]
77871 }
77872 ]
77873 }
77874 ],
77875 "html": "<html><head></head><body><div><sarcasm><div></div></sarcasm></div></body></html>",
77876 "noQuirksBodyHtml": "<div><sarcasm><div></div></sarcasm></div>"
77877 }
77878 },
77879 {
77880 "data": "<html><body><img src=\"\" border=\"0\" alt=\"><div>A</div></body></html>",
77881 "errors": [
77882 "(1,6): expected-doctype-but-got-start-tag",
77883 "(1,67): eof-in-attribute-value-double-quote"
77884 ],
77885 "document": {
77886 "props": {
77887 "tags": {
77888 "html": true,
77889 "head": true,
77890 "body": true
77891 }
77892 },
77893 "tree": [
77894 {
77895 "tag": "html",
77896 "children": [
77897 {
77898 "tag": "head"
77899 },
77900 {
77901 "tag": "body"
77902 }
77903 ]
77904 }
77905 ],
77906 "html": "<html><head></head><body></body></html>",
77907 "noQuirksBodyHtml": ""
77908 }
77909 },
77910 {
77911 "data": "<table><td></tbody>A",
77912 "errors": [
77913 "(1,7): expected-doctype-but-got-start-tag",
77914 "(1,11): unexpected-cell-in-table-body",
77915 "(1,20): foster-parenting-character",
77916 "(1,20): eof-in-table"
77917 ],
77918 "document": {
77919 "props": {
77920 "tags": {
77921 "html": true,
77922 "head": true,
77923 "body": true,
77924 "table": true,
77925 "tbody": true,
77926 "tr": true,
77927 "td": true
77928 }
77929 },
77930 "tree": [
77931 {
77932 "tag": "html",
77933 "children": [
77934 {
77935 "tag": "head"
77936 },
77937 {
77938 "tag": "body",
77939 "children": [
77940 {
77941 "text": "A"
77942 },
77943 {
77944 "tag": "table",
77945 "children": [
77946 {
77947 "tag": "tbody",
77948 "children": [
77949 {
77950 "tag": "tr",
77951 "children": [
77952 {
77953 "tag": "td"
77954 }
77955 ]
77956 }
77957 ]
77958 }
77959 ]
77960 }
77961 ]
77962 }
77963 ]
77964 }
77965 ],
77966 "html": "<html><head></head><body>A<table><tbody><tr><td></td></tr></tbody></table></body></html>",
77967 "noQuirksBodyHtml": "A<table><tbody><tr><td></td></tr></tbody></table>"
77968 }
77969 },
77970 {
77971 "data": "<table><td></thead>A",
77972 "errors": [
77973 "(1,7): expected-doctype-but-got-start-tag",
77974 "(1,11): unexpected-cell-in-table-body",
77975 "(1,19): XXX-undefined-error",
77976 "(1,20): expected-closing-tag-but-got-eof"
77977 ],
77978 "document": {
77979 "props": {
77980 "tags": {
77981 "html": true,
77982 "head": true,
77983 "body": true,
77984 "table": true,
77985 "tbody": true,
77986 "tr": true,
77987 "td": true
77988 }
77989 },
77990 "tree": [
77991 {
77992 "tag": "html",
77993 "children": [
77994 {
77995 "tag": "head"
77996 },
77997 {
77998 "tag": "body",
77999 "children": [
78000 {
78001 "tag": "table",
78002 "children": [
78003 {
78004 "tag": "tbody",
78005 "children": [
78006 {
78007 "tag": "tr",
78008 "children": [
78009 {
78010 "tag": "td",
78011 "children": [
78012 {
78013 "text": "A"
78014 }
78015 ]
78016 }
78017 ]
78018 }
78019 ]
78020 }
78021 ]
78022 }
78023 ]
78024 }
78025 ]
78026 }
78027 ],
78028 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table></body></html>",
78029 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>"
78030 }
78031 },
78032 {
78033 "data": "<table><td></tfoot>A",
78034 "errors": [
78035 "(1,7): expected-doctype-but-got-start-tag",
78036 "(1,11): unexpected-cell-in-table-body",
78037 "(1,19): XXX-undefined-error",
78038 "(1,20): expected-closing-tag-but-got-eof"
78039 ],
78040 "document": {
78041 "props": {
78042 "tags": {
78043 "html": true,
78044 "head": true,
78045 "body": true,
78046 "table": true,
78047 "tbody": true,
78048 "tr": true,
78049 "td": true
78050 }
78051 },
78052 "tree": [
78053 {
78054 "tag": "html",
78055 "children": [
78056 {
78057 "tag": "head"
78058 },
78059 {
78060 "tag": "body",
78061 "children": [
78062 {
78063 "tag": "table",
78064 "children": [
78065 {
78066 "tag": "tbody",
78067 "children": [
78068 {
78069 "tag": "tr",
78070 "children": [
78071 {
78072 "tag": "td",
78073 "children": [
78074 {
78075 "text": "A"
78076 }
78077 ]
78078 }
78079 ]
78080 }
78081 ]
78082 }
78083 ]
78084 }
78085 ]
78086 }
78087 ]
78088 }
78089 ],
78090 "html": "<html><head></head><body><table><tbody><tr><td>A</td></tr></tbody></table></body></html>",
78091 "noQuirksBodyHtml": "<table><tbody><tr><td>A</td></tr></tbody></table>"
78092 }
78093 },
78094 {
78095 "data": "<table><thead><td></tbody>A",
78096 "errors": [
78097 "(1,7): expected-doctype-but-got-start-tag",
78098 "(1,18): unexpected-cell-in-table-body",
78099 "(1,26): XXX-undefined-error",
78100 "(1,27): expected-closing-tag-but-got-eof"
78101 ],
78102 "document": {
78103 "props": {
78104 "tags": {
78105 "html": true,
78106 "head": true,
78107 "body": true,
78108 "table": true,
78109 "thead": true,
78110 "tr": true,
78111 "td": true
78112 }
78113 },
78114 "tree": [
78115 {
78116 "tag": "html",
78117 "children": [
78118 {
78119 "tag": "head"
78120 },
78121 {
78122 "tag": "body",
78123 "children": [
78124 {
78125 "tag": "table",
78126 "children": [
78127 {
78128 "tag": "thead",
78129 "children": [
78130 {
78131 "tag": "tr",
78132 "children": [
78133 {
78134 "tag": "td",
78135 "children": [
78136 {
78137 "text": "A"
78138 }
78139 ]
78140 }
78141 ]
78142 }
78143 ]
78144 }
78145 ]
78146 }
78147 ]
78148 }
78149 ]
78150 }
78151 ],
78152 "html": "<html><head></head><body><table><thead><tr><td>A</td></tr></thead></table></body></html>",
78153 "noQuirksBodyHtml": "<table><thead><tr><td>A</td></tr></thead></table>"
78154 }
78155 },
78156 {
78157 "data": "<legend>test</legend>",
78158 "errors": [],
78159 "document": {
78160 "props": {
78161 "tags": {
78162 "html": true,
78163 "head": true,
78164 "body": true,
78165 "legend": true
78166 }
78167 },
78168 "tree": [
78169 {
78170 "tag": "html",
78171 "children": [
78172 {
78173 "tag": "head"
78174 },
78175 {
78176 "tag": "body",
78177 "children": [
78178 {
78179 "tag": "legend",
78180 "children": [
78181 {
78182 "text": "test"
78183 }
78184 ]
78185 }
78186 ]
78187 }
78188 ]
78189 }
78190 ],
78191 "html": "<html><head></head><body><legend>test</legend></body></html>",
78192 "noQuirksBodyHtml": "<legend>test</legend>"
78193 }
78194 },
78195 {
78196 "data": "<table><input>",
78197 "errors": [],
78198 "document": {
78199 "props": {
78200 "tags": {
78201 "html": true,
78202 "head": true,
78203 "body": true,
78204 "input": true,
78205 "table": true
78206 }
78207 },
78208 "tree": [
78209 {
78210 "tag": "html",
78211 "children": [
78212 {
78213 "tag": "head"
78214 },
78215 {
78216 "tag": "body",
78217 "children": [
78218 {
78219 "tag": "input"
78220 },
78221 {
78222 "tag": "table"
78223 }
78224 ]
78225 }
78226 ]
78227 }
78228 ],
78229 "html": "<html><head></head><body><input><table></table></body></html>",
78230 "noQuirksBodyHtml": "<input><table></table>"
78231 }
78232 },
78233 {
78234 "data": "<b><em><foo><foo><aside></b>",
78235 "errors": [],
78236 "document": {
78237 "props": {
78238 "tags": {
78239 "html": true,
78240 "head": true,
78241 "body": true,
78242 "b": true,
78243 "em": true,
78244 "foo": true,
78245 "aside": true
78246 }
78247 },
78248 "tree": [
78249 {
78250 "tag": "html",
78251 "children": [
78252 {
78253 "tag": "head"
78254 },
78255 {
78256 "tag": "body",
78257 "children": [
78258 {
78259 "tag": "b",
78260 "children": [
78261 {
78262 "tag": "em",
78263 "children": [
78264 {
78265 "tag": "foo",
78266 "children": [
78267 {
78268 "tag": "foo"
78269 }
78270 ]
78271 }
78272 ]
78273 }
78274 ]
78275 },
78276 {
78277 "tag": "em",
78278 "children": [
78279 {
78280 "tag": "aside",
78281 "children": [
78282 {
78283 "tag": "b"
78284 }
78285 ]
78286 }
78287 ]
78288 }
78289 ]
78290 }
78291 ]
78292 }
78293 ],
78294 "html": "<html><head></head><body><b><em><foo><foo></foo></foo></em></b><em><aside><b></b></aside></em></body></html>",
78295 "noQuirksBodyHtml": "<b><em><foo><foo></foo></foo></em></b><em><aside><b></b></aside></em>"
78296 }
78297 },
78298 {
78299 "data": "<b><em><foo><foo><aside></b></em>",
78300 "errors": [],
78301 "document": {
78302 "props": {
78303 "tags": {
78304 "html": true,
78305 "head": true,
78306 "body": true,
78307 "b": true,
78308 "em": true,
78309 "foo": true,
78310 "aside": true
78311 }
78312 },
78313 "tree": [
78314 {
78315 "tag": "html",
78316 "children": [
78317 {
78318 "tag": "head"
78319 },
78320 {
78321 "tag": "body",
78322 "children": [
78323 {
78324 "tag": "b",
78325 "children": [
78326 {
78327 "tag": "em",
78328 "children": [
78329 {
78330 "tag": "foo",
78331 "children": [
78332 {
78333 "tag": "foo"
78334 }
78335 ]
78336 }
78337 ]
78338 }
78339 ]
78340 },
78341 {
78342 "tag": "em"
78343 },
78344 {
78345 "tag": "aside",
78346 "children": [
78347 {
78348 "tag": "em",
78349 "children": [
78350 {
78351 "tag": "b"
78352 }
78353 ]
78354 }
78355 ]
78356 }
78357 ]
78358 }
78359 ]
78360 }
78361 ],
78362 "html": "<html><head></head><body><b><em><foo><foo></foo></foo></em></b><em></em><aside><em><b></b></em></aside></body></html>",
78363 "noQuirksBodyHtml": "<b><em><foo><foo></foo></foo></em></b><em></em><aside><em><b></b></em></aside>"
78364 }
78365 },
78366 {
78367 "data": "<b><em><foo><foo><foo><aside></b>",
78368 "errors": [],
78369 "document": {
78370 "props": {
78371 "tags": {
78372 "html": true,
78373 "head": true,
78374 "body": true,
78375 "b": true,
78376 "em": true,
78377 "foo": true,
78378 "aside": true
78379 }
78380 },
78381 "tree": [
78382 {
78383 "tag": "html",
78384 "children": [
78385 {
78386 "tag": "head"
78387 },
78388 {
78389 "tag": "body",
78390 "children": [
78391 {
78392 "tag": "b",
78393 "children": [
78394 {
78395 "tag": "em",
78396 "children": [
78397 {
78398 "tag": "foo",
78399 "children": [
78400 {
78401 "tag": "foo",
78402 "children": [
78403 {
78404 "tag": "foo"
78405 }
78406 ]
78407 }
78408 ]
78409 }
78410 ]
78411 }
78412 ]
78413 },
78414 {
78415 "tag": "aside",
78416 "children": [
78417 {
78418 "tag": "b"
78419 }
78420 ]
78421 }
78422 ]
78423 }
78424 ]
78425 }
78426 ],
78427 "html": "<html><head></head><body><b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside></body></html>",
78428 "noQuirksBodyHtml": "<b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside>"
78429 }
78430 },
78431 {
78432 "data": "<b><em><foo><foo><foo><aside></b></em>",
78433 "errors": [],
78434 "document": {
78435 "props": {
78436 "tags": {
78437 "html": true,
78438 "head": true,
78439 "body": true,
78440 "b": true,
78441 "em": true,
78442 "foo": true,
78443 "aside": true
78444 }
78445 },
78446 "tree": [
78447 {
78448 "tag": "html",
78449 "children": [
78450 {
78451 "tag": "head"
78452 },
78453 {
78454 "tag": "body",
78455 "children": [
78456 {
78457 "tag": "b",
78458 "children": [
78459 {
78460 "tag": "em",
78461 "children": [
78462 {
78463 "tag": "foo",
78464 "children": [
78465 {
78466 "tag": "foo",
78467 "children": [
78468 {
78469 "tag": "foo"
78470 }
78471 ]
78472 }
78473 ]
78474 }
78475 ]
78476 }
78477 ]
78478 },
78479 {
78480 "tag": "aside",
78481 "children": [
78482 {
78483 "tag": "b"
78484 }
78485 ]
78486 }
78487 ]
78488 }
78489 ]
78490 }
78491 ],
78492 "html": "<html><head></head><body><b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside></body></html>",
78493 "noQuirksBodyHtml": "<b><em><foo><foo><foo></foo></foo></foo></em></b><aside><b></b></aside>"
78494 }
78495 },
78496 {
78497 "data": "<b><em><foo><foo><foo><foo><foo><foo><foo><foo><foo><foo><aside></b></em>",
78498 "errors": [],
78499 "fragment": {
78500 "name": "div"
78501 },
78502 "document": {
78503 "props": {
78504 "tags": {
78505 "b": true,
78506 "em": true,
78507 "foo": true,
78508 "aside": true
78509 }
78510 },
78511 "tree": [
78512 {
78513 "tag": "b",
78514 "children": [
78515 {
78516 "tag": "em",
78517 "children": [
78518 {
78519 "tag": "foo",
78520 "children": [
78521 {
78522 "tag": "foo",
78523 "children": [
78524 {
78525 "tag": "foo",
78526 "children": [
78527 {
78528 "tag": "foo",
78529 "children": [
78530 {
78531 "tag": "foo",
78532 "children": [
78533 {
78534 "tag": "foo",
78535 "children": [
78536 {
78537 "tag": "foo",
78538 "children": [
78539 {
78540 "tag": "foo",
78541 "children": [
78542 {
78543 "tag": "foo",
78544 "children": [
78545 {
78546 "tag": "foo"
78547 }
78548 ]
78549 }
78550 ]
78551 }
78552 ]
78553 }
78554 ]
78555 }
78556 ]
78557 }
78558 ]
78559 }
78560 ]
78561 }
78562 ]
78563 }
78564 ]
78565 }
78566 ]
78567 }
78568 ]
78569 },
78570 {
78571 "tag": "aside",
78572 "children": [
78573 {
78574 "tag": "b"
78575 }
78576 ]
78577 }
78578 ],
78579 "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>",
78580 "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>"
78581 }
78582 },
78583 {
78584 "data": "<b><em><foo><foob><foob><foob><foob><fooc><fooc><fooc><fooc><food><aside></b></em>",
78585 "errors": [],
78586 "fragment": {
78587 "name": "div"
78588 },
78589 "document": {
78590 "props": {
78591 "tags": {
78592 "b": true,
78593 "em": true,
78594 "foo": true,
78595 "foob": true,
78596 "fooc": true,
78597 "food": true,
78598 "aside": true
78599 }
78600 },
78601 "tree": [
78602 {
78603 "tag": "b",
78604 "children": [
78605 {
78606 "tag": "em",
78607 "children": [
78608 {
78609 "tag": "foo",
78610 "children": [
78611 {
78612 "tag": "foob",
78613 "children": [
78614 {
78615 "tag": "foob",
78616 "children": [
78617 {
78618 "tag": "foob",
78619 "children": [
78620 {
78621 "tag": "foob",
78622 "children": [
78623 {
78624 "tag": "fooc",
78625 "children": [
78626 {
78627 "tag": "fooc",
78628 "children": [
78629 {
78630 "tag": "fooc",
78631 "children": [
78632 {
78633 "tag": "fooc",
78634 "children": [
78635 {
78636 "tag": "food"
78637 }
78638 ]
78639 }
78640 ]
78641 }
78642 ]
78643 }
78644 ]
78645 }
78646 ]
78647 }
78648 ]
78649 }
78650 ]
78651 }
78652 ]
78653 }
78654 ]
78655 }
78656 ]
78657 }
78658 ]
78659 },
78660 {
78661 "tag": "aside",
78662 "children": [
78663 {
78664 "tag": "b"
78665 }
78666 ]
78667 }
78668 ],
78669 "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>",
78670 "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>"
78671 }
78672 },
78673 {
78674 "data": "<isindex action=\"x\">",
78675 "errors": [],
78676 "fragment": {
78677 "name": "table"
78678 },
78679 "document": {
78680 "props": {
78681 "tags": {
78682 "form": true,
78683 "hr": true,
78684 "label": true,
78685 "input": true
78686 }
78687 },
78688 "tree": [
78689 {
78690 "tag": "form",
78691 "attrs": [
78692 {
78693 "name": "action",
78694 "value": "x"
78695 }
78696 ],
78697 "children": [
78698 {
78699 "tag": "hr"
78700 },
78701 {
78702 "tag": "label",
78703 "children": [
78704 {
78705 "text": "This is a searchable index. Enter search keywords: "
78706 },
78707 {
78708 "tag": "input",
78709 "attrs": [
78710 {
78711 "name": "name",
78712 "value": "isindex"
78713 }
78714 ]
78715 }
78716 ]
78717 },
78718 {
78719 "tag": "hr"
78720 }
78721 ]
78722 }
78723 ],
78724 "html": "<form action=\"x\"><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form>",
78725 "noQuirksBodyHtml": "<form action=\"x\"><hr><label>This is a searchable index. Enter search keywords: <input name=\"isindex\"></label><hr></form>"
78726 }
78727 },
78728 {
78729 "data": "<option><XH<optgroup></optgroup>",
78730 "errors": [],
78731 "fragment": {
78732 "name": "select"
78733 },
78734 "document": {
78735 "props": {
78736 "tags": {
78737 "option": true
78738 }
78739 },
78740 "tree": [
78741 {
78742 "tag": "option"
78743 }
78744 ],
78745 "html": "<option></option>",
78746 "noQuirksBodyHtml": "<option><xh<optgroup></xh<optgroup></option>"
78747 }
78748 },
78749 {
78750 "data": "<svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div>",
78751 "errors": [],
78752 "document": {
78753 "props": {
78754 "tags": {
78755 "html": true,
78756 "head": true,
78757 "body": true,
78758 "svg svg": true,
78759 "svg foreignObject": true,
78760 "div": true,
78761 "plaintext": true
78762 },
78763 "no_escape": true
78764 },
78765 "tree": [
78766 {
78767 "tag": "html",
78768 "children": [
78769 {
78770 "tag": "head"
78771 },
78772 {
78773 "tag": "body",
78774 "children": [
78775 {
78776 "tag": "svg",
78777 "ns": "http://www.w3.org/2000/svg",
78778 "children": [
78779 {
78780 "tag": "foreignObject",
78781 "ns": "http://www.w3.org/2000/svg",
78782 "children": [
78783 {
78784 "tag": "div",
78785 "children": [
78786 {
78787 "text": "foo"
78788 }
78789 ]
78790 },
78791 {
78792 "tag": "plaintext",
78793 "children": [
78794 {
78795 "text": "</foreignObject></svg><div>bar</div>",
78796 "no_escape": true
78797 }
78798 ]
78799 }
78800 ]
78801 }
78802 ]
78803 }
78804 ]
78805 }
78806 ]
78807 }
78808 ],
78809 "html": "<html><head></head><body><svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div></plaintext></foreignObject></svg></body></html>",
78810 "noQuirksBodyHtml": "<svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div></plaintext></foreignObject></svg>"
78811 }
78812 },
78813 {
78814 "data": "<svg><foreignObject></foreignObject><title></svg>foo",
78815 "errors": [],
78816 "document": {
78817 "props": {
78818 "tags": {
78819 "html": true,
78820 "head": true,
78821 "body": true,
78822 "svg svg": true,
78823 "svg foreignObject": true,
78824 "svg title": true
78825 }
78826 },
78827 "tree": [
78828 {
78829 "tag": "html",
78830 "children": [
78831 {
78832 "tag": "head"
78833 },
78834 {
78835 "tag": "body",
78836 "children": [
78837 {
78838 "tag": "svg",
78839 "ns": "http://www.w3.org/2000/svg",
78840 "children": [
78841 {
78842 "tag": "foreignObject",
78843 "ns": "http://www.w3.org/2000/svg"
78844 },
78845 {
78846 "tag": "title",
78847 "ns": "http://www.w3.org/2000/svg"
78848 }
78849 ]
78850 },
78851 {
78852 "text": "foo"
78853 }
78854 ]
78855 }
78856 ]
78857 }
78858 ],
78859 "html": "<html><head></head><body><svg><foreignObject></foreignObject><title></title></svg>foo</body></html>",
78860 "noQuirksBodyHtml": "<svg><foreignObject></foreignObject><title></title></svg>foo"
78861 }
78862 },
78863 {
78864 "data": "</foreignObject><plaintext><div>foo</div>",
78865 "errors": [],
78866 "document": {
78867 "props": {
78868 "tags": {
78869 "html": true,
78870 "head": true,
78871 "body": true,
78872 "plaintext": true
78873 },
78874 "no_escape": true
78875 },
78876 "tree": [
78877 {
78878 "tag": "html",
78879 "children": [
78880 {
78881 "tag": "head"
78882 },
78883 {
78884 "tag": "body",
78885 "children": [
78886 {
78887 "tag": "plaintext",
78888 "children": [
78889 {
78890 "text": "<div>foo</div>",
78891 "no_escape": true
78892 }
78893 ]
78894 }
78895 ]
78896 }
78897 ]
78898 }
78899 ],
78900 "html": "<html><head></head><body><plaintext><div>foo</div></plaintext></body></html>",
78901 "noQuirksBodyHtml": "<plaintext><div>foo</div></plaintext>"
78902 }
78903 }
78904 ]
78905 }