golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/html/testdata/webkit/blocks.dat (about)

     1  #data
     2  <!doctype html><p>foo<address>bar<p>baz
     3  #errors
     4  (1,39): expected-closing-tag-but-got-eof
     5  30: Unclosed element “address”.
     6  #document
     7  | <!DOCTYPE html>
     8  | <html>
     9  |   <head>
    10  |   <body>
    11  |     <p>
    12  |       "foo"
    13  |     <address>
    14  |       "bar"
    15  |       <p>
    16  |         "baz"
    17  
    18  #data
    19  <!doctype html><address><p>foo</address>bar
    20  #errors
    21  #document
    22  | <!DOCTYPE html>
    23  | <html>
    24  |   <head>
    25  |   <body>
    26  |     <address>
    27  |       <p>
    28  |         "foo"
    29  |     "bar"
    30  
    31  #data
    32  <!doctype html><p>foo<article>bar<p>baz
    33  #errors
    34  (1,39): expected-closing-tag-but-got-eof
    35  30: Unclosed element “article”.
    36  #document
    37  | <!DOCTYPE html>
    38  | <html>
    39  |   <head>
    40  |   <body>
    41  |     <p>
    42  |       "foo"
    43  |     <article>
    44  |       "bar"
    45  |       <p>
    46  |         "baz"
    47  
    48  #data
    49  <!doctype html><article><p>foo</article>bar
    50  #errors
    51  #document
    52  | <!DOCTYPE html>
    53  | <html>
    54  |   <head>
    55  |   <body>
    56  |     <article>
    57  |       <p>
    58  |         "foo"
    59  |     "bar"
    60  
    61  #data
    62  <!doctype html><p>foo<aside>bar<p>baz
    63  #errors
    64  (1,37): expected-closing-tag-but-got-eof
    65  28: Unclosed element “aside”.
    66  #document
    67  | <!DOCTYPE html>
    68  | <html>
    69  |   <head>
    70  |   <body>
    71  |     <p>
    72  |       "foo"
    73  |     <aside>
    74  |       "bar"
    75  |       <p>
    76  |         "baz"
    77  
    78  #data
    79  <!doctype html><aside><p>foo</aside>bar
    80  #errors
    81  #document
    82  | <!DOCTYPE html>
    83  | <html>
    84  |   <head>
    85  |   <body>
    86  |     <aside>
    87  |       <p>
    88  |         "foo"
    89  |     "bar"
    90  
    91  #data
    92  <!doctype html><p>foo<blockquote>bar<p>baz
    93  #errors
    94  (1,42): expected-closing-tag-but-got-eof
    95  33: Unclosed element “blockquote”.
    96  #document
    97  | <!DOCTYPE html>
    98  | <html>
    99  |   <head>
   100  |   <body>
   101  |     <p>
   102  |       "foo"
   103  |     <blockquote>
   104  |       "bar"
   105  |       <p>
   106  |         "baz"
   107  
   108  #data
   109  <!doctype html><blockquote><p>foo</blockquote>bar
   110  #errors
   111  #document
   112  | <!DOCTYPE html>
   113  | <html>
   114  |   <head>
   115  |   <body>
   116  |     <blockquote>
   117  |       <p>
   118  |         "foo"
   119  |     "bar"
   120  
   121  #data
   122  <!doctype html><p>foo<center>bar<p>baz
   123  #errors
   124  (1,38): expected-closing-tag-but-got-eof
   125  29: Unclosed element “center”.
   126  #document
   127  | <!DOCTYPE html>
   128  | <html>
   129  |   <head>
   130  |   <body>
   131  |     <p>
   132  |       "foo"
   133  |     <center>
   134  |       "bar"
   135  |       <p>
   136  |         "baz"
   137  
   138  #data
   139  <!doctype html><center><p>foo</center>bar
   140  #errors
   141  #document
   142  | <!DOCTYPE html>
   143  | <html>
   144  |   <head>
   145  |   <body>
   146  |     <center>
   147  |       <p>
   148  |         "foo"
   149  |     "bar"
   150  
   151  #data
   152  <!doctype html><p>foo<details>bar<p>baz
   153  #errors
   154  (1,39): expected-closing-tag-but-got-eof
   155  30: Unclosed element “details”.
   156  #document
   157  | <!DOCTYPE html>
   158  | <html>
   159  |   <head>
   160  |   <body>
   161  |     <p>
   162  |       "foo"
   163  |     <details>
   164  |       "bar"
   165  |       <p>
   166  |         "baz"
   167  
   168  #data
   169  <!doctype html><details><p>foo</details>bar
   170  #errors
   171  #document
   172  | <!DOCTYPE html>
   173  | <html>
   174  |   <head>
   175  |   <body>
   176  |     <details>
   177  |       <p>
   178  |         "foo"
   179  |     "bar"
   180  
   181  #data
   182  <!doctype html><p>foo<dialog>bar<p>baz
   183  #errors
   184  (1,38): expected-closing-tag-but-got-eof
   185  29: Unclosed element “dialog”.
   186  #document
   187  | <!DOCTYPE html>
   188  | <html>
   189  |   <head>
   190  |   <body>
   191  |     <p>
   192  |       "foo"
   193  |     <dialog>
   194  |       "bar"
   195  |       <p>
   196  |         "baz"
   197  
   198  #data
   199  <!doctype html><dialog><p>foo</dialog>bar
   200  #errors
   201  #document
   202  | <!DOCTYPE html>
   203  | <html>
   204  |   <head>
   205  |   <body>
   206  |     <dialog>
   207  |       <p>
   208  |         "foo"
   209  |     "bar"
   210  
   211  #data
   212  <!doctype html><p>foo<dir>bar<p>baz
   213  #errors
   214  (1,35): expected-closing-tag-but-got-eof
   215  26: Unclosed element “dir”.
   216  #document
   217  | <!DOCTYPE html>
   218  | <html>
   219  |   <head>
   220  |   <body>
   221  |     <p>
   222  |       "foo"
   223  |     <dir>
   224  |       "bar"
   225  |       <p>
   226  |         "baz"
   227  
   228  #data
   229  <!doctype html><dir><p>foo</dir>bar
   230  #errors
   231  #document
   232  | <!DOCTYPE html>
   233  | <html>
   234  |   <head>
   235  |   <body>
   236  |     <dir>
   237  |       <p>
   238  |         "foo"
   239  |     "bar"
   240  
   241  #data
   242  <!doctype html><p>foo<div>bar<p>baz
   243  #errors
   244  (1,35): expected-closing-tag-but-got-eof
   245  26: Unclosed element “div”.
   246  #document
   247  | <!DOCTYPE html>
   248  | <html>
   249  |   <head>
   250  |   <body>
   251  |     <p>
   252  |       "foo"
   253  |     <div>
   254  |       "bar"
   255  |       <p>
   256  |         "baz"
   257  
   258  #data
   259  <!doctype html><div><p>foo</div>bar
   260  #errors
   261  #document
   262  | <!DOCTYPE html>
   263  | <html>
   264  |   <head>
   265  |   <body>
   266  |     <div>
   267  |       <p>
   268  |         "foo"
   269  |     "bar"
   270  
   271  #data
   272  <!doctype html><p>foo<dl>bar<p>baz
   273  #errors
   274  (1,34): expected-closing-tag-but-got-eof
   275  25: Unclosed element “dl”.
   276  #document
   277  | <!DOCTYPE html>
   278  | <html>
   279  |   <head>
   280  |   <body>
   281  |     <p>
   282  |       "foo"
   283  |     <dl>
   284  |       "bar"
   285  |       <p>
   286  |         "baz"
   287  
   288  #data
   289  <!doctype html><dl><p>foo</dl>bar
   290  #errors
   291  #document
   292  | <!DOCTYPE html>
   293  | <html>
   294  |   <head>
   295  |   <body>
   296  |     <dl>
   297  |       <p>
   298  |         "foo"
   299  |     "bar"
   300  
   301  #data
   302  <!doctype html><p>foo<fieldset>bar<p>baz
   303  #errors
   304  (1,40): expected-closing-tag-but-got-eof
   305  31: Unclosed element “fieldset”.
   306  #document
   307  | <!DOCTYPE html>
   308  | <html>
   309  |   <head>
   310  |   <body>
   311  |     <p>
   312  |       "foo"
   313  |     <fieldset>
   314  |       "bar"
   315  |       <p>
   316  |         "baz"
   317  
   318  #data
   319  <!doctype html><fieldset><p>foo</fieldset>bar
   320  #errors
   321  #document
   322  | <!DOCTYPE html>
   323  | <html>
   324  |   <head>
   325  |   <body>
   326  |     <fieldset>
   327  |       <p>
   328  |         "foo"
   329  |     "bar"
   330  
   331  #data
   332  <!doctype html><p>foo<figcaption>bar<p>baz
   333  #errors
   334  (1,42): expected-closing-tag-but-got-eof
   335  33: Unclosed element “figcaption”.
   336  #document
   337  | <!DOCTYPE html>
   338  | <html>
   339  |   <head>
   340  |   <body>
   341  |     <p>
   342  |       "foo"
   343  |     <figcaption>
   344  |       "bar"
   345  |       <p>
   346  |         "baz"
   347  
   348  #data
   349  <!doctype html><figcaption><p>foo</figcaption>bar
   350  #errors
   351  #document
   352  | <!DOCTYPE html>
   353  | <html>
   354  |   <head>
   355  |   <body>
   356  |     <figcaption>
   357  |       <p>
   358  |         "foo"
   359  |     "bar"
   360  
   361  #data
   362  <!doctype html><p>foo<figure>bar<p>baz
   363  #errors
   364  (1,38): expected-closing-tag-but-got-eof
   365  29: Unclosed element “figure”.
   366  #document
   367  | <!DOCTYPE html>
   368  | <html>
   369  |   <head>
   370  |   <body>
   371  |     <p>
   372  |       "foo"
   373  |     <figure>
   374  |       "bar"
   375  |       <p>
   376  |         "baz"
   377  
   378  #data
   379  <!doctype html><figure><p>foo</figure>bar
   380  #errors
   381  #document
   382  | <!DOCTYPE html>
   383  | <html>
   384  |   <head>
   385  |   <body>
   386  |     <figure>
   387  |       <p>
   388  |         "foo"
   389  |     "bar"
   390  
   391  #data
   392  <!doctype html><p>foo<footer>bar<p>baz
   393  #errors
   394  (1,38): expected-closing-tag-but-got-eof
   395  29: Unclosed element “footer”.
   396  #document
   397  | <!DOCTYPE html>
   398  | <html>
   399  |   <head>
   400  |   <body>
   401  |     <p>
   402  |       "foo"
   403  |     <footer>
   404  |       "bar"
   405  |       <p>
   406  |         "baz"
   407  
   408  #data
   409  <!doctype html><footer><p>foo</footer>bar
   410  #errors
   411  #document
   412  | <!DOCTYPE html>
   413  | <html>
   414  |   <head>
   415  |   <body>
   416  |     <footer>
   417  |       <p>
   418  |         "foo"
   419  |     "bar"
   420  
   421  #data
   422  <!doctype html><p>foo<header>bar<p>baz
   423  #errors
   424  (1,38): expected-closing-tag-but-got-eof
   425  29: Unclosed element “header”.
   426  #document
   427  | <!DOCTYPE html>
   428  | <html>
   429  |   <head>
   430  |   <body>
   431  |     <p>
   432  |       "foo"
   433  |     <header>
   434  |       "bar"
   435  |       <p>
   436  |         "baz"
   437  
   438  #data
   439  <!doctype html><header><p>foo</header>bar
   440  #errors
   441  #document
   442  | <!DOCTYPE html>
   443  | <html>
   444  |   <head>
   445  |   <body>
   446  |     <header>
   447  |       <p>
   448  |         "foo"
   449  |     "bar"
   450  
   451  #data
   452  <!doctype html><p>foo<hgroup>bar<p>baz
   453  #errors
   454  (1,38): expected-closing-tag-but-got-eof
   455  29: Unclosed element “hgroup”.
   456  #document
   457  | <!DOCTYPE html>
   458  | <html>
   459  |   <head>
   460  |   <body>
   461  |     <p>
   462  |       "foo"
   463  |     <hgroup>
   464  |       "bar"
   465  |       <p>
   466  |         "baz"
   467  
   468  #data
   469  <!doctype html><hgroup><p>foo</hgroup>bar
   470  #errors
   471  #document
   472  | <!DOCTYPE html>
   473  | <html>
   474  |   <head>
   475  |   <body>
   476  |     <hgroup>
   477  |       <p>
   478  |         "foo"
   479  |     "bar"
   480  
   481  #data
   482  <!doctype html><p>foo<listing>bar<p>baz
   483  #errors
   484  (1,39): expected-closing-tag-but-got-eof
   485  30: Unclosed element “listing”.
   486  #document
   487  | <!DOCTYPE html>
   488  | <html>
   489  |   <head>
   490  |   <body>
   491  |     <p>
   492  |       "foo"
   493  |     <listing>
   494  |       "bar"
   495  |       <p>
   496  |         "baz"
   497  
   498  #data
   499  <!doctype html><listing><p>foo</listing>bar
   500  #errors
   501  #document
   502  | <!DOCTYPE html>
   503  | <html>
   504  |   <head>
   505  |   <body>
   506  |     <listing>
   507  |       <p>
   508  |         "foo"
   509  |     "bar"
   510  
   511  #data
   512  <!doctype html><p>foo<menu>bar<p>baz
   513  #errors
   514  (1,36): expected-closing-tag-but-got-eof
   515  27: Unclosed element “menu”.
   516  #document
   517  | <!DOCTYPE html>
   518  | <html>
   519  |   <head>
   520  |   <body>
   521  |     <p>
   522  |       "foo"
   523  |     <menu>
   524  |       "bar"
   525  |       <p>
   526  |         "baz"
   527  
   528  #data
   529  <!doctype html><menu><p>foo</menu>bar
   530  #errors
   531  #document
   532  | <!DOCTYPE html>
   533  | <html>
   534  |   <head>
   535  |   <body>
   536  |     <menu>
   537  |       <p>
   538  |         "foo"
   539  |     "bar"
   540  
   541  #data
   542  <!doctype html><p>foo<nav>bar<p>baz
   543  #errors
   544  (1,35): expected-closing-tag-but-got-eof
   545  26: Unclosed element “nav”.
   546  #document
   547  | <!DOCTYPE html>
   548  | <html>
   549  |   <head>
   550  |   <body>
   551  |     <p>
   552  |       "foo"
   553  |     <nav>
   554  |       "bar"
   555  |       <p>
   556  |         "baz"
   557  
   558  #data
   559  <!doctype html><nav><p>foo</nav>bar
   560  #errors
   561  #document
   562  | <!DOCTYPE html>
   563  | <html>
   564  |   <head>
   565  |   <body>
   566  |     <nav>
   567  |       <p>
   568  |         "foo"
   569  |     "bar"
   570  
   571  #data
   572  <!doctype html><p>foo<ol>bar<p>baz
   573  #errors
   574  (1,34): expected-closing-tag-but-got-eof
   575  25: Unclosed element “ol”.
   576  #document
   577  | <!DOCTYPE html>
   578  | <html>
   579  |   <head>
   580  |   <body>
   581  |     <p>
   582  |       "foo"
   583  |     <ol>
   584  |       "bar"
   585  |       <p>
   586  |         "baz"
   587  
   588  #data
   589  <!doctype html><ol><p>foo</ol>bar
   590  #errors
   591  #document
   592  | <!DOCTYPE html>
   593  | <html>
   594  |   <head>
   595  |   <body>
   596  |     <ol>
   597  |       <p>
   598  |         "foo"
   599  |     "bar"
   600  
   601  #data
   602  <!doctype html><p>foo<pre>bar<p>baz
   603  #errors
   604  (1,35): expected-closing-tag-but-got-eof
   605  26: Unclosed element “pre”.
   606  #document
   607  | <!DOCTYPE html>
   608  | <html>
   609  |   <head>
   610  |   <body>
   611  |     <p>
   612  |       "foo"
   613  |     <pre>
   614  |       "bar"
   615  |       <p>
   616  |         "baz"
   617  
   618  #data
   619  <!doctype html><pre><p>foo</pre>bar
   620  #errors
   621  #document
   622  | <!DOCTYPE html>
   623  | <html>
   624  |   <head>
   625  |   <body>
   626  |     <pre>
   627  |       <p>
   628  |         "foo"
   629  |     "bar"
   630  
   631  #data
   632  <!doctype html><p>foo<section>bar<p>baz
   633  #errors
   634  (1,39): expected-closing-tag-but-got-eof
   635  30: Unclosed element “section”.
   636  #document
   637  | <!DOCTYPE html>
   638  | <html>
   639  |   <head>
   640  |   <body>
   641  |     <p>
   642  |       "foo"
   643  |     <section>
   644  |       "bar"
   645  |       <p>
   646  |         "baz"
   647  
   648  #data
   649  <!doctype html><section><p>foo</section>bar
   650  #errors
   651  #document
   652  | <!DOCTYPE html>
   653  | <html>
   654  |   <head>
   655  |   <body>
   656  |     <section>
   657  |       <p>
   658  |         "foo"
   659  |     "bar"
   660  
   661  #data
   662  <!doctype html><p>foo<summary>bar<p>baz
   663  #errors
   664  (1,39): expected-closing-tag-but-got-eof
   665  30: Unclosed element “summary”.
   666  #document
   667  | <!DOCTYPE html>
   668  | <html>
   669  |   <head>
   670  |   <body>
   671  |     <p>
   672  |       "foo"
   673  |     <summary>
   674  |       "bar"
   675  |       <p>
   676  |         "baz"
   677  
   678  #data
   679  <!doctype html><summary><p>foo</summary>bar
   680  #errors
   681  #document
   682  | <!DOCTYPE html>
   683  | <html>
   684  |   <head>
   685  |   <body>
   686  |     <summary>
   687  |       <p>
   688  |         "foo"
   689  |     "bar"
   690  
   691  #data
   692  <!doctype html><p>foo<ul>bar<p>baz
   693  #errors
   694  (1,34): expected-closing-tag-but-got-eof
   695  25: Unclosed element “ul”.
   696  #document
   697  | <!DOCTYPE html>
   698  | <html>
   699  |   <head>
   700  |   <body>
   701  |     <p>
   702  |       "foo"
   703  |     <ul>
   704  |       "bar"
   705  |       <p>
   706  |         "baz"
   707  
   708  #data
   709  <!doctype html><ul><p>foo</ul>bar
   710  #errors
   711  #document
   712  | <!DOCTYPE html>
   713  | <html>
   714  |   <head>
   715  |   <body>
   716  |     <ul>
   717  |       <p>
   718  |         "foo"
   719  |     "bar"