1{ 2 "tests": [ 3 { 4 "description": "<!doctype html><script>", 5 "input": "<!doctype html><script>", 6 "output": [ 7 [ 8 "DOCTYPE", 9 "html", 10 null, 11 null, 12 true 13 ], 14 [ 15 "StartTag", 16 "script", 17 {} 18 ] 19 ] 20 }, 21 { 22 "description": "<!doctype html><script>a", 23 "input": "<!doctype html><script>a", 24 "output": [ 25 [ 26 "DOCTYPE", 27 "html", 28 null, 29 null, 30 true 31 ], 32 [ 33 "StartTag", 34 "script", 35 {} 36 ], 37 [ 38 "Character", 39 "a" 40 ] 41 ] 42 }, 43 { 44 "description": "<!doctype html><script><", 45 "input": "<!doctype html><script><", 46 "output": [ 47 [ 48 "DOCTYPE", 49 "html", 50 null, 51 null, 52 true 53 ], 54 [ 55 "StartTag", 56 "script", 57 {} 58 ], 59 [ 60 "Character", 61 "<" 62 ] 63 ] 64 }, 65 { 66 "description": "<!doctype html><script></", 67 "input": "<!doctype html><script></", 68 "output": [ 69 [ 70 "DOCTYPE", 71 "html", 72 null, 73 null, 74 true 75 ], 76 [ 77 "StartTag", 78 "script", 79 {} 80 ], 81 [ 82 "Character", 83 "</" 84 ] 85 ] 86 }, 87 { 88 "description": "<!doctype html><script></S", 89 "input": "<!doctype html><script></S", 90 "output": [ 91 [ 92 "DOCTYPE", 93 "html", 94 null, 95 null, 96 true 97 ], 98 [ 99 "StartTag", 100 "script", 101 {} 102 ], 103 [ 104 "Character", 105 "</S" 106 ] 107 ] 108 }, 109 { 110 "description": "<!doctype html><script></SC", 111 "input": "<!doctype html><script></SC", 112 "output": [ 113 [ 114 "DOCTYPE", 115 "html", 116 null, 117 null, 118 true 119 ], 120 [ 121 "StartTag", 122 "script", 123 {} 124 ], 125 [ 126 "Character", 127 "</SC" 128 ] 129 ] 130 }, 131 { 132 "description": "<!doctype html><script></SCR", 133 "input": "<!doctype html><script></SCR", 134 "output": [ 135 [ 136 "DOCTYPE", 137 "html", 138 null, 139 null, 140 true 141 ], 142 [ 143 "StartTag", 144 "script", 145 {} 146 ], 147 [ 148 "Character", 149 "</SCR" 150 ] 151 ] 152 }, 153 { 154 "description": "<!doctype html><script></SCRI", 155 "input": "<!doctype html><script></SCRI", 156 "output": [ 157 [ 158 "DOCTYPE", 159 "html", 160 null, 161 null, 162 true 163 ], 164 [ 165 "StartTag", 166 "script", 167 {} 168 ], 169 [ 170 "Character", 171 "</SCRI" 172 ] 173 ] 174 }, 175 { 176 "description": "<!doctype html><script></SCRIP", 177 "input": "<!doctype html><script></SCRIP", 178 "output": [ 179 [ 180 "DOCTYPE", 181 "html", 182 null, 183 null, 184 true 185 ], 186 [ 187 "StartTag", 188 "script", 189 {} 190 ], 191 [ 192 "Character", 193 "</SCRIP" 194 ] 195 ] 196 }, 197 { 198 "description": "<!doctype html><script></SCRIPT", 199 "input": "<!doctype html><script></SCRIPT", 200 "output": [ 201 [ 202 "DOCTYPE", 203 "html", 204 null, 205 null, 206 true 207 ], 208 [ 209 "StartTag", 210 "script", 211 {} 212 ], 213 [ 214 "Character", 215 "</SCRIPT" 216 ] 217 ] 218 }, 219 { 220 "description": "<!doctype html><script></SCRIPT ", 221 "input": "<!doctype html><script></SCRIPT ", 222 "output": [ 223 [ 224 "DOCTYPE", 225 "html", 226 null, 227 null, 228 true 229 ], 230 [ 231 "StartTag", 232 "script", 233 {} 234 ] 235 ] 236 }, 237 { 238 "description": "<!doctype html><script></s", 239 "input": "<!doctype html><script></s", 240 "output": [ 241 [ 242 "DOCTYPE", 243 "html", 244 null, 245 null, 246 true 247 ], 248 [ 249 "StartTag", 250 "script", 251 {} 252 ], 253 [ 254 "Character", 255 "</s" 256 ] 257 ] 258 }, 259 { 260 "description": "<!doctype html><script></sc", 261 "input": "<!doctype html><script></sc", 262 "output": [ 263 [ 264 "DOCTYPE", 265 "html", 266 null, 267 null, 268 true 269 ], 270 [ 271 "StartTag", 272 "script", 273 {} 274 ], 275 [ 276 "Character", 277 "</sc" 278 ] 279 ] 280 }, 281 { 282 "description": "<!doctype html><script></scr", 283 "input": "<!doctype html><script></scr", 284 "output": [ 285 [ 286 "DOCTYPE", 287 "html", 288 null, 289 null, 290 true 291 ], 292 [ 293 "StartTag", 294 "script", 295 {} 296 ], 297 [ 298 "Character", 299 "</scr" 300 ] 301 ] 302 }, 303 { 304 "description": "<!doctype html><script></scri", 305 "input": "<!doctype html><script></scri", 306 "output": [ 307 [ 308 "DOCTYPE", 309 "html", 310 null, 311 null, 312 true 313 ], 314 [ 315 "StartTag", 316 "script", 317 {} 318 ], 319 [ 320 "Character", 321 "</scri" 322 ] 323 ] 324 }, 325 { 326 "description": "<!doctype html><script></scrip", 327 "input": "<!doctype html><script></scrip", 328 "output": [ 329 [ 330 "DOCTYPE", 331 "html", 332 null, 333 null, 334 true 335 ], 336 [ 337 "StartTag", 338 "script", 339 {} 340 ], 341 [ 342 "Character", 343 "</scrip" 344 ] 345 ] 346 }, 347 { 348 "description": "<!doctype html><script></script", 349 "input": "<!doctype html><script></script", 350 "output": [ 351 [ 352 "DOCTYPE", 353 "html", 354 null, 355 null, 356 true 357 ], 358 [ 359 "StartTag", 360 "script", 361 {} 362 ], 363 [ 364 "Character", 365 "</script" 366 ] 367 ] 368 }, 369 { 370 "description": "<!doctype html><script></script ", 371 "input": "<!doctype html><script></script ", 372 "output": [ 373 [ 374 "DOCTYPE", 375 "html", 376 null, 377 null, 378 true 379 ], 380 [ 381 "StartTag", 382 "script", 383 {} 384 ] 385 ] 386 }, 387 { 388 "description": "<!doctype html><script><!", 389 "input": "<!doctype html><script><!", 390 "output": [ 391 [ 392 "DOCTYPE", 393 "html", 394 null, 395 null, 396 true 397 ], 398 [ 399 "StartTag", 400 "script", 401 {} 402 ], 403 [ 404 "Character", 405 "<!" 406 ] 407 ] 408 }, 409 { 410 "description": "<!doctype html><script><!a", 411 "input": "<!doctype html><script><!a", 412 "output": [ 413 [ 414 "DOCTYPE", 415 "html", 416 null, 417 null, 418 true 419 ], 420 [ 421 "StartTag", 422 "script", 423 {} 424 ], 425 [ 426 "Character", 427 "<!a" 428 ] 429 ] 430 }, 431 { 432 "description": "<!doctype html><script><!-", 433 "input": "<!doctype html><script><!-", 434 "output": [ 435 [ 436 "DOCTYPE", 437 "html", 438 null, 439 null, 440 true 441 ], 442 [ 443 "StartTag", 444 "script", 445 {} 446 ], 447 [ 448 "Character", 449 "<!-" 450 ] 451 ] 452 }, 453 { 454 "description": "<!doctype html><script><!-a", 455 "input": "<!doctype html><script><!-a", 456 "output": [ 457 [ 458 "DOCTYPE", 459 "html", 460 null, 461 null, 462 true 463 ], 464 [ 465 "StartTag", 466 "script", 467 {} 468 ], 469 [ 470 "Character", 471 "<!-a" 472 ] 473 ] 474 }, 475 { 476 "description": "<!doctype html><script><!--", 477 "input": "<!doctype html><script><!--", 478 "output": [ 479 [ 480 "DOCTYPE", 481 "html", 482 null, 483 null, 484 true 485 ], 486 [ 487 "StartTag", 488 "script", 489 {} 490 ], 491 [ 492 "Character", 493 "<!--" 494 ] 495 ] 496 }, 497 { 498 "description": "<!doctype html><script><!--a", 499 "input": "<!doctype html><script><!--a", 500 "output": [ 501 [ 502 "DOCTYPE", 503 "html", 504 null, 505 null, 506 true 507 ], 508 [ 509 "StartTag", 510 "script", 511 {} 512 ], 513 [ 514 "Character", 515 "<!--a" 516 ] 517 ] 518 }, 519 { 520 "description": "<!doctype html><script><!--<", 521 "input": "<!doctype html><script><!--<", 522 "output": [ 523 [ 524 "DOCTYPE", 525 "html", 526 null, 527 null, 528 true 529 ], 530 [ 531 "StartTag", 532 "script", 533 {} 534 ], 535 [ 536 "Character", 537 "<!--<" 538 ] 539 ] 540 }, 541 { 542 "description": "<!doctype html><script><!--<a", 543 "input": "<!doctype html><script><!--<a", 544 "output": [ 545 [ 546 "DOCTYPE", 547 "html", 548 null, 549 null, 550 true 551 ], 552 [ 553 "StartTag", 554 "script", 555 {} 556 ], 557 [ 558 "Character", 559 "<!--<a" 560 ] 561 ] 562 }, 563 { 564 "description": "<!doctype html><script><!--</", 565 "input": "<!doctype html><script><!--</", 566 "output": [ 567 [ 568 "DOCTYPE", 569 "html", 570 null, 571 null, 572 true 573 ], 574 [ 575 "StartTag", 576 "script", 577 {} 578 ], 579 [ 580 "Character", 581 "<!--</" 582 ] 583 ] 584 }, 585 { 586 "description": "<!doctype html><script><!--</script", 587 "input": "<!doctype html><script><!--</script", 588 "output": [ 589 [ 590 "DOCTYPE", 591 "html", 592 null, 593 null, 594 true 595 ], 596 [ 597 "StartTag", 598 "script", 599 {} 600 ], 601 [ 602 "Character", 603 "<!--</script" 604 ] 605 ] 606 }, 607 { 608 "description": "<!doctype html><script><!--</script ", 609 "input": "<!doctype html><script><!--</script ", 610 "output": [ 611 [ 612 "DOCTYPE", 613 "html", 614 null, 615 null, 616 true 617 ], 618 [ 619 "StartTag", 620 "script", 621 {} 622 ], 623 [ 624 "Character", 625 "<!--" 626 ] 627 ] 628 }, 629 { 630 "description": "<!doctype html><script><!--<s", 631 "input": "<!doctype html><script><!--<s", 632 "output": [ 633 [ 634 "DOCTYPE", 635 "html", 636 null, 637 null, 638 true 639 ], 640 [ 641 "StartTag", 642 "script", 643 {} 644 ], 645 [ 646 "Character", 647 "<!--<s" 648 ] 649 ] 650 }, 651 { 652 "description": "<!doctype html><script><!--<script", 653 "input": "<!doctype html><script><!--<script", 654 "output": [ 655 [ 656 "DOCTYPE", 657 "html", 658 null, 659 null, 660 true 661 ], 662 [ 663 "StartTag", 664 "script", 665 {} 666 ], 667 [ 668 "Character", 669 "<!--<script" 670 ] 671 ] 672 }, 673 { 674 "description": "<!doctype html><script><!--<script ", 675 "input": "<!doctype html><script><!--<script ", 676 "output": [ 677 [ 678 "DOCTYPE", 679 "html", 680 null, 681 null, 682 true 683 ], 684 [ 685 "StartTag", 686 "script", 687 {} 688 ], 689 [ 690 "Character", 691 "<!--<script " 692 ] 693 ] 694 }, 695 { 696 "description": "<!doctype html><script><!--<script <", 697 "input": "<!doctype html><script><!--<script <", 698 "output": [ 699 [ 700 "DOCTYPE", 701 "html", 702 null, 703 null, 704 true 705 ], 706 [ 707 "StartTag", 708 "script", 709 {} 710 ], 711 [ 712 "Character", 713 "<!--<script <" 714 ] 715 ] 716 }, 717 { 718 "description": "<!doctype html><script><!--<script <a", 719 "input": "<!doctype html><script><!--<script <a", 720 "output": [ 721 [ 722 "DOCTYPE", 723 "html", 724 null, 725 null, 726 true 727 ], 728 [ 729 "StartTag", 730 "script", 731 {} 732 ], 733 [ 734 "Character", 735 "<!--<script <a" 736 ] 737 ] 738 }, 739 { 740 "description": "<!doctype html><script><!--<script </", 741 "input": "<!doctype html><script><!--<script </", 742 "output": [ 743 [ 744 "DOCTYPE", 745 "html", 746 null, 747 null, 748 true 749 ], 750 [ 751 "StartTag", 752 "script", 753 {} 754 ], 755 [ 756 "Character", 757 "<!--<script </" 758 ] 759 ] 760 }, 761 { 762 "description": "<!doctype html><script><!--<script </s", 763 "input": "<!doctype html><script><!--<script </s", 764 "output": [ 765 [ 766 "DOCTYPE", 767 "html", 768 null, 769 null, 770 true 771 ], 772 [ 773 "StartTag", 774 "script", 775 {} 776 ], 777 [ 778 "Character", 779 "<!--<script </s" 780 ] 781 ] 782 }, 783 { 784 "description": "<!doctype html><script><!--<script </script", 785 "input": "<!doctype html><script><!--<script </script", 786 "output": [ 787 [ 788 "DOCTYPE", 789 "html", 790 null, 791 null, 792 true 793 ], 794 [ 795 "StartTag", 796 "script", 797 {} 798 ], 799 [ 800 "Character", 801 "<!--<script </script" 802 ] 803 ] 804 }, 805 { 806 "description": "<!doctype html><script><!--<script </scripta", 807 "input": "<!doctype html><script><!--<script </scripta", 808 "output": [ 809 [ 810 "DOCTYPE", 811 "html", 812 null, 813 null, 814 true 815 ], 816 [ 817 "StartTag", 818 "script", 819 {} 820 ], 821 [ 822 "Character", 823 "<!--<script </scripta" 824 ] 825 ] 826 }, 827 { 828 "description": "<!doctype html><script><!--<script </script ", 829 "input": "<!doctype html><script><!--<script </script ", 830 "output": [ 831 [ 832 "DOCTYPE", 833 "html", 834 null, 835 null, 836 true 837 ], 838 [ 839 "StartTag", 840 "script", 841 {} 842 ], 843 [ 844 "Character", 845 "<!--<script </script " 846 ] 847 ] 848 }, 849 { 850 "description": "<!doctype html><script><!--<script </script>", 851 "input": "<!doctype html><script><!--<script </script>", 852 "output": [ 853 [ 854 "DOCTYPE", 855 "html", 856 null, 857 null, 858 true 859 ], 860 [ 861 "StartTag", 862 "script", 863 {} 864 ], 865 [ 866 "Character", 867 "<!--<script </script>" 868 ] 869 ] 870 }, 871 { 872 "description": "<!doctype html><script><!--<script </script/", 873 "input": "<!doctype html><script><!--<script </script/", 874 "output": [ 875 [ 876 "DOCTYPE", 877 "html", 878 null, 879 null, 880 true 881 ], 882 [ 883 "StartTag", 884 "script", 885 {} 886 ], 887 [ 888 "Character", 889 "<!--<script </script/" 890 ] 891 ] 892 }, 893 { 894 "description": "<!doctype html><script><!--<script </script <", 895 "input": "<!doctype html><script><!--<script </script <", 896 "output": [ 897 [ 898 "DOCTYPE", 899 "html", 900 null, 901 null, 902 true 903 ], 904 [ 905 "StartTag", 906 "script", 907 {} 908 ], 909 [ 910 "Character", 911 "<!--<script </script <" 912 ] 913 ] 914 }, 915 { 916 "description": "<!doctype html><script><!--<script </script <a", 917 "input": "<!doctype html><script><!--<script </script <a", 918 "output": [ 919 [ 920 "DOCTYPE", 921 "html", 922 null, 923 null, 924 true 925 ], 926 [ 927 "StartTag", 928 "script", 929 {} 930 ], 931 [ 932 "Character", 933 "<!--<script </script <a" 934 ] 935 ] 936 }, 937 { 938 "description": "<!doctype html><script><!--<script </script </", 939 "input": "<!doctype html><script><!--<script </script </", 940 "output": [ 941 [ 942 "DOCTYPE", 943 "html", 944 null, 945 null, 946 true 947 ], 948 [ 949 "StartTag", 950 "script", 951 {} 952 ], 953 [ 954 "Character", 955 "<!--<script </script </" 956 ] 957 ] 958 }, 959 { 960 "description": "<!doctype html><script><!--<script </script </script", 961 "input": "<!doctype html><script><!--<script </script </script", 962 "output": [ 963 [ 964 "DOCTYPE", 965 "html", 966 null, 967 null, 968 true 969 ], 970 [ 971 "StartTag", 972 "script", 973 {} 974 ], 975 [ 976 "Character", 977 "<!--<script </script </script" 978 ] 979 ] 980 }, 981 { 982 "description": "<!doctype html><script><!--<script </script </script ", 983 "input": "<!doctype html><script><!--<script </script </script ", 984 "output": [ 985 [ 986 "DOCTYPE", 987 "html", 988 null, 989 null, 990 true 991 ], 992 [ 993 "StartTag", 994 "script", 995 {} 996 ], 997 [ 998 "Character", 999 "<!--<script </script " 1000 ] 1001 ] 1002 }, 1003 { 1004 "description": "<!doctype html><script><!--<script </script </script/", 1005 "input": "<!doctype html><script><!--<script </script </script/", 1006 "output": [ 1007 [ 1008 "DOCTYPE", 1009 "html", 1010 null, 1011 null, 1012 true 1013 ], 1014 [ 1015 "StartTag", 1016 "script", 1017 {} 1018 ], 1019 [ 1020 "Character", 1021 "<!--<script </script " 1022 ] 1023 ] 1024 }, 1025 { 1026 "description": "<!doctype html><script><!--<script </script </script>", 1027 "input": "<!doctype html><script><!--<script </script </script>", 1028 "output": [ 1029 [ 1030 "DOCTYPE", 1031 "html", 1032 null, 1033 null, 1034 true 1035 ], 1036 [ 1037 "StartTag", 1038 "script", 1039 {} 1040 ], 1041 [ 1042 "Character", 1043 "<!--<script </script " 1044 ], 1045 [ 1046 "EndTag", 1047 "script" 1048 ] 1049 ] 1050 }, 1051 { 1052 "description": "<!doctype html><script><!--<script -", 1053 "input": "<!doctype html><script><!--<script -", 1054 "output": [ 1055 [ 1056 "DOCTYPE", 1057 "html", 1058 null, 1059 null, 1060 true 1061 ], 1062 [ 1063 "StartTag", 1064 "script", 1065 {} 1066 ], 1067 [ 1068 "Character", 1069 "<!--<script -" 1070 ] 1071 ] 1072 }, 1073 { 1074 "description": "<!doctype html><script><!--<script -a", 1075 "input": "<!doctype html><script><!--<script -a", 1076 "output": [ 1077 [ 1078 "DOCTYPE", 1079 "html", 1080 null, 1081 null, 1082 true 1083 ], 1084 [ 1085 "StartTag", 1086 "script", 1087 {} 1088 ], 1089 [ 1090 "Character", 1091 "<!--<script -a" 1092 ] 1093 ] 1094 }, 1095 { 1096 "description": "<!doctype html><script><!--<script -<", 1097 "input": "<!doctype html><script><!--<script -<", 1098 "output": [ 1099 [ 1100 "DOCTYPE", 1101 "html", 1102 null, 1103 null, 1104 true 1105 ], 1106 [ 1107 "StartTag", 1108 "script", 1109 {} 1110 ], 1111 [ 1112 "Character", 1113 "<!--<script -<" 1114 ] 1115 ] 1116 }, 1117 { 1118 "description": "<!doctype html><script><!--<script --", 1119 "input": "<!doctype html><script><!--<script --", 1120 "output": [ 1121 [ 1122 "DOCTYPE", 1123 "html", 1124 null, 1125 null, 1126 true 1127 ], 1128 [ 1129 "StartTag", 1130 "script", 1131 {} 1132 ], 1133 [ 1134 "Character", 1135 "<!--<script --" 1136 ] 1137 ] 1138 }, 1139 { 1140 "description": "<!doctype html><script><!--<script --a", 1141 "input": "<!doctype html><script><!--<script --a", 1142 "output": [ 1143 [ 1144 "DOCTYPE", 1145 "html", 1146 null, 1147 null, 1148 true 1149 ], 1150 [ 1151 "StartTag", 1152 "script", 1153 {} 1154 ], 1155 [ 1156 "Character", 1157 "<!--<script --a" 1158 ] 1159 ] 1160 }, 1161 { 1162 "description": "<!doctype html><script><!--<script --<", 1163 "input": "<!doctype html><script><!--<script --<", 1164 "output": [ 1165 [ 1166 "DOCTYPE", 1167 "html", 1168 null, 1169 null, 1170 true 1171 ], 1172 [ 1173 "StartTag", 1174 "script", 1175 {} 1176 ], 1177 [ 1178 "Character", 1179 "<!--<script --<" 1180 ] 1181 ] 1182 }, 1183 { 1184 "description": "<!doctype html><script><!--<script -->", 1185 "input": "<!doctype html><script><!--<script -->", 1186 "output": [ 1187 [ 1188 "DOCTYPE", 1189 "html", 1190 null, 1191 null, 1192 true 1193 ], 1194 [ 1195 "StartTag", 1196 "script", 1197 {} 1198 ], 1199 [ 1200 "Character", 1201 "<!--<script -->" 1202 ] 1203 ] 1204 }, 1205 { 1206 "description": "<!doctype html><script><!--<script --><", 1207 "input": "<!doctype html><script><!--<script --><", 1208 "output": [ 1209 [ 1210 "DOCTYPE", 1211 "html", 1212 null, 1213 null, 1214 true 1215 ], 1216 [ 1217 "StartTag", 1218 "script", 1219 {} 1220 ], 1221 [ 1222 "Character", 1223 "<!--<script --><" 1224 ] 1225 ] 1226 }, 1227 { 1228 "description": "<!doctype html><script><!--<script --></", 1229 "input": "<!doctype html><script><!--<script --></", 1230 "output": [ 1231 [ 1232 "DOCTYPE", 1233 "html", 1234 null, 1235 null, 1236 true 1237 ], 1238 [ 1239 "StartTag", 1240 "script", 1241 {} 1242 ], 1243 [ 1244 "Character", 1245 "<!--<script --></" 1246 ] 1247 ] 1248 }, 1249 { 1250 "description": "<!doctype html><script><!--<script --></script", 1251 "input": "<!doctype html><script><!--<script --></script", 1252 "output": [ 1253 [ 1254 "DOCTYPE", 1255 "html", 1256 null, 1257 null, 1258 true 1259 ], 1260 [ 1261 "StartTag", 1262 "script", 1263 {} 1264 ], 1265 [ 1266 "Character", 1267 "<!--<script --></script" 1268 ] 1269 ] 1270 }, 1271 { 1272 "description": "<!doctype html><script><!--<script --></script ", 1273 "input": "<!doctype html><script><!--<script --></script ", 1274 "output": [ 1275 [ 1276 "DOCTYPE", 1277 "html", 1278 null, 1279 null, 1280 true 1281 ], 1282 [ 1283 "StartTag", 1284 "script", 1285 {} 1286 ], 1287 [ 1288 "Character", 1289 "<!--<script -->" 1290 ] 1291 ] 1292 }, 1293 { 1294 "description": "<!doctype html><script><!--<script --></script/", 1295 "input": "<!doctype html><script><!--<script --></script/", 1296 "output": [ 1297 [ 1298 "DOCTYPE", 1299 "html", 1300 null, 1301 null, 1302 true 1303 ], 1304 [ 1305 "StartTag", 1306 "script", 1307 {} 1308 ], 1309 [ 1310 "Character", 1311 "<!--<script -->" 1312 ] 1313 ] 1314 }, 1315 { 1316 "description": "<!doctype html><script><!--<script --></script>", 1317 "input": "<!doctype html><script><!--<script --></script>", 1318 "output": [ 1319 [ 1320 "DOCTYPE", 1321 "html", 1322 null, 1323 null, 1324 true 1325 ], 1326 [ 1327 "StartTag", 1328 "script", 1329 {} 1330 ], 1331 [ 1332 "Character", 1333 "<!--<script -->" 1334 ], 1335 [ 1336 "EndTag", 1337 "script" 1338 ] 1339 ] 1340 }, 1341 { 1342 "description": "<!doctype html><script><!--<script><\\/script>--></script>", 1343 "input": "<!doctype html><script><!--<script><\\/script>--></script>", 1344 "output": [ 1345 [ 1346 "DOCTYPE", 1347 "html", 1348 null, 1349 null, 1350 true 1351 ], 1352 [ 1353 "StartTag", 1354 "script", 1355 {} 1356 ], 1357 [ 1358 "Character", 1359 "<!--<script><\\/script>-->" 1360 ], 1361 [ 1362 "EndTag", 1363 "script" 1364 ] 1365 ] 1366 }, 1367 { 1368 "description": "<!doctype html><script><!--<script></scr'+'ipt>--></script>", 1369 "input": "<!doctype html><script><!--<script></scr'+'ipt>--></script>", 1370 "output": [ 1371 [ 1372 "DOCTYPE", 1373 "html", 1374 null, 1375 null, 1376 true 1377 ], 1378 [ 1379 "StartTag", 1380 "script", 1381 {} 1382 ], 1383 [ 1384 "Character", 1385 "<!--<script></scr'+'ipt>-->" 1386 ], 1387 [ 1388 "EndTag", 1389 "script" 1390 ] 1391 ] 1392 }, 1393 { 1394 "description": "<!doctype html><script><!--<script></script><script></script></script>", 1395 "input": "<!doctype html><script><!--<script></script><script></script></script>", 1396 "output": [ 1397 [ 1398 "DOCTYPE", 1399 "html", 1400 null, 1401 null, 1402 true 1403 ], 1404 [ 1405 "StartTag", 1406 "script", 1407 {} 1408 ], 1409 [ 1410 "Character", 1411 "<!--<script></script><script></script>" 1412 ], 1413 [ 1414 "EndTag", 1415 "script" 1416 ] 1417 ] 1418 }, 1419 { 1420 "description": "<!doctype html><script><!--<script></script><script></script>--><!--</script>", 1421 "input": "<!doctype html><script><!--<script></script><script></script>--><!--</script>", 1422 "output": [ 1423 [ 1424 "DOCTYPE", 1425 "html", 1426 null, 1427 null, 1428 true 1429 ], 1430 [ 1431 "StartTag", 1432 "script", 1433 {} 1434 ], 1435 [ 1436 "Character", 1437 "<!--<script></script><script></script>--><!--" 1438 ], 1439 [ 1440 "EndTag", 1441 "script" 1442 ] 1443 ] 1444 }, 1445 { 1446 "description": "<!doctype html><script><!--<script></script><script></script>-- ></script>", 1447 "input": "<!doctype html><script><!--<script></script><script></script>-- ></script>", 1448 "output": [ 1449 [ 1450 "DOCTYPE", 1451 "html", 1452 null, 1453 null, 1454 true 1455 ], 1456 [ 1457 "StartTag", 1458 "script", 1459 {} 1460 ], 1461 [ 1462 "Character", 1463 "<!--<script></script><script></script>-- >" 1464 ], 1465 [ 1466 "EndTag", 1467 "script" 1468 ] 1469 ] 1470 }, 1471 { 1472 "description": "<!doctype html><script><!--<script></script><script></script>- -></script>", 1473 "input": "<!doctype html><script><!--<script></script><script></script>- -></script>", 1474 "output": [ 1475 [ 1476 "DOCTYPE", 1477 "html", 1478 null, 1479 null, 1480 true 1481 ], 1482 [ 1483 "StartTag", 1484 "script", 1485 {} 1486 ], 1487 [ 1488 "Character", 1489 "<!--<script></script><script></script>- ->" 1490 ], 1491 [ 1492 "EndTag", 1493 "script" 1494 ] 1495 ] 1496 }, 1497 { 1498 "description": "<!doctype html><script><!--<script></script><script></script>- - ></script>", 1499 "input": "<!doctype html><script><!--<script></script><script></script>- - ></script>", 1500 "output": [ 1501 [ 1502 "DOCTYPE", 1503 "html", 1504 null, 1505 null, 1506 true 1507 ], 1508 [ 1509 "StartTag", 1510 "script", 1511 {} 1512 ], 1513 [ 1514 "Character", 1515 "<!--<script></script><script></script>- - >" 1516 ], 1517 [ 1518 "EndTag", 1519 "script" 1520 ] 1521 ] 1522 }, 1523 { 1524 "description": "<!doctype html><script><!--<script></script><script></script>-></script>", 1525 "input": "<!doctype html><script><!--<script></script><script></script>-></script>", 1526 "output": [ 1527 [ 1528 "DOCTYPE", 1529 "html", 1530 null, 1531 null, 1532 true 1533 ], 1534 [ 1535 "StartTag", 1536 "script", 1537 {} 1538 ], 1539 [ 1540 "Character", 1541 "<!--<script></script><script></script>->" 1542 ], 1543 [ 1544 "EndTag", 1545 "script" 1546 ] 1547 ] 1548 }, 1549 { 1550 "description": "<!doctype html><script><!--<script>--!></script>X", 1551 "input": "<!doctype html><script><!--<script>--!></script>X", 1552 "output": [ 1553 [ 1554 "DOCTYPE", 1555 "html", 1556 null, 1557 null, 1558 true 1559 ], 1560 [ 1561 "StartTag", 1562 "script", 1563 {} 1564 ], 1565 [ 1566 "Character", 1567 "<!--<script>--!></script>X" 1568 ] 1569 ] 1570 }, 1571 { 1572 "description": "<!doctype html><script><!--<scr'+'ipt></script>--></script>", 1573 "input": "<!doctype html><script><!--<scr'+'ipt></script>--></script>", 1574 "output": [ 1575 [ 1576 "DOCTYPE", 1577 "html", 1578 null, 1579 null, 1580 true 1581 ], 1582 [ 1583 "StartTag", 1584 "script", 1585 {} 1586 ], 1587 [ 1588 "Character", 1589 "<!--<scr'+'ipt>" 1590 ], 1591 [ 1592 "EndTag", 1593 "script" 1594 ], 1595 [ 1596 "Character", 1597 "-->" 1598 ], 1599 [ 1600 "EndTag", 1601 "script" 1602 ] 1603 ] 1604 }, 1605 { 1606 "description": "<!doctype html><script><!--<script></scr'+'ipt></script>X", 1607 "input": "<!doctype html><script><!--<script></scr'+'ipt></script>X", 1608 "output": [ 1609 [ 1610 "DOCTYPE", 1611 "html", 1612 null, 1613 null, 1614 true 1615 ], 1616 [ 1617 "StartTag", 1618 "script", 1619 {} 1620 ], 1621 [ 1622 "Character", 1623 "<!--<script></scr'+'ipt></script>X" 1624 ] 1625 ] 1626 }, 1627 { 1628 "description": "<!doctype html><style><!--<style></style>--></style>", 1629 "input": "<!doctype html><style><!--<style></style>--></style>", 1630 "output": [ 1631 [ 1632 "DOCTYPE", 1633 "html", 1634 null, 1635 null, 1636 true 1637 ], 1638 [ 1639 "StartTag", 1640 "style", 1641 {} 1642 ], 1643 [ 1644 "Character", 1645 "<!--<style>" 1646 ], 1647 [ 1648 "EndTag", 1649 "style" 1650 ], 1651 [ 1652 "Character", 1653 "-->" 1654 ], 1655 [ 1656 "EndTag", 1657 "style" 1658 ] 1659 ] 1660 }, 1661 { 1662 "description": "<!doctype html><style><!--</style>X", 1663 "input": "<!doctype html><style><!--</style>X", 1664 "output": [ 1665 [ 1666 "DOCTYPE", 1667 "html", 1668 null, 1669 null, 1670 true 1671 ], 1672 [ 1673 "StartTag", 1674 "style", 1675 {} 1676 ], 1677 [ 1678 "Character", 1679 "<!--" 1680 ], 1681 [ 1682 "EndTag", 1683 "style" 1684 ], 1685 [ 1686 "Character", 1687 "X" 1688 ] 1689 ] 1690 }, 1691 { 1692 "description": "<!doctype html><style><!--...</style>...--></style>", 1693 "input": "<!doctype html><style><!--...</style>...--></style>", 1694 "output": [ 1695 [ 1696 "DOCTYPE", 1697 "html", 1698 null, 1699 null, 1700 true 1701 ], 1702 [ 1703 "StartTag", 1704 "style", 1705 {} 1706 ], 1707 [ 1708 "Character", 1709 "<!--..." 1710 ], 1711 [ 1712 "EndTag", 1713 "style" 1714 ], 1715 [ 1716 "Character", 1717 "...-->" 1718 ], 1719 [ 1720 "EndTag", 1721 "style" 1722 ] 1723 ] 1724 }, 1725 { 1726 "description": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X", 1727 "input": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X", 1728 "output": [ 1729 [ 1730 "DOCTYPE", 1731 "html", 1732 null, 1733 null, 1734 true 1735 ], 1736 [ 1737 "StartTag", 1738 "style", 1739 {} 1740 ], 1741 [ 1742 "Character", 1743 "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>" 1744 ], 1745 [ 1746 "EndTag", 1747 "style" 1748 ], 1749 [ 1750 "Character", 1751 "X" 1752 ] 1753 ] 1754 }, 1755 { 1756 "description": "<!doctype html><style><!--...<style><!--...--!></style>--></style>", 1757 "input": "<!doctype html><style><!--...<style><!--...--!></style>--></style>", 1758 "output": [ 1759 [ 1760 "DOCTYPE", 1761 "html", 1762 null, 1763 null, 1764 true 1765 ], 1766 [ 1767 "StartTag", 1768 "style", 1769 {} 1770 ], 1771 [ 1772 "Character", 1773 "<!--...<style><!--...--!>" 1774 ], 1775 [ 1776 "EndTag", 1777 "style" 1778 ], 1779 [ 1780 "Character", 1781 "-->" 1782 ], 1783 [ 1784 "EndTag", 1785 "style" 1786 ] 1787 ] 1788 }, 1789 { 1790 "description": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>", 1791 "input": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>", 1792 "output": [ 1793 [ 1794 "DOCTYPE", 1795 "html", 1796 null, 1797 null, 1798 true 1799 ], 1800 [ 1801 "StartTag", 1802 "style", 1803 {} 1804 ], 1805 [ 1806 "Character", 1807 "<!--..." 1808 ], 1809 [ 1810 "EndTag", 1811 "style" 1812 ], 1813 [ 1814 "Comment", 1815 " " 1816 ], 1817 [ 1818 "StartTag", 1819 "style", 1820 {} 1821 ], 1822 [ 1823 "Character", 1824 "@import ..." 1825 ], 1826 [ 1827 "EndTag", 1828 "style" 1829 ] 1830 ] 1831 }, 1832 { 1833 "description": "<!doctype html><style>...<style><!--...</style><!-- --></style>", 1834 "input": "<!doctype html><style>...<style><!--...</style><!-- --></style>", 1835 "output": [ 1836 [ 1837 "DOCTYPE", 1838 "html", 1839 null, 1840 null, 1841 true 1842 ], 1843 [ 1844 "StartTag", 1845 "style", 1846 {} 1847 ], 1848 [ 1849 "Character", 1850 "...<style><!--..." 1851 ], 1852 [ 1853 "EndTag", 1854 "style" 1855 ], 1856 [ 1857 "Comment", 1858 " " 1859 ], 1860 [ 1861 "EndTag", 1862 "style" 1863 ] 1864 ] 1865 }, 1866 { 1867 "description": "<!doctype html><style>...<!--[if IE]><style>...</style>X", 1868 "input": "<!doctype html><style>...<!--[if IE]><style>...</style>X", 1869 "output": [ 1870 [ 1871 "DOCTYPE", 1872 "html", 1873 null, 1874 null, 1875 true 1876 ], 1877 [ 1878 "StartTag", 1879 "style", 1880 {} 1881 ], 1882 [ 1883 "Character", 1884 "...<!--[if IE]><style>..." 1885 ], 1886 [ 1887 "EndTag", 1888 "style" 1889 ], 1890 [ 1891 "Character", 1892 "X" 1893 ] 1894 ] 1895 }, 1896 { 1897 "description": "<!doctype html><title><!--<title></title>--></title>", 1898 "input": "<!doctype html><title><!--<title></title>--></title>", 1899 "output": [ 1900 [ 1901 "DOCTYPE", 1902 "html", 1903 null, 1904 null, 1905 true 1906 ], 1907 [ 1908 "StartTag", 1909 "title", 1910 {} 1911 ], 1912 [ 1913 "Character", 1914 "<!--<title>" 1915 ], 1916 [ 1917 "EndTag", 1918 "title" 1919 ], 1920 [ 1921 "Character", 1922 "-->" 1923 ], 1924 [ 1925 "EndTag", 1926 "title" 1927 ] 1928 ] 1929 }, 1930 { 1931 "description": "<!doctype html><title></title></title>", 1932 "input": "<!doctype html><title></title></title>", 1933 "output": [ 1934 [ 1935 "DOCTYPE", 1936 "html", 1937 null, 1938 null, 1939 true 1940 ], 1941 [ 1942 "StartTag", 1943 "title", 1944 {} 1945 ], 1946 [ 1947 "Character", 1948 "</title>" 1949 ], 1950 [ 1951 "EndTag", 1952 "title" 1953 ] 1954 ] 1955 }, 1956 { 1957 "description": "<!doctype html><title>foo/title><link></head><body>X", 1958 "input": "<!doctype html><title>foo/title><link></head><body>X", 1959 "output": [ 1960 [ 1961 "DOCTYPE", 1962 "html", 1963 null, 1964 null, 1965 true 1966 ], 1967 [ 1968 "StartTag", 1969 "title", 1970 {} 1971 ], 1972 [ 1973 "Character", 1974 "foo/title><link></head><body>X" 1975 ] 1976 ] 1977 }, 1978 { 1979 "description": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>", 1980 "input": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>", 1981 "output": [ 1982 [ 1983 "DOCTYPE", 1984 "html", 1985 null, 1986 null, 1987 true 1988 ], 1989 [ 1990 "StartTag", 1991 "noscript", 1992 {} 1993 ], 1994 [ 1995 "Character", 1996 "<!--<noscript>" 1997 ], 1998 [ 1999 "EndTag", 2000 "noscript" 2001 ], 2002 [ 2003 "Character", 2004 "-->" 2005 ], 2006 [ 2007 "EndTag", 2008 "noscript" 2009 ] 2010 ] 2011 }, 2012 { 2013 "description": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>", 2014 "input": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>", 2015 "output": [ 2016 [ 2017 "DOCTYPE", 2018 "html", 2019 null, 2020 null, 2021 true 2022 ], 2023 [ 2024 "StartTag", 2025 "noscript", 2026 {} 2027 ], 2028 [ 2029 "Character", 2030 "<!--" 2031 ], 2032 [ 2033 "EndTag", 2034 "noscript" 2035 ], 2036 [ 2037 "Character", 2038 "X" 2039 ], 2040 [ 2041 "StartTag", 2042 "noscript", 2043 {} 2044 ], 2045 [ 2046 "Character", 2047 "-->" 2048 ], 2049 [ 2050 "EndTag", 2051 "noscript" 2052 ] 2053 ] 2054 }, 2055 { 2056 "description": "<!doctype html><noscript><iframe></noscript>X", 2057 "input": "<!doctype html><noscript><iframe></noscript>X", 2058 "output": [ 2059 [ 2060 "DOCTYPE", 2061 "html", 2062 null, 2063 null, 2064 true 2065 ], 2066 [ 2067 "StartTag", 2068 "noscript", 2069 {} 2070 ], 2071 [ 2072 "Character", 2073 "<iframe>" 2074 ], 2075 [ 2076 "EndTag", 2077 "noscript" 2078 ], 2079 [ 2080 "Character", 2081 "X" 2082 ] 2083 ] 2084 }, 2085 { 2086 "description": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>", 2087 "input": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>", 2088 "output": [ 2089 [ 2090 "DOCTYPE", 2091 "html", 2092 null, 2093 null, 2094 true 2095 ], 2096 [ 2097 "StartTag", 2098 "noframes", 2099 {} 2100 ], 2101 [ 2102 "Character", 2103 "<!--<noframes>" 2104 ], 2105 [ 2106 "EndTag", 2107 "noframes" 2108 ], 2109 [ 2110 "Character", 2111 "-->" 2112 ], 2113 [ 2114 "EndTag", 2115 "noframes" 2116 ] 2117 ] 2118 }, 2119 { 2120 "description": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>", 2121 "input": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>", 2122 "output": [ 2123 [ 2124 "DOCTYPE", 2125 "html", 2126 null, 2127 null, 2128 true 2129 ], 2130 [ 2131 "StartTag", 2132 "noframes", 2133 {} 2134 ], 2135 [ 2136 "Character", 2137 "<body><script><!--...</script></body>" 2138 ], 2139 [ 2140 "EndTag", 2141 "noframes" 2142 ], 2143 [ 2144 "EndTag", 2145 "html" 2146 ] 2147 ] 2148 }, 2149 { 2150 "description": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>", 2151 "input": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>", 2152 "output": [ 2153 [ 2154 "DOCTYPE", 2155 "html", 2156 null, 2157 null, 2158 true 2159 ], 2160 [ 2161 "StartTag", 2162 "textarea", 2163 {} 2164 ], 2165 [ 2166 "Character", 2167 "<!--<textarea>" 2168 ], 2169 [ 2170 "EndTag", 2171 "textarea" 2172 ], 2173 [ 2174 "Character", 2175 "-->" 2176 ], 2177 [ 2178 "EndTag", 2179 "textarea" 2180 ] 2181 ] 2182 }, 2183 { 2184 "description": "<!doctype html><textarea></textarea></textarea>", 2185 "input": "<!doctype html><textarea></textarea></textarea>", 2186 "output": [ 2187 [ 2188 "DOCTYPE", 2189 "html", 2190 null, 2191 null, 2192 true 2193 ], 2194 [ 2195 "StartTag", 2196 "textarea", 2197 {} 2198 ], 2199 [ 2200 "Character", 2201 "</textarea>" 2202 ], 2203 [ 2204 "EndTag", 2205 "textarea" 2206 ] 2207 ] 2208 }, 2209 { 2210 "description": "<!doctype html><textarea><</textarea>", 2211 "input": "<!doctype html><textarea><</textarea>", 2212 "output": [ 2213 [ 2214 "DOCTYPE", 2215 "html", 2216 null, 2217 null, 2218 true 2219 ], 2220 [ 2221 "StartTag", 2222 "textarea", 2223 {} 2224 ], 2225 [ 2226 "Character", 2227 "<" 2228 ], 2229 [ 2230 "EndTag", 2231 "textarea" 2232 ] 2233 ] 2234 }, 2235 { 2236 "description": "<!doctype html><textarea>a<b</textarea>", 2237 "input": "<!doctype html><textarea>a<b</textarea>", 2238 "output": [ 2239 [ 2240 "DOCTYPE", 2241 "html", 2242 null, 2243 null, 2244 true 2245 ], 2246 [ 2247 "StartTag", 2248 "textarea", 2249 {} 2250 ], 2251 [ 2252 "Character", 2253 "a<b" 2254 ], 2255 [ 2256 "EndTag", 2257 "textarea" 2258 ] 2259 ] 2260 }, 2261 { 2262 "description": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>", 2263 "input": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>", 2264 "output": [ 2265 [ 2266 "DOCTYPE", 2267 "html", 2268 null, 2269 null, 2270 true 2271 ], 2272 [ 2273 "StartTag", 2274 "iframe", 2275 {} 2276 ], 2277 [ 2278 "Character", 2279 "<!--<iframe>" 2280 ], 2281 [ 2282 "EndTag", 2283 "iframe" 2284 ], 2285 [ 2286 "Character", 2287 "-->" 2288 ], 2289 [ 2290 "EndTag", 2291 "iframe" 2292 ] 2293 ] 2294 }, 2295 { 2296 "description": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>", 2297 "input": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>", 2298 "output": [ 2299 [ 2300 "DOCTYPE", 2301 "html", 2302 null, 2303 null, 2304 true 2305 ], 2306 [ 2307 "StartTag", 2308 "iframe", 2309 {} 2310 ], 2311 [ 2312 "Character", 2313 "...<!--X->...<!--/X->..." 2314 ], 2315 [ 2316 "EndTag", 2317 "iframe" 2318 ] 2319 ] 2320 }, 2321 { 2322 "description": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>", 2323 "input": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>", 2324 "output": [ 2325 [ 2326 "DOCTYPE", 2327 "html", 2328 null, 2329 null, 2330 true 2331 ], 2332 [ 2333 "StartTag", 2334 "xmp", 2335 {} 2336 ], 2337 [ 2338 "Character", 2339 "<!--<xmp>" 2340 ], 2341 [ 2342 "EndTag", 2343 "xmp" 2344 ], 2345 [ 2346 "Character", 2347 "-->" 2348 ], 2349 [ 2350 "EndTag", 2351 "xmp" 2352 ] 2353 ] 2354 }, 2355 { 2356 "description": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>", 2357 "input": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>", 2358 "output": [ 2359 [ 2360 "DOCTYPE", 2361 "html", 2362 null, 2363 null, 2364 true 2365 ], 2366 [ 2367 "StartTag", 2368 "noembed", 2369 {} 2370 ], 2371 [ 2372 "Character", 2373 "<!--<noembed>" 2374 ], 2375 [ 2376 "EndTag", 2377 "noembed" 2378 ], 2379 [ 2380 "Character", 2381 "-->" 2382 ], 2383 [ 2384 "EndTag", 2385 "noembed" 2386 ] 2387 ] 2388 }, 2389 { 2390 "description": "<script>", 2391 "input": "<script>", 2392 "output": [ 2393 [ 2394 "StartTag", 2395 "script", 2396 {} 2397 ] 2398 ] 2399 }, 2400 { 2401 "description": "<script>a", 2402 "input": "<script>a", 2403 "output": [ 2404 [ 2405 "StartTag", 2406 "script", 2407 {} 2408 ], 2409 [ 2410 "Character", 2411 "a" 2412 ] 2413 ] 2414 }, 2415 { 2416 "description": "<script><", 2417 "input": "<script><", 2418 "output": [ 2419 [ 2420 "StartTag", 2421 "script", 2422 {} 2423 ], 2424 [ 2425 "Character", 2426 "<" 2427 ] 2428 ] 2429 }, 2430 { 2431 "description": "<script></", 2432 "input": "<script></", 2433 "output": [ 2434 [ 2435 "StartTag", 2436 "script", 2437 {} 2438 ], 2439 [ 2440 "Character", 2441 "</" 2442 ] 2443 ] 2444 }, 2445 { 2446 "description": "<script></S", 2447 "input": "<script></S", 2448 "output": [ 2449 [ 2450 "StartTag", 2451 "script", 2452 {} 2453 ], 2454 [ 2455 "Character", 2456 "</S" 2457 ] 2458 ] 2459 }, 2460 { 2461 "description": "<script></SC", 2462 "input": "<script></SC", 2463 "output": [ 2464 [ 2465 "StartTag", 2466 "script", 2467 {} 2468 ], 2469 [ 2470 "Character", 2471 "</SC" 2472 ] 2473 ] 2474 }, 2475 { 2476 "description": "<script></SCR", 2477 "input": "<script></SCR", 2478 "output": [ 2479 [ 2480 "StartTag", 2481 "script", 2482 {} 2483 ], 2484 [ 2485 "Character", 2486 "</SCR" 2487 ] 2488 ] 2489 }, 2490 { 2491 "description": "<script></SCRI", 2492 "input": "<script></SCRI", 2493 "output": [ 2494 [ 2495 "StartTag", 2496 "script", 2497 {} 2498 ], 2499 [ 2500 "Character", 2501 "</SCRI" 2502 ] 2503 ] 2504 }, 2505 { 2506 "description": "<script></SCRIP", 2507 "input": "<script></SCRIP", 2508 "output": [ 2509 [ 2510 "StartTag", 2511 "script", 2512 {} 2513 ], 2514 [ 2515 "Character", 2516 "</SCRIP" 2517 ] 2518 ] 2519 }, 2520 { 2521 "description": "<script></SCRIPT", 2522 "input": "<script></SCRIPT", 2523 "output": [ 2524 [ 2525 "StartTag", 2526 "script", 2527 {} 2528 ], 2529 [ 2530 "Character", 2531 "</SCRIPT" 2532 ] 2533 ] 2534 }, 2535 { 2536 "description": "<script></SCRIPT ", 2537 "input": "<script></SCRIPT ", 2538 "output": [ 2539 [ 2540 "StartTag", 2541 "script", 2542 {} 2543 ] 2544 ] 2545 }, 2546 { 2547 "description": "<script></s", 2548 "input": "<script></s", 2549 "output": [ 2550 [ 2551 "StartTag", 2552 "script", 2553 {} 2554 ], 2555 [ 2556 "Character", 2557 "</s" 2558 ] 2559 ] 2560 }, 2561 { 2562 "description": "<script></sc", 2563 "input": "<script></sc", 2564 "output": [ 2565 [ 2566 "StartTag", 2567 "script", 2568 {} 2569 ], 2570 [ 2571 "Character", 2572 "</sc" 2573 ] 2574 ] 2575 }, 2576 { 2577 "description": "<script></scr", 2578 "input": "<script></scr", 2579 "output": [ 2580 [ 2581 "StartTag", 2582 "script", 2583 {} 2584 ], 2585 [ 2586 "Character", 2587 "</scr" 2588 ] 2589 ] 2590 }, 2591 { 2592 "description": "<script></scri", 2593 "input": "<script></scri", 2594 "output": [ 2595 [ 2596 "StartTag", 2597 "script", 2598 {} 2599 ], 2600 [ 2601 "Character", 2602 "</scri" 2603 ] 2604 ] 2605 }, 2606 { 2607 "description": "<script></scrip", 2608 "input": "<script></scrip", 2609 "output": [ 2610 [ 2611 "StartTag", 2612 "script", 2613 {} 2614 ], 2615 [ 2616 "Character", 2617 "</scrip" 2618 ] 2619 ] 2620 }, 2621 { 2622 "description": "<script></script", 2623 "input": "<script></script", 2624 "output": [ 2625 [ 2626 "StartTag", 2627 "script", 2628 {} 2629 ], 2630 [ 2631 "Character", 2632 "</script" 2633 ] 2634 ] 2635 }, 2636 { 2637 "description": "<script></script ", 2638 "input": "<script></script ", 2639 "output": [ 2640 [ 2641 "StartTag", 2642 "script", 2643 {} 2644 ] 2645 ] 2646 }, 2647 { 2648 "description": "<script><!", 2649 "input": "<script><!", 2650 "output": [ 2651 [ 2652 "StartTag", 2653 "script", 2654 {} 2655 ], 2656 [ 2657 "Character", 2658 "<!" 2659 ] 2660 ] 2661 }, 2662 { 2663 "description": "<script><!a", 2664 "input": "<script><!a", 2665 "output": [ 2666 [ 2667 "StartTag", 2668 "script", 2669 {} 2670 ], 2671 [ 2672 "Character", 2673 "<!a" 2674 ] 2675 ] 2676 }, 2677 { 2678 "description": "<script><!-", 2679 "input": "<script><!-", 2680 "output": [ 2681 [ 2682 "StartTag", 2683 "script", 2684 {} 2685 ], 2686 [ 2687 "Character", 2688 "<!-" 2689 ] 2690 ] 2691 }, 2692 { 2693 "description": "<script><!-a", 2694 "input": "<script><!-a", 2695 "output": [ 2696 [ 2697 "StartTag", 2698 "script", 2699 {} 2700 ], 2701 [ 2702 "Character", 2703 "<!-a" 2704 ] 2705 ] 2706 }, 2707 { 2708 "description": "<script><!--", 2709 "input": "<script><!--", 2710 "output": [ 2711 [ 2712 "StartTag", 2713 "script", 2714 {} 2715 ], 2716 [ 2717 "Character", 2718 "<!--" 2719 ] 2720 ] 2721 }, 2722 { 2723 "description": "<script><!--a", 2724 "input": "<script><!--a", 2725 "output": [ 2726 [ 2727 "StartTag", 2728 "script", 2729 {} 2730 ], 2731 [ 2732 "Character", 2733 "<!--a" 2734 ] 2735 ] 2736 }, 2737 { 2738 "description": "<script><!--<", 2739 "input": "<script><!--<", 2740 "output": [ 2741 [ 2742 "StartTag", 2743 "script", 2744 {} 2745 ], 2746 [ 2747 "Character", 2748 "<!--<" 2749 ] 2750 ] 2751 }, 2752 { 2753 "description": "<script><!--<a", 2754 "input": "<script><!--<a", 2755 "output": [ 2756 [ 2757 "StartTag", 2758 "script", 2759 {} 2760 ], 2761 [ 2762 "Character", 2763 "<!--<a" 2764 ] 2765 ] 2766 }, 2767 { 2768 "description": "<script><!--</", 2769 "input": "<script><!--</", 2770 "output": [ 2771 [ 2772 "StartTag", 2773 "script", 2774 {} 2775 ], 2776 [ 2777 "Character", 2778 "<!--</" 2779 ] 2780 ] 2781 }, 2782 { 2783 "description": "<script><!--</script", 2784 "input": "<script><!--</script", 2785 "output": [ 2786 [ 2787 "StartTag", 2788 "script", 2789 {} 2790 ], 2791 [ 2792 "Character", 2793 "<!--</script" 2794 ] 2795 ] 2796 }, 2797 { 2798 "description": "<script><!--</script ", 2799 "input": "<script><!--</script ", 2800 "output": [ 2801 [ 2802 "StartTag", 2803 "script", 2804 {} 2805 ], 2806 [ 2807 "Character", 2808 "<!--" 2809 ] 2810 ] 2811 }, 2812 { 2813 "description": "<script><!--<s", 2814 "input": "<script><!--<s", 2815 "output": [ 2816 [ 2817 "StartTag", 2818 "script", 2819 {} 2820 ], 2821 [ 2822 "Character", 2823 "<!--<s" 2824 ] 2825 ] 2826 }, 2827 { 2828 "description": "<script><!--<script", 2829 "input": "<script><!--<script", 2830 "output": [ 2831 [ 2832 "StartTag", 2833 "script", 2834 {} 2835 ], 2836 [ 2837 "Character", 2838 "<!--<script" 2839 ] 2840 ] 2841 }, 2842 { 2843 "description": "<script><!--<script ", 2844 "input": "<script><!--<script ", 2845 "output": [ 2846 [ 2847 "StartTag", 2848 "script", 2849 {} 2850 ], 2851 [ 2852 "Character", 2853 "<!--<script " 2854 ] 2855 ] 2856 }, 2857 { 2858 "description": "<script><!--<script <", 2859 "input": "<script><!--<script <", 2860 "output": [ 2861 [ 2862 "StartTag", 2863 "script", 2864 {} 2865 ], 2866 [ 2867 "Character", 2868 "<!--<script <" 2869 ] 2870 ] 2871 }, 2872 { 2873 "description": "<script><!--<script <a", 2874 "input": "<script><!--<script <a", 2875 "output": [ 2876 [ 2877 "StartTag", 2878 "script", 2879 {} 2880 ], 2881 [ 2882 "Character", 2883 "<!--<script <a" 2884 ] 2885 ] 2886 }, 2887 { 2888 "description": "<script><!--<script </", 2889 "input": "<script><!--<script </", 2890 "output": [ 2891 [ 2892 "StartTag", 2893 "script", 2894 {} 2895 ], 2896 [ 2897 "Character", 2898 "<!--<script </" 2899 ] 2900 ] 2901 }, 2902 { 2903 "description": "<script><!--<script </s", 2904 "input": "<script><!--<script </s", 2905 "output": [ 2906 [ 2907 "StartTag", 2908 "script", 2909 {} 2910 ], 2911 [ 2912 "Character", 2913 "<!--<script </s" 2914 ] 2915 ] 2916 }, 2917 { 2918 "description": "<script><!--<script </script", 2919 "input": "<script><!--<script </script", 2920 "output": [ 2921 [ 2922 "StartTag", 2923 "script", 2924 {} 2925 ], 2926 [ 2927 "Character", 2928 "<!--<script </script" 2929 ] 2930 ] 2931 }, 2932 { 2933 "description": "<script><!--<script </scripta", 2934 "input": "<script><!--<script </scripta", 2935 "output": [ 2936 [ 2937 "StartTag", 2938 "script", 2939 {} 2940 ], 2941 [ 2942 "Character", 2943 "<!--<script </scripta" 2944 ] 2945 ] 2946 }, 2947 { 2948 "description": "<script><!--<script </script ", 2949 "input": "<script><!--<script </script ", 2950 "output": [ 2951 [ 2952 "StartTag", 2953 "script", 2954 {} 2955 ], 2956 [ 2957 "Character", 2958 "<!--<script </script " 2959 ] 2960 ] 2961 }, 2962 { 2963 "description": "<script><!--<script </script>", 2964 "input": "<script><!--<script </script>", 2965 "output": [ 2966 [ 2967 "StartTag", 2968 "script", 2969 {} 2970 ], 2971 [ 2972 "Character", 2973 "<!--<script </script>" 2974 ] 2975 ] 2976 }, 2977 { 2978 "description": "<script><!--<script </script/", 2979 "input": "<script><!--<script </script/", 2980 "output": [ 2981 [ 2982 "StartTag", 2983 "script", 2984 {} 2985 ], 2986 [ 2987 "Character", 2988 "<!--<script </script/" 2989 ] 2990 ] 2991 }, 2992 { 2993 "description": "<script><!--<script </script <", 2994 "input": "<script><!--<script </script <", 2995 "output": [ 2996 [ 2997 "StartTag", 2998 "script", 2999 {} 3000 ], 3001 [ 3002 "Character", 3003 "<!--<script </script <" 3004 ] 3005 ] 3006 }, 3007 { 3008 "description": "<script><!--<script </script <a", 3009 "input": "<script><!--<script </script <a", 3010 "output": [ 3011 [ 3012 "StartTag", 3013 "script", 3014 {} 3015 ], 3016 [ 3017 "Character", 3018 "<!--<script </script <a" 3019 ] 3020 ] 3021 }, 3022 { 3023 "description": "<script><!--<script </script </", 3024 "input": "<script><!--<script </script </", 3025 "output": [ 3026 [ 3027 "StartTag", 3028 "script", 3029 {} 3030 ], 3031 [ 3032 "Character", 3033 "<!--<script </script </" 3034 ] 3035 ] 3036 }, 3037 { 3038 "description": "<script><!--<script </script </script", 3039 "input": "<script><!--<script </script </script", 3040 "output": [ 3041 [ 3042 "StartTag", 3043 "script", 3044 {} 3045 ], 3046 [ 3047 "Character", 3048 "<!--<script </script </script" 3049 ] 3050 ] 3051 }, 3052 { 3053 "description": "<script><!--<script </script </script ", 3054 "input": "<script><!--<script </script </script ", 3055 "output": [ 3056 [ 3057 "StartTag", 3058 "script", 3059 {} 3060 ], 3061 [ 3062 "Character", 3063 "<!--<script </script " 3064 ] 3065 ] 3066 }, 3067 { 3068 "description": "<script><!--<script </script </script/", 3069 "input": "<script><!--<script </script </script/", 3070 "output": [ 3071 [ 3072 "StartTag", 3073 "script", 3074 {} 3075 ], 3076 [ 3077 "Character", 3078 "<!--<script </script " 3079 ] 3080 ] 3081 }, 3082 { 3083 "description": "<script><!--<script </script </script>", 3084 "input": "<script><!--<script </script </script>", 3085 "output": [ 3086 [ 3087 "StartTag", 3088 "script", 3089 {} 3090 ], 3091 [ 3092 "Character", 3093 "<!--<script </script " 3094 ], 3095 [ 3096 "EndTag", 3097 "script" 3098 ] 3099 ] 3100 }, 3101 { 3102 "description": "<script><!--<script -", 3103 "input": "<script><!--<script -", 3104 "output": [ 3105 [ 3106 "StartTag", 3107 "script", 3108 {} 3109 ], 3110 [ 3111 "Character", 3112 "<!--<script -" 3113 ] 3114 ] 3115 }, 3116 { 3117 "description": "<script><!--<script -a", 3118 "input": "<script><!--<script -a", 3119 "output": [ 3120 [ 3121 "StartTag", 3122 "script", 3123 {} 3124 ], 3125 [ 3126 "Character", 3127 "<!--<script -a" 3128 ] 3129 ] 3130 }, 3131 { 3132 "description": "<script><!--<script --", 3133 "input": "<script><!--<script --", 3134 "output": [ 3135 [ 3136 "StartTag", 3137 "script", 3138 {} 3139 ], 3140 [ 3141 "Character", 3142 "<!--<script --" 3143 ] 3144 ] 3145 }, 3146 { 3147 "description": "<script><!--<script --a", 3148 "input": "<script><!--<script --a", 3149 "output": [ 3150 [ 3151 "StartTag", 3152 "script", 3153 {} 3154 ], 3155 [ 3156 "Character", 3157 "<!--<script --a" 3158 ] 3159 ] 3160 }, 3161 { 3162 "description": "<script><!--<script -->", 3163 "input": "<script><!--<script -->", 3164 "output": [ 3165 [ 3166 "StartTag", 3167 "script", 3168 {} 3169 ], 3170 [ 3171 "Character", 3172 "<!--<script -->" 3173 ] 3174 ] 3175 }, 3176 { 3177 "description": "<script><!--<script --><", 3178 "input": "<script><!--<script --><", 3179 "output": [ 3180 [ 3181 "StartTag", 3182 "script", 3183 {} 3184 ], 3185 [ 3186 "Character", 3187 "<!--<script --><" 3188 ] 3189 ] 3190 }, 3191 { 3192 "description": "<script><!--<script --></", 3193 "input": "<script><!--<script --></", 3194 "output": [ 3195 [ 3196 "StartTag", 3197 "script", 3198 {} 3199 ], 3200 [ 3201 "Character", 3202 "<!--<script --></" 3203 ] 3204 ] 3205 }, 3206 { 3207 "description": "<script><!--<script --></script", 3208 "input": "<script><!--<script --></script", 3209 "output": [ 3210 [ 3211 "StartTag", 3212 "script", 3213 {} 3214 ], 3215 [ 3216 "Character", 3217 "<!--<script --></script" 3218 ] 3219 ] 3220 }, 3221 { 3222 "description": "<script><!--<script --></script ", 3223 "input": "<script><!--<script --></script ", 3224 "output": [ 3225 [ 3226 "StartTag", 3227 "script", 3228 {} 3229 ], 3230 [ 3231 "Character", 3232 "<!--<script -->" 3233 ] 3234 ] 3235 }, 3236 { 3237 "description": "<script><!--<script --></script/", 3238 "input": "<script><!--<script --></script/", 3239 "output": [ 3240 [ 3241 "StartTag", 3242 "script", 3243 {} 3244 ], 3245 [ 3246 "Character", 3247 "<!--<script -->" 3248 ] 3249 ] 3250 }, 3251 { 3252 "description": "<script><!--<script --></script>", 3253 "input": "<script><!--<script --></script>", 3254 "output": [ 3255 [ 3256 "StartTag", 3257 "script", 3258 {} 3259 ], 3260 [ 3261 "Character", 3262 "<!--<script -->" 3263 ], 3264 [ 3265 "EndTag", 3266 "script" 3267 ] 3268 ] 3269 }, 3270 { 3271 "description": "<script><!--<script><\\/script>--></script>", 3272 "input": "<script><!--<script><\\/script>--></script>", 3273 "output": [ 3274 [ 3275 "StartTag", 3276 "script", 3277 {} 3278 ], 3279 [ 3280 "Character", 3281 "<!--<script><\\/script>-->" 3282 ], 3283 [ 3284 "EndTag", 3285 "script" 3286 ] 3287 ] 3288 }, 3289 { 3290 "description": "<script><!--<script></scr'+'ipt>--></script>", 3291 "input": "<script><!--<script></scr'+'ipt>--></script>", 3292 "output": [ 3293 [ 3294 "StartTag", 3295 "script", 3296 {} 3297 ], 3298 [ 3299 "Character", 3300 "<!--<script></scr'+'ipt>-->" 3301 ], 3302 [ 3303 "EndTag", 3304 "script" 3305 ] 3306 ] 3307 }, 3308 { 3309 "description": "<script><!--<script></script><script></script></script>", 3310 "input": "<script><!--<script></script><script></script></script>", 3311 "output": [ 3312 [ 3313 "StartTag", 3314 "script", 3315 {} 3316 ], 3317 [ 3318 "Character", 3319 "<!--<script></script><script></script>" 3320 ], 3321 [ 3322 "EndTag", 3323 "script" 3324 ] 3325 ] 3326 }, 3327 { 3328 "description": "<script><!--<script></script><script></script>--><!--</script>", 3329 "input": "<script><!--<script></script><script></script>--><!--</script>", 3330 "output": [ 3331 [ 3332 "StartTag", 3333 "script", 3334 {} 3335 ], 3336 [ 3337 "Character", 3338 "<!--<script></script><script></script>--><!--" 3339 ], 3340 [ 3341 "EndTag", 3342 "script" 3343 ] 3344 ] 3345 }, 3346 { 3347 "description": "<script><!--<script></script><script></script>-- ></script>", 3348 "input": "<script><!--<script></script><script></script>-- ></script>", 3349 "output": [ 3350 [ 3351 "StartTag", 3352 "script", 3353 {} 3354 ], 3355 [ 3356 "Character", 3357 "<!--<script></script><script></script>-- >" 3358 ], 3359 [ 3360 "EndTag", 3361 "script" 3362 ] 3363 ] 3364 }, 3365 { 3366 "description": "<script><!--<script></script><script></script>- -></script>", 3367 "input": "<script><!--<script></script><script></script>- -></script>", 3368 "output": [ 3369 [ 3370 "StartTag", 3371 "script", 3372 {} 3373 ], 3374 [ 3375 "Character", 3376 "<!--<script></script><script></script>- ->" 3377 ], 3378 [ 3379 "EndTag", 3380 "script" 3381 ] 3382 ] 3383 }, 3384 { 3385 "description": "<script><!--<script></script><script></script>- - ></script>", 3386 "input": "<script><!--<script></script><script></script>- - ></script>", 3387 "output": [ 3388 [ 3389 "StartTag", 3390 "script", 3391 {} 3392 ], 3393 [ 3394 "Character", 3395 "<!--<script></script><script></script>- - >" 3396 ], 3397 [ 3398 "EndTag", 3399 "script" 3400 ] 3401 ] 3402 }, 3403 { 3404 "description": "<script><!--<script></script><script></script>-></script>", 3405 "input": "<script><!--<script></script><script></script>-></script>", 3406 "output": [ 3407 [ 3408 "StartTag", 3409 "script", 3410 {} 3411 ], 3412 [ 3413 "Character", 3414 "<!--<script></script><script></script>->" 3415 ], 3416 [ 3417 "EndTag", 3418 "script" 3419 ] 3420 ] 3421 }, 3422 { 3423 "description": "<script><!--<script>--!></script>X", 3424 "input": "<script><!--<script>--!></script>X", 3425 "output": [ 3426 [ 3427 "StartTag", 3428 "script", 3429 {} 3430 ], 3431 [ 3432 "Character", 3433 "<!--<script>--!></script>X" 3434 ] 3435 ] 3436 }, 3437 { 3438 "description": "<script><!--<scr'+'ipt></script>--></script>", 3439 "input": "<script><!--<scr'+'ipt></script>--></script>", 3440 "output": [ 3441 [ 3442 "StartTag", 3443 "script", 3444 {} 3445 ], 3446 [ 3447 "Character", 3448 "<!--<scr'+'ipt>" 3449 ], 3450 [ 3451 "EndTag", 3452 "script" 3453 ], 3454 [ 3455 "Character", 3456 "-->" 3457 ], 3458 [ 3459 "EndTag", 3460 "script" 3461 ] 3462 ] 3463 }, 3464 { 3465 "description": "<script><!--<script></scr'+'ipt></script>X", 3466 "input": "<script><!--<script></scr'+'ipt></script>X", 3467 "output": [ 3468 [ 3469 "StartTag", 3470 "script", 3471 {} 3472 ], 3473 [ 3474 "Character", 3475 "<!--<script></scr'+'ipt></script>X" 3476 ] 3477 ] 3478 }, 3479 { 3480 "description": "<style><!--<style></style>--></style>", 3481 "input": "<style><!--<style></style>--></style>", 3482 "output": [ 3483 [ 3484 "StartTag", 3485 "style", 3486 {} 3487 ], 3488 [ 3489 "Character", 3490 "<!--<style>" 3491 ], 3492 [ 3493 "EndTag", 3494 "style" 3495 ], 3496 [ 3497 "Character", 3498 "-->" 3499 ], 3500 [ 3501 "EndTag", 3502 "style" 3503 ] 3504 ] 3505 }, 3506 { 3507 "description": "<style><!--</style>X", 3508 "input": "<style><!--</style>X", 3509 "output": [ 3510 [ 3511 "StartTag", 3512 "style", 3513 {} 3514 ], 3515 [ 3516 "Character", 3517 "<!--" 3518 ], 3519 [ 3520 "EndTag", 3521 "style" 3522 ], 3523 [ 3524 "Character", 3525 "X" 3526 ] 3527 ] 3528 }, 3529 { 3530 "description": "<style><!--...</style>...--></style>", 3531 "input": "<style><!--...</style>...--></style>", 3532 "output": [ 3533 [ 3534 "StartTag", 3535 "style", 3536 {} 3537 ], 3538 [ 3539 "Character", 3540 "<!--..." 3541 ], 3542 [ 3543 "EndTag", 3544 "style" 3545 ], 3546 [ 3547 "Character", 3548 "...-->" 3549 ], 3550 [ 3551 "EndTag", 3552 "style" 3553 ] 3554 ] 3555 }, 3556 { 3557 "description": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X", 3558 "input": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X", 3559 "output": [ 3560 [ 3561 "StartTag", 3562 "style", 3563 {} 3564 ], 3565 [ 3566 "Character", 3567 "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>" 3568 ], 3569 [ 3570 "EndTag", 3571 "style" 3572 ], 3573 [ 3574 "Character", 3575 "X" 3576 ] 3577 ] 3578 }, 3579 { 3580 "description": "<style><!--...<style><!--...--!></style>--></style>", 3581 "input": "<style><!--...<style><!--...--!></style>--></style>", 3582 "output": [ 3583 [ 3584 "StartTag", 3585 "style", 3586 {} 3587 ], 3588 [ 3589 "Character", 3590 "<!--...<style><!--...--!>" 3591 ], 3592 [ 3593 "EndTag", 3594 "style" 3595 ], 3596 [ 3597 "Character", 3598 "-->" 3599 ], 3600 [ 3601 "EndTag", 3602 "style" 3603 ] 3604 ] 3605 }, 3606 { 3607 "description": "<style><!--...</style><!-- --><style>@import ...</style>", 3608 "input": "<style><!--...</style><!-- --><style>@import ...</style>", 3609 "output": [ 3610 [ 3611 "StartTag", 3612 "style", 3613 {} 3614 ], 3615 [ 3616 "Character", 3617 "<!--..." 3618 ], 3619 [ 3620 "EndTag", 3621 "style" 3622 ], 3623 [ 3624 "Comment", 3625 " " 3626 ], 3627 [ 3628 "StartTag", 3629 "style", 3630 {} 3631 ], 3632 [ 3633 "Character", 3634 "@import ..." 3635 ], 3636 [ 3637 "EndTag", 3638 "style" 3639 ] 3640 ] 3641 }, 3642 { 3643 "description": "<style>...<style><!--...</style><!-- --></style>", 3644 "input": "<style>...<style><!--...</style><!-- --></style>", 3645 "output": [ 3646 [ 3647 "StartTag", 3648 "style", 3649 {} 3650 ], 3651 [ 3652 "Character", 3653 "...<style><!--..." 3654 ], 3655 [ 3656 "EndTag", 3657 "style" 3658 ], 3659 [ 3660 "Comment", 3661 " " 3662 ], 3663 [ 3664 "EndTag", 3665 "style" 3666 ] 3667 ] 3668 }, 3669 { 3670 "description": "<style>...<!--[if IE]><style>...</style>X", 3671 "input": "<style>...<!--[if IE]><style>...</style>X", 3672 "output": [ 3673 [ 3674 "StartTag", 3675 "style", 3676 {} 3677 ], 3678 [ 3679 "Character", 3680 "...<!--[if IE]><style>..." 3681 ], 3682 [ 3683 "EndTag", 3684 "style" 3685 ], 3686 [ 3687 "Character", 3688 "X" 3689 ] 3690 ] 3691 }, 3692 { 3693 "description": "<title><!--<title></title>--></title>", 3694 "input": "<title><!--<title></title>--></title>", 3695 "output": [ 3696 [ 3697 "StartTag", 3698 "title", 3699 {} 3700 ], 3701 [ 3702 "Character", 3703 "<!--<title>" 3704 ], 3705 [ 3706 "EndTag", 3707 "title" 3708 ], 3709 [ 3710 "Character", 3711 "-->" 3712 ], 3713 [ 3714 "EndTag", 3715 "title" 3716 ] 3717 ] 3718 }, 3719 { 3720 "description": "<title></title></title>", 3721 "input": "<title></title></title>", 3722 "output": [ 3723 [ 3724 "StartTag", 3725 "title", 3726 {} 3727 ], 3728 [ 3729 "Character", 3730 "</title>" 3731 ], 3732 [ 3733 "EndTag", 3734 "title" 3735 ] 3736 ] 3737 }, 3738 { 3739 "description": "<title>foo/title><link></head><body>X", 3740 "input": "<title>foo/title><link></head><body>X", 3741 "output": [ 3742 [ 3743 "StartTag", 3744 "title", 3745 {} 3746 ], 3747 [ 3748 "Character", 3749 "foo/title><link></head><body>X" 3750 ] 3751 ] 3752 }, 3753 { 3754 "description": "<noscript><!--<noscript></noscript>--></noscript>", 3755 "input": "<noscript><!--<noscript></noscript>--></noscript>", 3756 "output": [ 3757 [ 3758 "StartTag", 3759 "noscript", 3760 {} 3761 ], 3762 [ 3763 "Character", 3764 "<!--<noscript>" 3765 ], 3766 [ 3767 "EndTag", 3768 "noscript" 3769 ], 3770 [ 3771 "Character", 3772 "-->" 3773 ], 3774 [ 3775 "EndTag", 3776 "noscript" 3777 ] 3778 ] 3779 }, 3780 { 3781 "description": "<noscript><!--</noscript>X<noscript>--></noscript>", 3782 "input": "<noscript><!--</noscript>X<noscript>--></noscript>", 3783 "output": [ 3784 [ 3785 "StartTag", 3786 "noscript", 3787 {} 3788 ], 3789 [ 3790 "Character", 3791 "<!--" 3792 ], 3793 [ 3794 "EndTag", 3795 "noscript" 3796 ], 3797 [ 3798 "Character", 3799 "X" 3800 ], 3801 [ 3802 "StartTag", 3803 "noscript", 3804 {} 3805 ], 3806 [ 3807 "Character", 3808 "-->" 3809 ], 3810 [ 3811 "EndTag", 3812 "noscript" 3813 ] 3814 ] 3815 }, 3816 { 3817 "description": "<noscript><iframe></noscript>X", 3818 "input": "<noscript><iframe></noscript>X", 3819 "output": [ 3820 [ 3821 "StartTag", 3822 "noscript", 3823 {} 3824 ], 3825 [ 3826 "Character", 3827 "<iframe>" 3828 ], 3829 [ 3830 "EndTag", 3831 "noscript" 3832 ], 3833 [ 3834 "Character", 3835 "X" 3836 ] 3837 ] 3838 }, 3839 { 3840 "description": "<noframes><!--<noframes></noframes>--></noframes>", 3841 "input": "<noframes><!--<noframes></noframes>--></noframes>", 3842 "output": [ 3843 [ 3844 "StartTag", 3845 "noframes", 3846 {} 3847 ], 3848 [ 3849 "Character", 3850 "<!--<noframes>" 3851 ], 3852 [ 3853 "EndTag", 3854 "noframes" 3855 ], 3856 [ 3857 "Character", 3858 "-->" 3859 ], 3860 [ 3861 "EndTag", 3862 "noframes" 3863 ] 3864 ] 3865 }, 3866 { 3867 "description": "<noframes><body><script><!--...</script></body></noframes></html>", 3868 "input": "<noframes><body><script><!--...</script></body></noframes></html>", 3869 "output": [ 3870 [ 3871 "StartTag", 3872 "noframes", 3873 {} 3874 ], 3875 [ 3876 "Character", 3877 "<body><script><!--...</script></body>" 3878 ], 3879 [ 3880 "EndTag", 3881 "noframes" 3882 ], 3883 [ 3884 "EndTag", 3885 "html" 3886 ] 3887 ] 3888 }, 3889 { 3890 "description": "<textarea><!--<textarea></textarea>--></textarea>", 3891 "input": "<textarea><!--<textarea></textarea>--></textarea>", 3892 "output": [ 3893 [ 3894 "StartTag", 3895 "textarea", 3896 {} 3897 ], 3898 [ 3899 "Character", 3900 "<!--<textarea>" 3901 ], 3902 [ 3903 "EndTag", 3904 "textarea" 3905 ], 3906 [ 3907 "Character", 3908 "-->" 3909 ], 3910 [ 3911 "EndTag", 3912 "textarea" 3913 ] 3914 ] 3915 }, 3916 { 3917 "description": "<textarea></textarea></textarea>", 3918 "input": "<textarea></textarea></textarea>", 3919 "output": [ 3920 [ 3921 "StartTag", 3922 "textarea", 3923 {} 3924 ], 3925 [ 3926 "Character", 3927 "</textarea>" 3928 ], 3929 [ 3930 "EndTag", 3931 "textarea" 3932 ] 3933 ] 3934 }, 3935 { 3936 "description": "<iframe><!--<iframe></iframe>--></iframe>", 3937 "input": "<iframe><!--<iframe></iframe>--></iframe>", 3938 "output": [ 3939 [ 3940 "StartTag", 3941 "iframe", 3942 {} 3943 ], 3944 [ 3945 "Character", 3946 "<!--<iframe>" 3947 ], 3948 [ 3949 "EndTag", 3950 "iframe" 3951 ], 3952 [ 3953 "Character", 3954 "-->" 3955 ], 3956 [ 3957 "EndTag", 3958 "iframe" 3959 ] 3960 ] 3961 }, 3962 { 3963 "description": "<iframe>...<!--X->...<!--/X->...</iframe>", 3964 "input": "<iframe>...<!--X->...<!--/X->...</iframe>", 3965 "output": [ 3966 [ 3967 "StartTag", 3968 "iframe", 3969 {} 3970 ], 3971 [ 3972 "Character", 3973 "...<!--X->...<!--/X->..." 3974 ], 3975 [ 3976 "EndTag", 3977 "iframe" 3978 ] 3979 ] 3980 }, 3981 { 3982 "description": "<xmp><!--<xmp></xmp>--></xmp>", 3983 "input": "<xmp><!--<xmp></xmp>--></xmp>", 3984 "output": [ 3985 [ 3986 "StartTag", 3987 "xmp", 3988 {} 3989 ], 3990 [ 3991 "Character", 3992 "<!--<xmp>" 3993 ], 3994 [ 3995 "EndTag", 3996 "xmp" 3997 ], 3998 [ 3999 "Character", 4000 "-->" 4001 ], 4002 [ 4003 "EndTag", 4004 "xmp" 4005 ] 4006 ] 4007 }, 4008 { 4009 "description": "<noembed><!--<noembed></noembed>--></noembed>", 4010 "input": "<noembed><!--<noembed></noembed>--></noembed>", 4011 "output": [ 4012 [ 4013 "StartTag", 4014 "noembed", 4015 {} 4016 ], 4017 [ 4018 "Character", 4019 "<!--<noembed>" 4020 ], 4021 [ 4022 "EndTag", 4023 "noembed" 4024 ], 4025 [ 4026 "Character", 4027 "-->" 4028 ], 4029 [ 4030 "EndTag", 4031 "noembed" 4032 ] 4033 ] 4034 }, 4035 { 4036 "description": "<!doctype html><table>\\r\\n", 4037 "input": "<!doctype html><table>\r\n", 4038 "output": [ 4039 [ 4040 "DOCTYPE", 4041 "html", 4042 null, 4043 null, 4044 true 4045 ], 4046 [ 4047 "StartTag", 4048 "table", 4049 {} 4050 ], 4051 [ 4052 "Character", 4053 "\n" 4054 ] 4055 ] 4056 }, 4057 { 4058 "description": "<!doctype html><table><td><span><font></span><span>", 4059 "input": "<!doctype html><table><td><span><font></span><span>", 4060 "output": [ 4061 [ 4062 "DOCTYPE", 4063 "html", 4064 null, 4065 null, 4066 true 4067 ], 4068 [ 4069 "StartTag", 4070 "table", 4071 {} 4072 ], 4073 [ 4074 "StartTag", 4075 "td", 4076 {} 4077 ], 4078 [ 4079 "StartTag", 4080 "span", 4081 {} 4082 ], 4083 [ 4084 "StartTag", 4085 "font", 4086 {} 4087 ], 4088 [ 4089 "EndTag", 4090 "span" 4091 ], 4092 [ 4093 "StartTag", 4094 "span", 4095 {} 4096 ] 4097 ] 4098 }, 4099 { 4100 "description": "<!doctype html><form><table></form><form></table></form>", 4101 "input": "<!doctype html><form><table></form><form></table></form>", 4102 "output": [ 4103 [ 4104 "DOCTYPE", 4105 "html", 4106 null, 4107 null, 4108 true 4109 ], 4110 [ 4111 "StartTag", 4112 "form", 4113 {} 4114 ], 4115 [ 4116 "StartTag", 4117 "table", 4118 {} 4119 ], 4120 [ 4121 "EndTag", 4122 "form" 4123 ], 4124 [ 4125 "StartTag", 4126 "form", 4127 {} 4128 ], 4129 [ 4130 "EndTag", 4131 "table" 4132 ], 4133 [ 4134 "EndTag", 4135 "form" 4136 ] 4137 ] 4138 } 4139 ] 4140}