• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "tests": [
3        {
4            "fragmentContext": null,
5            "description": "<!doctype html><p><button><button>",
6            "input": "<!doctype html><p><button><button>",
7            "output": [
8                [
9                    "DOCTYPE",
10                    "html",
11                    null,
12                    null,
13                    true
14                ],
15                [
16                    "StartTag",
17                    "p",
18                    {}
19                ],
20                [
21                    "StartTag",
22                    "button",
23                    {}
24                ],
25                [
26                    "StartTag",
27                    "button",
28                    {}
29                ]
30            ]
31        },
32        {
33            "fragmentContext": null,
34            "description": "<!doctype html><p><button><address>",
35            "input": "<!doctype html><p><button><address>",
36            "output": [
37                [
38                    "DOCTYPE",
39                    "html",
40                    null,
41                    null,
42                    true
43                ],
44                [
45                    "StartTag",
46                    "p",
47                    {}
48                ],
49                [
50                    "StartTag",
51                    "button",
52                    {}
53                ],
54                [
55                    "StartTag",
56                    "address",
57                    {}
58                ]
59            ]
60        },
61        {
62            "fragmentContext": null,
63            "description": "<!doctype html><p><button><article>",
64            "input": "<!doctype html><p><button><article>",
65            "output": [
66                [
67                    "DOCTYPE",
68                    "html",
69                    null,
70                    null,
71                    true
72                ],
73                [
74                    "StartTag",
75                    "p",
76                    {}
77                ],
78                [
79                    "StartTag",
80                    "button",
81                    {}
82                ],
83                [
84                    "StartTag",
85                    "article",
86                    {}
87                ]
88            ]
89        },
90        {
91            "fragmentContext": null,
92            "description": "<!doctype html><p><button><aside>",
93            "input": "<!doctype html><p><button><aside>",
94            "output": [
95                [
96                    "DOCTYPE",
97                    "html",
98                    null,
99                    null,
100                    true
101                ],
102                [
103                    "StartTag",
104                    "p",
105                    {}
106                ],
107                [
108                    "StartTag",
109                    "button",
110                    {}
111                ],
112                [
113                    "StartTag",
114                    "aside",
115                    {}
116                ]
117            ]
118        },
119        {
120            "fragmentContext": null,
121            "description": "<!doctype html><p><button><blockquote>",
122            "input": "<!doctype html><p><button><blockquote>",
123            "output": [
124                [
125                    "DOCTYPE",
126                    "html",
127                    null,
128                    null,
129                    true
130                ],
131                [
132                    "StartTag",
133                    "p",
134                    {}
135                ],
136                [
137                    "StartTag",
138                    "button",
139                    {}
140                ],
141                [
142                    "StartTag",
143                    "blockquote",
144                    {}
145                ]
146            ]
147        },
148        {
149            "fragmentContext": null,
150            "description": "<!doctype html><p><button><center>",
151            "input": "<!doctype html><p><button><center>",
152            "output": [
153                [
154                    "DOCTYPE",
155                    "html",
156                    null,
157                    null,
158                    true
159                ],
160                [
161                    "StartTag",
162                    "p",
163                    {}
164                ],
165                [
166                    "StartTag",
167                    "button",
168                    {}
169                ],
170                [
171                    "StartTag",
172                    "center",
173                    {}
174                ]
175            ]
176        },
177        {
178            "fragmentContext": null,
179            "description": "<!doctype html><p><button><details>",
180            "input": "<!doctype html><p><button><details>",
181            "output": [
182                [
183                    "DOCTYPE",
184                    "html",
185                    null,
186                    null,
187                    true
188                ],
189                [
190                    "StartTag",
191                    "p",
192                    {}
193                ],
194                [
195                    "StartTag",
196                    "button",
197                    {}
198                ],
199                [
200                    "StartTag",
201                    "details",
202                    {}
203                ]
204            ]
205        },
206        {
207            "fragmentContext": null,
208            "description": "<!doctype html><p><button><dialog>",
209            "input": "<!doctype html><p><button><dialog>",
210            "output": [
211                [
212                    "DOCTYPE",
213                    "html",
214                    null,
215                    null,
216                    true
217                ],
218                [
219                    "StartTag",
220                    "p",
221                    {}
222                ],
223                [
224                    "StartTag",
225                    "button",
226                    {}
227                ],
228                [
229                    "StartTag",
230                    "dialog",
231                    {}
232                ]
233            ]
234        },
235        {
236            "fragmentContext": null,
237            "description": "<!doctype html><p><button><dir>",
238            "input": "<!doctype html><p><button><dir>",
239            "output": [
240                [
241                    "DOCTYPE",
242                    "html",
243                    null,
244                    null,
245                    true
246                ],
247                [
248                    "StartTag",
249                    "p",
250                    {}
251                ],
252                [
253                    "StartTag",
254                    "button",
255                    {}
256                ],
257                [
258                    "StartTag",
259                    "dir",
260                    {}
261                ]
262            ]
263        },
264        {
265            "fragmentContext": null,
266            "description": "<!doctype html><p><button><div>",
267            "input": "<!doctype html><p><button><div>",
268            "output": [
269                [
270                    "DOCTYPE",
271                    "html",
272                    null,
273                    null,
274                    true
275                ],
276                [
277                    "StartTag",
278                    "p",
279                    {}
280                ],
281                [
282                    "StartTag",
283                    "button",
284                    {}
285                ],
286                [
287                    "StartTag",
288                    "div",
289                    {}
290                ]
291            ]
292        },
293        {
294            "fragmentContext": null,
295            "description": "<!doctype html><p><button><dl>",
296            "input": "<!doctype html><p><button><dl>",
297            "output": [
298                [
299                    "DOCTYPE",
300                    "html",
301                    null,
302                    null,
303                    true
304                ],
305                [
306                    "StartTag",
307                    "p",
308                    {}
309                ],
310                [
311                    "StartTag",
312                    "button",
313                    {}
314                ],
315                [
316                    "StartTag",
317                    "dl",
318                    {}
319                ]
320            ]
321        },
322        {
323            "fragmentContext": null,
324            "description": "<!doctype html><p><button><fieldset>",
325            "input": "<!doctype html><p><button><fieldset>",
326            "output": [
327                [
328                    "DOCTYPE",
329                    "html",
330                    null,
331                    null,
332                    true
333                ],
334                [
335                    "StartTag",
336                    "p",
337                    {}
338                ],
339                [
340                    "StartTag",
341                    "button",
342                    {}
343                ],
344                [
345                    "StartTag",
346                    "fieldset",
347                    {}
348                ]
349            ]
350        },
351        {
352            "fragmentContext": null,
353            "description": "<!doctype html><p><button><figcaption>",
354            "input": "<!doctype html><p><button><figcaption>",
355            "output": [
356                [
357                    "DOCTYPE",
358                    "html",
359                    null,
360                    null,
361                    true
362                ],
363                [
364                    "StartTag",
365                    "p",
366                    {}
367                ],
368                [
369                    "StartTag",
370                    "button",
371                    {}
372                ],
373                [
374                    "StartTag",
375                    "figcaption",
376                    {}
377                ]
378            ]
379        },
380        {
381            "fragmentContext": null,
382            "description": "<!doctype html><p><button><figure>",
383            "input": "<!doctype html><p><button><figure>",
384            "output": [
385                [
386                    "DOCTYPE",
387                    "html",
388                    null,
389                    null,
390                    true
391                ],
392                [
393                    "StartTag",
394                    "p",
395                    {}
396                ],
397                [
398                    "StartTag",
399                    "button",
400                    {}
401                ],
402                [
403                    "StartTag",
404                    "figure",
405                    {}
406                ]
407            ]
408        },
409        {
410            "fragmentContext": null,
411            "description": "<!doctype html><p><button><footer>",
412            "input": "<!doctype html><p><button><footer>",
413            "output": [
414                [
415                    "DOCTYPE",
416                    "html",
417                    null,
418                    null,
419                    true
420                ],
421                [
422                    "StartTag",
423                    "p",
424                    {}
425                ],
426                [
427                    "StartTag",
428                    "button",
429                    {}
430                ],
431                [
432                    "StartTag",
433                    "footer",
434                    {}
435                ]
436            ]
437        },
438        {
439            "fragmentContext": null,
440            "description": "<!doctype html><p><button><header>",
441            "input": "<!doctype html><p><button><header>",
442            "output": [
443                [
444                    "DOCTYPE",
445                    "html",
446                    null,
447                    null,
448                    true
449                ],
450                [
451                    "StartTag",
452                    "p",
453                    {}
454                ],
455                [
456                    "StartTag",
457                    "button",
458                    {}
459                ],
460                [
461                    "StartTag",
462                    "header",
463                    {}
464                ]
465            ]
466        },
467        {
468            "fragmentContext": null,
469            "description": "<!doctype html><p><button><hgroup>",
470            "input": "<!doctype html><p><button><hgroup>",
471            "output": [
472                [
473                    "DOCTYPE",
474                    "html",
475                    null,
476                    null,
477                    true
478                ],
479                [
480                    "StartTag",
481                    "p",
482                    {}
483                ],
484                [
485                    "StartTag",
486                    "button",
487                    {}
488                ],
489                [
490                    "StartTag",
491                    "hgroup",
492                    {}
493                ]
494            ]
495        },
496        {
497            "fragmentContext": null,
498            "description": "<!doctype html><p><button><main>",
499            "input": "<!doctype html><p><button><main>",
500            "output": [
501                [
502                    "DOCTYPE",
503                    "html",
504                    null,
505                    null,
506                    true
507                ],
508                [
509                    "StartTag",
510                    "p",
511                    {}
512                ],
513                [
514                    "StartTag",
515                    "button",
516                    {}
517                ],
518                [
519                    "StartTag",
520                    "main",
521                    {}
522                ]
523            ]
524        },
525        {
526            "fragmentContext": null,
527            "description": "<!doctype html><p><button><menu>",
528            "input": "<!doctype html><p><button><menu>",
529            "output": [
530                [
531                    "DOCTYPE",
532                    "html",
533                    null,
534                    null,
535                    true
536                ],
537                [
538                    "StartTag",
539                    "p",
540                    {}
541                ],
542                [
543                    "StartTag",
544                    "button",
545                    {}
546                ],
547                [
548                    "StartTag",
549                    "menu",
550                    {}
551                ]
552            ]
553        },
554        {
555            "fragmentContext": null,
556            "description": "<!doctype html><p><button><nav>",
557            "input": "<!doctype html><p><button><nav>",
558            "output": [
559                [
560                    "DOCTYPE",
561                    "html",
562                    null,
563                    null,
564                    true
565                ],
566                [
567                    "StartTag",
568                    "p",
569                    {}
570                ],
571                [
572                    "StartTag",
573                    "button",
574                    {}
575                ],
576                [
577                    "StartTag",
578                    "nav",
579                    {}
580                ]
581            ]
582        },
583        {
584            "fragmentContext": null,
585            "description": "<!doctype html><p><button><ol>",
586            "input": "<!doctype html><p><button><ol>",
587            "output": [
588                [
589                    "DOCTYPE",
590                    "html",
591                    null,
592                    null,
593                    true
594                ],
595                [
596                    "StartTag",
597                    "p",
598                    {}
599                ],
600                [
601                    "StartTag",
602                    "button",
603                    {}
604                ],
605                [
606                    "StartTag",
607                    "ol",
608                    {}
609                ]
610            ]
611        },
612        {
613            "fragmentContext": null,
614            "description": "<!doctype html><p><button><p>",
615            "input": "<!doctype html><p><button><p>",
616            "output": [
617                [
618                    "DOCTYPE",
619                    "html",
620                    null,
621                    null,
622                    true
623                ],
624                [
625                    "StartTag",
626                    "p",
627                    {}
628                ],
629                [
630                    "StartTag",
631                    "button",
632                    {}
633                ],
634                [
635                    "StartTag",
636                    "p",
637                    {}
638                ]
639            ]
640        },
641        {
642            "fragmentContext": null,
643            "description": "<!doctype html><p><button><search>",
644            "input": "<!doctype html><p><button><search>",
645            "output": [
646                [
647                    "DOCTYPE",
648                    "html",
649                    null,
650                    null,
651                    true
652                ],
653                [
654                    "StartTag",
655                    "p",
656                    {}
657                ],
658                [
659                    "StartTag",
660                    "button",
661                    {}
662                ],
663                [
664                    "StartTag",
665                    "search",
666                    {}
667                ]
668            ]
669        },
670        {
671            "fragmentContext": null,
672            "description": "<!doctype html><p><button><section>",
673            "input": "<!doctype html><p><button><section>",
674            "output": [
675                [
676                    "DOCTYPE",
677                    "html",
678                    null,
679                    null,
680                    true
681                ],
682                [
683                    "StartTag",
684                    "p",
685                    {}
686                ],
687                [
688                    "StartTag",
689                    "button",
690                    {}
691                ],
692                [
693                    "StartTag",
694                    "section",
695                    {}
696                ]
697            ]
698        },
699        {
700            "fragmentContext": null,
701            "description": "<!doctype html><p><button><summary>",
702            "input": "<!doctype html><p><button><summary>",
703            "output": [
704                [
705                    "DOCTYPE",
706                    "html",
707                    null,
708                    null,
709                    true
710                ],
711                [
712                    "StartTag",
713                    "p",
714                    {}
715                ],
716                [
717                    "StartTag",
718                    "button",
719                    {}
720                ],
721                [
722                    "StartTag",
723                    "summary",
724                    {}
725                ]
726            ]
727        },
728        {
729            "fragmentContext": null,
730            "description": "<!doctype html><p><button><ul>",
731            "input": "<!doctype html><p><button><ul>",
732            "output": [
733                [
734                    "DOCTYPE",
735                    "html",
736                    null,
737                    null,
738                    true
739                ],
740                [
741                    "StartTag",
742                    "p",
743                    {}
744                ],
745                [
746                    "StartTag",
747                    "button",
748                    {}
749                ],
750                [
751                    "StartTag",
752                    "ul",
753                    {}
754                ]
755            ]
756        },
757        {
758            "fragmentContext": null,
759            "description": "<!doctype html><p><button><h1>",
760            "input": "<!doctype html><p><button><h1>",
761            "output": [
762                [
763                    "DOCTYPE",
764                    "html",
765                    null,
766                    null,
767                    true
768                ],
769                [
770                    "StartTag",
771                    "p",
772                    {}
773                ],
774                [
775                    "StartTag",
776                    "button",
777                    {}
778                ],
779                [
780                    "StartTag",
781                    "h1",
782                    {}
783                ]
784            ]
785        },
786        {
787            "fragmentContext": null,
788            "description": "<!doctype html><p><button><h6>",
789            "input": "<!doctype html><p><button><h6>",
790            "output": [
791                [
792                    "DOCTYPE",
793                    "html",
794                    null,
795                    null,
796                    true
797                ],
798                [
799                    "StartTag",
800                    "p",
801                    {}
802                ],
803                [
804                    "StartTag",
805                    "button",
806                    {}
807                ],
808                [
809                    "StartTag",
810                    "h6",
811                    {}
812                ]
813            ]
814        },
815        {
816            "fragmentContext": null,
817            "description": "<!doctype html><p><button><listing>",
818            "input": "<!doctype html><p><button><listing>",
819            "output": [
820                [
821                    "DOCTYPE",
822                    "html",
823                    null,
824                    null,
825                    true
826                ],
827                [
828                    "StartTag",
829                    "p",
830                    {}
831                ],
832                [
833                    "StartTag",
834                    "button",
835                    {}
836                ],
837                [
838                    "StartTag",
839                    "listing",
840                    {}
841                ]
842            ]
843        },
844        {
845            "fragmentContext": null,
846            "description": "<!doctype html><p><button><pre>",
847            "input": "<!doctype html><p><button><pre>",
848            "output": [
849                [
850                    "DOCTYPE",
851                    "html",
852                    null,
853                    null,
854                    true
855                ],
856                [
857                    "StartTag",
858                    "p",
859                    {}
860                ],
861                [
862                    "StartTag",
863                    "button",
864                    {}
865                ],
866                [
867                    "StartTag",
868                    "pre",
869                    {}
870                ]
871            ]
872        },
873        {
874            "fragmentContext": null,
875            "description": "<!doctype html><p><button><form>",
876            "input": "<!doctype html><p><button><form>",
877            "output": [
878                [
879                    "DOCTYPE",
880                    "html",
881                    null,
882                    null,
883                    true
884                ],
885                [
886                    "StartTag",
887                    "p",
888                    {}
889                ],
890                [
891                    "StartTag",
892                    "button",
893                    {}
894                ],
895                [
896                    "StartTag",
897                    "form",
898                    {}
899                ]
900            ]
901        },
902        {
903            "fragmentContext": null,
904            "description": "<!doctype html><p><button><li>",
905            "input": "<!doctype html><p><button><li>",
906            "output": [
907                [
908                    "DOCTYPE",
909                    "html",
910                    null,
911                    null,
912                    true
913                ],
914                [
915                    "StartTag",
916                    "p",
917                    {}
918                ],
919                [
920                    "StartTag",
921                    "button",
922                    {}
923                ],
924                [
925                    "StartTag",
926                    "li",
927                    {}
928                ]
929            ]
930        },
931        {
932            "fragmentContext": null,
933            "description": "<!doctype html><p><button><dd>",
934            "input": "<!doctype html><p><button><dd>",
935            "output": [
936                [
937                    "DOCTYPE",
938                    "html",
939                    null,
940                    null,
941                    true
942                ],
943                [
944                    "StartTag",
945                    "p",
946                    {}
947                ],
948                [
949                    "StartTag",
950                    "button",
951                    {}
952                ],
953                [
954                    "StartTag",
955                    "dd",
956                    {}
957                ]
958            ]
959        },
960        {
961            "fragmentContext": null,
962            "description": "<!doctype html><p><button><dt>",
963            "input": "<!doctype html><p><button><dt>",
964            "output": [
965                [
966                    "DOCTYPE",
967                    "html",
968                    null,
969                    null,
970                    true
971                ],
972                [
973                    "StartTag",
974                    "p",
975                    {}
976                ],
977                [
978                    "StartTag",
979                    "button",
980                    {}
981                ],
982                [
983                    "StartTag",
984                    "dt",
985                    {}
986                ]
987            ]
988        },
989        {
990            "fragmentContext": null,
991            "description": "<!doctype html><p><button><plaintext>",
992            "input": "<!doctype html><p><button><plaintext>",
993            "output": [
994                [
995                    "DOCTYPE",
996                    "html",
997                    null,
998                    null,
999                    true
1000                ],
1001                [
1002                    "StartTag",
1003                    "p",
1004                    {}
1005                ],
1006                [
1007                    "StartTag",
1008                    "button",
1009                    {}
1010                ],
1011                [
1012                    "StartTag",
1013                    "plaintext",
1014                    {}
1015                ]
1016            ]
1017        },
1018        {
1019            "fragmentContext": null,
1020            "description": "<!doctype html><p><button><table>",
1021            "input": "<!doctype html><p><button><table>",
1022            "output": [
1023                [
1024                    "DOCTYPE",
1025                    "html",
1026                    null,
1027                    null,
1028                    true
1029                ],
1030                [
1031                    "StartTag",
1032                    "p",
1033                    {}
1034                ],
1035                [
1036                    "StartTag",
1037                    "button",
1038                    {}
1039                ],
1040                [
1041                    "StartTag",
1042                    "table",
1043                    {}
1044                ]
1045            ]
1046        },
1047        {
1048            "fragmentContext": null,
1049            "description": "<!doctype html><p><button><hr>",
1050            "input": "<!doctype html><p><button><hr>",
1051            "output": [
1052                [
1053                    "DOCTYPE",
1054                    "html",
1055                    null,
1056                    null,
1057                    true
1058                ],
1059                [
1060                    "StartTag",
1061                    "p",
1062                    {}
1063                ],
1064                [
1065                    "StartTag",
1066                    "button",
1067                    {}
1068                ],
1069                [
1070                    "StartTag",
1071                    "hr",
1072                    {}
1073                ]
1074            ]
1075        },
1076        {
1077            "fragmentContext": null,
1078            "description": "<!doctype html><p><button><xmp>",
1079            "input": "<!doctype html><p><button><xmp>",
1080            "output": [
1081                [
1082                    "DOCTYPE",
1083                    "html",
1084                    null,
1085                    null,
1086                    true
1087                ],
1088                [
1089                    "StartTag",
1090                    "p",
1091                    {}
1092                ],
1093                [
1094                    "StartTag",
1095                    "button",
1096                    {}
1097                ],
1098                [
1099                    "StartTag",
1100                    "xmp",
1101                    {}
1102                ]
1103            ]
1104        },
1105        {
1106            "fragmentContext": null,
1107            "description": "<!doctype html><p><button></p>",
1108            "input": "<!doctype html><p><button></p>",
1109            "output": [
1110                [
1111                    "DOCTYPE",
1112                    "html",
1113                    null,
1114                    null,
1115                    true
1116                ],
1117                [
1118                    "StartTag",
1119                    "p",
1120                    {}
1121                ],
1122                [
1123                    "StartTag",
1124                    "button",
1125                    {}
1126                ],
1127                [
1128                    "EndTag",
1129                    "p"
1130                ]
1131            ]
1132        },
1133        {
1134            "fragmentContext": null,
1135            "description": "<!doctype html><address><button></address>a",
1136            "input": "<!doctype html><address><button></address>a",
1137            "output": [
1138                [
1139                    "DOCTYPE",
1140                    "html",
1141                    null,
1142                    null,
1143                    true
1144                ],
1145                [
1146                    "StartTag",
1147                    "address",
1148                    {}
1149                ],
1150                [
1151                    "StartTag",
1152                    "button",
1153                    {}
1154                ],
1155                [
1156                    "EndTag",
1157                    "address"
1158                ],
1159                [
1160                    "Character",
1161                    "a"
1162                ]
1163            ]
1164        },
1165        {
1166            "fragmentContext": null,
1167            "description": "<!doctype html><address><button></address>a",
1168            "input": "<!doctype html><address><button></address>a",
1169            "output": [
1170                [
1171                    "DOCTYPE",
1172                    "html",
1173                    null,
1174                    null,
1175                    true
1176                ],
1177                [
1178                    "StartTag",
1179                    "address",
1180                    {}
1181                ],
1182                [
1183                    "StartTag",
1184                    "button",
1185                    {}
1186                ],
1187                [
1188                    "EndTag",
1189                    "address"
1190                ],
1191                [
1192                    "Character",
1193                    "a"
1194                ]
1195            ]
1196        },
1197        {
1198            "fragmentContext": null,
1199            "description": "<p><table></p>",
1200            "input": "<p><table></p>",
1201            "output": [
1202                [
1203                    "StartTag",
1204                    "p",
1205                    {}
1206                ],
1207                [
1208                    "StartTag",
1209                    "table",
1210                    {}
1211                ],
1212                [
1213                    "EndTag",
1214                    "p"
1215                ]
1216            ]
1217        },
1218        {
1219            "fragmentContext": null,
1220            "description": "<!doctype html><svg>",
1221            "input": "<!doctype html><svg>",
1222            "output": [
1223                [
1224                    "DOCTYPE",
1225                    "html",
1226                    null,
1227                    null,
1228                    true
1229                ],
1230                [
1231                    "StartTag",
1232                    "svg",
1233                    {}
1234                ]
1235            ]
1236        },
1237        {
1238            "fragmentContext": null,
1239            "description": "<!doctype html><p><figcaption>",
1240            "input": "<!doctype html><p><figcaption>",
1241            "output": [
1242                [
1243                    "DOCTYPE",
1244                    "html",
1245                    null,
1246                    null,
1247                    true
1248                ],
1249                [
1250                    "StartTag",
1251                    "p",
1252                    {}
1253                ],
1254                [
1255                    "StartTag",
1256                    "figcaption",
1257                    {}
1258                ]
1259            ]
1260        },
1261        {
1262            "fragmentContext": null,
1263            "description": "<!doctype html><p><summary>",
1264            "input": "<!doctype html><p><summary>",
1265            "output": [
1266                [
1267                    "DOCTYPE",
1268                    "html",
1269                    null,
1270                    null,
1271                    true
1272                ],
1273                [
1274                    "StartTag",
1275                    "p",
1276                    {}
1277                ],
1278                [
1279                    "StartTag",
1280                    "summary",
1281                    {}
1282                ]
1283            ]
1284        },
1285        {
1286            "fragmentContext": null,
1287            "description": "<!doctype html><form><table><form>",
1288            "input": "<!doctype html><form><table><form>",
1289            "output": [
1290                [
1291                    "DOCTYPE",
1292                    "html",
1293                    null,
1294                    null,
1295                    true
1296                ],
1297                [
1298                    "StartTag",
1299                    "form",
1300                    {}
1301                ],
1302                [
1303                    "StartTag",
1304                    "table",
1305                    {}
1306                ],
1307                [
1308                    "StartTag",
1309                    "form",
1310                    {}
1311                ]
1312            ]
1313        },
1314        {
1315            "fragmentContext": null,
1316            "description": "<!doctype html><table><form><form>",
1317            "input": "<!doctype html><table><form><form>",
1318            "output": [
1319                [
1320                    "DOCTYPE",
1321                    "html",
1322                    null,
1323                    null,
1324                    true
1325                ],
1326                [
1327                    "StartTag",
1328                    "table",
1329                    {}
1330                ],
1331                [
1332                    "StartTag",
1333                    "form",
1334                    {}
1335                ],
1336                [
1337                    "StartTag",
1338                    "form",
1339                    {}
1340                ]
1341            ]
1342        },
1343        {
1344            "fragmentContext": null,
1345            "description": "<!doctype html><table><form></table><form>",
1346            "input": "<!doctype html><table><form></table><form>",
1347            "output": [
1348                [
1349                    "DOCTYPE",
1350                    "html",
1351                    null,
1352                    null,
1353                    true
1354                ],
1355                [
1356                    "StartTag",
1357                    "table",
1358                    {}
1359                ],
1360                [
1361                    "StartTag",
1362                    "form",
1363                    {}
1364                ],
1365                [
1366                    "EndTag",
1367                    "table"
1368                ],
1369                [
1370                    "StartTag",
1371                    "form",
1372                    {}
1373                ]
1374            ]
1375        },
1376        {
1377            "fragmentContext": null,
1378            "description": "<!doctype html><svg><foreignObject><p>",
1379            "input": "<!doctype html><svg><foreignObject><p>",
1380            "output": [
1381                [
1382                    "DOCTYPE",
1383                    "html",
1384                    null,
1385                    null,
1386                    true
1387                ],
1388                [
1389                    "StartTag",
1390                    "svg",
1391                    {}
1392                ],
1393                [
1394                    "StartTag",
1395                    "foreignObject",
1396                    {}
1397                ],
1398                [
1399                    "StartTag",
1400                    "p",
1401                    {}
1402                ]
1403            ]
1404        },
1405        {
1406            "fragmentContext": null,
1407            "description": "<!doctype html><svg><title>abc",
1408            "input": "<!doctype html><svg><title>abc",
1409            "output": [
1410                [
1411                    "DOCTYPE",
1412                    "html",
1413                    null,
1414                    null,
1415                    true
1416                ],
1417                [
1418                    "StartTag",
1419                    "svg",
1420                    {}
1421                ],
1422                [
1423                    "StartTag",
1424                    "title",
1425                    {}
1426                ],
1427                [
1428                    "Character",
1429                    "abc"
1430                ]
1431            ]
1432        },
1433        {
1434            "fragmentContext": null,
1435            "description": "<option><span><option>",
1436            "input": "<option><span><option>",
1437            "output": [
1438                [
1439                    "StartTag",
1440                    "option",
1441                    {}
1442                ],
1443                [
1444                    "StartTag",
1445                    "span",
1446                    {}
1447                ],
1448                [
1449                    "StartTag",
1450                    "option",
1451                    {}
1452                ]
1453            ]
1454        },
1455        {
1456            "fragmentContext": null,
1457            "description": "<option><option>",
1458            "input": "<option><option>",
1459            "output": [
1460                [
1461                    "StartTag",
1462                    "option",
1463                    {}
1464                ],
1465                [
1466                    "StartTag",
1467                    "option",
1468                    {}
1469                ]
1470            ]
1471        },
1472        {
1473            "fragmentContext": null,
1474            "description": "<math><annotation-xml><div>",
1475            "input": "<math><annotation-xml><div>",
1476            "output": [
1477                [
1478                    "StartTag",
1479                    "math",
1480                    {}
1481                ],
1482                [
1483                    "StartTag",
1484                    "annotation-xml",
1485                    {}
1486                ],
1487                [
1488                    "StartTag",
1489                    "div",
1490                    {}
1491                ]
1492            ]
1493        },
1494        {
1495            "fragmentContext": null,
1496            "description": "<math><annotation-xml encoding=\"application/svg+xml\"><div>",
1497            "input": "<math><annotation-xml encoding=\"application/svg+xml\"><div>",
1498            "output": [
1499                [
1500                    "StartTag",
1501                    "math",
1502                    {}
1503                ],
1504                [
1505                    "StartTag",
1506                    "annotation-xml",
1507                    {
1508                        "encoding": "application/svg+xml"
1509                    }
1510                ],
1511                [
1512                    "StartTag",
1513                    "div",
1514                    {}
1515                ]
1516            ]
1517        },
1518        {
1519            "fragmentContext": null,
1520            "description": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div>",
1521            "input": "<math><annotation-xml encoding=\"application/xhtml+xml\"><div>",
1522            "output": [
1523                [
1524                    "StartTag",
1525                    "math",
1526                    {}
1527                ],
1528                [
1529                    "StartTag",
1530                    "annotation-xml",
1531                    {
1532                        "encoding": "application/xhtml+xml"
1533                    }
1534                ],
1535                [
1536                    "StartTag",
1537                    "div",
1538                    {}
1539                ]
1540            ]
1541        },
1542        {
1543            "fragmentContext": null,
1544            "description": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div>",
1545            "input": "<math><annotation-xml encoding=\"aPPlication/xhtmL+xMl\"><div>",
1546            "output": [
1547                [
1548                    "StartTag",
1549                    "math",
1550                    {}
1551                ],
1552                [
1553                    "StartTag",
1554                    "annotation-xml",
1555                    {
1556                        "encoding": "aPPlication/xhtmL+xMl"
1557                    }
1558                ],
1559                [
1560                    "StartTag",
1561                    "div",
1562                    {}
1563                ]
1564            ]
1565        },
1566        {
1567            "fragmentContext": null,
1568            "description": "<math><annotation-xml encoding=\"text/html\"><div>",
1569            "input": "<math><annotation-xml encoding=\"text/html\"><div>",
1570            "output": [
1571                [
1572                    "StartTag",
1573                    "math",
1574                    {}
1575                ],
1576                [
1577                    "StartTag",
1578                    "annotation-xml",
1579                    {
1580                        "encoding": "text/html"
1581                    }
1582                ],
1583                [
1584                    "StartTag",
1585                    "div",
1586                    {}
1587                ]
1588            ]
1589        },
1590        {
1591            "fragmentContext": null,
1592            "description": "<math><annotation-xml encoding=\"Text/htmL\"><div>",
1593            "input": "<math><annotation-xml encoding=\"Text/htmL\"><div>",
1594            "output": [
1595                [
1596                    "StartTag",
1597                    "math",
1598                    {}
1599                ],
1600                [
1601                    "StartTag",
1602                    "annotation-xml",
1603                    {
1604                        "encoding": "Text/htmL"
1605                    }
1606                ],
1607                [
1608                    "StartTag",
1609                    "div",
1610                    {}
1611                ]
1612            ]
1613        },
1614        {
1615            "fragmentContext": null,
1616            "description": "<math><annotation-xml encoding=\" text/html \"><div>",
1617            "input": "<math><annotation-xml encoding=\" text/html \"><div>",
1618            "output": [
1619                [
1620                    "StartTag",
1621                    "math",
1622                    {}
1623                ],
1624                [
1625                    "StartTag",
1626                    "annotation-xml",
1627                    {
1628                        "encoding": " text/html "
1629                    }
1630                ],
1631                [
1632                    "StartTag",
1633                    "div",
1634                    {}
1635                ]
1636            ]
1637        },
1638        {
1639            "fragmentContext": null,
1640            "description": "<math><annotation-xml> </annotation-xml>",
1641            "input": "<math><annotation-xml> </annotation-xml>",
1642            "output": [
1643                [
1644                    "StartTag",
1645                    "math",
1646                    {}
1647                ],
1648                [
1649                    "StartTag",
1650                    "annotation-xml",
1651                    {}
1652                ],
1653                [
1654                    "Character",
1655                    " "
1656                ],
1657                [
1658                    "EndTag",
1659                    "annotation-xml"
1660                ]
1661            ]
1662        },
1663        {
1664            "fragmentContext": null,
1665            "description": "<math><annotation-xml>c</annotation-xml>",
1666            "input": "<math><annotation-xml>c</annotation-xml>",
1667            "output": [
1668                [
1669                    "StartTag",
1670                    "math",
1671                    {}
1672                ],
1673                [
1674                    "StartTag",
1675                    "annotation-xml",
1676                    {}
1677                ],
1678                [
1679                    "Character",
1680                    "c"
1681                ],
1682                [
1683                    "EndTag",
1684                    "annotation-xml"
1685                ]
1686            ]
1687        },
1688        {
1689            "fragmentContext": null,
1690            "description": "<math><annotation-xml><!--foo-->",
1691            "input": "<math><annotation-xml><!--foo-->",
1692            "output": [
1693                [
1694                    "StartTag",
1695                    "math",
1696                    {}
1697                ],
1698                [
1699                    "StartTag",
1700                    "annotation-xml",
1701                    {}
1702                ],
1703                [
1704                    "Comment",
1705                    "foo"
1706                ]
1707            ]
1708        },
1709        {
1710            "fragmentContext": null,
1711            "description": "<math><annotation-xml></svg>x",
1712            "input": "<math><annotation-xml></svg>x",
1713            "output": [
1714                [
1715                    "StartTag",
1716                    "math",
1717                    {}
1718                ],
1719                [
1720                    "StartTag",
1721                    "annotation-xml",
1722                    {}
1723                ],
1724                [
1725                    "EndTag",
1726                    "svg"
1727                ],
1728                [
1729                    "Character",
1730                    "x"
1731                ]
1732            ]
1733        },
1734        {
1735            "fragmentContext": null,
1736            "description": "<math><annotation-xml><svg>x",
1737            "input": "<math><annotation-xml><svg>x",
1738            "output": [
1739                [
1740                    "StartTag",
1741                    "math",
1742                    {}
1743                ],
1744                [
1745                    "StartTag",
1746                    "annotation-xml",
1747                    {}
1748                ],
1749                [
1750                    "StartTag",
1751                    "svg",
1752                    {}
1753                ],
1754                [
1755                    "Character",
1756                    "x"
1757                ]
1758            ]
1759        }
1760    ]
1761}