parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests2.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial