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

     1  #data
     2  <div>
     3  <div></div>
     4  </span>x
     5  #errors
     6  (1,5): expected-doctype-but-got-start-tag
     7  (3,7): unexpected-end-tag
     8  (3,8): expected-closing-tag-but-got-eof
     9  #document
    10  | <html>
    11  |   <head>
    12  |   <body>
    13  |     <div>
    14  |       "
    15  "
    16  |       <div>
    17  |       "
    18  x"
    19  
    20  #data
    21  <div>x<div></div>
    22  </span>x
    23  #errors
    24  (1,5): expected-doctype-but-got-start-tag
    25  (2,7): unexpected-end-tag
    26  (2,8): expected-closing-tag-but-got-eof
    27  #document
    28  | <html>
    29  |   <head>
    30  |   <body>
    31  |     <div>
    32  |       "x"
    33  |       <div>
    34  |       "
    35  x"
    36  
    37  #data
    38  <div>x<div></div>x</span>x
    39  #errors
    40  (1,5): expected-doctype-but-got-start-tag
    41  (1,25): unexpected-end-tag
    42  (1,26): expected-closing-tag-but-got-eof
    43  #document
    44  | <html>
    45  |   <head>
    46  |   <body>
    47  |     <div>
    48  |       "x"
    49  |       <div>
    50  |       "xx"
    51  
    52  #data
    53  <div>x<div></div>y</span>z
    54  #errors
    55  (1,5): expected-doctype-but-got-start-tag
    56  (1,25): unexpected-end-tag
    57  (1,26): expected-closing-tag-but-got-eof
    58  #document
    59  | <html>
    60  |   <head>
    61  |   <body>
    62  |     <div>
    63  |       "x"
    64  |       <div>
    65  |       "yz"
    66  
    67  #data
    68  <table><div>x<div></div>x</span>x
    69  #errors
    70  (1,7): expected-doctype-but-got-start-tag
    71  (1,12): foster-parenting-start-tag
    72  (1,13): foster-parenting-character
    73  (1,18): foster-parenting-start-tag
    74  (1,24): foster-parenting-end-tag
    75  (1,25): foster-parenting-start-tag
    76  (1,32): foster-parenting-end-tag
    77  (1,32): unexpected-end-tag
    78  (1,33): foster-parenting-character
    79  (1,33): eof-in-table
    80  #document
    81  | <html>
    82  |   <head>
    83  |   <body>
    84  |     <div>
    85  |       "x"
    86  |       <div>
    87  |       "xx"
    88  |     <table>
    89  
    90  #data
    91  <table><li><li></table>
    92  #errors
    93  #document
    94  | <html>
    95  |   <head>
    96  |   <body>
    97  |     <li>
    98  |     <li>
    99  |     <table>
   100  
   101  #data
   102  x<table>x
   103  #errors
   104  (1,1): expected-doctype-but-got-chars
   105  (1,9): foster-parenting-character
   106  (1,9): eof-in-table
   107  #document
   108  | <html>
   109  |   <head>
   110  |   <body>
   111  |     "xx"
   112  |     <table>
   113  
   114  #data
   115  x<table><table>x
   116  #errors
   117  (1,1): expected-doctype-but-got-chars
   118  (1,15): unexpected-start-tag-implies-end-tag
   119  (1,16): foster-parenting-character
   120  (1,16): eof-in-table
   121  #document
   122  | <html>
   123  |   <head>
   124  |   <body>
   125  |     "x"
   126  |     <table>
   127  |     "x"
   128  |     <table>
   129  
   130  #data
   131  <b>a<div></div><div></b>y
   132  #errors
   133  (1,3): expected-doctype-but-got-start-tag
   134  (1,24): adoption-agency-1.3
   135  (1,25): expected-closing-tag-but-got-eof
   136  #document
   137  | <html>
   138  |   <head>
   139  |   <body>
   140  |     <b>
   141  |       "a"
   142  |       <div>
   143  |     <div>
   144  |       <b>
   145  |       "y"
   146  
   147  #data
   148  <a><div><p></a>
   149  #errors
   150  (1,3): expected-doctype-but-got-start-tag
   151  (1,15): adoption-agency-1.3
   152  (1,15): adoption-agency-1.3
   153  (1,15): expected-closing-tag-but-got-eof
   154  #document
   155  | <html>
   156  |   <head>
   157  |   <body>
   158  |     <a>
   159  |     <div>
   160  |       <a>
   161  |       <p>
   162  |         <a>