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

     1  #data
     2  <!DOCTYPE html><p><b><i><u></p> <p>X
     3  #errors
     4  (1,31): unexpected-end-tag
     5  (1,36): expected-closing-tag-but-got-eof
     6  #document
     7  | <!DOCTYPE html>
     8  | <html>
     9  |   <head>
    10  |   <body>
    11  |     <p>
    12  |       <b>
    13  |         <i>
    14  |           <u>
    15  |     <b>
    16  |       <i>
    17  |         <u>
    18  |           " "
    19  |           <p>
    20  |             "X"
    21  
    22  #data
    23  <p><b><i><u></p>
    24  <p>X
    25  #errors
    26  (1,3): expected-doctype-but-got-start-tag
    27  (1,16): unexpected-end-tag
    28  (2,4): expected-closing-tag-but-got-eof
    29  #document
    30  | <html>
    31  |   <head>
    32  |   <body>
    33  |     <p>
    34  |       <b>
    35  |         <i>
    36  |           <u>
    37  |     <b>
    38  |       <i>
    39  |         <u>
    40  |           "
    41  "
    42  |           <p>
    43  |             "X"
    44  
    45  #data
    46  <!doctype html></html> <head>
    47  #errors
    48  (1,29): expected-eof-but-got-start-tag
    49  (1,29): unexpected-start-tag-ignored
    50  #document
    51  | <!DOCTYPE html>
    52  | <html>
    53  |   <head>
    54  |   <body>
    55  |     " "
    56  
    57  #data
    58  <!doctype html></body><meta>
    59  #errors
    60  (1,28): unexpected-start-tag-after-body
    61  #document
    62  | <!DOCTYPE html>
    63  | <html>
    64  |   <head>
    65  |   <body>
    66  |     <meta>
    67  
    68  #data
    69  <html></html><!-- foo -->
    70  #errors
    71  (1,6): expected-doctype-but-got-start-tag
    72  #document
    73  | <html>
    74  |   <head>
    75  |   <body>
    76  | <!--  foo  -->
    77  
    78  #data
    79  <!doctype html></body><title>X</title>
    80  #errors
    81  (1,29): unexpected-start-tag-after-body
    82  #document
    83  | <!DOCTYPE html>
    84  | <html>
    85  |   <head>
    86  |   <body>
    87  |     <title>
    88  |       "X"
    89  
    90  #data
    91  <!doctype html><table> X<meta></table>
    92  #errors
    93  (1,23): foster-parenting-character
    94  (1,24): foster-parenting-character
    95  (1,30): foster-parenting-start-character
    96  #document
    97  | <!DOCTYPE html>
    98  | <html>
    99  |   <head>
   100  |   <body>
   101  |     " X"
   102  |     <meta>
   103  |     <table>
   104  
   105  #data
   106  <!doctype html><table> x</table>
   107  #errors
   108  (1,23): foster-parenting-character
   109  (1,24): foster-parenting-character
   110  #document
   111  | <!DOCTYPE html>
   112  | <html>
   113  |   <head>
   114  |   <body>
   115  |     " x"
   116  |     <table>
   117  
   118  #data
   119  <!doctype html><table> x </table>
   120  #errors
   121  (1,23): foster-parenting-character
   122  (1,24): foster-parenting-character
   123  (1,25): foster-parenting-character
   124  #document
   125  | <!DOCTYPE html>
   126  | <html>
   127  |   <head>
   128  |   <body>
   129  |     " x "
   130  |     <table>
   131  
   132  #data
   133  <!doctype html><table><tr> x</table>
   134  #errors
   135  (1,27): foster-parenting-character
   136  (1,28): foster-parenting-character
   137  #document
   138  | <!DOCTYPE html>
   139  | <html>
   140  |   <head>
   141  |   <body>
   142  |     " x"
   143  |     <table>
   144  |       <tbody>
   145  |         <tr>
   146  
   147  #data
   148  <!doctype html><table>X<style> <tr>x </style> </table>
   149  #errors
   150  (1,23): foster-parenting-character
   151  #document
   152  | <!DOCTYPE html>
   153  | <html>
   154  |   <head>
   155  |   <body>
   156  |     "X"
   157  |     <table>
   158  |       <style>
   159  |         " <tr>x "
   160  |       " "
   161  
   162  #data
   163  <!doctype html><div><table><a>foo</a> <tr><td>bar</td> </tr></table></div>
   164  #errors
   165  (1,30): foster-parenting-start-tag
   166  (1,31): foster-parenting-character
   167  (1,32): foster-parenting-character
   168  (1,33): foster-parenting-character
   169  (1,37): foster-parenting-end-tag
   170  #document
   171  | <!DOCTYPE html>
   172  | <html>
   173  |   <head>
   174  |   <body>
   175  |     <div>
   176  |       <a>
   177  |         "foo"
   178  |       <table>
   179  |         " "
   180  |         <tbody>
   181  |           <tr>
   182  |             <td>
   183  |               "bar"
   184  |             " "
   185  
   186  #data
   187  <frame></frame></frame><frameset><frame><frameset><frame></frameset><noframes></frameset><noframes>
   188  #errors
   189  (1,7): expected-doctype-but-got-start-tag
   190  (1,7): unexpected-start-tag-ignored
   191  (1,15): unexpected-end-tag
   192  (1,23): unexpected-end-tag
   193  (1,33): unexpected-start-tag
   194  (1,99): expected-named-closing-tag-but-got-eof
   195  (1,99): eof-in-frameset
   196  #document
   197  | <html>
   198  |   <head>
   199  |   <frameset>
   200  |     <frame>
   201  |     <frameset>
   202  |       <frame>
   203  |     <noframes>
   204  |       "</frameset><noframes>"
   205  
   206  #data
   207  <!DOCTYPE html><object></html>
   208  #errors
   209  (1,30): expected-body-in-scope
   210  (1,30): expected-closing-tag-but-got-eof
   211  #document
   212  | <!DOCTYPE html>
   213  | <html>
   214  |   <head>
   215  |   <body>
   216  |     <object>