Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/html5lib/runner-expected-html5.txt

    r62584 r62584  
    33CONSOLE MESSAGE: line 2: PASS
    44CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
     5Content-Type: text/plain
    56resources/tests1.dat:
    6 25
    7 29
    8730
    9832
    10933
    11 34
    121050
    13 51
    14 52
    15 53
    16 54
    17 57
    18 59
     1156
    191278
    201379
    211480
    22 81
    23 82
    24 87
     1586
    251690
    26 91
    27 92
    28 96
    29 98
    30 101
     17103
    3118104
    32 106
    3319109
    34 113
    35 
    36 Test 25 of 113 in resources/tests1.dat failed. Input:
    37 <p><b><div><marquee></p></b></div>X
    38 Got:
    39 | <html>
    40 |   <head>
    41 |   <body>
    42 |     <p>
    43 |       <b>
    44 |     <b>
    45 |     <div>
    46 |       <b>
    47 |       <marquee>
    48 |         <b>
    49 |           <p>
    50 |     "X"
    51 Expected:
    52 | <html>
    53 |   <head>
    54 |   <body>
    55 |     <p>
    56 |       <b>
    57 |     <div>
    58 |       <b>
    59 |         <marquee>
    60 |           <p>
    61 |           "X"
    62 
    63 Test 29 of 113 in resources/tests1.dat failed. Input:
    64 <select><b><option><select><option></b></select>X
    65 Got:
    66 | <html>
    67 |   <head>
    68 |   <body>
    69 |     <select>
    70 |       <option>
    71 |     "X"
    72 Expected:
    73 | <html>
    74 |   <head>
    75 |   <body>
    76 |     <select>
    77 |       <option>
    78 |     <option>
    79 |       "X"
     20110
     21112
    8022
    8123Test 30 of 113 in resources/tests1.dat failed. Input:
     
    8628|   <body>
    8729|     <a>
    88 |       <a>
    8930|       <table>
    9031|         <tbody>
     
    9435|                 <table>
    9536|               <a>
    96 |       <b>
    97 |         "X"
    98 |       "C"
    99 |     <a>
    100 |       "Y"
     37|           <a>
     38|       <a>
     39|         <b>
     40|           "X"
     41|         "C"
     42|       <a>
     43|         "Y"
    10144Expected:
    10245| <html>
     
    12972|       <div>
    13073|         "hello"
    131 |         "excite!"
    132 |         <b>
    133 |           "me!"
    13474|         <table>
     75|           "excite!"
     76|           <b>
     77|             "me!"
    13578|           <tbody>
    13679|             <tr>
     
    166109|     <li>
    167110|       "hello"
    168 |     <li>
    169 |       "world"
    170 |       <ul>
    171 |         "how"
    172 |         <li>
    173 |           "do"
    174 |       "you"
    175 |       <!-- do -->
     111|       <li>
     112|         "world"
     113|         <ul>
     114|           "how"
     115|           <li>
     116|             "do"
     117|         "you"
     118|   <!-- do -->
    176119Expected:
    177120| <!DOCTYPE html>
     
    190133|   <!-- do -->
    191134
    192 Test 34 of 113 in resources/tests1.dat failed. Input:
    193 <!DOCTYPE html>A<option>B<optgroup>C<select>D</option>E
    194 Got:
    195 | <!DOCTYPE html>
    196 | <html>
    197 |   <head>
    198 |   <body>
    199 |     "A"
    200 |     "B"
    201 |     "C"
    202 |     <select>
    203 |       "D"
    204 |       "E"
    205 Expected:
    206 | <!DOCTYPE html>
    207 | <html>
    208 |   <head>
    209 |   <body>
    210 |     "A"
    211 |     <option>
    212 |       "B"
    213 |     <optgroup>
    214 |       "C"
    215 |       <select>
    216 |         "DE"
    217 
    218135Test 50 of 113 in resources/tests1.dat failed. Input:
    219136<!DOCTYPE html><script> <!-- </script> --> </script> EOF
     
    225142|       " <!-- "
    226143|   <body>
    227 |     " --> "
    228 |     " EOF"
     144|     " -->  EOF"
    229145Expected:
    230146| <!DOCTYPE html>
     
    237153|     "-->  EOF"
    238154
    239 Test 51 of 113 in resources/tests1.dat failed. Input:
    240 <b><p></b>TEST
    241 Got:
    242 | <html>
    243 |   <head>
    244 |   <body>
    245 |     <b>
     155Test 56 of 113 in resources/tests1.dat failed. Input:
     156<font><p>hello<b>cruel</font>world
     157Got:
     158| <html>
     159|   <head>
     160|   <body>
     161|     <font>
    246162|     <p>
    247 |       "TEST"
    248 Expected:
    249 | <html>
    250 |   <head>
    251 |   <body>
    252 |     <b>
     163|       <font>
     164|         "hello"
     165|         <b>
     166|           "cruel"
     167|       "world"
     168Expected:
     169| <html>
     170|   <head>
     171|   <body>
     172|     <font>
    253173|     <p>
     174|       <font>
     175|         "hello"
     176|         <b>
     177|           "cruel"
    254178|       <b>
    255 |       "TEST"
    256 
    257 Test 52 of 113 in resources/tests1.dat failed. Input:
    258 <p id=a><b><p id=b></b>TEST
    259 Got:
    260 | <html>
    261 |   <head>
    262 |   <body>
    263 |     <p>
    264 |       id="a"
    265 |       <b>
    266 |     <b>
    267 |     <p>
    268 |       id="b"
    269 |       "TEST"
    270 Expected:
    271 | <html>
    272 |   <head>
    273 |   <body>
    274 |     <p>
    275 |       id="a"
    276 |       <b>
    277 |     <p>
    278 |       id="b"
    279 |       "TEST"
    280 
    281 Test 53 of 113 in resources/tests1.dat failed. Input:
    282 <b id=a><p><b id=b></p></b>TEST
    283 Got:
    284 | <html>
    285 |   <head>
    286 |   <body>
    287 |     <b>
    288 |       id="a"
    289 |       <p>
    290 |         <b>
    291 |           id="b"
    292 |       <b>
    293 |         id="b"
    294 |       "TEST"
    295 Expected:
    296 | <html>
    297 |   <head>
    298 |   <body>
    299 |     <b>
    300 |       id="a"
    301 |       <p>
    302 |         <b>
    303 |           id="b"
    304 |       "TEST"
    305 
    306 Test 54 of 113 in resources/tests1.dat failed. Input:
    307 <!DOCTYPE html><title>U-test</title><body><div><p>Test<u></p></div></body>
    308 Got:
    309 | <!DOCTYPE html>
    310 | <html>
    311 |   <head>
    312 |     <title>
    313 |       "U-test"
    314 |   <body>
    315 |     <div>
    316 |       <p>
    317 |         "Test"
    318 |         <u>
    319 |       <u>
    320 |     <u>
    321 Expected:
    322 | <!DOCTYPE html>
    323 | <html>
    324 |   <head>
    325 |     <title>
    326 |       "U-test"
    327 |   <body>
    328 |     <div>
    329 |       <p>
    330 |         "Test"
    331 |         <u>
    332 
    333 Test 57 of 113 in resources/tests1.dat failed. Input:
    334 <b>Test</i>Test
    335 Got:
    336 | <html>
    337 |   <head>
    338 |   <body>
    339 |     <b>
    340 |       "Test"
    341 |       "Test"
    342 Expected:
    343 | <html>
    344 |   <head>
    345 |   <body>
    346 |     <b>
    347 |       "TestTest"
    348 
    349 Test 59 of 113 in resources/tests1.dat failed. Input:
    350 <b>A<cite>B<div>C</cite>D
    351 Got:
    352 | <html>
    353 |   <head>
    354 |   <body>
    355 |     <b>
    356 |       "A"
    357 |       <cite>
    358 |         "B"
    359 |         <div>
    360 |           "C"
    361 |           "D"
    362 Expected:
    363 | <html>
    364 |   <head>
    365 |   <body>
    366 |     <b>
    367 |       "A"
    368 |       <cite>
    369 |         "B"
    370 |         <div>
    371 |           "CD"
     179|         "world"
    372180
    373181Test 78 of 113 in resources/tests1.dat failed. Input:
     
    380188|       href="blah"
    381189|       "aba"
    382 |       <a>
    383 |         href="foo"
    384 |         "br"
    385 |       "x"
    386190|       <table>
     191|         <a>
     192|           href="foo"
     193|           "br"
    387194|         <tbody>
    388195|           <tr>
    389196|             <td>
    390 |       "aoe"
     197|           "x"
     198|     "aoe"
    391199Expected:
    392200| <html>
     
    419227|       href="blah"
    420228|       "aba"
    421 |       "x"
    422229|       <table>
    423230|         <tbody>
     
    427234|                 href="foo"
    428235|                 "br"
     236|           "x"
    429237|       "aoe"
    430238Expected:
     
    450258|   <head>
    451259|   <body>
    452 |     <a>
    453 |       href="blah"
    454 |       "aba"
    455 |     "x"
    456 |     <table>
     260|     <table>
     261|       <a>
     262|         href="blah"
     263|         "aba"
    457264|       <tbody>
    458265|         <tr>
     
    461268|               href="foo"
    462269|               "br"
     270|         "x"
    463271|     "aoe"
    464272Expected:
     
    483291|       "aoe"
    484292
    485 Test 81 of 113 in resources/tests1.dat failed. Input:
    486 <a href=a>aa<marquee>aa<a href=b>bb</marquee>aa
    487 Got:
    488 | <html>
    489 |   <head>
    490 |   <body>
    491 |     <a>
    492 |       href="a"
    493 |       "aa"
    494 |     <marquee>
    495 |       <a>
    496 |         href="a"
    497 |         "aa"
    498 |       <a>
    499 |         href="b"
    500 |         "bb"
    501 |     <a>
    502 |       href="b"
    503 |       "aa"
    504 Expected:
    505 | <html>
    506 |   <head>
    507 |   <body>
    508 |     <a>
    509 |       href="a"
    510 |       "aa"
    511 |       <marquee>
    512 |         "aa"
    513 |         <a>
    514 |           href="b"
    515 |           "bb"
    516 |       "aa"
    517 
    518 Test 82 of 113 in resources/tests1.dat failed. Input:
    519 <wbr><strike><code></strike><code><strike></code>
    520 Got:
    521 | <html>
    522 |   <head>
    523 |   <body>
    524 |     <wbr>
    525 |     <strike>
    526 |       <code>
    527 |     <code>
    528 |       <code>
    529 |         <strike>
    530 |       <strike>
    531 Expected:
    532 | <html>
    533 |   <head>
    534 |   <body>
    535 |     <wbr>
    536 |     <strike>
    537 |       <code>
    538 |     <code>
    539 |       <code>
    540 |         <strike>
    541 
    542 Test 87 of 113 in resources/tests1.dat failed. Input:
    543 <body><body><base><link><meta><title><p></title><body><p></body>
    544 Got:
    545 | <html>
    546 |   <head>
    547 |     <base>
    548 |     <meta>
    549 |     <title>
    550 |       "<p>"
    551 |   <body>
    552 |     <link>
    553 |     <p>
    554 Expected:
    555 | <html>
    556 |   <head>
    557 |   <body>
    558 |     <base>
    559 |     <link>
    560 |     <meta>
    561 |     <title>
    562 |       "<p>"
    563 |     <p>
     293Test 86 of 113 in resources/tests1.dat failed. Input:
     294<table><tr><tr><td><td><span><th><span>X</table>
     295Got:
     296| <html>
     297|   <head>
     298|   <body>
     299|     <table>
     300|       <tbody>
     301|         <tr>
     302|           <td>
     303|             <span>
     304|               <span>
     305|                 "X"
     306Expected:
     307| <html>
     308|   <head>
     309|   <body>
     310|     <table>
     311|       <tbody>
     312|         <tr>
     313|         <tr>
     314|           <td>
     315|           <td>
     316|             <span>
     317|           <th>
     318|             <span>
     319|               "X"
    564320
    565321Test 90 of 113 in resources/tests1.dat failed. Input:
     
    570326|   <body>
    571327|     <a>
    572 |       <a>
    573328|       <table>
    574 |         <tbody>
     329|         <a>
    575330|     <p>
    576331|       <a>
    577 |     <a>
    578332|     <div>
    579333|       <a>
     
    590344|       <a>
    591345
    592 Test 91 of 113 in resources/tests1.dat failed. Input:
    593 <head></p><meta><p>
    594 Got:
    595 | <html>
    596 |   <head>
    597 |     <meta>
    598 |   <body>
    599 |     <p>
    600 |     <p>
    601 Expected:
    602 | <html>
    603 |   <head>
    604 |     <meta>
    605 |   <body>
    606 |     <p>
    607 
    608 Test 92 of 113 in resources/tests1.dat failed. Input:
    609 <head></html><meta><p>
    610 Got:
    611 | <html>
    612 |   <head>
    613 |     <meta>
    614 |   <body>
    615 |     <p>
    616 Expected:
    617 | <html>
    618 |   <head>
    619 |   <body>
    620 |     <meta>
    621 |     <p>
    622 
    623 Test 96 of 113 in resources/tests1.dat failed. Input:
    624 <a><p><a></a></p></a>
     346Test 103 of 113 in resources/tests1.dat failed. Input:
     347<a><table><td><a><table></table><a></tr><a></table><a>
    625348Got:
    626349| <html>
     
    628351|   <body>
    629352|     <a>
    630 |     <p>
     353|       <table>
     354|         <tbody>
     355|           <tr>
     356|             <td>
     357|               <a>
     358|                 <table>
     359|               <a>
     360|           <a>
    631361|       <a>
    632362Expected:
     
    635365|   <body>
    636366|     <a>
    637 |     <p>
    638367|       <a>
    639 |       <a>
    640 
    641 Test 98 of 113 in resources/tests1.dat failed. Input:
    642 <p><b><div><marquee></p></b></div>
    643 Got:
    644 | <html>
    645 |   <head>
    646 |   <body>
    647 |     <p>
    648 |       <b>
    649 |     <b>
    650 |     <div>
    651 |       <b>
    652 |       <marquee>
    653 |         <b>
    654 |           <p>
    655 Expected:
    656 | <html>
    657 |   <head>
    658 |   <body>
    659 |     <p>
    660 |       <b>
    661 |     <div>
    662 |       <b>
    663 |         <marquee>
    664 |           <p>
    665 
    666 Test 101 of 113 in resources/tests1.dat failed. Input:
    667 <select><b><option><select><option></b></select>
    668 Got:
    669 | <html>
    670 |   <head>
    671 |   <body>
    672 |     <select>
    673 |       <option>
    674 Expected:
    675 | <html>
    676 |   <head>
    677 |   <body>
    678 |     <select>
    679 |       <option>
    680 |     <option>
     368|       <table>
     369|         <tbody>
     370|           <tr>
     371|             <td>
     372|               <a>
     373|                 <table>
     374|               <a>
     375|     <a>
    681376
    682377Test 104 of 113 in resources/tests1.dat failed. Input:
     
    691386|         <li>
    692387|       <li>
    693 |       <li>
    694 |         <div>
    695 |           <li>
    696 |             <address>
    697 |           <li>
    698 |             <b>
    699 |               <em>
    700 |             <em>
    701 |           <em>
     388|         <li>
     389|           <div>
    702390|             <li>
    703 |     <em>
     391|               <address>
     392|                 <li>
     393|                   <b>
     394|                     <em>
     395|                   <li>
    704396Expected:
    705397| <html>
     
    720412|       <li>
    721413
    722 Test 106 of 113 in resources/tests1.dat failed. Input:
    723 <frameset><frame><frameset><frame></frameset><noframes></noframes></frameset>
    724 Got:
    725 | <html>
    726 |   <frameset>
    727 |     <frame>
    728 |     <frameset>
    729 |       <frame>
    730 Expected:
    731 | <html>
    732 |   <head>
    733 |   <frameset>
    734 |     <frame>
    735 |     <frameset>
    736 |       <frame>
    737 |     <noframes>
    738 
    739414Test 109 of 113 in resources/tests1.dat failed. Input:
    740415<table><col><tbody><col><tr><col><td><col></table><col>
     
    743418|   <head>
    744419|   <body>
    745 |     <col>
    746 |     <col>
    747 |     <table>
    748 |       <col>
     420|     <table>
     421|       <colgroup>
     422|         <col>
     423|       <tbody>
     424|       <colgroup>
     425|         <col>
     426|       <tbody>
     427|         <tr>
     428|       <colgroup>
     429|         <col>
    749430|       <tbody>
    750431|         <tr>
     
    770451|         <col>
    771452
    772 Test 113 of 113 in resources/tests1.dat failed. Input:
    773 <frameset>
    774 Got:
    775 | <html>
    776 |   <frameset>
    777 Expected:
    778 | <html>
    779 |   <head>
    780 |   <frameset>
     453Test 110 of 113 in resources/tests1.dat failed. Input:
     454<table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>
     455Got:
     456| <html>
     457|   <head>
     458|   <body>
     459|     <table>
     460|       <colgroup>
     461|       <tbody>
     462|       <colgroup>
     463|       <tbody>
     464|         <tr>
     465|       <colgroup>
     466|       <tbody>
     467|         <tr>
     468|           <td>
     469Expected:
     470| <html>
     471|   <head>
     472|   <body>
     473|     <table>
     474|       <colgroup>
     475|       <tbody>
     476|       <colgroup>
     477|       <tbody>
     478|         <tr>
     479|       <colgroup>
     480|       <tbody>
     481|         <tr>
     482|           <td>
     483|       <colgroup>
     484
     485Test 112 of 113 in resources/tests1.dat failed. Input:
     486<table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea>
     487Got:
     488| <html>
     489|   <head>
     490|   <body>
     491|     <table>
     492|       <tbody>
     493|         <tr>
     494|     <p>
     495Expected:
     496| <html>
     497|   <head>
     498|   <body>
     499|     <br>
     500|     <table>
     501|       <tbody>
     502|         <tr>
     503|     <p>
    781504resources/tests2.dat:
    782 6
    783 7
    784 8
    7855059
    78650611
    787 32
     50713
    78850836
    789 42
    790 44
    791 45
    792 53
    793 54
    794 
    795 Test 6 of 59 in resources/tests2.dat failed. Input:
    796 <!DOCTYPE html><frameset>test
    797 Got:
    798 | <!DOCTYPE html>
    799 | <html>
    800 |   <frameset>
    801 Expected:
    802 | <!DOCTYPE html>
    803 | <html>
    804 |   <head>
    805 |   <frameset>
    806 
    807 Test 7 of 59 in resources/tests2.dat failed. Input:
    808 <!DOCTYPE html><frameset><!DOCTYPE html>
    809 Got:
    810 | <!DOCTYPE html>
    811 | <html>
    812 |   <frameset>
    813 Expected:
    814 | <!DOCTYPE html>
    815 | <html>
    816 |   <head>
    817 |   <frameset>
    818 
    819 Test 8 of 59 in resources/tests2.dat failed. Input:
    820 <!DOCTYPE html><font><p><b>test</font>
    821 Got:
    822 | <!DOCTYPE html>
    823 | <html>
    824 |   <head>
    825 |   <body>
    826 |     <font>
    827 |     <p>
    828 |       <font>
    829 |         <b>
    830 |           "test"
    831 |       <b>
    832 Expected:
    833 | <!DOCTYPE html>
    834 | <html>
    835 |   <head>
    836 |   <body>
    837 |     <font>
    838 |     <p>
    839 |       <font>
    840 |         <b>
    841 |           "test"
     50947
     51048
     51149
    842512
    843513Test 9 of 59 in resources/tests2.dat failed. Input:
     
    866536|   <head>
    867537|   <body>
     538|     <table>
     539|       <plaintext>
     540|         "<td>"
     541Expected:
     542| <html>
     543|   <head>
     544|   <body>
    868545|     <plaintext>
    869546|       "<td>"
    870547|     <table>
    871 |       <tbody>
    872 Expected:
    873 | <html>
    874 |   <head>
    875 |   <body>
    876 |     <plaintext>
    877 |       "<td>"
    878 |     <table>
    879 
    880 Test 32 of 59 in resources/tests2.dat failed. Input:
    881 <!DOCTYPE html>X</body>X
    882 Got:
    883 | <!DOCTYPE html>
    884 | <html>
    885 |   <head>
    886 |   <body>
    887 |     "X"
    888 |     "X"
    889 Expected:
    890 | <!DOCTYPE html>
    891 | <html>
    892 |   <head>
    893 |   <body>
    894 |     "XX"
     548
     549Test 13 of 59 in resources/tests2.dat failed. Input:
     550<!DOCTYPE html><table><tr>TEST
     551Got:
     552| <!DOCTYPE html>
     553| <html>
     554|   <head>
     555|   <body>
     556|     <table>
     557|       <tbody>
     558|         <tr>
     559|           "TEST"
     560Expected:
     561| <!DOCTYPE html>
     562| <html>
     563|   <head>
     564|   <body>
     565|     "TEST"
     566|     <table>
     567|       <tbody>
     568|         <tr>
    895569
    896570Test 36 of 59 in resources/tests2.dat failed. Input:
     
    905579|         <option>
    906580|         <option>
     581|     <option>
    907582Expected:
    908583| <!DOCTYPE html>
     
    916591|     <option>
    917592
    918 Test 42 of 59 in resources/tests2.dat failed. Input:
    919 <isindex test=x name=x>
    920 Got:
    921 | <html>
    922 |   <head>
    923 |   <body>
    924 Expected:
    925 | <html>
    926 |   <head>
    927 |   <body>
    928 |     <form>
    929 |       <hr>
    930 |       <label>
    931 |         "This is a searchable index. Enter search keywords: "
    932 |         <input>
    933 |           name="isindex"
    934 |           test="x"
    935 |       <hr>
    936 
    937 Test 44 of 59 in resources/tests2.dat failed. Input:
    938 <!DOCTYPE html><body><title>test</body></title>
    939 Got:
    940 | <!DOCTYPE html>
    941 | <html>
    942 |   <head>
     593Test 47 of 59 in resources/tests2.dat failed. Input:
     594 
     595 
     596Got:
     597| <html>
     598|   <head>
     599|   <body>
     600|     "
     601 "
     602Expected:
     603| <html>
     604|   <head>
     605|   <body>
     606
     607Test 48 of 59 in resources/tests2.dat failed. Input:
     608<!DOCTYPE html>  <html>
     609Got:
     610| <!DOCTYPE html>
     611| <html>
     612|   <head>
     613|   <body>
     614|     "  "
     615Expected:
     616| <!DOCTYPE html>
     617| <html>
     618|   <head>
     619|   <body>
     620
     621Test 49 of 59 in resources/tests2.dat failed. Input:
     622<!DOCTYPE html><script>
     623</script>  <title>x</title>  </head>
     624Got:
     625| <!DOCTYPE html>
     626| <html>
     627|   <head>
     628|     <script>
     629|       "
     630"
     631|   <body>
     632|     "  "
    943633|     <title>
    944 |       "test</body>"
    945 |   <body>
    946 Expected:
    947 | <!DOCTYPE html>
    948 | <html>
    949 |   <head>
    950 |   <body>
     634|       "x"
     635|     "  "
     636Expected:
     637| <!DOCTYPE html>
     638| <html>
     639|   <head>
     640|     <script>
     641|       "
     642"
     643|     "  "
    951644|     <title>
    952 |       "test</body>"
    953 
    954 Test 45 of 59 in resources/tests2.dat failed. Input:
    955 <!DOCTYPE html><body><title>X</title><meta name=z><link rel=foo><style>
    956 x { content:"</style" } </style>
    957 Got:
    958 | <!DOCTYPE html>
    959 | <html>
    960 |   <head>
    961 |     <title>
    962 |       "X"
    963 |     <meta>
    964 |       name="z"
    965 |   <body>
    966 |     <link>
    967 |       rel="foo"
    968 |     <style>
    969 |       "
    970 x { content:"</style" } "
    971 Expected:
    972 | <!DOCTYPE html>
    973 | <html>
    974 |   <head>
    975 |   <body>
    976 |     <title>
    977 |       "X"
    978 |     <meta>
    979 |       name="z"
    980 |     <link>
    981 |       rel="foo"
    982 |     <style>
    983 |       "
    984 x { content:"</style" } "
    985 
    986 Test 53 of 59 in resources/tests2.dat failed. Input:
    987 <!DOCTYPE html>X</html>X
    988 Got:
    989 | <!DOCTYPE html>
    990 | <html>
    991 |   <head>
    992 |   <body>
    993 |     "X"
    994 |     "X"
    995 Expected:
    996 | <!DOCTYPE html>
    997 | <html>
    998 |   <head>
    999 |   <body>
    1000 |     "XX"
    1001 
    1002 Test 54 of 59 in resources/tests2.dat failed. Input:
    1003 <!DOCTYPE html>X</html>
    1004 Got:
    1005 | <!DOCTYPE html>
    1006 | <html>
    1007 |   <head>
    1008 |   <body>
    1009 |     "X"
    1010 |     " "
    1011 Expected:
    1012 | <!DOCTYPE html>
    1013 | <html>
    1014 |   <head>
    1015 |   <body>
    1016 |     "X "
     645|       "x"
     646|     "  "
     647|   <body>
    1017648resources/tests3.dat:
    101864916
     
    102065118
    102165219
     65320
     65421
     65522
    1022656
    1023657Test 16 of 23 in resources/tests3.dat failed. Input:
     
    1102736|           <p>
    1103737|       <li>
     738
     739Test 20 of 23 in resources/tests3.dat failed. Input:
     740<!doctype html><nobr><nobr><nobr>
     741Got:
     742| <!DOCTYPE html>
     743| <html>
     744|   <head>
     745|   <body>
     746|     <nobr>
     747|       <nobr>
     748|         <nobr>
     749Expected:
     750| <!DOCTYPE html>
     751| <html>
     752|   <head>
     753|   <body>
     754|     <nobr>
     755|     <nobr>
     756|     <nobr>
     757
     758Test 21 of 23 in resources/tests3.dat failed. Input:
     759<!doctype html><nobr><nobr></nobr><nobr>
     760Got:
     761| <!DOCTYPE html>
     762| <html>
     763|   <head>
     764|   <body>
     765|     <nobr>
     766|       <nobr>
     767|       <nobr>
     768Expected:
     769| <!DOCTYPE html>
     770| <html>
     771|   <head>
     772|   <body>
     773|     <nobr>
     774|     <nobr>
     775|     <nobr>
     776
     777Test 22 of 23 in resources/tests3.dat failed. Input:
     778<!doctype html><html><body><p><table></table></body></html>
     779Got:
     780| <!DOCTYPE html>
     781| <html>
     782|   <head>
     783|   <body>
     784|     <p>
     785|       <table>
     786Expected:
     787| <!DOCTYPE html>
     788| <html>
     789|   <head>
     790|   <body>
     791|     <p>
     792|     <table>
    1104793resources/tests4.dat:
    11057943
     
    1145834resources/tests5.dat:
    11468352
    1147 6
    11488367
    11498378
    1150 9
    1151 16
    1152838
    1153839Test 2 of 16 in resources/tests5.dat failed. Input:
     
    1159845|       " <!-- "
    1160846|   <body>
    1161 |     " --> "
    1162 |     "x"
     847|     " --> x"
    1163848Expected:
    1164849| <html>
     
    1170855|     "--> x"
    1171856
    1172 Test 6 of 16 in resources/tests5.dat failed. Input:
    1173 <iframe> <!--- </iframe>->x</iframe> --> </iframe>x
    1174 Got:
    1175 | <html>
    1176 |   <head>
    1177 |   <body>
    1178 |     <iframe>
    1179 |       " <!--- "
    1180 |     "->x"
    1181 |     " --> "
    1182 |     "x"
    1183 Expected:
    1184 | <html>
    1185 |   <head>
    1186 |   <body>
    1187 |     <iframe>
    1188 |       " <!--- "
    1189 |     "->x --> x"
    1190 
    1191857Test 7 of 16 in resources/tests5.dat failed. Input:
    1192858<script> <!-- </script> --> </script>x
     
    1197863|       " <!-- "
    1198864|   <body>
    1199 |     " --> "
    1200 |     "x"
     865|     " --> x"
    1201866Expected:
    1202867| <html>
     
    1216881|       " <!-- "
    1217882|   <body>
    1218 |     " --> "
    1219 |     "x"
     883|     " --> x"
    1220884Expected:
    1221885| <html>
     
    1226890|   <body>
    1227891|     "--> x"
    1228 
    1229 Test 9 of 16 in resources/tests5.dat failed. Input:
    1230 <textarea> <!--- </textarea>->x</textarea> --> </textarea>x
    1231 Got:
    1232 | <html>
    1233 |   <head>
    1234 |   <body>
    1235 |     <textarea>
    1236 |       " <!--- "
    1237 |     "->x"
    1238 |     " --> "
    1239 |     "x"
    1240 Expected:
    1241 | <html>
    1242 |   <head>
    1243 |   <body>
    1244 |     <textarea>
    1245 |       " <!--- "
    1246 |     "->x --> x"
    1247 
    1248 Test 16 of 16 in resources/tests5.dat failed. Input:
    1249 <noscript><!--</noscript>--></noscript>
    1250 Got:
    1251 | <html>
    1252 |   <head>
    1253 |   <body>
    1254 |     <noscript>
    1255 |     "-->"
    1256 Expected:
    1257 | <html>
    1258 |   <head>
    1259 |     <noscript>
    1260 |       "<!--"
    1261 |   <body>
    1262 |     "-->"
    1263892resources/tests6.dat:
    12648931
     
    126889711
    126989812
     89913
     90014
     90126
    127090227
    1271 29
    127290330
    1273 31
     90433
     90536
    127490637
     90742
    127590844
    127690945
    127791046
    127891147
    1279 48
    1280 49
    1281 50
    1282 51
    1283912
    1284913Test 1 of 51 in resources/tests6.dat failed. Input:
     
    1289918|   <head>
    1290919|   <body>
     920|     " "
    1291921Expected:
    1292922| <!DOCTYPE html>
     
    1301931Got:
    1302932| <html>
     933|   <head>
    1303934|   <frameset>
    1304935Expected:
     
    1314945Got:
    1315946| <html>
     947|   <head>
    1316948|   <frameset>
    1317949|   <noframes>
     
    1329961Got:
    1330962| <html>
     963|   <head>
    1331964|   <frameset>
    1332965Expected:
     
    1342975Got:
    1343976| <html>
     977|   <head>
    1344978|   <frameset>
    1345979Expected:
     
    1355989Got:
    1356990| <html>
     991|   <head>
    1357992|   <frameset>
    1358993Expected:
     
    1363998"
    1364999
     1000Test 13 of 51 in resources/tests6.dat failed. Input:
     1001<form><form>
     1002Got:
     1003| <html>
     1004|   <head>
     1005|   <body>
     1006|     <form>
     1007|       <form>
     1008Expected:
     1009| <html>
     1010|   <head>
     1011|   <body>
     1012|     <form>
     1013
     1014Test 14 of 51 in resources/tests6.dat failed. Input:
     1015<button><button>
     1016Got:
     1017| <html>
     1018|   <head>
     1019|   <body>
     1020|     <button>
     1021|       <button>
     1022Expected:
     1023| <html>
     1024|   <head>
     1025|   <body>
     1026|     <button>
     1027|     <button>
     1028
     1029Test 26 of 51 in resources/tests6.dat failed. Input:
     1030<table><colgroup>foo
     1031Got:
     1032| <html>
     1033|   <head>
     1034|   <body>
     1035|     <table>
     1036|       <colgroup>
     1037Expected:
     1038| <html>
     1039|   <head>
     1040|   <body>
     1041|     "foo"
     1042|     <table>
     1043|       <colgroup>
     1044
    13651045Test 27 of 51 in resources/tests6.dat failed. Input:
    13661046foo<col>
     
    13701050| <col>
    13711051
    1372 Test 29 of 51 in resources/tests6.dat failed. Input:
    1373 <frameset><div>
    1374 Got:
    1375 | <html>
    1376 |   <frameset>
    1377 Expected:
    1378 | <html>
    1379 |   <head>
    1380 |   <frameset>
    1381 
    13821052Test 30 of 51 in resources/tests6.dat failed. Input:
    13831053</frameset><frame>
     
    13871057| <frame>
    13881058
    1389 Test 31 of 51 in resources/tests6.dat failed. Input:
    1390 <frameset></div>
    1391 Got:
    1392 | <html>
    1393 |   <frameset>
    1394 Expected:
    1395 | <html>
    1396 |   <head>
    1397 |   <frameset>
     1059Test 33 of 51 in resources/tests6.dat failed. Input:
     1060<table><tr><div>
     1061Got:
     1062| <html>
     1063|   <head>
     1064|   <body>
     1065|     <table>
     1066|       <tbody>
     1067|         <tr>
     1068Expected:
     1069| <html>
     1070|   <head>
     1071|   <body>
     1072|     <div>
     1073|     <table>
     1074|       <tbody>
     1075|         <tr>
     1076
     1077Test 36 of 51 in resources/tests6.dat failed. Input:
     1078<table><tr><div><td>
     1079Got:
     1080| <html>
     1081|   <head>
     1082|   <body>
     1083|     <table>
     1084|       <tbody>
     1085|         <tr>
     1086|           <td>
     1087Expected:
     1088| <html>
     1089|   <head>
     1090|   <body>
     1091|     <div>
     1092|     <table>
     1093|       <tbody>
     1094|         <tr>
     1095|           <td>
    13981096
    13991097Test 37 of 51 in resources/tests6.dat failed. Input:
     
    14091107| <tr>
    14101108
     1109Test 42 of 51 in resources/tests6.dat failed. Input:
     1110<table><table>
     1111Got:
     1112| <html>
     1113|   <head>
     1114|   <body>
     1115|     <table>
     1116Expected:
     1117| <html>
     1118|   <head>
     1119|   <body>
     1120|     <table>
     1121|     <table>
     1122
    14111123Test 44 of 51 in resources/tests6.dat failed. Input:
    14121124</table><tr>
     
    14291141Got:
    14301142| <html>
     1143|   <head>
    14311144|   <frameset>
    14321145Expected:
     
    14481161|   <head>
    14491162|   <body>
    1450 
    1451 Test 48 of 51 in resources/tests6.dat failed. Input:
    1452 <param><frameset></frameset>
    1453 Got:
    1454 | <html>
    1455 |   <head>
    1456 |   <body>
    1457 |     style="display:none"
    1458 |   <frameset>
    1459 Expected:
    1460 | <html>
    1461 |   <head>
    1462 |   <frameset>
    1463 
    1464 Test 49 of 51 in resources/tests6.dat failed. Input:
    1465 <source><frameset></frameset>
    1466 Got:
    1467 | <html>
    1468 |   <head>
    1469 |   <body>
    1470 |     style="display:none"
    1471 |   <frameset>
    1472 Expected:
    1473 | <html>
    1474 |   <head>
    1475 |   <frameset>
    1476 
    1477 Test 50 of 51 in resources/tests6.dat failed. Input:
    1478 </html><frameset></frameset>
    1479 Got:
    1480 | <html>
    1481 |   <frameset>
    1482 Expected:
    1483 | <html>
    1484 |   <head>
    1485 |   <frameset>
    1486 
    1487 Test 51 of 51 in resources/tests6.dat failed. Input:
    1488 </body><frameset></frameset>
    1489 Got:
    1490 | <html>
    1491 |   <frameset>
    1492 Expected:
    1493 | <html>
    1494 |   <head>
    1495 |   <frameset>
    14961163resources/tests7.dat:
    1497 1
    149811642
    149911655
    150011666
    1501 9
    1502 14
     11677
     11688
    1503116915
    1504117016
     
    1506117218
    1507117319
     117420
    1508117524
    1509 25
    1510117627
    1511117728
     
    1513117930
    15141180
    1515 Test 1 of 30 in resources/tests7.dat failed. Input:
    1516 <!doctype html><body><title>X</title>
    1517 Got:
    1518 | <!DOCTYPE html>
    1519 | <html>
    1520 |   <head>
     1181Test 2 of 30 in resources/tests7.dat failed. Input:
     1182<!doctype html><table><title>X</title></table>
     1183Got:
     1184| <!DOCTYPE html>
     1185| <html>
     1186|   <head>
     1187|   <body>
     1188|     <table>
     1189|       <title>
     1190|         "X"
     1191Expected:
     1192| <!DOCTYPE html>
     1193| <html>
     1194|   <head>
     1195|   <body>
    15211196|     <title>
    15221197|       "X"
    1523 |   <body>
    1524 Expected:
    1525 | <!DOCTYPE html>
    1526 | <html>
    1527 |   <head>
    1528 |   <body>
    1529 |     <title>
    1530 |       "X"
    1531 
    1532 Test 2 of 30 in resources/tests7.dat failed. Input:
    1533 <!doctype html><table><title>X</title></table>
    1534 Got:
    1535 | <!DOCTYPE html>
    1536 | <html>
    1537 |   <head>
    1538 |     <title>
    1539 |       "X"
    1540 |   <body>
    1541 |     <table>
    1542 Expected:
    1543 | <!DOCTYPE html>
    1544 | <html>
    1545 |   <head>
    1546 |   <body>
    1547 |     <title>
    1548 |       "X"
    15491198|     <table>
    15501199
     
    15551204| <html>
    15561205|   <head>
    1557 |     <meta>
    1558 |   <body>
    1559 |     <table>
     1206|   <body>
     1207|     <table>
     1208|       <meta>
    15601209Expected:
    15611210| <!DOCTYPE html>
     
    15721221| <html>
    15731222|   <head>
    1574 |     <meta>
    1575 |   <body>
    1576 |     "X"
    1577 |     <table>
     1223|   <body>
     1224|     <table>
     1225|       "X"
    15781226|       <tbody>
    15791227|         <tr>
     
    15811229|             <table>
    15821230|               " "
     1231|               <meta>
    15831232Expected:
    15841233| <!DOCTYPE html>
     
    15951244|               " "
    15961245
    1597 Test 9 of 30 in resources/tests7.dat failed. Input:
    1598 <!doctype html><table><style> <tr>x </style> </table>
    1599 Got:
    1600 | <!DOCTYPE html>
    1601 | <html>
    1602 |   <head>
    1603 |     <style>
    1604 |       " <tr>x "
    1605 |   <body>
    1606 |     <table>
    1607 |       " "
    1608 Expected:
    1609 | <!DOCTYPE html>
    1610 | <html>
    1611 |   <head>
    1612 |   <body>
    1613 |     <table>
    1614 |       <style>
    1615 |         " <tr>x "
    1616 |       " "
    1617 
    1618 Test 14 of 30 in resources/tests7.dat failed. Input:
    1619 <!doctype html><select><select>X
    1620 Got:
    1621 | <!DOCTYPE html>
    1622 | <html>
    1623 |   <head>
    1624 |   <body>
    1625 |     <select>
    1626 |       "X"
    1627 Expected:
    1628 | <!DOCTYPE html>
    1629 | <html>
    1630 |   <head>
    1631 |   <body>
    1632 |     <select>
    1633 |     "X"
     1246Test 7 of 30 in resources/tests7.dat failed. Input:
     1247<!doctype html><html> <head>
     1248Got:
     1249| <!DOCTYPE html>
     1250| <html>
     1251|   <head>
     1252|   <body>
     1253|     " "
     1254Expected:
     1255| <!DOCTYPE html>
     1256| <html>
     1257|   <head>
     1258|   <body>
     1259
     1260Test 8 of 30 in resources/tests7.dat failed. Input:
     1261<!doctype html> <head>
     1262Got:
     1263| <!DOCTYPE html>
     1264| <html>
     1265|   <head>
     1266|   <body>
     1267|     " "
     1268Expected:
     1269| <!DOCTYPE html>
     1270| <html>
     1271|   <head>
     1272|   <body>
    16341273
    16351274Test 15 of 30 in resources/tests7.dat failed. Input:
     
    16401279|   <head>
    16411280|   <body>
    1642 |     <input>
    1643 |       type="hidDEN"
    1644 |     <table>
    1645 |       <tbody>
     1281|     <table>
    16461282Expected:
    16471283| <!DOCTYPE html>
     
    16601296|   <head>
    16611297|   <body>
    1662 |     "X"
    1663 |     <input>
    1664 |       type="hidDEN"
    1665 |     <table>
    1666 |       <tbody>
     1298|     <table>
     1299|       "X"
    16671300Expected:
    16681301| <!DOCTYPE html>
     
    16821315|   <head>
    16831316|   <body>
    1684 |     <input>
    1685 |       type="hidDEN"
    16861317|     <table>
    16871318|       "  "
    1688 |       <tbody>
    16891319Expected:
    16901320| <!DOCTYPE html>
     
    17041334|   <head>
    17051335|   <body>
    1706 |     <input>
    1707 |       type="hidDEN"
    17081336|     <table>
    17091337|       "  "
    1710 |       <tbody>
    17111338Expected:
    17121339| <!DOCTYPE html>
     
    17261353|   <head>
    17271354|   <body>
     1355|     <table>
     1356Expected:
     1357| <!DOCTYPE html>
     1358| <html>
     1359|   <head>
     1360|   <body>
    17281361|     <input>
    17291362|       type=" hidden"
    1730 |     <input>
    1731 |       type="hidDEN"
    1732 |     <table>
    1733 |       <tbody>
    1734 Expected:
    1735 | <!DOCTYPE html>
    1736 | <html>
    1737 |   <head>
    1738 |   <body>
    1739 |     <input>
    1740 |       type=" hidden"
    17411363|     <table>
    17421364|       <input>
    17431365|         type="hidDEN"
     1366
     1367Test 20 of 30 in resources/tests7.dat failed. Input:
     1368<!doctype html><table><select>X<tr>
     1369Got:
     1370| <!DOCTYPE html>
     1371| <html>
     1372|   <head>
     1373|   <body>
     1374|     <table>
     1375|       <select>
     1376|         "X"
     1377|       <tbody>
     1378|         <tr>
     1379Expected:
     1380| <!DOCTYPE html>
     1381| <html>
     1382|   <head>
     1383|   <body>
     1384|     <select>
     1385|       "X"
     1386|     <table>
     1387|       <tbody>
     1388|         <tr>
    17441389
    17451390Test 24 of 30 in resources/tests7.dat failed. Input:
     
    17521397|   "X"
    17531398
    1754 Test 25 of 30 in resources/tests7.dat failed. Input:
    1755 <div><p>a</x> b
    1756 Got:
    1757 | <html>
    1758 |   <head>
    1759 |   <body>
    1760 |     <div>
    1761 |       <p>
    1762 |         "a"
    1763 |         " b"
    1764 Expected:
    1765 | <html>
    1766 |   <head>
    1767 |   <body>
    1768 |     <div>
    1769 |       <p>
    1770 |         "a b"
    1771 
    17721399Test 27 of 30 in resources/tests7.dat failed. Input:
    17731400<table><b><tr><td>aaa</td></tr>bbb</table>ccc
     
    17761403|   <head>
    17771404|   <body>
    1778 |     <b>
    1779 |     "bbb"
    1780 |     <table>
     1405|     <table>
     1406|       <b>
    17811407|       <tbody>
    17821408|         <tr>
    17831409|           <td>
    17841410|             "aaa"
     1411|         "bbb"
    17851412|     "ccc"
    17861413Expected:
     
    18061433|   <body>
    18071434|     "A"
    1808 |     " B"
    1809 |     " B"
    1810 |     <table>
    1811 |       <tbody>
    1812 |         <tr>
     1435|     <table>
     1436|       <tbody>
     1437|         <tr>
     1438|           " B"
     1439|         " B"
    18131440Expected:
    18141441| <html>
     
    18271454|   <body>
    18281455|     "A"
    1829 |     " B"
    1830 |     "C"
    1831 |     <table>
    1832 |       <tbody>
    1833 |         <tr>
    1834 |         " "
     1456|     <table>
     1457|       <tbody>
     1458|         <tr>
     1459|           " B"
     1460|         " C"
    18351461Expected:
    18361462| <html>
     
    18501476|   <body>
    18511477|     <select>
     1478|     <keygen>
     1479|       <option>
     1480|         "2048 (High Grade)"
     1481|       <option>
     1482|         "1024 (Medium Grade)"
     1483|       <option>
     1484|         "512 (Low Grade)"
    18521485Expected:
    18531486| <html>
     
    186314965
    186414976
    1865 8
    1866 9
     14987
    18671499
    18681500Test 1 of 9 in resources/tests8.dat failed. Input:
     
    18781510"
    18791511|       <div>
    1880 |       "
    1881 "
    1882 |       "x"
     1512|     "
     1513x"
    18831514Expected:
    18841515| <html>
     
    19021533|       "x"
    19031534|       <div>
    1904 |       "
    1905 "
    1906 |       "x"
     1535|     "
     1536x"
    19071537Expected:
    19081538| <html>
     
    19241554|       "x"
    19251555|       <div>
    1926 |       "x"
    1927 |       "x"
     1556|     "xx"
    19281557Expected:
    19291558| <html>
     
    19441573|       "x"
    19451574|       <div>
    1946 |       "y"
    1947 |       "z"
     1575|     "yz"
    19481576Expected:
    19491577| <html>
     
    19611589|   <head>
    19621590|   <body>
    1963 |     <div>
    1964 |       "x"
     1591|     <table>
    19651592|       <div>
    1966 |       "x"
    1967 |       "x"
    1968 |     <table>
    1969 |       <tbody>
     1593|         "x"
     1594|         <div>
     1595|       "xx"
    19701596Expected:
    19711597| <html>
     
    19851611|   <body>
    19861612|     "x"
     1613|     <table>
     1614|       "x"
     1615Expected:
     1616| <html>
     1617|   <head>
     1618|   <body>
     1619|     "xx"
     1620|     <table>
     1621
     1622Test 7 of 9 in resources/tests8.dat failed. Input:
     1623x<table><table>x
     1624Got:
     1625| <html>
     1626|   <head>
     1627|   <body>
    19871628|     "x"
    19881629|     <table>
    1989 Expected:
    1990 | <html>
    1991 |   <head>
    1992 |   <body>
    1993 |     "xx"
    1994 |     <table>
    1995 
    1996 Test 8 of 9 in resources/tests8.dat failed. Input:
    1997 <b>a<div></div><div></b>y
    1998 Got:
    1999 | <html>
    2000 |   <head>
    2001 |   <body>
    2002 |     <b>
    2003 |       "a"
    2004 |       <div>
    2005 |     <div>
    2006 |       "y"
    2007 Expected:
    2008 | <html>
    2009 |   <head>
    2010 |   <body>
    2011 |     <b>
    2012 |       "a"
    2013 |       <div>
    2014 |     <div>
    2015 |       <b>
    2016 |       "y"
    2017 
    2018 Test 9 of 9 in resources/tests8.dat failed. Input:
    2019 <a><div><p></a>
    2020 Got:
    2021 | <html>
    2022 |   <head>
    2023 |   <body>
    2024 |     <a>
    2025 |     <div>
    2026 |       <a>
    2027 |       <p>
    2028 Expected:
    2029 | <html>
    2030 |   <head>
    2031 |   <body>
    2032 |     <a>
    2033 |     <div>
    2034 |       <a>
    2035 |       <p>
    2036 |         <a>
     1630|       "x"
     1631Expected:
     1632| <html>
     1633|   <head>
     1634|   <body>
     1635|     "x"
     1636|     <table>
     1637|     "x"
     1638|     <table>
    20371639resources/tests9.dat:
    203816401
     
    2049165114
    2050165215
    2051 16
    2052165317
    2053165418
    2054165519
    2055 20
    2056 21
    2057165622
    2058165723
     
    20971696|   <head>
    20981697|   <body>
    2099 |     <math>
    2100 |     <table>
    2101 |       <tbody>
     1698|     <table>
     1699|       <math>
    21021700Expected:
    21031701| <!DOCTYPE html>
     
    21151713|   <head>
    21161714|   <body>
    2117 |     <math>
    2118 |       <mi>
    2119 |         "foo"
    2120 |     <table>
    2121 |       <tbody>
     1715|     <table>
     1716|       <math>
     1717|         <mi>
     1718|           "foo"
    21221719Expected:
    21231720| <!DOCTYPE html>
     
    21371734|   <head>
    21381735|   <body>
    2139 |     <math>
    2140 |       <mi>
    2141 |         "foo"
    2142 |       <mi>
    2143 |         "bar"
    2144 |     <table>
    2145 |       <tbody>
     1736|     <table>
     1737|       <math>
     1738|         <mi>
     1739|           "foo"
     1740|         <mi>
     1741|           "bar"
    21461742Expected:
    21471743| <!DOCTYPE html>
     
    21631759|   <head>
    21641760|   <body>
    2165 |     <math>
    2166 |       <mi>
    2167 |         "foo"
    2168 |       <mi>
    2169 |         "bar"
    2170 |     <table>
    2171 |       <tbody>
     1761|     <table>
     1762|       <tbody>
     1763|         <math>
     1764|           <mi>
     1765|             "foo"
     1766|           <mi>
     1767|             "bar"
    21721768Expected:
    21731769| <!DOCTYPE html>
     
    21901786|   <head>
    21911787|   <body>
    2192 |     <math>
    2193 |       <mi>
    2194 |         "foo"
    2195 |       <mi>
    2196 |         "bar"
    2197 |     <table>
    2198 |       <tbody>
    2199 |         <tr>
     1788|     <table>
     1789|       <tbody>
     1790|         <tr>
     1791|           "foobar"
    22001792Expected:
    22011793| <!DOCTYPE html>
     
    23841976|   <head>
    23851977|   <body>
     1978|     <table>
     1979|       <colgroup>
     1980|       <math>
     1981|         <mi>
     1982|           "foo"
     1983|         <mi>
     1984|           "bar"
     1985|         <p>
     1986|           "baz"
     1987|     <p>
     1988|       "quux"
     1989Expected:
     1990| <!DOCTYPE html>
     1991| <html>
     1992|   <head>
     1993|   <body>
     1994|     <math math>
     1995|       <math mi>
     1996|         "foo"
     1997|       <math mi>
     1998|         "bar"
     1999|     <p>
     2000|       "baz"
     2001|     <table>
     2002|       <colgroup>
     2003|     <p>
     2004|       "quux"
     2005
     2006Test 17 of 25 in resources/tests9.dat failed. Input:
     2007<!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
     2008Got:
     2009| <!DOCTYPE html>
     2010| <html>
     2011|   <head>
     2012|   <body>
     2013|     <table>
     2014|       <select>
     2015|         "foobarbaz"
     2016|     <p>
     2017|       "quux"
     2018Expected:
     2019| <!DOCTYPE html>
     2020| <html>
     2021|   <head>
     2022|   <body>
     2023|     <select>
     2024|       "foobarbaz"
     2025|     <table>
     2026|     <p>
     2027|       "quux"
     2028
     2029Test 18 of 25 in resources/tests9.dat failed. Input:
     2030<!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
     2031Got:
     2032| <!DOCTYPE html>
     2033| <html>
     2034|   <head>
     2035|   <body>
    23862036|     <math>
    23872037|       <mi>
     
    23912041|       <p>
    23922042|         "baz"
    2393 |     <table>
    2394 |       <colgroup>
    2395 |       <tbody>
    2396 |     <p>
    2397 |       "quux"
    23982043Expected:
    23992044| <!DOCTYPE html>
     
    24082053|     <p>
    24092054|       "baz"
    2410 |     <table>
    2411 |       <colgroup>
    2412 |     <p>
    2413 |       "quux"
    2414 
    2415 Test 16 of 25 in resources/tests9.dat failed. Input:
    2416 <!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
    2417 Got:
    2418 | <!DOCTYPE html>
    2419 | <html>
    2420 |   <head>
    2421 |   <body>
    2422 |     <table>
    2423 |       <tbody>
    2424 |         <tr>
    2425 |           <td>
    2426 |             <select>
    2427 |               "foo"
    2428 |               "bar"
    2429 |               "baz"
    2430 |     <p>
    2431 |       "quux"
    2432 Expected:
    2433 | <!DOCTYPE html>
    2434 | <html>
    2435 |   <head>
    2436 |   <body>
    2437 |     <table>
    2438 |       <tbody>
    2439 |         <tr>
    2440 |           <td>
    2441 |             <select>
    2442 |               "foobarbaz"
    2443 |     <p>
    2444 |       "quux"
    2445 
    2446 Test 17 of 25 in resources/tests9.dat failed. Input:
    2447 <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
    2448 Got:
    2449 | <!DOCTYPE html>
    2450 | <html>
    2451 |   <head>
    2452 |   <body>
    2453 |     <select>
    2454 |       "foo"
    2455 |       "bar"
    2456 |       "baz"
    2457 |     <table>
    2458 |       <tbody>
    2459 |     <p>
    2460 |       "quux"
    2461 Expected:
    2462 | <!DOCTYPE html>
    2463 | <html>
    2464 |   <head>
    2465 |   <body>
    2466 |     <select>
    2467 |       "foobarbaz"
    2468 |     <table>
    2469 |     <p>
    2470 |       "quux"
    2471 
    2472 Test 18 of 25 in resources/tests9.dat failed. Input:
    2473 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
     2055
     2056Test 19 of 25 in resources/tests9.dat failed. Input:
     2057<!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
    24742058Got:
    24752059| <!DOCTYPE html>
     
    24962080|     <p>
    24972081|       "baz"
    2498 
    2499 Test 19 of 25 in resources/tests9.dat failed. Input:
    2500 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
    2501 Got:
    2502 | <!DOCTYPE html>
    2503 | <html>
    2504 |   <head>
    2505 |   <body>
    2506 |     <math>
    2507 |       <mi>
    2508 |         "foo"
    2509 |       <mi>
    2510 |         "bar"
    2511 |       <p>
    2512 |         "baz"
    2513 Expected:
    2514 | <!DOCTYPE html>
    2515 | <html>
    2516 |   <head>
    2517 |   <body>
    2518 |     <math math>
    2519 |       <math mi>
    2520 |         "foo"
    2521 |       <math mi>
    2522 |         "bar"
    2523 |     <p>
    2524 |       "baz"
    2525 
    2526 Test 20 of 25 in resources/tests9.dat failed. Input:
    2527 <!DOCTYPE html><frameset><math><mi></mi><mi></mi><p><span>
    2528 Got:
    2529 | <!DOCTYPE html>
    2530 | <html>
    2531 |   <frameset>
    2532 Expected:
    2533 | <!DOCTYPE html>
    2534 | <html>
    2535 |   <head>
    2536 |   <frameset>
    2537 
    2538 Test 21 of 25 in resources/tests9.dat failed. Input:
    2539 <!DOCTYPE html><frameset></frameset><math><mi></mi><mi></mi><p><span>
    2540 Got:
    2541 | <!DOCTYPE html>
    2542 | <html>
    2543 |   <frameset>
    2544 Expected:
    2545 | <!DOCTYPE html>
    2546 | <html>
    2547 |   <head>
    2548 |   <frameset>
    25492082
    25502083Test 22 of 25 in resources/tests9.dat failed. Input:
     
    2657219014
    2658219115
    2659 16
    2660219217
    2661219318
    2662219419
    2663 20
    2664 21
    2665219522
    2666219623
     
    27052235|   <head>
    27062236|   <body>
    2707 |     <svg>
    2708 |     <table>
    2709 |       <tbody>
     2237|     <table>
     2238|       <svg>
    27102239Expected:
    27112240| <!DOCTYPE html>
     
    27232252|   <head>
    27242253|   <body>
    2725 |     <svg>
    2726 |       <g>
    2727 |         "foo"
    2728 |     <table>
    2729 |       <tbody>
     2254|     <table>
     2255|       <svg>
     2256|         <g>
     2257|           "foo"
    27302258Expected:
    27312259| <!DOCTYPE html>
     
    27452273|   <head>
    27462274|   <body>
    2747 |     <svg>
    2748 |       <g>
    2749 |         "foo"
    2750 |       <g>
    2751 |         "bar"
    2752 |     <table>
    2753 |       <tbody>
     2275|     <table>
     2276|       <svg>
     2277|         <g>
     2278|           "foo"
     2279|         <g>
     2280|           "bar"
    27542281Expected:
    27552282| <!DOCTYPE html>
     
    27712298|   <head>
    27722299|   <body>
    2773 |     <svg>
    2774 |       <g>
    2775 |         "foo"
    2776 |       <g>
    2777 |         "bar"
    2778 |     <table>
    2779 |       <tbody>
     2300|     <table>
     2301|       <tbody>
     2302|         <svg>
     2303|           <g>
     2304|             "foo"
     2305|           <g>
     2306|             "bar"
    27802307Expected:
    27812308| <!DOCTYPE html>
     
    27982325|   <head>
    27992326|   <body>
    2800 |     <svg>
    2801 |       <g>
    2802 |         "foo"
    2803 |       <g>
    2804 |         "bar"
    2805 |     <table>
    2806 |       <tbody>
    2807 |         <tr>
     2327|     <table>
     2328|       <tbody>
     2329|         <tr>
     2330|           "foobar"
    28082331Expected:
    28092332| <!DOCTYPE html>
     
    29922515|   <head>
    29932516|   <body>
     2517|     <table>
     2518|       <colgroup>
     2519|       <svg>
     2520|         <g>
     2521|           "foo"
     2522|         <g>
     2523|           "bar"
     2524|         <p>
     2525|           "baz"
     2526|     <p>
     2527|       "quux"
     2528Expected:
     2529| <!DOCTYPE html>
     2530| <html>
     2531|   <head>
     2532|   <body>
     2533|     <svg svg>
     2534|       <svg g>
     2535|         "foo"
     2536|       <svg g>
     2537|         "bar"
     2538|     <p>
     2539|       "baz"
     2540|     <table>
     2541|       <colgroup>
     2542|     <p>
     2543|       "quux"
     2544
     2545Test 17 of 25 in resources/tests10.dat failed. Input:
     2546<!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
     2547Got:
     2548| <!DOCTYPE html>
     2549| <html>
     2550|   <head>
     2551|   <body>
     2552|     <table>
     2553|       <select>
     2554|         "foobarbaz"
     2555|     <p>
     2556|       "quux"
     2557Expected:
     2558| <!DOCTYPE html>
     2559| <html>
     2560|   <head>
     2561|   <body>
     2562|     <select>
     2563|       "foobarbaz"
     2564|     <table>
     2565|     <p>
     2566|       "quux"
     2567
     2568Test 18 of 25 in resources/tests10.dat failed. Input:
     2569<!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
     2570Got:
     2571| <!DOCTYPE html>
     2572| <html>
     2573|   <head>
     2574|   <body>
    29942575|     <svg>
    29952576|       <g>
     
    29992580|       <p>
    30002581|         "baz"
    3001 |     <table>
    3002 |       <colgroup>
    3003 |       <tbody>
    3004 |     <p>
    3005 |       "quux"
    30062582Expected:
    30072583| <!DOCTYPE html>
     
    30162592|     <p>
    30172593|       "baz"
    3018 |     <table>
    3019 |       <colgroup>
    3020 |     <p>
    3021 |       "quux"
    3022 
    3023 Test 16 of 25 in resources/tests10.dat failed. Input:
    3024 <!DOCTYPE html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
    3025 Got:
    3026 | <!DOCTYPE html>
    3027 | <html>
    3028 |   <head>
    3029 |   <body>
    3030 |     <table>
    3031 |       <tbody>
    3032 |         <tr>
    3033 |           <td>
    3034 |             <select>
    3035 |               "foo"
    3036 |               "bar"
    3037 |               "baz"
    3038 |     <p>
    3039 |       "quux"
    3040 Expected:
    3041 | <!DOCTYPE html>
    3042 | <html>
    3043 |   <head>
    3044 |   <body>
    3045 |     <table>
    3046 |       <tbody>
    3047 |         <tr>
    3048 |           <td>
    3049 |             <select>
    3050 |               "foobarbaz"
    3051 |     <p>
    3052 |       "quux"
    3053 
    3054 Test 17 of 25 in resources/tests10.dat failed. Input:
    3055 <!DOCTYPE html><body><table><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
    3056 Got:
    3057 | <!DOCTYPE html>
    3058 | <html>
    3059 |   <head>
    3060 |   <body>
    3061 |     <select>
    3062 |       "foo"
    3063 |       "bar"
    3064 |       "baz"
    3065 |     <table>
    3066 |       <tbody>
    3067 |     <p>
    3068 |       "quux"
    3069 Expected:
    3070 | <!DOCTYPE html>
    3071 | <html>
    3072 |   <head>
    3073 |   <body>
    3074 |     <select>
    3075 |       "foobarbaz"
    3076 |     <table>
    3077 |     <p>
    3078 |       "quux"
    3079 
    3080 Test 18 of 25 in resources/tests10.dat failed. Input:
    3081 <!DOCTYPE html><body></body></html><svg><g>foo</g><g>bar</g><p>baz
     2594
     2595Test 19 of 25 in resources/tests10.dat failed. Input:
     2596<!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
    30822597Got:
    30832598| <!DOCTYPE html>
     
    31042619|     <p>
    31052620|       "baz"
    3106 
    3107 Test 19 of 25 in resources/tests10.dat failed. Input:
    3108 <!DOCTYPE html><body></body><svg><g>foo</g><g>bar</g><p>baz
    3109 Got:
    3110 | <!DOCTYPE html>
    3111 | <html>
    3112 |   <head>
    3113 |   <body>
    3114 |     <svg>
    3115 |       <g>
    3116 |         "foo"
    3117 |       <g>
    3118 |         "bar"
    3119 |       <p>
    3120 |         "baz"
    3121 Expected:
    3122 | <!DOCTYPE html>
    3123 | <html>
    3124 |   <head>
    3125 |   <body>
    3126 |     <svg svg>
    3127 |       <svg g>
    3128 |         "foo"
    3129 |       <svg g>
    3130 |         "bar"
    3131 |     <p>
    3132 |       "baz"
    3133 
    3134 Test 20 of 25 in resources/tests10.dat failed. Input:
    3135 <!DOCTYPE html><frameset><svg><g></g><g></g><p><span>
    3136 Got:
    3137 | <!DOCTYPE html>
    3138 | <html>
    3139 |   <frameset>
    3140 Expected:
    3141 | <!DOCTYPE html>
    3142 | <html>
    3143 |   <head>
    3144 |   <frameset>
    3145 
    3146 Test 21 of 25 in resources/tests10.dat failed. Input:
    3147 <!DOCTYPE html><frameset></frameset><svg><g></g><g></g><p><span>
    3148 Got:
    3149 | <!DOCTYPE html>
    3150 | <html>
    3151 |   <frameset>
    3152 Expected:
    3153 | <!DOCTYPE html>
    3154 | <html>
    3155 |   <head>
    3156 |   <frameset>
    31572621
    31582622Test 22 of 25 in resources/tests10.dat failed. Input:
     
    42083672|     <p>
    42093673|       "spam"
    4210 |     <table>
    4211 |       <tbody>
    4212 |         <tr>
    4213 |           <td>
    4214 |             <img>
    4215 |     <g>
    4216 |       "quux"
    4217 |     "bar"
     3674|       <table>
     3675|         <tbody>
     3676|           <tr>
     3677|             <td>
     3678|               <img>
     3679|       <g>
     3680|         "quux"
     3681|       "bar"
    42183682Expected:
    42193683| <!DOCTYPE html>
     
    42663730|               <p>
    42673731|                 "spam"
    4268 |               <table>
    4269 |                 <tbody>
    4270 |                   <tr>
    4271 |                     <td>
    4272 |                       <img>
    4273 |           <g>
    4274 |             "quux"
    4275 |     "bar"
     3732|                 <table>
     3733|                   <tbody>
     3734|                     <tr>
     3735|                       <td>
     3736|                         <img>
     3737|                 <g>
     3738|                   "quux"
     3739|                 "bar"
    42763740Expected:
    42773741| <!DOCTYPE html>
     
    43043768
    43053769resources/tests15.dat:
    4306 3
    4307 4
     37701
     37712
    430837725
    4309 6
    431037737
     37748
     37759
     377610
    4311377711
    4312377812
    4313 13
    4314 
    4315 Test 3 of 14 in resources/tests15.dat failed. Input:
    4316 <!doctype html></html> <head>
    4317 Got:
    4318 | <!DOCTYPE html>
    4319 | <html>
    4320 |   <head>
    4321 |   <body>
    4322 Expected:
    4323 | <!DOCTYPE html>
    4324 | <html>
    4325 |   <head>
    4326 |   <body>
     3779
     3780Test 1 of 14 in resources/tests15.dat failed. Input:
     3781<!DOCTYPE html><p><b><i><u></p> <p>X
     3782Got:
     3783| <!DOCTYPE html>
     3784| <html>
     3785|   <head>
     3786|   <body>
     3787|     <p>
     3788|       <b>
     3789|         <i>
     3790|           <u>
    43273791|     " "
    4328 
    4329 Test 4 of 14 in resources/tests15.dat failed. Input:
    4330 <!doctype html></body><meta>
    4331 Got:
    4332 | <!DOCTYPE html>
    4333 | <html>
    4334 |   <head>
    4335 |     <meta>
    4336 |   <body>
    4337 Expected:
    4338 | <!DOCTYPE html>
    4339 | <html>
    4340 |   <head>
    4341 |   <body>
    4342 |     <meta>
     3792|     <p>
     3793|       "X"
     3794Expected:
     3795| <!DOCTYPE html>
     3796| <html>
     3797|   <head>
     3798|   <body>
     3799|     <p>
     3800|       <b>
     3801|         <i>
     3802|           <u>
     3803|     <b>
     3804|       <i>
     3805|         <u>
     3806|           " "
     3807|           <p>
     3808|             "X"
     3809
     3810Test 2 of 14 in resources/tests15.dat failed. Input:
     3811<p><b><i><u></p>
     3812<p>X
     3813Got:
     3814| <html>
     3815|   <head>
     3816|   <body>
     3817|     <p>
     3818|       <b>
     3819|         <i>
     3820|           <u>
     3821|     "
     3822"
     3823|     <p>
     3824|       "X"
     3825Expected:
     3826| <html>
     3827|   <head>
     3828|   <body>
     3829|     <p>
     3830|       <b>
     3831|         <i>
     3832|           <u>
     3833|     <b>
     3834|       <i>
     3835|         <u>
     3836|           "
     3837"
     3838|           <p>
     3839|             "X"
    43433840
    43443841Test 5 of 14 in resources/tests15.dat failed. Input:
     
    43553852| <!--  foo  -->
    43563853
    4357 Test 6 of 14 in resources/tests15.dat failed. Input:
    4358 <!doctype html></body><title>X</title>
    4359 Got:
    4360 | <!DOCTYPE html>
    4361 | <html>
    4362 |   <head>
    4363 |     <title>
    4364 |       "X"
    4365 |   <body>
    4366 Expected:
    4367 | <!DOCTYPE html>
    4368 | <html>
    4369 |   <head>
    4370 |   <body>
    4371 |     <title>
    4372 |       "X"
    4373 
    43743854Test 7 of 14 in resources/tests15.dat failed. Input:
    43753855<!doctype html><table> X<meta></table>
     
    43783858| <html>
    43793859|   <head>
    4380 |     <meta>
    4381 |   <body>
    4382 |     " X"
    4383 |     <table>
     3860|   <body>
     3861|     <table>
     3862|       " X"
     3863|       <meta>
    43843864Expected:
    43853865| <!DOCTYPE html>
     
    43913871|     <table>
    43923872
     3873Test 8 of 14 in resources/tests15.dat failed. Input:
     3874<!doctype html><table> x</table>
     3875Got:
     3876| <!DOCTYPE html>
     3877| <html>
     3878|   <head>
     3879|   <body>
     3880|     <table>
     3881|       " x"
     3882Expected:
     3883| <!DOCTYPE html>
     3884| <html>
     3885|   <head>
     3886|   <body>
     3887|     " x"
     3888|     <table>
     3889
     3890Test 9 of 14 in resources/tests15.dat failed. Input:
     3891<!doctype html><table> x </table>
     3892Got:
     3893| <!DOCTYPE html>
     3894| <html>
     3895|   <head>
     3896|   <body>
     3897|     <table>
     3898|       " x "
     3899Expected:
     3900| <!DOCTYPE html>
     3901| <html>
     3902|   <head>
     3903|   <body>
     3904|     " x "
     3905|     <table>
     3906
     3907Test 10 of 14 in resources/tests15.dat failed. Input:
     3908<!doctype html><table><tr> x</table>
     3909Got:
     3910| <!DOCTYPE html>
     3911| <html>
     3912|   <head>
     3913|   <body>
     3914|     <table>
     3915|       <tbody>
     3916|         <tr>
     3917|           " x"
     3918Expected:
     3919| <!DOCTYPE html>
     3920| <html>
     3921|   <head>
     3922|   <body>
     3923|     " x"
     3924|     <table>
     3925|       <tbody>
     3926|         <tr>
     3927
    43933928Test 11 of 14 in resources/tests15.dat failed. Input:
    43943929<!doctype html><table>X<style> <tr>x </style> </table>
     
    43973932| <html>
    43983933|   <head>
    4399 |     <style>
    4400 |       " <tr>x "
    4401 |   <body>
    4402 |     "X"
    4403 |     <table>
    4404 |       " "
    4405 Expected:
    4406 | <!DOCTYPE html>
    4407 | <html>
    4408 |   <head>
    4409 |   <body>
    4410 |     "X"
    4411 |     <table>
     3934|   <body>
     3935|     <table>
     3936|       "X"
    44123937|       <style>
    44133938|         " <tr>x "
    44143939|       " "
     3940Expected:
     3941| <!DOCTYPE html>
     3942| <html>
     3943|   <head>
     3944|   <body>
     3945|     "X"
     3946|     <table>
     3947|       <style>
     3948|         " <tr>x "
     3949|       " "
    44153950
    44163951Test 12 of 14 in resources/tests15.dat failed. Input:
     
    44223957|   <body>
    44233958|     <div>
    4424 |       <a>
    4425 |         "foo"
    44263959|       <table>
     3960|         <a>
     3961|           "foo"
     3962|         " "
    44273963|         <tbody>
    4428 |           " "
    44293964|           <tr>
    44303965|             <td>
     
    44463981|               "bar"
    44473982|             " "
    4448 
    4449 Test 13 of 14 in resources/tests15.dat failed. Input:
    4450 <frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>
    4451 Got:
    4452 | <html>
    4453 |   <head>
    4454 |   <body>
    4455 |     style="display:none"
    4456 |   <frameset>
    4457 |     <frame>
    4458 |     <frameset>
    4459 |       <frame>
    4460 Expected:
    4461 | <html>
    4462 |   <head>
    4463 |   <frameset>
    4464 |     <frame>
    4465 |     <frameset>
    4466 |       <frame>
    4467 |     <noframes>
    4468 |       "</frameset><noframes>"
    4469 resources/tests16.dat:
    4470 84
    4471 85
    4472 86
    4473 87
    4474 88
    4475 94
    4476 176
    4477 177
    4478 178
    4479 179
    4480 180
    4481 186
    4482 
    4483 Test 84 of 189 in resources/tests16.dat failed. Input:
    4484 <!doctype html><noscript><!--<noscript></noscript>--></noscript>
    4485 Got:
    4486 | <!DOCTYPE html>
    4487 | <html>
    4488 |   <head>
    4489 |   <body>
    4490 |     <noscript>
    4491 |     "-->"
    4492 Expected:
    4493 | <!DOCTYPE html>
    4494 | <html>
    4495 |   <head>
    4496 |     <noscript>
    4497 |       "<!--<noscript>"
    4498 |   <body>
    4499 |     "-->"
    4500 
    4501 Test 85 of 189 in resources/tests16.dat failed. Input:
    4502 <!doctype html><noscript><!--</noscript>X<noscript>--></noscript>
    4503 Got:
    4504 | <!DOCTYPE html>
    4505 | <html>
    4506 |   <head>
    4507 |   <body>
    4508 |     <noscript>
    4509 |     "X"
    4510 |     <noscript>
    4511 Expected:
    4512 | <!DOCTYPE html>
    4513 | <html>
    4514 |   <head>
    4515 |     <noscript>
    4516 |       "<!--"
    4517 |   <body>
    4518 |     "X"
    4519 |     <noscript>
    4520 |       "-->"
    4521 
    4522 Test 86 of 189 in resources/tests16.dat failed. Input:
    4523 <!doctype html><noscript><iframe></noscript>X
    4524 Got:
    4525 | <!DOCTYPE html>
    4526 | <html>
    4527 |   <head>
    4528 |   <body>
    4529 |     <noscript>
    4530 |     "X"
    4531 Expected:
    4532 | <!DOCTYPE html>
    4533 | <html>
    4534 |   <head>
    4535 |     <noscript>
    4536 |       "<iframe>"
    4537 |   <body>
    4538 |     "X"
    4539 
    4540 Test 87 of 189 in resources/tests16.dat failed. Input:
    4541 <!doctype html><noframes><!--<noframes></noframes>--></noframes>
    4542 Got:
    4543 | <!DOCTYPE html>
    4544 | <html>
    4545 |   <noframes>
    4546 |   <head>
    4547 |   <body>
    4548 |     "-->"
    4549 Expected:
    4550 | <!DOCTYPE html>
    4551 | <html>
    4552 |   <head>
    4553 |     <noframes>
    4554 |       "<!--<noframes>"
    4555 |   <body>
    4556 |     "-->"
    4557 
    4558 Test 88 of 189 in resources/tests16.dat failed. Input:
    4559 <!doctype html><noframes><body><script><!--...</script></body></noframes></html>
    4560 Got:
    4561 | <!DOCTYPE html>
    4562 | <html>
    4563 |   <noframes>
    4564 |   <head>
    4565 |   <body>
    4566 Expected:
    4567 | <!DOCTYPE html>
    4568 | <html>
    4569 |   <head>
    4570 |     <noframes>
    4571 |       "<body><script><!--...</script></body>"
    4572 |   <body>
    4573 
    4574 Test 94 of 189 in resources/tests16.dat failed. Input:
    4575 <!doctype html><noembed><!--<noembed></noembed>--></noembed>
    4576 Got:
    4577 | <!DOCTYPE html>
    4578 | <html>
    4579 |   <head>
    4580 |   <body>
    4581 |     <noembed>
    4582 |     "-->"
    4583 Expected:
    4584 | <!DOCTYPE html>
    4585 | <html>
    4586 |   <head>
    4587 |   <body>
    4588 |     <noembed>
    4589 |       "<!--<noembed>"
    4590 |     "-->"
    4591 
    4592 Test 176 of 189 in resources/tests16.dat failed. Input:
    4593 <noscript><!--<noscript></noscript>--></noscript>
    4594 Got:
    4595 | <html>
    4596 |   <head>
    4597 |   <body>
    4598 |     <noscript>
    4599 |     "-->"
    4600 Expected:
    4601 | <html>
    4602 |   <head>
    4603 |     <noscript>
    4604 |       "<!--<noscript>"
    4605 |   <body>
    4606 |     "-->"
    4607 
    4608 Test 177 of 189 in resources/tests16.dat failed. Input:
    4609 <noscript><!--</noscript>X<noscript>--></noscript>
    4610 Got:
    4611 | <html>
    4612 |   <head>
    4613 |   <body>
    4614 |     <noscript>
    4615 |     "X"
    4616 |     <noscript>
    4617 Expected:
    4618 | <html>
    4619 |   <head>
    4620 |     <noscript>
    4621 |       "<!--"
    4622 |   <body>
    4623 |     "X"
    4624 |     <noscript>
    4625 |       "-->"
    4626 
    4627 Test 178 of 189 in resources/tests16.dat failed. Input:
    4628 <noscript><iframe></noscript>X
    4629 Got:
    4630 | <html>
    4631 |   <head>
    4632 |   <body>
    4633 |     <noscript>
    4634 |     "X"
    4635 Expected:
    4636 | <html>
    4637 |   <head>
    4638 |     <noscript>
    4639 |       "<iframe>"
    4640 |   <body>
    4641 |     "X"
    4642 
    4643 Test 179 of 189 in resources/tests16.dat failed. Input:
    4644 <noframes><!--<noframes></noframes>--></noframes>
    4645 Got:
    4646 | <html>
    4647 |   <noframes>
    4648 |   <head>
    4649 |   <body>
    4650 |     "-->"
    4651 Expected:
    4652 | <html>
    4653 |   <head>
    4654 |     <noframes>
    4655 |       "<!--<noframes>"
    4656 |   <body>
    4657 |     "-->"
    4658 
    4659 Test 180 of 189 in resources/tests16.dat failed. Input:
    4660 <noframes><body><script><!--...</script></body></noframes></html>
    4661 Got:
    4662 | <html>
    4663 |   <noframes>
    4664 |   <head>
    4665 |   <body>
    4666 Expected:
    4667 | <html>
    4668 |   <head>
    4669 |     <noframes>
    4670 |       "<body><script><!--...</script></body>"
    4671 |   <body>
    4672 
    4673 Test 186 of 189 in resources/tests16.dat failed. Input:
    4674 <noembed><!--<noembed></noembed>--></noembed>
    4675 Got:
    4676 | <html>
    4677 |   <head>
    4678 |   <body>
    4679 |     <noembed>
    4680 |     "-->"
    4681 Expected:
    4682 | <html>
    4683 |   <head>
    4684 |   <body>
    4685 |     <noembed>
    4686 |       "<!--<noembed>"
    4687 |     "-->"
    4688 resources/webkit01.dat:
    4689 15
    4690 17
    4691 20
    4692 22
    4693 24
    4694 26
    4695 27
    4696 28
    4697 29
    4698 30
    4699 31
    4700 
    4701 Test 15 of 31 in resources/webkit01.dat failed. Input:
    4702 <p>Test</p<p>Test2</p>
    4703 Got:
    4704 | <html>
    4705 |   <head>
    4706 |   <body>
    4707 |     <p>
    4708 |       "Test"
    4709 |       "Test2"
    4710 Expected:
    4711 | <html>
    4712 |   <head>
    4713 |   <body>
    4714 |     <p>
    4715 |       "TestTest2"
    4716 
    4717 Test 17 of 31 in resources/webkit01.dat failed. Input:
    4718 <A>test< /A>
    4719 Got:
    4720 | <html>
    4721 |   <head>
    4722 |   <body>
    4723 |     <a>
    4724 |       "test"
    4725 |       "< /A>"
    4726 Expected:
    4727 | <html>
    4728 |   <head>
    4729 |   <body>
    4730 |     <a>
    4731 |       "test< /A>"
    4732 
    4733 Test 20 of 31 in resources/webkit01.dat failed. Input:
    4734 <body></br foo="bar"></body>
    4735 Got:
    4736 | <html>
    4737 |   <head>
    4738 |   <body>
    4739 |     <br>
    4740 |       foo="bar"
    4741 Expected:
    4742 | <html>
    4743 |   <head>
    4744 |   <body>
    4745 |     <br>
    4746 
    4747 Test 22 of 31 in resources/webkit01.dat failed. Input:
    4748 <body></body></br foo="bar">
    4749 Got:
    4750 | <html>
    4751 |   <head>
    4752 |   <body>
    4753 |     <br>
    4754 |       foo="bar"
    4755 Expected:
    4756 | <html>
    4757 |   <head>
    4758 |   <body>
    4759 |     <br>
    4760 
    4761 Test 24 of 31 in resources/webkit01.dat failed. Input:
    4762 <html><body></body></html><!-- Hi there -->
    4763 Got:
    4764 | <html>
    4765 |   <head>
    4766 |   <body>
    4767 |     <!--  Hi there  -->
    4768 Expected:
    4769 | <html>
    4770 |   <head>
    4771 |   <body>
    4772 | <!--  Hi there  -->
    4773 
    4774 Test 26 of 31 in resources/webkit01.dat failed. Input:
    4775 <html><body></body></html>x<!-- Hi there --></html><!-- Again -->
    4776 Got:
    4777 | <html>
    4778 |   <head>
    4779 |   <body>
    4780 |     "x"
    4781 |     <!--  Hi there  -->
    4782 |     <!--  Again  -->
    4783 Expected:
    4784 | <html>
    4785 |   <head>
    4786 |   <body>
    4787 |     "x"
    4788 |     <!--  Hi there  -->
    4789 | <!--  Again  -->
    4790 
    4791 Test 27 of 31 in resources/webkit01.dat failed. Input:
    4792 <html><body></body></html>x<!-- Hi there --></body></html><!-- Again -->
    4793 Got:
    4794 | <html>
    4795 |   <head>
    4796 |   <body>
    4797 |     "x"
    4798 |     <!--  Hi there  -->
    4799 |     <!--  Again  -->
    4800 Expected:
    4801 | <html>
    4802 |   <head>
    4803 |   <body>
    4804 |     "x"
    4805 |     <!--  Hi there  -->
    4806 | <!--  Again  -->
    4807 
    4808 Test 28 of 31 in resources/webkit01.dat failed. Input:
    4809 <html><body><ruby><div><rp>xx</rp></div></ruby></body></html>
    4810 Got:
    4811 | <html>
    4812 |   <head>
    4813 |   <body>
    4814 |     <ruby>
    4815 |       <div>
    4816 |         <rp>
    4817 |           "xx"
    4818 Expected:
    4819 | <html>
    4820 |   <head>
    4821 |   <body>
    4822 |     <ruby>
    4823 |       <div>
    4824 |       <rp>
    4825 |         "xx"
    4826 
    4827 Test 29 of 31 in resources/webkit01.dat failed. Input:
    4828 <html><body><ruby><div><rt>xx</rt></div></ruby></body></html>
    4829 Got:
    4830 | <html>
    4831 |   <head>
    4832 |   <body>
    4833 |     <ruby>
    4834 |       <div>
    4835 |         <rt>
    4836 |           "xx"
    4837 Expected:
    4838 | <html>
    4839 |   <head>
    4840 |   <body>
    4841 |     <ruby>
    4842 |       <div>
    4843 |       <rt>
    4844 |         "xx"
    4845 
    4846 Test 30 of 31 in resources/webkit01.dat failed. Input:
    4847 <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
    4848 Got:
    4849 | <html>
    4850 |   <frameset>
    4851 |     <!-- 1 -->
    4852 |     <!-- 2 -->
    4853 |   <!-- 3 -->
    4854 |   <noframes>
    4855 |   <!-- 4 -->
    4856 |   <!-- 5 -->
    4857 |   <noframes>
    4858 |   <!-- 6 -->
    4859 Expected:
    4860 | <html>
    4861 |   <head>
    4862 |   <frameset>
    4863 |     <!-- 1 -->
    4864 |     <noframes>
    4865 |       "A"
    4866 |     <!-- 2 -->
    4867 |   <!-- 3 -->
    4868 |   <noframes>
    4869 |     "B"
    4870 |   <!-- 4 -->
    4871 |   <noframes>
    4872 |     "C"
    4873 | <!-- 5 -->
    4874 | <!-- 6 -->
    4875 
    4876 Test 31 of 31 in resources/webkit01.dat failed. Input:
    4877 <select><option>A<select><option>B<select><option>C<select><option>D<select><option>E<select><option>F<select><option>G<select>
    4878 Got:
    4879 | <html>
    4880 |   <head>
    4881 |   <body>
    4882 |     <select>
    4883 |       <option>
    4884 |         "A"
    4885 |     "B"
    4886 |     <select>
    4887 |       <option>
    4888 |         "C"
    4889 |     "D"
    4890 |     <select>
    4891 |       <option>
    4892 |         "E"
    4893 |     "F"
    4894 |     <select>
    4895 |       <option>
    4896 |         "G"
    4897 Expected:
    4898 | <html>
    4899 |   <head>
    4900 |   <body>
    4901 |     <select>
    4902 |       <option>
    4903 |         "A"
    4904 |     <option>
    4905 |       "B"
    4906 |       <select>
    4907 |         <option>
    4908 |           "C"
    4909 |     <option>
    4910 |       "D"
    4911 |       <select>
    4912 |         <option>
    4913 |           "E"
    4914 |     <option>
    4915 |       "F"
    4916 |       <select>
    4917 |         <option>
    4918 |           "G"
     3983resources/tests16.dat: PASS
     3984
     3985resources/webkit01.dat: PASS
     3986
    49193987resources/doctype01.dat: PASS
    49203988
     
    49554023
    49564024resources/adoption01.dat:
    4957 1
     40253
     40264
     40275
    495840286
    4959 7
    4960 8
    4961 9
    4962 
    4963 Test 1 of 9 in resources/adoption01.dat failed. Input:
    4964 <a><p></a></p>
     4029
     4030Test 3 of 9 in resources/adoption01.dat failed. Input:
     4031<a>1<button>2</a>3</button>
    49654032Got:
    49664033| <html>
     
    49684035|   <body>
    49694036|     <a>
    4970 |     <p>
     4037|       "1"
     4038|       <button>
     4039|         "23"
    49714040Expected:
    49724041| <html>
     
    49744043|   <body>
    49754044|     <a>
     4045|       "1"
     4046|       <button>
     4047|         "2"
     4048|     "3"
     4049
     4050Test 4 of 9 in resources/adoption01.dat failed. Input:
     4051<a>1<b>2</a>3</b>
     4052Got:
     4053| <html>
     4054|   <head>
     4055|   <body>
     4056|     <a>
     4057|       "1"
     4058|       <b>
     4059|         "2"
     4060|     "3"
     4061Expected:
     4062| <html>
     4063|   <head>
     4064|   <body>
     4065|     <a>
     4066|       "1"
     4067|       <b>
     4068|         "2"
     4069|     <b>
     4070|       "3"
     4071
     4072Test 5 of 9 in resources/adoption01.dat failed. Input:
     4073<a>1<div>2<div>3</a>4</div>5</div>
     4074Got:
     4075| <html>
     4076|   <head>
     4077|   <body>
     4078|     <a>
     4079|       "1"
     4080|     <div>
     4081|       <a>
     4082|         "2"
     4083|       <div>
     4084|         <a>
     4085|           "3"
     4086|         "4"
     4087|     "5"
     4088Expected:
     4089| <html>
     4090|   <head>
     4091|   <body>
     4092|     <a>
     4093|       "1"
     4094|     <div>
     4095|       <a>
     4096|         "2"
     4097|       <div>
     4098|         <a>
     4099|           "3"
     4100|         "4"
     4101|       "5"
     4102
     4103Test 6 of 9 in resources/adoption01.dat failed. Input:
     4104<table><a>1<p>2</a>3</p>
     4105Got:
     4106| <html>
     4107|   <head>
     4108|   <body>
    49764109|     <p>
    49774110|       <a>
    4978 
    4979 Test 6 of 9 in resources/adoption01.dat failed. Input:
    4980 <table><a>1<p>2</a>3</p>
    4981 Got:
    4982 | <html>
    4983 |   <head>
    4984 |   <body>
    4985 |     <a>
    4986 |       "1"
    4987 |       <p>
    49884111|         "2"
    4989 |         "3"
    4990 |     <table>
    4991 |       <tbody>
     4112|       "3"
     4113|     <table>
     4114|       <a>
     4115|         "1"
    49924116Expected:
    49934117| <html>
     
    50014125|       "3"
    50024126|     <table>
    5003 
    5004 Test 7 of 9 in resources/adoption01.dat failed. Input:
    5005 <b><b><a><p></a>
    5006 Got:
    5007 | <html>
    5008 |   <head>
    5009 |   <body>
    5010 |     <b>
    5011 |       <b>
    5012 |         <a>
    5013 |         <p>
    5014 Expected:
    5015 | <html>
    5016 |   <head>
    5017 |   <body>
    5018 |     <b>
    5019 |       <b>
    5020 |         <a>
    5021 |         <p>
    5022 |           <a>
    5023 
    5024 Test 8 of 9 in resources/adoption01.dat failed. Input:
    5025 <b><a><b><p></a>
    5026 Got:
    5027 | <html>
    5028 |   <head>
    5029 |   <body>
    5030 |     <b>
    5031 |       <a>
    5032 |         <b>
    5033 |       <b>
    5034 |         <p>
    5035 Expected:
    5036 | <html>
    5037 |   <head>
    5038 |   <body>
    5039 |     <b>
    5040 |       <a>
    5041 |         <b>
    5042 |       <b>
    5043 |         <p>
    5044 |           <a>
    5045 
    5046 Test 9 of 9 in resources/adoption01.dat failed. Input:
    5047 <a><b><b><p></a>
    5048 Got:
    5049 | <html>
    5050 |   <head>
    5051 |   <body>
    5052 |     <a>
    5053 |       <b>
    5054 |         <b>
    5055 |     <b>
    5056 |       <b>
    5057 |         <p>
    5058 Expected:
    5059 | <html>
    5060 |   <head>
    5061 |   <body>
    5062 |     <a>
    5063 |       <b>
    5064 |         <b>
    5065 |     <b>
    5066 |       <b>
    5067 |         <p>
    5068 |           <a>
    50694127resources/inbody01.dat: PASS
    50704128
    5071 resources/isindex.dat:
    5072 1
    5073 2
    5074 3
    5075 
    5076 Test 1 of 3 in resources/isindex.dat failed. Input:
    5077 <isindex>
    5078 Got:
    5079 | <html>
    5080 |   <head>
    5081 |   <body>
    5082 Expected:
    5083 | <html>
    5084 |   <head>
    5085 |   <body>
    5086 |     <form>
    5087 |       <hr>
    5088 |       <label>
    5089 |         "This is a searchable index. Enter search keywords: "
    5090 |         <input>
    5091 |           name="isindex"
    5092 |       <hr>
    5093 
    5094 Test 2 of 3 in resources/isindex.dat failed. Input:
    5095 <isindex name="A" action="B" prompt="C" foo="D">
    5096 Got:
    5097 | <html>
    5098 |   <head>
    5099 |   <body>
    5100 Expected:
    5101 | <html>
    5102 |   <head>
    5103 |   <body>
    5104 |     <form>
    5105 |       action="B"
    5106 |       <hr>
    5107 |       <label>
    5108 |         "C"
    5109 |         <input>
    5110 |           foo="D"
    5111 |           name="isindex"
    5112 |       <hr>
    5113 
    5114 Test 3 of 3 in resources/isindex.dat failed. Input:
    5115 <form><isindex>
    5116 Got:
    5117 | <html>
    5118 |   <head>
    5119 |   <body>
    5120 |     <form>
    5121 |       <div>
    5122 |         <hr>
    5123 |         "This is a searchable index. Enter search keywords: "
    5124 |         <isindex>
    5125 |           type="khtml_isindex"
    5126 |         <hr>
    5127 Expected:
    5128 | <html>
    5129 |   <head>
    5130 |   <body>
    5131 |     <form>
     4129resources/isindex.dat: PASS
     4130
    51324131resources/tables01.dat:
    5133 3
     41324
    513441337
    513541348
    513641359
    5137 
    5138 Test 3 of 14 in resources/tables01.dat failed. Input:
    5139 <table><col foo='bar'>
    5140 Got:
    5141 | <html>
    5142 |   <head>
    5143 |   <body>
    5144 |     <table>
    5145 |       <col>
    5146 |         foo="bar"
    5147 Expected:
     413610
     4137
     4138Test 4 of 14 in resources/tables01.dat failed. Input:
     4139<table><colgroup></html>foo
     4140Got:
    51484141| <html>
    51494142|   <head>
     
    51514144|     <table>
    51524145|       <colgroup>
    5153 |         <col>
    5154 |           foo="bar"
     4146|       "foo"
     4147Expected:
     4148| <html>
     4149|   <head>
     4150|   <body>
     4151|     "foo"
     4152|     <table>
     4153|       <colgroup>
    51554154
    51564155Test 7 of 14 in resources/tables01.dat failed. Input:
    51574156<table><select><option>3</select></table>
    51584157Got:
     4158| <html>
     4159|   <head>
     4160|   <body>
     4161|     <table>
     4162|       <select>
     4163|         <option>
     4164|           "3"
     4165Expected:
    51594166| <html>
    51604167|   <head>
     
    51644171|         "3"
    51654172|     <table>
    5166 |       <tbody>
     4173
     4174Test 8 of 14 in resources/tables01.dat failed. Input:
     4175<table><select><table></table></select></table>
     4176Got:
     4177| <html>
     4178|   <head>
     4179|   <body>
     4180|     <table>
     4181|       <select>
     4182Expected:
     4183| <html>
     4184|   <head>
     4185|   <body>
     4186|     <select>
     4187|     <table>
     4188|     <table>
     4189
     4190Test 9 of 14 in resources/tables01.dat failed. Input:
     4191<table><select></table>
     4192Got:
     4193| <html>
     4194|   <head>
     4195|   <body>
     4196|     <table>
     4197|       <select>
     4198Expected:
     4199| <html>
     4200|   <head>
     4201|   <body>
     4202|     <select>
     4203|     <table>
     4204
     4205Test 10 of 14 in resources/tables01.dat failed. Input:
     4206<table><select><option>A<tr><td>B</td></tr></table>
     4207Got:
     4208| <html>
     4209|   <head>
     4210|   <body>
     4211|     <table>
     4212|       <select>
     4213|         <option>
     4214|           "A"
     4215|       <tbody>
     4216|         <tr>
     4217|           <td>
     4218|             "B"
    51674219Expected:
    51684220| <html>
     
    51714223|     <select>
    51724224|       <option>
    5173 |         "3"
    5174 |     <table>
    5175 
    5176 Test 8 of 14 in resources/tables01.dat failed. Input:
    5177 <table><select><table></table></select></table>
    5178 Got:
    5179 | <html>
    5180 |   <head>
    5181 |   <body>
    5182 |     <select>
    5183 |     <table>
    5184 |       <tbody>
    5185 |     <table>
    5186 Expected:
    5187 | <html>
    5188 |   <head>
    5189 |   <body>
    5190 |     <select>
    5191 |     <table>
    5192 |     <table>
    5193 
    5194 Test 9 of 14 in resources/tables01.dat failed. Input:
    5195 <table><select></table>
    5196 Got:
    5197 | <html>
    5198 |   <head>
    5199 |   <body>
    5200 |     <select>
    5201 |     <table>
    5202 |       <tbody>
    5203 Expected:
    5204 | <html>
    5205 |   <head>
    5206 |   <body>
    5207 |     <select>
    5208 |     <table>
     4225|         "A"
     4226|     <table>
     4227|       <tbody>
     4228|         <tr>
     4229|           <td>
     4230|             "B"
     4231#EOF
Note: See TracChangeset for help on using the changeset viewer.