...

Text file src/golang.org/x/net/html/testdata/webkit/tests19.dat

Documentation: golang.org/x/net/html/testdata/webkit

     1#data
     2<!doctype html><math><mn DefinitionUrl="foo">
     3#errors
     4(1,45): expected-closing-tag-but-got-eof
     5#document
     6| <!DOCTYPE html>
     7| <html>
     8|   <head>
     9|   <body>
    10|     <math math>
    11|       <math mn>
    12|         definitionURL="foo"
    13
    14#data
    15<!doctype html><html></p><!--foo-->
    16#errors
    17(1,25): end-tag-after-implied-root
    18#document
    19| <!DOCTYPE html>
    20| <html>
    21|   <!-- foo -->
    22|   <head>
    23|   <body>
    24
    25#data
    26<!doctype html><head></head></p><!--foo-->
    27#errors
    28(1,32): unexpected-end-tag
    29#document
    30| <!DOCTYPE html>
    31| <html>
    32|   <head>
    33|   <!-- foo -->
    34|   <body>
    35
    36#data
    37<!doctype html><body><p><pre>
    38#errors
    39(1,29): expected-closing-tag-but-got-eof
    40#document
    41| <!DOCTYPE html>
    42| <html>
    43|   <head>
    44|   <body>
    45|     <p>
    46|     <pre>
    47
    48#data
    49<!doctype html><body><p><listing>
    50#errors
    51(1,33): expected-closing-tag-but-got-eof
    52#document
    53| <!DOCTYPE html>
    54| <html>
    55|   <head>
    56|   <body>
    57|     <p>
    58|     <listing>
    59
    60#data
    61<!doctype html><p><plaintext>
    62#errors
    63(1,29): expected-closing-tag-but-got-eof
    64#document
    65| <!DOCTYPE html>
    66| <html>
    67|   <head>
    68|   <body>
    69|     <p>
    70|     <plaintext>
    71
    72#data
    73<!doctype html><p><h1>
    74#errors
    75(1,22): expected-closing-tag-but-got-eof
    76#document
    77| <!DOCTYPE html>
    78| <html>
    79|   <head>
    80|   <body>
    81|     <p>
    82|     <h1>
    83
    84#data
    85<!doctype html><isindex type="hidden">
    86#errors
    87(1,38): expected-closing-tag-but-got-eof
    88#document
    89| <!DOCTYPE html>
    90| <html>
    91|   <head>
    92|   <body>
    93|     <isindex>
    94|       type="hidden"
    95
    96#data
    97<!doctype html><ruby><p><rp>
    98#errors
    99(1,28): expected-closing-tag-but-got-eof
   100#document
   101| <!DOCTYPE html>
   102| <html>
   103|   <head>
   104|   <body>
   105|     <ruby>
   106|       <p>
   107|       <rp>
   108
   109#data
   110<!doctype html><ruby><div><span><rp>
   111#errors
   112(1,36): XXX-undefined-error
   113(1,36): expected-closing-tag-but-got-eof
   114#document
   115| <!DOCTYPE html>
   116| <html>
   117|   <head>
   118|   <body>
   119|     <ruby>
   120|       <div>
   121|         <span>
   122|           <rp>
   123
   124#data
   125<!doctype html><ruby><div><p><rp>
   126#errors
   127(1,33): XXX-undefined-error
   128(1,33): expected-closing-tag-but-got-eof
   129#document
   130| <!DOCTYPE html>
   131| <html>
   132|   <head>
   133|   <body>
   134|     <ruby>
   135|       <div>
   136|         <p>
   137|         <rp>
   138
   139#data
   140<!doctype html><ruby><p><rt>
   141#errors
   142(1,28): expected-closing-tag-but-got-eof
   143#document
   144| <!DOCTYPE html>
   145| <html>
   146|   <head>
   147|   <body>
   148|     <ruby>
   149|       <p>
   150|       <rt>
   151
   152#data
   153<!doctype html><ruby><div><span><rt>
   154#errors
   155(1,36): XXX-undefined-error
   156(1,36): expected-closing-tag-but-got-eof
   157#document
   158| <!DOCTYPE html>
   159| <html>
   160|   <head>
   161|   <body>
   162|     <ruby>
   163|       <div>
   164|         <span>
   165|           <rt>
   166
   167#data
   168<!doctype html><ruby><div><p><rt>
   169#errors
   170(1,33): XXX-undefined-error
   171(1,33): expected-closing-tag-but-got-eof
   172#document
   173| <!DOCTYPE html>
   174| <html>
   175|   <head>
   176|   <body>
   177|     <ruby>
   178|       <div>
   179|         <p>
   180|         <rt>
   181
   182#data
   183<html><ruby>a<rb>b<rt></ruby></html>
   184#errors
   185(1,6): expected-doctype-but-got-start-tag
   186#document
   187| <html>
   188|   <head>
   189|   <body>
   190|     <ruby>
   191|       "a"
   192|       <rb>
   193|         "b"
   194|       <rt>
   195
   196#data
   197<html><ruby>a<rp>b<rt></ruby></html>
   198#errors
   199(1,6): expected-doctype-but-got-start-tag
   200#document
   201| <html>
   202|   <head>
   203|   <body>
   204|     <ruby>
   205|       "a"
   206|       <rp>
   207|         "b"
   208|       <rt>
   209
   210#data
   211<html><ruby>a<rt>b<rt></ruby></html>
   212#errors
   213(1,6): expected-doctype-but-got-start-tag
   214#document
   215| <html>
   216|   <head>
   217|   <body>
   218|     <ruby>
   219|       "a"
   220|       <rt>
   221|         "b"
   222|       <rt>
   223
   224#data
   225<html><ruby>a<rtc>b<rt>c<rb>d</ruby></html>
   226#errors
   227(1,6): expected-doctype-but-got-start-tag
   228#document
   229| <html>
   230|   <head>
   231|   <body>
   232|     <ruby>
   233|       "a"
   234|       <rtc>
   235|         "b"
   236|         <rt>
   237|           "c"
   238|       <rb>
   239|         "d"
   240
   241#data
   242<!doctype html><math/><foo>
   243#errors
   244(1,27): expected-closing-tag-but-got-eof
   245#document
   246| <!DOCTYPE html>
   247| <html>
   248|   <head>
   249|   <body>
   250|     <math math>
   251|     <foo>
   252
   253#data
   254<!doctype html><svg/><foo>
   255#errors
   256(1,26): expected-closing-tag-but-got-eof
   257#document
   258| <!DOCTYPE html>
   259| <html>
   260|   <head>
   261|   <body>
   262|     <svg svg>
   263|     <foo>
   264
   265#data
   266<!doctype html><div></body><!--foo-->
   267#errors
   268(1,27): expected-one-end-tag-but-got-another
   269#document
   270| <!DOCTYPE html>
   271| <html>
   272|   <head>
   273|   <body>
   274|     <div>
   275|   <!-- foo -->
   276
   277#data
   278<!doctype html><h1><div><h3><span></h1>foo
   279#errors
   280(1,39): end-tag-too-early
   281(1,42): expected-closing-tag-but-got-eof
   282#document
   283| <!DOCTYPE html>
   284| <html>
   285|   <head>
   286|   <body>
   287|     <h1>
   288|       <div>
   289|         <h3>
   290|           <span>
   291|         "foo"
   292
   293#data
   294<!doctype html><p></h3>foo
   295#errors
   296(1,23): end-tag-too-early
   297#document
   298| <!DOCTYPE html>
   299| <html>
   300|   <head>
   301|   <body>
   302|     <p>
   303|       "foo"
   304
   305#data
   306<!doctype html><h3><li>abc</h2>foo
   307#errors
   308(1,31): end-tag-too-early
   309#document
   310| <!DOCTYPE html>
   311| <html>
   312|   <head>
   313|   <body>
   314|     <h3>
   315|       <li>
   316|         "abc"
   317|     "foo"
   318
   319#data
   320<!doctype html><table>abc<!--foo-->
   321#errors
   322(1,23): foster-parenting-character
   323(1,24): foster-parenting-character
   324(1,25): foster-parenting-character
   325(1,35): eof-in-table
   326#document
   327| <!DOCTYPE html>
   328| <html>
   329|   <head>
   330|   <body>
   331|     "abc"
   332|     <table>
   333|       <!-- foo -->
   334
   335#data
   336<!doctype html><table>  <!--foo-->
   337#errors
   338(1,34): eof-in-table
   339#document
   340| <!DOCTYPE html>
   341| <html>
   342|   <head>
   343|   <body>
   344|     <table>
   345|       "  "
   346|       <!-- foo -->
   347
   348#data
   349<!doctype html><table> b <!--foo-->
   350#errors
   351(1,23): foster-parenting-character
   352(1,24): foster-parenting-character
   353(1,25): foster-parenting-character
   354(1,35): eof-in-table
   355#document
   356| <!DOCTYPE html>
   357| <html>
   358|   <head>
   359|   <body>
   360|     " b "
   361|     <table>
   362|       <!-- foo -->
   363
   364#data
   365<!doctype html><select><option><option>
   366#errors
   367(1,39): eof-in-select
   368#document
   369| <!DOCTYPE html>
   370| <html>
   371|   <head>
   372|   <body>
   373|     <select>
   374|       <option>
   375|       <option>
   376
   377#data
   378<!doctype html><select><option></optgroup>
   379#errors
   380(1,42): unexpected-end-tag-in-select
   381(1,42): eof-in-select
   382#document
   383| <!DOCTYPE html>
   384| <html>
   385|   <head>
   386|   <body>
   387|     <select>
   388|       <option>
   389
   390#data
   391<!doctype html><select><option></optgroup>
   392#errors
   393(1,42): unexpected-end-tag-in-select
   394(1,42): eof-in-select
   395#document
   396| <!DOCTYPE html>
   397| <html>
   398|   <head>
   399|   <body>
   400|     <select>
   401|       <option>
   402
   403#data
   404<!doctype html><dd><optgroup><dd>
   405#errors
   406#document
   407| <!DOCTYPE html>
   408| <html>
   409|   <head>
   410|   <body>
   411|     <dd>
   412|       <optgroup>
   413|     <dd>
   414
   415#data
   416<!doctype html><p><math><mi><p><h1>
   417#errors
   418(1,35): expected-closing-tag-but-got-eof
   419#document
   420| <!DOCTYPE html>
   421| <html>
   422|   <head>
   423|   <body>
   424|     <p>
   425|       <math math>
   426|         <math mi>
   427|           <p>
   428|           <h1>
   429
   430#data
   431<!doctype html><p><math><mo><p><h1>
   432#errors
   433(1,35): expected-closing-tag-but-got-eof
   434#document
   435| <!DOCTYPE html>
   436| <html>
   437|   <head>
   438|   <body>
   439|     <p>
   440|       <math math>
   441|         <math mo>
   442|           <p>
   443|           <h1>
   444
   445#data
   446<!doctype html><p><math><mn><p><h1>
   447#errors
   448(1,35): expected-closing-tag-but-got-eof
   449#document
   450| <!DOCTYPE html>
   451| <html>
   452|   <head>
   453|   <body>
   454|     <p>
   455|       <math math>
   456|         <math mn>
   457|           <p>
   458|           <h1>
   459
   460#data
   461<!doctype html><p><math><ms><p><h1>
   462#errors
   463(1,35): expected-closing-tag-but-got-eof
   464#document
   465| <!DOCTYPE html>
   466| <html>
   467|   <head>
   468|   <body>
   469|     <p>
   470|       <math math>
   471|         <math ms>
   472|           <p>
   473|           <h1>
   474
   475#data
   476<!doctype html><p><math><mtext><p><h1>
   477#errors
   478(1,38): expected-closing-tag-but-got-eof
   479#document
   480| <!DOCTYPE html>
   481| <html>
   482|   <head>
   483|   <body>
   484|     <p>
   485|       <math math>
   486|         <math mtext>
   487|           <p>
   488|           <h1>
   489
   490#data
   491<!doctype html><frameset></noframes>
   492#errors
   493(1,36): unexpected-end-tag-in-frameset
   494(1,36): eof-in-frameset
   495#document
   496| <!DOCTYPE html>
   497| <html>
   498|   <head>
   499|   <frameset>
   500
   501#data
   502<!doctype html><html c=d><body></html><html a=b>
   503#errors
   504(1,48): non-html-root
   505#document
   506| <!DOCTYPE html>
   507| <html>
   508|   a="b"
   509|   c="d"
   510|   <head>
   511|   <body>
   512
   513#data
   514<!doctype html><html c=d><frameset></frameset></html><html a=b>
   515#errors
   516(1,63): non-html-root
   517#document
   518| <!DOCTYPE html>
   519| <html>
   520|   a="b"
   521|   c="d"
   522|   <head>
   523|   <frameset>
   524
   525#data
   526<!doctype html><html><frameset></frameset></html><!--foo-->
   527#errors
   528#document
   529| <!DOCTYPE html>
   530| <html>
   531|   <head>
   532|   <frameset>
   533| <!-- foo -->
   534
   535#data
   536<!doctype html><html><frameset></frameset></html>  
   537#errors
   538#document
   539| <!DOCTYPE html>
   540| <html>
   541|   <head>
   542|   <frameset>
   543|   "  "
   544
   545#data
   546<!doctype html><html><frameset></frameset></html>abc
   547#errors
   548(1,50): expected-eof-but-got-char
   549(1,51): expected-eof-but-got-char
   550(1,52): expected-eof-but-got-char
   551#document
   552| <!DOCTYPE html>
   553| <html>
   554|   <head>
   555|   <frameset>
   556
   557#data
   558<!doctype html><html><frameset></frameset></html><p>
   559#errors
   560(1,52): expected-eof-but-got-start-tag
   561#document
   562| <!DOCTYPE html>
   563| <html>
   564|   <head>
   565|   <frameset>
   566
   567#data
   568<!doctype html><html><frameset></frameset></html></p>
   569#errors
   570(1,53): expected-eof-but-got-end-tag
   571#document
   572| <!DOCTYPE html>
   573| <html>
   574|   <head>
   575|   <frameset>
   576
   577#data
   578<html><frameset></frameset></html><!doctype html>
   579#errors
   580(1,6): expected-doctype-but-got-start-tag
   581(1,49): unexpected-doctype
   582#document
   583| <html>
   584|   <head>
   585|   <frameset>
   586
   587#data
   588<!doctype html><body><frameset>
   589#errors
   590(1,31): unexpected-start-tag
   591#document
   592| <!DOCTYPE html>
   593| <html>
   594|   <head>
   595|   <body>
   596
   597#data
   598<!doctype html><p><frameset><frame>
   599#errors
   600(1,28): unexpected-start-tag
   601(1,35): eof-in-frameset
   602#document
   603| <!DOCTYPE html>
   604| <html>
   605|   <head>
   606|   <frameset>
   607|     <frame>
   608
   609#data
   610<!doctype html><p>a<frameset>
   611#errors
   612(1,29): unexpected-start-tag
   613#document
   614| <!DOCTYPE html>
   615| <html>
   616|   <head>
   617|   <body>
   618|     <p>
   619|       "a"
   620
   621#data
   622<!doctype html><p> <frameset><frame>
   623#errors
   624(1,29): unexpected-start-tag
   625(1,36): eof-in-frameset
   626#document
   627| <!DOCTYPE html>
   628| <html>
   629|   <head>
   630|   <frameset>
   631|     <frame>
   632
   633#data
   634<!doctype html><pre><frameset>
   635#errors
   636(1,30): unexpected-start-tag
   637(1,30): expected-closing-tag-but-got-eof
   638#document
   639| <!DOCTYPE html>
   640| <html>
   641|   <head>
   642|   <body>
   643|     <pre>
   644
   645#data
   646<!doctype html><listing><frameset>
   647#errors
   648(1,34): unexpected-start-tag
   649(1,34): expected-closing-tag-but-got-eof
   650#document
   651| <!DOCTYPE html>
   652| <html>
   653|   <head>
   654|   <body>
   655|     <listing>
   656
   657#data
   658<!doctype html><li><frameset>
   659#errors
   660(1,29): unexpected-start-tag
   661#document
   662| <!DOCTYPE html>
   663| <html>
   664|   <head>
   665|   <body>
   666|     <li>
   667
   668#data
   669<!doctype html><dd><frameset>
   670#errors
   671(1,29): unexpected-start-tag
   672#document
   673| <!DOCTYPE html>
   674| <html>
   675|   <head>
   676|   <body>
   677|     <dd>
   678
   679#data
   680<!doctype html><dt><frameset>
   681#errors
   682(1,29): unexpected-start-tag
   683#document
   684| <!DOCTYPE html>
   685| <html>
   686|   <head>
   687|   <body>
   688|     <dt>
   689
   690#data
   691<!doctype html><button><frameset>
   692#errors
   693(1,33): unexpected-start-tag
   694(1,33): expected-closing-tag-but-got-eof
   695#document
   696| <!DOCTYPE html>
   697| <html>
   698|   <head>
   699|   <body>
   700|     <button>
   701
   702#data
   703<!doctype html><applet><frameset>
   704#errors
   705(1,33): unexpected-start-tag
   706(1,33): expected-closing-tag-but-got-eof
   707#document
   708| <!DOCTYPE html>
   709| <html>
   710|   <head>
   711|   <body>
   712|     <applet>
   713
   714#data
   715<!doctype html><marquee><frameset>
   716#errors
   717(1,34): unexpected-start-tag
   718(1,34): expected-closing-tag-but-got-eof
   719#document
   720| <!DOCTYPE html>
   721| <html>
   722|   <head>
   723|   <body>
   724|     <marquee>
   725
   726#data
   727<!doctype html><object><frameset>
   728#errors
   729(1,33): unexpected-start-tag
   730(1,33): expected-closing-tag-but-got-eof
   731#document
   732| <!DOCTYPE html>
   733| <html>
   734|   <head>
   735|   <body>
   736|     <object>
   737
   738#data
   739<!doctype html><table><frameset>
   740#errors
   741(1,32): unexpected-start-tag-implies-table-voodoo
   742(1,32): unexpected-start-tag
   743(1,32): eof-in-table
   744#document
   745| <!DOCTYPE html>
   746| <html>
   747|   <head>
   748|   <body>
   749|     <table>
   750
   751#data
   752<!doctype html><area><frameset>
   753#errors
   754(1,31): unexpected-start-tag
   755#document
   756| <!DOCTYPE html>
   757| <html>
   758|   <head>
   759|   <body>
   760|     <area>
   761
   762#data
   763<!doctype html><basefont><frameset>
   764#errors
   765(1,35): eof-in-frameset
   766#document
   767| <!DOCTYPE html>
   768| <html>
   769|   <head>
   770|     <basefont>
   771|   <frameset>
   772
   773#data
   774<!doctype html><bgsound><frameset>
   775#errors
   776(1,34): eof-in-frameset
   777#document
   778| <!DOCTYPE html>
   779| <html>
   780|   <head>
   781|     <bgsound>
   782|   <frameset>
   783
   784#data
   785<!doctype html><br><frameset>
   786#errors
   787(1,29): unexpected-start-tag
   788#document
   789| <!DOCTYPE html>
   790| <html>
   791|   <head>
   792|   <body>
   793|     <br>
   794
   795#data
   796<!doctype html><embed><frameset>
   797#errors
   798(1,32): unexpected-start-tag
   799#document
   800| <!DOCTYPE html>
   801| <html>
   802|   <head>
   803|   <body>
   804|     <embed>
   805
   806#data
   807<!doctype html><img><frameset>
   808#errors
   809(1,30): unexpected-start-tag
   810#document
   811| <!DOCTYPE html>
   812| <html>
   813|   <head>
   814|   <body>
   815|     <img>
   816
   817#data
   818<!doctype html><input><frameset>
   819#errors
   820(1,32): unexpected-start-tag
   821#document
   822| <!DOCTYPE html>
   823| <html>
   824|   <head>
   825|   <body>
   826|     <input>
   827
   828#data
   829<!doctype html><keygen><frameset>
   830#errors
   831(1,33): unexpected-start-tag
   832#document
   833| <!DOCTYPE html>
   834| <html>
   835|   <head>
   836|   <body>
   837|     <keygen>
   838
   839#data
   840<!doctype html><wbr><frameset>
   841#errors
   842(1,30): unexpected-start-tag
   843#document
   844| <!DOCTYPE html>
   845| <html>
   846|   <head>
   847|   <body>
   848|     <wbr>
   849
   850#data
   851<!doctype html><hr><frameset>
   852#errors
   853(1,29): unexpected-start-tag
   854#document
   855| <!DOCTYPE html>
   856| <html>
   857|   <head>
   858|   <body>
   859|     <hr>
   860
   861#data
   862<!doctype html><textarea></textarea><frameset>
   863#errors
   864(1,46): unexpected-start-tag
   865#document
   866| <!DOCTYPE html>
   867| <html>
   868|   <head>
   869|   <body>
   870|     <textarea>
   871
   872#data
   873<!doctype html><xmp></xmp><frameset>
   874#errors
   875(1,36): unexpected-start-tag
   876#document
   877| <!DOCTYPE html>
   878| <html>
   879|   <head>
   880|   <body>
   881|     <xmp>
   882
   883#data
   884<!doctype html><iframe></iframe><frameset>
   885#errors
   886(1,42): unexpected-start-tag
   887#document
   888| <!DOCTYPE html>
   889| <html>
   890|   <head>
   891|   <body>
   892|     <iframe>
   893
   894#data
   895<!doctype html><select></select><frameset>
   896#errors
   897(1,42): unexpected-start-tag
   898#document
   899| <!DOCTYPE html>
   900| <html>
   901|   <head>
   902|   <body>
   903|     <select>
   904
   905#data
   906<!doctype html><svg></svg><frameset><frame>
   907#errors
   908(1,36): unexpected-start-tag
   909(1,43): eof-in-frameset
   910#document
   911| <!DOCTYPE html>
   912| <html>
   913|   <head>
   914|   <frameset>
   915|     <frame>
   916
   917#data
   918<!doctype html><math></math><frameset><frame>
   919#errors
   920(1,38): unexpected-start-tag
   921(1,45): eof-in-frameset
   922#document
   923| <!DOCTYPE html>
   924| <html>
   925|   <head>
   926|   <frameset>
   927|     <frame>
   928
   929#data
   930<!doctype html><svg><foreignObject><div> <frameset><frame>
   931#errors
   932(1,51): unexpected-start-tag
   933(1,58): eof-in-frameset
   934#document
   935| <!DOCTYPE html>
   936| <html>
   937|   <head>
   938|   <frameset>
   939|     <frame>
   940
   941#data
   942<!doctype html><svg>a</svg><frameset><frame>
   943#errors
   944(1,37): unexpected-start-tag
   945(1,44): unexpected-start-tag-ignored
   946#document
   947| <!DOCTYPE html>
   948| <html>
   949|   <head>
   950|   <body>
   951|     <svg svg>
   952|       "a"
   953
   954#data
   955<!doctype html><svg> </svg><frameset><frame>
   956#errors
   957(1,37): unexpected-start-tag
   958(1,44): eof-in-frameset
   959#document
   960| <!DOCTYPE html>
   961| <html>
   962|   <head>
   963|   <frameset>
   964|     <frame>
   965
   966#data
   967<html>aaa<frameset></frameset>
   968#errors
   969(1,6): expected-doctype-but-got-start-tag
   970(1,19): unexpected-start-tag
   971(1,30): unexpected-end-tag
   972#document
   973| <html>
   974|   <head>
   975|   <body>
   976|     "aaa"
   977
   978#data
   979<html> a <frameset></frameset>
   980#errors
   981(1,6): expected-doctype-but-got-start-tag
   982(1,19): unexpected-start-tag
   983(1,30): unexpected-end-tag
   984#document
   985| <html>
   986|   <head>
   987|   <body>
   988|     "a "
   989
   990#data
   991<!doctype html><div><frameset>
   992#errors
   993(1,30): unexpected-start-tag
   994(1,30): eof-in-frameset
   995#document
   996| <!DOCTYPE html>
   997| <html>
   998|   <head>
   999|   <frameset>
  1000
  1001#data
  1002<!doctype html><div><body><frameset>
  1003#errors
  1004(1,26): unexpected-start-tag
  1005(1,36): unexpected-start-tag
  1006(1,36): expected-closing-tag-but-got-eof
  1007#document
  1008| <!DOCTYPE html>
  1009| <html>
  1010|   <head>
  1011|   <body>
  1012|     <div>
  1013
  1014#data
  1015<!doctype html><p><math></p>a
  1016#errors
  1017(1,28): unexpected-end-tag
  1018(1,28): unexpected-end-tag
  1019#document
  1020| <!DOCTYPE html>
  1021| <html>
  1022|   <head>
  1023|   <body>
  1024|     <p>
  1025|       <math math>
  1026|     "a"
  1027
  1028#data
  1029<!doctype html><p><math><mn><span></p>a
  1030#errors
  1031(1,38): unexpected-end-tag
  1032(1,39): expected-closing-tag-but-got-eof
  1033#document
  1034| <!DOCTYPE html>
  1035| <html>
  1036|   <head>
  1037|   <body>
  1038|     <p>
  1039|       <math math>
  1040|         <math mn>
  1041|           <span>
  1042|             <p>
  1043|             "a"
  1044
  1045#data
  1046<!doctype html><math></html>
  1047#errors
  1048(1,28): unexpected-end-tag
  1049(1,28): expected-one-end-tag-but-got-another
  1050(1,28): unexpected-end-tag
  1051#document
  1052| <!DOCTYPE html>
  1053| <html>
  1054|   <head>
  1055|   <body>
  1056|     <math math>
  1057
  1058#data
  1059<!doctype html><meta charset="ascii">
  1060#errors
  1061#document
  1062| <!DOCTYPE html>
  1063| <html>
  1064|   <head>
  1065|     <meta>
  1066|       charset="ascii"
  1067|   <body>
  1068
  1069#data
  1070<!doctype html><meta http-equiv="content-type" content="text/html;charset=ascii">
  1071#errors
  1072#document
  1073| <!DOCTYPE html>
  1074| <html>
  1075|   <head>
  1076|     <meta>
  1077|       content="text/html;charset=ascii"
  1078|       http-equiv="content-type"
  1079|   <body>
  1080
  1081#data
  1082<!doctype html><head><!--aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa--><meta charset="utf8">
  1083#errors
  1084#document
  1085| <!DOCTYPE html>
  1086| <html>
  1087|   <head>
  1088|     <!-- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -->
  1089|     <meta>
  1090|       charset="utf8"
  1091|   <body>
  1092
  1093#data
  1094<!doctype html><html a=b><head></head><html c=d>
  1095#errors
  1096(1,48): non-html-root
  1097#document
  1098| <!DOCTYPE html>
  1099| <html>
  1100|   a="b"
  1101|   c="d"
  1102|   <head>
  1103|   <body>
  1104
  1105#data
  1106<!doctype html><image/>
  1107#errors
  1108(1,23): image-start-tag
  1109#document
  1110| <!DOCTYPE html>
  1111| <html>
  1112|   <head>
  1113|   <body>
  1114|     <img>
  1115
  1116#data
  1117<!doctype html>a<i>b<table>c<b>d</i>e</b>f
  1118#errors
  1119(1,28): foster-parenting-character
  1120(1,31): foster-parenting-start-tag
  1121(1,32): foster-parenting-character
  1122(1,36): foster-parenting-end-tag
  1123(1,36): adoption-agency-1.3
  1124(1,37): foster-parenting-character
  1125(1,41): foster-parenting-end-tag
  1126(1,42): foster-parenting-character
  1127(1,42): eof-in-table
  1128#document
  1129| <!DOCTYPE html>
  1130| <html>
  1131|   <head>
  1132|   <body>
  1133|     "a"
  1134|     <i>
  1135|       "bc"
  1136|       <b>
  1137|         "de"
  1138|       "f"
  1139|       <table>
  1140
  1141#data
  1142<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f
  1143#errors
  1144(1,25): foster-parenting-start-tag
  1145(1,26): foster-parenting-character
  1146(1,29): foster-parenting-start-tag
  1147(1,30): foster-parenting-character
  1148(1,35): foster-parenting-start-tag
  1149(1,36): foster-parenting-character
  1150(1,39): foster-parenting-start-tag
  1151(1,40): foster-parenting-character
  1152(1,44): foster-parenting-end-tag
  1153(1,44): adoption-agency-1.3
  1154(1,44): adoption-agency-1.3
  1155(1,45): foster-parenting-character
  1156(1,49): foster-parenting-end-tag
  1157(1,49): adoption-agency-1.3
  1158(1,49): adoption-agency-1.3
  1159(1,50): foster-parenting-character
  1160(1,50): eof-in-table
  1161#document
  1162| <!DOCTYPE html>
  1163| <html>
  1164|   <head>
  1165|   <body>
  1166|     <i>
  1167|       "a"
  1168|       <b>
  1169|         "b"
  1170|     <b>
  1171|     <div>
  1172|       <b>
  1173|         <i>
  1174|           "c"
  1175|           <a>
  1176|             "d"
  1177|         <a>
  1178|           "e"
  1179|       <a>
  1180|         "f"
  1181|     <table>
  1182
  1183#data
  1184<!doctype html><i>a<b>b<div>c<a>d</i>e</b>f
  1185#errors
  1186(1,37): adoption-agency-1.3
  1187(1,37): adoption-agency-1.3
  1188(1,42): adoption-agency-1.3
  1189(1,42): adoption-agency-1.3
  1190(1,43): expected-closing-tag-but-got-eof
  1191#document
  1192| <!DOCTYPE html>
  1193| <html>
  1194|   <head>
  1195|   <body>
  1196|     <i>
  1197|       "a"
  1198|       <b>
  1199|         "b"
  1200|     <b>
  1201|     <div>
  1202|       <b>
  1203|         <i>
  1204|           "c"
  1205|           <a>
  1206|             "d"
  1207|         <a>
  1208|           "e"
  1209|       <a>
  1210|         "f"
  1211
  1212#data
  1213<!doctype html><table><i>a<b>b<div>c</i>
  1214#errors
  1215(1,25): foster-parenting-start-tag
  1216(1,26): foster-parenting-character
  1217(1,29): foster-parenting-start-tag
  1218(1,30): foster-parenting-character
  1219(1,35): foster-parenting-start-tag
  1220(1,36): foster-parenting-character
  1221(1,40): foster-parenting-end-tag
  1222(1,40): adoption-agency-1.3
  1223(1,40): eof-in-table
  1224#document
  1225| <!DOCTYPE html>
  1226| <html>
  1227|   <head>
  1228|   <body>
  1229|     <i>
  1230|       "a"
  1231|       <b>
  1232|         "b"
  1233|     <b>
  1234|       <div>
  1235|         <i>
  1236|           "c"
  1237|     <table>
  1238
  1239#data
  1240<!doctype html><table><i>a<b>b<div>c<a>d</i>e</b>f
  1241#errors
  1242(1,25): foster-parenting-start-tag
  1243(1,26): foster-parenting-character
  1244(1,29): foster-parenting-start-tag
  1245(1,30): foster-parenting-character
  1246(1,35): foster-parenting-start-tag
  1247(1,36): foster-parenting-character
  1248(1,39): foster-parenting-start-tag
  1249(1,40): foster-parenting-character
  1250(1,44): foster-parenting-end-tag
  1251(1,44): adoption-agency-1.3
  1252(1,44): adoption-agency-1.3
  1253(1,45): foster-parenting-character
  1254(1,49): foster-parenting-end-tag
  1255(1,44): adoption-agency-1.3
  1256(1,44): adoption-agency-1.3
  1257(1,50): foster-parenting-character
  1258(1,50): eof-in-table
  1259#document
  1260| <!DOCTYPE html>
  1261| <html>
  1262|   <head>
  1263|   <body>
  1264|     <i>
  1265|       "a"
  1266|       <b>
  1267|         "b"
  1268|     <b>
  1269|     <div>
  1270|       <b>
  1271|         <i>
  1272|           "c"
  1273|           <a>
  1274|             "d"
  1275|         <a>
  1276|           "e"
  1277|       <a>
  1278|         "f"
  1279|     <table>
  1280
  1281#data
  1282<!doctype html><table><i>a<div>b<tr>c<b>d</i>e
  1283#errors
  1284(1,25): foster-parenting-start-tag
  1285(1,26): foster-parenting-character
  1286(1,31): foster-parenting-start-tag
  1287(1,32): foster-parenting-character
  1288(1,37): foster-parenting-character
  1289(1,40): foster-parenting-start-tag
  1290(1,41): foster-parenting-character
  1291(1,45): foster-parenting-end-tag
  1292(1,45): adoption-agency-1.3
  1293(1,46): foster-parenting-character
  1294(1,46): eof-in-table
  1295#document
  1296| <!DOCTYPE html>
  1297| <html>
  1298|   <head>
  1299|   <body>
  1300|     <i>
  1301|       "a"
  1302|       <div>
  1303|         "b"
  1304|     <i>
  1305|       "c"
  1306|       <b>
  1307|         "d"
  1308|     <b>
  1309|       "e"
  1310|     <table>
  1311|       <tbody>
  1312|         <tr>
  1313
  1314#data
  1315<!doctype html><table><td><table><i>a<div>b<b>c</i>d
  1316#errors
  1317(1,26): unexpected-cell-in-table-body
  1318(1,36): foster-parenting-start-tag
  1319(1,37): foster-parenting-character
  1320(1,42): foster-parenting-start-tag
  1321(1,43): foster-parenting-character
  1322(1,46): foster-parenting-start-tag
  1323(1,47): foster-parenting-character
  1324(1,51): foster-parenting-end-tag
  1325(1,51): adoption-agency-1.3
  1326(1,51): adoption-agency-1.3
  1327(1,52): foster-parenting-character
  1328(1,52): eof-in-table
  1329#document
  1330| <!DOCTYPE html>
  1331| <html>
  1332|   <head>
  1333|   <body>
  1334|     <table>
  1335|       <tbody>
  1336|         <tr>
  1337|           <td>
  1338|             <i>
  1339|               "a"
  1340|             <div>
  1341|               <i>
  1342|                 "b"
  1343|                 <b>
  1344|                   "c"
  1345|               <b>
  1346|                 "d"
  1347|             <table>
  1348
  1349#data
  1350<!doctype html><body><bgsound>
  1351#errors
  1352#document
  1353| <!DOCTYPE html>
  1354| <html>
  1355|   <head>
  1356|   <body>
  1357|     <bgsound>
  1358
  1359#data
  1360<!doctype html><body><basefont>
  1361#errors
  1362#document
  1363| <!DOCTYPE html>
  1364| <html>
  1365|   <head>
  1366|   <body>
  1367|     <basefont>
  1368
  1369#data
  1370<!doctype html><a><b></a><basefont>
  1371#errors
  1372(1,25): adoption-agency-1.3
  1373#document
  1374| <!DOCTYPE html>
  1375| <html>
  1376|   <head>
  1377|   <body>
  1378|     <a>
  1379|       <b>
  1380|     <basefont>
  1381
  1382#data
  1383<!doctype html><a><b></a><bgsound>
  1384#errors
  1385(1,25): adoption-agency-1.3
  1386#document
  1387| <!DOCTYPE html>
  1388| <html>
  1389|   <head>
  1390|   <body>
  1391|     <a>
  1392|       <b>
  1393|     <bgsound>
  1394
  1395#data
  1396<!doctype html><figcaption><article></figcaption>a
  1397#errors
  1398(1,49): end-tag-too-early
  1399#document
  1400| <!DOCTYPE html>
  1401| <html>
  1402|   <head>
  1403|   <body>
  1404|     <figcaption>
  1405|       <article>
  1406|     "a"
  1407
  1408#data
  1409<!doctype html><summary><article></summary>a
  1410#errors
  1411(1,43): end-tag-too-early
  1412#document
  1413| <!DOCTYPE html>
  1414| <html>
  1415|   <head>
  1416|   <body>
  1417|     <summary>
  1418|       <article>
  1419|     "a"
  1420
  1421#data
  1422<!doctype html><p><a><plaintext>b
  1423#errors
  1424(1,32): unexpected-end-tag
  1425(1,33): expected-closing-tag-but-got-eof
  1426#document
  1427| <!DOCTYPE html>
  1428| <html>
  1429|   <head>
  1430|   <body>
  1431|     <p>
  1432|       <a>
  1433|     <plaintext>
  1434|       <a>
  1435|         "b"
  1436
  1437#data
  1438<!DOCTYPE html><div>a<a></div>b<p>c</p>d
  1439#errors
  1440(1,30): end-tag-too-early
  1441(1,40): expected-closing-tag-but-got-eof
  1442#document
  1443| <!DOCTYPE html>
  1444| <html>
  1445|   <head>
  1446|   <body>
  1447|     <div>
  1448|       "a"
  1449|       <a>
  1450|     <a>
  1451|       "b"
  1452|       <p>
  1453|         "c"
  1454|       "d"

View as plain text