...

Text file src/golang.org/x/net/html/testdata/webkit/tests26.dat

Documentation: golang.org/x/net/html/testdata/webkit

     1#data
     2<!DOCTYPE html><body><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#3'><nobr>3<nobr></a>
     3#errors
     4(1,47): unexpected-start-tag-implies-end-tag
     5(1,51): adoption-agency-1.3
     6(1,74): unexpected-start-tag-implies-end-tag
     7(1,74): adoption-agency-1.3
     8(1,81): unexpected-start-tag-implies-end-tag
     9(1,85): adoption-agency-1.3
    10(1,108): unexpected-start-tag-implies-end-tag
    11(1,108): adoption-agency-1.3
    12(1,115): unexpected-start-tag-implies-end-tag
    13(1,119): adoption-agency-1.3
    14#document
    15| <!DOCTYPE html>
    16| <html>
    17|   <head>
    18|   <body>
    19|     <a>
    20|       href="#1"
    21|       <nobr>
    22|         "1"
    23|       <nobr>
    24|     <nobr>
    25|       <br>
    26|       <a>
    27|         href="#2"
    28|     <a>
    29|       href="#2"
    30|       <nobr>
    31|         "2"
    32|       <nobr>
    33|     <nobr>
    34|       <br>
    35|       <a>
    36|         href="#3"
    37|     <a>
    38|       href="#3"
    39|       <nobr>
    40|         "3"
    41|       <nobr>
    42
    43#data
    44<!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3
    45#errors
    46(1,37): unexpected-start-tag-implies-end-tag
    47(1,41): adoption-agency-1.3
    48(1,50): unexpected-start-tag-implies-end-tag
    49(1,50): adoption-agency-1.3
    50(1,57): unexpected-start-tag-implies-end-tag
    51(1,61): adoption-agency-1.3
    52(1,62): expected-closing-tag-but-got-eof
    53#document
    54| <!DOCTYPE html>
    55| <html>
    56|   <head>
    57|   <body>
    58|     <b>
    59|       <nobr>
    60|         "1"
    61|       <nobr>
    62|     <nobr>
    63|       <i>
    64|     <i>
    65|       <nobr>
    66|         "2"
    67|       <nobr>
    68|     <nobr>
    69|       "3"
    70
    71#data
    72<!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3
    73#errors
    74(1,44): foster-parenting-start-tag
    75(1,48): foster-parenting-end-tag
    76(1,48): adoption-agency-1.3
    77(1,51): foster-parenting-start-tag
    78(1,57): foster-parenting-start-tag
    79(1,57): nobr-already-in-scope
    80(1,57): adoption-agency-1.2
    81(1,58): foster-parenting-character
    82(1,64): foster-parenting-start-tag
    83(1,64): nobr-already-in-scope
    84(1,68): foster-parenting-end-tag
    85(1,68): adoption-agency-1.2
    86(1,69): foster-parenting-character
    87(1,69): eof-in-table
    88#document
    89| <!DOCTYPE html>
    90| <html>
    91|   <head>
    92|   <body>
    93|     <b>
    94|       <nobr>
    95|         "1"
    96|         <nobr>
    97|           <i>
    98|         <i>
    99|           <nobr>
   100|             "2"
   101|           <nobr>
   102|         <nobr>
   103|           "3"
   104|         <table>
   105
   106#data
   107<!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
   108#errors
   109(1,56): unexpected-end-tag
   110(1,65): unexpected-start-tag-implies-end-tag
   111(1,65): adoption-agency-1.3
   112(1,72): unexpected-start-tag-implies-end-tag
   113(1,76): adoption-agency-1.3
   114(1,77): expected-closing-tag-but-got-eof
   115#document
   116| <!DOCTYPE html>
   117| <html>
   118|   <head>
   119|   <body>
   120|     <b>
   121|       <nobr>
   122|         "1"
   123|         <table>
   124|           <tbody>
   125|             <tr>
   126|               <td>
   127|                 <nobr>
   128|                   <i>
   129|                 <i>
   130|                   <nobr>
   131|                     "2"
   132|                   <nobr>
   133|                 <nobr>
   134|                   "3"
   135
   136#data
   137<!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3
   138#errors
   139(1,42): unexpected-start-tag-implies-end-tag
   140(1,42): adoption-agency-1.3
   141(1,46): adoption-agency-1.3
   142(1,46): adoption-agency-1.3
   143(1,55): unexpected-start-tag-implies-end-tag
   144(1,55): adoption-agency-1.3
   145(1,62): unexpected-start-tag-implies-end-tag
   146(1,66): adoption-agency-1.3
   147(1,67): expected-closing-tag-but-got-eof
   148#document
   149| <!DOCTYPE html>
   150| <html>
   151|   <head>
   152|   <body>
   153|     <b>
   154|       <nobr>
   155|         "1"
   156|     <div>
   157|       <b>
   158|         <nobr>
   159|         <nobr>
   160|       <nobr>
   161|         <i>
   162|       <i>
   163|         <nobr>
   164|           "2"
   165|         <nobr>
   166|       <nobr>
   167|         "3"
   168
   169#data
   170<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3
   171#errors
   172(1,37): unexpected-start-tag-implies-end-tag
   173(1,41): adoption-agency-1.3
   174(1,55): unexpected-start-tag-implies-end-tag
   175(1,55): adoption-agency-1.3
   176(1,62): unexpected-start-tag-implies-end-tag
   177(1,66): adoption-agency-1.3
   178(1,67): expected-closing-tag-but-got-eof
   179#document
   180| <!DOCTYPE html>
   181| <html>
   182|   <head>
   183|   <body>
   184|     <b>
   185|       <nobr>
   186|         "1"
   187|       <nobr>
   188|     <div>
   189|       <nobr>
   190|         <i>
   191|       <i>
   192|         <nobr>
   193|           "2"
   194|         <nobr>
   195|       <nobr>
   196|         "3"
   197
   198#data
   199<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>
   200#errors
   201(1,37): unexpected-start-tag-implies-end-tag
   202(1,46): adoption-agency-1.3
   203(1,55): unexpected-start-tag-implies-end-tag
   204(1,55): adoption-agency-1.3
   205(1,55): expected-closing-tag-but-got-eof
   206#document
   207| <!DOCTYPE html>
   208| <html>
   209|   <head>
   210|   <body>
   211|     <b>
   212|       <nobr>
   213|         "1"
   214|       <nobr>
   215|         <ins>
   216|     <nobr>
   217|       <i>
   218|     <i>
   219|       <nobr>
   220
   221#data
   222<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2
   223#errors
   224(1,42): unexpected-start-tag-implies-end-tag
   225(1,42): adoption-agency-1.3
   226(1,46): adoption-agency-1.3
   227(1,50): expected-closing-tag-but-got-eof
   228#document
   229| <!DOCTYPE html>
   230| <html>
   231|   <head>
   232|   <body>
   233|     <b>
   234|       <nobr>
   235|         "1"
   236|         <ins>
   237|       <nobr>
   238|     <nobr>
   239|       <i>
   240|         "2"
   241
   242#data
   243<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>
   244#errors
   245(1,35): adoption-agency-1.3
   246(1,44): unexpected-start-tag-implies-end-tag
   247(1,44): adoption-agency-1.3
   248(1,49): adoption-agency-1.3
   249#document
   250| <!DOCTYPE html>
   251| <html>
   252|   <head>
   253|   <body>
   254|     <b>
   255|       "1"
   256|       <nobr>
   257|     <nobr>
   258|       <i>
   259|     <i>
   260|       <nobr>
   261|         "2"
   262
   263#data
   264<p><code x</code></p>
   265
   266#errors
   267(1,3): expected-doctype-but-got-start-tag
   268(1,11): invalid-character-in-attribute-name
   269(1,12): unexpected-character-after-solidus-in-tag
   270(1,21): unexpected-end-tag
   271(2,0): expected-closing-tag-but-got-eof
   272#new-errors
   273(1:11) unexpected-character-in-attribute-name
   274(1:13) unexpected-solidus-in-tag
   275#document
   276| <html>
   277|   <head>
   278|   <body>
   279|     <p>
   280|       <code>
   281|         code=""
   282|         x<=""
   283|     <code>
   284|       code=""
   285|       x<=""
   286|       "
   287"
   288
   289#data
   290<!DOCTYPE html><svg><foreignObject><p><i></p>a
   291#errors
   292(1,45): unexpected-end-tag
   293(1,46): expected-closing-tag-but-got-eof
   294#document
   295| <!DOCTYPE html>
   296| <html>
   297|   <head>
   298|   <body>
   299|     <svg svg>
   300|       <svg foreignObject>
   301|         <p>
   302|           <i>
   303|         <i>
   304|           "a"
   305
   306#data
   307<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
   308#errors
   309(1,60): unexpected-end-tag
   310(1,61): expected-closing-tag-but-got-eof
   311#document
   312| <!DOCTYPE html>
   313| <html>
   314|   <head>
   315|   <body>
   316|     <table>
   317|       <tbody>
   318|         <tr>
   319|           <td>
   320|             <svg svg>
   321|               <svg foreignObject>
   322|                 <p>
   323|                   <i>
   324|                 <i>
   325|                   "a"
   326
   327#data
   328<!DOCTYPE html><math><mtext><p><i></p>a
   329#errors
   330(1,38): unexpected-end-tag
   331(1,39): expected-closing-tag-but-got-eof
   332#document
   333| <!DOCTYPE html>
   334| <html>
   335|   <head>
   336|   <body>
   337|     <math math>
   338|       <math mtext>
   339|         <p>
   340|           <i>
   341|         <i>
   342|           "a"
   343
   344#data
   345<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
   346#errors
   347(1,53): unexpected-end-tag
   348(1,54): expected-closing-tag-but-got-eof
   349#document
   350| <!DOCTYPE html>
   351| <html>
   352|   <head>
   353|   <body>
   354|     <table>
   355|       <tbody>
   356|         <tr>
   357|           <td>
   358|             <math math>
   359|               <math mtext>
   360|                 <p>
   361|                   <i>
   362|                 <i>
   363|                   "a"
   364
   365#data
   366<!DOCTYPE html><body><div><!/div>a
   367#errors
   368(1,28): expected-dashes-or-doctype
   369(1,34): expected-closing-tag-but-got-eof
   370#new-errors
   371(1:29) incorrectly-opened-comment
   372#document
   373| <!DOCTYPE html>
   374| <html>
   375|   <head>
   376|   <body>
   377|     <div>
   378|       <!-- /div -->
   379|       "a"
   380
   381#data
   382<button><p><button>
   383#errors
   384Line 1 Col 8 Unexpected start tag (button). Expected DOCTYPE.
   385Line 1 Col 19 Unexpected start tag (button) implies end tag (button).
   386Line 1 Col 19 Expected closing tag. Unexpected end of file.
   387#document
   388| <html>
   389|   <head>
   390|   <body>
   391|     <button>
   392|       <p>
   393|     <button>

View as plain text