github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/net/html/testdata/webkit/tests9.dat (about)

     1  #data
     2  <!DOCTYPE html><math></math>
     3  #errors
     4  #document
     5  | <!DOCTYPE html>
     6  | <html>
     7  |   <head>
     8  |   <body>
     9  |     <math math>
    10  
    11  #data
    12  <!DOCTYPE html><body><math></math>
    13  #errors
    14  #document
    15  | <!DOCTYPE html>
    16  | <html>
    17  |   <head>
    18  |   <body>
    19  |     <math math>
    20  
    21  #data
    22  <!DOCTYPE html><math><mi>
    23  #errors
    24  (1,25) expected-closing-tag-but-got-eof
    25  #document
    26  | <!DOCTYPE html>
    27  | <html>
    28  |   <head>
    29  |   <body>
    30  |     <math math>
    31  |       <math mi>
    32  
    33  #data
    34  <!DOCTYPE html><math><annotation-xml><svg><u>
    35  #errors
    36  (1,45) unexpected-html-element-in-foreign-content
    37  (1,45) expected-closing-tag-but-got-eof
    38  #document
    39  | <!DOCTYPE html>
    40  | <html>
    41  |   <head>
    42  |   <body>
    43  |     <math math>
    44  |       <math annotation-xml>
    45  |         <svg svg>
    46  |     <u>
    47  
    48  #data
    49  <!DOCTYPE html><body><select><math></math></select>
    50  #errors
    51  (1,35) unexpected-start-tag-in-select
    52  (1,42) unexpected-end-tag-in-select
    53  #document
    54  | <!DOCTYPE html>
    55  | <html>
    56  |   <head>
    57  |   <body>
    58  |     <select>
    59  
    60  #data
    61  <!DOCTYPE html><body><select><option><math></math></option></select>
    62  #errors
    63  (1,43) unexpected-start-tag-in-select
    64  (1,50) unexpected-end-tag-in-select
    65  #document
    66  | <!DOCTYPE html>
    67  | <html>
    68  |   <head>
    69  |   <body>
    70  |     <select>
    71  |       <option>
    72  
    73  #data
    74  <!DOCTYPE html><body><table><math></math></table>
    75  #errors
    76  (1,34) unexpected-start-tag-implies-table-voodoo
    77  #document
    78  | <!DOCTYPE html>
    79  | <html>
    80  |   <head>
    81  |   <body>
    82  |     <math math>
    83  |     <table>
    84  
    85  #data
    86  <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
    87  #errors
    88  (1,34) foster-parenting-start-token
    89  (1,39) foster-parenting-character
    90  (1,40) foster-parenting-character
    91  (1,41) foster-parenting-character
    92  #document
    93  | <!DOCTYPE html>
    94  | <html>
    95  |   <head>
    96  |   <body>
    97  |     <math math>
    98  |       <math mi>
    99  |         "foo"
   100  |     <table>
   101  
   102  #data
   103  <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
   104  #errors
   105  (1,34) foster-parenting-start-tag
   106  (1,39) foster-parenting-character
   107  (1,40) foster-parenting-character
   108  (1,41) foster-parenting-character
   109  (1,51) foster-parenting-character
   110  (1,52) foster-parenting-character
   111  (1,53) foster-parenting-character
   112  #document
   113  | <!DOCTYPE html>
   114  | <html>
   115  |   <head>
   116  |   <body>
   117  |     <math math>
   118  |       <math mi>
   119  |         "foo"
   120  |       <math mi>
   121  |         "bar"
   122  |     <table>
   123  
   124  #data
   125  <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
   126  #errors
   127  (1,41) foster-parenting-start-tag
   128  (1,46) foster-parenting-character
   129  (1,47) foster-parenting-character
   130  (1,48) foster-parenting-character
   131  (1,58) foster-parenting-character
   132  (1,59) foster-parenting-character
   133  (1,60) foster-parenting-character
   134  #document
   135  | <!DOCTYPE html>
   136  | <html>
   137  |   <head>
   138  |   <body>
   139  |     <math math>
   140  |       <math mi>
   141  |         "foo"
   142  |       <math mi>
   143  |         "bar"
   144  |     <table>
   145  |       <tbody>
   146  
   147  #data
   148  <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
   149  #errors
   150  (1,45) foster-parenting-start-tag
   151  (1,50) foster-parenting-character
   152  (1,51) foster-parenting-character
   153  (1,52) foster-parenting-character
   154  (1,62) foster-parenting-character
   155  (1,63) foster-parenting-character
   156  (1,64) foster-parenting-character
   157  #document
   158  | <!DOCTYPE html>
   159  | <html>
   160  |   <head>
   161  |   <body>
   162  |     <math math>
   163  |       <math mi>
   164  |         "foo"
   165  |       <math mi>
   166  |         "bar"
   167  |     <table>
   168  |       <tbody>
   169  |         <tr>
   170  
   171  #data
   172  <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
   173  #errors
   174  #document
   175  | <!DOCTYPE html>
   176  | <html>
   177  |   <head>
   178  |   <body>
   179  |     <table>
   180  |       <tbody>
   181  |         <tr>
   182  |           <td>
   183  |             <math math>
   184  |               <math mi>
   185  |                 "foo"
   186  |               <math mi>
   187  |                 "bar"
   188  
   189  #data
   190  <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
   191  #errors
   192  #document
   193  | <!DOCTYPE html>
   194  | <html>
   195  |   <head>
   196  |   <body>
   197  |     <table>
   198  |       <tbody>
   199  |         <tr>
   200  |           <td>
   201  |             <math math>
   202  |               <math mi>
   203  |                 "foo"
   204  |               <math mi>
   205  |                 "bar"
   206  |             <p>
   207  |               "baz"
   208  
   209  #data
   210  <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>
   211  #errors
   212  #document
   213  | <!DOCTYPE html>
   214  | <html>
   215  |   <head>
   216  |   <body>
   217  |     <table>
   218  |       <caption>
   219  |         <math math>
   220  |           <math mi>
   221  |             "foo"
   222  |           <math mi>
   223  |             "bar"
   224  |         <p>
   225  |           "baz"
   226  
   227  #data
   228  <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
   229  #errors
   230  (1,70) unexpected-html-element-in-foreign-content
   231  #document
   232  | <!DOCTYPE html>
   233  | <html>
   234  |   <head>
   235  |   <body>
   236  |     <table>
   237  |       <caption>
   238  |         <math math>
   239  |           <math mi>
   240  |             "foo"
   241  |           <math mi>
   242  |             "bar"
   243  |         <p>
   244  |           "baz"
   245  |     <p>
   246  |       "quux"
   247  
   248  #data
   249  <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
   250  #errors
   251  (1,78) unexpected-end-tag
   252  (1,78) expected-one-end-tag-but-got-another
   253  #document
   254  | <!DOCTYPE html>
   255  | <html>
   256  |   <head>
   257  |   <body>
   258  |     <table>
   259  |       <caption>
   260  |         <math math>
   261  |           <math mi>
   262  |             "foo"
   263  |           <math mi>
   264  |             "bar"
   265  |           "baz"
   266  |     <p>
   267  |       "quux"
   268  
   269  #data
   270  <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
   271  #errors
   272  (1,44) foster-parenting-start-tag
   273  (1,49) foster-parenting-character
   274  (1,50) foster-parenting-character
   275  (1,51) foster-parenting-character
   276  (1,61) foster-parenting-character
   277  (1,62) foster-parenting-character
   278  (1,63) foster-parenting-character
   279  (1,71) unexpected-html-element-in-foreign-content
   280  (1,71) foster-parenting-start-tag
   281  (1,63) foster-parenting-character
   282  (1,63) foster-parenting-character
   283  (1,63) foster-parenting-character
   284  #document
   285  | <!DOCTYPE html>
   286  | <html>
   287  |   <head>
   288  |   <body>
   289  |     <math math>
   290  |       <math mi>
   291  |         "foo"
   292  |       <math mi>
   293  |         "bar"
   294  |     <p>
   295  |       "baz"
   296  |     <table>
   297  |       <colgroup>
   298  |     <p>
   299  |       "quux"
   300  
   301  #data
   302  <!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
   303  #errors
   304  (1,50) unexpected-start-tag-in-select
   305  (1,54) unexpected-start-tag-in-select
   306  (1,62) unexpected-end-tag-in-select
   307  (1,66) unexpected-start-tag-in-select
   308  (1,74) unexpected-end-tag-in-select
   309  (1,77) unexpected-start-tag-in-select
   310  (1,88) unexpected-table-element-end-tag-in-select-in-table
   311  #document
   312  | <!DOCTYPE html>
   313  | <html>
   314  |   <head>
   315  |   <body>
   316  |     <table>
   317  |       <tbody>
   318  |         <tr>
   319  |           <td>
   320  |             <select>
   321  |               "foobarbaz"
   322  |     <p>
   323  |       "quux"
   324  
   325  #data
   326  <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
   327  #errors
   328  (1,36) unexpected-start-tag-implies-table-voodoo
   329  (1,42) unexpected-start-tag-in-select
   330  (1,46) unexpected-start-tag-in-select
   331  (1,54) unexpected-end-tag-in-select
   332  (1,58) unexpected-start-tag-in-select
   333  (1,66) unexpected-end-tag-in-select
   334  (1,69) unexpected-start-tag-in-select
   335  (1,80) unexpected-table-element-end-tag-in-select-in-table
   336  #document
   337  | <!DOCTYPE html>
   338  | <html>
   339  |   <head>
   340  |   <body>
   341  |     <select>
   342  |       "foobarbaz"
   343  |     <table>
   344  |     <p>
   345  |       "quux"
   346  
   347  #data
   348  <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
   349  #errors
   350  (1,41) expected-eof-but-got-start-tag
   351  (1,68) unexpected-html-element-in-foreign-content
   352  #document
   353  | <!DOCTYPE html>
   354  | <html>
   355  |   <head>
   356  |   <body>
   357  |     <math math>
   358  |       <math mi>
   359  |         "foo"
   360  |       <math mi>
   361  |         "bar"
   362  |     <p>
   363  |       "baz"
   364  
   365  #data
   366  <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
   367  #errors
   368  (1,34) unexpected-start-tag-after-body
   369  (1,61) unexpected-html-element-in-foreign-content
   370  #document
   371  | <!DOCTYPE html>
   372  | <html>
   373  |   <head>
   374  |   <body>
   375  |     <math math>
   376  |       <math mi>
   377  |         "foo"
   378  |       <math mi>
   379  |         "bar"
   380  |     <p>
   381  |       "baz"
   382  
   383  #data
   384  <!DOCTYPE html><frameset><math><mi></mi><mi></mi><p><span>
   385  #errors
   386  (1,31) unexpected-start-tag-in-frameset
   387  (1,35) unexpected-start-tag-in-frameset
   388  (1,40) unexpected-end-tag-in-frameset
   389  (1,44) unexpected-start-tag-in-frameset
   390  (1,49) unexpected-end-tag-in-frameset
   391  (1,52) unexpected-start-tag-in-frameset
   392  (1,58) unexpected-start-tag-in-frameset
   393  (1,58) eof-in-frameset
   394  #document
   395  | <!DOCTYPE html>
   396  | <html>
   397  |   <head>
   398  |   <frameset>
   399  
   400  #data
   401  <!DOCTYPE html><frameset></frameset><math><mi></mi><mi></mi><p><span>
   402  #errors
   403  (1,42) unexpected-start-tag-after-frameset
   404  (1,46) unexpected-start-tag-after-frameset
   405  (1,51) unexpected-end-tag-after-frameset
   406  (1,55) unexpected-start-tag-after-frameset
   407  (1,60) unexpected-end-tag-after-frameset
   408  (1,63) unexpected-start-tag-after-frameset
   409  (1,69) unexpected-start-tag-after-frameset
   410  #document
   411  | <!DOCTYPE html>
   412  | <html>
   413  |   <head>
   414  |   <frameset>
   415  
   416  #data
   417  <!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>
   418  #errors
   419  #document
   420  | <!DOCTYPE html>
   421  | <html>
   422  |   <head>
   423  |   <body>
   424  |     xlink:href="foo"
   425  |     <math math>
   426  |       xlink href="foo"
   427  
   428  #data
   429  <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>
   430  #errors
   431  #document
   432  | <!DOCTYPE html>
   433  | <html>
   434  |   <head>
   435  |   <body>
   436  |     xlink:href="foo"
   437  |     xml:lang="en"
   438  |     <math math>
   439  |       <math mi>
   440  |         xlink href="foo"
   441  |         xml lang="en"
   442  
   443  #data
   444  <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>
   445  #errors
   446  #document
   447  | <!DOCTYPE html>
   448  | <html>
   449  |   <head>
   450  |   <body>
   451  |     xlink:href="foo"
   452  |     xml:lang="en"
   453  |     <math math>
   454  |       <math mi>
   455  |         xlink href="foo"
   456  |         xml lang="en"
   457  
   458  #data
   459  <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>
   460  #errors
   461  #document
   462  | <!DOCTYPE html>
   463  | <html>
   464  |   <head>
   465  |   <body>
   466  |     xlink:href="foo"
   467  |     xml:lang="en"
   468  |     <math math>
   469  |       <math mi>
   470  |         xlink href="foo"
   471  |         xml lang="en"
   472  |       "bar"