gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/html/testdata/webkit/tests20.dat (about) 1 #data 2 <!doctype html><p><button><button> 3 #errors 4 (1,34): unexpected-start-tag-implies-end-tag 5 (1,34): expected-closing-tag-but-got-eof 6 #document 7 | <!DOCTYPE html> 8 | <html> 9 | <head> 10 | <body> 11 | <p> 12 | <button> 13 | <button> 14 15 #data 16 <!doctype html><p><button><address> 17 #errors 18 (1,35): expected-closing-tag-but-got-eof 19 #document 20 | <!DOCTYPE html> 21 | <html> 22 | <head> 23 | <body> 24 | <p> 25 | <button> 26 | <address> 27 28 #data 29 <!doctype html><p><button><blockquote> 30 #errors 31 (1,38): expected-closing-tag-but-got-eof 32 #document 33 | <!DOCTYPE html> 34 | <html> 35 | <head> 36 | <body> 37 | <p> 38 | <button> 39 | <blockquote> 40 41 #data 42 <!doctype html><p><button><menu> 43 #errors 44 (1,32): expected-closing-tag-but-got-eof 45 #document 46 | <!DOCTYPE html> 47 | <html> 48 | <head> 49 | <body> 50 | <p> 51 | <button> 52 | <menu> 53 54 #data 55 <!doctype html><p><button><p> 56 #errors 57 (1,29): expected-closing-tag-but-got-eof 58 #document 59 | <!DOCTYPE html> 60 | <html> 61 | <head> 62 | <body> 63 | <p> 64 | <button> 65 | <p> 66 67 #data 68 <!doctype html><p><button><ul> 69 #errors 70 (1,30): expected-closing-tag-but-got-eof 71 #document 72 | <!DOCTYPE html> 73 | <html> 74 | <head> 75 | <body> 76 | <p> 77 | <button> 78 | <ul> 79 80 #data 81 <!doctype html><p><button><h1> 82 #errors 83 (1,30): expected-closing-tag-but-got-eof 84 #document 85 | <!DOCTYPE html> 86 | <html> 87 | <head> 88 | <body> 89 | <p> 90 | <button> 91 | <h1> 92 93 #data 94 <!doctype html><p><button><h6> 95 #errors 96 (1,30): expected-closing-tag-but-got-eof 97 #document 98 | <!DOCTYPE html> 99 | <html> 100 | <head> 101 | <body> 102 | <p> 103 | <button> 104 | <h6> 105 106 #data 107 <!doctype html><p><button><listing> 108 #errors 109 (1,35): expected-closing-tag-but-got-eof 110 #document 111 | <!DOCTYPE html> 112 | <html> 113 | <head> 114 | <body> 115 | <p> 116 | <button> 117 | <listing> 118 119 #data 120 <!doctype html><p><button><pre> 121 #errors 122 (1,31): expected-closing-tag-but-got-eof 123 #document 124 | <!DOCTYPE html> 125 | <html> 126 | <head> 127 | <body> 128 | <p> 129 | <button> 130 | <pre> 131 132 #data 133 <!doctype html><p><button><form> 134 #errors 135 (1,32): expected-closing-tag-but-got-eof 136 #document 137 | <!DOCTYPE html> 138 | <html> 139 | <head> 140 | <body> 141 | <p> 142 | <button> 143 | <form> 144 145 #data 146 <!doctype html><p><button><li> 147 #errors 148 (1,30): expected-closing-tag-but-got-eof 149 #document 150 | <!DOCTYPE html> 151 | <html> 152 | <head> 153 | <body> 154 | <p> 155 | <button> 156 | <li> 157 158 #data 159 <!doctype html><p><button><dd> 160 #errors 161 (1,30): expected-closing-tag-but-got-eof 162 #document 163 | <!DOCTYPE html> 164 | <html> 165 | <head> 166 | <body> 167 | <p> 168 | <button> 169 | <dd> 170 171 #data 172 <!doctype html><p><button><dt> 173 #errors 174 (1,30): expected-closing-tag-but-got-eof 175 #document 176 | <!DOCTYPE html> 177 | <html> 178 | <head> 179 | <body> 180 | <p> 181 | <button> 182 | <dt> 183 184 #data 185 <!doctype html><p><button><plaintext> 186 #errors 187 (1,37): expected-closing-tag-but-got-eof 188 #document 189 | <!DOCTYPE html> 190 | <html> 191 | <head> 192 | <body> 193 | <p> 194 | <button> 195 | <plaintext> 196 197 #data 198 <!doctype html><p><button><table> 199 #errors 200 (1,33): eof-in-table 201 #document 202 | <!DOCTYPE html> 203 | <html> 204 | <head> 205 | <body> 206 | <p> 207 | <button> 208 | <table> 209 210 #data 211 <!doctype html><p><button><hr> 212 #errors 213 (1,30): expected-closing-tag-but-got-eof 214 #document 215 | <!DOCTYPE html> 216 | <html> 217 | <head> 218 | <body> 219 | <p> 220 | <button> 221 | <hr> 222 223 #data 224 <!doctype html><p><button><xmp> 225 #errors 226 (1,31): expected-named-closing-tag-but-got-eof 227 (1,31): expected-closing-tag-but-got-eof 228 #document 229 | <!DOCTYPE html> 230 | <html> 231 | <head> 232 | <body> 233 | <p> 234 | <button> 235 | <xmp> 236 237 #data 238 <!doctype html><p><button></p> 239 #errors 240 (1,30): unexpected-end-tag 241 (1,30): expected-closing-tag-but-got-eof 242 #document 243 | <!DOCTYPE html> 244 | <html> 245 | <head> 246 | <body> 247 | <p> 248 | <button> 249 | <p> 250 251 #data 252 <!doctype html><address><button></address>a 253 #errors 254 (1,42): end-tag-too-early 255 #document 256 | <!DOCTYPE html> 257 | <html> 258 | <head> 259 | <body> 260 | <address> 261 | <button> 262 | "a" 263 264 #data 265 <!doctype html><address><button></address>a 266 #errors 267 (1,42): end-tag-too-early 268 #document 269 | <!DOCTYPE html> 270 | <html> 271 | <head> 272 | <body> 273 | <address> 274 | <button> 275 | "a" 276 277 #data 278 <p><table></p> 279 #errors 280 (1,3): expected-doctype-but-got-start-tag 281 (1,14): unexpected-end-tag-implies-table-voodoo 282 (1,14): unexpected-end-tag 283 (1,14): eof-in-table 284 #document 285 | <html> 286 | <head> 287 | <body> 288 | <p> 289 | <p> 290 | <table> 291 292 #data 293 <!doctype html><svg> 294 #errors 295 (1,20): expected-closing-tag-but-got-eof 296 #document 297 | <!DOCTYPE html> 298 | <html> 299 | <head> 300 | <body> 301 | <svg svg> 302 303 #data 304 <!doctype html><p><figcaption> 305 #errors 306 (1,30): expected-closing-tag-but-got-eof 307 #document 308 | <!DOCTYPE html> 309 | <html> 310 | <head> 311 | <body> 312 | <p> 313 | <figcaption> 314 315 #data 316 <!doctype html><p><summary> 317 #errors 318 (1,27): expected-closing-tag-but-got-eof 319 #document 320 | <!DOCTYPE html> 321 | <html> 322 | <head> 323 | <body> 324 | <p> 325 | <summary> 326 327 #data 328 <!doctype html><form><table><form> 329 #errors 330 (1,34): unexpected-form-in-table 331 (1,34): eof-in-table 332 #document 333 | <!DOCTYPE html> 334 | <html> 335 | <head> 336 | <body> 337 | <form> 338 | <table> 339 340 #data 341 <!doctype html><table><form><form> 342 #errors 343 (1,28): unexpected-form-in-table 344 (1,34): unexpected-form-in-table 345 (1,34): eof-in-table 346 #document 347 | <!DOCTYPE html> 348 | <html> 349 | <head> 350 | <body> 351 | <table> 352 | <form> 353 354 #data 355 <!doctype html><table><form></table><form> 356 #errors 357 (1,28): unexpected-form-in-table 358 (1,42): unexpected-start-tag 359 #document 360 | <!DOCTYPE html> 361 | <html> 362 | <head> 363 | <body> 364 | <table> 365 | <form> 366 367 #data 368 <!doctype html><svg><foreignObject><p> 369 #errors 370 (1,38): expected-closing-tag-but-got-eof 371 #document 372 | <!DOCTYPE html> 373 | <html> 374 | <head> 375 | <body> 376 | <svg svg> 377 | <svg foreignObject> 378 | <p> 379 380 #data 381 <!doctype html><svg><title>abc 382 #errors 383 (1,30): expected-closing-tag-but-got-eof 384 #document 385 | <!DOCTYPE html> 386 | <html> 387 | <head> 388 | <body> 389 | <svg svg> 390 | <svg title> 391 | "abc" 392 393 #data 394 <option><span><option> 395 #errors 396 (1,8): expected-doctype-but-got-start-tag 397 (1,22): expected-closing-tag-but-got-eof 398 #document 399 | <html> 400 | <head> 401 | <body> 402 | <option> 403 | <span> 404 | <option> 405 406 #data 407 <option><option> 408 #errors 409 (1,8): expected-doctype-but-got-start-tag 410 #document 411 | <html> 412 | <head> 413 | <body> 414 | <option> 415 | <option> 416 417 #data 418 <math><annotation-xml><div> 419 #errors 420 (1,6): expected-doctype-but-got-start-tag 421 (1,27): unexpected-html-element-in-foreign-content 422 (1,27): expected-closing-tag-but-got-eof 423 #document 424 | <html> 425 | <head> 426 | <body> 427 | <math math> 428 | <math annotation-xml> 429 | <div> 430 431 #data 432 <math><annotation-xml encoding="application/svg+xml"><div> 433 #errors 434 (1,6): expected-doctype-but-got-start-tag 435 (1,58): unexpected-html-element-in-foreign-content 436 (1,58): expected-closing-tag-but-got-eof 437 #document 438 | <html> 439 | <head> 440 | <body> 441 | <math math> 442 | <math annotation-xml> 443 | encoding="application/svg+xml" 444 | <div> 445 446 #data 447 <math><annotation-xml encoding="application/xhtml+xml"><div> 448 #errors 449 (1,6): expected-doctype-but-got-start-tag 450 (1,60): expected-closing-tag-but-got-eof 451 #document 452 | <html> 453 | <head> 454 | <body> 455 | <math math> 456 | <math annotation-xml> 457 | encoding="application/xhtml+xml" 458 | <div> 459 460 #data 461 <math><annotation-xml encoding="aPPlication/xhtmL+xMl"><div> 462 #errors 463 (1,6): expected-doctype-but-got-start-tag 464 (1,60): expected-closing-tag-but-got-eof 465 #document 466 | <html> 467 | <head> 468 | <body> 469 | <math math> 470 | <math annotation-xml> 471 | encoding="aPPlication/xhtmL+xMl" 472 | <div> 473 474 #data 475 <math><annotation-xml encoding="text/html"><div> 476 #errors 477 (1,6): expected-doctype-but-got-start-tag 478 (1,48): expected-closing-tag-but-got-eof 479 #document 480 | <html> 481 | <head> 482 | <body> 483 | <math math> 484 | <math annotation-xml> 485 | encoding="text/html" 486 | <div> 487 488 #data 489 <math><annotation-xml encoding="Text/htmL"><div> 490 #errors 491 (1,6): expected-doctype-but-got-start-tag 492 (1,48): expected-closing-tag-but-got-eof 493 #document 494 | <html> 495 | <head> 496 | <body> 497 | <math math> 498 | <math annotation-xml> 499 | encoding="Text/htmL" 500 | <div> 501 502 #data 503 <math><annotation-xml encoding=" text/html "><div> 504 #errors 505 (1,6): expected-doctype-but-got-start-tag 506 (1,50): unexpected-html-element-in-foreign-content 507 (1,50): expected-closing-tag-but-got-eof 508 #document 509 | <html> 510 | <head> 511 | <body> 512 | <math math> 513 | <math annotation-xml> 514 | encoding=" text/html " 515 | <div> 516 517 #data 518 <math><annotation-xml> </annotation-xml> 519 #errors 520 (1,6): expected-doctype-but-got-start-tag 521 (1,40): expected-closing-tag-but-got-eof 522 #document 523 | <html> 524 | <head> 525 | <body> 526 | <math math> 527 | <math annotation-xml> 528 | " " 529 530 #data 531 <math><annotation-xml>c</annotation-xml> 532 #errors 533 (1,6): expected-doctype-but-got-start-tag 534 (1,40): expected-closing-tag-but-got-eof 535 #document 536 | <html> 537 | <head> 538 | <body> 539 | <math math> 540 | <math annotation-xml> 541 | "c" 542 543 #data 544 <math><annotation-xml><!--foo--> 545 #errors 546 (1,6): expected-doctype-but-got-start-tag 547 (1,32): expected-closing-tag-but-got-eof 548 #document 549 | <html> 550 | <head> 551 | <body> 552 | <math math> 553 | <math annotation-xml> 554 | <!-- foo --> 555 556 #data 557 <math><annotation-xml></svg>x 558 #errors 559 (1,6): expected-doctype-but-got-start-tag 560 (1,28): unexpected-end-tag 561 (1,29): expected-closing-tag-but-got-eof 562 #document 563 | <html> 564 | <head> 565 | <body> 566 | <math math> 567 | <math annotation-xml> 568 | "x" 569 570 #data 571 <math><annotation-xml><svg>x 572 #errors 573 (1,6): expected-doctype-but-got-start-tag 574 (1,28): expected-closing-tag-but-got-eof 575 #document 576 | <html> 577 | <head> 578 | <body> 579 | <math math> 580 | <math annotation-xml> 581 | <svg svg> 582 | "x"