parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests20.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 <!doctype html><p><button><button>
     3 #errors
     4 (1,34): unexpected-start-tag-implies-end-tag
     5 (1,34): expected-closing-tag-but-got-eof
     6 #document
     7 | <!DOCTYPE html>
     8 | <html>
     9 |   <head>
    10 |   <body>
    11 |     <p>
    12 |       <button>
    13 |       <button>
    15 #data
    16 <!doctype html><p><button><address>
    17 #errors
    18 (1,35): expected-closing-tag-but-got-eof
    19 #document
    20 | <!DOCTYPE html>
    21 | <html>
    22 |   <head>
    23 |   <body>
    24 |     <p>
    25 |       <button>
    26 |         <address>
    28 #data
    29 <!doctype html><p><button><blockquote>
    30 #errors
    31 (1,38): expected-closing-tag-but-got-eof
    32 #document
    33 | <!DOCTYPE html>
    34 | <html>
    35 |   <head>
    36 |   <body>
    37 |     <p>
    38 |       <button>
    39 |         <blockquote>
    41 #data
    42 <!doctype html><p><button><menu>
    43 #errors
    44 (1,32): expected-closing-tag-but-got-eof
    45 #document
    46 | <!DOCTYPE html>
    47 | <html>
    48 |   <head>
    49 |   <body>
    50 |     <p>
    51 |       <button>
    52 |         <menu>
    54 #data
    55 <!doctype html><p><button><p>
    56 #errors
    57 (1,29): expected-closing-tag-but-got-eof
    58 #document
    59 | <!DOCTYPE html>
    60 | <html>
    61 |   <head>
    62 |   <body>
    63 |     <p>
    64 |       <button>
    65 |         <p>
    67 #data
    68 <!doctype html><p><button><ul>
    69 #errors
    70 (1,30): expected-closing-tag-but-got-eof
    71 #document
    72 | <!DOCTYPE html>
    73 | <html>
    74 |   <head>
    75 |   <body>
    76 |     <p>
    77 |       <button>
    78 |         <ul>
    80 #data
    81 <!doctype html><p><button><h1>
    82 #errors
    83 (1,30): expected-closing-tag-but-got-eof
    84 #document
    85 | <!DOCTYPE html>
    86 | <html>
    87 |   <head>
    88 |   <body>
    89 |     <p>
    90 |       <button>
    91 |         <h1>
    93 #data
    94 <!doctype html><p><button><h6>
    95 #errors
    96 (1,30): expected-closing-tag-but-got-eof
    97 #document
    98 | <!DOCTYPE html>
    99 | <html>
   100 |   <head>
   101 |   <body>
   102 |     <p>
   103 |       <button>
   104 |         <h6>
   106 #data
   107 <!doctype html><p><button><listing>
   108 #errors
   109 (1,35): expected-closing-tag-but-got-eof
   110 #document
   111 | <!DOCTYPE html>
   112 | <html>
   113 |   <head>
   114 |   <body>
   115 |     <p>
   116 |       <button>
   117 |         <listing>
   119 #data
   120 <!doctype html><p><button><pre>
   121 #errors
   122 (1,31): expected-closing-tag-but-got-eof
   123 #document
   124 | <!DOCTYPE html>
   125 | <html>
   126 |   <head>
   127 |   <body>
   128 |     <p>
   129 |       <button>
   130 |         <pre>
   132 #data
   133 <!doctype html><p><button><form>
   134 #errors
   135 (1,32): expected-closing-tag-but-got-eof
   136 #document
   137 | <!DOCTYPE html>
   138 | <html>
   139 |   <head>
   140 |   <body>
   141 |     <p>
   142 |       <button>
   143 |         <form>
   145 #data
   146 <!doctype html><p><button><li>
   147 #errors
   148 (1,30): expected-closing-tag-but-got-eof
   149 #document
   150 | <!DOCTYPE html>
   151 | <html>
   152 |   <head>
   153 |   <body>
   154 |     <p>
   155 |       <button>
   156 |         <li>
   158 #data
   159 <!doctype html><p><button><dd>
   160 #errors
   161 (1,30): expected-closing-tag-but-got-eof
   162 #document
   163 | <!DOCTYPE html>
   164 | <html>
   165 |   <head>
   166 |   <body>
   167 |     <p>
   168 |       <button>
   169 |         <dd>
   171 #data
   172 <!doctype html><p><button><dt>
   173 #errors
   174 (1,30): expected-closing-tag-but-got-eof
   175 #document
   176 | <!DOCTYPE html>
   177 | <html>
   178 |   <head>
   179 |   <body>
   180 |     <p>
   181 |       <button>
   182 |         <dt>
   184 #data
   185 <!doctype html><p><button><plaintext>
   186 #errors
   187 (1,37): expected-closing-tag-but-got-eof
   188 #document
   189 | <!DOCTYPE html>
   190 | <html>
   191 |   <head>
   192 |   <body>
   193 |     <p>
   194 |       <button>
   195 |         <plaintext>
   197 #data
   198 <!doctype html><p><button><table>
   199 #errors
   200 (1,33): eof-in-table
   201 #document
   202 | <!DOCTYPE html>
   203 | <html>
   204 |   <head>
   205 |   <body>
   206 |     <p>
   207 |       <button>
   208 |         <table>
   210 #data
   211 <!doctype html><p><button><hr>
   212 #errors
   213 (1,30): expected-closing-tag-but-got-eof
   214 #document
   215 | <!DOCTYPE html>
   216 | <html>
   217 |   <head>
   218 |   <body>
   219 |     <p>
   220 |       <button>
   221 |         <hr>
   223 #data
   224 <!doctype html><p><button><xmp>
   225 #errors
   226 (1,31): expected-named-closing-tag-but-got-eof
   227 (1,31): expected-closing-tag-but-got-eof
   228 #document
   229 | <!DOCTYPE html>
   230 | <html>
   231 |   <head>
   232 |   <body>
   233 |     <p>
   234 |       <button>
   235 |         <xmp>
   237 #data
   238 <!doctype html><p><button></p>
   239 #errors
   240 (1,30): unexpected-end-tag
   241 (1,30): expected-closing-tag-but-got-eof
   242 #document
   243 | <!DOCTYPE html>
   244 | <html>
   245 |   <head>
   246 |   <body>
   247 |     <p>
   248 |       <button>
   249 |         <p>
   251 #data
   252 <!doctype html><address><button></address>a
   253 #errors
   254 (1,42): end-tag-too-early
   255 #document
   256 | <!DOCTYPE html>
   257 | <html>
   258 |   <head>
   259 |   <body>
   260 |     <address>
   261 |       <button>
   262 |     "a"
   264 #data
   265 <!doctype html><address><button></address>a
   266 #errors
   267 (1,42): end-tag-too-early
   268 #document
   269 | <!DOCTYPE html>
   270 | <html>
   271 |   <head>
   272 |   <body>
   273 |     <address>
   274 |       <button>
   275 |     "a"
   277 #data
   278 <p><table></p>
   279 #errors
   280 (1,3): expected-doctype-but-got-start-tag
   281 (1,14): unexpected-end-tag-implies-table-voodoo
   282 (1,14): unexpected-end-tag
   283 (1,14): eof-in-table
   284 #document
   285 | <html>
   286 |   <head>
   287 |   <body>
   288 |     <p>
   289 |       <p>
   290 |       <table>
   292 #data
   293 <!doctype html><svg>
   294 #errors
   295 (1,20): expected-closing-tag-but-got-eof
   296 #document
   297 | <!DOCTYPE html>
   298 | <html>
   299 |   <head>
   300 |   <body>
   301 |     <svg svg>
   303 #data
   304 <!doctype html><p><figcaption>
   305 #errors
   306 (1,30): expected-closing-tag-but-got-eof
   307 #document
   308 | <!DOCTYPE html>
   309 | <html>
   310 |   <head>
   311 |   <body>
   312 |     <p>
   313 |     <figcaption>
   315 #data
   316 <!doctype html><p><summary>
   317 #errors
   318 (1,27): expected-closing-tag-but-got-eof
   319 #document
   320 | <!DOCTYPE html>
   321 | <html>
   322 |   <head>
   323 |   <body>
   324 |     <p>
   325 |     <summary>
   327 #data
   328 <!doctype html><form><table><form>
   329 #errors
   330 (1,34): unexpected-form-in-table
   331 (1,34): eof-in-table
   332 #document
   333 | <!DOCTYPE html>
   334 | <html>
   335 |   <head>
   336 |   <body>
   337 |     <form>
   338 |       <table>
   340 #data
   341 <!doctype html><table><form><form>
   342 #errors
   343 (1,28): unexpected-form-in-table
   344 (1,34): unexpected-form-in-table
   345 (1,34): eof-in-table
   346 #document
   347 | <!DOCTYPE html>
   348 | <html>
   349 |   <head>
   350 |   <body>
   351 |     <table>
   352 |       <form>
   354 #data
   355 <!doctype html><table><form></table><form>
   356 #errors
   357 (1,28): unexpected-form-in-table
   358 (1,42): unexpected-start-tag
   359 #document
   360 | <!DOCTYPE html>
   361 | <html>
   362 |   <head>
   363 |   <body>
   364 |     <table>
   365 |       <form>
   367 #data
   368 <!doctype html><svg><foreignObject><p>
   369 #errors
   370 (1,38): expected-closing-tag-but-got-eof
   371 #document
   372 | <!DOCTYPE html>
   373 | <html>
   374 |   <head>
   375 |   <body>
   376 |     <svg svg>
   377 |       <svg foreignObject>
   378 |         <p>
   380 #data
   381 <!doctype html><svg><title>abc
   382 #errors
   383 (1,30): expected-closing-tag-but-got-eof
   384 #document
   385 | <!DOCTYPE html>
   386 | <html>
   387 |   <head>
   388 |   <body>
   389 |     <svg svg>
   390 |       <svg title>
   391 |         "abc"
   393 #data
   394 <option><span><option>
   395 #errors
   396 (1,8): expected-doctype-but-got-start-tag
   397 (1,22): expected-closing-tag-but-got-eof
   398 #document
   399 | <html>
   400 |   <head>
   401 |   <body>
   402 |     <option>
   403 |       <span>
   404 |         <option>
   406 #data
   407 <option><option>
   408 #errors
   409 (1,8): expected-doctype-but-got-start-tag
   410 (1,16): expected-closing-tag-but-got-eof
   411 #document
   412 | <html>
   413 |   <head>
   414 |   <body>
   415 |     <option>
   416 |     <option>
   418 #data
   419 <math><annotation-xml><div>
   420 #errors
   421 (1,6): expected-doctype-but-got-start-tag
   422 (1,27): unexpected-html-element-in-foreign-content
   423 (1,27): expected-closing-tag-but-got-eof
   424 #document
   425 | <html>
   426 |   <head>
   427 |   <body>
   428 |     <math math>
   429 |       <math annotation-xml>
   430 |     <div>
   432 #data
   433 <math><annotation-xml encoding="application/svg+xml"><div>
   434 #errors
   435 (1,6): expected-doctype-but-got-start-tag
   436 (1,58): unexpected-html-element-in-foreign-content
   437 (1,58): expected-closing-tag-but-got-eof
   438 #document
   439 | <html>
   440 |   <head>
   441 |   <body>
   442 |     <math math>
   443 |       <math annotation-xml>
   444 |         encoding="application/svg+xml"
   445 |     <div>
   447 #data
   448 <math><annotation-xml encoding="application/xhtml+xml"><div>
   449 #errors
   450 (1,6): expected-doctype-but-got-start-tag
   451 (1,60): expected-closing-tag-but-got-eof
   452 #document
   453 | <html>
   454 |   <head>
   455 |   <body>
   456 |     <math math>
   457 |       <math annotation-xml>
   458 |         encoding="application/xhtml+xml"
   459 |         <div>
   461 #data
   462 <math><annotation-xml encoding="aPPlication/xhtmL+xMl"><div>
   463 #errors
   464 (1,6): expected-doctype-but-got-start-tag
   465 (1,60): expected-closing-tag-but-got-eof
   466 #document
   467 | <html>
   468 |   <head>
   469 |   <body>
   470 |     <math math>
   471 |       <math annotation-xml>
   472 |         encoding="aPPlication/xhtmL+xMl"
   473 |         <div>
   475 #data
   476 <math><annotation-xml encoding="text/html"><div>
   477 #errors
   478 (1,6): expected-doctype-but-got-start-tag
   479 (1,48): expected-closing-tag-but-got-eof
   480 #document
   481 | <html>
   482 |   <head>
   483 |   <body>
   484 |     <math math>
   485 |       <math annotation-xml>
   486 |         encoding="text/html"
   487 |         <div>
   489 #data
   490 <math><annotation-xml encoding="Text/htmL"><div>
   491 #errors
   492 (1,6): expected-doctype-but-got-start-tag
   493 (1,48): expected-closing-tag-but-got-eof
   494 #document
   495 | <html>
   496 |   <head>
   497 |   <body>
   498 |     <math math>
   499 |       <math annotation-xml>
   500 |         encoding="Text/htmL"
   501 |         <div>
   503 #data
   504 <math><annotation-xml encoding=" text/html "><div>
   505 #errors
   506 (1,6): expected-doctype-but-got-start-tag
   507 (1,50): unexpected-html-element-in-foreign-content
   508 (1,50): expected-closing-tag-but-got-eof
   509 #document
   510 | <html>
   511 |   <head>
   512 |   <body>
   513 |     <math math>
   514 |       <math annotation-xml>
   515 |         encoding=" text/html "
   516 |     <div>

mercurial