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.

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

mercurial