parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests26.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><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#3'><nobr>3<nobr></a>
     3 #errors
     4 (1,47): unexpected-start-tag-implies-end-tag
     5 (1,51): adoption-agency-1.3
     6 (1,74): unexpected-start-tag-implies-end-tag
     7 (1,74): adoption-agency-1.3
     8 (1,81): unexpected-start-tag-implies-end-tag
     9 (1,85): adoption-agency-1.3
    10 (1,108): unexpected-start-tag-implies-end-tag
    11 (1,108): adoption-agency-1.3
    12 (1,115): unexpected-start-tag-implies-end-tag
    13 (1,119): adoption-agency-1.3
    14 #document
    15 | <!DOCTYPE html>
    16 | <html>
    17 |   <head>
    18 |   <body>
    19 |     <a>
    20 |       href="#1"
    21 |       <nobr>
    22 |         "1"
    23 |       <nobr>
    24 |     <nobr>
    25 |       <br>
    26 |       <a>
    27 |         href="#2"
    28 |     <a>
    29 |       href="#2"
    30 |       <nobr>
    31 |         "2"
    32 |       <nobr>
    33 |     <nobr>
    34 |       <br>
    35 |       <a>
    36 |         href="#3"
    37 |     <a>
    38 |       href="#3"
    39 |       <nobr>
    40 |         "3"
    41 |       <nobr>
    43 #data
    44 <!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3
    45 #errors
    46 (1,37): unexpected-start-tag-implies-end-tag
    47 (1,41): adoption-agency-1.3
    48 (1,50): unexpected-start-tag-implies-end-tag
    49 (1,50): adoption-agency-1.3
    50 (1,57): unexpected-start-tag-implies-end-tag
    51 (1,61): adoption-agency-1.3
    52 (1,62): expected-closing-tag-but-got-eof
    53 #document
    54 | <!DOCTYPE html>
    55 | <html>
    56 |   <head>
    57 |   <body>
    58 |     <b>
    59 |       <nobr>
    60 |         "1"
    61 |       <nobr>
    62 |     <nobr>
    63 |       <i>
    64 |     <i>
    65 |       <nobr>
    66 |         "2"
    67 |       <nobr>
    68 |     <nobr>
    69 |       "3"
    71 #data
    72 <!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3
    73 #errors
    74 (1,44): foster-parenting-start-tag
    75 (1,48): foster-parenting-end-tag
    76 (1,48): adoption-agency-1.3
    77 (1,51): foster-parenting-start-tag
    78 (1,57): foster-parenting-start-tag
    79 (1,57): nobr-already-in-scope
    80 (1,57): adoption-agency-1.2
    81 (1,58): foster-parenting-character
    82 (1,64): foster-parenting-start-tag
    83 (1,64): nobr-already-in-scope
    84 (1,68): foster-parenting-end-tag
    85 (1,68): adoption-agency-1.2
    86 (1,69): foster-parenting-character
    87 (1,69): eof-in-table
    88 #document
    89 | <!DOCTYPE html>
    90 | <html>
    91 |   <head>
    92 |   <body>
    93 |     <b>
    94 |       <nobr>
    95 |         "1"
    96 |         <nobr>
    97 |           <i>
    98 |         <i>
    99 |           <nobr>
   100 |             "2"
   101 |           <nobr>
   102 |         <nobr>
   103 |           "3"
   104 |         <table>
   106 #data
   107 <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
   108 #errors
   109 (1,56): unexpected-end-tag
   110 (1,65): unexpected-start-tag-implies-end-tag
   111 (1,65): adoption-agency-1.3
   112 (1,72): unexpected-start-tag-implies-end-tag
   113 (1,76): adoption-agency-1.3
   114 (1,77): expected-closing-tag-but-got-eof
   115 #document
   116 | <!DOCTYPE html>
   117 | <html>
   118 |   <head>
   119 |   <body>
   120 |     <b>
   121 |       <nobr>
   122 |         "1"
   123 |         <table>
   124 |           <tbody>
   125 |             <tr>
   126 |               <td>
   127 |                 <nobr>
   128 |                   <i>
   129 |                 <i>
   130 |                   <nobr>
   131 |                     "2"
   132 |                   <nobr>
   133 |                 <nobr>
   134 |                   "3"
   136 #data
   137 <!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3
   138 #errors
   139 (1,42): unexpected-start-tag-implies-end-tag
   140 (1,42): adoption-agency-1.3
   141 (1,46): adoption-agency-1.3
   142 (1,46): adoption-agency-1.3
   143 (1,55): unexpected-start-tag-implies-end-tag
   144 (1,55): adoption-agency-1.3
   145 (1,62): unexpected-start-tag-implies-end-tag
   146 (1,66): adoption-agency-1.3
   147 (1,67): expected-closing-tag-but-got-eof
   148 #document
   149 | <!DOCTYPE html>
   150 | <html>
   151 |   <head>
   152 |   <body>
   153 |     <b>
   154 |       <nobr>
   155 |         "1"
   156 |     <div>
   157 |       <b>
   158 |         <nobr>
   159 |         <nobr>
   160 |       <nobr>
   161 |         <i>
   162 |       <i>
   163 |         <nobr>
   164 |           "2"
   165 |         <nobr>
   166 |       <nobr>
   167 |         "3"
   169 #data
   170 <!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3
   171 #errors
   172 (1,37): unexpected-start-tag-implies-end-tag
   173 (1,41): adoption-agency-1.3
   174 (1,55): unexpected-start-tag-implies-end-tag
   175 (1,55): adoption-agency-1.3
   176 (1,62): unexpected-start-tag-implies-end-tag
   177 (1,66): adoption-agency-1.3
   178 (1,67): expected-closing-tag-but-got-eof
   179 #document
   180 | <!DOCTYPE html>
   181 | <html>
   182 |   <head>
   183 |   <body>
   184 |     <b>
   185 |       <nobr>
   186 |         "1"
   187 |       <nobr>
   188 |     <div>
   189 |       <nobr>
   190 |         <i>
   191 |       <i>
   192 |         <nobr>
   193 |           "2"
   194 |         <nobr>
   195 |       <nobr>
   196 |         "3"
   198 #data
   199 <!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>
   200 #errors
   201 (1,37): unexpected-start-tag-implies-end-tag
   202 (1,46): adoption-agency-1.3
   203 (1,55): unexpected-start-tag-implies-end-tag
   204 (1,55): adoption-agency-1.3
   205 (1,55): expected-closing-tag-but-got-eof
   206 #document
   207 | <!DOCTYPE html>
   208 | <html>
   209 |   <head>
   210 |   <body>
   211 |     <b>
   212 |       <nobr>
   213 |         "1"
   214 |       <nobr>
   215 |         <ins>
   216 |     <nobr>
   217 |       <i>
   218 |     <i>
   219 |       <nobr>
   221 #data
   222 <!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2
   223 #errors
   224 (1,42): unexpected-start-tag-implies-end-tag
   225 (1,42): adoption-agency-1.3
   226 (1,46): adoption-agency-1.3
   227 (1,50): expected-closing-tag-but-got-eof
   228 #document
   229 | <!DOCTYPE html>
   230 | <html>
   231 |   <head>
   232 |   <body>
   233 |     <b>
   234 |       <nobr>
   235 |         "1"
   236 |         <ins>
   237 |       <nobr>
   238 |     <nobr>
   239 |       <i>
   240 |         "2"
   242 #data
   243 <!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>
   244 #errors
   245 (1,35): adoption-agency-1.3
   246 (1,44): unexpected-start-tag-implies-end-tag
   247 (1,44): adoption-agency-1.3
   248 (1,49): adoption-agency-1.3
   249 #document
   250 | <!DOCTYPE html>
   251 | <html>
   252 |   <head>
   253 |   <body>
   254 |     <b>
   255 |       "1"
   256 |       <nobr>
   257 |     <nobr>
   258 |       <i>
   259 |     <i>
   260 |       <nobr>
   261 |         "2"
   263 #data
   264 <p><code x</code></p>
   266 #errors
   267 (1,3): expected-doctype-but-got-start-tag
   268 (1,11): invalid-character-in-attribute-name
   269 (1,12): unexpected-character-after-solidus-in-tag
   270 (1,21): unexpected-end-tag
   271 (2,0): expected-closing-tag-but-got-eof
   272 #document
   273 | <html>
   274 |   <head>
   275 |   <body>
   276 |     <p>
   277 |       <code>
   278 |         code=""
   279 |         x<=""
   280 |     <code>
   281 |       code=""
   282 |       x<=""
   283 |       "
   284 "
   286 #data
   287 <!DOCTYPE html><svg><foreignObject><p><i></p>a
   288 #errors
   289 (1,45): unexpected-end-tag
   290 (1,46): expected-closing-tag-but-got-eof
   291 #document
   292 | <!DOCTYPE html>
   293 | <html>
   294 |   <head>
   295 |   <body>
   296 |     <svg svg>
   297 |       <svg foreignObject>
   298 |         <p>
   299 |           <i>
   300 |         <i>
   301 |           "a"
   303 #data
   304 <!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
   305 #errors
   306 (1,60): unexpected-end-tag
   307 (1,61): expected-closing-tag-but-got-eof
   308 #document
   309 | <!DOCTYPE html>
   310 | <html>
   311 |   <head>
   312 |   <body>
   313 |     <table>
   314 |       <tbody>
   315 |         <tr>
   316 |           <td>
   317 |             <svg svg>
   318 |               <svg foreignObject>
   319 |                 <p>
   320 |                   <i>
   321 |                 <i>
   322 |                   "a"
   324 #data
   325 <!DOCTYPE html><math><mtext><p><i></p>a
   326 #errors
   327 (1,38): unexpected-end-tag
   328 (1,39): expected-closing-tag-but-got-eof
   329 #document
   330 | <!DOCTYPE html>
   331 | <html>
   332 |   <head>
   333 |   <body>
   334 |     <math math>
   335 |       <math mtext>
   336 |         <p>
   337 |           <i>
   338 |         <i>
   339 |           "a"
   341 #data
   342 <!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
   343 #errors
   344 (1,53): unexpected-end-tag
   345 (1,54): expected-closing-tag-but-got-eof
   346 #document
   347 | <!DOCTYPE html>
   348 | <html>
   349 |   <head>
   350 |   <body>
   351 |     <table>
   352 |       <tbody>
   353 |         <tr>
   354 |           <td>
   355 |             <math math>
   356 |               <math mtext>
   357 |                 <p>
   358 |                   <i>
   359 |                 <i>
   360 |                   "a"
   362 #data
   363 <!DOCTYPE html><body><div><!/div>a
   364 #errors
   365 (1,28): expected-dashes-or-doctype
   366 (1,34): expected-closing-tag-but-got-eof
   367 #document
   368 | <!DOCTYPE html>
   369 | <html>
   370 |   <head>
   371 |   <body>
   372 |     <div>
   373 |       <!-- /div -->
   374 |       "a"
   376 #data
   377 <button><p><button>
   378 #errors
   379 Line 1 Col 8 Unexpected start tag (button). Expected DOCTYPE.
   380 Line 1 Col 19 Unexpected start tag (button) implies end tag (button).
   381 Line 1 Col 19 Expected closing tag. Unexpected end of file.
   382 #document
   383 | <html>
   384 |   <head>
   385 |   <body>
   386 |     <button>
   387 |       <p>
   388 |     <button>
   390 #data
   391 <!DOCTYPE html><html><frameset></frameset></html></frameset>
   392 #errors
   393 60: Stray end tag “frameset”.
   394 #document
   395 | <!DOCTYPE html>
   396 | <html>
   397 |   <head>
   398 |   <frameset>

mercurial