| OLD | NEW |
| (Empty) |
| 1 #data | |
| 2 <!DOCTYPE html>Test | |
| 3 #errors | |
| 4 #document | |
| 5 | <!DOCTYPE html> | |
| 6 | <html> | |
| 7 | <head> | |
| 8 | <body> | |
| 9 | "Test" | |
| 10 | |
| 11 #data | |
| 12 <textarea>test</div>test | |
| 13 #errors | |
| 14 Line: 1 Col: 10 Unexpected start tag (textarea). Expected DOCTYPE. | |
| 15 Line: 1 Col: 24 Expected closing tag. Unexpected end of file. | |
| 16 #document | |
| 17 | <html> | |
| 18 | <head> | |
| 19 | <body> | |
| 20 | <textarea> | |
| 21 | "test</div>test" | |
| 22 | |
| 23 #data | |
| 24 <table><td> | |
| 25 #errors | |
| 26 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. | |
| 27 Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase. | |
| 28 Line: 1 Col: 11 Expected closing tag. Unexpected end of file. | |
| 29 #document | |
| 30 | <html> | |
| 31 | <head> | |
| 32 | <body> | |
| 33 | <table> | |
| 34 | <tbody> | |
| 35 | <tr> | |
| 36 | <td> | |
| 37 | |
| 38 #data | |
| 39 <table><td>test</tbody></table> | |
| 40 #errors | |
| 41 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. | |
| 42 Line: 1 Col: 11 Unexpected table cell start tag (td) in the table body phase. | |
| 43 #document | |
| 44 | <html> | |
| 45 | <head> | |
| 46 | <body> | |
| 47 | <table> | |
| 48 | <tbody> | |
| 49 | <tr> | |
| 50 | <td> | |
| 51 | "test" | |
| 52 | |
| 53 #data | |
| 54 <frame>test | |
| 55 #errors | |
| 56 Line: 1 Col: 7 Unexpected start tag (frame). Expected DOCTYPE. | |
| 57 Line: 1 Col: 7 Unexpected start tag frame. Ignored. | |
| 58 #document | |
| 59 | <html> | |
| 60 | <head> | |
| 61 | <body> | |
| 62 | "test" | |
| 63 | |
| 64 #data | |
| 65 <!DOCTYPE html><frameset>test | |
| 66 #errors | |
| 67 Line: 1 Col: 29 Unepxected characters in the frameset phase. Characters ignored. | |
| 68 Line: 1 Col: 29 Expected closing tag. Unexpected end of file. | |
| 69 #document | |
| 70 | <!DOCTYPE html> | |
| 71 | <html> | |
| 72 | <head> | |
| 73 | <frameset> | |
| 74 | |
| 75 #data | |
| 76 <!DOCTYPE html><frameset><!DOCTYPE html> | |
| 77 #errors | |
| 78 Line: 1 Col: 40 Unexpected DOCTYPE. Ignored. | |
| 79 Line: 1 Col: 40 Expected closing tag. Unexpected end of file. | |
| 80 #document | |
| 81 | <!DOCTYPE html> | |
| 82 | <html> | |
| 83 | <head> | |
| 84 | <frameset> | |
| 85 | |
| 86 #data | |
| 87 <!DOCTYPE html><font><p><b>test</font> | |
| 88 #errors | |
| 89 Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agen
cy algorithm. | |
| 90 Line: 1 Col: 38 End tag (font) violates step 1, paragraph 3 of the adoption agen
cy algorithm. | |
| 91 #document | |
| 92 | <!DOCTYPE html> | |
| 93 | <html> | |
| 94 | <head> | |
| 95 | <body> | |
| 96 | <font> | |
| 97 | <p> | |
| 98 | <font> | |
| 99 | <b> | |
| 100 | "test" | |
| 101 | |
| 102 #data | |
| 103 <!DOCTYPE html><dt><div><dd> | |
| 104 #errors | |
| 105 Line: 1 Col: 28 Missing end tag (div, dt). | |
| 106 #document | |
| 107 | <!DOCTYPE html> | |
| 108 | <html> | |
| 109 | <head> | |
| 110 | <body> | |
| 111 | <dt> | |
| 112 | <div> | |
| 113 | <dd> | |
| 114 | |
| 115 #data | |
| 116 <script></x | |
| 117 #errors | |
| 118 Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. | |
| 119 Line: 1 Col: 11 Unexpected end of file. Expected end tag (script). | |
| 120 #document | |
| 121 | <html> | |
| 122 | <head> | |
| 123 | <script> | |
| 124 | "</x" | |
| 125 | <body> | |
| 126 | |
| 127 #data | |
| 128 <table><plaintext><td> | |
| 129 #errors | |
| 130 Line: 1 Col: 7 Unexpected start tag (table). Expected DOCTYPE. | |
| 131 Line: 1 Col: 18 Unexpected start tag (plaintext) in table context caused voodoo
mode. | |
| 132 Line: 1 Col: 22 Unexpected end of file. Expected table content. | |
| 133 #document | |
| 134 | <html> | |
| 135 | <head> | |
| 136 | <body> | |
| 137 | <plaintext> | |
| 138 | "<td>" | |
| 139 | <table> | |
| 140 | |
| 141 #data | |
| 142 <plaintext></plaintext> | |
| 143 #errors | |
| 144 Line: 1 Col: 11 Unexpected start tag (plaintext). Expected DOCTYPE. | |
| 145 Line: 1 Col: 23 Expected closing tag. Unexpected end of file. | |
| 146 #document | |
| 147 | <html> | |
| 148 | <head> | |
| 149 | <body> | |
| 150 | <plaintext> | |
| 151 | "</plaintext>" | |
| 152 | |
| 153 #data | |
| 154 <!DOCTYPE html><table><tr>TEST | |
| 155 #errors | |
| 156 Line: 1 Col: 30 Unexpected non-space characters in table context caused voodoo m
ode. | |
| 157 Line: 1 Col: 30 Unexpected end of file. Expected table content. | |
| 158 #document | |
| 159 | <!DOCTYPE html> | |
| 160 | <html> | |
| 161 | <head> | |
| 162 | <body> | |
| 163 | "TEST" | |
| 164 | <table> | |
| 165 | <tbody> | |
| 166 | <tr> | |
| 167 | |
| 168 #data | |
| 169 <!DOCTYPE html><body t1=1><body t2=2><body t3=3 t4=4> | |
| 170 #errors | |
| 171 Line: 1 Col: 37 Unexpected start tag (body). | |
| 172 Line: 1 Col: 53 Unexpected start tag (body). | |
| 173 #document | |
| 174 | <!DOCTYPE html> | |
| 175 | <html> | |
| 176 | <head> | |
| 177 | <body> | |
| 178 | t1="1" | |
| 179 | t2="2" | |
| 180 | t3="3" | |
| 181 | t4="4" | |
| 182 | |
| 183 #data | |
| 184 </b test | |
| 185 #errors | |
| 186 Line: 1 Col: 8 Unexpected end of file in attribute name. | |
| 187 Line: 1 Col: 8 End tag contains unexpected attributes. | |
| 188 Line: 1 Col: 8 Unexpected end tag (b). Expected DOCTYPE. | |
| 189 Line: 1 Col: 8 Unexpected end tag (b) after the (implied) root element. | |
| 190 #document | |
| 191 | <html> | |
| 192 | <head> | |
| 193 | <body> | |
| 194 | |
| 195 #data | |
| 196 <!DOCTYPE html></b test<b &=&>X | |
| 197 #errors | |
| 198 Line: 1 Col: 32 Named entity didn't end with ';'. | |
| 199 Line: 1 Col: 33 End tag contains unexpected attributes. | |
| 200 Line: 1 Col: 33 Unexpected end tag (b) after the (implied) root element. | |
| 201 #document | |
| 202 | <!DOCTYPE html> | |
| 203 | <html> | |
| 204 | <head> | |
| 205 | <body> | |
| 206 | "X" | |
| 207 | |
| 208 #data | |
| 209 <!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt | |
| 210 #errors | |
| 211 Line: 1 Col: 9 No space after literal string 'DOCTYPE'. | |
| 212 Line: 1 Col: 54 Unexpected end of file in the tag name. | |
| 213 #document | |
| 214 | <!DOCTYPE html> | |
| 215 | <html> | |
| 216 | <head> | |
| 217 | <script> | |
| 218 | type="text/x-foobar;baz" | |
| 219 | "X</SCRipt" | |
| 220 | <body> | |
| 221 | |
| 222 #data | |
| 223 & | |
| 224 #errors | |
| 225 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. | |
| 226 #document | |
| 227 | <html> | |
| 228 | <head> | |
| 229 | <body> | |
| 230 | "&" | |
| 231 | |
| 232 #data | |
| 233 &# | |
| 234 #errors | |
| 235 Line: 1 Col: 1 Numeric entity expected. Got end of file instead. | |
| 236 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. | |
| 237 #document | |
| 238 | <html> | |
| 239 | <head> | |
| 240 | <body> | |
| 241 | "&#" | |
| 242 | |
| 243 #data | |
| 244 &#X | |
| 245 #errors | |
| 246 Line: 1 Col: 3 Numeric entity expected but none found. | |
| 247 Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE. | |
| 248 #document | |
| 249 | <html> | |
| 250 | <head> | |
| 251 | <body> | |
| 252 | "&#X" | |
| 253 | |
| 254 #data | |
| 255 &#x | |
| 256 #errors | |
| 257 Line: 1 Col: 3 Numeric entity expected but none found. | |
| 258 Line: 1 Col: 3 Unexpected non-space characters. Expected DOCTYPE. | |
| 259 #document | |
| 260 | <html> | |
| 261 | <head> | |
| 262 | <body> | |
| 263 | "&#x" | |
| 264 | |
| 265 #data | |
| 266 - | |
| 267 #errors | |
| 268 Line: 1 Col: 4 Numeric entity didn't end with ';'. | |
| 269 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE. | |
| 270 #document | |
| 271 | <html> | |
| 272 | <head> | |
| 273 | <body> | |
| 274 | "-" | |
| 275 | |
| 276 #data | |
| 277 &x-test | |
| 278 #errors | |
| 279 Line: 1 Col: 1 Named entity expected. Got none. | |
| 280 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. | |
| 281 #document | |
| 282 | <html> | |
| 283 | <head> | |
| 284 | <body> | |
| 285 | "&x-test" | |
| 286 | |
| 287 #data | |
| 288 <!doctypehtml><p><li> | |
| 289 #errors | |
| 290 Line: 1 Col: 9 No space after literal string 'DOCTYPE'. | |
| 291 #document | |
| 292 | <!DOCTYPE html> | |
| 293 | <html> | |
| 294 | <head> | |
| 295 | <body> | |
| 296 | <p> | |
| 297 | <li> | |
| 298 | |
| 299 #data | |
| 300 <!doctypehtml><p><dt> | |
| 301 #errors | |
| 302 Line: 1 Col: 9 No space after literal string 'DOCTYPE'. | |
| 303 #document | |
| 304 | <!DOCTYPE html> | |
| 305 | <html> | |
| 306 | <head> | |
| 307 | <body> | |
| 308 | <p> | |
| 309 | <dt> | |
| 310 | |
| 311 #data | |
| 312 <!doctypehtml><p><dd> | |
| 313 #errors | |
| 314 Line: 1 Col: 9 No space after literal string 'DOCTYPE'. | |
| 315 #document | |
| 316 | <!DOCTYPE html> | |
| 317 | <html> | |
| 318 | <head> | |
| 319 | <body> | |
| 320 | <p> | |
| 321 | <dd> | |
| 322 | |
| 323 #data | |
| 324 <!doctypehtml><p><form> | |
| 325 #errors | |
| 326 Line: 1 Col: 9 No space after literal string 'DOCTYPE'. | |
| 327 Line: 1 Col: 23 Expected closing tag. Unexpected end of file. | |
| 328 #document | |
| 329 | <!DOCTYPE html> | |
| 330 | <html> | |
| 331 | <head> | |
| 332 | <body> | |
| 333 | <p> | |
| 334 | <form> | |
| 335 | |
| 336 #data | |
| 337 <!DOCTYPE html><p></P>X | |
| 338 #errors | |
| 339 #document | |
| 340 | <!DOCTYPE html> | |
| 341 | <html> | |
| 342 | <head> | |
| 343 | <body> | |
| 344 | <p> | |
| 345 | "X" | |
| 346 | |
| 347 #data | |
| 348 & | |
| 349 #errors | |
| 350 Line: 1 Col: 4 Named entity didn't end with ';'. | |
| 351 Line: 1 Col: 4 Unexpected non-space characters. Expected DOCTYPE. | |
| 352 #document | |
| 353 | <html> | |
| 354 | <head> | |
| 355 | <body> | |
| 356 | "&" | |
| 357 | |
| 358 #data | |
| 359 &AMp; | |
| 360 #errors | |
| 361 Line: 1 Col: 1 Named entity expected. Got none. | |
| 362 Line: 1 Col: 1 Unexpected non-space characters. Expected DOCTYPE. | |
| 363 #document | |
| 364 | <html> | |
| 365 | <head> | |
| 366 | <body> | |
| 367 | "&AMp;" | |
| 368 | |
| 369 #data | |
| 370 <!DOCTYPE html><html><head></head><body><thisISasillyTESTelementNameToMakeSureCr
azyTagNamesArePARSEDcorrectLY> | |
| 371 #errors | |
| 372 Line: 1 Col: 110 Expected closing tag. Unexpected end of file. | |
| 373 #document | |
| 374 | <!DOCTYPE html> | |
| 375 | <html> | |
| 376 | <head> | |
| 377 | <body> | |
| 378 | <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly> | |
| 379 | |
| 380 #data | |
| 381 <!DOCTYPE html>X</body>X | |
| 382 #errors | |
| 383 Line: 1 Col: 24 Unexpected non-space characters in the after body phase. | |
| 384 #document | |
| 385 | <!DOCTYPE html> | |
| 386 | <html> | |
| 387 | <head> | |
| 388 | <body> | |
| 389 | "XX" | |
| 390 | |
| 391 #data | |
| 392 <!DOCTYPE html><!-- X | |
| 393 #errors | |
| 394 Line: 1 Col: 21 Unexpected end of file in comment. | |
| 395 #document | |
| 396 | <!DOCTYPE html> | |
| 397 | <!-- X --> | |
| 398 | <html> | |
| 399 | <head> | |
| 400 | <body> | |
| 401 | |
| 402 #data | |
| 403 <!DOCTYPE html><table><caption>test TEST</caption><td>test | |
| 404 #errors | |
| 405 Line: 1 Col: 54 Unexpected table cell start tag (td) in the table body phase. | |
| 406 Line: 1 Col: 58 Expected closing tag. Unexpected end of file. | |
| 407 #document | |
| 408 | <!DOCTYPE html> | |
| 409 | <html> | |
| 410 | <head> | |
| 411 | <body> | |
| 412 | <table> | |
| 413 | <caption> | |
| 414 | "test TEST" | |
| 415 | <tbody> | |
| 416 | <tr> | |
| 417 | <td> | |
| 418 | "test" | |
| 419 | |
| 420 #data | |
| 421 <!DOCTYPE html><select><option><optgroup> | |
| 422 #errors | |
| 423 Line: 1 Col: 41 Expected closing tag. Unexpected end of file. | |
| 424 #document | |
| 425 | <!DOCTYPE html> | |
| 426 | <html> | |
| 427 | <head> | |
| 428 | <body> | |
| 429 | <select> | |
| 430 | <option> | |
| 431 | <optgroup> | |
| 432 | |
| 433 #data | |
| 434 <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option> | |
| 435 #errors | |
| 436 Line: 1 Col: 68 Unexpected select start tag in the select phase treated as selec
t end tag. | |
| 437 Line: 1 Col: 76 Expected closing tag. Unexpected end of file. | |
| 438 #document | |
| 439 | <!DOCTYPE html> | |
| 440 | <html> | |
| 441 | <head> | |
| 442 | <body> | |
| 443 | <select> | |
| 444 | <optgroup> | |
| 445 | <option> | |
| 446 | <option> | |
| 447 | <option> | |
| 448 | |
| 449 #data | |
| 450 <!DOCTYPE html><select><optgroup><option><optgroup> | |
| 451 #errors | |
| 452 Line: 1 Col: 51 Expected closing tag. Unexpected end of file. | |
| 453 #document | |
| 454 | <!DOCTYPE html> | |
| 455 | <html> | |
| 456 | <head> | |
| 457 | <body> | |
| 458 | <select> | |
| 459 | <optgroup> | |
| 460 | <option> | |
| 461 | <optgroup> | |
| 462 | |
| 463 #data | |
| 464 <!DOCTYPE html><datalist><option>foo</datalist>bar | |
| 465 #errors | |
| 466 #document | |
| 467 | <!DOCTYPE html> | |
| 468 | <html> | |
| 469 | <head> | |
| 470 | <body> | |
| 471 | <datalist> | |
| 472 | <option> | |
| 473 | "foo" | |
| 474 | "bar" | |
| 475 | |
| 476 #data | |
| 477 <!DOCTYPE html><font><input><input></font> | |
| 478 #errors | |
| 479 #document | |
| 480 | <!DOCTYPE html> | |
| 481 | <html> | |
| 482 | <head> | |
| 483 | <body> | |
| 484 | <font> | |
| 485 | <input> | |
| 486 | <input> | |
| 487 | |
| 488 #data | |
| 489 <!DOCTYPE html><!-- XXX - XXX --> | |
| 490 #errors | |
| 491 #document | |
| 492 | <!DOCTYPE html> | |
| 493 | <!-- XXX - XXX --> | |
| 494 | <html> | |
| 495 | <head> | |
| 496 | <body> | |
| 497 | |
| 498 #data | |
| 499 <!DOCTYPE html><!-- XXX - XXX | |
| 500 #errors | |
| 501 Line: 1 Col: 29 Unexpected end of file in comment (-) | |
| 502 #document | |
| 503 | <!DOCTYPE html> | |
| 504 | <!-- XXX - XXX --> | |
| 505 | <html> | |
| 506 | <head> | |
| 507 | <body> | |
| 508 | |
| 509 #data | |
| 510 <!DOCTYPE html><!-- XXX - XXX - XXX --> | |
| 511 #errors | |
| 512 #document | |
| 513 | <!DOCTYPE html> | |
| 514 | <!-- XXX - XXX - XXX --> | |
| 515 | <html> | |
| 516 | <head> | |
| 517 | <body> | |
| 518 | |
| 519 #data | |
| 520 <isindex test=x name=x> | |
| 521 #errors | |
| 522 Line: 1 Col: 23 Unexpected start tag (isindex). Expected DOCTYPE. | |
| 523 Line: 1 Col: 23 Unexpected start tag isindex. Don't use it! | |
| 524 #document | |
| 525 | <html> | |
| 526 | <head> | |
| 527 | <body> | |
| 528 | <form> | |
| 529 | <hr> | |
| 530 | <label> | |
| 531 | "This is a searchable index. Enter search keywords: " | |
| 532 | <input> | |
| 533 | name="isindex" | |
| 534 | test="x" | |
| 535 | <hr> | |
| 536 | |
| 537 #data | |
| 538 test | |
| 539 test | |
| 540 #errors | |
| 541 Line: 2 Col: 4 Unexpected non-space characters. Expected DOCTYPE. | |
| 542 #document | |
| 543 | <html> | |
| 544 | <head> | |
| 545 | <body> | |
| 546 | "test | |
| 547 test" | |
| 548 | |
| 549 #data | |
| 550 <!DOCTYPE html><body><title>test</body></title> | |
| 551 #errors | |
| 552 #document | |
| 553 | <!DOCTYPE html> | |
| 554 | <html> | |
| 555 | <head> | |
| 556 | <body> | |
| 557 | <title> | |
| 558 | "test</body>" | |
| 559 | |
| 560 #data | |
| 561 <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style> | |
| 562 x { content:"</style" } </style> | |
| 563 #errors | |
| 564 #document | |
| 565 | <!DOCTYPE html> | |
| 566 | <html> | |
| 567 | <head> | |
| 568 | <body> | |
| 569 | <title> | |
| 570 | "X" | |
| 571 | <meta> | |
| 572 | name="z" | |
| 573 | <link> | |
| 574 | rel="foo" | |
| 575 | <style> | |
| 576 | " | |
| 577 x { content:"</style" } " | |
| 578 | |
| 579 #data | |
| 580 <!DOCTYPE html><select><optgroup></optgroup></select> | |
| 581 #errors | |
| 582 #document | |
| 583 | <!DOCTYPE html> | |
| 584 | <html> | |
| 585 | <head> | |
| 586 | <body> | |
| 587 | <select> | |
| 588 | <optgroup> | |
| 589 | |
| 590 #data | |
| 591 | |
| 592 | |
| 593 #errors | |
| 594 Line: 2 Col: 1 Unexpected End of file. Expected DOCTYPE. | |
| 595 #document | |
| 596 | <html> | |
| 597 | <head> | |
| 598 | <body> | |
| 599 | |
| 600 #data | |
| 601 <!DOCTYPE html> <html> | |
| 602 #errors | |
| 603 #document | |
| 604 | <!DOCTYPE html> | |
| 605 | <html> | |
| 606 | <head> | |
| 607 | <body> | |
| 608 | |
| 609 #data | |
| 610 <!DOCTYPE html><script> | |
| 611 </script> <title>x</title> </head> | |
| 612 #errors | |
| 613 #document | |
| 614 | <!DOCTYPE html> | |
| 615 | <html> | |
| 616 | <head> | |
| 617 | <script> | |
| 618 | " | |
| 619 " | |
| 620 | " " | |
| 621 | <title> | |
| 622 | "x" | |
| 623 | " " | |
| 624 | <body> | |
| 625 | |
| 626 #data | |
| 627 <!DOCTYPE html><html><body><html id=x> | |
| 628 #errors | |
| 629 Line: 1 Col: 38 html needs to be the first start tag. | |
| 630 #document | |
| 631 | <!DOCTYPE html> | |
| 632 | <html> | |
| 633 | id="x" | |
| 634 | <head> | |
| 635 | <body> | |
| 636 | |
| 637 #data | |
| 638 <!DOCTYPE html>X</body><html id="x"> | |
| 639 #errors | |
| 640 Line: 1 Col: 36 Unexpected start tag token (html) in the after body phase. | |
| 641 Line: 1 Col: 36 html needs to be the first start tag. | |
| 642 #document | |
| 643 | <!DOCTYPE html> | |
| 644 | <html> | |
| 645 | id="x" | |
| 646 | <head> | |
| 647 | <body> | |
| 648 | "X" | |
| 649 | |
| 650 #data | |
| 651 <!DOCTYPE html><head><html id=x> | |
| 652 #errors | |
| 653 Line: 1 Col: 32 html needs to be the first start tag. | |
| 654 #document | |
| 655 | <!DOCTYPE html> | |
| 656 | <html> | |
| 657 | id="x" | |
| 658 | <head> | |
| 659 | <body> | |
| 660 | |
| 661 #data | |
| 662 <!DOCTYPE html>X</html>X | |
| 663 #errors | |
| 664 Line: 1 Col: 24 Unexpected non-space characters in the after body phase. | |
| 665 #document | |
| 666 | <!DOCTYPE html> | |
| 667 | <html> | |
| 668 | <head> | |
| 669 | <body> | |
| 670 | "XX" | |
| 671 | |
| 672 #data | |
| 673 <!DOCTYPE html>X</html> | |
| 674 #errors | |
| 675 #document | |
| 676 | <!DOCTYPE html> | |
| 677 | <html> | |
| 678 | <head> | |
| 679 | <body> | |
| 680 | "X " | |
| 681 | |
| 682 #data | |
| 683 <!DOCTYPE html>X</html><p>X | |
| 684 #errors | |
| 685 Line: 1 Col: 26 Unexpected start tag (p). | |
| 686 #document | |
| 687 | <!DOCTYPE html> | |
| 688 | <html> | |
| 689 | <head> | |
| 690 | <body> | |
| 691 | "X" | |
| 692 | <p> | |
| 693 | "X" | |
| 694 | |
| 695 #data | |
| 696 <!DOCTYPE html>X<p/x/y/z> | |
| 697 #errors | |
| 698 Line: 1 Col: 19 Expected a > after the /. | |
| 699 Line: 1 Col: 21 Solidus (/) incorrectly placed in tag. | |
| 700 Line: 1 Col: 23 Solidus (/) incorrectly placed in tag. | |
| 701 #document | |
| 702 | <!DOCTYPE html> | |
| 703 | <html> | |
| 704 | <head> | |
| 705 | <body> | |
| 706 | "X" | |
| 707 | <p> | |
| 708 | x="" | |
| 709 | y="" | |
| 710 | z="" | |
| 711 | |
| 712 #data | |
| 713 <!DOCTYPE html><!--x-- | |
| 714 #errors | |
| 715 Line: 1 Col: 22 Unexpected end of file in comment (--). | |
| 716 #document | |
| 717 | <!DOCTYPE html> | |
| 718 | <!-- x --> | |
| 719 | <html> | |
| 720 | <head> | |
| 721 | <body> | |
| 722 | |
| 723 #data | |
| 724 <!DOCTYPE html><table><tr><td></p></table> | |
| 725 #errors | |
| 726 Line: 1 Col: 34 Unexpected end tag (p). Ignored. | |
| 727 #document | |
| 728 | <!DOCTYPE html> | |
| 729 | <html> | |
| 730 | <head> | |
| 731 | <body> | |
| 732 | <table> | |
| 733 | <tbody> | |
| 734 | <tr> | |
| 735 | <td> | |
| 736 | <p> | |
| 737 | |
| 738 #data | |
| 739 <!DOCTYPE <!DOCTYPE HTML>><!--<!--x-->--> | |
| 740 #errors | |
| 741 Line: 1 Col: 20 Expected space or '>'. Got '' | |
| 742 Line: 1 Col: 25 Erroneous DOCTYPE. | |
| 743 Line: 1 Col: 35 Unexpected character in comment found. | |
| 744 #document | |
| 745 | <!DOCTYPE <!doctype> | |
| 746 | <html> | |
| 747 | <head> | |
| 748 | <body> | |
| 749 | ">" | |
| 750 | <!-- <!--x --> | |
| 751 | "-->" | |
| 752 | |
| 753 #data | |
| 754 <!doctype html><div><form></form><div></div></div> | |
| 755 #errors | |
| 756 #document | |
| 757 | <!DOCTYPE html> | |
| 758 | <html> | |
| 759 | <head> | |
| 760 | <body> | |
| 761 | <div> | |
| 762 | <form> | |
| 763 | <div> | |
| OLD | NEW |