gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/html/testdata/webkit/tests21.dat (about)

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