...

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

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

     1#data
     2<plaintext></plaintext>
     3#errors
     411: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
     523: End of file seen and there were open elements.
     611: Unclosed element “plaintext”.
     7#document
     8| <html>
     9|   <head>
    10|   <body>
    11|     <plaintext>
    12|       "</plaintext>"
    13
    14#data
    15<!doctype html><plaintext></plaintext>
    16#errors
    17(1,38): expected-closing-tag-but-got-eof
    18#document
    19| <!DOCTYPE html>
    20| <html>
    21|   <head>
    22|   <body>
    23|     <plaintext>
    24|       "</plaintext>"
    25
    26#data
    27<!doctype html><html><plaintext></plaintext>
    28#errors
    2944: End of file seen and there were open elements.
    3032: Unclosed element “plaintext”.
    31#document
    32| <!DOCTYPE html>
    33| <html>
    34|   <head>
    35|   <body>
    36|     <plaintext>
    37|       "</plaintext>"
    38
    39#data
    40<!doctype html><head><plaintext></plaintext>
    41#errors
    4244: End of file seen and there were open elements.
    4332: Unclosed element “plaintext”.
    44#document
    45| <!DOCTYPE html>
    46| <html>
    47|   <head>
    48|   <body>
    49|     <plaintext>
    50|       "</plaintext>"
    51
    52#data
    53<!doctype html><html><noscript><plaintext></plaintext>
    54#errors
    5542: Bad start tag in “plaintext” in “head”.
    5654: End of file seen and there were open elements.
    5742: Unclosed element “plaintext”.
    58#script-off
    59#document
    60| <!DOCTYPE html>
    61| <html>
    62|   <head>
    63|     <noscript>
    64|   <body>
    65|     <plaintext>
    66|       "</plaintext>"
    67
    68#data
    69<!doctype html></head><plaintext></plaintext>
    70#errors
    7145: End of file seen and there were open elements.
    7233: Unclosed element “plaintext”.
    73#document
    74| <!DOCTYPE html>
    75| <html>
    76|   <head>
    77|   <body>
    78|     <plaintext>
    79|       "</plaintext>"
    80
    81#data
    82<!doctype html><body><plaintext></plaintext>
    83#errors
    8444: End of file seen and there were open elements.
    8532: Unclosed element “plaintext”.
    86#document
    87| <!DOCTYPE html>
    88| <html>
    89|   <head>
    90|   <body>
    91|     <plaintext>
    92|       "</plaintext>"
    93
    94#data
    95<!doctype html><table><plaintext></plaintext>
    96#errors
    97(1,33): foster-parenting-start-tag
    98(1,45): foster-parenting-character
    99(1,45): eof-in-table
   100#document
   101| <!DOCTYPE html>
   102| <html>
   103|   <head>
   104|   <body>
   105|     <plaintext>
   106|       "</plaintext>"
   107|     <table>
   108
   109#data
   110<!doctype html><table><tbody><plaintext></plaintext>
   111#errors
   112(1,40): foster-parenting-start-tag
   113(1,41): foster-parenting-character
   114(1,52): eof-in-table
   115#document
   116| <!DOCTYPE html>
   117| <html>
   118|   <head>
   119|   <body>
   120|     <plaintext>
   121|       "</plaintext>"
   122|     <table>
   123|       <tbody>
   124
   125#data
   126<!doctype html><table><tbody><tr><plaintext></plaintext>
   127#errors
   128(1,44): foster-parenting-start-tag
   129(1,56): foster-parenting-character
   130(1,56): eof-in-table
   131#document
   132| <!DOCTYPE html>
   133| <html>
   134|   <head>
   135|   <body>
   136|     <plaintext>
   137|       "</plaintext>"
   138|     <table>
   139|       <tbody>
   140|         <tr>
   141
   142#data
   143<!doctype html><table><td><plaintext></plaintext>
   144#errors
   145(1,26): unexpected-cell-in-table-body
   146(1,49): expected-closing-tag-but-got-eof
   147#document
   148| <!DOCTYPE html>
   149| <html>
   150|   <head>
   151|   <body>
   152|     <table>
   153|       <tbody>
   154|         <tr>
   155|           <td>
   156|             <plaintext>
   157|               "</plaintext>"
   158
   159#data
   160<!doctype html><table><caption><plaintext></plaintext>
   161#errors
   162(1,54): expected-closing-tag-but-got-eof
   163#document
   164| <!DOCTYPE html>
   165| <html>
   166|   <head>
   167|   <body>
   168|     <table>
   169|       <caption>
   170|         <plaintext>
   171|           "</plaintext>"
   172
   173#data
   174<!doctype html><table><colgroup><plaintext></plaintext>
   175#errors
   17643: Start tag “plaintext” seen in “table”.
   17755: Misplaced non-space characters inside a table.
   17855: End of file seen and there were open elements.
   17943: Unclosed element “plaintext”.
   18022: Unclosed element “table”.
   181#document
   182| <!DOCTYPE html>
   183| <html>
   184|   <head>
   185|   <body>
   186|     <plaintext>
   187|       "</plaintext>"
   188|     <table>
   189|       <colgroup>
   190
   191#data
   192<!doctype html><select><plaintext></plaintext>X
   193#errors
   19434: Stray start tag “plaintext”.
   19546: Stray end tag “plaintext”.
   19647: End of file seen and there were open elements.
   19723: Unclosed element “select”.
   198#document
   199| <!DOCTYPE html>
   200| <html>
   201|   <head>
   202|   <body>
   203|     <select>
   204|       "X"
   205
   206#data
   207<!doctype html><table><select><plaintext>a<caption>b
   208#errors
   20930: Start tag “select” seen in “table”.
   21041: Stray start tag “plaintext”.
   21151: “caption” start tag with “select” open.
   21252: End of file seen and there were open elements.
   21351: Unclosed element “caption”.
   21422: Unclosed element “table”.
   215#document
   216| <!DOCTYPE html>
   217| <html>
   218|   <head>
   219|   <body>
   220|     <select>
   221|       "a"
   222|     <table>
   223|       <caption>
   224|         "b"
   225
   226#data
   227<!doctype html><template><plaintext>a</template>b
   228#errors
   22949: End of file seen and there were open elements.
   23036: Unclosed element “plaintext”.
   23125: Unclosed element “template”.
   232#document
   233| <!DOCTYPE html>
   234| <html>
   235|   <head>
   236|     <template>
   237|       content
   238|         <plaintext>
   239|           "a</template>b"
   240|   <body>
   241
   242#data
   243<!doctype html><body></body><plaintext></plaintext>
   244#errors
   24539: Stray start tag “plaintext”.
   24651: End of file seen and there were open elements.
   24739: Unclosed element “plaintext”.
   248#document
   249| <!DOCTYPE html>
   250| <html>
   251|   <head>
   252|   <body>
   253|     <plaintext>
   254|       "</plaintext>"
   255
   256#data
   257<!doctype html><frameset><plaintext></plaintext>
   258#errors
   25936: Stray start tag “plaintext”.
   26048: Stray end tag “plaintext”.
   26148: End of file seen and there were open elements.
   26225: Unclosed element “frameset”.
   263#document
   264| <!DOCTYPE html>
   265| <html>
   266|   <head>
   267|   <frameset>
   268
   269#data
   270<!doctype html><frameset></frameset><plaintext></plaintext>
   271#errors
   27247: Stray start tag “plaintext”.
   27359: Stray end tag “plaintext”.
   274#document
   275| <!DOCTYPE html>
   276| <html>
   277|   <head>
   278|   <frameset>
   279
   280#data
   281<!doctype html><body></body></html><plaintext></plaintext>
   282#errors
   28346: Stray start tag “plaintext”.
   28458: End of file seen and there were open elements.
   28546: Unclosed element “plaintext”.
   286#document
   287| <!DOCTYPE html>
   288| <html>
   289|   <head>
   290|   <body>
   291|     <plaintext>
   292|       "</plaintext>"
   293
   294#data
   295<!doctype html><frameset></frameset></html><plaintext></plaintext>
   296#errors
   29754: Stray start tag “plaintext”.
   29866: Stray end tag “plaintext”.
   299#document
   300| <!DOCTYPE html>
   301| <html>
   302|   <head>
   303|   <frameset>
   304
   305#data
   306<!doctype html><svg><plaintext>a</plaintext>b
   307#errors
   30845: End of file seen and there were open elements.
   30920: Unclosed element “svg”.
   310#document
   311| <!DOCTYPE html>
   312| <html>
   313|   <head>
   314|   <body>
   315|     <svg svg>
   316|       <svg plaintext>
   317|         "a"
   318|       "b"
   319
   320#data
   321<!doctype html><svg><title><plaintext>a</plaintext>b
   322#errors
   32352: End of file seen and there were open elements.
   32438: Unclosed element “plaintext”.
   32527: Unclosed element “title”.
   32620: Unclosed element “svg”.
   327#document
   328| <!DOCTYPE html>
   329| <html>
   330|   <head>
   331|   <body>
   332|     <svg svg>
   333|       <svg title>
   334|         <plaintext>
   335|           "a</plaintext>b"
   336
   337#data
   338<!doctype html><table><tr><style></script></style>abc
   339#errors
   340(1,51): foster-parenting-character
   341(1,52): foster-parenting-character
   342(1,53): foster-parenting-character
   343(1,53): eof-in-table
   344#document
   345| <!DOCTYPE html>
   346| <html>
   347|   <head>
   348|   <body>
   349|     "abc"
   350|     <table>
   351|       <tbody>
   352|         <tr>
   353|           <style>
   354|             "</script>"
   355
   356#data
   357<!doctype html><table><tr><script></style></script>abc
   358#errors
   359(1,52): foster-parenting-character
   360(1,53): foster-parenting-character
   361(1,54): foster-parenting-character
   362(1,54): eof-in-table
   363#document
   364| <!DOCTYPE html>
   365| <html>
   366|   <head>
   367|   <body>
   368|     "abc"
   369|     <table>
   370|       <tbody>
   371|         <tr>
   372|           <script>
   373|             "</style>"
   374
   375#data
   376<!doctype html><table><caption><style></script></style>abc
   377#errors
   378(1,58): expected-closing-tag-but-got-eof
   379#document
   380| <!DOCTYPE html>
   381| <html>
   382|   <head>
   383|   <body>
   384|     <table>
   385|       <caption>
   386|         <style>
   387|           "</script>"
   388|         "abc"
   389
   390#data
   391<!doctype html><table><td><style></script></style>abc
   392#errors
   393(1,26): unexpected-cell-in-table-body
   394(1,53): expected-closing-tag-but-got-eof
   395#document
   396| <!DOCTYPE html>
   397| <html>
   398|   <head>
   399|   <body>
   400|     <table>
   401|       <tbody>
   402|         <tr>
   403|           <td>
   404|             <style>
   405|               "</script>"
   406|             "abc"
   407
   408#data
   409<!doctype html><select><script></style></script>abc
   410#errors
   411(1,51): eof-in-select
   412#document
   413| <!DOCTYPE html>
   414| <html>
   415|   <head>
   416|   <body>
   417|     <select>
   418|       <script>
   419|         "</style>"
   420|       "abc"
   421
   422#data
   423<!doctype html><table><select><script></style></script>abc
   424#errors
   425(1,30): unexpected-start-tag-implies-table-voodoo
   426(1,58): eof-in-select
   427#document
   428| <!DOCTYPE html>
   429| <html>
   430|   <head>
   431|   <body>
   432|     <select>
   433|       <script>
   434|         "</style>"
   435|       "abc"
   436|     <table>
   437
   438#data
   439<!doctype html><table><tr><select><script></style></script>abc
   440#errors
   441(1,34): unexpected-start-tag-implies-table-voodoo
   442(1,62): eof-in-select
   443#document
   444| <!DOCTYPE html>
   445| <html>
   446|   <head>
   447|   <body>
   448|     <select>
   449|       <script>
   450|         "</style>"
   451|       "abc"
   452|     <table>
   453|       <tbody>
   454|         <tr>
   455
   456#data
   457<!doctype html><frameset></frameset><noframes>abc
   458#errors
   459(1,49): expected-named-closing-tag-but-got-eof
   460#document
   461| <!DOCTYPE html>
   462| <html>
   463|   <head>
   464|   <frameset>
   465|   <noframes>
   466|     "abc"
   467
   468#data
   469<!doctype html><frameset></frameset><noframes>abc</noframes><!--abc-->
   470#errors
   471#document
   472| <!DOCTYPE html>
   473| <html>
   474|   <head>
   475|   <frameset>
   476|   <noframes>
   477|     "abc"
   478|   <!-- abc -->
   479
   480#data
   481<!doctype html><frameset></frameset></html><noframes>abc
   482#errors
   483(1,56): expected-named-closing-tag-but-got-eof
   484#document
   485| <!DOCTYPE html>
   486| <html>
   487|   <head>
   488|   <frameset>
   489|   <noframes>
   490|     "abc"
   491
   492#data
   493<!doctype html><frameset></frameset></html><noframes>abc</noframes><!--abc-->
   494#errors
   495#document
   496| <!DOCTYPE html>
   497| <html>
   498|   <head>
   499|   <frameset>
   500|   <noframes>
   501|     "abc"
   502| <!-- abc -->
   503
   504#data
   505<!doctype html><table><tr></tbody><tfoot>
   506#errors
   507(1,41): eof-in-table
   508#document
   509| <!DOCTYPE html>
   510| <html>
   511|   <head>
   512|   <body>
   513|     <table>
   514|       <tbody>
   515|         <tr>
   516|       <tfoot>
   517
   518#data
   519<!doctype html><table><td><svg></svg>abc<td>
   520#errors
   521(1,26): unexpected-cell-in-table-body
   522(1,44): expected-closing-tag-but-got-eof
   523#document
   524| <!DOCTYPE html>
   525| <html>
   526|   <head>
   527|   <body>
   528|     <table>
   529|       <tbody>
   530|         <tr>
   531|           <td>
   532|             <svg svg>
   533|             "abc"
   534|           <td>

View as plain text