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

mercurial