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

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