parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption01.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #data
     2 <a><p></a></p>
     3 #errors
     4 (1,3): expected-doctype-but-got-start-tag
     5 (1,10): adoption-agency-1.3
     6 #document
     7 | <html>
     8 |   <head>
     9 |   <body>
    10 |     <a>
    11 |     <p>
    12 |       <a>
    14 #data
    15 <a>1<p>2</a>3</p>
    16 #errors
    17 (1,3): expected-doctype-but-got-start-tag
    18 (1,12): adoption-agency-1.3
    19 #document
    20 | <html>
    21 |   <head>
    22 |   <body>
    23 |     <a>
    24 |       "1"
    25 |     <p>
    26 |       <a>
    27 |         "2"
    28 |       "3"
    30 #data
    31 <a>1<button>2</a>3</button>
    32 #errors
    33 (1,3): expected-doctype-but-got-start-tag
    34 (1,17): adoption-agency-1.3
    35 #document
    36 | <html>
    37 |   <head>
    38 |   <body>
    39 |     <a>
    40 |       "1"
    41 |     <button>
    42 |       <a>
    43 |         "2"
    44 |       "3"
    46 #data
    47 <a>1<b>2</a>3</b>
    48 #errors
    49 (1,3): expected-doctype-but-got-start-tag
    50 (1,12): adoption-agency-1.3
    51 #document
    52 | <html>
    53 |   <head>
    54 |   <body>
    55 |     <a>
    56 |       "1"
    57 |       <b>
    58 |         "2"
    59 |     <b>
    60 |       "3"
    62 #data
    63 <a>1<div>2<div>3</a>4</div>5</div>
    64 #errors
    65 (1,3): expected-doctype-but-got-start-tag
    66 (1,20): adoption-agency-1.3
    67 (1,20): adoption-agency-1.3
    68 #document
    69 | <html>
    70 |   <head>
    71 |   <body>
    72 |     <a>
    73 |       "1"
    74 |     <div>
    75 |       <a>
    76 |         "2"
    77 |       <div>
    78 |         <a>
    79 |           "3"
    80 |         "4"
    81 |       "5"
    83 #data
    84 <table><a>1<p>2</a>3</p>
    85 #errors
    86 (1,7): expected-doctype-but-got-start-tag
    87 (1,10): unexpected-start-tag-implies-table-voodoo
    88 (1,11): unexpected-character-implies-table-voodoo
    89 (1,14): unexpected-start-tag-implies-table-voodoo
    90 (1,15): unexpected-character-implies-table-voodoo
    91 (1,19): unexpected-end-tag-implies-table-voodoo
    92 (1,19): adoption-agency-1.3
    93 (1,20): unexpected-character-implies-table-voodoo
    94 (1,24): unexpected-end-tag-implies-table-voodoo
    95 (1,24): eof-in-table
    96 #document
    97 | <html>
    98 |   <head>
    99 |   <body>
   100 |     <a>
   101 |       "1"
   102 |     <p>
   103 |       <a>
   104 |         "2"
   105 |       "3"
   106 |     <table>
   108 #data
   109 <b><b><a><p></a>
   110 #errors
   111 (1,3): expected-doctype-but-got-start-tag
   112 (1,16): adoption-agency-1.3
   113 (1,16): expected-closing-tag-but-got-eof
   114 #document
   115 | <html>
   116 |   <head>
   117 |   <body>
   118 |     <b>
   119 |       <b>
   120 |         <a>
   121 |         <p>
   122 |           <a>
   124 #data
   125 <b><a><b><p></a>
   126 #errors
   127 (1,3): expected-doctype-but-got-start-tag
   128 (1,16): adoption-agency-1.3
   129 (1,16): expected-closing-tag-but-got-eof
   130 #document
   131 | <html>
   132 |   <head>
   133 |   <body>
   134 |     <b>
   135 |       <a>
   136 |         <b>
   137 |       <b>
   138 |         <p>
   139 |           <a>
   141 #data
   142 <a><b><b><p></a>
   143 #errors
   144 (1,3): expected-doctype-but-got-start-tag
   145 (1,16): adoption-agency-1.3
   146 (1,16): expected-closing-tag-but-got-eof
   147 #document
   148 | <html>
   149 |   <head>
   150 |   <body>
   151 |     <a>
   152 |       <b>
   153 |         <b>
   154 |     <b>
   155 |       <b>
   156 |         <p>
   157 |           <a>
   159 #data
   160 <p>1<s id="A">2<b id="B">3</p>4</s>5</b>
   161 #errors
   162 (1,3): expected-doctype-but-got-start-tag
   163 (1,30): unexpected-end-tag
   164 (1,35): adoption-agency-1.3
   165 #document
   166 | <html>
   167 |   <head>
   168 |   <body>
   169 |     <p>
   170 |       "1"
   171 |       <s>
   172 |         id="A"
   173 |         "2"
   174 |         <b>
   175 |           id="B"
   176 |           "3"
   177 |     <s>
   178 |       id="A"
   179 |       <b>
   180 |         id="B"
   181 |         "4"
   182 |     <b>
   183 |       id="B"
   184 |       "5"
   186 #data
   187 <table><a>1<td>2</td>3</table>
   188 #errors
   189 (1,7): expected-doctype-but-got-start-tag
   190 (1,10): unexpected-start-tag-implies-table-voodoo
   191 (1,11): unexpected-character-implies-table-voodoo
   192 (1,15): unexpected-cell-in-table-body
   193 (1,30): unexpected-implied-end-tag-in-table-view
   194 #document
   195 | <html>
   196 |   <head>
   197 |   <body>
   198 |     <a>
   199 |       "1"
   200 |     <a>
   201 |       "3"
   202 |     <table>
   203 |       <tbody>
   204 |         <tr>
   205 |           <td>
   206 |             "2"
   208 #data
   209 <table>A<td>B</td>C</table>
   210 #errors
   211 (1,7): expected-doctype-but-got-start-tag
   212 (1,8): unexpected-character-implies-table-voodoo
   213 (1,12): unexpected-cell-in-table-body
   214 (1,22): unexpected-character-implies-table-voodoo
   215 #document
   216 | <html>
   217 |   <head>
   218 |   <body>
   219 |     "AC"
   220 |     <table>
   221 |       <tbody>
   222 |         <tr>
   223 |           <td>
   224 |             "B"
   226 #data
   227 <a><svg><tr><input></a>
   228 #errors
   229 (1,3): expected-doctype-but-got-start-tag
   230 (1,23): unexpected-end-tag
   231 (1,23): adoption-agency-1.3
   232 #document
   233 | <html>
   234 |   <head>
   235 |   <body>
   236 |     <a>
   237 |       <svg svg>
   238 |         <svg tr>
   239 |           <svg input>
   241 #data
   242 <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
   243 #errors
   244 (1,5): expected-doctype-but-got-start-tag
   245 (1,65): adoption-agency-1.3
   246 (1,65): adoption-agency-1.3
   247 (1,65): adoption-agency-1.3
   248 (1,65): adoption-agency-1.3
   249 (1,65): adoption-agency-1.3
   250 (1,65): adoption-agency-1.3
   251 (1,65): adoption-agency-1.3
   252 (1,65): adoption-agency-1.3
   253 (1,65): expected-closing-tag-but-got-eof
   254 #document
   255 | <html>
   256 |   <head>
   257 |   <body>
   258 |     <div>
   259 |       <a>
   260 |         <b>
   261 |       <b>
   262 |         <div>
   263 |           <a>
   264 |           <div>
   265 |             <a>
   266 |             <div>
   267 |               <a>
   268 |               <div>
   269 |                 <a>
   270 |                 <div>
   271 |                   <a>
   272 |                   <div>
   273 |                     <a>
   274 |                     <div>
   275 |                       <a>
   276 |                       <div>
   277 |                         <a>
   278 |                           <div>
   279 |                             <div>
   281 #data
   282 <div><a><b><u><i><code><div></a>
   283 #errors
   284 (1,5): expected-doctype-but-got-start-tag
   285 (1,32): adoption-agency-1.3
   286 (1,32): expected-closing-tag-but-got-eof
   287 #document
   288 | <html>
   289 |   <head>
   290 |   <body>
   291 |     <div>
   292 |       <a>
   293 |         <b>
   294 |           <u>
   295 |             <i>
   296 |               <code>
   297 |       <u>
   298 |         <i>
   299 |           <code>
   300 |             <div>
   301 |               <a>
   303 #data
   304 <b><b><b><b>x</b></b></b></b>y
   305 #errors
   306 (1,3): expected-doctype-but-got-start-tag
   307 #document
   308 | <html>
   309 |   <head>
   310 |   <body>
   311 |     <b>
   312 |       <b>
   313 |         <b>
   314 |           <b>
   315 |             "x"
   316 |     "y"
   318 #data
   319 <p><b><b><b><b><p>x
   320 #errors
   321 (1,3): expected-doctype-but-got-start-tag
   322 (1,18): unexpected-end-tag
   323 (1,19): expected-closing-tag-but-got-eof
   324 #document
   325 | <html>
   326 |   <head>
   327 |   <body>
   328 |     <p>
   329 |       <b>
   330 |         <b>
   331 |           <b>
   332 |             <b>
   333 |     <p>
   334 |       <b>
   335 |         <b>
   336 |           <b>
   337 |             "x"

mercurial