...

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

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

     1#data
     2<foo bar=qux/>
     3#errors
     4(1,14): expected-doctype-but-got-start-tag
     5(1,14): expected-closing-tag-but-got-eof
     6#document
     7| <html>
     8|   <head>
     9|   <body>
    10|     <foo>
    11|       bar="qux/"
    12
    13#data
    14<p id="status"><noscript><strong>A</strong></noscript><span>B</span></p>
    15#errors
    16(1,15): expected-doctype-but-got-start-tag
    17#script-on
    18#document
    19| <html>
    20|   <head>
    21|   <body>
    22|     <p>
    23|       id="status"
    24|       <noscript>
    25|         "<strong>A</strong>"
    26|       <span>
    27|         "B"
    28
    29#data
    30<p id="status"><noscript><strong>A</strong></noscript><span>B</span></p>
    31#errors
    32(1,15): expected-doctype-but-got-start-tag
    33#script-off
    34#document
    35| <html>
    36|   <head>
    37|   <body>
    38|     <p>
    39|       id="status"
    40|       <noscript>
    41|         <strong>
    42|           "A"
    43|       <span>
    44|         "B"
    45
    46#data
    47<div><sarcasm><div></div></sarcasm></div>
    48#errors
    49(1,5): expected-doctype-but-got-start-tag
    50#document
    51| <html>
    52|   <head>
    53|   <body>
    54|     <div>
    55|       <sarcasm>
    56|         <div>
    57
    58#data
    59<html><body><img src="" border="0" alt="><div>A</div></body></html>
    60#errors
    61(1,6): expected-doctype-but-got-start-tag
    62(1,67): eof-in-attribute-value-double-quote
    63#new-errors
    64(1:68) eof-in-tag
    65#document
    66| <html>
    67|   <head>
    68|   <body>
    69
    70#data
    71<table><td></tbody>A
    72#errors
    73(1,7): expected-doctype-but-got-start-tag
    74(1,11): unexpected-cell-in-table-body
    75(1,20): foster-parenting-character
    76(1,20): eof-in-table
    77#document
    78| <html>
    79|   <head>
    80|   <body>
    81|     "A"
    82|     <table>
    83|       <tbody>
    84|         <tr>
    85|           <td>
    86
    87#data
    88<table><td></thead>A
    89#errors
    90(1,7): expected-doctype-but-got-start-tag
    91(1,11): unexpected-cell-in-table-body
    92(1,19): XXX-undefined-error
    93(1,20): expected-closing-tag-but-got-eof
    94#document
    95| <html>
    96|   <head>
    97|   <body>
    98|     <table>
    99|       <tbody>
   100|         <tr>
   101|           <td>
   102|             "A"
   103
   104#data
   105<table><td></tfoot>A
   106#errors
   107(1,7): expected-doctype-but-got-start-tag
   108(1,11): unexpected-cell-in-table-body
   109(1,19): XXX-undefined-error
   110(1,20): expected-closing-tag-but-got-eof
   111#document
   112| <html>
   113|   <head>
   114|   <body>
   115|     <table>
   116|       <tbody>
   117|         <tr>
   118|           <td>
   119|             "A"
   120
   121#data
   122<table><thead><td></tbody>A
   123#errors
   124(1,7): expected-doctype-but-got-start-tag
   125(1,18): unexpected-cell-in-table-body
   126(1,26): XXX-undefined-error
   127(1,27): expected-closing-tag-but-got-eof
   128#document
   129| <html>
   130|   <head>
   131|   <body>
   132|     <table>
   133|       <thead>
   134|         <tr>
   135|           <td>
   136|             "A"
   137
   138#data
   139<legend>test</legend>
   140#errors
   141#document
   142| <html>
   143|   <head>
   144|   <body>
   145|     <legend>
   146|       "test"
   147
   148#data
   149<table><input>
   150#errors
   151#document
   152| <html>
   153|   <head>
   154|   <body>
   155|     <input>
   156|     <table>
   157
   158#data
   159<b><em><foo><foo><aside></b>
   160#errors
   161#document
   162| <html>
   163|   <head>
   164|   <body>
   165|     <b>
   166|       <em>
   167|         <foo>
   168|           <foo>
   169|     <em>
   170|       <aside>
   171|         <b>
   172
   173#data
   174<b><em><foo><foo><aside></b></em>
   175#errors
   176#document
   177| <html>
   178|   <head>
   179|   <body>
   180|     <b>
   181|       <em>
   182|         <foo>
   183|           <foo>
   184|     <em>
   185|     <aside>
   186|       <em>
   187|         <b>
   188
   189#data
   190<b><em><foo><foo><foo><aside></b>
   191#errors
   192#document
   193| <html>
   194|   <head>
   195|   <body>
   196|     <b>
   197|       <em>
   198|         <foo>
   199|           <foo>
   200|             <foo>
   201|     <aside>
   202|       <b>
   203
   204#data
   205<b><em><foo><foo><foo><aside></b></em>
   206#errors
   207#document
   208| <html>
   209|   <head>
   210|   <body>
   211|     <b>
   212|       <em>
   213|         <foo>
   214|           <foo>
   215|             <foo>
   216|     <aside>
   217|       <b>
   218
   219#data
   220<b><em><foo><foo><foo><foo><foo><foo><foo><foo><foo><foo><aside></b></em>
   221#errors
   222#document-fragment
   223div
   224#document
   225| <b>
   226|   <em>
   227|     <foo>
   228|       <foo>
   229|         <foo>
   230|           <foo>
   231|             <foo>
   232|               <foo>
   233|                 <foo>
   234|                   <foo>
   235|                     <foo>
   236|                       <foo>
   237| <aside>
   238|   <b>
   239
   240#data
   241<b><em><foo><foob><foob><foob><foob><fooc><fooc><fooc><fooc><food><aside></b></em>
   242#errors
   243#document-fragment
   244div
   245#document
   246| <b>
   247|   <em>
   248|     <foo>
   249|       <foob>
   250|         <foob>
   251|           <foob>
   252|             <foob>
   253|               <fooc>
   254|                 <fooc>
   255|                   <fooc>
   256|                     <fooc>
   257|                       <food>
   258| <aside>
   259|   <b>
   260
   261#data
   262<option><XH<optgroup></optgroup>
   263#errors
   264#document-fragment
   265select
   266#document
   267| <option>
   268
   269#data
   270<svg><foreignObject><div>foo</div><plaintext></foreignObject></svg><div>bar</div>
   271#errors
   272#document
   273| <html>
   274|   <head>
   275|   <body>
   276|     <svg svg>
   277|       <svg foreignObject>
   278|         <div>
   279|           "foo"
   280|         <plaintext>
   281|           "</foreignObject></svg><div>bar</div>"
   282
   283#data
   284<svg><foreignObject></foreignObject><title></svg>foo
   285#errors
   286#document
   287| <html>
   288|   <head>
   289|   <body>
   290|     <svg svg>
   291|       <svg foreignObject>
   292|       <svg title>
   293|     "foo"
   294
   295#data
   296</foreignObject><plaintext><div>foo</div>
   297#errors
   298#document
   299| <html>
   300|   <head>
   301|   <body>
   302|     <plaintext>
   303|       "<div>foo</div>"

View as plain text