golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/html/testdata/webkit/html5test-com.dat (about)

     1  #data
     2  <div<div>
     3  #errors
     4  (1,9): expected-doctype-but-got-start-tag
     5  (1,9): expected-closing-tag-but-got-eof
     6  #document
     7  | <html>
     8  |   <head>
     9  |   <body>
    10  |     <div<div>
    11  
    12  #data
    13  <div foo<bar=''>
    14  #errors
    15  (1,9): invalid-character-in-attribute-name
    16  (1,16): expected-doctype-but-got-start-tag
    17  (1,16): expected-closing-tag-but-got-eof
    18  #new-errors
    19  (1:9) unexpected-character-in-attribute-name
    20  #document
    21  | <html>
    22  |   <head>
    23  |   <body>
    24  |     <div>
    25  |       foo<bar=""
    26  
    27  #data
    28  <div foo=`bar`>
    29  #errors
    30  (1,10): equals-in-unquoted-attribute-value
    31  (1,14): unexpected-character-in-unquoted-attribute-value
    32  (1,15): expected-doctype-but-got-start-tag
    33  (1,15): expected-closing-tag-but-got-eof
    34  #new-errors
    35  (1:10) unexpected-character-in-unquoted-attribute-value
    36  (1:14) unexpected-character-in-unquoted-attribute-value
    37  #document
    38  | <html>
    39  |   <head>
    40  |   <body>
    41  |     <div>
    42  |       foo="`bar`"
    43  
    44  #data
    45  <div \"foo=''>
    46  #errors
    47  (1,7): invalid-character-in-attribute-name
    48  (1,14): expected-doctype-but-got-start-tag
    49  (1,14): expected-closing-tag-but-got-eof
    50  #new-errors
    51  (1:7) unexpected-character-in-attribute-name
    52  #document
    53  | <html>
    54  |   <head>
    55  |   <body>
    56  |     <div>
    57  |       \"foo=""
    58  
    59  #data
    60  <a href='\nbar'></a>
    61  #errors
    62  (1,16): expected-doctype-but-got-start-tag
    63  #document
    64  | <html>
    65  |   <head>
    66  |   <body>
    67  |     <a>
    68  |       href="\nbar"
    69  
    70  #data
    71  <!DOCTYPE html>
    72  #errors
    73  #document
    74  | <!DOCTYPE html>
    75  | <html>
    76  |   <head>
    77  |   <body>
    78  
    79  #data
    80  &lang;&rang;
    81  #errors
    82  (1,6): expected-doctype-but-got-chars
    83  #document
    84  | <html>
    85  |   <head>
    86  |   <body>
    87  |     "⟨⟩"
    88  
    89  #data
    90  &apos;
    91  #errors
    92  (1,6): expected-doctype-but-got-chars
    93  #document
    94  | <html>
    95  |   <head>
    96  |   <body>
    97  |     "'"
    98  
    99  #data
   100  &ImaginaryI;
   101  #errors
   102  (1,12): expected-doctype-but-got-chars
   103  #document
   104  | <html>
   105  |   <head>
   106  |   <body>
   107  |     "ⅈ"
   108  
   109  #data
   110  &Kopf;
   111  #errors
   112  (1,6): expected-doctype-but-got-chars
   113  #document
   114  | <html>
   115  |   <head>
   116  |   <body>
   117  |     "𝕂"
   118  
   119  #data
   120  &notinva;
   121  #errors
   122  (1,9): expected-doctype-but-got-chars
   123  #document
   124  | <html>
   125  |   <head>
   126  |   <body>
   127  |     "∉"
   128  
   129  #data
   130  <?import namespace="foo" implementation="#bar">
   131  #errors
   132  (1,1): expected-tag-name-but-got-question-mark
   133  (1,47): expected-doctype-but-got-eof
   134  #new-errors
   135  (1:2) unexpected-question-mark-instead-of-tag-name
   136  #document
   137  | <!-- ?import namespace="foo" implementation="#bar" -->
   138  | <html>
   139  |   <head>
   140  |   <body>
   141  
   142  #data
   143  <!--foo--bar-->
   144  #errors
   145  (1,10): unexpected-char-in-comment
   146  (1,15): expected-doctype-but-got-eof
   147  #document
   148  | <!-- foo--bar -->
   149  | <html>
   150  |   <head>
   151  |   <body>
   152  
   153  #data
   154  <![CDATA[x]]>
   155  #errors
   156  (1,2): expected-dashes-or-doctype
   157  (1,13): expected-doctype-but-got-eof
   158  #new-errors
   159  (1:9) cdata-in-html-content
   160  #document
   161  | <!-- [CDATA[x]] -->
   162  | <html>
   163  |   <head>
   164  |   <body>
   165  
   166  #data
   167  <textarea><!--</textarea>--></textarea>
   168  #errors
   169  (1,10): expected-doctype-but-got-start-tag
   170  (1,39): unexpected-end-tag
   171  #document
   172  | <html>
   173  |   <head>
   174  |   <body>
   175  |     <textarea>
   176  |       "<!--"
   177  |     "-->"
   178  
   179  #data
   180  <textarea><!--</textarea>-->
   181  #errors
   182  (1,10): expected-doctype-but-got-start-tag
   183  #document
   184  | <html>
   185  |   <head>
   186  |   <body>
   187  |     <textarea>
   188  |       "<!--"
   189  |     "-->"
   190  
   191  #data
   192  <style><!--</style>--></style>
   193  #errors
   194  (1,7): expected-doctype-but-got-start-tag
   195  (1,30): unexpected-end-tag
   196  #document
   197  | <html>
   198  |   <head>
   199  |     <style>
   200  |       "<!--"
   201  |   <body>
   202  |     "-->"
   203  
   204  #data
   205  <style><!--</style>-->
   206  #errors
   207  (1,7): expected-doctype-but-got-start-tag
   208  #document
   209  | <html>
   210  |   <head>
   211  |     <style>
   212  |       "<!--"
   213  |   <body>
   214  |     "-->"
   215  
   216  #data
   217  <ul><li>A </li> <li>B</li></ul>
   218  #errors
   219  (1,4): expected-doctype-but-got-start-tag
   220  #document
   221  | <html>
   222  |   <head>
   223  |   <body>
   224  |     <ul>
   225  |       <li>
   226  |         "A "
   227  |       " "
   228  |       <li>
   229  |         "B"
   230  
   231  #data
   232  <table><form><input type=hidden><input></form><div></div></table>
   233  #errors
   234  (1,7): expected-doctype-but-got-start-tag
   235  (1,13): unexpected-form-in-table
   236  (1,32): unexpected-hidden-input-in-table
   237  (1,39): unexpected-start-tag-implies-table-voodoo
   238  (1,46): unexpected-end-tag-implies-table-voodoo
   239  (1,46): unexpected-end-tag
   240  (1,51): unexpected-start-tag-implies-table-voodoo
   241  (1,57): unexpected-end-tag-implies-table-voodoo
   242  #document
   243  | <html>
   244  |   <head>
   245  |   <body>
   246  |     <input>
   247  |     <div>
   248  |     <table>
   249  |       <form>
   250  |       <input>
   251  |         type="hidden"
   252  
   253  #data
   254  <i>A<b>B<p></i>C</b>D
   255  #errors
   256  (1,3): expected-doctype-but-got-start-tag
   257  (1,15): adoption-agency-1.3
   258  (1,20): adoption-agency-1.3
   259  #document
   260  | <html>
   261  |   <head>
   262  |   <body>
   263  |     <i>
   264  |       "A"
   265  |       <b>
   266  |         "B"
   267  |     <b>
   268  |     <p>
   269  |       <b>
   270  |         <i>
   271  |         "C"
   272  |       "D"
   273  
   274  #data
   275  <div></div>
   276  #errors
   277  (1,5): expected-doctype-but-got-start-tag
   278  #document
   279  | <html>
   280  |   <head>
   281  |   <body>
   282  |     <div>
   283  
   284  #data
   285  <svg></svg>
   286  #errors
   287  (1,5): expected-doctype-but-got-start-tag
   288  #document
   289  | <html>
   290  |   <head>
   291  |   <body>
   292  |     <svg svg>
   293  
   294  #data
   295  <math></math>
   296  #errors
   297  (1,6): expected-doctype-but-got-start-tag
   298  #document
   299  | <html>
   300  |   <head>
   301  |   <body>
   302  |     <math math>