github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/net/html/testdata/webkit/tests6.dat (about) 1 #data 2 <!doctype html></head> <head> 3 #errors 4 (1,29): unexpected-start-tag 5 #document 6 | <!DOCTYPE html> 7 | <html> 8 | <head> 9 | " " 10 | <body> 11 12 #data 13 <!doctype html><form><div></form><div> 14 #errors 15 (1,33): end-tag-too-early-ignored 16 (1,38): expected-closing-tag-but-got-eof 17 #document 18 | <!DOCTYPE html> 19 | <html> 20 | <head> 21 | <body> 22 | <form> 23 | <div> 24 | <div> 25 26 #data 27 <!doctype html><title>&</title> 28 #errors 29 #document 30 | <!DOCTYPE html> 31 | <html> 32 | <head> 33 | <title> 34 | "&" 35 | <body> 36 37 #data 38 <!doctype html><title><!--&--></title> 39 #errors 40 #document 41 | <!DOCTYPE html> 42 | <html> 43 | <head> 44 | <title> 45 | "<!--&-->" 46 | <body> 47 48 #data 49 <!doctype> 50 #errors 51 (1,9): need-space-after-doctype 52 (1,10): expected-doctype-name-but-got-right-bracket 53 (1,10): unknown-doctype 54 #new-errors 55 (1:10) missing-doctype-name 56 #document 57 | <!DOCTYPE > 58 | <html> 59 | <head> 60 | <body> 61 62 #data 63 <!---x 64 #errors 65 (1,6): eof-in-comment 66 (1,6): expected-doctype-but-got-eof 67 #new-errors 68 (1:7) eof-in-comment 69 #document 70 | <!-- -x --> 71 | <html> 72 | <head> 73 | <body> 74 75 #data 76 <body> 77 <div> 78 #errors 79 (1,6): unexpected-start-tag 80 (2,5): expected-closing-tag-but-got-eof 81 #document-fragment 82 div 83 #document 84 | " 85 " 86 | <div> 87 88 #data 89 <frameset></frameset> 90 foo 91 #errors 92 (1,10): expected-doctype-but-got-start-tag 93 (2,1): unexpected-char-after-frameset 94 (2,2): unexpected-char-after-frameset 95 (2,3): unexpected-char-after-frameset 96 #document 97 | <html> 98 | <head> 99 | <frameset> 100 | " 101 " 102 103 #data 104 <frameset></frameset> 105 <noframes> 106 #errors 107 (1,10): expected-doctype-but-got-start-tag 108 (2,10): expected-named-closing-tag-but-got-eof 109 #document 110 | <html> 111 | <head> 112 | <frameset> 113 | " 114 " 115 | <noframes> 116 117 #data 118 <frameset></frameset> 119 <div> 120 #errors 121 (1,10): expected-doctype-but-got-start-tag 122 (2,5): unexpected-start-tag-after-frameset 123 #document 124 | <html> 125 | <head> 126 | <frameset> 127 | " 128 " 129 130 #data 131 <frameset></frameset> 132 </html> 133 #errors 134 (1,10): expected-doctype-but-got-start-tag 135 #document 136 | <html> 137 | <head> 138 | <frameset> 139 | " 140 " 141 142 #data 143 <frameset></frameset> 144 </div> 145 #errors 146 (1,10): expected-doctype-but-got-start-tag 147 (2,6): unexpected-end-tag-after-frameset 148 #document 149 | <html> 150 | <head> 151 | <frameset> 152 | " 153 " 154 155 #data 156 <form><form> 157 #errors 158 (1,6): expected-doctype-but-got-start-tag 159 (1,12): unexpected-start-tag 160 (1,12): expected-closing-tag-but-got-eof 161 #document 162 | <html> 163 | <head> 164 | <body> 165 | <form> 166 167 #data 168 <button><button> 169 #errors 170 (1,8): expected-doctype-but-got-start-tag 171 (1,16): unexpected-start-tag-implies-end-tag 172 (1,16): expected-closing-tag-but-got-eof 173 #document 174 | <html> 175 | <head> 176 | <body> 177 | <button> 178 | <button> 179 180 #data 181 <table><tr><td></th> 182 #errors 183 (1,7): expected-doctype-but-got-start-tag 184 (1,20): unexpected-end-tag 185 (1,20): expected-closing-tag-but-got-eof 186 #document 187 | <html> 188 | <head> 189 | <body> 190 | <table> 191 | <tbody> 192 | <tr> 193 | <td> 194 195 #data 196 <table><caption><td> 197 #errors 198 (1,7): expected-doctype-but-got-start-tag 199 (1,20): unexpected-cell-in-table-body 200 (1,20): expected-closing-tag-but-got-eof 201 #document 202 | <html> 203 | <head> 204 | <body> 205 | <table> 206 | <caption> 207 | <tbody> 208 | <tr> 209 | <td> 210 211 #data 212 <table><caption><div> 213 #errors 214 (1,7): expected-doctype-but-got-start-tag 215 (1,21): expected-closing-tag-but-got-eof 216 #document 217 | <html> 218 | <head> 219 | <body> 220 | <table> 221 | <caption> 222 | <div> 223 224 #data 225 </caption><div> 226 #errors 227 (1,10): XXX-undefined-error 228 (1,15): expected-closing-tag-but-got-eof 229 #document-fragment 230 caption 231 #document 232 | <div> 233 234 #data 235 <table><caption><div></caption> 236 #errors 237 (1,7): expected-doctype-but-got-start-tag 238 (1,31): expected-one-end-tag-but-got-another 239 (1,31): eof-in-table 240 #document 241 | <html> 242 | <head> 243 | <body> 244 | <table> 245 | <caption> 246 | <div> 247 248 #data 249 <table><caption></table> 250 #errors 251 (1,7): expected-doctype-but-got-start-tag 252 #document 253 | <html> 254 | <head> 255 | <body> 256 | <table> 257 | <caption> 258 259 #data 260 </table><div> 261 #errors 262 (1,8): unexpected-end-tag 263 (1,13): expected-closing-tag-but-got-eof 264 #document-fragment 265 caption 266 #document 267 | <div> 268 269 #data 270 <table><caption></body></col></colgroup></html></tbody></td></tfoot></th></thead></tr> 271 #errors 272 (1,7): expected-doctype-but-got-start-tag 273 (1,23): unexpected-end-tag 274 (1,29): unexpected-end-tag 275 (1,40): unexpected-end-tag 276 (1,47): unexpected-end-tag 277 (1,55): unexpected-end-tag 278 (1,60): unexpected-end-tag 279 (1,68): unexpected-end-tag 280 (1,73): unexpected-end-tag 281 (1,81): unexpected-end-tag 282 (1,86): unexpected-end-tag 283 (1,86): expected-closing-tag-but-got-eof 284 #document 285 | <html> 286 | <head> 287 | <body> 288 | <table> 289 | <caption> 290 291 #data 292 <table><caption><div></div> 293 #errors 294 (1,7): expected-doctype-but-got-start-tag 295 (1,27): expected-closing-tag-but-got-eof 296 #document 297 | <html> 298 | <head> 299 | <body> 300 | <table> 301 | <caption> 302 | <div> 303 304 #data 305 <table><tr><td></body></caption></col></colgroup></html> 306 #errors 307 (1,7): expected-doctype-but-got-start-tag 308 (1,22): unexpected-end-tag 309 (1,32): unexpected-end-tag 310 (1,38): unexpected-end-tag 311 (1,49): unexpected-end-tag 312 (1,56): unexpected-end-tag 313 (1,56): expected-closing-tag-but-got-eof 314 #document 315 | <html> 316 | <head> 317 | <body> 318 | <table> 319 | <tbody> 320 | <tr> 321 | <td> 322 323 #data 324 </table></tbody></tfoot></thead></tr><div> 325 #errors 326 (1,8): unexpected-end-tag 327 (1,16): unexpected-end-tag 328 (1,24): unexpected-end-tag 329 (1,32): unexpected-end-tag 330 (1,37): unexpected-end-tag 331 (1,42): expected-closing-tag-but-got-eof 332 #document-fragment 333 td 334 #document 335 | <div> 336 337 #data 338 <table><colgroup>foo 339 #errors 340 (1,7): expected-doctype-but-got-start-tag 341 (1,18): foster-parenting-character-in-table 342 (1,19): foster-parenting-character-in-table 343 (1,20): foster-parenting-character-in-table 344 (1,20): eof-in-table 345 #document 346 | <html> 347 | <head> 348 | <body> 349 | "foo" 350 | <table> 351 | <colgroup> 352 353 #data 354 foo<col> 355 #errors 356 (1,1): unexpected-character-in-colgroup 357 (1,2): unexpected-character-in-colgroup 358 (1,3): unexpected-character-in-colgroup 359 #document-fragment 360 colgroup 361 #document 362 | <col> 363 364 #data 365 <table><colgroup></col> 366 #errors 367 (1,7): expected-doctype-but-got-start-tag 368 (1,23): no-end-tag 369 (1,23): eof-in-table 370 #document 371 | <html> 372 | <head> 373 | <body> 374 | <table> 375 | <colgroup> 376 377 #data 378 <frameset><div> 379 #errors 380 (1,10): expected-doctype-but-got-start-tag 381 (1,15): unexpected-start-tag-in-frameset 382 (1,15): eof-in-frameset 383 #document 384 | <html> 385 | <head> 386 | <frameset> 387 388 #data 389 </frameset><frame> 390 #errors 391 (1,11): unexpected-frameset-in-frameset-innerhtml 392 #document-fragment 393 frameset 394 #document 395 | <frame> 396 397 #data 398 <frameset></div> 399 #errors 400 (1,10): expected-doctype-but-got-start-tag 401 (1,16): unexpected-end-tag-in-frameset 402 (1,16): eof-in-frameset 403 #document 404 | <html> 405 | <head> 406 | <frameset> 407 408 #data 409 </body><div> 410 #errors 411 (1,7): unexpected-close-tag 412 (1,12): expected-closing-tag-but-got-eof 413 #document-fragment 414 body 415 #document 416 | <div> 417 418 #data 419 <table><tr><div> 420 #errors 421 (1,7): expected-doctype-but-got-start-tag 422 (1,16): unexpected-start-tag-implies-table-voodoo 423 (1,16): eof-in-table 424 #document 425 | <html> 426 | <head> 427 | <body> 428 | <div> 429 | <table> 430 | <tbody> 431 | <tr> 432 433 #data 434 </tr><td> 435 #errors 436 (1,5): unexpected-end-tag 437 #document-fragment 438 tr 439 #document 440 | <td> 441 442 #data 443 </tbody></tfoot></thead><td> 444 #errors 445 (1,8): unexpected-end-tag 446 (1,16): unexpected-end-tag 447 (1,24): unexpected-end-tag 448 #document-fragment 449 tr 450 #document 451 | <td> 452 453 #data 454 <table><tr><div><td> 455 #errors 456 (1,7): expected-doctype-but-got-start-tag 457 (1,16): foster-parenting-start-tag 458 (1,20): expected-closing-tag-but-got-eof 459 #document 460 | <html> 461 | <head> 462 | <body> 463 | <div> 464 | <table> 465 | <tbody> 466 | <tr> 467 | <td> 468 469 #data 470 <caption><col><colgroup><tbody><tfoot><thead><tr> 471 #errors 472 (1,9): unexpected-start-tag 473 (1,14): unexpected-start-tag 474 (1,24): unexpected-start-tag 475 (1,31): unexpected-start-tag 476 (1,38): unexpected-start-tag 477 (1,45): unexpected-start-tag 478 #document-fragment 479 tbody 480 #document 481 | <tr> 482 483 #data 484 <table><tbody></thead> 485 #errors 486 (1,7): expected-doctype-but-got-start-tag 487 (1,22): unexpected-end-tag-in-table-body 488 (1,22): eof-in-table 489 #document 490 | <html> 491 | <head> 492 | <body> 493 | <table> 494 | <tbody> 495 496 #data 497 </table><tr> 498 #errors 499 (1,8): unexpected-end-tag 500 #document-fragment 501 tbody 502 #document 503 | <tr> 504 505 #data 506 <table><tbody></body></caption></col></colgroup></html></td></th></tr> 507 #errors 508 (1,7): expected-doctype-but-got-start-tag 509 (1,21): unexpected-end-tag-in-table-body 510 (1,31): unexpected-end-tag-in-table-body 511 (1,37): unexpected-end-tag-in-table-body 512 (1,48): unexpected-end-tag-in-table-body 513 (1,55): unexpected-end-tag-in-table-body 514 (1,60): unexpected-end-tag-in-table-body 515 (1,65): unexpected-end-tag-in-table-body 516 (1,70): unexpected-end-tag-in-table-body 517 (1,70): eof-in-table 518 #document 519 | <html> 520 | <head> 521 | <body> 522 | <table> 523 | <tbody> 524 525 #data 526 <table><tbody></div> 527 #errors 528 (1,7): expected-doctype-but-got-start-tag 529 (1,20): unexpected-end-tag-implies-table-voodoo 530 (1,20): end-tag-too-early 531 (1,20): eof-in-table 532 #document 533 | <html> 534 | <head> 535 | <body> 536 | <table> 537 | <tbody> 538 539 #data 540 <table><table> 541 #errors 542 (1,7): expected-doctype-but-got-start-tag 543 (1,14): unexpected-start-tag-implies-end-tag 544 (1,14): eof-in-table 545 #document 546 | <html> 547 | <head> 548 | <body> 549 | <table> 550 | <table> 551 552 #data 553 <table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr> 554 #errors 555 (1,7): expected-doctype-but-got-start-tag 556 (1,14): unexpected-end-tag 557 (1,24): unexpected-end-tag 558 (1,30): unexpected-end-tag 559 (1,41): unexpected-end-tag 560 (1,48): unexpected-end-tag 561 (1,56): unexpected-end-tag 562 (1,61): unexpected-end-tag 563 (1,69): unexpected-end-tag 564 (1,74): unexpected-end-tag 565 (1,82): unexpected-end-tag 566 (1,87): unexpected-end-tag 567 (1,87): eof-in-table 568 #document 569 | <html> 570 | <head> 571 | <body> 572 | <table> 573 574 #data 575 </table><tr> 576 #errors 577 (1,8): unexpected-end-tag 578 #document-fragment 579 table 580 #document 581 | <tbody> 582 | <tr> 583 584 #data 585 <body></body></html> 586 #errors 587 (1,20): unexpected-end-tag-after-body-innerhtml 588 #document-fragment 589 html 590 #document 591 | <head> 592 | <body> 593 594 #data 595 <html><frameset></frameset></html> 596 #errors 597 (1,6): expected-doctype-but-got-start-tag 598 #document 599 | <html> 600 | <head> 601 | <frameset> 602 | " " 603 604 #data 605 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html></html> 606 #errors 607 #document 608 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" ""> 609 | <html> 610 | <head> 611 | <body> 612 613 #data 614 <param><frameset></frameset> 615 #errors 616 (1,7): expected-doctype-but-got-start-tag 617 (1,17): unexpected-start-tag 618 #document 619 | <html> 620 | <head> 621 | <frameset> 622 623 #data 624 <source><frameset></frameset> 625 #errors 626 (1,8): expected-doctype-but-got-start-tag 627 (1,18): unexpected-start-tag 628 #document 629 | <html> 630 | <head> 631 | <frameset> 632 633 #data 634 <track><frameset></frameset> 635 #errors 636 (1,7): expected-doctype-but-got-start-tag 637 (1,17): unexpected-start-tag 638 #document 639 | <html> 640 | <head> 641 | <frameset> 642 643 #data 644 </html><frameset></frameset> 645 #errors 646 (1,7): expected-doctype-but-got-end-tag 647 (1,17): expected-eof-but-got-start-tag 648 (1,17): unexpected-start-tag 649 #document 650 | <html> 651 | <head> 652 | <frameset> 653 654 #data 655 </body><frameset></frameset> 656 #errors 657 (1,7): expected-doctype-but-got-end-tag 658 (1,17): unexpected-start-tag-after-body 659 (1,17): unexpected-start-tag 660 #document 661 | <html> 662 | <head> 663 | <frameset>