github.com/Andyfoo/golang/x/net@v0.0.0-20190901054642-57c1bf301704/html/testdata/webkit/tests5.dat (about)

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