parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests7.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><body><title>X</title>
     3 #errors
     4 #document
     5 | <!DOCTYPE html>
     6 | <html>
     7 |   <head>
     8 |   <body>
     9 |     <title>
    10 |       "X"
    12 #data
    13 <!doctype html><table><title>X</title></table>
    14 #errors
    15 (1,29): unexpected-start-tag-implies-table-voodoo
    16 #document
    17 | <!DOCTYPE html>
    18 | <html>
    19 |   <head>
    20 |   <body>
    21 |     <title>
    22 |       "X"
    23 |     <table>
    25 #data
    26 <!doctype html><head></head><title>X</title>
    27 #errors
    28 (1,35): unexpected-start-tag-out-of-my-head
    29 #document
    30 | <!DOCTYPE html>
    31 | <html>
    32 |   <head>
    33 |     <title>
    34 |       "X"
    35 |   <body>
    37 #data
    38 <!doctype html></head><title>X</title>
    39 #errors
    40 (1,29): unexpected-start-tag-out-of-my-head
    41 #document
    42 | <!DOCTYPE html>
    43 | <html>
    44 |   <head>
    45 |     <title>
    46 |       "X"
    47 |   <body>
    49 #data
    50 <!doctype html><table><meta></table>
    51 #errors
    52 (1,28): unexpected-start-tag-implies-table-voodoo
    53 #document
    54 | <!DOCTYPE html>
    55 | <html>
    56 |   <head>
    57 |   <body>
    58 |     <meta>
    59 |     <table>
    61 #data
    62 <!doctype html><table>X<tr><td><table> <meta></table></table>
    63 #errors
    64 (1,45): unexpected-start-tag-implies-table-voodoo
    65 #document
    66 | <!DOCTYPE html>
    67 | <html>
    68 |   <head>
    69 |   <body>
    70 |     "X"
    71 |     <table>
    72 |       <tbody>
    73 |         <tr>
    74 |           <td>
    75 |             <meta>
    76 |             <table>
    77 |               " "
    79 #data
    80 <!doctype html><html> <head>
    81 #errors
    82 #document
    83 | <!DOCTYPE html>
    84 | <html>
    85 |   <head>
    86 |   <body>
    88 #data
    89 <!doctype html> <head>
    90 #errors
    91 #document
    92 | <!DOCTYPE html>
    93 | <html>
    94 |   <head>
    95 |   <body>
    97 #data
    98 <!doctype html><table><style> <tr>x </style> </table>
    99 #errors
   100 #document
   101 | <!DOCTYPE html>
   102 | <html>
   103 |   <head>
   104 |   <body>
   105 |     <table>
   106 |       <style>
   107 |         " <tr>x "
   108 |       " "
   110 #data
   111 <!doctype html><table><TBODY><script> <tr>x </script> </table>
   112 #errors
   113 #document
   114 | <!DOCTYPE html>
   115 | <html>
   116 |   <head>
   117 |   <body>
   118 |     <table>
   119 |       <tbody>
   120 |         <script>
   121 |           " <tr>x "
   122 |         " "
   124 #data
   125 <!doctype html><p><applet><p>X</p></applet>
   126 #errors
   127 #document
   128 | <!DOCTYPE html>
   129 | <html>
   130 |   <head>
   131 |   <body>
   132 |     <p>
   133 |       <applet>
   134 |         <p>
   135 |           "X"
   137 #data
   138 <!doctype html><listing>
   139 X</listing>
   140 #errors
   141 #document
   142 | <!DOCTYPE html>
   143 | <html>
   144 |   <head>
   145 |   <body>
   146 |     <listing>
   147 |       "X"
   149 #data
   150 <!doctype html><select><input>X
   151 #errors
   152 (1,30): unexpected-input-in-select
   153 #document
   154 | <!DOCTYPE html>
   155 | <html>
   156 |   <head>
   157 |   <body>
   158 |     <select>
   159 |     <input>
   160 |     "X"
   162 #data
   163 <!doctype html><select><select>X
   164 #errors
   165 (1,31): unexpected-select-in-select
   166 #document
   167 | <!DOCTYPE html>
   168 | <html>
   169 |   <head>
   170 |   <body>
   171 |     <select>
   172 |     "X"
   174 #data
   175 <!doctype html><table><input type=hidDEN></table>
   176 #errors
   177 (1,41): unexpected-hidden-input-in-table
   178 #document
   179 | <!DOCTYPE html>
   180 | <html>
   181 |   <head>
   182 |   <body>
   183 |     <table>
   184 |       <input>
   185 |         type="hidDEN"
   187 #data
   188 <!doctype html><table>X<input type=hidDEN></table>
   189 #errors
   190 (1,23): foster-parenting-character
   191 (1,42): unexpected-hidden-input-in-table
   192 #document
   193 | <!DOCTYPE html>
   194 | <html>
   195 |   <head>
   196 |   <body>
   197 |     "X"
   198 |     <table>
   199 |       <input>
   200 |         type="hidDEN"
   202 #data
   203 <!doctype html><table>  <input type=hidDEN></table>
   204 #errors
   205 (1,43): unexpected-hidden-input-in-table
   206 #document
   207 | <!DOCTYPE html>
   208 | <html>
   209 |   <head>
   210 |   <body>
   211 |     <table>
   212 |       "  "
   213 |       <input>
   214 |         type="hidDEN"
   216 #data
   217 <!doctype html><table>  <input type='hidDEN'></table>
   218 #errors
   219 (1,45): unexpected-hidden-input-in-table
   220 #document
   221 | <!DOCTYPE html>
   222 | <html>
   223 |   <head>
   224 |   <body>
   225 |     <table>
   226 |       "  "
   227 |       <input>
   228 |         type="hidDEN"
   230 #data
   231 <!doctype html><table><input type=" hidden"><input type=hidDEN></table>
   232 #errors
   233 (1,44): unexpected-start-tag-implies-table-voodoo
   234 (1,63): unexpected-hidden-input-in-table
   235 #document
   236 | <!DOCTYPE html>
   237 | <html>
   238 |   <head>
   239 |   <body>
   240 |     <input>
   241 |       type=" hidden"
   242 |     <table>
   243 |       <input>
   244 |         type="hidDEN"
   246 #data
   247 <!doctype html><table><select>X<tr>
   248 #errors
   249 (1,30): unexpected-start-tag-implies-table-voodoo
   250 (1,35): unexpected-table-element-start-tag-in-select-in-table
   251 (1,35): eof-in-table
   252 #document
   253 | <!DOCTYPE html>
   254 | <html>
   255 |   <head>
   256 |   <body>
   257 |     <select>
   258 |       "X"
   259 |     <table>
   260 |       <tbody>
   261 |         <tr>
   263 #data
   264 <!doctype html><select>X</select>
   265 #errors
   266 #document
   267 | <!DOCTYPE html>
   268 | <html>
   269 |   <head>
   270 |   <body>
   271 |     <select>
   272 |       "X"
   274 #data
   275 <!DOCTYPE hTmL><html></html>
   276 #errors
   277 #document
   278 | <!DOCTYPE html>
   279 | <html>
   280 |   <head>
   281 |   <body>
   283 #data
   284 <!DOCTYPE HTML><html></html>
   285 #errors
   286 #document
   287 | <!DOCTYPE html>
   288 | <html>
   289 |   <head>
   290 |   <body>
   292 #data
   293 <body>X</body></body>
   294 #errors
   295 (1,21): unexpected-end-tag-after-body
   296 #document-fragment
   297 html
   298 #document
   299 | <head>
   300 | <body>
   301 |   "X"
   303 #data
   304 <div><p>a</x> b
   305 #errors
   306 (1,5): expected-doctype-but-got-start-tag
   307 (1,13): unexpected-end-tag
   308 (1,15): expected-closing-tag-but-got-eof
   309 #document
   310 | <html>
   311 |   <head>
   312 |   <body>
   313 |     <div>
   314 |       <p>
   315 |         "a b"
   317 #data
   318 <table><tr><td><code></code> </table>
   319 #errors
   320 (1,7): expected-doctype-but-got-start-tag
   321 #document
   322 | <html>
   323 |   <head>
   324 |   <body>
   325 |     <table>
   326 |       <tbody>
   327 |         <tr>
   328 |           <td>
   329 |             <code>
   330 |             " "
   332 #data
   333 <table><b><tr><td>aaa</td></tr>bbb</table>ccc
   334 #errors
   335 (1,7): expected-doctype-but-got-start-tag
   336 (1,10): foster-parenting-start-tag
   337 (1,32): foster-parenting-character
   338 (1,33): foster-parenting-character
   339 (1,34): foster-parenting-character
   340 (1,45): expected-closing-tag-but-got-eof
   341 #document
   342 | <html>
   343 |   <head>
   344 |   <body>
   345 |     <b>
   346 |     <b>
   347 |       "bbb"
   348 |     <table>
   349 |       <tbody>
   350 |         <tr>
   351 |           <td>
   352 |             "aaa"
   353 |     <b>
   354 |       "ccc"
   356 #data
   357 A<table><tr> B</tr> B</table>
   358 #errors
   359 (1,1): expected-doctype-but-got-chars
   360 (1,13): foster-parenting-character
   361 (1,14): foster-parenting-character
   362 (1,20): foster-parenting-character
   363 (1,21): foster-parenting-character
   364 #document
   365 | <html>
   366 |   <head>
   367 |   <body>
   368 |     "A B B"
   369 |     <table>
   370 |       <tbody>
   371 |         <tr>
   373 #data
   374 A<table><tr> B</tr> </em>C</table>
   375 #errors
   376 (1,1): expected-doctype-but-got-chars
   377 (1,13): foster-parenting-character
   378 (1,14): foster-parenting-character
   379 (1,20): foster-parenting-character
   380 (1,25): unexpected-end-tag
   381 (1,26): foster-parenting-character
   382 #document
   383 | <html>
   384 |   <head>
   385 |   <body>
   386 |     "A BC"
   387 |     <table>
   388 |       <tbody>
   389 |         <tr>
   390 |         " "
   392 #data
   393 <select><keygen>
   394 #errors
   395 (1,8): expected-doctype-but-got-start-tag
   396 (1,16): unexpected-input-in-select
   397 #document
   398 | <html>
   399 |   <head>
   400 |   <body>
   401 |     <select>
   402 |     <keygen>

mercurial