parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests9.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.

michael@0 1 #data
michael@0 2 <!DOCTYPE html><math></math>
michael@0 3 #errors
michael@0 4 #document
michael@0 5 | <!DOCTYPE html>
michael@0 6 | <html>
michael@0 7 | <head>
michael@0 8 | <body>
michael@0 9 | <math math>
michael@0 10
michael@0 11 #data
michael@0 12 <!DOCTYPE html><body><math></math>
michael@0 13 #errors
michael@0 14 #document
michael@0 15 | <!DOCTYPE html>
michael@0 16 | <html>
michael@0 17 | <head>
michael@0 18 | <body>
michael@0 19 | <math math>
michael@0 20
michael@0 21 #data
michael@0 22 <!DOCTYPE html><math><mi>
michael@0 23 #errors
michael@0 24 (1,25) expected-closing-tag-but-got-eof
michael@0 25 #document
michael@0 26 | <!DOCTYPE html>
michael@0 27 | <html>
michael@0 28 | <head>
michael@0 29 | <body>
michael@0 30 | <math math>
michael@0 31 | <math mi>
michael@0 32
michael@0 33 #data
michael@0 34 <!DOCTYPE html><math><annotation-xml><svg><u>
michael@0 35 #errors
michael@0 36 (1,45) unexpected-html-element-in-foreign-content
michael@0 37 (1,45) expected-closing-tag-but-got-eof
michael@0 38 #document
michael@0 39 | <!DOCTYPE html>
michael@0 40 | <html>
michael@0 41 | <head>
michael@0 42 | <body>
michael@0 43 | <math math>
michael@0 44 | <math annotation-xml>
michael@0 45 | <svg svg>
michael@0 46 | <u>
michael@0 47
michael@0 48 #data
michael@0 49 <!DOCTYPE html><body><select><math></math></select>
michael@0 50 #errors
michael@0 51 (1,35) unexpected-start-tag-in-select
michael@0 52 (1,42) unexpected-end-tag-in-select
michael@0 53 #document
michael@0 54 | <!DOCTYPE html>
michael@0 55 | <html>
michael@0 56 | <head>
michael@0 57 | <body>
michael@0 58 | <select>
michael@0 59
michael@0 60 #data
michael@0 61 <!DOCTYPE html><body><select><option><math></math></option></select>
michael@0 62 #errors
michael@0 63 (1,43) unexpected-start-tag-in-select
michael@0 64 (1,50) unexpected-end-tag-in-select
michael@0 65 #document
michael@0 66 | <!DOCTYPE html>
michael@0 67 | <html>
michael@0 68 | <head>
michael@0 69 | <body>
michael@0 70 | <select>
michael@0 71 | <option>
michael@0 72
michael@0 73 #data
michael@0 74 <!DOCTYPE html><body><table><math></math></table>
michael@0 75 #errors
michael@0 76 (1,34) unexpected-start-tag-implies-table-voodoo
michael@0 77 #document
michael@0 78 | <!DOCTYPE html>
michael@0 79 | <html>
michael@0 80 | <head>
michael@0 81 | <body>
michael@0 82 | <math math>
michael@0 83 | <table>
michael@0 84
michael@0 85 #data
michael@0 86 <!DOCTYPE html><body><table><math><mi>foo</mi></math></table>
michael@0 87 #errors
michael@0 88 (1,34) foster-parenting-start-token
michael@0 89 (1,39) foster-parenting-character
michael@0 90 (1,40) foster-parenting-character
michael@0 91 (1,41) foster-parenting-character
michael@0 92 #document
michael@0 93 | <!DOCTYPE html>
michael@0 94 | <html>
michael@0 95 | <head>
michael@0 96 | <body>
michael@0 97 | <math math>
michael@0 98 | <math mi>
michael@0 99 | "foo"
michael@0 100 | <table>
michael@0 101
michael@0 102 #data
michael@0 103 <!DOCTYPE html><body><table><math><mi>foo</mi><mi>bar</mi></math></table>
michael@0 104 #errors
michael@0 105 (1,34) foster-parenting-start-tag
michael@0 106 (1,39) foster-parenting-character
michael@0 107 (1,40) foster-parenting-character
michael@0 108 (1,41) foster-parenting-character
michael@0 109 (1,51) foster-parenting-character
michael@0 110 (1,52) foster-parenting-character
michael@0 111 (1,53) foster-parenting-character
michael@0 112 #document
michael@0 113 | <!DOCTYPE html>
michael@0 114 | <html>
michael@0 115 | <head>
michael@0 116 | <body>
michael@0 117 | <math math>
michael@0 118 | <math mi>
michael@0 119 | "foo"
michael@0 120 | <math mi>
michael@0 121 | "bar"
michael@0 122 | <table>
michael@0 123
michael@0 124 #data
michael@0 125 <!DOCTYPE html><body><table><tbody><math><mi>foo</mi><mi>bar</mi></math></tbody></table>
michael@0 126 #errors
michael@0 127 (1,41) foster-parenting-start-tag
michael@0 128 (1,46) foster-parenting-character
michael@0 129 (1,47) foster-parenting-character
michael@0 130 (1,48) foster-parenting-character
michael@0 131 (1,58) foster-parenting-character
michael@0 132 (1,59) foster-parenting-character
michael@0 133 (1,60) foster-parenting-character
michael@0 134 #document
michael@0 135 | <!DOCTYPE html>
michael@0 136 | <html>
michael@0 137 | <head>
michael@0 138 | <body>
michael@0 139 | <math math>
michael@0 140 | <math mi>
michael@0 141 | "foo"
michael@0 142 | <math mi>
michael@0 143 | "bar"
michael@0 144 | <table>
michael@0 145 | <tbody>
michael@0 146
michael@0 147 #data
michael@0 148 <!DOCTYPE html><body><table><tbody><tr><math><mi>foo</mi><mi>bar</mi></math></tr></tbody></table>
michael@0 149 #errors
michael@0 150 (1,45) foster-parenting-start-tag
michael@0 151 (1,50) foster-parenting-character
michael@0 152 (1,51) foster-parenting-character
michael@0 153 (1,52) foster-parenting-character
michael@0 154 (1,62) foster-parenting-character
michael@0 155 (1,63) foster-parenting-character
michael@0 156 (1,64) foster-parenting-character
michael@0 157 #document
michael@0 158 | <!DOCTYPE html>
michael@0 159 | <html>
michael@0 160 | <head>
michael@0 161 | <body>
michael@0 162 | <math math>
michael@0 163 | <math mi>
michael@0 164 | "foo"
michael@0 165 | <math mi>
michael@0 166 | "bar"
michael@0 167 | <table>
michael@0 168 | <tbody>
michael@0 169 | <tr>
michael@0 170
michael@0 171 #data
michael@0 172 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math></td></tr></tbody></table>
michael@0 173 #errors
michael@0 174 #document
michael@0 175 | <!DOCTYPE html>
michael@0 176 | <html>
michael@0 177 | <head>
michael@0 178 | <body>
michael@0 179 | <table>
michael@0 180 | <tbody>
michael@0 181 | <tr>
michael@0 182 | <td>
michael@0 183 | <math math>
michael@0 184 | <math mi>
michael@0 185 | "foo"
michael@0 186 | <math mi>
michael@0 187 | "bar"
michael@0 188
michael@0 189 #data
michael@0 190 <!DOCTYPE html><body><table><tbody><tr><td><math><mi>foo</mi><mi>bar</mi></math><p>baz</td></tr></tbody></table>
michael@0 191 #errors
michael@0 192 #document
michael@0 193 | <!DOCTYPE html>
michael@0 194 | <html>
michael@0 195 | <head>
michael@0 196 | <body>
michael@0 197 | <table>
michael@0 198 | <tbody>
michael@0 199 | <tr>
michael@0 200 | <td>
michael@0 201 | <math math>
michael@0 202 | <math mi>
michael@0 203 | "foo"
michael@0 204 | <math mi>
michael@0 205 | "bar"
michael@0 206 | <p>
michael@0 207 | "baz"
michael@0 208
michael@0 209 #data
michael@0 210 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi></math><p>baz</caption></table>
michael@0 211 #errors
michael@0 212 #document
michael@0 213 | <!DOCTYPE html>
michael@0 214 | <html>
michael@0 215 | <head>
michael@0 216 | <body>
michael@0 217 | <table>
michael@0 218 | <caption>
michael@0 219 | <math math>
michael@0 220 | <math mi>
michael@0 221 | "foo"
michael@0 222 | <math mi>
michael@0 223 | "bar"
michael@0 224 | <p>
michael@0 225 | "baz"
michael@0 226
michael@0 227 #data
michael@0 228 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
michael@0 229 #errors
michael@0 230 (1,70) unexpected-html-element-in-foreign-content
michael@0 231 (1,81) XXX-undefined-error
michael@0 232 #document
michael@0 233 | <!DOCTYPE html>
michael@0 234 | <html>
michael@0 235 | <head>
michael@0 236 | <body>
michael@0 237 | <table>
michael@0 238 | <caption>
michael@0 239 | <math math>
michael@0 240 | <math mi>
michael@0 241 | "foo"
michael@0 242 | <math mi>
michael@0 243 | "bar"
michael@0 244 | <p>
michael@0 245 | "baz"
michael@0 246 | <p>
michael@0 247 | "quux"
michael@0 248
michael@0 249 #data
michael@0 250 <!DOCTYPE html><body><table><caption><math><mi>foo</mi><mi>bar</mi>baz</table><p>quux
michael@0 251 #errors
michael@0 252 (1,78) unexpected-end-tag
michael@0 253 (1,78) expected-one-end-tag-but-got-another
michael@0 254 #document
michael@0 255 | <!DOCTYPE html>
michael@0 256 | <html>
michael@0 257 | <head>
michael@0 258 | <body>
michael@0 259 | <table>
michael@0 260 | <caption>
michael@0 261 | <math math>
michael@0 262 | <math mi>
michael@0 263 | "foo"
michael@0 264 | <math mi>
michael@0 265 | "bar"
michael@0 266 | "baz"
michael@0 267 | <p>
michael@0 268 | "quux"
michael@0 269
michael@0 270 #data
michael@0 271 <!DOCTYPE html><body><table><colgroup><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
michael@0 272 #errors
michael@0 273 (1,44) foster-parenting-start-tag
michael@0 274 (1,49) foster-parenting-character
michael@0 275 (1,50) foster-parenting-character
michael@0 276 (1,51) foster-parenting-character
michael@0 277 (1,61) foster-parenting-character
michael@0 278 (1,62) foster-parenting-character
michael@0 279 (1,63) foster-parenting-character
michael@0 280 (1,71) unexpected-html-element-in-foreign-content
michael@0 281 (1,71) foster-parenting-start-tag
michael@0 282 (1,63) foster-parenting-character
michael@0 283 (1,63) foster-parenting-character
michael@0 284 (1,63) foster-parenting-character
michael@0 285 #document
michael@0 286 | <!DOCTYPE html>
michael@0 287 | <html>
michael@0 288 | <head>
michael@0 289 | <body>
michael@0 290 | <math math>
michael@0 291 | <math mi>
michael@0 292 | "foo"
michael@0 293 | <math mi>
michael@0 294 | "bar"
michael@0 295 | <p>
michael@0 296 | "baz"
michael@0 297 | <table>
michael@0 298 | <colgroup>
michael@0 299 | <p>
michael@0 300 | "quux"
michael@0 301
michael@0 302 #data
michael@0 303 <!DOCTYPE html><body><table><tr><td><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
michael@0 304 #errors
michael@0 305 (1,50) unexpected-start-tag-in-select
michael@0 306 (1,54) unexpected-start-tag-in-select
michael@0 307 (1,62) unexpected-end-tag-in-select
michael@0 308 (1,66) unexpected-start-tag-in-select
michael@0 309 (1,74) unexpected-end-tag-in-select
michael@0 310 (1,77) unexpected-start-tag-in-select
michael@0 311 (1,88) unexpected-table-element-end-tag-in-select-in-table
michael@0 312 #document
michael@0 313 | <!DOCTYPE html>
michael@0 314 | <html>
michael@0 315 | <head>
michael@0 316 | <body>
michael@0 317 | <table>
michael@0 318 | <tbody>
michael@0 319 | <tr>
michael@0 320 | <td>
michael@0 321 | <select>
michael@0 322 | "foobarbaz"
michael@0 323 | <p>
michael@0 324 | "quux"
michael@0 325
michael@0 326 #data
michael@0 327 <!DOCTYPE html><body><table><select><math><mi>foo</mi><mi>bar</mi><p>baz</table><p>quux
michael@0 328 #errors
michael@0 329 (1,36) unexpected-start-tag-implies-table-voodoo
michael@0 330 (1,42) unexpected-start-tag-in-select
michael@0 331 (1,46) unexpected-start-tag-in-select
michael@0 332 (1,54) unexpected-end-tag-in-select
michael@0 333 (1,58) unexpected-start-tag-in-select
michael@0 334 (1,66) unexpected-end-tag-in-select
michael@0 335 (1,69) unexpected-start-tag-in-select
michael@0 336 (1,80) unexpected-table-element-end-tag-in-select-in-table
michael@0 337 #document
michael@0 338 | <!DOCTYPE html>
michael@0 339 | <html>
michael@0 340 | <head>
michael@0 341 | <body>
michael@0 342 | <select>
michael@0 343 | "foobarbaz"
michael@0 344 | <table>
michael@0 345 | <p>
michael@0 346 | "quux"
michael@0 347
michael@0 348 #data
michael@0 349 <!DOCTYPE html><body></body></html><math><mi>foo</mi><mi>bar</mi><p>baz
michael@0 350 #errors
michael@0 351 (1,41) expected-eof-but-got-start-tag
michael@0 352 (1,68) unexpected-html-element-in-foreign-content
michael@0 353 #document
michael@0 354 | <!DOCTYPE html>
michael@0 355 | <html>
michael@0 356 | <head>
michael@0 357 | <body>
michael@0 358 | <math math>
michael@0 359 | <math mi>
michael@0 360 | "foo"
michael@0 361 | <math mi>
michael@0 362 | "bar"
michael@0 363 | <p>
michael@0 364 | "baz"
michael@0 365
michael@0 366 #data
michael@0 367 <!DOCTYPE html><body></body><math><mi>foo</mi><mi>bar</mi><p>baz
michael@0 368 #errors
michael@0 369 (1,34) unexpected-start-tag-after-body
michael@0 370 (1,61) unexpected-html-element-in-foreign-content
michael@0 371 #document
michael@0 372 | <!DOCTYPE html>
michael@0 373 | <html>
michael@0 374 | <head>
michael@0 375 | <body>
michael@0 376 | <math math>
michael@0 377 | <math mi>
michael@0 378 | "foo"
michael@0 379 | <math mi>
michael@0 380 | "bar"
michael@0 381 | <p>
michael@0 382 | "baz"
michael@0 383
michael@0 384 #data
michael@0 385 <!DOCTYPE html><frameset><math><mi></mi><mi></mi><p><span>
michael@0 386 #errors
michael@0 387 (1,31) unexpected-start-tag-in-frameset
michael@0 388 (1,35) unexpected-start-tag-in-frameset
michael@0 389 (1,40) unexpected-end-tag-in-frameset
michael@0 390 (1,44) unexpected-start-tag-in-frameset
michael@0 391 (1,49) unexpected-end-tag-in-frameset
michael@0 392 (1,52) unexpected-start-tag-in-frameset
michael@0 393 (1,58) unexpected-start-tag-in-frameset
michael@0 394 (1,58) eof-in-frameset
michael@0 395 #document
michael@0 396 | <!DOCTYPE html>
michael@0 397 | <html>
michael@0 398 | <head>
michael@0 399 | <frameset>
michael@0 400
michael@0 401 #data
michael@0 402 <!DOCTYPE html><frameset></frameset><math><mi></mi><mi></mi><p><span>
michael@0 403 #errors
michael@0 404 (1,42) unexpected-start-tag-after-frameset
michael@0 405 (1,46) unexpected-start-tag-after-frameset
michael@0 406 (1,51) unexpected-end-tag-after-frameset
michael@0 407 (1,55) unexpected-start-tag-after-frameset
michael@0 408 (1,60) unexpected-end-tag-after-frameset
michael@0 409 (1,63) unexpected-start-tag-after-frameset
michael@0 410 (1,69) unexpected-start-tag-after-frameset
michael@0 411 #document
michael@0 412 | <!DOCTYPE html>
michael@0 413 | <html>
michael@0 414 | <head>
michael@0 415 | <frameset>
michael@0 416
michael@0 417 #data
michael@0 418 <!DOCTYPE html><body xlink:href=foo><math xlink:href=foo></math>
michael@0 419 #errors
michael@0 420 #document
michael@0 421 | <!DOCTYPE html>
michael@0 422 | <html>
michael@0 423 | <head>
michael@0 424 | <body>
michael@0 425 | xlink:href="foo"
michael@0 426 | <math math>
michael@0 427 | xlink href="foo"
michael@0 428
michael@0 429 #data
michael@0 430 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo></mi></math>
michael@0 431 #errors
michael@0 432 #document
michael@0 433 | <!DOCTYPE html>
michael@0 434 | <html>
michael@0 435 | <head>
michael@0 436 | <body>
michael@0 437 | xlink:href="foo"
michael@0 438 | xml:lang="en"
michael@0 439 | <math math>
michael@0 440 | <math mi>
michael@0 441 | xlink href="foo"
michael@0 442 | xml lang="en"
michael@0 443
michael@0 444 #data
michael@0 445 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo /></math>
michael@0 446 #errors
michael@0 447 #document
michael@0 448 | <!DOCTYPE html>
michael@0 449 | <html>
michael@0 450 | <head>
michael@0 451 | <body>
michael@0 452 | xlink:href="foo"
michael@0 453 | xml:lang="en"
michael@0 454 | <math math>
michael@0 455 | <math mi>
michael@0 456 | xlink href="foo"
michael@0 457 | xml lang="en"
michael@0 458
michael@0 459 #data
michael@0 460 <!DOCTYPE html><body xlink:href=foo xml:lang=en><math><mi xml:lang=en xlink:href=foo />bar</math>
michael@0 461 #errors
michael@0 462 #document
michael@0 463 | <!DOCTYPE html>
michael@0 464 | <html>
michael@0 465 | <head>
michael@0 466 | <body>
michael@0 467 | xlink:href="foo"
michael@0 468 | xml:lang="en"
michael@0 469 | <math math>
michael@0 470 | <math mi>
michael@0 471 | xlink href="foo"
michael@0 472 | xml lang="en"
michael@0 473 | "bar"

mercurial